@voltade/envoy-sdk 1.2.6 → 1.2.7
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.
|
@@ -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<{
|
|
@@ -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, {
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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, {
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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, {
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -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, {
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -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, {
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -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, {
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -46,7 +46,7 @@ export const WebhookSenderSchema = ContactSchema.omit({ type: true }).extend({
|
|
|
46
46
|
additional_attributes: z.record(z.unknown()).optional(),
|
|
47
47
|
custom_attributes: z.record(z.unknown()).optional(),
|
|
48
48
|
blocked: z.boolean().optional(),
|
|
49
|
-
customer_stage: z.string().
|
|
49
|
+
customer_stage: z.string().nullish(),
|
|
50
50
|
account: AccountRefSchema.optional(),
|
|
51
51
|
avatar: z.string().optional(),
|
|
52
52
|
});
|
|
@@ -74,7 +74,7 @@ export const MessageSenderSchema = ContactSchema.extend({
|
|
|
74
74
|
additional_attributes: z.record(z.unknown()).optional(),
|
|
75
75
|
custom_attributes: z.record(z.unknown()).optional(),
|
|
76
76
|
blocked: z.boolean().optional(),
|
|
77
|
-
customer_stage: z.string().
|
|
77
|
+
customer_stage: z.string().nullish(),
|
|
78
78
|
});
|
|
79
79
|
// Full message in webhook payload (extends beyond basic MessageSchema)
|
|
80
80
|
export const WebhookMessageSchema = z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../resources/webhooks/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,wBAAwB,EACxB,aAAa,EACb,kBAAkB,GACnB,MAAM,2BAA2B,CAAC;AAEnC;;GAEG;AAEH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH,yBAAyB;AACzB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH,wCAAwC;AACxC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE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