chatbot-lex-design-builder 1.0.18 → 1.0.20

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.
Files changed (63) hide show
  1. package/dist/cjs/types/graph/graph.d.ts +339 -0
  2. package/dist/cjs/types/nodes/closing-response-node.d.ts +33 -0
  3. package/dist/cjs/types/nodes/codehook-node.d.ts +99 -0
  4. package/dist/cjs/types/nodes/condition-node.d.ts +87 -0
  5. package/dist/cjs/types/nodes/confirmation-node.d.ts +132 -0
  6. package/dist/cjs/types/nodes/fullfillment-node.d.ts +99 -0
  7. package/dist/cjs/types/nodes/intent-node.js +1 -1
  8. package/dist/cjs/types/nodes/intent-node.js.map +1 -1
  9. package/dist/cjs/types/nodes/node.d.ts +291 -0
  10. package/dist/cjs/types/nodes/slot-node.d.ts +99 -0
  11. package/dist/cjs/types/nodes/slot-node.js +1 -1
  12. package/dist/cjs/types/nodes/slot-node.js.map +1 -1
  13. package/dist/cjs/types/others/bot-flow.d.ts +822 -0
  14. package/dist/cjs/types/responses/index.d.ts +1 -0
  15. package/dist/cjs/types/responses/index.js +1 -0
  16. package/dist/cjs/types/responses/index.js.map +1 -1
  17. package/dist/cjs/types/responses/leadGeneration.d.ts +13 -0
  18. package/dist/cjs/types/responses/leadGeneration.js +13 -0
  19. package/dist/cjs/types/responses/leadGeneration.js.map +1 -0
  20. package/dist/cjs/types/responses/message-type.d.ts +2 -1
  21. package/dist/cjs/types/responses/message-type.js +1 -0
  22. package/dist/cjs/types/responses/message-type.js.map +1 -1
  23. package/dist/cjs/types/responses/message.d.ts +21 -0
  24. package/dist/cjs/types/responses/message.js +2 -0
  25. package/dist/cjs/types/responses/message.js.map +1 -1
  26. package/dist/cjs/utils/find-first-fullfillment-node.d.ts +9 -0
  27. package/dist/cjs/utils/get-bfs-order.d.ts +48 -0
  28. package/dist/cjs/utils/get-first-closing-response-node.d.ts +3 -0
  29. package/dist/cjs/utils/get-first-confirmation-node.d.ts +12 -0
  30. package/dist/cjs/utils/get-slot-nodes.d.ts +9 -0
  31. package/dist/cjs/utils/validate-graph.d.ts +48 -0
  32. package/dist/esm/types/graph/graph.d.ts +339 -0
  33. package/dist/esm/types/nodes/closing-response-node.d.ts +33 -0
  34. package/dist/esm/types/nodes/codehook-node.d.ts +99 -0
  35. package/dist/esm/types/nodes/condition-node.d.ts +87 -0
  36. package/dist/esm/types/nodes/confirmation-node.d.ts +132 -0
  37. package/dist/esm/types/nodes/fullfillment-node.d.ts +99 -0
  38. package/dist/esm/types/nodes/intent-node.js +1 -1
  39. package/dist/esm/types/nodes/intent-node.js.map +1 -1
  40. package/dist/esm/types/nodes/node.d.ts +291 -0
  41. package/dist/esm/types/nodes/slot-node.d.ts +99 -0
  42. package/dist/esm/types/nodes/slot-node.js +1 -1
  43. package/dist/esm/types/nodes/slot-node.js.map +1 -1
  44. package/dist/esm/types/others/bot-flow.d.ts +822 -0
  45. package/dist/esm/types/responses/index.d.ts +1 -0
  46. package/dist/esm/types/responses/index.js +1 -0
  47. package/dist/esm/types/responses/index.js.map +1 -1
  48. package/dist/esm/types/responses/leadGeneration.d.ts +13 -0
  49. package/dist/esm/types/responses/leadGeneration.js +7 -0
  50. package/dist/esm/types/responses/leadGeneration.js.map +1 -0
  51. package/dist/esm/types/responses/message-type.d.ts +2 -1
  52. package/dist/esm/types/responses/message-type.js +1 -0
  53. package/dist/esm/types/responses/message-type.js.map +1 -1
  54. package/dist/esm/types/responses/message.d.ts +21 -0
  55. package/dist/esm/types/responses/message.js +2 -0
  56. package/dist/esm/types/responses/message.js.map +1 -1
  57. package/dist/esm/utils/find-first-fullfillment-node.d.ts +9 -0
  58. package/dist/esm/utils/get-bfs-order.d.ts +48 -0
  59. package/dist/esm/utils/get-first-closing-response-node.d.ts +3 -0
  60. package/dist/esm/utils/get-first-confirmation-node.d.ts +12 -0
  61. package/dist/esm/utils/get-slot-nodes.d.ts +9 -0
  62. package/dist/esm/utils/validate-graph.d.ts +48 -0
  63. package/package.json +1 -1
