@voltade/envoy-sdk 1.2.4 → 1.2.6
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.
|
@@ -129,20 +129,19 @@ export declare const ConversationAdditionalAttributesSchema: z.ZodObject<{
|
|
|
129
129
|
}>>;
|
|
130
130
|
browser_language: z.ZodOptional<z.ZodString>;
|
|
131
131
|
}, z.ZodTypeAny, "passthrough">>;
|
|
132
|
-
export declare const WebhookSenderSchema: z.ZodObject<
|
|
132
|
+
export declare const WebhookSenderSchema: z.ZodObject<{
|
|
133
133
|
id: z.ZodNumber;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
identifier: z.ZodNullable<z.ZodString
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}, "type"> & {
|
|
134
|
+
} & {
|
|
135
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
136
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
137
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
138
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
139
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
140
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
141
|
+
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
142
|
+
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
143
|
+
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
customer_stage: z.ZodOptional<z.ZodString>;
|
|
146
145
|
account: z.ZodOptional<z.ZodObject<{
|
|
147
146
|
id: z.ZodNumber;
|
|
148
147
|
name: z.ZodString;
|
|
@@ -156,16 +155,16 @@ export declare const WebhookSenderSchema: z.ZodObject<Omit<{
|
|
|
156
155
|
avatar: z.ZodOptional<z.ZodString>;
|
|
157
156
|
}, "strip", z.ZodTypeAny, {
|
|
158
157
|
id: number;
|
|
159
|
-
name
|
|
160
|
-
email
|
|
161
|
-
phone_number
|
|
162
|
-
thumbnail
|
|
163
|
-
identifier
|
|
164
|
-
additional_attributes
|
|
165
|
-
custom_attributes
|
|
166
|
-
blocked
|
|
167
|
-
customer_stage
|
|
168
|
-
customer_stage_explanation
|
|
158
|
+
name?: string | null | undefined;
|
|
159
|
+
email?: string | null | undefined;
|
|
160
|
+
phone_number?: string | null | undefined;
|
|
161
|
+
thumbnail?: string | undefined;
|
|
162
|
+
identifier?: string | null | undefined;
|
|
163
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
164
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
165
|
+
blocked?: boolean | undefined;
|
|
166
|
+
customer_stage?: string | undefined;
|
|
167
|
+
customer_stage_explanation?: string | null | undefined;
|
|
169
168
|
account?: {
|
|
170
169
|
id: number;
|
|
171
170
|
name: string;
|
|
@@ -173,16 +172,16 @@ export declare const WebhookSenderSchema: z.ZodObject<Omit<{
|
|
|
173
172
|
avatar?: string | undefined;
|
|
174
173
|
}, {
|
|
175
174
|
id: number;
|
|
176
|
-
name
|
|
177
|
-
email
|
|
178
|
-
phone_number
|
|
179
|
-
thumbnail
|
|
180
|
-
identifier
|
|
181
|
-
additional_attributes
|
|
182
|
-
custom_attributes
|
|
183
|
-
blocked
|
|
184
|
-
customer_stage
|
|
185
|
-
customer_stage_explanation
|
|
175
|
+
name?: string | null | undefined;
|
|
176
|
+
email?: string | null | undefined;
|
|
177
|
+
phone_number?: string | null | undefined;
|
|
178
|
+
thumbnail?: string | undefined;
|
|
179
|
+
identifier?: string | null | undefined;
|
|
180
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
181
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
182
|
+
blocked?: boolean | undefined;
|
|
183
|
+
customer_stage?: string | undefined;
|
|
184
|
+
customer_stage_explanation?: string | null | undefined;
|
|
186
185
|
account?: {
|
|
187
186
|
id: number;
|
|
188
187
|
name: string;
|
|
@@ -224,13 +223,13 @@ export declare const NestedMessageConversationSchema: z.ZodObject<{
|
|
|
224
223
|
}>;
|
|
225
224
|
export declare const MessageSenderSchema: z.ZodObject<{
|
|
226
225
|
id: z.ZodNumber;
|
|
227
|
-
name: z.ZodNullable<z.ZodString>;
|
|
228
|
-
email: z.ZodNullable<z.ZodString>;
|
|
229
|
-
phone_number: z.ZodNullable<z.ZodString>;
|
|
230
|
-
identifier: z.ZodNullable<z.ZodString>;
|
|
231
|
-
customer_stage_explanation: z.ZodNullable<z.ZodString>;
|
|
232
226
|
type: z.ZodOptional<z.ZodString>;
|
|
233
227
|
} & {
|
|
228
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
229
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
231
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
232
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
234
233
|
thumbnail: z.ZodOptional<z.ZodString>;
|
|
235
234
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
236
235
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -238,30 +237,30 @@ export declare const MessageSenderSchema: z.ZodObject<{
|
|
|
238
237
|
customer_stage: z.ZodOptional<z.ZodString>;
|
|
239
238
|
}, "strip", z.ZodTypeAny, {
|
|
240
239
|
id: number;
|
|
241
|
-
name
|
|
242
|
-
email
|
|
243
|
-
phone_number
|
|
244
|
-
identifier: string | null;
|
|
245
|
-
customer_stage_explanation: string | null;
|
|
240
|
+
name?: string | null | undefined;
|
|
241
|
+
email?: string | null | undefined;
|
|
242
|
+
phone_number?: string | null | undefined;
|
|
246
243
|
type?: string | undefined;
|
|
247
244
|
thumbnail?: string | undefined;
|
|
245
|
+
identifier?: string | null | undefined;
|
|
248
246
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
249
247
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
250
248
|
blocked?: boolean | undefined;
|
|
251
249
|
customer_stage?: string | undefined;
|
|
250
|
+
customer_stage_explanation?: string | null | undefined;
|
|
252
251
|
}, {
|
|
253
252
|
id: number;
|
|
254
|
-
name
|
|
255
|
-
email
|
|
256
|
-
phone_number
|
|
257
|
-
identifier: string | null;
|
|
258
|
-
customer_stage_explanation: string | null;
|
|
253
|
+
name?: string | null | undefined;
|
|
254
|
+
email?: string | null | undefined;
|
|
255
|
+
phone_number?: string | null | undefined;
|
|
259
256
|
type?: string | undefined;
|
|
260
257
|
thumbnail?: string | undefined;
|
|
258
|
+
identifier?: string | null | undefined;
|
|
261
259
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
262
260
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
263
261
|
blocked?: boolean | undefined;
|
|
264
262
|
customer_stage?: string | undefined;
|
|
263
|
+
customer_stage_explanation?: string | null | undefined;
|
|
265
264
|
}>;
|
|
266
265
|
export declare const WebhookMessageSchema: z.ZodObject<{
|
|
267
266
|
id: z.ZodNumber;
|
|
@@ -321,13 +320,13 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
321
320
|
}>;
|
|
322
321
|
sender: z.ZodObject<{
|
|
323
322
|
id: z.ZodNumber;
|
|
324
|
-
name: z.ZodNullable<z.ZodString>;
|
|
325
|
-
email: z.ZodNullable<z.ZodString>;
|
|
326
|
-
phone_number: z.ZodNullable<z.ZodString>;
|
|
327
|
-
identifier: z.ZodNullable<z.ZodString>;
|
|
328
|
-
customer_stage_explanation: z.ZodNullable<z.ZodString>;
|
|
329
323
|
type: z.ZodOptional<z.ZodString>;
|
|
330
324
|
} & {
|
|
325
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
326
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
327
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
328
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
329
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
331
330
|
thumbnail: z.ZodOptional<z.ZodString>;
|
|
332
331
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
333
332
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -335,30 +334,30 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
335
334
|
customer_stage: z.ZodOptional<z.ZodString>;
|
|
336
335
|
}, "strip", z.ZodTypeAny, {
|
|
337
336
|
id: number;
|
|
338
|
-
name
|
|
339
|
-
email
|
|
340
|
-
phone_number
|
|
341
|
-
identifier: string | null;
|
|
342
|
-
customer_stage_explanation: string | null;
|
|
337
|
+
name?: string | null | undefined;
|
|
338
|
+
email?: string | null | undefined;
|
|
339
|
+
phone_number?: string | null | undefined;
|
|
343
340
|
type?: string | undefined;
|
|
344
341
|
thumbnail?: string | undefined;
|
|
342
|
+
identifier?: string | null | undefined;
|
|
345
343
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
346
344
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
347
345
|
blocked?: boolean | undefined;
|
|
348
346
|
customer_stage?: string | undefined;
|
|
347
|
+
customer_stage_explanation?: string | null | undefined;
|
|
349
348
|
}, {
|
|
350
349
|
id: number;
|
|
351
|
-
name
|
|
352
|
-
email
|
|
353
|
-
phone_number
|
|
354
|
-
identifier: string | null;
|
|
355
|
-
customer_stage_explanation: string | null;
|
|
350
|
+
name?: string | null | undefined;
|
|
351
|
+
email?: string | null | undefined;
|
|
352
|
+
phone_number?: string | null | undefined;
|
|
356
353
|
type?: string | undefined;
|
|
357
354
|
thumbnail?: string | undefined;
|
|
355
|
+
identifier?: string | null | undefined;
|
|
358
356
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
359
357
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
360
358
|
blocked?: boolean | undefined;
|
|
361
359
|
customer_stage?: string | undefined;
|
|
360
|
+
customer_stage_explanation?: string | null | undefined;
|
|
362
361
|
}>;
|
|
363
362
|
}, "strip", z.ZodTypeAny, {
|
|
364
363
|
id: number;
|
|
@@ -378,17 +377,17 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
378
377
|
conversation_id: number;
|
|
379
378
|
sender: {
|
|
380
379
|
id: number;
|
|
381
|
-
name
|
|
382
|
-
email
|
|
383
|
-
phone_number
|
|
384
|
-
identifier: string | null;
|
|
385
|
-
customer_stage_explanation: string | null;
|
|
380
|
+
name?: string | null | undefined;
|
|
381
|
+
email?: string | null | undefined;
|
|
382
|
+
phone_number?: string | null | undefined;
|
|
386
383
|
type?: string | undefined;
|
|
387
384
|
thumbnail?: string | undefined;
|
|
385
|
+
identifier?: string | null | undefined;
|
|
388
386
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
389
387
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
390
388
|
blocked?: boolean | undefined;
|
|
391
389
|
customer_stage?: string | undefined;
|
|
390
|
+
customer_stage_explanation?: string | null | undefined;
|
|
392
391
|
};
|
|
393
392
|
additional_attributes: Record<string, unknown>;
|
|
394
393
|
inbox_id: number;
|
|
@@ -428,17 +427,17 @@ export declare const WebhookMessageSchema: z.ZodObject<{
|
|
|
428
427
|
conversation_id: number;
|
|
429
428
|
sender: {
|
|
430
429
|
id: number;
|
|
431
|
-
name
|
|
432
|
-
email
|
|
433
|
-
phone_number
|
|
434
|
-
identifier: string | null;
|
|
435
|
-
customer_stage_explanation: string | null;
|
|
430
|
+
name?: string | null | undefined;
|
|
431
|
+
email?: string | null | undefined;
|
|
432
|
+
phone_number?: string | null | undefined;
|
|
436
433
|
type?: string | undefined;
|
|
437
434
|
thumbnail?: string | undefined;
|
|
435
|
+
identifier?: string | null | undefined;
|
|
438
436
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
439
437
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
440
438
|
blocked?: boolean | undefined;
|
|
441
439
|
customer_stage?: string | undefined;
|
|
440
|
+
customer_stage_explanation?: string | null | undefined;
|
|
442
441
|
};
|
|
443
442
|
additional_attributes: Record<string, unknown>;
|
|
444
443
|
inbox_id: number;
|
|
@@ -741,13 +740,13 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
741
740
|
}>;
|
|
742
741
|
sender: z.ZodObject<{
|
|
743
742
|
id: z.ZodNumber;
|
|
744
|
-
name: z.ZodNullable<z.ZodString>;
|
|
745
|
-
email: z.ZodNullable<z.ZodString>;
|
|
746
|
-
phone_number: z.ZodNullable<z.ZodString>;
|
|
747
|
-
identifier: z.ZodNullable<z.ZodString>;
|
|
748
|
-
customer_stage_explanation: z.ZodNullable<z.ZodString>;
|
|
749
743
|
type: z.ZodOptional<z.ZodString>;
|
|
750
744
|
} & {
|
|
745
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
746
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
747
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
748
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
749
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
751
750
|
thumbnail: z.ZodOptional<z.ZodString>;
|
|
752
751
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
753
752
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -755,30 +754,30 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
755
754
|
customer_stage: z.ZodOptional<z.ZodString>;
|
|
756
755
|
}, "strip", z.ZodTypeAny, {
|
|
757
756
|
id: number;
|
|
758
|
-
name
|
|
759
|
-
email
|
|
760
|
-
phone_number
|
|
761
|
-
identifier: string | null;
|
|
762
|
-
customer_stage_explanation: string | null;
|
|
757
|
+
name?: string | null | undefined;
|
|
758
|
+
email?: string | null | undefined;
|
|
759
|
+
phone_number?: string | null | undefined;
|
|
763
760
|
type?: string | undefined;
|
|
764
761
|
thumbnail?: string | undefined;
|
|
762
|
+
identifier?: string | null | undefined;
|
|
765
763
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
766
764
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
767
765
|
blocked?: boolean | undefined;
|
|
768
766
|
customer_stage?: string | undefined;
|
|
767
|
+
customer_stage_explanation?: string | null | undefined;
|
|
769
768
|
}, {
|
|
770
769
|
id: number;
|
|
771
|
-
name
|
|
772
|
-
email
|
|
773
|
-
phone_number
|
|
774
|
-
identifier: string | null;
|
|
775
|
-
customer_stage_explanation: string | null;
|
|
770
|
+
name?: string | null | undefined;
|
|
771
|
+
email?: string | null | undefined;
|
|
772
|
+
phone_number?: string | null | undefined;
|
|
776
773
|
type?: string | undefined;
|
|
777
774
|
thumbnail?: string | undefined;
|
|
775
|
+
identifier?: string | null | undefined;
|
|
778
776
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
779
777
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
780
778
|
blocked?: boolean | undefined;
|
|
781
779
|
customer_stage?: string | undefined;
|
|
780
|
+
customer_stage_explanation?: string | null | undefined;
|
|
782
781
|
}>;
|
|
783
782
|
}, "strip", z.ZodTypeAny, {
|
|
784
783
|
id: number;
|
|
@@ -798,17 +797,17 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
798
797
|
conversation_id: number;
|
|
799
798
|
sender: {
|
|
800
799
|
id: number;
|
|
801
|
-
name
|
|
802
|
-
email
|
|
803
|
-
phone_number
|
|
804
|
-
identifier: string | null;
|
|
805
|
-
customer_stage_explanation: string | null;
|
|
800
|
+
name?: string | null | undefined;
|
|
801
|
+
email?: string | null | undefined;
|
|
802
|
+
phone_number?: string | null | undefined;
|
|
806
803
|
type?: string | undefined;
|
|
807
804
|
thumbnail?: string | undefined;
|
|
805
|
+
identifier?: string | null | undefined;
|
|
808
806
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
809
807
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
810
808
|
blocked?: boolean | undefined;
|
|
811
809
|
customer_stage?: string | undefined;
|
|
810
|
+
customer_stage_explanation?: string | null | undefined;
|
|
812
811
|
};
|
|
813
812
|
additional_attributes: Record<string, unknown>;
|
|
814
813
|
inbox_id: number;
|
|
@@ -848,17 +847,17 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
848
847
|
conversation_id: number;
|
|
849
848
|
sender: {
|
|
850
849
|
id: number;
|
|
851
|
-
name
|
|
852
|
-
email
|
|
853
|
-
phone_number
|
|
854
|
-
identifier: string | null;
|
|
855
|
-
customer_stage_explanation: string | null;
|
|
850
|
+
name?: string | null | undefined;
|
|
851
|
+
email?: string | null | undefined;
|
|
852
|
+
phone_number?: string | null | undefined;
|
|
856
853
|
type?: string | undefined;
|
|
857
854
|
thumbnail?: string | undefined;
|
|
855
|
+
identifier?: string | null | undefined;
|
|
858
856
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
859
857
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
860
858
|
blocked?: boolean | undefined;
|
|
861
859
|
customer_stage?: string | undefined;
|
|
860
|
+
customer_stage_explanation?: string | null | undefined;
|
|
862
861
|
};
|
|
863
862
|
additional_attributes: Record<string, unknown>;
|
|
864
863
|
inbox_id: number;
|
|
@@ -1077,17 +1076,17 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
1077
1076
|
conversation_id: number;
|
|
1078
1077
|
sender: {
|
|
1079
1078
|
id: number;
|
|
1080
|
-
name
|
|
1081
|
-
email
|
|
1082
|
-
phone_number
|
|
1083
|
-
identifier: string | null;
|
|
1084
|
-
customer_stage_explanation: string | null;
|
|
1079
|
+
name?: string | null | undefined;
|
|
1080
|
+
email?: string | null | undefined;
|
|
1081
|
+
phone_number?: string | null | undefined;
|
|
1085
1082
|
type?: string | undefined;
|
|
1086
1083
|
thumbnail?: string | undefined;
|
|
1084
|
+
identifier?: string | null | undefined;
|
|
1087
1085
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1088
1086
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1089
1087
|
blocked?: boolean | undefined;
|
|
1090
1088
|
customer_stage?: string | undefined;
|
|
1089
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1091
1090
|
};
|
|
1092
1091
|
additional_attributes: Record<string, unknown>;
|
|
1093
1092
|
inbox_id: number;
|
|
@@ -1200,17 +1199,17 @@ export declare const WebhookConversationSchema: z.ZodObject<{
|
|
|
1200
1199
|
conversation_id: number;
|
|
1201
1200
|
sender: {
|
|
1202
1201
|
id: number;
|
|
1203
|
-
name
|
|
1204
|
-
email
|
|
1205
|
-
phone_number
|
|
1206
|
-
identifier: string | null;
|
|
1207
|
-
customer_stage_explanation: string | null;
|
|
1202
|
+
name?: string | null | undefined;
|
|
1203
|
+
email?: string | null | undefined;
|
|
1204
|
+
phone_number?: string | null | undefined;
|
|
1208
1205
|
type?: string | undefined;
|
|
1209
1206
|
thumbnail?: string | undefined;
|
|
1207
|
+
identifier?: string | null | undefined;
|
|
1210
1208
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1211
1209
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1212
1210
|
blocked?: boolean | undefined;
|
|
1213
1211
|
customer_stage?: string | undefined;
|
|
1212
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1214
1213
|
};
|
|
1215
1214
|
additional_attributes: Record<string, unknown>;
|
|
1216
1215
|
inbox_id: number;
|
|
@@ -1447,13 +1446,13 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1447
1446
|
}>;
|
|
1448
1447
|
sender: z.ZodObject<{
|
|
1449
1448
|
id: z.ZodNumber;
|
|
1450
|
-
name: z.ZodNullable<z.ZodString>;
|
|
1451
|
-
email: z.ZodNullable<z.ZodString>;
|
|
1452
|
-
phone_number: z.ZodNullable<z.ZodString>;
|
|
1453
|
-
identifier: z.ZodNullable<z.ZodString>;
|
|
1454
|
-
customer_stage_explanation: z.ZodNullable<z.ZodString>;
|
|
1455
1449
|
type: z.ZodOptional<z.ZodString>;
|
|
1456
1450
|
} & {
|
|
1451
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1452
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1453
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1454
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1455
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1457
1456
|
thumbnail: z.ZodOptional<z.ZodString>;
|
|
1458
1457
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1459
1458
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1461,30 +1460,30 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1461
1460
|
customer_stage: z.ZodOptional<z.ZodString>;
|
|
1462
1461
|
}, "strip", z.ZodTypeAny, {
|
|
1463
1462
|
id: number;
|
|
1464
|
-
name
|
|
1465
|
-
email
|
|
1466
|
-
phone_number
|
|
1467
|
-
identifier: string | null;
|
|
1468
|
-
customer_stage_explanation: string | null;
|
|
1463
|
+
name?: string | null | undefined;
|
|
1464
|
+
email?: string | null | undefined;
|
|
1465
|
+
phone_number?: string | null | undefined;
|
|
1469
1466
|
type?: string | undefined;
|
|
1470
1467
|
thumbnail?: string | undefined;
|
|
1468
|
+
identifier?: string | null | undefined;
|
|
1471
1469
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1472
1470
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1473
1471
|
blocked?: boolean | undefined;
|
|
1474
1472
|
customer_stage?: string | undefined;
|
|
1473
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1475
1474
|
}, {
|
|
1476
1475
|
id: number;
|
|
1477
|
-
name
|
|
1478
|
-
email
|
|
1479
|
-
phone_number
|
|
1480
|
-
identifier: string | null;
|
|
1481
|
-
customer_stage_explanation: string | null;
|
|
1476
|
+
name?: string | null | undefined;
|
|
1477
|
+
email?: string | null | undefined;
|
|
1478
|
+
phone_number?: string | null | undefined;
|
|
1482
1479
|
type?: string | undefined;
|
|
1483
1480
|
thumbnail?: string | undefined;
|
|
1481
|
+
identifier?: string | null | undefined;
|
|
1484
1482
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1485
1483
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1486
1484
|
blocked?: boolean | undefined;
|
|
1487
1485
|
customer_stage?: string | undefined;
|
|
1486
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1488
1487
|
}>;
|
|
1489
1488
|
}, "strip", z.ZodTypeAny, {
|
|
1490
1489
|
id: number;
|
|
@@ -1504,17 +1503,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1504
1503
|
conversation_id: number;
|
|
1505
1504
|
sender: {
|
|
1506
1505
|
id: number;
|
|
1507
|
-
name
|
|
1508
|
-
email
|
|
1509
|
-
phone_number
|
|
1510
|
-
identifier: string | null;
|
|
1511
|
-
customer_stage_explanation: string | null;
|
|
1506
|
+
name?: string | null | undefined;
|
|
1507
|
+
email?: string | null | undefined;
|
|
1508
|
+
phone_number?: string | null | undefined;
|
|
1512
1509
|
type?: string | undefined;
|
|
1513
1510
|
thumbnail?: string | undefined;
|
|
1511
|
+
identifier?: string | null | undefined;
|
|
1514
1512
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1515
1513
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1516
1514
|
blocked?: boolean | undefined;
|
|
1517
1515
|
customer_stage?: string | undefined;
|
|
1516
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1518
1517
|
};
|
|
1519
1518
|
additional_attributes: Record<string, unknown>;
|
|
1520
1519
|
inbox_id: number;
|
|
@@ -1554,17 +1553,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1554
1553
|
conversation_id: number;
|
|
1555
1554
|
sender: {
|
|
1556
1555
|
id: number;
|
|
1557
|
-
name
|
|
1558
|
-
email
|
|
1559
|
-
phone_number
|
|
1560
|
-
identifier: string | null;
|
|
1561
|
-
customer_stage_explanation: string | null;
|
|
1556
|
+
name?: string | null | undefined;
|
|
1557
|
+
email?: string | null | undefined;
|
|
1558
|
+
phone_number?: string | null | undefined;
|
|
1562
1559
|
type?: string | undefined;
|
|
1563
1560
|
thumbnail?: string | undefined;
|
|
1561
|
+
identifier?: string | null | undefined;
|
|
1564
1562
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1565
1563
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1566
1564
|
blocked?: boolean | undefined;
|
|
1567
1565
|
customer_stage?: string | undefined;
|
|
1566
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1568
1567
|
};
|
|
1569
1568
|
additional_attributes: Record<string, unknown>;
|
|
1570
1569
|
inbox_id: number;
|
|
@@ -1783,17 +1782,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1783
1782
|
conversation_id: number;
|
|
1784
1783
|
sender: {
|
|
1785
1784
|
id: number;
|
|
1786
|
-
name
|
|
1787
|
-
email
|
|
1788
|
-
phone_number
|
|
1789
|
-
identifier: string | null;
|
|
1790
|
-
customer_stage_explanation: string | null;
|
|
1785
|
+
name?: string | null | undefined;
|
|
1786
|
+
email?: string | null | undefined;
|
|
1787
|
+
phone_number?: string | null | undefined;
|
|
1791
1788
|
type?: string | undefined;
|
|
1792
1789
|
thumbnail?: string | undefined;
|
|
1790
|
+
identifier?: string | null | undefined;
|
|
1793
1791
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1794
1792
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1795
1793
|
blocked?: boolean | undefined;
|
|
1796
1794
|
customer_stage?: string | undefined;
|
|
1795
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1797
1796
|
};
|
|
1798
1797
|
additional_attributes: Record<string, unknown>;
|
|
1799
1798
|
inbox_id: number;
|
|
@@ -1906,17 +1905,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1906
1905
|
conversation_id: number;
|
|
1907
1906
|
sender: {
|
|
1908
1907
|
id: number;
|
|
1909
|
-
name
|
|
1910
|
-
email
|
|
1911
|
-
phone_number
|
|
1912
|
-
identifier: string | null;
|
|
1913
|
-
customer_stage_explanation: string | null;
|
|
1908
|
+
name?: string | null | undefined;
|
|
1909
|
+
email?: string | null | undefined;
|
|
1910
|
+
phone_number?: string | null | undefined;
|
|
1914
1911
|
type?: string | undefined;
|
|
1915
1912
|
thumbnail?: string | undefined;
|
|
1913
|
+
identifier?: string | null | undefined;
|
|
1916
1914
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
1917
1915
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
1918
1916
|
blocked?: boolean | undefined;
|
|
1919
1917
|
customer_stage?: string | undefined;
|
|
1918
|
+
customer_stage_explanation?: string | null | undefined;
|
|
1920
1919
|
};
|
|
1921
1920
|
additional_attributes: Record<string, unknown>;
|
|
1922
1921
|
inbox_id: number;
|
|
@@ -1968,20 +1967,19 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1968
1967
|
message_type: z.ZodEnum<["incoming", "outgoing"]>;
|
|
1969
1968
|
private: z.ZodBoolean;
|
|
1970
1969
|
status: z.ZodString;
|
|
1971
|
-
sender: z.ZodObject<
|
|
1970
|
+
sender: z.ZodObject<{
|
|
1972
1971
|
id: z.ZodNumber;
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
identifier: z.ZodNullable<z.ZodString
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
}, "type"> & {
|
|
1972
|
+
} & {
|
|
1973
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1974
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1975
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1976
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1977
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1978
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
1979
|
+
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1980
|
+
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1981
|
+
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
1982
|
+
customer_stage: z.ZodOptional<z.ZodString>;
|
|
1985
1983
|
account: z.ZodOptional<z.ZodObject<{
|
|
1986
1984
|
id: z.ZodNumber;
|
|
1987
1985
|
name: z.ZodString;
|
|
@@ -1995,16 +1993,16 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
1995
1993
|
avatar: z.ZodOptional<z.ZodString>;
|
|
1996
1994
|
}, "strip", z.ZodTypeAny, {
|
|
1997
1995
|
id: number;
|
|
1998
|
-
name
|
|
1999
|
-
email
|
|
2000
|
-
phone_number
|
|
2001
|
-
thumbnail
|
|
2002
|
-
identifier
|
|
2003
|
-
additional_attributes
|
|
2004
|
-
custom_attributes
|
|
2005
|
-
blocked
|
|
2006
|
-
customer_stage
|
|
2007
|
-
customer_stage_explanation
|
|
1996
|
+
name?: string | null | undefined;
|
|
1997
|
+
email?: string | null | undefined;
|
|
1998
|
+
phone_number?: string | null | undefined;
|
|
1999
|
+
thumbnail?: string | undefined;
|
|
2000
|
+
identifier?: string | null | undefined;
|
|
2001
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
2002
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
2003
|
+
blocked?: boolean | undefined;
|
|
2004
|
+
customer_stage?: string | undefined;
|
|
2005
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2008
2006
|
account?: {
|
|
2009
2007
|
id: number;
|
|
2010
2008
|
name: string;
|
|
@@ -2012,16 +2010,16 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2012
2010
|
avatar?: string | undefined;
|
|
2013
2011
|
}, {
|
|
2014
2012
|
id: number;
|
|
2015
|
-
name
|
|
2016
|
-
email
|
|
2017
|
-
phone_number
|
|
2018
|
-
thumbnail
|
|
2019
|
-
identifier
|
|
2020
|
-
additional_attributes
|
|
2021
|
-
custom_attributes
|
|
2022
|
-
blocked
|
|
2023
|
-
customer_stage
|
|
2024
|
-
customer_stage_explanation
|
|
2013
|
+
name?: string | null | undefined;
|
|
2014
|
+
email?: string | null | undefined;
|
|
2015
|
+
phone_number?: string | null | undefined;
|
|
2016
|
+
thumbnail?: string | undefined;
|
|
2017
|
+
identifier?: string | null | undefined;
|
|
2018
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
2019
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
2020
|
+
blocked?: boolean | undefined;
|
|
2021
|
+
customer_stage?: string | undefined;
|
|
2022
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2025
2023
|
account?: {
|
|
2026
2024
|
id: number;
|
|
2027
2025
|
name: string;
|
|
@@ -2046,16 +2044,16 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2046
2044
|
};
|
|
2047
2045
|
sender: {
|
|
2048
2046
|
id: number;
|
|
2049
|
-
name
|
|
2050
|
-
email
|
|
2051
|
-
phone_number
|
|
2052
|
-
thumbnail
|
|
2053
|
-
identifier
|
|
2054
|
-
additional_attributes
|
|
2055
|
-
custom_attributes
|
|
2056
|
-
blocked
|
|
2057
|
-
customer_stage
|
|
2058
|
-
customer_stage_explanation
|
|
2047
|
+
name?: string | null | undefined;
|
|
2048
|
+
email?: string | null | undefined;
|
|
2049
|
+
phone_number?: string | null | undefined;
|
|
2050
|
+
thumbnail?: string | undefined;
|
|
2051
|
+
identifier?: string | null | undefined;
|
|
2052
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
2053
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
2054
|
+
blocked?: boolean | undefined;
|
|
2055
|
+
customer_stage?: string | undefined;
|
|
2056
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2059
2057
|
account?: {
|
|
2060
2058
|
id: number;
|
|
2061
2059
|
name: string;
|
|
@@ -2145,17 +2143,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2145
2143
|
conversation_id: number;
|
|
2146
2144
|
sender: {
|
|
2147
2145
|
id: number;
|
|
2148
|
-
name
|
|
2149
|
-
email
|
|
2150
|
-
phone_number
|
|
2151
|
-
identifier: string | null;
|
|
2152
|
-
customer_stage_explanation: string | null;
|
|
2146
|
+
name?: string | null | undefined;
|
|
2147
|
+
email?: string | null | undefined;
|
|
2148
|
+
phone_number?: string | null | undefined;
|
|
2153
2149
|
type?: string | undefined;
|
|
2154
2150
|
thumbnail?: string | undefined;
|
|
2151
|
+
identifier?: string | null | undefined;
|
|
2155
2152
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2156
2153
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2157
2154
|
blocked?: boolean | undefined;
|
|
2158
2155
|
customer_stage?: string | undefined;
|
|
2156
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2159
2157
|
};
|
|
2160
2158
|
additional_attributes: Record<string, unknown>;
|
|
2161
2159
|
inbox_id: number;
|
|
@@ -2212,16 +2210,16 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2212
2210
|
};
|
|
2213
2211
|
sender: {
|
|
2214
2212
|
id: number;
|
|
2215
|
-
name
|
|
2216
|
-
email
|
|
2217
|
-
phone_number
|
|
2218
|
-
thumbnail
|
|
2219
|
-
identifier
|
|
2220
|
-
additional_attributes
|
|
2221
|
-
custom_attributes
|
|
2222
|
-
blocked
|
|
2223
|
-
customer_stage
|
|
2224
|
-
customer_stage_explanation
|
|
2213
|
+
name?: string | null | undefined;
|
|
2214
|
+
email?: string | null | undefined;
|
|
2215
|
+
phone_number?: string | null | undefined;
|
|
2216
|
+
thumbnail?: string | undefined;
|
|
2217
|
+
identifier?: string | null | undefined;
|
|
2218
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
2219
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
2220
|
+
blocked?: boolean | undefined;
|
|
2221
|
+
customer_stage?: string | undefined;
|
|
2222
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2225
2223
|
account?: {
|
|
2226
2224
|
id: number;
|
|
2227
2225
|
name: string;
|
|
@@ -2311,17 +2309,17 @@ export declare const MessageCreatedEventSchema: z.ZodObject<{
|
|
|
2311
2309
|
conversation_id: number;
|
|
2312
2310
|
sender: {
|
|
2313
2311
|
id: number;
|
|
2314
|
-
name
|
|
2315
|
-
email
|
|
2316
|
-
phone_number
|
|
2317
|
-
identifier: string | null;
|
|
2318
|
-
customer_stage_explanation: string | null;
|
|
2312
|
+
name?: string | null | undefined;
|
|
2313
|
+
email?: string | null | undefined;
|
|
2314
|
+
phone_number?: string | null | undefined;
|
|
2319
2315
|
type?: string | undefined;
|
|
2320
2316
|
thumbnail?: string | undefined;
|
|
2317
|
+
identifier?: string | null | undefined;
|
|
2321
2318
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2322
2319
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2323
2320
|
blocked?: boolean | undefined;
|
|
2324
2321
|
customer_stage?: string | undefined;
|
|
2322
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2325
2323
|
};
|
|
2326
2324
|
additional_attributes: Record<string, unknown>;
|
|
2327
2325
|
inbox_id: number;
|
|
@@ -2564,13 +2562,13 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2564
2562
|
}>;
|
|
2565
2563
|
sender: z.ZodObject<{
|
|
2566
2564
|
id: z.ZodNumber;
|
|
2567
|
-
name: z.ZodNullable<z.ZodString>;
|
|
2568
|
-
email: z.ZodNullable<z.ZodString>;
|
|
2569
|
-
phone_number: z.ZodNullable<z.ZodString>;
|
|
2570
|
-
identifier: z.ZodNullable<z.ZodString>;
|
|
2571
|
-
customer_stage_explanation: z.ZodNullable<z.ZodString>;
|
|
2572
2565
|
type: z.ZodOptional<z.ZodString>;
|
|
2573
2566
|
} & {
|
|
2567
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2568
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2569
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2570
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2571
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2574
2572
|
thumbnail: z.ZodOptional<z.ZodString>;
|
|
2575
2573
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2576
2574
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2578,30 +2576,30 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2578
2576
|
customer_stage: z.ZodOptional<z.ZodString>;
|
|
2579
2577
|
}, "strip", z.ZodTypeAny, {
|
|
2580
2578
|
id: number;
|
|
2581
|
-
name
|
|
2582
|
-
email
|
|
2583
|
-
phone_number
|
|
2584
|
-
identifier: string | null;
|
|
2585
|
-
customer_stage_explanation: string | null;
|
|
2579
|
+
name?: string | null | undefined;
|
|
2580
|
+
email?: string | null | undefined;
|
|
2581
|
+
phone_number?: string | null | undefined;
|
|
2586
2582
|
type?: string | undefined;
|
|
2587
2583
|
thumbnail?: string | undefined;
|
|
2584
|
+
identifier?: string | null | undefined;
|
|
2588
2585
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2589
2586
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2590
2587
|
blocked?: boolean | undefined;
|
|
2591
2588
|
customer_stage?: string | undefined;
|
|
2589
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2592
2590
|
}, {
|
|
2593
2591
|
id: number;
|
|
2594
|
-
name
|
|
2595
|
-
email
|
|
2596
|
-
phone_number
|
|
2597
|
-
identifier: string | null;
|
|
2598
|
-
customer_stage_explanation: string | null;
|
|
2592
|
+
name?: string | null | undefined;
|
|
2593
|
+
email?: string | null | undefined;
|
|
2594
|
+
phone_number?: string | null | undefined;
|
|
2599
2595
|
type?: string | undefined;
|
|
2600
2596
|
thumbnail?: string | undefined;
|
|
2597
|
+
identifier?: string | null | undefined;
|
|
2601
2598
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2602
2599
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2603
2600
|
blocked?: boolean | undefined;
|
|
2604
2601
|
customer_stage?: string | undefined;
|
|
2602
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2605
2603
|
}>;
|
|
2606
2604
|
}, "strip", z.ZodTypeAny, {
|
|
2607
2605
|
id: number;
|
|
@@ -2621,17 +2619,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2621
2619
|
conversation_id: number;
|
|
2622
2620
|
sender: {
|
|
2623
2621
|
id: number;
|
|
2624
|
-
name
|
|
2625
|
-
email
|
|
2626
|
-
phone_number
|
|
2627
|
-
identifier: string | null;
|
|
2628
|
-
customer_stage_explanation: string | null;
|
|
2622
|
+
name?: string | null | undefined;
|
|
2623
|
+
email?: string | null | undefined;
|
|
2624
|
+
phone_number?: string | null | undefined;
|
|
2629
2625
|
type?: string | undefined;
|
|
2630
2626
|
thumbnail?: string | undefined;
|
|
2627
|
+
identifier?: string | null | undefined;
|
|
2631
2628
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2632
2629
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2633
2630
|
blocked?: boolean | undefined;
|
|
2634
2631
|
customer_stage?: string | undefined;
|
|
2632
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2635
2633
|
};
|
|
2636
2634
|
additional_attributes: Record<string, unknown>;
|
|
2637
2635
|
inbox_id: number;
|
|
@@ -2671,17 +2669,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2671
2669
|
conversation_id: number;
|
|
2672
2670
|
sender: {
|
|
2673
2671
|
id: number;
|
|
2674
|
-
name
|
|
2675
|
-
email
|
|
2676
|
-
phone_number
|
|
2677
|
-
identifier: string | null;
|
|
2678
|
-
customer_stage_explanation: string | null;
|
|
2672
|
+
name?: string | null | undefined;
|
|
2673
|
+
email?: string | null | undefined;
|
|
2674
|
+
phone_number?: string | null | undefined;
|
|
2679
2675
|
type?: string | undefined;
|
|
2680
2676
|
thumbnail?: string | undefined;
|
|
2677
|
+
identifier?: string | null | undefined;
|
|
2681
2678
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2682
2679
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2683
2680
|
blocked?: boolean | undefined;
|
|
2684
2681
|
customer_stage?: string | undefined;
|
|
2682
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2685
2683
|
};
|
|
2686
2684
|
additional_attributes: Record<string, unknown>;
|
|
2687
2685
|
inbox_id: number;
|
|
@@ -2900,17 +2898,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
2900
2898
|
conversation_id: number;
|
|
2901
2899
|
sender: {
|
|
2902
2900
|
id: number;
|
|
2903
|
-
name
|
|
2904
|
-
email
|
|
2905
|
-
phone_number
|
|
2906
|
-
identifier: string | null;
|
|
2907
|
-
customer_stage_explanation: string | null;
|
|
2901
|
+
name?: string | null | undefined;
|
|
2902
|
+
email?: string | null | undefined;
|
|
2903
|
+
phone_number?: string | null | undefined;
|
|
2908
2904
|
type?: string | undefined;
|
|
2909
2905
|
thumbnail?: string | undefined;
|
|
2906
|
+
identifier?: string | null | undefined;
|
|
2910
2907
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
2911
2908
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
2912
2909
|
blocked?: boolean | undefined;
|
|
2913
2910
|
customer_stage?: string | undefined;
|
|
2911
|
+
customer_stage_explanation?: string | null | undefined;
|
|
2914
2912
|
};
|
|
2915
2913
|
additional_attributes: Record<string, unknown>;
|
|
2916
2914
|
inbox_id: number;
|
|
@@ -3023,17 +3021,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3023
3021
|
conversation_id: number;
|
|
3024
3022
|
sender: {
|
|
3025
3023
|
id: number;
|
|
3026
|
-
name
|
|
3027
|
-
email
|
|
3028
|
-
phone_number
|
|
3029
|
-
identifier: string | null;
|
|
3030
|
-
customer_stage_explanation: string | null;
|
|
3024
|
+
name?: string | null | undefined;
|
|
3025
|
+
email?: string | null | undefined;
|
|
3026
|
+
phone_number?: string | null | undefined;
|
|
3031
3027
|
type?: string | undefined;
|
|
3032
3028
|
thumbnail?: string | undefined;
|
|
3029
|
+
identifier?: string | null | undefined;
|
|
3033
3030
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3034
3031
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3035
3032
|
blocked?: boolean | undefined;
|
|
3036
3033
|
customer_stage?: string | undefined;
|
|
3034
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3037
3035
|
};
|
|
3038
3036
|
additional_attributes: Record<string, unknown>;
|
|
3039
3037
|
inbox_id: number;
|
|
@@ -3085,23 +3083,22 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3085
3083
|
message_type: z.ZodEnum<["incoming", "outgoing"]>;
|
|
3086
3084
|
private: z.ZodBoolean;
|
|
3087
3085
|
status: z.ZodString;
|
|
3088
|
-
sender: z.ZodObject<
|
|
3086
|
+
sender: z.ZodObject<{
|
|
3089
3087
|
id: z.ZodNumber;
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
identifier: z.ZodNullable<z.ZodString
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
name: z.ZodString;
|
|
3088
|
+
} & {
|
|
3089
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3090
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3091
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3092
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3093
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3094
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
3095
|
+
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3096
|
+
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3097
|
+
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
3098
|
+
customer_stage: z.ZodOptional<z.ZodString>;
|
|
3099
|
+
account: z.ZodOptional<z.ZodObject<{
|
|
3100
|
+
id: z.ZodNumber;
|
|
3101
|
+
name: z.ZodString;
|
|
3105
3102
|
}, "strip", z.ZodTypeAny, {
|
|
3106
3103
|
id: number;
|
|
3107
3104
|
name: string;
|
|
@@ -3112,16 +3109,16 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3112
3109
|
avatar: z.ZodOptional<z.ZodString>;
|
|
3113
3110
|
}, "strip", z.ZodTypeAny, {
|
|
3114
3111
|
id: number;
|
|
3115
|
-
name
|
|
3116
|
-
email
|
|
3117
|
-
phone_number
|
|
3118
|
-
thumbnail
|
|
3119
|
-
identifier
|
|
3120
|
-
additional_attributes
|
|
3121
|
-
custom_attributes
|
|
3122
|
-
blocked
|
|
3123
|
-
customer_stage
|
|
3124
|
-
customer_stage_explanation
|
|
3112
|
+
name?: string | null | undefined;
|
|
3113
|
+
email?: string | null | undefined;
|
|
3114
|
+
phone_number?: string | null | undefined;
|
|
3115
|
+
thumbnail?: string | undefined;
|
|
3116
|
+
identifier?: string | null | undefined;
|
|
3117
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
3118
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
3119
|
+
blocked?: boolean | undefined;
|
|
3120
|
+
customer_stage?: string | undefined;
|
|
3121
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3125
3122
|
account?: {
|
|
3126
3123
|
id: number;
|
|
3127
3124
|
name: string;
|
|
@@ -3129,16 +3126,16 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3129
3126
|
avatar?: string | undefined;
|
|
3130
3127
|
}, {
|
|
3131
3128
|
id: number;
|
|
3132
|
-
name
|
|
3133
|
-
email
|
|
3134
|
-
phone_number
|
|
3135
|
-
thumbnail
|
|
3136
|
-
identifier
|
|
3137
|
-
additional_attributes
|
|
3138
|
-
custom_attributes
|
|
3139
|
-
blocked
|
|
3140
|
-
customer_stage
|
|
3141
|
-
customer_stage_explanation
|
|
3129
|
+
name?: string | null | undefined;
|
|
3130
|
+
email?: string | null | undefined;
|
|
3131
|
+
phone_number?: string | null | undefined;
|
|
3132
|
+
thumbnail?: string | undefined;
|
|
3133
|
+
identifier?: string | null | undefined;
|
|
3134
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
3135
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
3136
|
+
blocked?: boolean | undefined;
|
|
3137
|
+
customer_stage?: string | undefined;
|
|
3138
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3142
3139
|
account?: {
|
|
3143
3140
|
id: number;
|
|
3144
3141
|
name: string;
|
|
@@ -3163,16 +3160,16 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3163
3160
|
};
|
|
3164
3161
|
sender: {
|
|
3165
3162
|
id: number;
|
|
3166
|
-
name
|
|
3167
|
-
email
|
|
3168
|
-
phone_number
|
|
3169
|
-
thumbnail
|
|
3170
|
-
identifier
|
|
3171
|
-
additional_attributes
|
|
3172
|
-
custom_attributes
|
|
3173
|
-
blocked
|
|
3174
|
-
customer_stage
|
|
3175
|
-
customer_stage_explanation
|
|
3163
|
+
name?: string | null | undefined;
|
|
3164
|
+
email?: string | null | undefined;
|
|
3165
|
+
phone_number?: string | null | undefined;
|
|
3166
|
+
thumbnail?: string | undefined;
|
|
3167
|
+
identifier?: string | null | undefined;
|
|
3168
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
3169
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
3170
|
+
blocked?: boolean | undefined;
|
|
3171
|
+
customer_stage?: string | undefined;
|
|
3172
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3176
3173
|
account?: {
|
|
3177
3174
|
id: number;
|
|
3178
3175
|
name: string;
|
|
@@ -3262,17 +3259,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3262
3259
|
conversation_id: number;
|
|
3263
3260
|
sender: {
|
|
3264
3261
|
id: number;
|
|
3265
|
-
name
|
|
3266
|
-
email
|
|
3267
|
-
phone_number
|
|
3268
|
-
identifier: string | null;
|
|
3269
|
-
customer_stage_explanation: string | null;
|
|
3262
|
+
name?: string | null | undefined;
|
|
3263
|
+
email?: string | null | undefined;
|
|
3264
|
+
phone_number?: string | null | undefined;
|
|
3270
3265
|
type?: string | undefined;
|
|
3271
3266
|
thumbnail?: string | undefined;
|
|
3267
|
+
identifier?: string | null | undefined;
|
|
3272
3268
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3273
3269
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3274
3270
|
blocked?: boolean | undefined;
|
|
3275
3271
|
customer_stage?: string | undefined;
|
|
3272
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3276
3273
|
};
|
|
3277
3274
|
additional_attributes: Record<string, unknown>;
|
|
3278
3275
|
inbox_id: number;
|
|
@@ -3329,16 +3326,16 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3329
3326
|
};
|
|
3330
3327
|
sender: {
|
|
3331
3328
|
id: number;
|
|
3332
|
-
name
|
|
3333
|
-
email
|
|
3334
|
-
phone_number
|
|
3335
|
-
thumbnail
|
|
3336
|
-
identifier
|
|
3337
|
-
additional_attributes
|
|
3338
|
-
custom_attributes
|
|
3339
|
-
blocked
|
|
3340
|
-
customer_stage
|
|
3341
|
-
customer_stage_explanation
|
|
3329
|
+
name?: string | null | undefined;
|
|
3330
|
+
email?: string | null | undefined;
|
|
3331
|
+
phone_number?: string | null | undefined;
|
|
3332
|
+
thumbnail?: string | undefined;
|
|
3333
|
+
identifier?: string | null | undefined;
|
|
3334
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
3335
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
3336
|
+
blocked?: boolean | undefined;
|
|
3337
|
+
customer_stage?: string | undefined;
|
|
3338
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3342
3339
|
account?: {
|
|
3343
3340
|
id: number;
|
|
3344
3341
|
name: string;
|
|
@@ -3428,17 +3425,17 @@ export declare const MessageUpdatedEventSchema: z.ZodObject<{
|
|
|
3428
3425
|
conversation_id: number;
|
|
3429
3426
|
sender: {
|
|
3430
3427
|
id: number;
|
|
3431
|
-
name
|
|
3432
|
-
email
|
|
3433
|
-
phone_number
|
|
3434
|
-
identifier: string | null;
|
|
3435
|
-
customer_stage_explanation: string | null;
|
|
3428
|
+
name?: string | null | undefined;
|
|
3429
|
+
email?: string | null | undefined;
|
|
3430
|
+
phone_number?: string | null | undefined;
|
|
3436
3431
|
type?: string | undefined;
|
|
3437
3432
|
thumbnail?: string | undefined;
|
|
3433
|
+
identifier?: string | null | undefined;
|
|
3438
3434
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3439
3435
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3440
3436
|
blocked?: boolean | undefined;
|
|
3441
3437
|
customer_stage?: string | undefined;
|
|
3438
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3442
3439
|
};
|
|
3443
3440
|
additional_attributes: Record<string, unknown>;
|
|
3444
3441
|
inbox_id: number;
|
|
@@ -3681,13 +3678,13 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3681
3678
|
}>;
|
|
3682
3679
|
sender: z.ZodObject<{
|
|
3683
3680
|
id: z.ZodNumber;
|
|
3684
|
-
name: z.ZodNullable<z.ZodString>;
|
|
3685
|
-
email: z.ZodNullable<z.ZodString>;
|
|
3686
|
-
phone_number: z.ZodNullable<z.ZodString>;
|
|
3687
|
-
identifier: z.ZodNullable<z.ZodString>;
|
|
3688
|
-
customer_stage_explanation: z.ZodNullable<z.ZodString>;
|
|
3689
3681
|
type: z.ZodOptional<z.ZodString>;
|
|
3690
3682
|
} & {
|
|
3683
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3684
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3685
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3686
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3687
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3691
3688
|
thumbnail: z.ZodOptional<z.ZodString>;
|
|
3692
3689
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3693
3690
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -3695,30 +3692,30 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3695
3692
|
customer_stage: z.ZodOptional<z.ZodString>;
|
|
3696
3693
|
}, "strip", z.ZodTypeAny, {
|
|
3697
3694
|
id: number;
|
|
3698
|
-
name
|
|
3699
|
-
email
|
|
3700
|
-
phone_number
|
|
3701
|
-
identifier: string | null;
|
|
3702
|
-
customer_stage_explanation: string | null;
|
|
3695
|
+
name?: string | null | undefined;
|
|
3696
|
+
email?: string | null | undefined;
|
|
3697
|
+
phone_number?: string | null | undefined;
|
|
3703
3698
|
type?: string | undefined;
|
|
3704
3699
|
thumbnail?: string | undefined;
|
|
3700
|
+
identifier?: string | null | undefined;
|
|
3705
3701
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3706
3702
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3707
3703
|
blocked?: boolean | undefined;
|
|
3708
3704
|
customer_stage?: string | undefined;
|
|
3705
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3709
3706
|
}, {
|
|
3710
3707
|
id: number;
|
|
3711
|
-
name
|
|
3712
|
-
email
|
|
3713
|
-
phone_number
|
|
3714
|
-
identifier: string | null;
|
|
3715
|
-
customer_stage_explanation: string | null;
|
|
3708
|
+
name?: string | null | undefined;
|
|
3709
|
+
email?: string | null | undefined;
|
|
3710
|
+
phone_number?: string | null | undefined;
|
|
3716
3711
|
type?: string | undefined;
|
|
3717
3712
|
thumbnail?: string | undefined;
|
|
3713
|
+
identifier?: string | null | undefined;
|
|
3718
3714
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3719
3715
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3720
3716
|
blocked?: boolean | undefined;
|
|
3721
3717
|
customer_stage?: string | undefined;
|
|
3718
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3722
3719
|
}>;
|
|
3723
3720
|
}, "strip", z.ZodTypeAny, {
|
|
3724
3721
|
id: number;
|
|
@@ -3738,17 +3735,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3738
3735
|
conversation_id: number;
|
|
3739
3736
|
sender: {
|
|
3740
3737
|
id: number;
|
|
3741
|
-
name
|
|
3742
|
-
email
|
|
3743
|
-
phone_number
|
|
3744
|
-
identifier: string | null;
|
|
3745
|
-
customer_stage_explanation: string | null;
|
|
3738
|
+
name?: string | null | undefined;
|
|
3739
|
+
email?: string | null | undefined;
|
|
3740
|
+
phone_number?: string | null | undefined;
|
|
3746
3741
|
type?: string | undefined;
|
|
3747
3742
|
thumbnail?: string | undefined;
|
|
3743
|
+
identifier?: string | null | undefined;
|
|
3748
3744
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3749
3745
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3750
3746
|
blocked?: boolean | undefined;
|
|
3751
3747
|
customer_stage?: string | undefined;
|
|
3748
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3752
3749
|
};
|
|
3753
3750
|
additional_attributes: Record<string, unknown>;
|
|
3754
3751
|
inbox_id: number;
|
|
@@ -3788,17 +3785,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
3788
3785
|
conversation_id: number;
|
|
3789
3786
|
sender: {
|
|
3790
3787
|
id: number;
|
|
3791
|
-
name
|
|
3792
|
-
email
|
|
3793
|
-
phone_number
|
|
3794
|
-
identifier: string | null;
|
|
3795
|
-
customer_stage_explanation: string | null;
|
|
3788
|
+
name?: string | null | undefined;
|
|
3789
|
+
email?: string | null | undefined;
|
|
3790
|
+
phone_number?: string | null | undefined;
|
|
3796
3791
|
type?: string | undefined;
|
|
3797
3792
|
thumbnail?: string | undefined;
|
|
3793
|
+
identifier?: string | null | undefined;
|
|
3798
3794
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
3799
3795
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
3800
3796
|
blocked?: boolean | undefined;
|
|
3801
3797
|
customer_stage?: string | undefined;
|
|
3798
|
+
customer_stage_explanation?: string | null | undefined;
|
|
3802
3799
|
};
|
|
3803
3800
|
additional_attributes: Record<string, unknown>;
|
|
3804
3801
|
inbox_id: number;
|
|
@@ -4017,17 +4014,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4017
4014
|
conversation_id: number;
|
|
4018
4015
|
sender: {
|
|
4019
4016
|
id: number;
|
|
4020
|
-
name
|
|
4021
|
-
email
|
|
4022
|
-
phone_number
|
|
4023
|
-
identifier: string | null;
|
|
4024
|
-
customer_stage_explanation: string | null;
|
|
4017
|
+
name?: string | null | undefined;
|
|
4018
|
+
email?: string | null | undefined;
|
|
4019
|
+
phone_number?: string | null | undefined;
|
|
4025
4020
|
type?: string | undefined;
|
|
4026
4021
|
thumbnail?: string | undefined;
|
|
4022
|
+
identifier?: string | null | undefined;
|
|
4027
4023
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4028
4024
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4029
4025
|
blocked?: boolean | undefined;
|
|
4030
4026
|
customer_stage?: string | undefined;
|
|
4027
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4031
4028
|
};
|
|
4032
4029
|
additional_attributes: Record<string, unknown>;
|
|
4033
4030
|
inbox_id: number;
|
|
@@ -4140,17 +4137,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4140
4137
|
conversation_id: number;
|
|
4141
4138
|
sender: {
|
|
4142
4139
|
id: number;
|
|
4143
|
-
name
|
|
4144
|
-
email
|
|
4145
|
-
phone_number
|
|
4146
|
-
identifier: string | null;
|
|
4147
|
-
customer_stage_explanation: string | null;
|
|
4140
|
+
name?: string | null | undefined;
|
|
4141
|
+
email?: string | null | undefined;
|
|
4142
|
+
phone_number?: string | null | undefined;
|
|
4148
4143
|
type?: string | undefined;
|
|
4149
4144
|
thumbnail?: string | undefined;
|
|
4145
|
+
identifier?: string | null | undefined;
|
|
4150
4146
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4151
4147
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4152
4148
|
blocked?: boolean | undefined;
|
|
4153
4149
|
customer_stage?: string | undefined;
|
|
4150
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4154
4151
|
};
|
|
4155
4152
|
additional_attributes: Record<string, unknown>;
|
|
4156
4153
|
inbox_id: number;
|
|
@@ -4202,20 +4199,19 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4202
4199
|
message_type: z.ZodEnum<["incoming", "outgoing"]>;
|
|
4203
4200
|
private: z.ZodBoolean;
|
|
4204
4201
|
status: z.ZodString;
|
|
4205
|
-
sender: z.ZodObject<
|
|
4202
|
+
sender: z.ZodObject<{
|
|
4206
4203
|
id: z.ZodNumber;
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
identifier: z.ZodNullable<z.ZodString
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
}, "type"> & {
|
|
4204
|
+
} & {
|
|
4205
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4206
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4207
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4208
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4209
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4210
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
4211
|
+
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4212
|
+
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4213
|
+
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
4214
|
+
customer_stage: z.ZodOptional<z.ZodString>;
|
|
4219
4215
|
account: z.ZodOptional<z.ZodObject<{
|
|
4220
4216
|
id: z.ZodNumber;
|
|
4221
4217
|
name: z.ZodString;
|
|
@@ -4229,16 +4225,16 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4229
4225
|
avatar: z.ZodOptional<z.ZodString>;
|
|
4230
4226
|
}, "strip", z.ZodTypeAny, {
|
|
4231
4227
|
id: number;
|
|
4232
|
-
name
|
|
4233
|
-
email
|
|
4234
|
-
phone_number
|
|
4235
|
-
thumbnail
|
|
4236
|
-
identifier
|
|
4237
|
-
additional_attributes
|
|
4238
|
-
custom_attributes
|
|
4239
|
-
blocked
|
|
4240
|
-
customer_stage
|
|
4241
|
-
customer_stage_explanation
|
|
4228
|
+
name?: string | null | undefined;
|
|
4229
|
+
email?: string | null | undefined;
|
|
4230
|
+
phone_number?: string | null | undefined;
|
|
4231
|
+
thumbnail?: string | undefined;
|
|
4232
|
+
identifier?: string | null | undefined;
|
|
4233
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
4234
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
4235
|
+
blocked?: boolean | undefined;
|
|
4236
|
+
customer_stage?: string | undefined;
|
|
4237
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4242
4238
|
account?: {
|
|
4243
4239
|
id: number;
|
|
4244
4240
|
name: string;
|
|
@@ -4246,16 +4242,16 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4246
4242
|
avatar?: string | undefined;
|
|
4247
4243
|
}, {
|
|
4248
4244
|
id: number;
|
|
4249
|
-
name
|
|
4250
|
-
email
|
|
4251
|
-
phone_number
|
|
4252
|
-
thumbnail
|
|
4253
|
-
identifier
|
|
4254
|
-
additional_attributes
|
|
4255
|
-
custom_attributes
|
|
4256
|
-
blocked
|
|
4257
|
-
customer_stage
|
|
4258
|
-
customer_stage_explanation
|
|
4245
|
+
name?: string | null | undefined;
|
|
4246
|
+
email?: string | null | undefined;
|
|
4247
|
+
phone_number?: string | null | undefined;
|
|
4248
|
+
thumbnail?: string | undefined;
|
|
4249
|
+
identifier?: string | null | undefined;
|
|
4250
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
4251
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
4252
|
+
blocked?: boolean | undefined;
|
|
4253
|
+
customer_stage?: string | undefined;
|
|
4254
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4259
4255
|
account?: {
|
|
4260
4256
|
id: number;
|
|
4261
4257
|
name: string;
|
|
@@ -4280,16 +4276,16 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4280
4276
|
};
|
|
4281
4277
|
sender: {
|
|
4282
4278
|
id: number;
|
|
4283
|
-
name
|
|
4284
|
-
email
|
|
4285
|
-
phone_number
|
|
4286
|
-
thumbnail
|
|
4287
|
-
identifier
|
|
4288
|
-
additional_attributes
|
|
4289
|
-
custom_attributes
|
|
4290
|
-
blocked
|
|
4291
|
-
customer_stage
|
|
4292
|
-
customer_stage_explanation
|
|
4279
|
+
name?: string | null | undefined;
|
|
4280
|
+
email?: string | null | undefined;
|
|
4281
|
+
phone_number?: string | null | undefined;
|
|
4282
|
+
thumbnail?: string | undefined;
|
|
4283
|
+
identifier?: string | null | undefined;
|
|
4284
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
4285
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
4286
|
+
blocked?: boolean | undefined;
|
|
4287
|
+
customer_stage?: string | undefined;
|
|
4288
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4293
4289
|
account?: {
|
|
4294
4290
|
id: number;
|
|
4295
4291
|
name: string;
|
|
@@ -4379,17 +4375,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4379
4375
|
conversation_id: number;
|
|
4380
4376
|
sender: {
|
|
4381
4377
|
id: number;
|
|
4382
|
-
name
|
|
4383
|
-
email
|
|
4384
|
-
phone_number
|
|
4385
|
-
identifier: string | null;
|
|
4386
|
-
customer_stage_explanation: string | null;
|
|
4378
|
+
name?: string | null | undefined;
|
|
4379
|
+
email?: string | null | undefined;
|
|
4380
|
+
phone_number?: string | null | undefined;
|
|
4387
4381
|
type?: string | undefined;
|
|
4388
4382
|
thumbnail?: string | undefined;
|
|
4383
|
+
identifier?: string | null | undefined;
|
|
4389
4384
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4390
4385
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4391
4386
|
blocked?: boolean | undefined;
|
|
4392
4387
|
customer_stage?: string | undefined;
|
|
4388
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4393
4389
|
};
|
|
4394
4390
|
additional_attributes: Record<string, unknown>;
|
|
4395
4391
|
inbox_id: number;
|
|
@@ -4446,16 +4442,16 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4446
4442
|
};
|
|
4447
4443
|
sender: {
|
|
4448
4444
|
id: number;
|
|
4449
|
-
name
|
|
4450
|
-
email
|
|
4451
|
-
phone_number
|
|
4452
|
-
thumbnail
|
|
4453
|
-
identifier
|
|
4454
|
-
additional_attributes
|
|
4455
|
-
custom_attributes
|
|
4456
|
-
blocked
|
|
4457
|
-
customer_stage
|
|
4458
|
-
customer_stage_explanation
|
|
4445
|
+
name?: string | null | undefined;
|
|
4446
|
+
email?: string | null | undefined;
|
|
4447
|
+
phone_number?: string | null | undefined;
|
|
4448
|
+
thumbnail?: string | undefined;
|
|
4449
|
+
identifier?: string | null | undefined;
|
|
4450
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
4451
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
4452
|
+
blocked?: boolean | undefined;
|
|
4453
|
+
customer_stage?: string | undefined;
|
|
4454
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4459
4455
|
account?: {
|
|
4460
4456
|
id: number;
|
|
4461
4457
|
name: string;
|
|
@@ -4545,17 +4541,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4545
4541
|
conversation_id: number;
|
|
4546
4542
|
sender: {
|
|
4547
4543
|
id: number;
|
|
4548
|
-
name
|
|
4549
|
-
email
|
|
4550
|
-
phone_number
|
|
4551
|
-
identifier: string | null;
|
|
4552
|
-
customer_stage_explanation: string | null;
|
|
4544
|
+
name?: string | null | undefined;
|
|
4545
|
+
email?: string | null | undefined;
|
|
4546
|
+
phone_number?: string | null | undefined;
|
|
4553
4547
|
type?: string | undefined;
|
|
4554
4548
|
thumbnail?: string | undefined;
|
|
4549
|
+
identifier?: string | null | undefined;
|
|
4555
4550
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4556
4551
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4557
4552
|
blocked?: boolean | undefined;
|
|
4558
4553
|
customer_stage?: string | undefined;
|
|
4554
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4559
4555
|
};
|
|
4560
4556
|
additional_attributes: Record<string, unknown>;
|
|
4561
4557
|
inbox_id: number;
|
|
@@ -4797,13 +4793,13 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4797
4793
|
}>;
|
|
4798
4794
|
sender: z.ZodObject<{
|
|
4799
4795
|
id: z.ZodNumber;
|
|
4800
|
-
name: z.ZodNullable<z.ZodString>;
|
|
4801
|
-
email: z.ZodNullable<z.ZodString>;
|
|
4802
|
-
phone_number: z.ZodNullable<z.ZodString>;
|
|
4803
|
-
identifier: z.ZodNullable<z.ZodString>;
|
|
4804
|
-
customer_stage_explanation: z.ZodNullable<z.ZodString>;
|
|
4805
4796
|
type: z.ZodOptional<z.ZodString>;
|
|
4806
4797
|
} & {
|
|
4798
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4799
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4800
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4801
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4802
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4807
4803
|
thumbnail: z.ZodOptional<z.ZodString>;
|
|
4808
4804
|
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4809
4805
|
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -4811,30 +4807,30 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4811
4807
|
customer_stage: z.ZodOptional<z.ZodString>;
|
|
4812
4808
|
}, "strip", z.ZodTypeAny, {
|
|
4813
4809
|
id: number;
|
|
4814
|
-
name
|
|
4815
|
-
email
|
|
4816
|
-
phone_number
|
|
4817
|
-
identifier: string | null;
|
|
4818
|
-
customer_stage_explanation: string | null;
|
|
4810
|
+
name?: string | null | undefined;
|
|
4811
|
+
email?: string | null | undefined;
|
|
4812
|
+
phone_number?: string | null | undefined;
|
|
4819
4813
|
type?: string | undefined;
|
|
4820
4814
|
thumbnail?: string | undefined;
|
|
4815
|
+
identifier?: string | null | undefined;
|
|
4821
4816
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4822
4817
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4823
4818
|
blocked?: boolean | undefined;
|
|
4824
4819
|
customer_stage?: string | undefined;
|
|
4820
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4825
4821
|
}, {
|
|
4826
4822
|
id: number;
|
|
4827
|
-
name
|
|
4828
|
-
email
|
|
4829
|
-
phone_number
|
|
4830
|
-
identifier: string | null;
|
|
4831
|
-
customer_stage_explanation: string | null;
|
|
4823
|
+
name?: string | null | undefined;
|
|
4824
|
+
email?: string | null | undefined;
|
|
4825
|
+
phone_number?: string | null | undefined;
|
|
4832
4826
|
type?: string | undefined;
|
|
4833
4827
|
thumbnail?: string | undefined;
|
|
4828
|
+
identifier?: string | null | undefined;
|
|
4834
4829
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4835
4830
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4836
4831
|
blocked?: boolean | undefined;
|
|
4837
4832
|
customer_stage?: string | undefined;
|
|
4833
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4838
4834
|
}>;
|
|
4839
4835
|
}, "strip", z.ZodTypeAny, {
|
|
4840
4836
|
id: number;
|
|
@@ -4854,17 +4850,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4854
4850
|
conversation_id: number;
|
|
4855
4851
|
sender: {
|
|
4856
4852
|
id: number;
|
|
4857
|
-
name
|
|
4858
|
-
email
|
|
4859
|
-
phone_number
|
|
4860
|
-
identifier: string | null;
|
|
4861
|
-
customer_stage_explanation: string | null;
|
|
4853
|
+
name?: string | null | undefined;
|
|
4854
|
+
email?: string | null | undefined;
|
|
4855
|
+
phone_number?: string | null | undefined;
|
|
4862
4856
|
type?: string | undefined;
|
|
4863
4857
|
thumbnail?: string | undefined;
|
|
4858
|
+
identifier?: string | null | undefined;
|
|
4864
4859
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4865
4860
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4866
4861
|
blocked?: boolean | undefined;
|
|
4867
4862
|
customer_stage?: string | undefined;
|
|
4863
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4868
4864
|
};
|
|
4869
4865
|
additional_attributes: Record<string, unknown>;
|
|
4870
4866
|
inbox_id: number;
|
|
@@ -4904,17 +4900,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
4904
4900
|
conversation_id: number;
|
|
4905
4901
|
sender: {
|
|
4906
4902
|
id: number;
|
|
4907
|
-
name
|
|
4908
|
-
email
|
|
4909
|
-
phone_number
|
|
4910
|
-
identifier: string | null;
|
|
4911
|
-
customer_stage_explanation: string | null;
|
|
4903
|
+
name?: string | null | undefined;
|
|
4904
|
+
email?: string | null | undefined;
|
|
4905
|
+
phone_number?: string | null | undefined;
|
|
4912
4906
|
type?: string | undefined;
|
|
4913
4907
|
thumbnail?: string | undefined;
|
|
4908
|
+
identifier?: string | null | undefined;
|
|
4914
4909
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
4915
4910
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
4916
4911
|
blocked?: boolean | undefined;
|
|
4917
4912
|
customer_stage?: string | undefined;
|
|
4913
|
+
customer_stage_explanation?: string | null | undefined;
|
|
4918
4914
|
};
|
|
4919
4915
|
additional_attributes: Record<string, unknown>;
|
|
4920
4916
|
inbox_id: number;
|
|
@@ -5133,17 +5129,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5133
5129
|
conversation_id: number;
|
|
5134
5130
|
sender: {
|
|
5135
5131
|
id: number;
|
|
5136
|
-
name
|
|
5137
|
-
email
|
|
5138
|
-
phone_number
|
|
5139
|
-
identifier: string | null;
|
|
5140
|
-
customer_stage_explanation: string | null;
|
|
5132
|
+
name?: string | null | undefined;
|
|
5133
|
+
email?: string | null | undefined;
|
|
5134
|
+
phone_number?: string | null | undefined;
|
|
5141
5135
|
type?: string | undefined;
|
|
5142
5136
|
thumbnail?: string | undefined;
|
|
5137
|
+
identifier?: string | null | undefined;
|
|
5143
5138
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
5144
5139
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
5145
5140
|
blocked?: boolean | undefined;
|
|
5146
5141
|
customer_stage?: string | undefined;
|
|
5142
|
+
customer_stage_explanation?: string | null | undefined;
|
|
5147
5143
|
};
|
|
5148
5144
|
additional_attributes: Record<string, unknown>;
|
|
5149
5145
|
inbox_id: number;
|
|
@@ -5256,17 +5252,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5256
5252
|
conversation_id: number;
|
|
5257
5253
|
sender: {
|
|
5258
5254
|
id: number;
|
|
5259
|
-
name
|
|
5260
|
-
email
|
|
5261
|
-
phone_number
|
|
5262
|
-
identifier: string | null;
|
|
5263
|
-
customer_stage_explanation: string | null;
|
|
5255
|
+
name?: string | null | undefined;
|
|
5256
|
+
email?: string | null | undefined;
|
|
5257
|
+
phone_number?: string | null | undefined;
|
|
5264
5258
|
type?: string | undefined;
|
|
5265
5259
|
thumbnail?: string | undefined;
|
|
5260
|
+
identifier?: string | null | undefined;
|
|
5266
5261
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
5267
5262
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
5268
5263
|
blocked?: boolean | undefined;
|
|
5269
5264
|
customer_stage?: string | undefined;
|
|
5265
|
+
customer_stage_explanation?: string | null | undefined;
|
|
5270
5266
|
};
|
|
5271
5267
|
additional_attributes: Record<string, unknown>;
|
|
5272
5268
|
inbox_id: number;
|
|
@@ -5318,20 +5314,19 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5318
5314
|
message_type: z.ZodEnum<["incoming", "outgoing"]>;
|
|
5319
5315
|
private: z.ZodBoolean;
|
|
5320
5316
|
status: z.ZodString;
|
|
5321
|
-
sender: z.ZodObject<
|
|
5317
|
+
sender: z.ZodObject<{
|
|
5322
5318
|
id: z.ZodNumber;
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
identifier: z.ZodNullable<z.ZodString
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
}, "type"> & {
|
|
5319
|
+
} & {
|
|
5320
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5321
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5322
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5323
|
+
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5324
|
+
customer_stage_explanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5325
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
5326
|
+
additional_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5327
|
+
custom_attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5328
|
+
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
5329
|
+
customer_stage: z.ZodOptional<z.ZodString>;
|
|
5335
5330
|
account: z.ZodOptional<z.ZodObject<{
|
|
5336
5331
|
id: z.ZodNumber;
|
|
5337
5332
|
name: z.ZodString;
|
|
@@ -5345,16 +5340,16 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5345
5340
|
avatar: z.ZodOptional<z.ZodString>;
|
|
5346
5341
|
}, "strip", z.ZodTypeAny, {
|
|
5347
5342
|
id: number;
|
|
5348
|
-
name
|
|
5349
|
-
email
|
|
5350
|
-
phone_number
|
|
5351
|
-
thumbnail
|
|
5352
|
-
identifier
|
|
5353
|
-
additional_attributes
|
|
5354
|
-
custom_attributes
|
|
5355
|
-
blocked
|
|
5356
|
-
customer_stage
|
|
5357
|
-
customer_stage_explanation
|
|
5343
|
+
name?: string | null | undefined;
|
|
5344
|
+
email?: string | null | undefined;
|
|
5345
|
+
phone_number?: string | null | undefined;
|
|
5346
|
+
thumbnail?: string | undefined;
|
|
5347
|
+
identifier?: string | null | undefined;
|
|
5348
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
5349
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
5350
|
+
blocked?: boolean | undefined;
|
|
5351
|
+
customer_stage?: string | undefined;
|
|
5352
|
+
customer_stage_explanation?: string | null | undefined;
|
|
5358
5353
|
account?: {
|
|
5359
5354
|
id: number;
|
|
5360
5355
|
name: string;
|
|
@@ -5362,16 +5357,16 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5362
5357
|
avatar?: string | undefined;
|
|
5363
5358
|
}, {
|
|
5364
5359
|
id: number;
|
|
5365
|
-
name
|
|
5366
|
-
email
|
|
5367
|
-
phone_number
|
|
5368
|
-
thumbnail
|
|
5369
|
-
identifier
|
|
5370
|
-
additional_attributes
|
|
5371
|
-
custom_attributes
|
|
5372
|
-
blocked
|
|
5373
|
-
customer_stage
|
|
5374
|
-
customer_stage_explanation
|
|
5360
|
+
name?: string | null | undefined;
|
|
5361
|
+
email?: string | null | undefined;
|
|
5362
|
+
phone_number?: string | null | undefined;
|
|
5363
|
+
thumbnail?: string | undefined;
|
|
5364
|
+
identifier?: string | null | undefined;
|
|
5365
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
5366
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
5367
|
+
blocked?: boolean | undefined;
|
|
5368
|
+
customer_stage?: string | undefined;
|
|
5369
|
+
customer_stage_explanation?: string | null | undefined;
|
|
5375
5370
|
account?: {
|
|
5376
5371
|
id: number;
|
|
5377
5372
|
name: string;
|
|
@@ -5396,16 +5391,16 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5396
5391
|
};
|
|
5397
5392
|
sender: {
|
|
5398
5393
|
id: number;
|
|
5399
|
-
name
|
|
5400
|
-
email
|
|
5401
|
-
phone_number
|
|
5402
|
-
thumbnail
|
|
5403
|
-
identifier
|
|
5404
|
-
additional_attributes
|
|
5405
|
-
custom_attributes
|
|
5406
|
-
blocked
|
|
5407
|
-
customer_stage
|
|
5408
|
-
customer_stage_explanation
|
|
5394
|
+
name?: string | null | undefined;
|
|
5395
|
+
email?: string | null | undefined;
|
|
5396
|
+
phone_number?: string | null | undefined;
|
|
5397
|
+
thumbnail?: string | undefined;
|
|
5398
|
+
identifier?: string | null | undefined;
|
|
5399
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
5400
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
5401
|
+
blocked?: boolean | undefined;
|
|
5402
|
+
customer_stage?: string | undefined;
|
|
5403
|
+
customer_stage_explanation?: string | null | undefined;
|
|
5409
5404
|
account?: {
|
|
5410
5405
|
id: number;
|
|
5411
5406
|
name: string;
|
|
@@ -5495,17 +5490,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5495
5490
|
conversation_id: number;
|
|
5496
5491
|
sender: {
|
|
5497
5492
|
id: number;
|
|
5498
|
-
name
|
|
5499
|
-
email
|
|
5500
|
-
phone_number
|
|
5501
|
-
identifier: string | null;
|
|
5502
|
-
customer_stage_explanation: string | null;
|
|
5493
|
+
name?: string | null | undefined;
|
|
5494
|
+
email?: string | null | undefined;
|
|
5495
|
+
phone_number?: string | null | undefined;
|
|
5503
5496
|
type?: string | undefined;
|
|
5504
5497
|
thumbnail?: string | undefined;
|
|
5498
|
+
identifier?: string | null | undefined;
|
|
5505
5499
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
5506
5500
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
5507
5501
|
blocked?: boolean | undefined;
|
|
5508
5502
|
customer_stage?: string | undefined;
|
|
5503
|
+
customer_stage_explanation?: string | null | undefined;
|
|
5509
5504
|
};
|
|
5510
5505
|
additional_attributes: Record<string, unknown>;
|
|
5511
5506
|
inbox_id: number;
|
|
@@ -5562,16 +5557,16 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5562
5557
|
};
|
|
5563
5558
|
sender: {
|
|
5564
5559
|
id: number;
|
|
5565
|
-
name
|
|
5566
|
-
email
|
|
5567
|
-
phone_number
|
|
5568
|
-
thumbnail
|
|
5569
|
-
identifier
|
|
5570
|
-
additional_attributes
|
|
5571
|
-
custom_attributes
|
|
5572
|
-
blocked
|
|
5573
|
-
customer_stage
|
|
5574
|
-
customer_stage_explanation
|
|
5560
|
+
name?: string | null | undefined;
|
|
5561
|
+
email?: string | null | undefined;
|
|
5562
|
+
phone_number?: string | null | undefined;
|
|
5563
|
+
thumbnail?: string | undefined;
|
|
5564
|
+
identifier?: string | null | undefined;
|
|
5565
|
+
additional_attributes?: Record<string, unknown> | undefined;
|
|
5566
|
+
custom_attributes?: Record<string, unknown> | undefined;
|
|
5567
|
+
blocked?: boolean | undefined;
|
|
5568
|
+
customer_stage?: string | undefined;
|
|
5569
|
+
customer_stage_explanation?: string | null | undefined;
|
|
5575
5570
|
account?: {
|
|
5576
5571
|
id: number;
|
|
5577
5572
|
name: string;
|
|
@@ -5661,17 +5656,17 @@ export declare const WebhookEventSchema: z.ZodDiscriminatedUnion<"event", [z.Zod
|
|
|
5661
5656
|
conversation_id: number;
|
|
5662
5657
|
sender: {
|
|
5663
5658
|
id: number;
|
|
5664
|
-
name
|
|
5665
|
-
email
|
|
5666
|
-
phone_number
|
|
5667
|
-
identifier: string | null;
|
|
5668
|
-
customer_stage_explanation: string | null;
|
|
5659
|
+
name?: string | null | undefined;
|
|
5660
|
+
email?: string | null | undefined;
|
|
5661
|
+
phone_number?: string | null | undefined;
|
|
5669
5662
|
type?: string | undefined;
|
|
5670
5663
|
thumbnail?: string | undefined;
|
|
5664
|
+
identifier?: string | null | undefined;
|
|
5671
5665
|
additional_attributes?: Record<string, unknown> | undefined;
|
|
5672
5666
|
custom_attributes?: Record<string, unknown> | undefined;
|
|
5673
5667
|
blocked?: boolean | undefined;
|
|
5674
5668
|
customer_stage?: string | undefined;
|
|
5669
|
+
customer_stage_explanation?: string | null | undefined;
|
|
5675
5670
|
};
|
|
5676
5671
|
additional_attributes: Record<string, unknown>;
|
|
5677
5672
|
inbox_id: number;
|