@nomalism-com/types 0.33.50 → 0.33.52
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.
|
@@ -10,7 +10,11 @@ export interface IUpdateRequest {
|
|
|
10
10
|
owner_id?: string;
|
|
11
11
|
document_header_id?: string;
|
|
12
12
|
}
|
|
13
|
-
export type IFindByIdResponse =
|
|
13
|
+
export type IFindByIdResponse = {
|
|
14
|
+
name: string;
|
|
15
|
+
email: string;
|
|
16
|
+
phone_number: string | null;
|
|
17
|
+
}[];
|
|
14
18
|
export interface IRepository {
|
|
15
19
|
create(data: ICreateRequest): Promise<Entity>;
|
|
16
20
|
update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<void>;
|
|
@@ -279,9 +279,13 @@ export type IBrokerTopicPayload = {
|
|
|
279
279
|
warningErrors: string[];
|
|
280
280
|
};
|
|
281
281
|
[IBrokerTopic.dispatch_chat_message]: {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
282
|
+
to: [
|
|
283
|
+
{
|
|
284
|
+
email: string;
|
|
285
|
+
name: string;
|
|
286
|
+
phone_number: string | null;
|
|
287
|
+
}
|
|
288
|
+
];
|
|
285
289
|
reply_url: string;
|
|
286
290
|
owner_id: string;
|
|
287
291
|
document_header_id: string | null;
|