@@ -356,6 +356,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
356
356
  submitButton: {
357
357
  label?: unknown;
358
358
  };
359
+ }>, z.ZodObject<{
360
+ id: z.ZodString;
361
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
362
+ }, "strip", z.ZodTypeAny, {
363
+ type: import("../responses").MessageType.leadGeneration;
364
+ id: string;
365
+ }, {
366
+ type: import("../responses").MessageType.leadGeneration;
367
+ id: string;
359
368
  }>]>, "many">>;
360
369
  }, "strip", z.ZodTypeAny, {
361
370
  languageCode: string;
@@ -403,6 +412,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
403
412
  submitButton: {
404
413
  label: string;
405
414
  };
415
+ } | {
416
+ type: import("../responses").MessageType.leadGeneration;
417
+ id: string;
406
418
  } | {
407
419
  type: import("../responses").MessageType.text;
408
420
  id: string;
@@ -486,6 +498,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
486
498
  submitButton: {
487
499
  label: string;
488
500
  };
501
+ } | {
502
+ type: import("../responses").MessageType.leadGeneration;
503
+ id: string;
489
504
  } | {
490
505
  type: import("../responses").MessageType.text;
491
506
  id: string;
@@ -574,6 +589,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
574
589
  submitButton: {
575
590
  label: string;
576
591
  };
592
+ } | {
593
+ type: import("../responses").MessageType.leadGeneration;
594
+ id: string;
577
595
  } | {
578
596
  type: import("../responses").MessageType.text;
579
597
  id: string;
@@ -977,6 +995,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
977
995
  submitButton: {
978
996
  label?: unknown;
979
997
  };
998
+ }>, z.ZodObject<{
999
+ id: z.ZodString;
1000
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
1001
+ }, "strip", z.ZodTypeAny, {
1002
+ type: import("../responses").MessageType.leadGeneration;
1003
+ id: string;
1004
+ }, {
1005
+ type: import("../responses").MessageType.leadGeneration;
1006
+ id: string;
980
1007
  }>]>, "many">>;
981
1008
  }, "strip", z.ZodTypeAny, {
982
1009
  languageCode: string;
@@ -1024,6 +1051,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
1024
1051
  submitButton: {
1025
1052
  label: string;
1026
1053
  };
1054
+ } | {
1055
+ type: import("../responses").MessageType.leadGeneration;
1056
+ id: string;
1027
1057
  } | {
1028
1058
  type: import("../responses").MessageType.text;
1029
1059
  id: string;
@@ -1411,6 +1441,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
1411
1441
  submitButton: {
1412
1442
  label?: unknown;
1413
1443
  };
1444
+ }>, z.ZodObject<{
1445
+ id: z.ZodString;
1446
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
1447
+ }, "strip", z.ZodTypeAny, {
1448
+ type: import("../responses").MessageType.leadGeneration;
1449
+ id: string;
1450
+ }, {
1451
+ type: import("../responses").MessageType.leadGeneration;
1452
+ id: string;
1414
1453
  }>]>, "many">>;
