@voltade/envoy-sdk 1.1.2 → 1.2.1
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.
- package/dist/client.d.ts +10 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +4 -2
- package/dist/client.js.map +1 -1
- package/dist/http-client.d.ts +1 -1
- package/dist/http-client.d.ts.map +1 -1
- package/dist/http-client.js +2 -2
- package/dist/http-client.js.map +1 -1
- package/dist/resources/companies/index.d.ts +112 -0
- package/dist/resources/companies/index.d.ts.map +1 -0
- package/dist/resources/companies/index.js +120 -0
- package/dist/resources/companies/index.js.map +1 -0
- package/dist/resources/companies/types.d.ts +334 -0
- package/dist/resources/companies/types.d.ts.map +1 -0
- package/dist/resources/companies/types.js +56 -0
- package/dist/resources/companies/types.js.map +1 -0
- package/dist/resources/company-members/index.d.ts +64 -0
- package/dist/resources/company-members/index.d.ts.map +1 -0
- package/dist/resources/company-members/index.js +69 -0
- package/dist/resources/company-members/index.js.map +1 -0
- package/dist/resources/company-members/types.d.ts +107 -0
- package/dist/resources/company-members/types.d.ts.map +1 -0
- package/dist/resources/company-members/types.js +19 -0
- package/dist/resources/company-members/types.js.map +1 -0
- package/dist/resources/conversations/types.d.ts +48 -48
- package/dist/resources/inboxes/types.d.ts +6 -6
- package/dist/resources/index.d.ts +2 -0
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/index.js +2 -0
- package/dist/resources/index.js.map +1 -1
- package/dist/resources/orders/index.d.ts +5 -5
- package/dist/resources/orders/index.js +4 -4
- package/dist/resources/orders/types.d.ts +17 -17
- package/dist/resources/orders/types.js +2 -2
- package/dist/resources/webhooks/types.d.ts +228 -228
- package/package.json +1 -1
|
@@ -158,8 +158,8 @@ export declare const WebhookSenderSchema: z.ZodObject<Omit<{
|
|
|
158
158
|
id: number;
|
|
159
159
|
name: string | null;
|
|
160
160
|
email: string | null;
|
|
161
|
-
thumbnail: string;
|
|
162
161
|
phone_number: string | null;
|
|
162
|
+
thumbnail: string;
|
|
163
163
|
identifier: string | null;
|
|
164
164
|
additional_attributes: Record<string, unknown>;
|
|
165
165
|
custom_attributes: Record<string, unknown>;
|
|
@@ -175,8 +175,8 @@ export declare const WebhookSenderSchema: z.ZodObject<Omit<{
|
|
|
175
175
|
id: number;
|
|
176
176
|
name: string | null;
|
|
177
177
|
email: string | null;
|
|
178
|
-
thumbnail: string;
|
|
179
178
|
phone_number: string | null;
|
|
179
|
+
thumbnail: string;
|
|
180
180
|
identifier: string | null;
|
|
181
181
|
additional_attributes: Record<string, unknown>;
|
|
182
182
|
custom_attributes: Record<string, unknown>;
|
|
@@ -239,8 +239,8 @@ export declare const MessageSenderSchema: z.ZodObject<{
|
|
|
239
239
|
id: number;
|
|
240
240
|
name: string | null;
|
|
241
241
|
email: string | null;
|
|
242
|
-
thumbnail: string;
|
|
243
242
|
phone_number: string | null;
|
|
243
|
+
thumbnail: string;
|
|
244
244
|
identifier: string | null;
|
|
245
245
|
additional_attributes: Record<string, unknown>;
|
|
246
246
|
custom_attributes: Record<string, unknown>;
|
|
@@ -252,8 +252,8 @@ export declare const MessageSenderSchema: z.ZodObject<{
|
|
|
252
252
|
id: number;
|
|
253
253
|
name: string | null;
|
|
254
254
|
email: string | null;
|
|
255
|
-
thumbnail: string;
|
|
256
255
|
phone_number: string | null;
|
|
256
|
+
thumbnail: string;
|
|
257
257
|
identifier: string | null;
|
|
258
258
|
additional_attributes: Record<string, unknown>;
|
|
259
259
|
custom_attributes: Record<string, unknown>;
|
|
@@ -335,8 +335,8 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
335
335
|
id: number;
|
|
336
336
|
name: string | null;
|
|
337
337
|
email: string | null;
|
|
338
|
-
thumbnail: string;
|
|
339
338
|
phone_number: string | null;
|
|
339
|
+
thumbnail: string;
|
|
340
340
|
identifier: string | null;
|
|
341
341
|
additional_attributes: Record<string, unknown>;
|
|
342
342
|
custom_attributes: Record<string, unknown>;
|
|
@@ -348,8 +348,8 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
348
348
|
id: number;
|
|
349
349
|
name: string | null;
|
|
350
350
|
email: string | null;
|
|
351
|
-
thumbnail: string;
|
|
352
351
|
phone_number: string | null;
|
|
352
|
+
thumbnail: string;
|
|
353
353
|
identifier: string | null;
|
|
354
354
|
additional_attributes: Record<string, unknown>;
|
|
355
355
|
custom_attributes: Record<string, unknown>;
|
|
@@ -359,25 +359,26 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
359
359
|
type?: string | undefined;
|
|
360
360
|
}>;
|
|
361
361
|
}, "strip", z.ZodTypeAny, {
|
|
362
|
+
id: number;
|
|
363
|
+
status: string;
|
|
364
|
+
account_id: number;
|
|
362
365
|
content: string | null;
|
|
363
366
|
message_type: number;
|
|
364
367
|
private: boolean;
|
|
365
368
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
366
|
-
status: string;
|
|
367
369
|
content_attributes: {
|
|
368
370
|
in_reply_to?: unknown;
|
|
369
371
|
} & {
|
|
370
372
|
[k: string]: unknown;
|
|
371
373
|
};
|
|
372
|
-
id: number;
|
|
373
374
|
created_at: number;
|
|
374
375
|
conversation_id: number;
|
|
375
376
|
sender: {
|
|
376
377
|
id: number;
|
|
377
378
|
name: string | null;
|
|
378
379
|
email: string | null;
|
|
379
|
-
thumbnail: string;
|
|
380
380
|
phone_number: string | null;
|
|
381
|
+
thumbnail: string;
|
|
381
382
|
identifier: string | null;
|
|
382
383
|
additional_attributes: Record<string, unknown>;
|
|
383
384
|
custom_attributes: Record<string, unknown>;
|
|
@@ -390,7 +391,6 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
390
391
|
inbox_id: number;
|
|
391
392
|
source_id: string | null;
|
|
392
393
|
updated_at: string;
|
|
393
|
-
account_id: number;
|
|
394
394
|
sender_type: "Contact" | "User";
|
|
395
395
|
sender_id: number;
|
|
396
396
|
external_source_ids: Record<string, unknown>;
|
|
@@ -409,25 +409,26 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
409
409
|
assignee_id: number | null;
|
|
410
410
|
};
|
|
411
411
|
}, {
|
|
412
|
+
id: number;
|
|
413
|
+
status: string;
|
|
414
|
+
account_id: number;
|
|
412
415
|
content: string | null;
|
|
413
416
|
message_type: number;
|
|
414
417
|
private: boolean;
|
|
415
418
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
416
|
-
status: string;
|
|
417
419
|
content_attributes: {
|
|
418
420
|
in_reply_to?: unknown;
|
|
419
421
|
} & {
|
|
420
422
|
[k: string]: unknown;
|
|
421
423
|
};
|
|
422
|
-
id: number;
|
|
423
424
|
created_at: number;
|
|
424
425
|
conversation_id: number;
|
|
425
426
|
sender: {
|
|
426
427
|
id: number;
|
|
427
428
|
name: string | null;
|
|
428
429
|
email: string | null;
|
|
429
|
-
thumbnail: string;
|
|
430
430
|
phone_number: string | null;
|
|
431
|
+
thumbnail: string;
|
|
431
432
|
identifier: string | null;
|
|
432
433
|
additional_attributes: Record<string, unknown>;
|
|
433
434
|
custom_attributes: Record<string, unknown>;
|
|
@@ -440,7 +441,6 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
440
441
|
inbox_id: number;
|
|
441
442
|
source_id: string | null;
|
|
442
443
|
updated_at: string;
|
|
443
|
-
account_id: number;
|
|
444
444
|
sender_type: "Contact" | "User";
|
|
445
445
|
sender_id: number;
|
|
446
446
|
external_source_ids: Record<string, unknown>;
|
|
@@ -477,8 +477,8 @@ export declare const WebhookConversationMetaSchema: z.ZodObject<{
|
|
|
477
477
|
id: number;
|
|
478
478
|
name: string | null;
|
|
479
479
|
email: string | null;
|
|
480
|
-
thumbnail: string;
|
|
481
480
|
phone_number: string | null;
|
|
481
|
+
thumbnail: string;
|
|
482
482
|
identifier: string | null;
|
|
483
483
|
additional_attributes: Record<string, unknown>;
|
|
484
484
|
custom_attributes: Record<string, unknown>;
|
|
@@ -490,8 +490,8 @@ export declare const WebhookConversationMetaSchema: z.ZodObject<{
|
|
|
490
490
|
id: number;
|
|
491
491
|
name: string | null;
|
|
492
492
|
email: string | null;
|
|
493
|
-
thumbnail: string;
|
|
494
493
|
phone_number: string | null;
|
|
494
|
+
thumbnail: string;
|
|
495
495
|
identifier: string | null;
|
|
496
496
|
additional_attributes: Record<string, unknown>;
|
|
497
497
|
custom_attributes: Record<string, unknown>;
|
|
@@ -520,8 +520,8 @@ export declare const WebhookConversationMetaSchema: z.ZodObject<{
|
|
|
520
520
|
id: number;
|
|
521
521
|
name: string | null;
|
|
522
522
|
email: string | null;
|
|
523
|
-
thumbnail: string;
|
|
524
523
|
phone_number: string | null;
|
|
524
|
+
thumbnail: string;
|
|
525
525
|
identifier: string | null;
|
|
526
526
|
additional_attributes: Record<string, unknown>;
|
|
527
527
|
custom_attributes: Record<string, unknown>;
|
|
@@ -542,8 +542,8 @@ export declare const WebhookConversationMetaSchema: z.ZodObject<{
|
|
|
542
542
|
id: number;
|
|
543
543
|
name: string | null;
|
|
544
544
|
email: string | null;
|
|
545
|
-
thumbnail: string;
|
|
546
545
|
phone_number: string | null;
|
|
546
|
+
thumbnail: string;
|
|
547
547
|
identifier: string | null;
|
|
548
548
|
additional_attributes: Record<string, unknown>;
|
|
549
549
|
custom_attributes: Record<string, unknown>;
|
|
@@ -754,8 +754,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
754
754
|
id: number;
|
|
755
755
|
name: string | null;
|
|
756
756
|
email: string | null;
|
|
757
|
-
thumbnail: string;
|
|
758
757
|
phone_number: string | null;
|
|
758
|
+
thumbnail: string;
|
|
759
759
|
identifier: string | null;
|
|
760
760
|
additional_attributes: Record<string, unknown>;
|
|
761
761
|
custom_attributes: Record<string, unknown>;
|
|
@@ -767,8 +767,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
767
767
|
id: number;
|
|
768
768
|
name: string | null;
|
|
769
769
|
email: string | null;
|
|
770
|
-
thumbnail: string;
|
|
771
770
|
phone_number: string | null;
|
|
771
|
+
thumbnail: string;
|
|
772
772
|
identifier: string | null;
|
|
773
773
|
additional_attributes: Record<string, unknown>;
|
|
774
774
|
custom_attributes: Record<string, unknown>;
|
|
@@ -778,25 +778,26 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
778
778
|
type?: string | undefined;
|
|
779
779
|
}>;
|
|
780
780
|
}, "strip", z.ZodTypeAny, {
|
|
781
|
+
id: number;
|
|
782
|
+
status: string;
|
|
783
|
+
account_id: number;
|
|
781
784
|
content: string | null;
|
|
782
785
|
message_type: number;
|
|
783
786
|
private: boolean;
|
|
784
787
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
785
|
-
status: string;
|
|
786
788
|
content_attributes: {
|
|
787
789
|
in_reply_to?: unknown;
|
|
788
790
|
} & {
|
|
789
791
|
[k: string]: unknown;
|
|
790
792
|
};
|
|
791
|
-
id: number;
|
|
792
793
|
created_at: number;
|
|
793
794
|
conversation_id: number;
|
|
794
795
|
sender: {
|
|
795
796
|
id: number;
|
|
796
797
|
name: string | null;
|
|
797
798
|
email: string | null;
|
|
798
|
-
thumbnail: string;
|
|
799
799
|
phone_number: string | null;
|
|
800
|
+
thumbnail: string;
|
|
800
801
|
identifier: string | null;
|
|
801
802
|
additional_attributes: Record<string, unknown>;
|
|
802
803
|
custom_attributes: Record<string, unknown>;
|
|
@@ -809,7 +810,6 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
809
810
|
inbox_id: number;
|
|
810
811
|
source_id: string | null;
|
|
811
812
|
updated_at: string;
|
|
812
|
-
account_id: number;
|
|
813
813
|
sender_type: "Contact" | "User";
|
|
814
814
|
sender_id: number;
|
|
815
815
|
external_source_ids: Record<string, unknown>;
|
|
@@ -828,25 +828,26 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
828
828
|
assignee_id: number | null;
|
|
829
829
|
};
|
|
830
830
|
}, {
|
|
831
|
+
id: number;
|
|
832
|
+
status: string;
|
|
833
|
+
account_id: number;
|
|
831
834
|
content: string | null;
|
|
832
835
|
message_type: number;
|
|
833
836
|
private: boolean;
|
|
834
837
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
835
|
-
status: string;
|
|
836
838
|
content_attributes: {
|
|
837
839
|
in_reply_to?: unknown;
|
|
838
840
|
} & {
|
|
839
841
|
[k: string]: unknown;
|
|
840
842
|
};
|
|
841
|
-
id: number;
|
|
842
843
|
created_at: number;
|
|
843
844
|
conversation_id: number;
|
|
844
845
|
sender: {
|
|
845
846
|
id: number;
|
|
846
847
|
name: string | null;
|
|
847
848
|
email: string | null;
|
|
848
|
-
thumbnail: string;
|
|
849
849
|
phone_number: string | null;
|
|
850
|
+
thumbnail: string;
|
|
850
851
|
identifier: string | null;
|
|
851
852
|
additional_attributes: Record<string, unknown>;
|
|
852
853
|
custom_attributes: Record<string, unknown>;
|
|
@@ -859,7 +860,6 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
859
860
|
inbox_id: number;
|
|
860
861
|
source_id: string | null;
|
|
861
862
|
updated_at: string;
|
|
862
|
-
account_id: number;
|
|
863
863
|
sender_type: "Contact" | "User";
|
|
864
864
|
sender_id: number;
|
|
865
865
|
external_source_ids: Record<string, unknown>;
|
|
@@ -897,8 +897,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
897
897
|
id: number;
|
|
898
898
|
name: string | null;
|
|
899
899
|
email: string | null;
|
|
900
|
-
thumbnail: string;
|
|
901
900
|
phone_number: string | null;
|
|
901
|
+
thumbnail: string;
|
|
902
902
|
identifier: string | null;
|
|
903
903
|
additional_attributes: Record<string, unknown>;
|
|
904
904
|
custom_attributes: Record<string, unknown>;
|
|
@@ -910,8 +910,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
910
910
|
id: number;
|
|
911
911
|
name: string | null;
|
|
912
912
|
email: string | null;
|
|
913
|
-
thumbnail: string;
|
|
914
913
|
phone_number: string | null;
|
|
914
|
+
thumbnail: string;
|
|
915
915
|
identifier: string | null;
|
|
916
916
|
additional_attributes: Record<string, unknown>;
|
|
917
917
|
custom_attributes: Record<string, unknown>;
|
|
@@ -940,8 +940,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
940
940
|
id: number;
|
|
941
941
|
name: string | null;
|
|
942
942
|
email: string | null;
|
|
943
|
-
thumbnail: string;
|
|
944
943
|
phone_number: string | null;
|
|
944
|
+
thumbnail: string;
|
|
945
945
|
identifier: string | null;
|
|
946
946
|
additional_attributes: Record<string, unknown>;
|
|
947
947
|
custom_attributes: Record<string, unknown>;
|
|
@@ -962,8 +962,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
962
962
|
id: number;
|
|
963
963
|
name: string | null;
|
|
964
964
|
email: string | null;
|
|
965
|
-
thumbnail: string;
|
|
966
965
|
phone_number: string | null;
|
|
966
|
+
thumbnail: string;
|
|
967
967
|
identifier: string | null;
|
|
968
968
|
additional_attributes: Record<string, unknown>;
|
|
969
969
|
custom_attributes: Record<string, unknown>;
|
|
@@ -998,8 +998,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
998
998
|
created_at: z.ZodNumber;
|
|
999
999
|
updated_at: z.ZodNumber;
|
|
1000
1000
|
}, "strip", z.ZodTypeAny, {
|
|
1001
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
1002
1001
|
id: number;
|
|
1002
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
1003
1003
|
created_at: number;
|
|
1004
1004
|
priority: string | null;
|
|
1005
1005
|
additional_attributes: {
|
|
@@ -1034,25 +1034,26 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
1034
1034
|
pubsub_token: string;
|
|
1035
1035
|
};
|
|
1036
1036
|
messages: {
|
|
1037
|
+
id: number;
|
|
1038
|
+
status: string;
|
|
1039
|
+
account_id: number;
|
|
1037
1040
|
content: string | null;
|
|
1038
1041
|
message_type: number;
|
|
1039
1042
|
private: boolean;
|
|
1040
1043
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
1041
|
-
status: string;
|
|
1042
1044
|
content_attributes: {
|
|
1043
1045
|
in_reply_to?: unknown;
|
|
1044
1046
|
} & {
|
|
1045
1047
|
[k: string]: unknown;
|
|
1046
1048
|
};
|
|
1047
|
-
id: number;
|
|
1048
1049
|
created_at: number;
|
|
1049
1050
|
conversation_id: number;
|
|
1050
1051
|
sender: {
|
|
1051
1052
|
id: number;
|
|
1052
1053
|
name: string | null;
|
|
1053
1054
|
email: string | null;
|
|
1054
|
-
thumbnail: string;
|
|
1055
1055
|
phone_number: string | null;
|
|
1056
|
+
thumbnail: string;
|
|
1056
1057
|
identifier: string | null;
|
|
1057
1058
|
additional_attributes: Record<string, unknown>;
|
|
1058
1059
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1065,7 +1066,6 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
1065
1066
|
inbox_id: number;
|
|
1066
1067
|
source_id: string | null;
|
|
1067
1068
|
updated_at: string;
|
|
1068
|
-
account_id: number;
|
|
1069
1069
|
sender_type: "Contact" | "User";
|
|
1070
1070
|
sender_id: number;
|
|
1071
1071
|
external_source_ids: Record<string, unknown>;
|
|
@@ -1089,8 +1089,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
1089
1089
|
id: number;
|
|
1090
1090
|
name: string | null;
|
|
1091
1091
|
email: string | null;
|
|
1092
|
-
thumbnail: string;
|
|
1093
1092
|
phone_number: string | null;
|
|
1093
|
+
thumbnail: string;
|
|
1094
1094
|
identifier: string | null;
|
|
1095
1095
|
additional_attributes: Record<string, unknown>;
|
|
1096
1096
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1121,8 +1121,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
1121
1121
|
last_activity_at: number;
|
|
1122
1122
|
timestamp: number;
|
|
1123
1123
|
}, {
|
|
1124
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
1125
1124
|
id: number;
|
|
1125
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
1126
1126
|
created_at: number;
|
|
1127
1127
|
priority: string | null;
|
|
1128
1128
|
additional_attributes: {
|
|
@@ -1157,25 +1157,26 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
1157
1157
|
pubsub_token: string;
|
|
1158
1158
|
};
|
|
1159
1159
|
messages: {
|
|
1160
|
+
id: number;
|
|
1161
|
+
status: string;
|
|
1162
|
+
account_id: number;
|
|
1160
1163
|
content: string | null;
|
|
1161
1164
|
message_type: number;
|
|
1162
1165
|
private: boolean;
|
|
1163
1166
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
1164
|
-
status: string;
|
|
1165
1167
|
content_attributes: {
|
|
1166
1168
|
in_reply_to?: unknown;
|
|
1167
1169
|
} & {
|
|
1168
1170
|
[k: string]: unknown;
|
|
1169
1171
|
};
|
|
1170
|
-
id: number;
|
|
1171
1172
|
created_at: number;
|
|
1172
1173
|
conversation_id: number;
|
|
1173
1174
|
sender: {
|
|
1174
1175
|
id: number;
|
|
1175
1176
|
name: string | null;
|
|
1176
1177
|
email: string | null;
|
|
1177
|
-
thumbnail: string;
|
|
1178
1178
|
phone_number: string | null;
|
|
1179
|
+
thumbnail: string;
|
|
1179
1180
|
identifier: string | null;
|
|
1180
1181
|
additional_attributes: Record<string, unknown>;
|
|
1181
1182
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1188,7 +1189,6 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
1188
1189
|
inbox_id: number;
|
|
1189
1190
|
source_id: string | null;
|
|
1190
1191
|
updated_at: string;
|
|
1191
|
-
account_id: number;
|
|
1192
1192
|
sender_type: "Contact" | "User";
|
|
1193
1193
|
sender_id: number;
|
|
1194
1194
|
external_source_ids: Record<string, unknown>;
|
|
@@ -1212,8 +1212,8 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
1212
1212
|
id: number;
|
|
1213
1213
|
name: string | null;
|
|
1214
1214
|
email: string | null;
|
|
1215
|
-
thumbnail: string;
|
|
1216
1215
|
phone_number: string | null;
|
|
1216
|
+
thumbnail: string;
|
|
1217
1217
|
identifier: string | null;
|
|
1218
1218
|
additional_attributes: Record<string, unknown>;
|
|
1219
1219
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1459,8 +1459,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1459
1459
|
id: number;
|
|
1460
1460
|
name: string | null;
|
|
1461
1461
|
email: string | null;
|
|
1462
|
-
thumbnail: string;
|
|
1463
1462
|
phone_number: string | null;
|
|
1463
|
+
thumbnail: string;
|
|
1464
1464
|
identifier: string | null;
|
|
1465
1465
|
additional_attributes: Record<string, unknown>;
|
|
1466
1466
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1472,8 +1472,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1472
1472
|
id: number;
|
|
1473
1473
|
name: string | null;
|
|
1474
1474
|
email: string | null;
|
|
1475
|
-
thumbnail: string;
|
|
1476
1475
|
phone_number: string | null;
|
|
1476
|
+
thumbnail: string;
|
|
1477
1477
|
identifier: string | null;
|
|
1478
1478
|
additional_attributes: Record<string, unknown>;
|
|
1479
1479
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1483,25 +1483,26 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1483
1483
|
type?: string | undefined;
|
|
1484
1484
|
}>;
|
|
1485
1485
|
}, "strip", z.ZodTypeAny, {
|
|
1486
|
+
id: number;
|
|
1487
|
+
status: string;
|
|
1488
|
+
account_id: number;
|
|
1486
1489
|
content: string | null;
|
|
1487
1490
|
message_type: number;
|
|
1488
1491
|
private: boolean;
|
|
1489
1492
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
1490
|
-
status: string;
|
|
1491
1493
|
content_attributes: {
|
|
1492
1494
|
in_reply_to?: unknown;
|
|
1493
1495
|
} & {
|
|
1494
1496
|
[k: string]: unknown;
|
|
1495
1497
|
};
|
|
1496
|
-
id: number;
|
|
1497
1498
|
created_at: number;
|
|
1498
1499
|
conversation_id: number;
|
|
1499
1500
|
sender: {
|
|
1500
1501
|
id: number;
|
|
1501
1502
|
name: string | null;
|
|
1502
1503
|
email: string | null;
|
|
1503
|
-
thumbnail: string;
|
|
1504
1504
|
phone_number: string | null;
|
|
1505
|
+
thumbnail: string;
|
|
1505
1506
|
identifier: string | null;
|
|
1506
1507
|
additional_attributes: Record<string, unknown>;
|
|
1507
1508
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1514,7 +1515,6 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1514
1515
|
inbox_id: number;
|
|
1515
1516
|
source_id: string | null;
|
|
1516
1517
|
updated_at: string;
|
|
1517
|
-
account_id: number;
|
|
1518
1518
|
sender_type: "Contact" | "User";
|
|
1519
1519
|
sender_id: number;
|
|
1520
1520
|
external_source_ids: Record<string, unknown>;
|
|
@@ -1533,25 +1533,26 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1533
1533
|
assignee_id: number | null;
|
|
1534
1534
|
};
|
|
1535
1535
|
}, {
|
|
1536
|
+
id: number;
|
|
1537
|
+
status: string;
|
|
1538
|
+
account_id: number;
|
|
1536
1539
|
content: string | null;
|
|
1537
1540
|
message_type: number;
|
|
1538
1541
|
private: boolean;
|
|
1539
1542
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
1540
|
-
status: string;
|
|
1541
1543
|
content_attributes: {
|
|
1542
1544
|
in_reply_to?: unknown;
|
|
1543
1545
|
} & {
|
|
1544
1546
|
[k: string]: unknown;
|
|
1545
1547
|
};
|
|
1546
|
-
id: number;
|
|
1547
1548
|
created_at: number;
|
|
1548
1549
|
conversation_id: number;
|
|
1549
1550
|
sender: {
|
|
1550
1551
|
id: number;
|
|
1551
1552
|
name: string | null;
|
|
1552
1553
|
email: string | null;
|
|
1553
|
-
thumbnail: string;
|
|
1554
1554
|
phone_number: string | null;
|
|
1555
|
+
thumbnail: string;
|
|
1555
1556
|
identifier: string | null;
|
|
1556
1557
|
additional_attributes: Record<string, unknown>;
|
|
1557
1558
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1564,7 +1565,6 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1564
1565
|
inbox_id: number;
|
|
1565
1566
|
source_id: string | null;
|
|
1566
1567
|
updated_at: string;
|
|
1567
|
-
account_id: number;
|
|
1568
1568
|
sender_type: "Contact" | "User";
|
|
1569
1569
|
sender_id: number;
|
|
1570
1570
|
external_source_ids: Record<string, unknown>;
|
|
@@ -1602,8 +1602,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1602
1602
|
id: number;
|
|
1603
1603
|
name: string | null;
|
|
1604
1604
|
email: string | null;
|
|
1605
|
-
thumbnail: string;
|
|
1606
1605
|
phone_number: string | null;
|
|
1606
|
+
thumbnail: string;
|
|
1607
1607
|
identifier: string | null;
|
|
1608
1608
|
additional_attributes: Record<string, unknown>;
|
|
1609
1609
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1615,8 +1615,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1615
1615
|
id: number;
|
|
1616
1616
|
name: string | null;
|
|
1617
1617
|
email: string | null;
|
|
1618
|
-
thumbnail: string;
|
|
1619
1618
|
phone_number: string | null;
|
|
1619
|
+
thumbnail: string;
|
|
1620
1620
|
identifier: string | null;
|
|
1621
1621
|
additional_attributes: Record<string, unknown>;
|
|
1622
1622
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1645,8 +1645,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1645
1645
|
id: number;
|
|
1646
1646
|
name: string | null;
|
|
1647
1647
|
email: string | null;
|
|
1648
|
-
thumbnail: string;
|
|
1649
1648
|
phone_number: string | null;
|
|
1649
|
+
thumbnail: string;
|
|
1650
1650
|
identifier: string | null;
|
|
1651
1651
|
additional_attributes: Record<string, unknown>;
|
|
1652
1652
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1667,8 +1667,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1667
1667
|
id: number;
|
|
1668
1668
|
name: string | null;
|
|
1669
1669
|
email: string | null;
|
|
1670
|
-
thumbnail: string;
|
|
1671
1670
|
phone_number: string | null;
|
|
1671
|
+
thumbnail: string;
|
|
1672
1672
|
identifier: string | null;
|
|
1673
1673
|
additional_attributes: Record<string, unknown>;
|
|
1674
1674
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1703,8 +1703,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1703
1703
|
created_at: z.ZodNumber;
|
|
1704
1704
|
updated_at: z.ZodNumber;
|
|
1705
1705
|
}, "strip", z.ZodTypeAny, {
|
|
1706
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
1707
1706
|
id: number;
|
|
1707
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
1708
1708
|
created_at: number;
|
|
1709
1709
|
priority: string | null;
|
|
1710
1710
|
additional_attributes: {
|
|
@@ -1739,25 +1739,26 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1739
1739
|
pubsub_token: string;
|
|
1740
1740
|
};
|
|
1741
1741
|
messages: {
|
|
1742
|
+
id: number;
|
|
1743
|
+
status: string;
|
|
1744
|
+
account_id: number;
|
|
1742
1745
|
content: string | null;
|
|
1743
1746
|
message_type: number;
|
|
1744
1747
|
private: boolean;
|
|
1745
1748
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
1746
|
-
status: string;
|
|
1747
1749
|
content_attributes: {
|
|
1748
1750
|
in_reply_to?: unknown;
|
|
1749
1751
|
} & {
|
|
1750
1752
|
[k: string]: unknown;
|
|
1751
1753
|
};
|
|
1752
|
-
id: number;
|
|
1753
1754
|
created_at: number;
|
|
1754
1755
|
conversation_id: number;
|
|
1755
1756
|
sender: {
|
|
1756
1757
|
id: number;
|
|
1757
1758
|
name: string | null;
|
|
1758
1759
|
email: string | null;
|
|
1759
|
-
thumbnail: string;
|
|
1760
1760
|
phone_number: string | null;
|
|
1761
|
+
thumbnail: string;
|
|
1761
1762
|
identifier: string | null;
|
|
1762
1763
|
additional_attributes: Record<string, unknown>;
|
|
1763
1764
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1770,7 +1771,6 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1770
1771
|
inbox_id: number;
|
|
1771
1772
|
source_id: string | null;
|
|
1772
1773
|
updated_at: string;
|
|
1773
|
-
account_id: number;
|
|
1774
1774
|
sender_type: "Contact" | "User";
|
|
1775
1775
|
sender_id: number;
|
|
1776
1776
|
external_source_ids: Record<string, unknown>;
|
|
@@ -1794,8 +1794,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1794
1794
|
id: number;
|
|
1795
1795
|
name: string | null;
|
|
1796
1796
|
email: string | null;
|
|
1797
|
-
thumbnail: string;
|
|
1798
1797
|
phone_number: string | null;
|
|
1798
|
+
thumbnail: string;
|
|
1799
1799
|
identifier: string | null;
|
|
1800
1800
|
additional_attributes: Record<string, unknown>;
|
|
1801
1801
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1826,8 +1826,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1826
1826
|
last_activity_at: number;
|
|
1827
1827
|
timestamp: number;
|
|
1828
1828
|
}, {
|
|
1829
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
1830
1829
|
id: number;
|
|
1830
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
1831
1831
|
created_at: number;
|
|
1832
1832
|
priority: string | null;
|
|
1833
1833
|
additional_attributes: {
|
|
@@ -1862,25 +1862,26 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1862
1862
|
pubsub_token: string;
|
|
1863
1863
|
};
|
|
1864
1864
|
messages: {
|
|
1865
|
+
id: number;
|
|
1866
|
+
status: string;
|
|
1867
|
+
account_id: number;
|
|
1865
1868
|
content: string | null;
|
|
1866
1869
|
message_type: number;
|
|
1867
1870
|
private: boolean;
|
|
1868
1871
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
1869
|
-
status: string;
|
|
1870
1872
|
content_attributes: {
|
|
1871
1873
|
in_reply_to?: unknown;
|
|
1872
1874
|
} & {
|
|
1873
1875
|
[k: string]: unknown;
|
|
1874
1876
|
};
|
|
1875
|
-
id: number;
|
|
1876
1877
|
created_at: number;
|
|
1877
1878
|
conversation_id: number;
|
|
1878
1879
|
sender: {
|
|
1879
1880
|
id: number;
|
|
1880
1881
|
name: string | null;
|
|
1881
1882
|
email: string | null;
|
|
1882
|
-
thumbnail: string;
|
|
1883
1883
|
phone_number: string | null;
|
|
1884
|
+
thumbnail: string;
|
|
1884
1885
|
identifier: string | null;
|
|
1885
1886
|
additional_attributes: Record<string, unknown>;
|
|
1886
1887
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1893,7 +1894,6 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1893
1894
|
inbox_id: number;
|
|
1894
1895
|
source_id: string | null;
|
|
1895
1896
|
updated_at: string;
|
|
1896
|
-
account_id: number;
|
|
1897
1897
|
sender_type: "Contact" | "User";
|
|
1898
1898
|
sender_id: number;
|
|
1899
1899
|
external_source_ids: Record<string, unknown>;
|
|
@@ -1917,8 +1917,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1917
1917
|
id: number;
|
|
1918
1918
|
name: string | null;
|
|
1919
1919
|
email: string | null;
|
|
1920
|
-
thumbnail: string;
|
|
1921
1920
|
phone_number: string | null;
|
|
1921
|
+
thumbnail: string;
|
|
1922
1922
|
identifier: string | null;
|
|
1923
1923
|
additional_attributes: Record<string, unknown>;
|
|
1924
1924
|
custom_attributes: Record<string, unknown>;
|
|
@@ -1993,8 +1993,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1993
1993
|
id: number;
|
|
1994
1994
|
name: string | null;
|
|
1995
1995
|
email: string | null;
|
|
1996
|
-
thumbnail: string;
|
|
1997
1996
|
phone_number: string | null;
|
|
1997
|
+
thumbnail: string;
|
|
1998
1998
|
identifier: string | null;
|
|
1999
1999
|
additional_attributes: Record<string, unknown>;
|
|
2000
2000
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2010,8 +2010,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2010
2010
|
id: number;
|
|
2011
2011
|
name: string | null;
|
|
2012
2012
|
email: string | null;
|
|
2013
|
-
thumbnail: string;
|
|
2014
2013
|
phone_number: string | null;
|
|
2014
|
+
thumbnail: string;
|
|
2015
2015
|
identifier: string | null;
|
|
2016
2016
|
additional_attributes: Record<string, unknown>;
|
|
2017
2017
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2028,24 +2028,24 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2028
2028
|
} & {
|
|
2029
2029
|
event: z.ZodLiteral<"message_created">;
|
|
2030
2030
|
}, "strip", z.ZodTypeAny, {
|
|
2031
|
+
id: number;
|
|
2032
|
+
status: string;
|
|
2031
2033
|
content: string | null;
|
|
2032
2034
|
message_type: "incoming" | "outgoing";
|
|
2033
2035
|
private: boolean;
|
|
2034
2036
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
2035
|
-
status: string;
|
|
2036
2037
|
content_attributes: {
|
|
2037
2038
|
in_reply_to?: unknown;
|
|
2038
2039
|
} & {
|
|
2039
2040
|
[k: string]: unknown;
|
|
2040
2041
|
};
|
|
2041
|
-
id: number;
|
|
2042
2042
|
created_at: string;
|
|
2043
2043
|
sender: {
|
|
2044
2044
|
id: number;
|
|
2045
2045
|
name: string | null;
|
|
2046
2046
|
email: string | null;
|
|
2047
|
-
thumbnail: string;
|
|
2048
2047
|
phone_number: string | null;
|
|
2048
|
+
thumbnail: string;
|
|
2049
2049
|
identifier: string | null;
|
|
2050
2050
|
additional_attributes: Record<string, unknown>;
|
|
2051
2051
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2065,8 +2065,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2065
2065
|
name: string;
|
|
2066
2066
|
};
|
|
2067
2067
|
conversation: {
|
|
2068
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
2069
2068
|
id: number;
|
|
2069
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
2070
2070
|
created_at: number;
|
|
2071
2071
|
priority: string | null;
|
|
2072
2072
|
additional_attributes: {
|
|
@@ -2101,25 +2101,26 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2101
2101
|
pubsub_token: string;
|
|
2102
2102
|
};
|
|
2103
2103
|
messages: {
|
|
2104
|
+
id: number;
|
|
2105
|
+
status: string;
|
|
2106
|
+
account_id: number;
|
|
2104
2107
|
content: string | null;
|
|
2105
2108
|
message_type: number;
|
|
2106
2109
|
private: boolean;
|
|
2107
2110
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
2108
|
-
status: string;
|
|
2109
2111
|
content_attributes: {
|
|
2110
2112
|
in_reply_to?: unknown;
|
|
2111
2113
|
} & {
|
|
2112
2114
|
[k: string]: unknown;
|
|
2113
2115
|
};
|
|
2114
|
-
id: number;
|
|
2115
2116
|
created_at: number;
|
|
2116
2117
|
conversation_id: number;
|
|
2117
2118
|
sender: {
|
|
2118
2119
|
id: number;
|
|
2119
2120
|
name: string | null;
|
|
2120
2121
|
email: string | null;
|
|
2121
|
-
thumbnail: string;
|
|
2122
2122
|
phone_number: string | null;
|
|
2123
|
+
thumbnail: string;
|
|
2123
2124
|
identifier: string | null;
|
|
2124
2125
|
additional_attributes: Record<string, unknown>;
|
|
2125
2126
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2132,7 +2133,6 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2132
2133
|
inbox_id: number;
|
|
2133
2134
|
source_id: string | null;
|
|
2134
2135
|
updated_at: string;
|
|
2135
|
-
account_id: number;
|
|
2136
2136
|
sender_type: "Contact" | "User";
|
|
2137
2137
|
sender_id: number;
|
|
2138
2138
|
external_source_ids: Record<string, unknown>;
|
|
@@ -2156,8 +2156,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2156
2156
|
id: number;
|
|
2157
2157
|
name: string | null;
|
|
2158
2158
|
email: string | null;
|
|
2159
|
-
thumbnail: string;
|
|
2160
2159
|
phone_number: string | null;
|
|
2160
|
+
thumbnail: string;
|
|
2161
2161
|
identifier: string | null;
|
|
2162
2162
|
additional_attributes: Record<string, unknown>;
|
|
2163
2163
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2194,24 +2194,24 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2194
2194
|
};
|
|
2195
2195
|
event: "message_created";
|
|
2196
2196
|
}, {
|
|
2197
|
+
id: number;
|
|
2198
|
+
status: string;
|
|
2197
2199
|
content: string | null;
|
|
2198
2200
|
message_type: "incoming" | "outgoing";
|
|
2199
2201
|
private: boolean;
|
|
2200
2202
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
2201
|
-
status: string;
|
|
2202
2203
|
content_attributes: {
|
|
2203
2204
|
in_reply_to?: unknown;
|
|
2204
2205
|
} & {
|
|
2205
2206
|
[k: string]: unknown;
|
|
2206
2207
|
};
|
|
2207
|
-
id: number;
|
|
2208
2208
|
created_at: string;
|
|
2209
2209
|
sender: {
|
|
2210
2210
|
id: number;
|
|
2211
2211
|
name: string | null;
|
|
2212
2212
|
email: string | null;
|
|
2213
|
-
thumbnail: string;
|
|
2214
2213
|
phone_number: string | null;
|
|
2214
|
+
thumbnail: string;
|
|
2215
2215
|
identifier: string | null;
|
|
2216
2216
|
additional_attributes: Record<string, unknown>;
|
|
2217
2217
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2231,8 +2231,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2231
2231
|
name: string;
|
|
2232
2232
|
};
|
|
2233
2233
|
conversation: {
|
|
2234
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
2235
2234
|
id: number;
|
|
2235
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
2236
2236
|
created_at: number;
|
|
2237
2237
|
priority: string | null;
|
|
2238
2238
|
additional_attributes: {
|
|
@@ -2267,25 +2267,26 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2267
2267
|
pubsub_token: string;
|
|
2268
2268
|
};
|
|
2269
2269
|
messages: {
|
|
2270
|
+
id: number;
|
|
2271
|
+
status: string;
|
|
2272
|
+
account_id: number;
|
|
2270
2273
|
content: string | null;
|
|
2271
2274
|
message_type: number;
|
|
2272
2275
|
private: boolean;
|
|
2273
2276
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
2274
|
-
status: string;
|
|
2275
2277
|
content_attributes: {
|
|
2276
2278
|
in_reply_to?: unknown;
|
|
2277
2279
|
} & {
|
|
2278
2280
|
[k: string]: unknown;
|
|
2279
2281
|
};
|
|
2280
|
-
id: number;
|
|
2281
2282
|
created_at: number;
|
|
2282
2283
|
conversation_id: number;
|
|
2283
2284
|
sender: {
|
|
2284
2285
|
id: number;
|
|
2285
2286
|
name: string | null;
|
|
2286
2287
|
email: string | null;
|
|
2287
|
-
thumbnail: string;
|
|
2288
2288
|
phone_number: string | null;
|
|
2289
|
+
thumbnail: string;
|
|
2289
2290
|
identifier: string | null;
|
|
2290
2291
|
additional_attributes: Record<string, unknown>;
|
|
2291
2292
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2298,7 +2299,6 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2298
2299
|
inbox_id: number;
|
|
2299
2300
|
source_id: string | null;
|
|
2300
2301
|
updated_at: string;
|
|
2301
|
-
account_id: number;
|
|
2302
2302
|
sender_type: "Contact" | "User";
|
|
2303
2303
|
sender_id: number;
|
|
2304
2304
|
external_source_ids: Record<string, unknown>;
|
|
@@ -2322,8 +2322,8 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2322
2322
|
id: number;
|
|
2323
2323
|
name: string | null;
|
|
2324
2324
|
email: string | null;
|
|
2325
|
-
thumbnail: string;
|
|
2326
2325
|
phone_number: string | null;
|
|
2326
|
+
thumbnail: string;
|
|
2327
2327
|
identifier: string | null;
|
|
2328
2328
|
additional_attributes: Record<string, unknown>;
|
|
2329
2329
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2575,8 +2575,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2575
2575
|
id: number;
|
|
2576
2576
|
name: string | null;
|
|
2577
2577
|
email: string | null;
|
|
2578
|
-
thumbnail: string;
|
|
2579
2578
|
phone_number: string | null;
|
|
2579
|
+
thumbnail: string;
|
|
2580
2580
|
identifier: string | null;
|
|
2581
2581
|
additional_attributes: Record<string, unknown>;
|
|
2582
2582
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2588,8 +2588,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2588
2588
|
id: number;
|
|
2589
2589
|
name: string | null;
|
|
2590
2590
|
email: string | null;
|
|
2591
|
-
thumbnail: string;
|
|
2592
2591
|
phone_number: string | null;
|
|
2592
|
+
thumbnail: string;
|
|
2593
2593
|
identifier: string | null;
|
|
2594
2594
|
additional_attributes: Record<string, unknown>;
|
|
2595
2595
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2599,25 +2599,26 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2599
2599
|
type?: string | undefined;
|
|
2600
2600
|
}>;
|
|
2601
2601
|
}, "strip", z.ZodTypeAny, {
|
|
2602
|
+
id: number;
|
|
2603
|
+
status: string;
|
|
2604
|
+
account_id: number;
|
|
2602
2605
|
content: string | null;
|
|
2603
2606
|
message_type: number;
|
|
2604
2607
|
private: boolean;
|
|
2605
2608
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
2606
|
-
status: string;
|
|
2607
2609
|
content_attributes: {
|
|
2608
2610
|
in_reply_to?: unknown;
|
|
2609
2611
|
} & {
|
|
2610
2612
|
[k: string]: unknown;
|
|
2611
2613
|
};
|
|
2612
|
-
id: number;
|
|
2613
2614
|
created_at: number;
|
|
2614
2615
|
conversation_id: number;
|
|
2615
2616
|
sender: {
|
|
2616
2617
|
id: number;
|
|
2617
2618
|
name: string | null;
|
|
2618
2619
|
email: string | null;
|
|
2619
|
-
thumbnail: string;
|
|
2620
2620
|
phone_number: string | null;
|
|
2621
|
+
thumbnail: string;
|
|
2621
2622
|
identifier: string | null;
|
|
2622
2623
|
additional_attributes: Record<string, unknown>;
|
|
2623
2624
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2630,7 +2631,6 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2630
2631
|
inbox_id: number;
|
|
2631
2632
|
source_id: string | null;
|
|
2632
2633
|
updated_at: string;
|
|
2633
|
-
account_id: number;
|
|
2634
2634
|
sender_type: "Contact" | "User";
|
|
2635
2635
|
sender_id: number;
|
|
2636
2636
|
external_source_ids: Record<string, unknown>;
|
|
@@ -2649,25 +2649,26 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2649
2649
|
assignee_id: number | null;
|
|
2650
2650
|
};
|
|
2651
2651
|
}, {
|
|
2652
|
+
id: number;
|
|
2653
|
+
status: string;
|
|
2654
|
+
account_id: number;
|
|
2652
2655
|
content: string | null;
|
|
2653
2656
|
message_type: number;
|
|
2654
2657
|
private: boolean;
|
|
2655
2658
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
2656
|
-
status: string;
|
|
2657
2659
|
content_attributes: {
|
|
2658
2660
|
in_reply_to?: unknown;
|
|
2659
2661
|
} & {
|
|
2660
2662
|
[k: string]: unknown;
|
|
2661
2663
|
};
|
|
2662
|
-
id: number;
|
|
2663
2664
|
created_at: number;
|
|
2664
2665
|
conversation_id: number;
|
|
2665
2666
|
sender: {
|
|
2666
2667
|
id: number;
|
|
2667
2668
|
name: string | null;
|
|
2668
2669
|
email: string | null;
|
|
2669
|
-
thumbnail: string;
|
|
2670
2670
|
phone_number: string | null;
|
|
2671
|
+
thumbnail: string;
|
|
2671
2672
|
identifier: string | null;
|
|
2672
2673
|
additional_attributes: Record<string, unknown>;
|
|
2673
2674
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2680,7 +2681,6 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2680
2681
|
inbox_id: number;
|
|
2681
2682
|
source_id: string | null;
|
|
2682
2683
|
updated_at: string;
|
|
2683
|
-
account_id: number;
|
|
2684
2684
|
sender_type: "Contact" | "User";
|
|
2685
2685
|
sender_id: number;
|
|
2686
2686
|
external_source_ids: Record<string, unknown>;
|
|
@@ -2718,8 +2718,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2718
2718
|
id: number;
|
|
2719
2719
|
name: string | null;
|
|
2720
2720
|
email: string | null;
|
|
2721
|
-
thumbnail: string;
|
|
2722
2721
|
phone_number: string | null;
|
|
2722
|
+
thumbnail: string;
|
|
2723
2723
|
identifier: string | null;
|
|
2724
2724
|
additional_attributes: Record<string, unknown>;
|
|
2725
2725
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2731,8 +2731,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2731
2731
|
id: number;
|
|
2732
2732
|
name: string | null;
|
|
2733
2733
|
email: string | null;
|
|
2734
|
-
thumbnail: string;
|
|
2735
2734
|
phone_number: string | null;
|
|
2735
|
+
thumbnail: string;
|
|
2736
2736
|
identifier: string | null;
|
|
2737
2737
|
additional_attributes: Record<string, unknown>;
|
|
2738
2738
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2761,8 +2761,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2761
2761
|
id: number;
|
|
2762
2762
|
name: string | null;
|
|
2763
2763
|
email: string | null;
|
|
2764
|
-
thumbnail: string;
|
|
2765
2764
|
phone_number: string | null;
|
|
2765
|
+
thumbnail: string;
|
|
2766
2766
|
identifier: string | null;
|
|
2767
2767
|
additional_attributes: Record<string, unknown>;
|
|
2768
2768
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2783,8 +2783,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2783
2783
|
id: number;
|
|
2784
2784
|
name: string | null;
|
|
2785
2785
|
email: string | null;
|
|
2786
|
-
thumbnail: string;
|
|
2787
2786
|
phone_number: string | null;
|
|
2787
|
+
thumbnail: string;
|
|
2788
2788
|
identifier: string | null;
|
|
2789
2789
|
additional_attributes: Record<string, unknown>;
|
|
2790
2790
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2819,8 +2819,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2819
2819
|
created_at: z.ZodNumber;
|
|
2820
2820
|
updated_at: z.ZodNumber;
|
|
2821
2821
|
}, "strip", z.ZodTypeAny, {
|
|
2822
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
2823
2822
|
id: number;
|
|
2823
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
2824
2824
|
created_at: number;
|
|
2825
2825
|
priority: string | null;
|
|
2826
2826
|
additional_attributes: {
|
|
@@ -2855,25 +2855,26 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2855
2855
|
pubsub_token: string;
|
|
2856
2856
|
};
|
|
2857
2857
|
messages: {
|
|
2858
|
+
id: number;
|
|
2859
|
+
status: string;
|
|
2860
|
+
account_id: number;
|
|
2858
2861
|
content: string | null;
|
|
2859
2862
|
message_type: number;
|
|
2860
2863
|
private: boolean;
|
|
2861
2864
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
2862
|
-
status: string;
|
|
2863
2865
|
content_attributes: {
|
|
2864
2866
|
in_reply_to?: unknown;
|
|
2865
2867
|
} & {
|
|
2866
2868
|
[k: string]: unknown;
|
|
2867
2869
|
};
|
|
2868
|
-
id: number;
|
|
2869
2870
|
created_at: number;
|
|
2870
2871
|
conversation_id: number;
|
|
2871
2872
|
sender: {
|
|
2872
2873
|
id: number;
|
|
2873
2874
|
name: string | null;
|
|
2874
2875
|
email: string | null;
|
|
2875
|
-
thumbnail: string;
|
|
2876
2876
|
phone_number: string | null;
|
|
2877
|
+
thumbnail: string;
|
|
2877
2878
|
identifier: string | null;
|
|
2878
2879
|
additional_attributes: Record<string, unknown>;
|
|
2879
2880
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2886,7 +2887,6 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2886
2887
|
inbox_id: number;
|
|
2887
2888
|
source_id: string | null;
|
|
2888
2889
|
updated_at: string;
|
|
2889
|
-
account_id: number;
|
|
2890
2890
|
sender_type: "Contact" | "User";
|
|
2891
2891
|
sender_id: number;
|
|
2892
2892
|
external_source_ids: Record<string, unknown>;
|
|
@@ -2910,8 +2910,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2910
2910
|
id: number;
|
|
2911
2911
|
name: string | null;
|
|
2912
2912
|
email: string | null;
|
|
2913
|
-
thumbnail: string;
|
|
2914
2913
|
phone_number: string | null;
|
|
2914
|
+
thumbnail: string;
|
|
2915
2915
|
identifier: string | null;
|
|
2916
2916
|
additional_attributes: Record<string, unknown>;
|
|
2917
2917
|
custom_attributes: Record<string, unknown>;
|
|
@@ -2942,8 +2942,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2942
2942
|
last_activity_at: number;
|
|
2943
2943
|
timestamp: number;
|
|
2944
2944
|
}, {
|
|
2945
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
2946
2945
|
id: number;
|
|
2946
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
2947
2947
|
created_at: number;
|
|
2948
2948
|
priority: string | null;
|
|
2949
2949
|
additional_attributes: {
|
|
@@ -2978,25 +2978,26 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2978
2978
|
pubsub_token: string;
|
|
2979
2979
|
};
|
|
2980
2980
|
messages: {
|
|
2981
|
+
id: number;
|
|
2982
|
+
status: string;
|
|
2983
|
+
account_id: number;
|
|
2981
2984
|
content: string | null;
|
|
2982
2985
|
message_type: number;
|
|
2983
2986
|
private: boolean;
|
|
2984
2987
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
2985
|
-
status: string;
|
|
2986
2988
|
content_attributes: {
|
|
2987
2989
|
in_reply_to?: unknown;
|
|
2988
2990
|
} & {
|
|
2989
2991
|
[k: string]: unknown;
|
|
2990
2992
|
};
|
|
2991
|
-
id: number;
|
|
2992
2993
|
created_at: number;
|
|
2993
2994
|
conversation_id: number;
|
|
2994
2995
|
sender: {
|
|
2995
2996
|
id: number;
|
|
2996
2997
|
name: string | null;
|
|
2997
2998
|
email: string | null;
|
|
2998
|
-
thumbnail: string;
|
|
2999
2999
|
phone_number: string | null;
|
|
3000
|
+
thumbnail: string;
|
|
3000
3001
|
identifier: string | null;
|
|
3001
3002
|
additional_attributes: Record<string, unknown>;
|
|
3002
3003
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3009,7 +3010,6 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3009
3010
|
inbox_id: number;
|
|
3010
3011
|
source_id: string | null;
|
|
3011
3012
|
updated_at: string;
|
|
3012
|
-
account_id: number;
|
|
3013
3013
|
sender_type: "Contact" | "User";
|
|
3014
3014
|
sender_id: number;
|
|
3015
3015
|
external_source_ids: Record<string, unknown>;
|
|
@@ -3033,8 +3033,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3033
3033
|
id: number;
|
|
3034
3034
|
name: string | null;
|
|
3035
3035
|
email: string | null;
|
|
3036
|
-
thumbnail: string;
|
|
3037
3036
|
phone_number: string | null;
|
|
3037
|
+
thumbnail: string;
|
|
3038
3038
|
identifier: string | null;
|
|
3039
3039
|
additional_attributes: Record<string, unknown>;
|
|
3040
3040
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3109,8 +3109,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3109
3109
|
id: number;
|
|
3110
3110
|
name: string | null;
|
|
3111
3111
|
email: string | null;
|
|
3112
|
-
thumbnail: string;
|
|
3113
3112
|
phone_number: string | null;
|
|
3113
|
+
thumbnail: string;
|
|
3114
3114
|
identifier: string | null;
|
|
3115
3115
|
additional_attributes: Record<string, unknown>;
|
|
3116
3116
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3126,8 +3126,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3126
3126
|
id: number;
|
|
3127
3127
|
name: string | null;
|
|
3128
3128
|
email: string | null;
|
|
3129
|
-
thumbnail: string;
|
|
3130
3129
|
phone_number: string | null;
|
|
3130
|
+
thumbnail: string;
|
|
3131
3131
|
identifier: string | null;
|
|
3132
3132
|
additional_attributes: Record<string, unknown>;
|
|
3133
3133
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3144,24 +3144,24 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3144
3144
|
} & {
|
|
3145
3145
|
event: z.ZodLiteral<"message_updated">;
|
|
3146
3146
|
}, "strip", z.ZodTypeAny, {
|
|
3147
|
+
id: number;
|
|
3148
|
+
status: string;
|
|
3147
3149
|
content: string | null;
|
|
3148
3150
|
message_type: "incoming" | "outgoing";
|
|
3149
3151
|
private: boolean;
|
|
3150
3152
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
3151
|
-
status: string;
|
|
3152
3153
|
content_attributes: {
|
|
3153
3154
|
in_reply_to?: unknown;
|
|
3154
3155
|
} & {
|
|
3155
3156
|
[k: string]: unknown;
|
|
3156
3157
|
};
|
|
3157
|
-
id: number;
|
|
3158
3158
|
created_at: string;
|
|
3159
3159
|
sender: {
|
|
3160
3160
|
id: number;
|
|
3161
3161
|
name: string | null;
|
|
3162
3162
|
email: string | null;
|
|
3163
|
-
thumbnail: string;
|
|
3164
3163
|
phone_number: string | null;
|
|
3164
|
+
thumbnail: string;
|
|
3165
3165
|
identifier: string | null;
|
|
3166
3166
|
additional_attributes: Record<string, unknown>;
|
|
3167
3167
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3181,8 +3181,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3181
3181
|
name: string;
|
|
3182
3182
|
};
|
|
3183
3183
|
conversation: {
|
|
3184
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
3185
3184
|
id: number;
|
|
3185
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
3186
3186
|
created_at: number;
|
|
3187
3187
|
priority: string | null;
|
|
3188
3188
|
additional_attributes: {
|
|
@@ -3217,25 +3217,26 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3217
3217
|
pubsub_token: string;
|
|
3218
3218
|
};
|
|
3219
3219
|
messages: {
|
|
3220
|
+
id: number;
|
|
3221
|
+
status: string;
|
|
3222
|
+
account_id: number;
|
|
3220
3223
|
content: string | null;
|
|
3221
3224
|
message_type: number;
|
|
3222
3225
|
private: boolean;
|
|
3223
3226
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
3224
|
-
status: string;
|
|
3225
3227
|
content_attributes: {
|
|
3226
3228
|
in_reply_to?: unknown;
|
|
3227
3229
|
} & {
|
|
3228
3230
|
[k: string]: unknown;
|
|
3229
3231
|
};
|
|
3230
|
-
id: number;
|
|
3231
3232
|
created_at: number;
|
|
3232
3233
|
conversation_id: number;
|
|
3233
3234
|
sender: {
|
|
3234
3235
|
id: number;
|
|
3235
3236
|
name: string | null;
|
|
3236
3237
|
email: string | null;
|
|
3237
|
-
thumbnail: string;
|
|
3238
3238
|
phone_number: string | null;
|
|
3239
|
+
thumbnail: string;
|
|
3239
3240
|
identifier: string | null;
|
|
3240
3241
|
additional_attributes: Record<string, unknown>;
|
|
3241
3242
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3248,7 +3249,6 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3248
3249
|
inbox_id: number;
|
|
3249
3250
|
source_id: string | null;
|
|
3250
3251
|
updated_at: string;
|
|
3251
|
-
account_id: number;
|
|
3252
3252
|
sender_type: "Contact" | "User";
|
|
3253
3253
|
sender_id: number;
|
|
3254
3254
|
external_source_ids: Record<string, unknown>;
|
|
@@ -3272,8 +3272,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3272
3272
|
id: number;
|
|
3273
3273
|
name: string | null;
|
|
3274
3274
|
email: string | null;
|
|
3275
|
-
thumbnail: string;
|
|
3276
3275
|
phone_number: string | null;
|
|
3276
|
+
thumbnail: string;
|
|
3277
3277
|
identifier: string | null;
|
|
3278
3278
|
additional_attributes: Record<string, unknown>;
|
|
3279
3279
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3310,24 +3310,24 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3310
3310
|
};
|
|
3311
3311
|
event: "message_updated";
|
|
3312
3312
|
}, {
|
|
3313
|
+
id: number;
|
|
3314
|
+
status: string;
|
|
3313
3315
|
content: string | null;
|
|
3314
3316
|
message_type: "incoming" | "outgoing";
|
|
3315
3317
|
private: boolean;
|
|
3316
3318
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
3317
|
-
status: string;
|
|
3318
3319
|
content_attributes: {
|
|
3319
3320
|
in_reply_to?: unknown;
|
|
3320
3321
|
} & {
|
|
3321
3322
|
[k: string]: unknown;
|
|
3322
3323
|
};
|
|
3323
|
-
id: number;
|
|
3324
3324
|
created_at: string;
|
|
3325
3325
|
sender: {
|
|
3326
3326
|
id: number;
|
|
3327
3327
|
name: string | null;
|
|
3328
3328
|
email: string | null;
|
|
3329
|
-
thumbnail: string;
|
|
3330
3329
|
phone_number: string | null;
|
|
3330
|
+
thumbnail: string;
|
|
3331
3331
|
identifier: string | null;
|
|
3332
3332
|
additional_attributes: Record<string, unknown>;
|
|
3333
3333
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3347,8 +3347,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3347
3347
|
name: string;
|
|
3348
3348
|
};
|
|
3349
3349
|
conversation: {
|
|
3350
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
3351
3350
|
id: number;
|
|
3351
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
3352
3352
|
created_at: number;
|
|
3353
3353
|
priority: string | null;
|
|
3354
3354
|
additional_attributes: {
|
|
@@ -3383,25 +3383,26 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3383
3383
|
pubsub_token: string;
|
|
3384
3384
|
};
|
|
3385
3385
|
messages: {
|
|
3386
|
+
id: number;
|
|
3387
|
+
status: string;
|
|
3388
|
+
account_id: number;
|
|
3386
3389
|
content: string | null;
|
|
3387
3390
|
message_type: number;
|
|
3388
3391
|
private: boolean;
|
|
3389
3392
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
3390
|
-
status: string;
|
|
3391
3393
|
content_attributes: {
|
|
3392
3394
|
in_reply_to?: unknown;
|
|
3393
3395
|
} & {
|
|
3394
3396
|
[k: string]: unknown;
|
|
3395
3397
|
};
|
|
3396
|
-
id: number;
|
|
3397
3398
|
created_at: number;
|
|
3398
3399
|
conversation_id: number;
|
|
3399
3400
|
sender: {
|
|
3400
3401
|
id: number;
|
|
3401
3402
|
name: string | null;
|
|
3402
3403
|
email: string | null;
|
|
3403
|
-
thumbnail: string;
|
|
3404
3404
|
phone_number: string | null;
|
|
3405
|
+
thumbnail: string;
|
|
3405
3406
|
identifier: string | null;
|
|
3406
3407
|
additional_attributes: Record<string, unknown>;
|
|
3407
3408
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3414,7 +3415,6 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3414
3415
|
inbox_id: number;
|
|
3415
3416
|
source_id: string | null;
|
|
3416
3417
|
updated_at: string;
|
|
3417
|
-
account_id: number;
|
|
3418
3418
|
sender_type: "Contact" | "User";
|
|
3419
3419
|
sender_id: number;
|
|
3420
3420
|
external_source_ids: Record<string, unknown>;
|
|
@@ -3438,8 +3438,8 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3438
3438
|
id: number;
|
|
3439
3439
|
name: string | null;
|
|
3440
3440
|
email: string | null;
|
|
3441
|
-
thumbnail: string;
|
|
3442
3441
|
phone_number: string | null;
|
|
3442
|
+
thumbnail: string;
|
|
3443
3443
|
identifier: string | null;
|
|
3444
3444
|
additional_attributes: Record<string, unknown>;
|
|
3445
3445
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3691,8 +3691,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3691
3691
|
id: number;
|
|
3692
3692
|
name: string | null;
|
|
3693
3693
|
email: string | null;
|
|
3694
|
-
thumbnail: string;
|
|
3695
3694
|
phone_number: string | null;
|
|
3695
|
+
thumbnail: string;
|
|
3696
3696
|
identifier: string | null;
|
|
3697
3697
|
additional_attributes: Record<string, unknown>;
|
|
3698
3698
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3704,8 +3704,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3704
3704
|
id: number;
|
|
3705
3705
|
name: string | null;
|
|
3706
3706
|
email: string | null;
|
|
3707
|
-
thumbnail: string;
|
|
3708
3707
|
phone_number: string | null;
|
|
3708
|
+
thumbnail: string;
|
|
3709
3709
|
identifier: string | null;
|
|
3710
3710
|
additional_attributes: Record<string, unknown>;
|
|
3711
3711
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3715,25 +3715,26 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3715
3715
|
type?: string | undefined;
|
|
3716
3716
|
}>;
|
|
3717
3717
|
}, "strip", z.ZodTypeAny, {
|
|
3718
|
+
id: number;
|
|
3719
|
+
status: string;
|
|
3720
|
+
account_id: number;
|
|
3718
3721
|
content: string | null;
|
|
3719
3722
|
message_type: number;
|
|
3720
3723
|
private: boolean;
|
|
3721
3724
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
3722
|
-
status: string;
|
|
3723
3725
|
content_attributes: {
|
|
3724
3726
|
in_reply_to?: unknown;
|
|
3725
3727
|
} & {
|
|
3726
3728
|
[k: string]: unknown;
|
|
3727
3729
|
};
|
|
3728
|
-
id: number;
|
|
3729
3730
|
created_at: number;
|
|
3730
3731
|
conversation_id: number;
|
|
3731
3732
|
sender: {
|
|
3732
3733
|
id: number;
|
|
3733
3734
|
name: string | null;
|
|
3734
3735
|
email: string | null;
|
|
3735
|
-
thumbnail: string;
|
|
3736
3736
|
phone_number: string | null;
|
|
3737
|
+
thumbnail: string;
|
|
3737
3738
|
identifier: string | null;
|
|
3738
3739
|
additional_attributes: Record<string, unknown>;
|
|
3739
3740
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3746,7 +3747,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3746
3747
|
inbox_id: number;
|
|
3747
3748
|
source_id: string | null;
|
|
3748
3749
|
updated_at: string;
|
|
3749
|
-
account_id: number;
|
|
3750
3750
|
sender_type: "Contact" | "User";
|
|
3751
3751
|
sender_id: number;
|
|
3752
3752
|
external_source_ids: Record<string, unknown>;
|
|
@@ -3765,25 +3765,26 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3765
3765
|
assignee_id: number | null;
|
|
3766
3766
|
};
|
|
3767
3767
|
}, {
|
|
3768
|
+
id: number;
|
|
3769
|
+
status: string;
|
|
3770
|
+
account_id: number;
|
|
3768
3771
|
content: string | null;
|
|
3769
3772
|
message_type: number;
|
|
3770
3773
|
private: boolean;
|
|
3771
3774
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
3772
|
-
status: string;
|
|
3773
3775
|
content_attributes: {
|
|
3774
3776
|
in_reply_to?: unknown;
|
|
3775
3777
|
} & {
|
|
3776
3778
|
[k: string]: unknown;
|
|
3777
3779
|
};
|
|
3778
|
-
id: number;
|
|
3779
3780
|
created_at: number;
|
|
3780
3781
|
conversation_id: number;
|
|
3781
3782
|
sender: {
|
|
3782
3783
|
id: number;
|
|
3783
3784
|
name: string | null;
|
|
3784
3785
|
email: string | null;
|
|
3785
|
-
thumbnail: string;
|
|
3786
3786
|
phone_number: string | null;
|
|
3787
|
+
thumbnail: string;
|
|
3787
3788
|
identifier: string | null;
|
|
3788
3789
|
additional_attributes: Record<string, unknown>;
|
|
3789
3790
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3796,7 +3797,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3796
3797
|
inbox_id: number;
|
|
3797
3798
|
source_id: string | null;
|
|
3798
3799
|
updated_at: string;
|
|
3799
|
-
account_id: number;
|
|
3800
3800
|
sender_type: "Contact" | "User";
|
|
3801
3801
|
sender_id: number;
|
|
3802
3802
|
external_source_ids: Record<string, unknown>;
|
|
@@ -3834,8 +3834,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3834
3834
|
id: number;
|
|
3835
3835
|
name: string | null;
|
|
3836
3836
|
email: string | null;
|
|
3837
|
-
thumbnail: string;
|
|
3838
3837
|
phone_number: string | null;
|
|
3838
|
+
thumbnail: string;
|
|
3839
3839
|
identifier: string | null;
|
|
3840
3840
|
additional_attributes: Record<string, unknown>;
|
|
3841
3841
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3847,8 +3847,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3847
3847
|
id: number;
|
|
3848
3848
|
name: string | null;
|
|
3849
3849
|
email: string | null;
|
|
3850
|
-
thumbnail: string;
|
|
3851
3850
|
phone_number: string | null;
|
|
3851
|
+
thumbnail: string;
|
|
3852
3852
|
identifier: string | null;
|
|
3853
3853
|
additional_attributes: Record<string, unknown>;
|
|
3854
3854
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3877,8 +3877,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3877
3877
|
id: number;
|
|
3878
3878
|
name: string | null;
|
|
3879
3879
|
email: string | null;
|
|
3880
|
-
thumbnail: string;
|
|
3881
3880
|
phone_number: string | null;
|
|
3881
|
+
thumbnail: string;
|
|
3882
3882
|
identifier: string | null;
|
|
3883
3883
|
additional_attributes: Record<string, unknown>;
|
|
3884
3884
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3899,8 +3899,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3899
3899
|
id: number;
|
|
3900
3900
|
name: string | null;
|
|
3901
3901
|
email: string | null;
|
|
3902
|
-
thumbnail: string;
|
|
3903
3902
|
phone_number: string | null;
|
|
3903
|
+
thumbnail: string;
|
|
3904
3904
|
identifier: string | null;
|
|
3905
3905
|
additional_attributes: Record<string, unknown>;
|
|
3906
3906
|
custom_attributes: Record<string, unknown>;
|
|
@@ -3935,8 +3935,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3935
3935
|
created_at: z.ZodNumber;
|
|
3936
3936
|
updated_at: z.ZodNumber;
|
|
3937
3937
|
}, "strip", z.ZodTypeAny, {
|
|
3938
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
3939
3938
|
id: number;
|
|
3939
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
3940
3940
|
created_at: number;
|
|
3941
3941
|
priority: string | null;
|
|
3942
3942
|
additional_attributes: {
|
|
@@ -3971,25 +3971,26 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3971
3971
|
pubsub_token: string;
|
|
3972
3972
|
};
|
|
3973
3973
|
messages: {
|
|
3974
|
+
id: number;
|
|
3975
|
+
status: string;
|
|
3976
|
+
account_id: number;
|
|
3974
3977
|
content: string | null;
|
|
3975
3978
|
message_type: number;
|
|
3976
3979
|
private: boolean;
|
|
3977
3980
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
3978
|
-
status: string;
|
|
3979
3981
|
content_attributes: {
|
|
3980
3982
|
in_reply_to?: unknown;
|
|
3981
3983
|
} & {
|
|
3982
3984
|
[k: string]: unknown;
|
|
3983
3985
|
};
|
|
3984
|
-
id: number;
|
|
3985
3986
|
created_at: number;
|
|
3986
3987
|
conversation_id: number;
|
|
3987
3988
|
sender: {
|
|
3988
3989
|
id: number;
|
|
3989
3990
|
name: string | null;
|
|
3990
3991
|
email: string | null;
|
|
3991
|
-
thumbnail: string;
|
|
3992
3992
|
phone_number: string | null;
|
|
3993
|
+
thumbnail: string;
|
|
3993
3994
|
identifier: string | null;
|
|
3994
3995
|
additional_attributes: Record<string, unknown>;
|
|
3995
3996
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4002,7 +4003,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4002
4003
|
inbox_id: number;
|
|
4003
4004
|
source_id: string | null;
|
|
4004
4005
|
updated_at: string;
|
|
4005
|
-
account_id: number;
|
|
4006
4006
|
sender_type: "Contact" | "User";
|
|
4007
4007
|
sender_id: number;
|
|
4008
4008
|
external_source_ids: Record<string, unknown>;
|
|
@@ -4026,8 +4026,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4026
4026
|
id: number;
|
|
4027
4027
|
name: string | null;
|
|
4028
4028
|
email: string | null;
|
|
4029
|
-
thumbnail: string;
|
|
4030
4029
|
phone_number: string | null;
|
|
4030
|
+
thumbnail: string;
|
|
4031
4031
|
identifier: string | null;
|
|
4032
4032
|
additional_attributes: Record<string, unknown>;
|
|
4033
4033
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4058,8 +4058,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4058
4058
|
last_activity_at: number;
|
|
4059
4059
|
timestamp: number;
|
|
4060
4060
|
}, {
|
|
4061
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
4062
4061
|
id: number;
|
|
4062
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
4063
4063
|
created_at: number;
|
|
4064
4064
|
priority: string | null;
|
|
4065
4065
|
additional_attributes: {
|
|
@@ -4094,25 +4094,26 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4094
4094
|
pubsub_token: string;
|
|
4095
4095
|
};
|
|
4096
4096
|
messages: {
|
|
4097
|
+
id: number;
|
|
4098
|
+
status: string;
|
|
4099
|
+
account_id: number;
|
|
4097
4100
|
content: string | null;
|
|
4098
4101
|
message_type: number;
|
|
4099
4102
|
private: boolean;
|
|
4100
4103
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
4101
|
-
status: string;
|
|
4102
4104
|
content_attributes: {
|
|
4103
4105
|
in_reply_to?: unknown;
|
|
4104
4106
|
} & {
|
|
4105
4107
|
[k: string]: unknown;
|
|
4106
4108
|
};
|
|
4107
|
-
id: number;
|
|
4108
4109
|
created_at: number;
|
|
4109
4110
|
conversation_id: number;
|
|
4110
4111
|
sender: {
|
|
4111
4112
|
id: number;
|
|
4112
4113
|
name: string | null;
|
|
4113
4114
|
email: string | null;
|
|
4114
|
-
thumbnail: string;
|
|
4115
4115
|
phone_number: string | null;
|
|
4116
|
+
thumbnail: string;
|
|
4116
4117
|
identifier: string | null;
|
|
4117
4118
|
additional_attributes: Record<string, unknown>;
|
|
4118
4119
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4125,7 +4126,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4125
4126
|
inbox_id: number;
|
|
4126
4127
|
source_id: string | null;
|
|
4127
4128
|
updated_at: string;
|
|
4128
|
-
account_id: number;
|
|
4129
4129
|
sender_type: "Contact" | "User";
|
|
4130
4130
|
sender_id: number;
|
|
4131
4131
|
external_source_ids: Record<string, unknown>;
|
|
@@ -4149,8 +4149,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4149
4149
|
id: number;
|
|
4150
4150
|
name: string | null;
|
|
4151
4151
|
email: string | null;
|
|
4152
|
-
thumbnail: string;
|
|
4153
4152
|
phone_number: string | null;
|
|
4153
|
+
thumbnail: string;
|
|
4154
4154
|
identifier: string | null;
|
|
4155
4155
|
additional_attributes: Record<string, unknown>;
|
|
4156
4156
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4225,8 +4225,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4225
4225
|
id: number;
|
|
4226
4226
|
name: string | null;
|
|
4227
4227
|
email: string | null;
|
|
4228
|
-
thumbnail: string;
|
|
4229
4228
|
phone_number: string | null;
|
|
4229
|
+
thumbnail: string;
|
|
4230
4230
|
identifier: string | null;
|
|
4231
4231
|
additional_attributes: Record<string, unknown>;
|
|
4232
4232
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4242,8 +4242,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4242
4242
|
id: number;
|
|
4243
4243
|
name: string | null;
|
|
4244
4244
|
email: string | null;
|
|
4245
|
-
thumbnail: string;
|
|
4246
4245
|
phone_number: string | null;
|
|
4246
|
+
thumbnail: string;
|
|
4247
4247
|
identifier: string | null;
|
|
4248
4248
|
additional_attributes: Record<string, unknown>;
|
|
4249
4249
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4260,24 +4260,24 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4260
4260
|
} & {
|
|
4261
4261
|
event: z.ZodLiteral<"message_created">;
|
|
4262
4262
|
}, "strip", z.ZodTypeAny, {
|
|
4263
|
+
id: number;
|
|
4264
|
+
status: string;
|
|
4263
4265
|
content: string | null;
|
|
4264
4266
|
message_type: "incoming" | "outgoing";
|
|
4265
4267
|
private: boolean;
|
|
4266
4268
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
4267
|
-
status: string;
|
|
4268
4269
|
content_attributes: {
|
|
4269
4270
|
in_reply_to?: unknown;
|
|
4270
4271
|
} & {
|
|
4271
4272
|
[k: string]: unknown;
|
|
4272
4273
|
};
|
|
4273
|
-
id: number;
|
|
4274
4274
|
created_at: string;
|
|
4275
4275
|
sender: {
|
|
4276
4276
|
id: number;
|
|
4277
4277
|
name: string | null;
|
|
4278
4278
|
email: string | null;
|
|
4279
|
-
thumbnail: string;
|
|
4280
4279
|
phone_number: string | null;
|
|
4280
|
+
thumbnail: string;
|
|
4281
4281
|
identifier: string | null;
|
|
4282
4282
|
additional_attributes: Record<string, unknown>;
|
|
4283
4283
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4297,8 +4297,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4297
4297
|
name: string;
|
|
4298
4298
|
};
|
|
4299
4299
|
conversation: {
|
|
4300
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
4301
4300
|
id: number;
|
|
4301
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
4302
4302
|
created_at: number;
|
|
4303
4303
|
priority: string | null;
|
|
4304
4304
|
additional_attributes: {
|
|
@@ -4333,25 +4333,26 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4333
4333
|
pubsub_token: string;
|
|
4334
4334
|
};
|
|
4335
4335
|
messages: {
|
|
4336
|
+
id: number;
|
|
4337
|
+
status: string;
|
|
4338
|
+
account_id: number;
|
|
4336
4339
|
content: string | null;
|
|
4337
4340
|
message_type: number;
|
|
4338
4341
|
private: boolean;
|
|
4339
4342
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
4340
|
-
status: string;
|
|
4341
4343
|
content_attributes: {
|
|
4342
4344
|
in_reply_to?: unknown;
|
|
4343
4345
|
} & {
|
|
4344
4346
|
[k: string]: unknown;
|
|
4345
4347
|
};
|
|
4346
|
-
id: number;
|
|
4347
4348
|
created_at: number;
|
|
4348
4349
|
conversation_id: number;
|
|
4349
4350
|
sender: {
|
|
4350
4351
|
id: number;
|
|
4351
4352
|
name: string | null;
|
|
4352
4353
|
email: string | null;
|
|
4353
|
-
thumbnail: string;
|
|
4354
4354
|
phone_number: string | null;
|
|
4355
|
+
thumbnail: string;
|
|
4355
4356
|
identifier: string | null;
|
|
4356
4357
|
additional_attributes: Record<string, unknown>;
|
|
4357
4358
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4364,7 +4365,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4364
4365
|
inbox_id: number;
|
|
4365
4366
|
source_id: string | null;
|
|
4366
4367
|
updated_at: string;
|
|
4367
|
-
account_id: number;
|
|
4368
4368
|
sender_type: "Contact" | "User";
|
|
4369
4369
|
sender_id: number;
|
|
4370
4370
|
external_source_ids: Record<string, unknown>;
|
|
@@ -4388,8 +4388,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4388
4388
|
id: number;
|
|
4389
4389
|
name: string | null;
|
|
4390
4390
|
email: string | null;
|
|
4391
|
-
thumbnail: string;
|
|
4392
4391
|
phone_number: string | null;
|
|
4392
|
+
thumbnail: string;
|
|
4393
4393
|
identifier: string | null;
|
|
4394
4394
|
additional_attributes: Record<string, unknown>;
|
|
4395
4395
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4426,24 +4426,24 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4426
4426
|
};
|
|
4427
4427
|
event: "message_created";
|
|
4428
4428
|
}, {
|
|
4429
|
+
id: number;
|
|
4430
|
+
status: string;
|
|
4429
4431
|
content: string | null;
|
|
4430
4432
|
message_type: "incoming" | "outgoing";
|
|
4431
4433
|
private: boolean;
|
|
4432
4434
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
4433
|
-
status: string;
|
|
4434
4435
|
content_attributes: {
|
|
4435
4436
|
in_reply_to?: unknown;
|
|
4436
4437
|
} & {
|
|
4437
4438
|
[k: string]: unknown;
|
|
4438
4439
|
};
|
|
4439
|
-
id: number;
|
|
4440
4440
|
created_at: string;
|
|
4441
4441
|
sender: {
|
|
4442
4442
|
id: number;
|
|
4443
4443
|
name: string | null;
|
|
4444
4444
|
email: string | null;
|
|
4445
|
-
thumbnail: string;
|
|
4446
4445
|
phone_number: string | null;
|
|
4446
|
+
thumbnail: string;
|
|
4447
4447
|
identifier: string | null;
|
|
4448
4448
|
additional_attributes: Record<string, unknown>;
|
|
4449
4449
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4463,8 +4463,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4463
4463
|
name: string;
|
|
4464
4464
|
};
|
|
4465
4465
|
conversation: {
|
|
4466
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
4467
4466
|
id: number;
|
|
4467
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
4468
4468
|
created_at: number;
|
|
4469
4469
|
priority: string | null;
|
|
4470
4470
|
additional_attributes: {
|
|
@@ -4499,25 +4499,26 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4499
4499
|
pubsub_token: string;
|
|
4500
4500
|
};
|
|
4501
4501
|
messages: {
|
|
4502
|
+
id: number;
|
|
4503
|
+
status: string;
|
|
4504
|
+
account_id: number;
|
|
4502
4505
|
content: string | null;
|
|
4503
4506
|
message_type: number;
|
|
4504
4507
|
private: boolean;
|
|
4505
4508
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
4506
|
-
status: string;
|
|
4507
4509
|
content_attributes: {
|
|
4508
4510
|
in_reply_to?: unknown;
|
|
4509
4511
|
} & {
|
|
4510
4512
|
[k: string]: unknown;
|
|
4511
4513
|
};
|
|
4512
|
-
id: number;
|
|
4513
4514
|
created_at: number;
|
|
4514
4515
|
conversation_id: number;
|
|
4515
4516
|
sender: {
|
|
4516
4517
|
id: number;
|
|
4517
4518
|
name: string | null;
|
|
4518
4519
|
email: string | null;
|
|
4519
|
-
thumbnail: string;
|
|
4520
4520
|
phone_number: string | null;
|
|
4521
|
+
thumbnail: string;
|
|
4521
4522
|
identifier: string | null;
|
|
4522
4523
|
additional_attributes: Record<string, unknown>;
|
|
4523
4524
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4530,7 +4531,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4530
4531
|
inbox_id: number;
|
|
4531
4532
|
source_id: string | null;
|
|
4532
4533
|
updated_at: string;
|
|
4533
|
-
account_id: number;
|
|
4534
4534
|
sender_type: "Contact" | "User";
|
|
4535
4535
|
sender_id: number;
|
|
4536
4536
|
external_source_ids: Record<string, unknown>;
|
|
@@ -4554,8 +4554,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4554
4554
|
id: number;
|
|
4555
4555
|
name: string | null;
|
|
4556
4556
|
email: string | null;
|
|
4557
|
-
thumbnail: string;
|
|
4558
4557
|
phone_number: string | null;
|
|
4558
|
+
thumbnail: string;
|
|
4559
4559
|
identifier: string | null;
|
|
4560
4560
|
additional_attributes: Record<string, unknown>;
|
|
4561
4561
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4806,8 +4806,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4806
4806
|
id: number;
|
|
4807
4807
|
name: string | null;
|
|
4808
4808
|
email: string | null;
|
|
4809
|
-
thumbnail: string;
|
|
4810
4809
|
phone_number: string | null;
|
|
4810
|
+
thumbnail: string;
|
|
4811
4811
|
identifier: string | null;
|
|
4812
4812
|
additional_attributes: Record<string, unknown>;
|
|
4813
4813
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4819,8 +4819,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4819
4819
|
id: number;
|
|
4820
4820
|
name: string | null;
|
|
4821
4821
|
email: string | null;
|
|
4822
|
-
thumbnail: string;
|
|
4823
4822
|
phone_number: string | null;
|
|
4823
|
+
thumbnail: string;
|
|
4824
4824
|
identifier: string | null;
|
|
4825
4825
|
additional_attributes: Record<string, unknown>;
|
|
4826
4826
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4830,25 +4830,26 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4830
4830
|
type?: string | undefined;
|
|
4831
4831
|
}>;
|
|
4832
4832
|
}, "strip", z.ZodTypeAny, {
|
|
4833
|
+
id: number;
|
|
4834
|
+
status: string;
|
|
4835
|
+
account_id: number;
|
|
4833
4836
|
content: string | null;
|
|
4834
4837
|
message_type: number;
|
|
4835
4838
|
private: boolean;
|
|
4836
4839
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
4837
|
-
status: string;
|
|
4838
4840
|
content_attributes: {
|
|
4839
4841
|
in_reply_to?: unknown;
|
|
4840
4842
|
} & {
|
|
4841
4843
|
[k: string]: unknown;
|
|
4842
4844
|
};
|
|
4843
|
-
id: number;
|
|
4844
4845
|
created_at: number;
|
|
4845
4846
|
conversation_id: number;
|
|
4846
4847
|
sender: {
|
|
4847
4848
|
id: number;
|
|
4848
4849
|
name: string | null;
|
|
4849
4850
|
email: string | null;
|
|
4850
|
-
thumbnail: string;
|
|
4851
4851
|
phone_number: string | null;
|
|
4852
|
+
thumbnail: string;
|
|
4852
4853
|
identifier: string | null;
|
|
4853
4854
|
additional_attributes: Record<string, unknown>;
|
|
4854
4855
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4861,7 +4862,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4861
4862
|
inbox_id: number;
|
|
4862
4863
|
source_id: string | null;
|
|
4863
4864
|
updated_at: string;
|
|
4864
|
-
account_id: number;
|
|
4865
4865
|
sender_type: "Contact" | "User";
|
|
4866
4866
|
sender_id: number;
|
|
4867
4867
|
external_source_ids: Record<string, unknown>;
|
|
@@ -4880,25 +4880,26 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4880
4880
|
assignee_id: number | null;
|
|
4881
4881
|
};
|
|
4882
4882
|
}, {
|
|
4883
|
+
id: number;
|
|
4884
|
+
status: string;
|
|
4885
|
+
account_id: number;
|
|
4883
4886
|
content: string | null;
|
|
4884
4887
|
message_type: number;
|
|
4885
4888
|
private: boolean;
|
|
4886
4889
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
4887
|
-
status: string;
|
|
4888
4890
|
content_attributes: {
|
|
4889
4891
|
in_reply_to?: unknown;
|
|
4890
4892
|
} & {
|
|
4891
4893
|
[k: string]: unknown;
|
|
4892
4894
|
};
|
|
4893
|
-
id: number;
|
|
4894
4895
|
created_at: number;
|
|
4895
4896
|
conversation_id: number;
|
|
4896
4897
|
sender: {
|
|
4897
4898
|
id: number;
|
|
4898
4899
|
name: string | null;
|
|
4899
4900
|
email: string | null;
|
|
4900
|
-
thumbnail: string;
|
|
4901
4901
|
phone_number: string | null;
|
|
4902
|
+
thumbnail: string;
|
|
4902
4903
|
identifier: string | null;
|
|
4903
4904
|
additional_attributes: Record<string, unknown>;
|
|
4904
4905
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4911,7 +4912,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4911
4912
|
inbox_id: number;
|
|
4912
4913
|
source_id: string | null;
|
|
4913
4914
|
updated_at: string;
|
|
4914
|
-
account_id: number;
|
|
4915
4915
|
sender_type: "Contact" | "User";
|
|
4916
4916
|
sender_id: number;
|
|
4917
4917
|
external_source_ids: Record<string, unknown>;
|
|
@@ -4949,8 +4949,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4949
4949
|
id: number;
|
|
4950
4950
|
name: string | null;
|
|
4951
4951
|
email: string | null;
|
|
4952
|
-
thumbnail: string;
|
|
4953
4952
|
phone_number: string | null;
|
|
4953
|
+
thumbnail: string;
|
|
4954
4954
|
identifier: string | null;
|
|
4955
4955
|
additional_attributes: Record<string, unknown>;
|
|
4956
4956
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4962,8 +4962,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4962
4962
|
id: number;
|
|
4963
4963
|
name: string | null;
|
|
4964
4964
|
email: string | null;
|
|
4965
|
-
thumbnail: string;
|
|
4966
4965
|
phone_number: string | null;
|
|
4966
|
+
thumbnail: string;
|
|
4967
4967
|
identifier: string | null;
|
|
4968
4968
|
additional_attributes: Record<string, unknown>;
|
|
4969
4969
|
custom_attributes: Record<string, unknown>;
|
|
@@ -4992,8 +4992,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4992
4992
|
id: number;
|
|
4993
4993
|
name: string | null;
|
|
4994
4994
|
email: string | null;
|
|
4995
|
-
thumbnail: string;
|
|
4996
4995
|
phone_number: string | null;
|
|
4996
|
+
thumbnail: string;
|
|
4997
4997
|
identifier: string | null;
|
|
4998
4998
|
additional_attributes: Record<string, unknown>;
|
|
4999
4999
|
custom_attributes: Record<string, unknown>;
|
|
@@ -5014,8 +5014,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5014
5014
|
id: number;
|
|
5015
5015
|
name: string | null;
|
|
5016
5016
|
email: string | null;
|
|
5017
|
-
thumbnail: string;
|
|
5018
5017
|
phone_number: string | null;
|
|
5018
|
+
thumbnail: string;
|
|
5019
5019
|
identifier: string | null;
|
|
5020
5020
|
additional_attributes: Record<string, unknown>;
|
|
5021
5021
|
custom_attributes: Record<string, unknown>;
|
|
@@ -5050,8 +5050,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5050
5050
|
created_at: z.ZodNumber;
|
|
5051
5051
|
updated_at: z.ZodNumber;
|
|
5052
5052
|
}, "strip", z.ZodTypeAny, {
|
|
5053
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
5054
5053
|
id: number;
|
|
5054
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
5055
5055
|
created_at: number;
|
|
5056
5056
|
priority: string | null;
|
|
5057
5057
|
additional_attributes: {
|
|
@@ -5086,25 +5086,26 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5086
5086
|
pubsub_token: string;
|
|
5087
5087
|
};
|
|
5088
5088
|
messages: {
|
|
5089
|
+
id: number;
|
|
5090
|
+
status: string;
|
|
5091
|
+
account_id: number;
|
|
5089
5092
|
content: string | null;
|
|
5090
5093
|
message_type: number;
|
|
5091
5094
|
private: boolean;
|
|
5092
5095
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
5093
|
-
status: string;
|
|
5094
5096
|
content_attributes: {
|
|
5095
5097
|
in_reply_to?: unknown;
|
|
5096
5098
|
} & {
|
|
5097
5099
|
[k: string]: unknown;
|
|
5098
5100
|
};
|
|
5099
|
-
id: number;
|
|
5100
5101
|
created_at: number;
|
|
5101
5102
|
conversation_id: number;
|
|
5102
5103
|
sender: {
|
|
5103
5104
|
id: number;
|
|
5104
5105
|
name: string | null;
|
|
5105
5106
|
email: string | null;
|
|
5106
|
-
thumbnail: string;
|
|
5107
5107
|
phone_number: string | null;
|
|
5108
|
+
thumbnail: string;
|
|
5108
5109
|
identifier: string | null;
|
|
5109
5110
|
additional_attributes: Record<string, unknown>;
|
|
5110
5111
|
custom_attributes: Record<string, unknown>;
|
|
@@ -5117,7 +5118,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5117
5118
|
inbox_id: number;
|
|
5118
5119
|
source_id: string | null;
|
|
5119
5120
|
updated_at: string;
|
|
5120
|
-
account_id: number;
|
|
5121
5121
|
sender_type: "Contact" | "User";
|
|
5122
5122
|
sender_id: number;
|
|
5123
5123
|
external_source_ids: Record<string, unknown>;
|
|
@@ -5141,8 +5141,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5141
5141
|
id: number;
|
|
5142
5142
|
name: string | null;
|
|
5143
5143
|
email: string | null;
|
|
5144
|
-
thumbnail: string;
|
|
5145
5144
|
phone_number: string | null;
|
|
5145
|
+
thumbnail: string;
|
|
5146
5146
|
identifier: string | null;
|
|
5147
5147
|
additional_attributes: Record<string, unknown>;
|
|
5148
5148
|
custom_attributes: Record<string, unknown>;
|
|
@@ -5173,8 +5173,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5173
5173
|
last_activity_at: number;
|
|
5174
5174
|
timestamp: number;
|
|
5175
5175
|
}, {
|
|
5176
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
5177
5176
|
id: number;
|
|
5177
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
5178
5178
|
created_at: number;
|
|
5179
5179
|
priority: string | null;
|
|
5180
5180
|
additional_attributes: {
|
|
@@ -5209,25 +5209,26 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5209
5209
|
pubsub_token: string;
|
|
5210
5210
|
};
|
|
5211
5211
|
messages: {
|
|
5212
|
+
id: number;
|
|
5213
|
+
status: string;
|
|
5214
|
+
account_id: number;
|
|
5212
5215
|
content: string | null;
|
|
5213
5216
|
message_type: number;
|
|
5214
5217
|
private: boolean;
|
|
5215
5218
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
5216
|
-
status: string;
|
|
5217
5219
|
content_attributes: {
|
|
5218
5220
|
in_reply_to?: unknown;
|
|
5219
5221
|
} & {
|
|
5220
5222
|
[k: string]: unknown;
|
|
5221
5223
|
};
|
|
5222
|
-
id: number;
|
|
5223
5224
|
created_at: number;
|
|
5224
5225
|
conversation_id: number;
|
|
5225
5226
|
sender: {
|
|
5226
5227
|
id: number;
|
|
5227
5228
|
name: string | null;
|
|
5228
5229
|
email: string | null;
|
|
5229
|
-
thumbnail: string;
|
|
5230
5230
|
phone_number: string | null;
|
|
5231
|
+
thumbnail: string;
|
|
5231
5232
|
identifier: string | null;
|
|
5232
5233
|
additional_attributes: Record<string, unknown>;
|
|
5233
5234
|
custom_attributes: Record<string, unknown>;
|
|
@@ -5240,7 +5241,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5240
5241
|
inbox_id: number;
|
|
5241
5242
|
source_id: string | null;
|
|
5242
5243
|
updated_at: string;
|
|
5243
|
-
account_id: number;
|
|
5244
5244
|
sender_type: "Contact" | "User";
|
|
5245
5245
|
sender_id: number;
|
|
5246
5246
|
external_source_ids: Record<string, unknown>;
|
|
@@ -5264,8 +5264,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5264
5264
|
id: number;
|
|
5265
5265
|
name: string | null;
|
|
5266
5266
|
email: string | null;
|
|
5267
|
-
thumbnail: string;
|
|
5268
5267
|
phone_number: string | null;
|
|
5268
|
+
thumbnail: string;
|
|
5269
5269
|
identifier: string | null;
|
|
5270
5270
|
additional_attributes: Record<string, unknown>;
|
|
5271
5271
|
custom_attributes: Record<string, unknown>;
|
|
@@ -5340,8 +5340,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5340
5340
|
id: number;
|
|
5341
5341
|
name: string | null;
|
|
5342
5342
|
email: string | null;
|
|
5343
|
-
thumbnail: string;
|
|
5344
5343
|
phone_number: string | null;
|
|
5344
|
+
thumbnail: string;
|
|
5345
5345
|
identifier: string | null;
|
|
5346
5346
|
additional_attributes: Record<string, unknown>;
|
|
5347
5347
|
custom_attributes: Record<string, unknown>;
|
|
@@ -5357,8 +5357,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5357
5357
|
id: number;
|
|
5358
5358
|
name: string | null;
|
|
5359
5359
|
email: string | null;
|
|
5360
|
-
thumbnail: string;
|
|
5361
5360
|
phone_number: string | null;
|
|
5361
|
+
thumbnail: string;
|
|
5362
5362
|
identifier: string | null;
|
|
5363
5363
|
additional_attributes: Record<string, unknown>;
|
|
5364
5364
|
custom_attributes: Record<string, unknown>;
|
|
@@ -5375,24 +5375,24 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5375
5375
|
} & {
|
|
5376
5376
|
event: z.ZodLiteral<"message_updated">;
|
|
5377
5377
|
}, "strip", z.ZodTypeAny, {
|
|
5378
|
+
id: number;
|
|
5379
|
+
status: string;
|
|
5378
5380
|
content: string | null;
|
|
5379
5381
|
message_type: "incoming" | "outgoing";
|
|
5380
5382
|
private: boolean;
|
|
5381
5383
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
5382
|
-
status: string;
|
|
5383
5384
|
content_attributes: {
|
|
5384
5385
|
in_reply_to?: unknown;
|
|
5385
5386
|
} & {
|
|
5386
5387
|
[k: string]: unknown;
|
|
5387
5388
|
};
|
|
5388
|
-
id: number;
|
|
5389
5389
|
created_at: string;
|
|
5390
5390
|
sender: {
|
|
5391
5391
|
id: number;
|
|
5392
5392
|
name: string | null;
|
|
5393
5393
|
email: string | null;
|
|
5394
|
-
thumbnail: string;
|
|
5395
5394
|
phone_number: string | null;
|
|
5395
|
+
thumbnail: string;
|
|
5396
5396
|
identifier: string | null;
|
|
5397
5397
|
additional_attributes: Record<string, unknown>;
|
|
5398
5398
|
custom_attributes: Record<string, unknown>;
|
|
@@ -5412,8 +5412,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5412
5412
|
name: string;
|
|
5413
5413
|
};
|
|
5414
5414
|
conversation: {
|
|
5415
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
5416
5415
|
id: number;
|
|
5416
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
5417
5417
|
created_at: number;
|
|
5418
5418
|
priority: string | null;
|
|
5419
5419
|
additional_attributes: {
|
|
@@ -5448,25 +5448,26 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5448
5448
|
pubsub_token: string;
|
|
5449
5449
|
};
|
|
5450
5450
|
messages: {
|
|
5451
|
+
id: number;
|
|
5452
|
+
status: string;
|
|
5453
|
+
account_id: number;
|
|
5451
5454
|
content: string | null;
|
|
5452
5455
|
message_type: number;
|
|
5453
5456
|
private: boolean;
|
|
5454
5457
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
5455
|
-
status: string;
|
|
5456
5458
|
content_attributes: {
|
|
5457
5459
|
in_reply_to?: unknown;
|
|
5458
5460
|
} & {
|
|
5459
5461
|
[k: string]: unknown;
|
|
5460
5462
|
};
|
|
5461
|
-
id: number;
|
|
5462
5463
|
created_at: number;
|
|
5463
5464
|
conversation_id: number;
|
|
5464
5465
|
sender: {
|
|
5465
5466
|
id: number;
|
|
5466
5467
|
name: string | null;
|
|
5467
5468
|
email: string | null;
|
|
5468
|
-
thumbnail: string;
|
|
5469
5469
|
phone_number: string | null;
|
|
5470
|
+
thumbnail: string;
|
|
5470
5471
|
identifier: string | null;
|
|
5471
5472
|
additional_attributes: Record<string, unknown>;
|
|
5472
5473
|
custom_attributes: Record<string, unknown>;
|
|
@@ -5479,7 +5480,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5479
5480
|
inbox_id: number;
|
|
5480
5481
|
source_id: string | null;
|
|
5481
5482
|
updated_at: string;
|
|
5482
|
-
account_id: number;
|
|
5483
5483
|
sender_type: "Contact" | "User";
|
|
5484
5484
|
sender_id: number;
|
|
5485
5485
|
external_source_ids: Record<string, unknown>;
|
|
@@ -5503,8 +5503,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5503
5503
|
id: number;
|
|
5504
5504
|
name: string | null;
|
|
5505
5505
|
email: string | null;
|
|
5506
|
-
thumbnail: string;
|
|
5507
5506
|
phone_number: string | null;
|
|
5507
|
+
thumbnail: string;
|
|
5508
5508
|
identifier: string | null;
|
|
5509
5509
|
additional_attributes: Record<string, unknown>;
|
|
5510
5510
|
custom_attributes: Record<string, unknown>;
|
|
@@ -5541,24 +5541,24 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5541
5541
|
};
|
|
5542
5542
|
event: "message_updated";
|
|
5543
5543
|
}, {
|
|
5544
|
+
id: number;
|
|
5545
|
+
status: string;
|
|
5544
5546
|
content: string | null;
|
|
5545
5547
|
message_type: "incoming" | "outgoing";
|
|
5546
5548
|
private: boolean;
|
|
5547
5549
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
5548
|
-
status: string;
|
|
5549
5550
|
content_attributes: {
|
|
5550
5551
|
in_reply_to?: unknown;
|
|
5551
5552
|
} & {
|
|
5552
5553
|
[k: string]: unknown;
|
|
5553
5554
|
};
|
|
5554
|
-
id: number;
|
|
5555
5555
|
created_at: string;
|
|
5556
5556
|
sender: {
|
|
5557
5557
|
id: number;
|
|
5558
5558
|
name: string | null;
|
|
5559
5559
|
email: string | null;
|
|
5560
|
-
thumbnail: string;
|
|
5561
5560
|
phone_number: string | null;
|
|
5561
|
+
thumbnail: string;
|
|
5562
5562
|
identifier: string | null;
|
|
5563
5563
|
additional_attributes: Record<string, unknown>;
|
|
5564
5564
|
custom_attributes: Record<string, unknown>;
|
|
@@ -5578,8 +5578,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5578
5578
|
name: string;
|
|
5579
5579
|
};
|
|
5580
5580
|
conversation: {
|
|
5581
|
-
status: "open" | "resolved" | "pending" | "snoozed";
|
|
5582
5581
|
id: number;
|
|
5582
|
+
status: "open" | "resolved" | "pending" | "snoozed";
|
|
5583
5583
|
created_at: number;
|
|
5584
5584
|
priority: string | null;
|
|
5585
5585
|
additional_attributes: {
|
|
@@ -5614,25 +5614,26 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5614
5614
|
pubsub_token: string;
|
|
5615
5615
|
};
|
|
5616
5616
|
messages: {
|
|
5617
|
+
id: number;
|
|
5618
|
+
status: string;
|
|
5619
|
+
account_id: number;
|
|
5617
5620
|
content: string | null;
|
|
5618
5621
|
message_type: number;
|
|
5619
5622
|
private: boolean;
|
|
5620
5623
|
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
5621
|
-
status: string;
|
|
5622
5624
|
content_attributes: {
|
|
5623
5625
|
in_reply_to?: unknown;
|
|
5624
5626
|
} & {
|
|
5625
5627
|
[k: string]: unknown;
|
|
5626
5628
|
};
|
|
5627
|
-
id: number;
|
|
5628
5629
|
created_at: number;
|
|
5629
5630
|
conversation_id: number;
|
|
5630
5631
|
sender: {
|
|
5631
5632
|
id: number;
|
|
5632
5633
|
name: string | null;
|
|
5633
5634
|
email: string | null;
|
|
5634
|
-
thumbnail: string;
|
|
5635
5635
|
phone_number: string | null;
|
|
5636
|
+
thumbnail: string;
|
|
5636
5637
|
identifier: string | null;
|
|
5637
5638
|
additional_attributes: Record<string, unknown>;
|
|
5638
5639
|
custom_attributes: Record<string, unknown>;
|
|
@@ -5645,7 +5646,6 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5645
5646
|
inbox_id: number;
|
|
5646
5647
|
source_id: string | null;
|
|
5647
5648
|
updated_at: string;
|
|
5648
|
-
account_id: number;
|
|
5649
5649
|
sender_type: "Contact" | "User";
|
|
5650
5650
|
sender_id: number;
|
|
5651
5651
|
external_source_ids: Record<string, unknown>;
|
|
@@ -5669,8 +5669,8 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5669
5669
|
id: number;
|
|
5670
5670
|
name: string | null;
|
|
5671
5671
|
email: string | null;
|
|
5672
|
-
thumbnail: string;
|
|
5673
5672
|
phone_number: string | null;
|
|
5673
|
+
thumbnail: string;
|
|
5674
5674
|
identifier: string | null;
|
|
5675
5675
|
additional_attributes: Record<string, unknown>;
|
|
5676
5676
|
custom_attributes: Record<string, unknown>;
|