@nomalism-com/types 0.28.37 → 0.28.38
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,19 @@ 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
|
+
provider_name: string;
|
|
209
|
+
provider_email: string;
|
|
207
210
|
};
|
|
208
211
|
[IBrokerTopic.client_notice_schedule_email]: {
|
|
209
|
-
|
|
210
|
-
|
|
212
|
+
client_id: string;
|
|
213
|
+
pc_dh_id: string;
|
|
211
214
|
chat_id: string;
|
|
212
|
-
|
|
213
|
-
|
|
215
|
+
pc_number: string;
|
|
216
|
+
client_name: string;
|
|
217
|
+
client_email: string;
|
|
214
218
|
};
|
|
215
219
|
[IBrokerTopic.perform_task]: {
|
|
216
220
|
task_name: IScheduleType;
|