1415
1454
  }, "strip", z.ZodTypeAny, {
1416
1455
  languageCode: string;
@@ -1458,6 +1497,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
1458
1497
  submitButton: {
1459
1498
  label: string;
1460
1499
  };
1500
+ } | {
1501
+ type: import("../responses").MessageType.leadGeneration;
1502
+ id: string;
1461
1503
  } | {
1462
1504
  type: import("../responses").MessageType.text;
1463
1505
  id: string;
@@ -1845,6 +1887,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
1845
1887
  submitButton: {
1846
1888
  label?: unknown;
1847
1889
  };
1890
+ }>, z.ZodObject<{
1891
+ id: z.ZodString;
1892
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
1893
+ }, "strip", z.ZodTypeAny, {
1894
+ type: import("../responses").MessageType.leadGeneration;
1895
+ id: string;
1896
+ }, {
1897
+ type: import("../responses").MessageType.leadGeneration;
1898
+ id: string;
1848
1899
  }>]>, "many">>;
1849
1900
  }, "strip", z.ZodTypeAny, {
1850
1901
  languageCode: string;
@@ -1892,6 +1943,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
1892
1943
  submitButton: {
1893
1944
  label: string;
1894
1945
  };
1946
+ } | {
1947
+ type: import("../responses").MessageType.leadGeneration;
1948
+ id: string;
1895
1949
  } | {
1896
1950
  type: import("../responses").MessageType.text;
1897
1951
  id: string;
@@ -1979,6 +2033,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
1979
2033
  submitButton: {
1980
2034
  label: string;
1981
2035
  };
2036
+ } | {
2037
+ type: import("../responses").MessageType.leadGeneration;
2038
+ id: string;
1982
2039
  } | {
1983
2040
  type: import("../responses").MessageType.text;
1984
2041
  id: string;
@@ -2057,6 +2114,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
2057
2114
  submitButton: {
2058
2115
  label: string;
2059
2116
  };
2117
+ } | {
2118
+ type: import("../responses").MessageType.leadGeneration;
2119
+ id: string;
2060
2120
  } | {
2061
2121
  type: import("../responses").MessageType.text;
2062
2122
  id: string;
@@ -2137,6 +2197,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
2137
2197
  submitButton: {
2138
2198
  label: string;
2139
2199
  };
2200
+ } | {
2201
+ type: import("../responses").MessageType.leadGeneration;
2202
+ id: string;
2140
2203
  } | {
2141
2204
  type: import("../responses").MessageType.text;
2142
2205
  id: string;
@@ -2233,6 +2296,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
2233
2296
  submitButton: {
2234
2297
  label: string;
2235
2298
  };
2299
+ } | {
2300
+ type: import("../responses").MessageType.leadGeneration;
2301
+ id: string;
2236
2302
  } | {
2237
2303
  type: import("../responses").MessageType.text;
2238
2304
  id: string;
@@ -2311,6 +2377,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
2311
2377
  submitButton: {
2312
2378
  label: string;
2313
2379
  };
2380
+ } | {
2381
+ type: import("../responses").MessageType.leadGeneration;
2382
+ id: string;
2314
2383
  } | {
2315
2384
  type: import("../responses").MessageType.text;
2316
2385
  id: string;
@@ -2391,6 +2460,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
2391
2460
  submitButton: {
2392
2461
  label: string;
2393
2462
  };
2463
+ } | {
2464
+ type: import("../responses").MessageType.leadGeneration;
2465
+ id: string;
2394
2466
  } | {
2395
2467
  type: import("../responses").MessageType.text;
2396
2468
  id: string;
@@ -2797,6 +2869,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
2797
2869
  submitButton: {
2798
2870
  label?: unknown;
2799
2871
  };
2872
+ }>, z.ZodObject<{
2873
+ id: z.ZodString;
2874
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
2875
+ }, "strip", z.ZodTypeAny, {
2876
+ type: import("../responses").MessageType.leadGeneration;
2877
+ id: string;
2878
+ }, {
2879
+ type: import("../responses").MessageType.leadGeneration;
2880
+ id: string;
2800
2881
  }>]>, "many">>;
