@nomalism-com/types 0.28.37 → 0.28.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -68,9 +68,11 @@ export interface IDeletePersonaRequest {
|
|
|
68
68
|
id: string;
|
|
69
69
|
new_main_persona_id?: string;
|
|
70
70
|
}
|
|
71
|
+
export type IFindContactPersonaByOwnerId = Pick<Persona, "name" | "email" | "telephone">;
|
|
71
72
|
export interface IRepository {
|
|
72
73
|
findById(selector: IShared.IFindByIdRequest): Promise<IEntityExtended | null>;
|
|
73
74
|
findByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<IFindByOwnerIdResponse[]>;
|
|
75
|
+
findContactPersonaByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<IFindContactPersonaByOwnerId>;
|
|
74
76
|
create(data: ICreateRequest): Promise<IEntityExtended>;
|
|
75
77
|
update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<IEntityExtended | null>;
|
|
76
78
|
deleteOne(params: IDeletePersonaRequest): Promise<IEntityExtended | null>;
|
|
@@ -202,15 +202,20 @@ export type IBrokerTopicPayload = {
|
|
|
202
202
|
};
|
|
203
203
|
[IBrokerTopic.error_handler]: IErrorHandler.ICreateRequest;
|
|
204
204
|
[IBrokerTopic.provider_order_schedule_email]: {
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
provider_id: string;
|
|
206
|
+
ef_dh_id: string;
|
|
207
|
+
ef_pdf_link: string;
|
|
208
|
+
pf_number: string;
|
|
209
|
+
provider_name: string;
|
|
210
|
+
provider_email: string;
|
|
207
211
|
};
|
|
208
212
|
[IBrokerTopic.client_notice_schedule_email]: {
|
|
209
|
-
|
|
210
|
-
|
|
213
|
+
client_id: string;
|
|
214
|
+
pc_dh_id: string;
|
|
211
215
|
chat_id: string;
|
|
212
|
-
|
|
213
|
-
|
|
216
|
+
pc_number: string;
|
|
217
|
+
client_name: string;
|
|
218
|
+
client_email: string;
|
|
214
219
|
};
|
|
215
220
|
[IBrokerTopic.perform_task]: {
|
|
216
221
|
task_name: IScheduleType;
|