first commit
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
export declare function getEmailsByCustomerId(customerId: number, includeInactive?: boolean): Promise<{
|
||||
id: number;
|
||||
email: string;
|
||||
customerId: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
notes: string | null;
|
||||
platform: string | null;
|
||||
isProvisioned: boolean;
|
||||
provisionedAt: Date | null;
|
||||
provisionError: string | null;
|
||||
}[]>;
|
||||
export declare function getEmailById(id: number): Promise<{
|
||||
id: number;
|
||||
email: string;
|
||||
customerId: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
notes: string | null;
|
||||
platform: string | null;
|
||||
isProvisioned: boolean;
|
||||
provisionedAt: Date | null;
|
||||
provisionError: string | null;
|
||||
} | null>;
|
||||
export declare function createEmail(data: {
|
||||
customerId: number;
|
||||
email: string;
|
||||
platform?: string;
|
||||
notes?: string;
|
||||
}): Promise<{
|
||||
id: number;
|
||||
email: string;
|
||||
customerId: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
notes: string | null;
|
||||
platform: string | null;
|
||||
isProvisioned: boolean;
|
||||
provisionedAt: Date | null;
|
||||
provisionError: string | null;
|
||||
}>;
|
||||
export declare function updateEmail(id: number, data: {
|
||||
email?: string;
|
||||
platform?: string;
|
||||
notes?: string;
|
||||
isActive?: boolean;
|
||||
}): Promise<{
|
||||
id: number;
|
||||
email: string;
|
||||
customerId: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
notes: string | null;
|
||||
platform: string | null;
|
||||
isProvisioned: boolean;
|
||||
provisionedAt: Date | null;
|
||||
provisionError: string | null;
|
||||
}>;
|
||||
export declare function deleteEmail(id: number): Promise<{
|
||||
id: number;
|
||||
email: string;
|
||||
customerId: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
notes: string | null;
|
||||
platform: string | null;
|
||||
isProvisioned: boolean;
|
||||
provisionedAt: Date | null;
|
||||
provisionError: string | null;
|
||||
}>;
|
||||
//# sourceMappingURL=stressfreiEmail.service.d.ts.map
|
||||
Reference in New Issue
Block a user