2801
2882
  }, "strip", z.ZodTypeAny, {
2802
2883
  languageCode: string;
@@ -2844,6 +2925,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
2844
2925
  submitButton: {
2845
2926
  label: string;
2846
2927
  };
2928
+ } | {
2929
+ type: import("../responses").MessageType.leadGeneration;
2930
+ id: string;
2847
2931
  } | {
2848
2932
  type: import("../responses").MessageType.text;
2849
2933
  id: string;
@@ -3235,6 +3319,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
3235
3319
  submitButton: {
3236
3320
  label?: unknown;
3237
3321
  };
3322
+ }>, z.ZodObject<{
3323
+ id: z.ZodString;
3324
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
3325
+ }, "strip", z.ZodTypeAny, {
3326
+ type: import("../responses").MessageType.leadGeneration;
3327
+ id: string;
3328
+ }, {
3329
+ type: import("../responses").MessageType.leadGeneration;
3330
+ id: string;
3238
3331
  }>]>, "many">>;
3239
3332
  }, "strip", z.ZodTypeAny, {
3240
3333
  languageCode: string;
@@ -3282,6 +3375,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
3282
3375
  submitButton: {
3283
3376
  label: string;
3284
3377
  };
3378
+ } | {
3379
+ type: import("../responses").MessageType.leadGeneration;
3380
+ id: string;
3285
3381
  } | {
3286
3382
  type: import("../responses").MessageType.text;
3287
3383
  id: string;
@@ -3366,6 +3462,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
3366
3462
  submitButton: {
3367
3463
  label: string;
3368
3464
  };
3465
+ } | {
3466
+ type: import("../responses").MessageType.leadGeneration;
3467
+ id: string;
3369
3468
  } | {
3370
3469
  type: import("../responses").MessageType.text;
3371
3470
  id: string;
@@ -3453,6 +3552,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
3453
3552
  submitButton: {
3454
3553
  label: string;
3455
3554
  };
3555
+ } | {
3556
+ type: import("../responses").MessageType.leadGeneration;
3557
+ id: string;
3456
3558
  } | {
3457
3559
  type: import("../responses").MessageType.text;
3458
3560
  id: string;
@@ -3535,6 +3637,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
3535
3637
  submitButton: {
3536
3638
  label: string;
3537
3639
  };
3640
+ } | {
3641
+ type: import("../responses").MessageType.leadGeneration;
3642
+ id: string;
3538
3643
  } | {
3539
3644
  type: import("../responses").MessageType.text;
3540
3645
  id: string;
@@ -3628,6 +3733,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
3628
3733
  submitButton: {
3629
3734
  label: string;
3630
3735
  };
3736
+ } | {
3737
+ type: import("../responses").MessageType.leadGeneration;
3738
+ id: string;
3631
3739
  } | {
3632
3740
  type: import("../responses").MessageType.text;
3633
3741
  id: string;
@@ -3710,6 +3818,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
3710
3818
  submitButton: {
3711
3819
  label: string;
3712
3820
  };
3821
+ } | {
3822
+ type: import("../responses").MessageType.leadGeneration;
3823
+ id: string;
3713
3824
  } | {
3714
3825
  type: import("../responses").MessageType.text;
3715
3826
  id: string;
@@ -4116,6 +4227,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
4116
4227
  submitButton: {
4117
4228
  label?: unknown;
4118
4229
  };
4230
+ }>, z.ZodObject<{
4231
+ id: z.ZodString;
4232
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
4233
+ }, "strip", z.ZodTypeAny, {
4234
+ type: import("../responses").MessageType.leadGeneration;
4235
+ id: string;
4236
+ }, {
4237
+ type: import("../responses").MessageType.leadGeneration;
4238
+ id: string;
4119
4239
  }>]>, "many">>;
