@voltade/envoy-sdk 1.2.6 → 1.2.8
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/resources/conversations/types.d.ts +17 -17
- package/dist/resources/conversations/types.d.ts.map +1 -1
- package/dist/resources/conversations/types.js +1 -0
- package/dist/resources/conversations/types.js.map +1 -1
- package/dist/resources/webhooks/types.d.ts +122 -122
- package/dist/resources/webhooks/types.js +2 -2
- package/dist/resources/webhooks/types.js.map +1 -1
- package/package.json +1 -1
|
@@ -141,7 +141,7 @@ export declare const WebhookSenderSchema: z.ZodObject<{
|
|
|
141
141
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
142
142
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
143
143
|
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
-
customer_stage: z.ZodOptional<z.ZodString
|
|
144
|
+
customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
145
145
|
account: z.ZodOptional<z.ZodObject<{
|
|
146
146
|
id: z.ZodNumber;
|
|
147
147
|
name: z.ZodString;
|
|
@@ -163,7 +163,7 @@ export declare const WebhookSenderSchema: z.ZodObject<{
|
|
|
163
163
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
164
164
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
165
165
|
blocked?: boolean | undefined;
|
|
166
|
-
customer_stage?: string | undefined;
|
|
166
|
+
customer_stage?: string | null | undefined;
|
|
167
167
|
customer_stage_explanation?: string | null | undefined;
|
|
168
168
|
account?: {
|
|
169
169
|
id: number;
|
|
@@ -180,7 +180,7 @@ export declare const WebhookSenderSchema: z.ZodObject<{
|
|
|
180
180
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
181
181
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
182
182
|
blocked?: boolean | undefined;
|
|
183
|
-
customer_stage?: string | undefined;
|
|
183
|
+
customer_stage?: string | null | undefined;
|
|
184
184
|
customer_stage_explanation?: string | null | undefined;
|
|
185
185
|
account?: {
|
|
186
186
|
id: number;
|
|
@@ -234,7 +234,7 @@ export declare const MessageSenderSchema: z.ZodObject<{
|
|
|
234
234
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
235
235
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
236
236
|
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
237
|
-
customer_stage: z.ZodOptional<z.ZodString
|
|
237
|
+
customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
238
238
|
}, "strip", z.ZodTypeAny, {
|
|
239
239
|
id: number;
|
|
240
240
|
name?: string | null | undefined;
|
|
@@ -246,7 +246,7 @@ export declare const MessageSenderSchema: z.ZodObject<{
|
|
|
246
246
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
247
247
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
248
248
|
blocked?: boolean | undefined;
|
|
249
|
-
customer_stage?: string | undefined;
|
|
249
|
+
customer_stage?: string | null | undefined;
|
|
250
250
|
customer_stage_explanation?: string | null | undefined;
|
|
251
251
|
}, {
|
|
252
252
|
id: number;
|
|
@@ -259,7 +259,7 @@ export declare const MessageSenderSchema: z.ZodObject<{
|
|
|
259
259
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
260
260
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
261
261
|
blocked?: boolean | undefined;
|
|
262
|
-
customer_stage?: string | undefined;
|
|
262
|
+
customer_stage?: string | null | undefined;
|
|
263
263
|
customer_stage_explanation?: string | null | undefined;
|
|
264
264
|
}>;
|
|
265
265
|
export declare const WebhookMessageSchema: z.ZodObject<{
|
|
@@ -274,7 +274,7 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
274
274
|
private: z.ZodBoolean;
|
|
275
275
|
status: z.ZodString;
|
|
276
276
|
source_id: z.ZodNullable<z.ZodString>;
|
|
277
|
-
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article"]>;
|
|
277
|
+
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article", "incoming_email"]>;
|
|
278
278
|
content_attributes: z.ZodObject<{
|
|
279
279
|
in_reply_to: z.ZodNullable<z.ZodUnknown>;
|
|
280
280
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -331,7 +331,7 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
331
331
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
332
332
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
333
333
|
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
334
|
-
customer_stage: z.ZodOptional<z.ZodString
|
|
334
|
+
customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
335
335
|
}, "strip", z.ZodTypeAny, {
|
|
336
336
|
id: number;
|
|
337
337
|
name?: string | null | undefined;
|
|
@@ -343,7 +343,7 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
343
343
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
344
344
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
345
345
|
blocked?: boolean | undefined;
|
|
346
|
-
customer_stage?: string | undefined;
|
|
346
|
+
customer_stage?: string | null | undefined;
|
|
347
347
|
customer_stage_explanation?: string | null | undefined;
|
|
348
348
|
}, {
|
|
349
349
|
id: number;
|
|
@@ -356,7 +356,7 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
356
356
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
357
357
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
358
358
|
blocked?: boolean | undefined;
|
|
359
|
-
customer_stage?: string | undefined;
|
|
359
|
+
customer_stage?: string | null | undefined;
|
|
360
360
|
customer_stage_explanation?: string | null | undefined;
|
|
361
361
|
}>;
|
|
362
362
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -368,7 +368,7 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
368
368
|
content: string | null;
|
|
369
369
|
message_type: number;
|
|
370
370
|
private: boolean;
|
|
371
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
371
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
372
372
|
content_attributes: {
|
|
373
373
|
in_reply_to?: unknown;
|
|
374
374
|
} & {
|
|
@@ -386,7 +386,7 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
386
386
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
387
387
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
388
388
|
blocked?: boolean | undefined;
|
|
389
|
-
customer_stage?: string | undefined;
|
|
389
|
+
customer_stage?: string | null | undefined;
|
|
390
390
|
customer_stage_explanation?: string | null | undefined;
|
|
391
391
|
};
|
|
392
392
|
additional_attributes: Record<string, unknown>;
|
|
@@ -418,7 +418,7 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
418
418
|
content: string | null;
|
|
419
419
|
message_type: number;
|
|
420
420
|
private: boolean;
|
|
421
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
421
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
422
422
|
content_attributes: {
|
|
423
423
|
in_reply_to?: unknown;
|
|
424
424
|
} & {
|
|
@@ -436,7 +436,7 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
436
436
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
437
437
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
438
438
|
blocked?: boolean | undefined;
|
|
439
|
-
customer_stage?: string | undefined;
|
|
439
|
+
customer_stage?: string | null | undefined;
|
|
440
440
|
customer_stage_explanation?: string | null | undefined;
|
|
441
441
|
};
|
|
442
442
|
additional_attributes: Record<string, unknown>;
|
|
@@ -694,7 +694,7 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
694
694
|
private: z.ZodBoolean;
|
|
695
695
|
status: z.ZodString;
|
|
696
696
|
source_id: z.ZodNullable<z.ZodString>;
|
|
697
|
-
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article"]>;
|
|
697
|
+
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article", "incoming_email"]>;
|
|
698
698
|
content_attributes: z.ZodObject<{
|
|
699
699
|
in_reply_to: z.ZodNullable<z.ZodUnknown>;
|
|
700
700
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -751,7 +751,7 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
751
751
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
752
752
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
753
753
|
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
754
|
-
customer_stage: z.ZodOptional<z.ZodString
|
|
754
|
+
customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
755
755
|
}, "strip", z.ZodTypeAny, {
|
|
756
756
|
id: number;
|
|
757
757
|
name?: string | null | undefined;
|
|
@@ -763,7 +763,7 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
763
763
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
764
764
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
765
765
|
blocked?: boolean | undefined;
|
|
766
|
-
customer_stage?: string | undefined;
|
|
766
|
+
customer_stage?: string | null | undefined;
|
|
767
767
|
customer_stage_explanation?: string | null | undefined;
|
|
768
768
|
}, {
|
|
769
769
|
id: number;
|
|
@@ -776,7 +776,7 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
776
776
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
777
777
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
778
778
|
blocked?: boolean | undefined;
|
|
779
|
-
customer_stage?: string | undefined;
|
|
779
|
+
customer_stage?: string | null | undefined;
|
|
780
780
|
customer_stage_explanation?: string | null | undefined;
|
|
781
781
|
}>;
|
|
782
782
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -788,7 +788,7 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
788
788
|
content: string | null;
|
|
789
789
|
message_type: number;
|
|
790
790
|
private: boolean;
|
|
791
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
791
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
792
792
|
content_attributes: {
|
|
793
793
|
in_reply_to?: unknown;
|
|
794
794
|
} & {
|
|
@@ -806,7 +806,7 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
806
806
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
807
807
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
808
808
|
blocked?: boolean | undefined;
|
|
809
|
-
customer_stage?: string | undefined;
|
|
809
|
+
customer_stage?: string | null | undefined;
|
|
810
810
|
customer_stage_explanation?: string | null | undefined;
|
|
811
811
|
};
|
|
812
812
|
additional_attributes: Record<string, unknown>;
|
|
@@ -838,7 +838,7 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
838
838
|
content: string | null;
|
|
839
839
|
message_type: number;
|
|
840
840
|
private: boolean;
|
|
841
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
841
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
842
842
|
content_attributes: {
|
|
843
843
|
in_reply_to?: unknown;
|
|
844
844
|
} & {
|
|
@@ -856,7 +856,7 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
856
856
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
857
857
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
858
858
|
blocked?: boolean | undefined;
|
|
859
|
-
customer_stage?: string | undefined;
|
|
859
|
+
customer_stage?: string | null | undefined;
|
|
860
860
|
customer_stage_explanation?: string | null | undefined;
|
|
861
861
|
};
|
|
862
862
|
additional_attributes: Record<string, unknown>;
|
|
@@ -1067,7 +1067,7 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
1067
1067
|
content: string | null;
|
|
1068
1068
|
message_type: number;
|
|
1069
1069
|
private: boolean;
|
|
1070
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
1070
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
1071
1071
|
content_attributes: {
|
|
1072
1072
|
in_reply_to?: unknown;
|
|
1073
1073
|
} & {
|
|
@@ -1085,7 +1085,7 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
1085
1085
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1086
1086
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1087
1087
|
blocked?: boolean | undefined;
|
|
1088
|
-
customer_stage?: string | undefined;
|
|
1088
|
+
customer_stage?: string | null | undefined;
|
|
1089
1089
|
customer_stage_explanation?: string | null | undefined;
|
|
1090
1090
|
};
|
|
1091
1091
|
additional_attributes: Record<string, unknown>;
|
|
@@ -1190,7 +1190,7 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
1190
1190
|
content: string | null;
|
|
1191
1191
|
message_type: number;
|
|
1192
1192
|
private: boolean;
|
|
1193
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
1193
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
1194
1194
|
content_attributes: {
|
|
1195
1195
|
in_reply_to?: unknown;
|
|
1196
1196
|
} & {
|
|
@@ -1208,7 +1208,7 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
1208
1208
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1209
1209
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1210
1210
|
blocked?: boolean | undefined;
|
|
1211
|
-
customer_stage?: string | undefined;
|
|
1211
|
+
customer_stage?: string | null | undefined;
|
|
1212
1212
|
customer_stage_explanation?: string | null | undefined;
|
|
1213
1213
|
};
|
|
1214
1214
|
additional_attributes: Record<string, unknown>;
|
|
@@ -1265,7 +1265,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1265
1265
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1266
1266
|
in_reply_to: z.ZodNullable<z.ZodUnknown>;
|
|
1267
1267
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1268
|
-
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article"]>;
|
|
1268
|
+
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article", "incoming_email"]>;
|
|
1269
1269
|
content: z.ZodNullable<z.ZodString>;
|
|
1270
1270
|
conversation: z.ZodObject<{
|
|
1271
1271
|
additional_attributes: z.ZodObject<{
|
|
@@ -1400,7 +1400,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1400
1400
|
private: z.ZodBoolean;
|
|
1401
1401
|
status: z.ZodString;
|
|
1402
1402
|
source_id: z.ZodNullable<z.ZodString>;
|
|
1403
|
-
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article"]>;
|
|
1403
|
+
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article", "incoming_email"]>;
|
|
1404
1404
|
content_attributes: z.ZodObject<{
|
|
1405
1405
|
in_reply_to: z.ZodNullable<z.ZodUnknown>;
|
|
1406
1406
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1457,7 +1457,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1457
1457
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1458
1458
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1459
1459
|
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
1460
|
-
customer_stage: z.ZodOptional<z.ZodString
|
|
1460
|
+
customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1461
1461
|
}, "strip", z.ZodTypeAny, {
|
|
1462
1462
|
id: number;
|
|
1463
1463
|
name?: string | null | undefined;
|
|
@@ -1469,7 +1469,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1469
1469
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1470
1470
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1471
1471
|
blocked?: boolean | undefined;
|
|
1472
|
-
customer_stage?: string | undefined;
|
|
1472
|
+
customer_stage?: string | null | undefined;
|
|
1473
1473
|
customer_stage_explanation?: string | null | undefined;
|
|
1474
1474
|
}, {
|
|
1475
1475
|
id: number;
|
|
@@ -1482,7 +1482,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1482
1482
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1483
1483
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1484
1484
|
blocked?: boolean | undefined;
|
|
1485
|
-
customer_stage?: string | undefined;
|
|
1485
|
+
customer_stage?: string | null | undefined;
|
|
1486
1486
|
customer_stage_explanation?: string | null | undefined;
|
|
1487
1487
|
}>;
|
|
1488
1488
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1494,7 +1494,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1494
1494
|
content: string | null;
|
|
1495
1495
|
message_type: number;
|
|
1496
1496
|
private: boolean;
|
|
1497
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
1497
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
1498
1498
|
content_attributes: {
|
|
1499
1499
|
in_reply_to?: unknown;
|
|
1500
1500
|
} & {
|
|
@@ -1512,7 +1512,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1512
1512
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1513
1513
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1514
1514
|
blocked?: boolean | undefined;
|
|
1515
|
-
customer_stage?: string | undefined;
|
|
1515
|
+
customer_stage?: string | null | undefined;
|
|
1516
1516
|
customer_stage_explanation?: string | null | undefined;
|
|
1517
1517
|
};
|
|
1518
1518
|
additional_attributes: Record<string, unknown>;
|
|
@@ -1544,7 +1544,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1544
1544
|
content: string | null;
|
|
1545
1545
|
message_type: number;
|
|
1546
1546
|
private: boolean;
|
|
1547
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
1547
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
1548
1548
|
content_attributes: {
|
|
1549
1549
|
in_reply_to?: unknown;
|
|
1550
1550
|
} & {
|
|
@@ -1562,7 +1562,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1562
1562
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1563
1563
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1564
1564
|
blocked?: boolean | undefined;
|
|
1565
|
-
customer_stage?: string | undefined;
|
|
1565
|
+
customer_stage?: string | null | undefined;
|
|
1566
1566
|
customer_stage_explanation?: string | null | undefined;
|
|
1567
1567
|
};
|
|
1568
1568
|
additional_attributes: Record<string, unknown>;
|
|
@@ -1773,7 +1773,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1773
1773
|
content: string | null;
|
|
1774
1774
|
message_type: number;
|
|
1775
1775
|
private: boolean;
|
|
1776
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
1776
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
1777
1777
|
content_attributes: {
|
|
1778
1778
|
in_reply_to?: unknown;
|
|
1779
1779
|
} & {
|
|
@@ -1791,7 +1791,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1791
1791
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1792
1792
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1793
1793
|
blocked?: boolean | undefined;
|
|
1794
|
-
customer_stage?: string | undefined;
|
|
1794
|
+
customer_stage?: string | null | undefined;
|
|
1795
1795
|
customer_stage_explanation?: string | null | undefined;
|
|
1796
1796
|
};
|
|
1797
1797
|
additional_attributes: Record<string, unknown>;
|
|
@@ -1896,7 +1896,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1896
1896
|
content: string | null;
|
|
1897
1897
|
message_type: number;
|
|
1898
1898
|
private: boolean;
|
|
1899
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
1899
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
1900
1900
|
content_attributes: {
|
|
1901
1901
|
in_reply_to?: unknown;
|
|
1902
1902
|
} & {
|
|
@@ -1914,7 +1914,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1914
1914
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1915
1915
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1916
1916
|
blocked?: boolean | undefined;
|
|
1917
|
-
customer_stage?: string | undefined;
|
|
1917
|
+
customer_stage?: string | null | undefined;
|
|
1918
1918
|
customer_stage_explanation?: string | null | undefined;
|
|
1919
1919
|
};
|
|
1920
1920
|
additional_attributes: Record<string, unknown>;
|
|
@@ -1979,7 +1979,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1979
1979
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1980
1980
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1981
1981
|
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
1982
|
-
customer_stage: z.ZodOptional<z.ZodString
|
|
1982
|
+
customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1983
1983
|
account: z.ZodOptional<z.ZodObject<{
|
|
1984
1984
|
id: z.ZodNumber;
|
|
1985
1985
|
name: z.ZodString;
|
|
@@ -2001,7 +2001,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2001
2001
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2002
2002
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2003
2003
|
blocked?: boolean | undefined;
|
|
2004
|
-
customer_stage?: string | undefined;
|
|
2004
|
+
customer_stage?: string | null | undefined;
|
|
2005
2005
|
customer_stage_explanation?: string | null | undefined;
|
|
2006
2006
|
account?: {
|
|
2007
2007
|
id: number;
|
|
@@ -2018,7 +2018,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2018
2018
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2019
2019
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2020
2020
|
blocked?: boolean | undefined;
|
|
2021
|
-
customer_stage?: string | undefined;
|
|
2021
|
+
customer_stage?: string | null | undefined;
|
|
2022
2022
|
customer_stage_explanation?: string | null | undefined;
|
|
2023
2023
|
account?: {
|
|
2024
2024
|
id: number;
|
|
@@ -2036,7 +2036,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2036
2036
|
content: string | null;
|
|
2037
2037
|
message_type: "incoming" | "outgoing";
|
|
2038
2038
|
private: boolean;
|
|
2039
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
2039
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
2040
2040
|
content_attributes: {
|
|
2041
2041
|
in_reply_to?: unknown;
|
|
2042
2042
|
} & {
|
|
@@ -2052,7 +2052,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2052
2052
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2053
2053
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2054
2054
|
blocked?: boolean | undefined;
|
|
2055
|
-
customer_stage?: string | undefined;
|
|
2055
|
+
customer_stage?: string | null | undefined;
|
|
2056
2056
|
customer_stage_explanation?: string | null | undefined;
|
|
2057
2057
|
account?: {
|
|
2058
2058
|
id: number;
|
|
@@ -2134,7 +2134,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2134
2134
|
content: string | null;
|
|
2135
2135
|
message_type: number;
|
|
2136
2136
|
private: boolean;
|
|
2137
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
2137
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
2138
2138
|
content_attributes: {
|
|
2139
2139
|
in_reply_to?: unknown;
|
|
2140
2140
|
} & {
|
|
@@ -2152,7 +2152,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2152
2152
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2153
2153
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2154
2154
|
blocked?: boolean | undefined;
|
|
2155
|
-
customer_stage?: string | undefined;
|
|
2155
|
+
customer_stage?: string | null | undefined;
|
|
2156
2156
|
customer_stage_explanation?: string | null | undefined;
|
|
2157
2157
|
};
|
|
2158
2158
|
additional_attributes: Record<string, unknown>;
|
|
@@ -2202,7 +2202,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2202
2202
|
content: string | null;
|
|
2203
2203
|
message_type: "incoming" | "outgoing";
|
|
2204
2204
|
private: boolean;
|
|
2205
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
2205
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
2206
2206
|
content_attributes: {
|
|
2207
2207
|
in_reply_to?: unknown;
|
|
2208
2208
|
} & {
|
|
@@ -2218,7 +2218,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2218
2218
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2219
2219
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2220
2220
|
blocked?: boolean | undefined;
|
|
2221
|
-
customer_stage?: string | undefined;
|
|
2221
|
+
customer_stage?: string | null | undefined;
|
|
2222
2222
|
customer_stage_explanation?: string | null | undefined;
|
|
2223
2223
|
account?: {
|
|
2224
2224
|
id: number;
|
|
@@ -2300,7 +2300,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2300
2300
|
content: string | null;
|
|
2301
2301
|
message_type: number;
|
|
2302
2302
|
private: boolean;
|
|
2303
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
2303
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
2304
2304
|
content_attributes: {
|
|
2305
2305
|
in_reply_to?: unknown;
|
|
2306
2306
|
} & {
|
|
@@ -2318,7 +2318,7 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2318
2318
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2319
2319
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2320
2320
|
blocked?: boolean | undefined;
|
|
2321
|
-
customer_stage?: string | undefined;
|
|
2321
|
+
customer_stage?: string | null | undefined;
|
|
2322
2322
|
customer_stage_explanation?: string | null | undefined;
|
|
2323
2323
|
};
|
|
2324
2324
|
additional_attributes: Record<string, unknown>;
|
|
@@ -2381,7 +2381,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2381
2381
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2382
2382
|
in_reply_to: z.ZodNullable<z.ZodUnknown>;
|
|
2383
2383
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2384
|
-
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article"]>;
|
|
2384
|
+
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article", "incoming_email"]>;
|
|
2385
2385
|
content: z.ZodNullable<z.ZodString>;
|
|
2386
2386
|
conversation: z.ZodObject<{
|
|
2387
2387
|
additional_attributes: z.ZodObject<{
|
|
@@ -2516,7 +2516,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2516
2516
|
private: z.ZodBoolean;
|
|
2517
2517
|
status: z.ZodString;
|
|
2518
2518
|
source_id: z.ZodNullable<z.ZodString>;
|
|
2519
|
-
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article"]>;
|
|
2519
|
+
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article", "incoming_email"]>;
|
|
2520
2520
|
content_attributes: z.ZodObject<{
|
|
2521
2521
|
in_reply_to: z.ZodNullable<z.ZodUnknown>;
|
|
2522
2522
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2573,7 +2573,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2573
2573
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2574
2574
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2575
2575
|
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
2576
|
-
customer_stage: z.ZodOptional<z.ZodString
|
|
2576
|
+
customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2577
2577
|
}, "strip", z.ZodTypeAny, {
|
|
2578
2578
|
id: number;
|
|
2579
2579
|
name?: string | null | undefined;
|
|
@@ -2585,7 +2585,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2585
2585
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2586
2586
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2587
2587
|
blocked?: boolean | undefined;
|
|
2588
|
-
customer_stage?: string | undefined;
|
|
2588
|
+
customer_stage?: string | null | undefined;
|
|
2589
2589
|
customer_stage_explanation?: string | null | undefined;
|
|
2590
2590
|
}, {
|
|
2591
2591
|
id: number;
|
|
@@ -2598,7 +2598,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2598
2598
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2599
2599
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2600
2600
|
blocked?: boolean | undefined;
|
|
2601
|
-
customer_stage?: string | undefined;
|
|
2601
|
+
customer_stage?: string | null | undefined;
|
|
2602
2602
|
customer_stage_explanation?: string | null | undefined;
|
|
2603
2603
|
}>;
|
|
2604
2604
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2610,7 +2610,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2610
2610
|
content: string | null;
|
|
2611
2611
|
message_type: number;
|
|
2612
2612
|
private: boolean;
|
|
2613
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
2613
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
2614
2614
|
content_attributes: {
|
|
2615
2615
|
in_reply_to?: unknown;
|
|
2616
2616
|
} & {
|
|
@@ -2628,7 +2628,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2628
2628
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2629
2629
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2630
2630
|
blocked?: boolean | undefined;
|
|
2631
|
-
customer_stage?: string | undefined;
|
|
2631
|
+
customer_stage?: string | null | undefined;
|
|
2632
2632
|
customer_stage_explanation?: string | null | undefined;
|
|
2633
2633
|
};
|
|
2634
2634
|
additional_attributes: Record<string, unknown>;
|
|
@@ -2660,7 +2660,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2660
2660
|
content: string | null;
|
|
2661
2661
|
message_type: number;
|
|
2662
2662
|
private: boolean;
|
|
2663
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
2663
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
2664
2664
|
content_attributes: {
|
|
2665
2665
|
in_reply_to?: unknown;
|
|
2666
2666
|
} & {
|
|
@@ -2678,7 +2678,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2678
2678
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2679
2679
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2680
2680
|
blocked?: boolean | undefined;
|
|
2681
|
-
customer_stage?: string | undefined;
|
|
2681
|
+
customer_stage?: string | null | undefined;
|
|
2682
2682
|
customer_stage_explanation?: string | null | undefined;
|
|
2683
2683
|
};
|
|
2684
2684
|
additional_attributes: Record<string, unknown>;
|
|
@@ -2889,7 +2889,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2889
2889
|
content: string | null;
|
|
2890
2890
|
message_type: number;
|
|
2891
2891
|
private: boolean;
|
|
2892
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
2892
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
2893
2893
|
content_attributes: {
|
|
2894
2894
|
in_reply_to?: unknown;
|
|
2895
2895
|
} & {
|
|
@@ -2907,7 +2907,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2907
2907
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2908
2908
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2909
2909
|
blocked?: boolean | undefined;
|
|
2910
|
-
customer_stage?: string | undefined;
|
|
2910
|
+
customer_stage?: string | null | undefined;
|
|
2911
2911
|
customer_stage_explanation?: string | null | undefined;
|
|
2912
2912
|
};
|
|
2913
2913
|
additional_attributes: Record<string, unknown>;
|
|
@@ -3012,7 +3012,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3012
3012
|
content: string | null;
|
|
3013
3013
|
message_type: number;
|
|
3014
3014
|
private: boolean;
|
|
3015
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
3015
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
3016
3016
|
content_attributes: {
|
|
3017
3017
|
in_reply_to?: unknown;
|
|
3018
3018
|
} & {
|
|
@@ -3030,7 +3030,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3030
3030
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3031
3031
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3032
3032
|
blocked?: boolean | undefined;
|
|
3033
|
-
customer_stage?: string | undefined;
|
|
3033
|
+
customer_stage?: string | null | undefined;
|
|
3034
3034
|
customer_stage_explanation?: string | null | undefined;
|
|
3035
3035
|
};
|
|
3036
3036
|
additional_attributes: Record<string, unknown>;
|
|
@@ -3095,7 +3095,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3095
3095
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3096
3096
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3097
3097
|
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
3098
|
-
customer_stage: z.ZodOptional<z.ZodString
|
|
3098
|
+
customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3099
3099
|
account: z.ZodOptional<z.ZodObject<{
|
|
3100
3100
|
id: z.ZodNumber;
|
|
3101
3101
|
name: z.ZodString;
|
|
@@ -3117,7 +3117,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3117
3117
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3118
3118
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3119
3119
|
blocked?: boolean | undefined;
|
|
3120
|
-
customer_stage?: string | undefined;
|
|
3120
|
+
customer_stage?: string | null | undefined;
|
|
3121
3121
|
customer_stage_explanation?: string | null | undefined;
|
|
3122
3122
|
account?: {
|
|
3123
3123
|
id: number;
|
|
@@ -3134,7 +3134,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3134
3134
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3135
3135
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3136
3136
|
blocked?: boolean | undefined;
|
|
3137
|
-
customer_stage?: string | undefined;
|
|
3137
|
+
customer_stage?: string | null | undefined;
|
|
3138
3138
|
customer_stage_explanation?: string | null | undefined;
|
|
3139
3139
|
account?: {
|
|
3140
3140
|
id: number;
|
|
@@ -3152,7 +3152,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3152
3152
|
content: string | null;
|
|
3153
3153
|
message_type: "incoming" | "outgoing";
|
|
3154
3154
|
private: boolean;
|
|
3155
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
3155
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
3156
3156
|
content_attributes: {
|
|
3157
3157
|
in_reply_to?: unknown;
|
|
3158
3158
|
} & {
|
|
@@ -3168,7 +3168,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3168
3168
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3169
3169
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3170
3170
|
blocked?: boolean | undefined;
|
|
3171
|
-
customer_stage?: string | undefined;
|
|
3171
|
+
customer_stage?: string | null | undefined;
|
|
3172
3172
|
customer_stage_explanation?: string | null | undefined;
|
|
3173
3173
|
account?: {
|
|
3174
3174
|
id: number;
|
|
@@ -3250,7 +3250,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3250
3250
|
content: string | null;
|
|
3251
3251
|
message_type: number;
|
|
3252
3252
|
private: boolean;
|
|
3253
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
3253
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
3254
3254
|
content_attributes: {
|
|
3255
3255
|
in_reply_to?: unknown;
|
|
3256
3256
|
} & {
|
|
@@ -3268,7 +3268,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3268
3268
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3269
3269
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3270
3270
|
blocked?: boolean | undefined;
|
|
3271
|
-
customer_stage?: string | undefined;
|
|
3271
|
+
customer_stage?: string | null | undefined;
|
|
3272
3272
|
customer_stage_explanation?: string | null | undefined;
|
|
3273
3273
|
};
|
|
3274
3274
|
additional_attributes: Record<string, unknown>;
|
|
@@ -3318,7 +3318,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3318
3318
|
content: string | null;
|
|
3319
3319
|
message_type: "incoming" | "outgoing";
|
|
3320
3320
|
private: boolean;
|
|
3321
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
3321
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
3322
3322
|
content_attributes: {
|
|
3323
3323
|
in_reply_to?: unknown;
|
|
3324
3324
|
} & {
|
|
@@ -3334,7 +3334,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3334
3334
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3335
3335
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3336
3336
|
blocked?: boolean | undefined;
|
|
3337
|
-
customer_stage?: string | undefined;
|
|
3337
|
+
customer_stage?: string | null | undefined;
|
|
3338
3338
|
customer_stage_explanation?: string | null | undefined;
|
|
3339
3339
|
account?: {
|
|
3340
3340
|
id: number;
|
|
@@ -3416,7 +3416,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3416
3416
|
content: string | null;
|
|
3417
3417
|
message_type: number;
|
|
3418
3418
|
private: boolean;
|
|
3419
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
3419
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
3420
3420
|
content_attributes: {
|
|
3421
3421
|
in_reply_to?: unknown;
|
|
3422
3422
|
} & {
|
|
@@ -3434,7 +3434,7 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3434
3434
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3435
3435
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3436
3436
|
blocked?: boolean | undefined;
|
|
3437
|
-
customer_stage?: string | undefined;
|
|
3437
|
+
customer_stage?: string | null | undefined;
|
|
3438
3438
|
customer_stage_explanation?: string | null | undefined;
|
|
3439
3439
|
};
|
|
3440
3440
|
additional_attributes: Record<string, unknown>;
|
|
@@ -3497,7 +3497,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3497
3497
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3498
3498
|
in_reply_to: z.ZodNullable<z.ZodUnknown>;
|
|
3499
3499
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3500
|
-
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article"]>;
|
|
3500
|
+
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article", "incoming_email"]>;
|
|
3501
3501
|
content: z.ZodNullable<z.ZodString>;
|
|
3502
3502
|
conversation: z.ZodObject<{
|
|
3503
3503
|
additional_attributes: z.ZodObject<{
|
|
@@ -3632,7 +3632,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3632
3632
|
private: z.ZodBoolean;
|
|
3633
3633
|
status: z.ZodString;
|
|
3634
3634
|
source_id: z.ZodNullable<z.ZodString>;
|
|
3635
|
-
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article"]>;
|
|
3635
|
+
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article", "incoming_email"]>;
|
|
3636
3636
|
content_attributes: z.ZodObject<{
|
|
3637
3637
|
in_reply_to: z.ZodNullable<z.ZodUnknown>;
|
|
3638
3638
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -3689,7 +3689,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3689
3689
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3690
3690
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3691
3691
|
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
3692
|
-
customer_stage: z.ZodOptional<z.ZodString
|
|
3692
|
+
customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3693
3693
|
}, "strip", z.ZodTypeAny, {
|
|
3694
3694
|
id: number;
|
|
3695
3695
|
name?: string | null | undefined;
|
|
@@ -3701,7 +3701,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3701
3701
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3702
3702
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3703
3703
|
blocked?: boolean | undefined;
|
|
3704
|
-
customer_stage?: string | undefined;
|
|
3704
|
+
customer_stage?: string | null | undefined;
|
|
3705
3705
|
customer_stage_explanation?: string | null | undefined;
|
|
3706
3706
|
}, {
|
|
3707
3707
|
id: number;
|
|
@@ -3714,7 +3714,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3714
3714
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3715
3715
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3716
3716
|
blocked?: boolean | undefined;
|
|
3717
|
-
customer_stage?: string | undefined;
|
|
3717
|
+
customer_stage?: string | null | undefined;
|
|
3718
3718
|
customer_stage_explanation?: string | null | undefined;
|
|
3719
3719
|
}>;
|
|
3720
3720
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3726,7 +3726,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3726
3726
|
content: string | null;
|
|
3727
3727
|
message_type: number;
|
|
3728
3728
|
private: boolean;
|
|
3729
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
3729
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
3730
3730
|
content_attributes: {
|
|
3731
3731
|
in_reply_to?: unknown;
|
|
3732
3732
|
} & {
|
|
@@ -3744,7 +3744,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3744
3744
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3745
3745
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3746
3746
|
blocked?: boolean | undefined;
|
|
3747
|
-
customer_stage?: string | undefined;
|
|
3747
|
+
customer_stage?: string | null | undefined;
|
|
3748
3748
|
customer_stage_explanation?: string | null | undefined;
|
|
3749
3749
|
};
|
|
3750
3750
|
additional_attributes: Record<string, unknown>;
|
|
@@ -3776,7 +3776,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3776
3776
|
content: string | null;
|
|
3777
3777
|
message_type: number;
|
|
3778
3778
|
private: boolean;
|
|
3779
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
3779
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
3780
3780
|
content_attributes: {
|
|
3781
3781
|
in_reply_to?: unknown;
|
|
3782
3782
|
} & {
|
|
@@ -3794,7 +3794,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3794
3794
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3795
3795
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3796
3796
|
blocked?: boolean | undefined;
|
|
3797
|
-
customer_stage?: string | undefined;
|
|
3797
|
+
customer_stage?: string | null | undefined;
|
|
3798
3798
|
customer_stage_explanation?: string | null | undefined;
|
|
3799
3799
|
};
|
|
3800
3800
|
additional_attributes: Record<string, unknown>;
|
|
@@ -4005,7 +4005,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4005
4005
|
content: string | null;
|
|
4006
4006
|
message_type: number;
|
|
4007
4007
|
private: boolean;
|
|
4008
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
4008
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
4009
4009
|
content_attributes: {
|
|
4010
4010
|
in_reply_to?: unknown;
|
|
4011
4011
|
} & {
|
|
@@ -4023,7 +4023,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4023
4023
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4024
4024
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4025
4025
|
blocked?: boolean | undefined;
|
|
4026
|
-
customer_stage?: string | undefined;
|
|
4026
|
+
customer_stage?: string | null | undefined;
|
|
4027
4027
|
customer_stage_explanation?: string | null | undefined;
|
|
4028
4028
|
};
|
|
4029
4029
|
additional_attributes: Record<string, unknown>;
|
|
@@ -4128,7 +4128,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4128
4128
|
content: string | null;
|
|
4129
4129
|
message_type: number;
|
|
4130
4130
|
private: boolean;
|
|
4131
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
4131
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
4132
4132
|
content_attributes: {
|
|
4133
4133
|
in_reply_to?: unknown;
|
|
4134
4134
|
} & {
|
|
@@ -4146,7 +4146,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4146
4146
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4147
4147
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4148
4148
|
blocked?: boolean | undefined;
|
|
4149
|
-
customer_stage?: string | undefined;
|
|
4149
|
+
customer_stage?: string | null | undefined;
|
|
4150
4150
|
customer_stage_explanation?: string | null | undefined;
|
|
4151
4151
|
};
|
|
4152
4152
|
additional_attributes: Record<string, unknown>;
|
|
@@ -4211,7 +4211,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4211
4211
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4212
4212
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4213
4213
|
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
4214
|
-
customer_stage: z.ZodOptional<z.ZodString
|
|
4214
|
+
customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4215
4215
|
account: z.ZodOptional<z.ZodObject<{
|
|
4216
4216
|
id: z.ZodNumber;
|
|
4217
4217
|
name: z.ZodString;
|
|
@@ -4233,7 +4233,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4233
4233
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4234
4234
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4235
4235
|
blocked?: boolean | undefined;
|
|
4236
|
-
customer_stage?: string | undefined;
|
|
4236
|
+
customer_stage?: string | null | undefined;
|
|
4237
4237
|
customer_stage_explanation?: string | null | undefined;
|
|
4238
4238
|
account?: {
|
|
4239
4239
|
id: number;
|
|
@@ -4250,7 +4250,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4250
4250
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4251
4251
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4252
4252
|
blocked?: boolean | undefined;
|
|
4253
|
-
customer_stage?: string | undefined;
|
|
4253
|
+
customer_stage?: string | null | undefined;
|
|
4254
4254
|
customer_stage_explanation?: string | null | undefined;
|
|
4255
4255
|
account?: {
|
|
4256
4256
|
id: number;
|
|
@@ -4268,7 +4268,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4268
4268
|
content: string | null;
|
|
4269
4269
|
message_type: "incoming" | "outgoing";
|
|
4270
4270
|
private: boolean;
|
|
4271
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
4271
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
4272
4272
|
content_attributes: {
|
|
4273
4273
|
in_reply_to?: unknown;
|
|
4274
4274
|
} & {
|
|
@@ -4284,7 +4284,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4284
4284
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4285
4285
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4286
4286
|
blocked?: boolean | undefined;
|
|
4287
|
-
customer_stage?: string | undefined;
|
|
4287
|
+
customer_stage?: string | null | undefined;
|
|
4288
4288
|
customer_stage_explanation?: string | null | undefined;
|
|
4289
4289
|
account?: {
|
|
4290
4290
|
id: number;
|
|
@@ -4366,7 +4366,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4366
4366
|
content: string | null;
|
|
4367
4367
|
message_type: number;
|
|
4368
4368
|
private: boolean;
|
|
4369
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
4369
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
4370
4370
|
content_attributes: {
|
|
4371
4371
|
in_reply_to?: unknown;
|
|
4372
4372
|
} & {
|
|
@@ -4384,7 +4384,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4384
4384
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4385
4385
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4386
4386
|
blocked?: boolean | undefined;
|
|
4387
|
-
customer_stage?: string | undefined;
|
|
4387
|
+
customer_stage?: string | null | undefined;
|
|
4388
4388
|
customer_stage_explanation?: string | null | undefined;
|
|
4389
4389
|
};
|
|
4390
4390
|
additional_attributes: Record<string, unknown>;
|
|
@@ -4434,7 +4434,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4434
4434
|
content: string | null;
|
|
4435
4435
|
message_type: "incoming" | "outgoing";
|
|
4436
4436
|
private: boolean;
|
|
4437
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
4437
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
4438
4438
|
content_attributes: {
|
|
4439
4439
|
in_reply_to?: unknown;
|
|
4440
4440
|
} & {
|
|
@@ -4450,7 +4450,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4450
4450
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4451
4451
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4452
4452
|
blocked?: boolean | undefined;
|
|
4453
|
-
customer_stage?: string | undefined;
|
|
4453
|
+
customer_stage?: string | null | undefined;
|
|
4454
4454
|
customer_stage_explanation?: string | null | undefined;
|
|
4455
4455
|
account?: {
|
|
4456
4456
|
id: number;
|
|
@@ -4532,7 +4532,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4532
4532
|
content: string | null;
|
|
4533
4533
|
message_type: number;
|
|
4534
4534
|
private: boolean;
|
|
4535
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
4535
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
4536
4536
|
content_attributes: {
|
|
4537
4537
|
in_reply_to?: unknown;
|
|
4538
4538
|
} & {
|
|
@@ -4550,7 +4550,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4550
4550
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4551
4551
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4552
4552
|
blocked?: boolean | undefined;
|
|
4553
|
-
customer_stage?: string | undefined;
|
|
4553
|
+
customer_stage?: string | null | undefined;
|
|
4554
4554
|
customer_stage_explanation?: string | null | undefined;
|
|
4555
4555
|
};
|
|
4556
4556
|
additional_attributes: Record<string, unknown>;
|
|
@@ -4612,7 +4612,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4612
4612
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4613
4613
|
in_reply_to: z.ZodNullable<z.ZodUnknown>;
|
|
4614
4614
|
}, z.ZodTypeAny, "passthrough">>;
|
|
4615
|
-
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article"]>;
|
|
4615
|
+
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article", "incoming_email"]>;
|
|
4616
4616
|
content: z.ZodNullable<z.ZodString>;
|
|
4617
4617
|
conversation: z.ZodObject<{
|
|
4618
4618
|
additional_attributes: z.ZodObject<{
|
|
@@ -4747,7 +4747,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4747
4747
|
private: z.ZodBoolean;
|
|
4748
4748
|
status: z.ZodString;
|
|
4749
4749
|
source_id: z.ZodNullable<z.ZodString>;
|
|
4750
|
-
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article"]>;
|
|
4750
|
+
content_type: z.ZodEnum<["text", "input_select", "cards", "form", "article", "incoming_email"]>;
|
|
4751
4751
|
content_attributes: z.ZodObject<{
|
|
4752
4752
|
in_reply_to: z.ZodNullable<z.ZodUnknown>;
|
|
4753
4753
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -4804,7 +4804,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4804
4804
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4805
4805
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4806
4806
|
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
4807
|
-
customer_stage: z.ZodOptional<z.ZodString
|
|
4807
|
+
customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4808
4808
|
}, "strip", z.ZodTypeAny, {
|
|
4809
4809
|
id: number;
|
|
4810
4810
|
name?: string | null | undefined;
|
|
@@ -4816,7 +4816,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4816
4816
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4817
4817
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4818
4818
|
blocked?: boolean | undefined;
|
|
4819
|
-
customer_stage?: string | undefined;
|
|
4819
|
+
customer_stage?: string | null | undefined;
|
|
4820
4820
|
customer_stage_explanation?: string | null | undefined;
|
|
4821
4821
|
}, {
|
|
4822
4822
|
id: number;
|
|
@@ -4829,7 +4829,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4829
4829
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4830
4830
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4831
4831
|
blocked?: boolean | undefined;
|
|
4832
|
-
customer_stage?: string | undefined;
|
|
4832
|
+
customer_stage?: string | null | undefined;
|
|
4833
4833
|
customer_stage_explanation?: string | null | undefined;
|
|
4834
4834
|
}>;
|
|
4835
4835
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4841,7 +4841,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4841
4841
|
content: string | null;
|
|
4842
4842
|
message_type: number;
|
|
4843
4843
|
private: boolean;
|
|
4844
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
4844
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
4845
4845
|
content_attributes: {
|
|
4846
4846
|
in_reply_to?: unknown;
|
|
4847
4847
|
} & {
|
|
@@ -4859,7 +4859,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4859
4859
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4860
4860
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4861
4861
|
blocked?: boolean | undefined;
|
|
4862
|
-
customer_stage?: string | undefined;
|
|
4862
|
+
customer_stage?: string | null | undefined;
|
|
4863
4863
|
customer_stage_explanation?: string | null | undefined;
|
|
4864
4864
|
};
|
|
4865
4865
|
additional_attributes: Record<string, unknown>;
|
|
@@ -4891,7 +4891,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4891
4891
|
content: string | null;
|
|
4892
4892
|
message_type: number;
|
|
4893
4893
|
private: boolean;
|
|
4894
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
4894
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
4895
4895
|
content_attributes: {
|
|
4896
4896
|
in_reply_to?: unknown;
|
|
4897
4897
|
} & {
|
|
@@ -4909,7 +4909,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4909
4909
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4910
4910
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4911
4911
|
blocked?: boolean | undefined;
|
|
4912
|
-
customer_stage?: string | undefined;
|
|
4912
|
+
customer_stage?: string | null | undefined;
|
|
4913
4913
|
customer_stage_explanation?: string | null | undefined;
|
|
4914
4914
|
};
|
|
4915
4915
|
additional_attributes: Record<string, unknown>;
|
|
@@ -5120,7 +5120,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5120
5120
|
content: string | null;
|
|
5121
5121
|
message_type: number;
|
|
5122
5122
|
private: boolean;
|
|
5123
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
5123
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
5124
5124
|
content_attributes: {
|
|
5125
5125
|
in_reply_to?: unknown;
|
|
5126
5126
|
} & {
|
|
@@ -5138,7 +5138,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5138
5138
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
5139
5139
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
5140
5140
|
blocked?: boolean | undefined;
|
|
5141
|
-
customer_stage?: string | undefined;
|
|
5141
|
+
customer_stage?: string | null | undefined;
|
|
5142
5142
|
customer_stage_explanation?: string | null | undefined;
|
|
5143
5143
|
};
|
|
5144
5144
|
additional_attributes: Record<string, unknown>;
|
|
@@ -5243,7 +5243,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5243
5243
|
content: string | null;
|
|
5244
5244
|
message_type: number;
|
|
5245
5245
|
private: boolean;
|
|
5246
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
5246
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
5247
5247
|
content_attributes: {
|
|
5248
5248
|
in_reply_to?: unknown;
|
|
5249
5249
|
} & {
|
|
@@ -5261,7 +5261,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5261
5261
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
5262
5262
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
5263
5263
|
blocked?: boolean | undefined;
|
|
5264
|
-
customer_stage?: string | undefined;
|
|
5264
|
+
customer_stage?: string | null | undefined;
|
|
5265
5265
|
customer_stage_explanation?: string | null | undefined;
|
|
5266
5266
|
};
|
|
5267
5267
|
additional_attributes: Record<string, unknown>;
|
|
@@ -5326,7 +5326,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5326
5326
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5327
5327
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5328
5328
|
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
5329
|
-
customer_stage: z.ZodOptional<z.ZodString
|
|
5329
|
+
customer_stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5330
5330
|
account: z.ZodOptional<z.ZodObject<{
|
|
5331
5331
|
id: z.ZodNumber;
|
|
5332
5332
|
name: z.ZodString;
|
|
@@ -5348,7 +5348,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5348
5348
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
5349
5349
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
5350
5350
|
blocked?: boolean | undefined;
|
|
5351
|
-
customer_stage?: string | undefined;
|
|
5351
|
+
customer_stage?: string | null | undefined;
|
|
5352
5352
|
customer_stage_explanation?: string | null | undefined;
|
|
5353
5353
|
account?: {
|
|
5354
5354
|
id: number;
|
|
@@ -5365,7 +5365,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5365
5365
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
5366
5366
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
5367
5367
|
blocked?: boolean | undefined;
|
|
5368
|
-
customer_stage?: string | undefined;
|
|
5368
|
+
customer_stage?: string | null | undefined;
|
|
5369
5369
|
customer_stage_explanation?: string | null | undefined;
|
|
5370
5370
|
account?: {
|
|
5371
5371
|
id: number;
|
|
@@ -5383,7 +5383,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5383
5383
|
content: string | null;
|
|
5384
5384
|
message_type: "incoming" | "outgoing";
|
|
5385
5385
|
private: boolean;
|
|
5386
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
5386
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
5387
5387
|
content_attributes: {
|
|
5388
5388
|
in_reply_to?: unknown;
|
|
5389
5389
|
} & {
|
|
@@ -5399,7 +5399,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5399
5399
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
5400
5400
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
5401
5401
|
blocked?: boolean | undefined;
|
|
5402
|
-
customer_stage?: string | undefined;
|
|
5402
|
+
customer_stage?: string | null | undefined;
|
|
5403
5403
|
customer_stage_explanation?: string | null | undefined;
|
|
5404
5404
|
account?: {
|
|
5405
5405
|
id: number;
|
|
@@ -5481,7 +5481,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5481
5481
|
content: string | null;
|
|
5482
5482
|
message_type: number;
|
|
5483
5483
|
private: boolean;
|
|
5484
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
5484
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
5485
5485
|
content_attributes: {
|
|
5486
5486
|
in_reply_to?: unknown;
|
|
5487
5487
|
} & {
|
|
@@ -5499,7 +5499,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5499
5499
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
5500
5500
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
5501
5501
|
blocked?: boolean | undefined;
|
|
5502
|
-
customer_stage?: string | undefined;
|
|
5502
|
+
customer_stage?: string | null | undefined;
|
|
5503
5503
|
customer_stage_explanation?: string | null | undefined;
|
|
5504
5504
|
};
|
|
5505
5505
|
additional_attributes: Record<string, unknown>;
|
|
@@ -5549,7 +5549,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5549
5549
|
content: string | null;
|
|
5550
5550
|
message_type: "incoming" | "outgoing";
|
|
5551
5551
|
private: boolean;
|
|
5552
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
5552
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
5553
5553
|
content_attributes: {
|
|
5554
5554
|
in_reply_to?: unknown;
|
|
5555
5555
|
} & {
|
|
@@ -5565,7 +5565,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5565
5565
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
5566
5566
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
5567
5567
|
blocked?: boolean | undefined;
|
|
5568
|
-
customer_stage?: string | undefined;
|
|
5568
|
+
customer_stage?: string | null | undefined;
|
|
5569
5569
|
customer_stage_explanation?: string | null | undefined;
|
|
5570
5570
|
account?: {
|
|
5571
5571
|
id: number;
|
|
@@ -5647,7 +5647,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5647
5647
|
content: string | null;
|
|
5648
5648
|
message_type: number;
|
|
5649
5649
|
private: boolean;
|
|
5650
|
-
content_type: "text" | "input_select" | "cards" | "form" | "article";
|
|
5650
|
+
content_type: "text" | "input_select" | "cards" | "form" | "article" | "incoming_email";
|
|
5651
5651
|
content_attributes: {
|
|
5652
5652
|
in_reply_to?: unknown;
|
|
5653
5653
|
} & {
|
|
@@ -5665,7 +5665,7 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5665
5665
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
5666
5666
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
5667
5667
|
blocked?: boolean | undefined;
|
|
5668
|
-
customer_stage?: string | undefined;
|
|
5668
|
+
customer_stage?: string | null | undefined;
|
|
5669
5669
|
customer_stage_explanation?: string | null | undefined;
|
|
5670
5670
|
};
|
|
5671
5671
|
additional_attributes: Record<string, unknown>;
|