4120
4240
  }, "strip", z.ZodTypeAny, {
4121
4241
  languageCode: string;
@@ -4163,6 +4283,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
4163
4283
  submitButton: {
4164
4284
  label: string;
4165
4285
  };
4286
+ } | {
4287
+ type: import("../responses").MessageType.leadGeneration;
4288
+ id: string;
4166
4289
  } | {
4167
4290
  type: import("../responses").MessageType.text;
4168
4291
  id: string;
@@ -4550,6 +4673,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
4550
4673
  submitButton: {
4551
4674
  label?: unknown;
4552
4675
  };
4676
+ }>, z.ZodObject<{
4677
+ id: z.ZodString;
4678
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
4679
+ }, "strip", z.ZodTypeAny, {
4680
+ type: import("../responses").MessageType.leadGeneration;
4681
+ id: string;
4682
+ }, {
4683
+ type: import("../responses").MessageType.leadGeneration;
4684
+ id: string;
4553
4685
  }>]>, "many">>;
4554
4686
  }, "strip", z.ZodTypeAny, {
4555
4687
  languageCode: string;
@@ -4597,6 +4729,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
4597
4729
  submitButton: {
4598
4730
  label: string;
4599
4731
  };
4732
+ } | {
4733
+ type: import("../responses").MessageType.leadGeneration;
4734
+ id: string;
4600
4735
  } | {
4601
4736
  type: import("../responses").MessageType.text;
4602
4737
  id: string;
@@ -4984,6 +5119,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
4984
5119
  submitButton: {
4985
5120
  label?: unknown;
4986
5121
  };
5122
+ }>, z.ZodObject<{
5123
+ id: z.ZodString;
5124
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
5125
+ }, "strip", z.ZodTypeAny, {
5126
+ type: import("../responses").MessageType.leadGeneration;
5127
+ id: string;
5128
+ }, {
5129
+ type: import("../responses").MessageType.leadGeneration;
5130
+ id: string;
4987
5131
  }>]>, "many">>;
4988
5132
  }, "strip", z.ZodTypeAny, {
4989
5133
  languageCode: string;
@@ -5031,6 +5175,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
5031
5175
  submitButton: {
5032
5176
  label: string;
5033
5177
  };
5178
+ } | {
5179
+ type: import("../responses").MessageType.leadGeneration;
5180
+ id: string;
5034
5181
  } | {
5035
5182
  type: import("../responses").MessageType.text;
5036
5183
  id: string;
@@ -5418,6 +5565,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
5418
5565
  submitButton: {
5419
5566
  label?: unknown;
5420
5567
  };
5568
+ }>, z.ZodObject<{
5569
+ id: z.ZodString;
5570
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
5571
+ }, "strip", z.ZodTypeAny, {
5572
+ type: import("../responses").MessageType.leadGeneration;
5573
+ id: string;
5574
+ }, {
5575
+ type: import("../responses").MessageType.leadGeneration;
5576
+ id: string;
5421
5577
  }>]>, "many">>;
5422
5578
  }, "strip", z.ZodTypeAny, {
5423
5579
  languageCode: string;
@@ -5465,6 +5621,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
5465
5621
  submitButton: {
5466
5622
  label: string;
5467
5623
  };
5624
+ } | {
5625
+ type: import("../responses").MessageType.leadGeneration;
5626
+ id: string;
5468
5627
  } | {
5469
5628
  type: import("../responses").MessageType.text;
5470
5629
  id: string;
@@ -5549,6 +5708,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
5549
5708
  submitButton: {
5550
5709
  label: string;
5551
5710
  };
5711
+ } | {
5712
+ type: import("../responses").MessageType.leadGeneration;
5713
+ id: string;
5552
5714
  } | {
5553
5715
  type: import("../responses").MessageType.text;
5554
5716
  id: string;
@@ -5627,6 +5789,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
5627
5789
  submitButton: {
5628
5790
  label: string;
5629
5791
  };
5792
+ } | {
5793
+ type: import("../responses").MessageType.leadGeneration;
5794
+ id: string;
5630
5795
  } | {
5631
5796
  type: import("../responses").MessageType.text;
5632
5797
  id: string;
@@ -5706,6 +5871,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
5706
5871
  submitButton: {
5707
5872
  label: string;
5708
5873
  };
5874
+ } | {
5875
+ type: import("../responses").MessageType.leadGeneration;
5876
+ id: string;
5709
5877
  } | {
5710
5878
  type: import("../responses").MessageType.text;
5711
5879
  id: string;
@@ -5784,6 +5952,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
5784
5952
  submitButton: {
5785
5953
  label: string;
5786
5954
  };
5955
+ } | {
5956
+ type: import("../responses").MessageType.leadGeneration;
5957
+ id: string;
5787
5958
  } | {
5788
5959
  type: import("../responses").MessageType.text;
5789
5960
  id: string;
@@ -5877,6 +6048,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
5877
6048
  submitButton: {
5878
6049
  label: string;
5879
6050
  };
6051
+ } | {
6052
+ type: import("../responses").MessageType.leadGeneration;
6053
+ id: string;
5880
6054
  } | {
5881
6055
  type: import("../responses").MessageType.text;
5882
6056
  id: string;
@@ -5955,6 +6129,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
5955
6129
  submitButton: {
5956
6130
  label: string;
5957
6131
  };
6132
+ } | {
6133
+ type: import("../responses").MessageType.leadGeneration;
6134
+ id: string;
5958
6135
  } | {
5959
6136
  type: import("../responses").MessageType.text;
5960
6137
  id: string;
@@ -6034,6 +6211,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
6034
6211
  submitButton: {
6035
6212
  label: string;
6036
6213
  };
6214
+ } | {
6215
+ type: import("../responses").MessageType.leadGeneration;
6216
+ id: string;
6037
6217
  } | {
6038
6218
  type: import("../responses").MessageType.text;
6039
6219
  id: string;
@@ -6112,6 +6292,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
6112
6292
  submitButton: {
6113
6293
  label: string;
6114
6294
  };
6295
+ } | {
6296
+ type: import("../responses").MessageType.leadGeneration;
6297
+ id: string;
6115
6298
  } | {
6116
6299
  type: import("../responses").MessageType.text;
6117
6300
  id: string;
@@ -6541,6 +6724,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
6541
6724
  submitButton: {
6542
6725
  label?: unknown;
6543
6726
  };
6727
+ }>, z.ZodObject<{
6728
+ id: z.ZodString;
6729
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
6730
+ }, "strip", z.ZodTypeAny, {
6731
+ type: import("../responses").MessageType.leadGeneration;
6732
+ id: string;
6733
+ }, {
6734
+ type: import("../responses").MessageType.leadGeneration;
6735
+ id: string;
6544
6736
  }>]>, "many">>;
6545
6737
  }, "strip", z.ZodTypeAny, {
6546
6738
  languageCode: string;
@@ -6588,6 +6780,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
6588
6780
  submitButton: {
6589
6781
  label: string;
6590
6782
  };
6783
+ } | {
6784
+ type: import("../responses").MessageType.leadGeneration;
6785
+ id: string;
6591
6786
  } | {
6592
6787
  type: import("../responses").MessageType.text;
6593
6788
  id: string;
@@ -6975,6 +7170,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
6975
7170
  submitButton: {
6976
7171
  label?: unknown;
6977
7172
  };
7173
+ }>, z.ZodObject<{
7174
+ id: z.ZodString;
7175
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
7176
+ }, "strip", z.ZodTypeAny, {
7177
+ type: import("../responses").MessageType.leadGeneration;
7178
+ id: string;
7179
+ }, {
7180
+ type: import("../responses").MessageType.leadGeneration;
7181
+ id: string;
6978
7182
  }>]>, "many">>;
6979
7183
  }, "strip", z.ZodTypeAny, {
6980
7184
  languageCode: string;
@@ -7022,6 +7226,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
7022
7226
  submitButton: {
7023
7227
  label: string;
7024
7228
  };
7229
+ } | {
7230
+ type: import("../responses").MessageType.leadGeneration;
7231
+ id: string;
7025
7232
  } | {
7026
7233
  type: import("../responses").MessageType.text;
7027
7234
  id: string;
@@ -7409,6 +7616,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
7409
7616
  submitButton: {
7410
7617
  label?: unknown;
7411
7618
  };
7619
+ }>, z.ZodObject<{
7620
+ id: z.ZodString;
7621
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
7622
+ }, "strip", z.ZodTypeAny, {
7623
+ type: import("../responses").MessageType.leadGeneration;
7624
+ id: string;
7625
+ }, {
7626
+ type: import("../responses").MessageType.leadGeneration;
7627
+ id: string;
7412
7628
  }>]>, "many">>;
7413
7629
  }, "strip", z.ZodTypeAny, {
7414
7630
  languageCode: string;
@@ -7456,6 +7672,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
7456
7672
  submitButton: {
7457
7673
  label: string;
7458
7674
  };
7675
+ } | {
7676
+ type: import("../responses").MessageType.leadGeneration;
7677
+ id: string;
7459
7678
  } | {
7460
7679
  type: import("../responses").MessageType.text;
7461
7680
  id: string;
@@ -7543,6 +7762,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
7543
7762
  submitButton: {
7544
7763
  label: string;
7545
7764
  };
7765
+ } | {
7766
+ type: import("../responses").MessageType.leadGeneration;
7767
+ id: string;
7546
7768
  } | {
7547
7769
  type: import("../responses").MessageType.text;
7548
7770
  id: string;
@@ -7621,6 +7843,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
7621
7843
  submitButton: {
7622
7844
  label: string;
7623
7845
  };
7846
+ } | {
7847
+ type: import("../responses").MessageType.leadGeneration;
7848
+ id: string;
7624
7849
  } | {
7625
7850
  type: import("../responses").MessageType.text;
7626
7851
  id: string;
@@ -7701,6 +7926,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
7701
7926
  submitButton: {
7702
7927
  label: string;
7703
7928
  };
7929
+ } | {
7930
+ type: import("../responses").MessageType.leadGeneration;
7931
+ id: string;
7704
7932
  } | {
7705
7933
  type: import("../responses").MessageType.text;
7706
7934
  id: string;
@@ -7797,6 +8025,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
7797
8025
  submitButton: {
7798
8026
  label: string;
7799
8027
  };
8028
+ } | {
8029
+ type: import("../responses").MessageType.leadGeneration;
8030
+ id: string;
7800
8031
  } | {
7801
8032
  type: import("../responses").MessageType.text;
7802
8033
  id: string;
@@ -7875,6 +8106,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
7875
8106
  submitButton: {
7876
8107
  label: string;
7877
8108
  };
8109
+ } | {
8110
+ type: import("../responses").MessageType.leadGeneration;
8111
+ id: string;
7878
8112
  } | {
7879
8113
  type: import("../responses").MessageType.text;
7880
8114
  id: string;
@@ -7955,6 +8189,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
7955
8189
  submitButton: {
7956
8190
  label: string;
7957
8191
  };
8192
+ } | {
8193
+ type: import("../responses").MessageType.leadGeneration;
8194
+ id: string;
7958
8195
  } | {
7959
8196
  type: import("../responses").MessageType.text;
7960
8197
  id: string;
@@ -8465,6 +8702,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
8465
8702
  submitButton: {
8466
8703
  label?: unknown;
8467
8704
  };
8705
+ }>, z.ZodObject<{
8706
+ id: z.ZodString;
8707
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
8708
+ }, "strip", z.ZodTypeAny, {
8709
+ type: import("../responses").MessageType.leadGeneration;
8710
+ id: string;
8711
+ }, {
8712
+ type: import("../responses").MessageType.leadGeneration;
8713
+ id: string;
8468
8714
  }>]>, "many">>;
8469
8715
  }, "strip", z.ZodTypeAny, {
8470
8716
  languageCode: string;
@@ -8512,6 +8758,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
8512
8758
  submitButton: {
8513
8759
  label: string;
8514
8760
  };
8761
+ } | {
8762
+ type: import("../responses").MessageType.leadGeneration;
8763
+ id: string;
8515
8764
  } | {
8516
8765
  type: import("../responses").MessageType.text;
8517
8766
  id: string;
@@ -8899,6 +9148,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
8899
9148
  submitButton: {
8900
9149
  label?: unknown;
8901
9150
  };
9151
+ }>, z.ZodObject<{
9152
+ id: z.ZodString;
9153
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
9154
+ }, "strip", z.ZodTypeAny, {
9155
+ type: import("../responses").MessageType.leadGeneration;
9156
+ id: string;
9157
+ }, {
9158
+ type: import("../responses").MessageType.leadGeneration;
9159
+ id: string;
8902
9160
  }>]>, "many">>;
8903
9161
  }, "strip", z.ZodTypeAny, {
8904
9162
  languageCode: string;
@@ -8946,6 +9204,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
8946
9204
  submitButton: {
8947
9205
  label: string;
8948
9206
  };
9207
+ } | {
9208
+ type: import("../responses").MessageType.leadGeneration;
9209
+ id: string;
8949
9210
  } | {
8950
9211
  type: import("../responses").MessageType.text;
8951
9212
  id: string;
@@ -9333,6 +9594,15 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
9333
9594
  submitButton: {
9334
9595
  label?: unknown;
9335
9596
  };
9597
+ }>, z.ZodObject<{
9598
+ id: z.ZodString;
9599
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
9600
+ }, "strip", z.ZodTypeAny, {
9601
+ type: import("../responses").MessageType.leadGeneration;
9602
+ id: string;
9603
+ }, {
9604
+ type: import("../responses").MessageType.leadGeneration;
9605
+ id: string;
9336
9606
  }>]>, "many">>;
9337
9607
  }, "strip", z.ZodTypeAny, {
9338
9608
  languageCode: string;
@@ -9380,6 +9650,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
9380
9650
  submitButton: {
9381
9651
  label: string;
9382
9652
  };
9653
+ } | {
9654
+ type: import("../responses").MessageType.leadGeneration;
9655
+ id: string;
9383
9656
  } | {
9384
9657
  type: import("../responses").MessageType.text;
9385
9658
  id: string;
@@ -9468,6 +9741,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
9468
9741
  submitButton: {
9469
9742
  label: string;
9470
9743
  };
9744
+ } | {
9745
+ type: import("../responses").MessageType.leadGeneration;
9746
+ id: string;
9471
9747
  } | {
9472
9748
  type: import("../responses").MessageType.text;
9473
9749
  id: string;
@@ -9546,6 +9822,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
9546
9822
  submitButton: {
9547
9823
  label: string;
9548
9824
  };
9825
+ } | {
9826
+ type: import("../responses").MessageType.leadGeneration;
9827
+ id: string;
9549
9828
  } | {
9550
9829
  type: import("../responses").MessageType.text;
9551
9830
  id: string;
@@ -9626,6 +9905,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
9626
9905
  submitButton: {
9627
9906
  label: string;
9628
9907
  };
9908
+ } | {
9909
+ type: import("../responses").MessageType.leadGeneration;
9910
+ id: string;
9629
9911
  } | {
9630
9912
  type: import("../responses").MessageType.text;
9631
9913
  id: string;
@@ -9733,6 +10015,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
9733
10015
  submitButton: {
9734
10016
  label: string;
9735
10017
  };
10018
+ } | {
10019
+ type: import("../responses").MessageType.leadGeneration;
10020
+ id: string;
9736
10021
  } | {
9737
10022
  type: import("../responses").MessageType.text;
9738
10023
  id: string;
@@ -9811,6 +10096,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
9811
10096
  submitButton: {
9812
10097
  label: string;
9813
10098
  };
10099
+ } | {
10100
+ type: import("../responses").MessageType.leadGeneration;
10101
+ id: string;
9814
10102
  } | {
9815
10103
  type: import("../responses").MessageType.text;
9816
10104
  id: string;
@@ -9891,6 +10179,9 @@ export declare const NodeSchema: z.ZodUnion<[z.ZodObject<{
9891
10179
  submitButton: {
9892
10180
  label: string;
9893
10181
  };
10182
+ } | {
10183
+ type: import("../responses").MessageType.leadGeneration;
10184
+ id: string;
9894
10185
  } | {
9895
10186
  type: import("../responses").MessageType.text;
9896
10187
  id: string;