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
@@ -354,6 +354,15 @@ export declare const ClosingResponseNodeDataSchema: z.ZodObject<{
354
354
  submitButton: {
355
355
  label?: unknown;
356
356
  };
357
+ }>, z.ZodObject<{
358
+ id: z.ZodString;
359
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
360
+ }, "strip", z.ZodTypeAny, {
361
+ type: import("../responses").MessageType.leadGeneration;
362
+ id: string;
363
+ }, {
364
+ type: import("../responses").MessageType.leadGeneration;
365
+ id: string;
357
366
  }>]>, "many">>;
358
367
  }, "strip", z.ZodTypeAny, {
359
368
  languageCode: string;
@@ -401,6 +410,9 @@ export declare const ClosingResponseNodeDataSchema: z.ZodObject<{
401
410
  submitButton: {
402
411
  label: string;
403
412
  };
413
+ } | {
414
+ type: import("../responses").MessageType.leadGeneration;
415
+ id: string;
404
416
  } | {
405
417
  type: import("../responses").MessageType.text;
406
418
  id: string;
@@ -484,6 +496,9 @@ export declare const ClosingResponseNodeDataSchema: z.ZodObject<{
484
496
  submitButton: {
485
497
  label: string;
486
498
  };
499
+ } | {
500
+ type: import("../responses").MessageType.leadGeneration;
501
+ id: string;
487
502
  } | {
488
503
  type: import("../responses").MessageType.text;
489
504
  id: string;
@@ -881,6 +896,15 @@ export declare const ClosingResponseNodeSchema: z.ZodObject<{
881
896
  submitButton: {
882
897
  label?: unknown;
883
898
  };
899
+ }>, z.ZodObject<{
900
+ id: z.ZodString;
901
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
902
+ }, "strip", z.ZodTypeAny, {
903
+ type: import("../responses").MessageType.leadGeneration;
904
+ id: string;
905
+ }, {
906
+ type: import("../responses").MessageType.leadGeneration;
907
+ id: string;
884
908
  }>]>, "many">>;
885
909
  }, "strip", z.ZodTypeAny, {
886
910
  languageCode: string;
@@ -928,6 +952,9 @@ export declare const ClosingResponseNodeSchema: z.ZodObject<{
928
952
  submitButton: {
929
953
  label: string;
930
954
  };
955
+ } | {
956
+ type: import("../responses").MessageType.leadGeneration;
957
+ id: string;
931
958
  } | {
932
959
  type: import("../responses").MessageType.text;
933
960
  id: string;
@@ -1011,6 +1038,9 @@ export declare const ClosingResponseNodeSchema: z.ZodObject<{
1011
1038
  submitButton: {
1012
1039
  label: string;
1013
1040
  };
1041
+ } | {
1042
+ type: import("../responses").MessageType.leadGeneration;
1043
+ id: string;
1014
1044
  } | {
1015
1045
  type: import("../responses").MessageType.text;
1016
1046
  id: string;
@@ -1099,6 +1129,9 @@ export declare const ClosingResponseNodeSchema: z.ZodObject<{
1099
1129
  submitButton: {
1100
1130
  label: string;
1101
1131
  };
1132
+ } | {
1133
+ type: import("../responses").MessageType.leadGeneration;
1134
+ id: string;
1102
1135
  } | {
1103
1136
  type: import("../responses").MessageType.text;
1104
1137
  id: string;
@@ -356,6 +356,15 @@ export declare const CodeHookNodeDataSchema: 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 CodeHookNodeDataSchema: 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;
@@ -790,6 +802,15 @@ export declare const CodeHookNodeDataSchema: z.ZodObject<{
790
802
  submitButton: {
791
803
  label?: unknown;
792
804
  };
805
+ }>, z.ZodObject<{
806
+ id: z.ZodString;
807
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
808
+ }, "strip", z.ZodTypeAny, {
809
+ type: import("../responses").MessageType.leadGeneration;
810
+ id: string;
811
+ }, {
812
+ type: import("../responses").MessageType.leadGeneration;
813
+ id: string;
793
814
  }>]>, "many">>;
794
815
  }, "strip", z.ZodTypeAny, {
795
816
  languageCode: string;
@@ -837,6 +858,9 @@ export declare const CodeHookNodeDataSchema: z.ZodObject<{
837
858
  submitButton: {
838
859
  label: string;
839
860
  };
861
+ } | {
862
+ type: import("../responses").MessageType.leadGeneration;
863
+ id: string;
840
864
  } | {
841
865
  type: import("../responses").MessageType.text;
842
866
  id: string;
@@ -1224,6 +1248,15 @@ export declare const CodeHookNodeDataSchema: z.ZodObject<{
1224
1248
  submitButton: {
1225
1249
  label?: unknown;
1226
1250
  };
1251
+ }>, z.ZodObject<{
1252
+ id: z.ZodString;
1253
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
1254
+ }, "strip", z.ZodTypeAny, {
1255
+ type: import("../responses").MessageType.leadGeneration;
1256
+ id: string;
1257
+ }, {
1258
+ type: import("../responses").MessageType.leadGeneration;
1259
+ id: string;
1227
1260
  }>]>, "many">>;
1228
1261
  }, "strip", z.ZodTypeAny, {
1229
1262
  languageCode: string;
@@ -1271,6 +1304,9 @@ export declare const CodeHookNodeDataSchema: z.ZodObject<{
1271
1304
  submitButton: {
1272
1305
  label: string;
1273
1306
  };
1307
+ } | {
1308
+ type: import("../responses").MessageType.leadGeneration;
1309
+ id: string;
1274
1310
  } | {
1275
1311
  type: import("../responses").MessageType.text;
1276
1312
  id: string;
@@ -1358,6 +1394,9 @@ export declare const CodeHookNodeDataSchema: z.ZodObject<{
1358
1394
  submitButton: {
1359
1395
  label: string;
1360
1396
  };
1397
+ } | {
1398
+ type: import("../responses").MessageType.leadGeneration;
1399
+ id: string;
1361
1400
  } | {
1362
1401
  type: import("../responses").MessageType.text;
1363
1402
  id: string;
@@ -1436,6 +1475,9 @@ export declare const CodeHookNodeDataSchema: z.ZodObject<{
1436
1475
  submitButton: {
1437
1476
  label: string;
1438
1477
  };
1478
+ } | {
1479
+ type: import("../responses").MessageType.leadGeneration;
1480
+ id: string;
1439
1481
  } | {
1440
1482
  type: import("../responses").MessageType.text;
1441
1483
  id: string;
@@ -1516,6 +1558,9 @@ export declare const CodeHookNodeDataSchema: z.ZodObject<{
1516
1558
  submitButton: {
1517
1559
  label: string;
1518
1560
  };
1561
+ } | {
1562
+ type: import("../responses").MessageType.leadGeneration;
1563
+ id: string;
1519
1564
  } | {
1520
1565
  type: import("../responses").MessageType.text;
1521
1566
  id: string;
@@ -1921,6 +1966,15 @@ export declare const CodeHookNodeSchema: z.ZodObject<{
1921
1966
  submitButton: {
1922
1967
  label?: unknown;
1923
1968
  };
1969
+ }>, z.ZodObject<{
1970
+ id: z.ZodString;
1971
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
1972
+ }, "strip", z.ZodTypeAny, {
1973
+ type: import("../responses").MessageType.leadGeneration;
1974
+ id: string;
1975
+ }, {
1976
+ type: import("../responses").MessageType.leadGeneration;
1977
+ id: string;
1924
1978
  }>]>, "many">>;
1925
1979
  }, "strip", z.ZodTypeAny, {
1926
1980
  languageCode: string;
@@ -1968,6 +2022,9 @@ export declare const CodeHookNodeSchema: z.ZodObject<{
1968
2022
  submitButton: {
1969
2023
  label: string;
1970
2024
  };
2025
+ } | {
2026
+ type: import("../responses").MessageType.leadGeneration;
2027
+ id: string;
1971
2028
  } | {
1972
2029
  type: import("../responses").MessageType.text;
1973
2030
  id: string;
@@ -2355,6 +2412,15 @@ export declare const CodeHookNodeSchema: z.ZodObject<{
2355
2412
  submitButton: {
2356
2413
  label?: unknown;
2357
2414
  };
2415
+ }>, z.ZodObject<{
2416
+ id: z.ZodString;
2417
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
2418
+ }, "strip", z.ZodTypeAny, {
2419
+ type: import("../responses").MessageType.leadGeneration;
2420
+ id: string;
2421
+ }, {
2422
+ type: import("../responses").MessageType.leadGeneration;
2423
+ id: string;
2358
2424
  }>]>, "many">>;
2359
2425
  }, "strip", z.ZodTypeAny, {
2360
2426
  languageCode: string;
@@ -2402,6 +2468,9 @@ export declare const CodeHookNodeSchema: z.ZodObject<{
2402
2468
  submitButton: {
2403
2469
  label: string;
2404
2470
  };
2471
+ } | {
2472
+ type: import("../responses").MessageType.leadGeneration;
2473
+ id: string;
2405
2474
  } | {
2406
2475
  type: import("../responses").MessageType.text;
2407
2476
  id: string;
@@ -2789,6 +2858,15 @@ export declare const CodeHookNodeSchema: z.ZodObject<{
2789
2858
  submitButton: {
2790
2859
  label?: unknown;
2791
2860
  };
2861
+ }>, z.ZodObject<{
2862
+ id: z.ZodString;
2863
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
2864
+ }, "strip", z.ZodTypeAny, {
2865
+ type: import("../responses").MessageType.leadGeneration;
2866
+ id: string;
2867
+ }, {
2868
+ type: import("../responses").MessageType.leadGeneration;
2869
+ id: string;
2792
2870
  }>]>, "many">>;
2793
2871
  }, "strip", z.ZodTypeAny, {
2794
2872
  languageCode: string;
@@ -2836,6 +2914,9 @@ export declare const CodeHookNodeSchema: z.ZodObject<{
2836
2914
  submitButton: {
2837
2915
  label: string;
2838
2916
  };
2917
+ } | {
2918
+ type: import("../responses").MessageType.leadGeneration;
2919
+ id: string;
2839
2920
  } | {
2840
2921
  type: import("../responses").MessageType.text;
2841
2922
  id: string;
@@ -2923,6 +3004,9 @@ export declare const CodeHookNodeSchema: z.ZodObject<{
2923
3004
  submitButton: {
2924
3005
  label: string;
2925
3006
  };
3007
+ } | {
3008
+ type: import("../responses").MessageType.leadGeneration;
3009
+ id: string;
2926
3010
  } | {
2927
3011
  type: import("../responses").MessageType.text;
2928
3012
  id: string;
@@ -3001,6 +3085,9 @@ export declare const CodeHookNodeSchema: z.ZodObject<{
3001
3085
  submitButton: {
3002
3086
  label: string;
3003
3087
  };
3088
+ } | {
3089
+ type: import("../responses").MessageType.leadGeneration;
3090
+ id: string;
3004
3091
  } | {
3005
3092
  type: import("../responses").MessageType.text;
3006
3093
  id: string;
@@ -3081,6 +3168,9 @@ export declare const CodeHookNodeSchema: z.ZodObject<{
3081
3168
  submitButton: {
3082
3169
  label: string;
3083
3170
  };
3171
+ } | {
3172
+ type: import("../responses").MessageType.leadGeneration;
3173
+ id: string;
3084
3174
  } | {
3085
3175
  type: import("../responses").MessageType.text;
3086
3176
  id: string;
@@ -3177,6 +3267,9 @@ export declare const CodeHookNodeSchema: z.ZodObject<{
3177
3267
  submitButton: {
3178
3268
  label: string;
3179
3269
  };
3270
+ } | {
3271
+ type: import("../responses").MessageType.leadGeneration;
3272
+ id: string;
3180
3273
  } | {
3181
3274
  type: import("../responses").MessageType.text;
3182
3275
  id: string;
@@ -3255,6 +3348,9 @@ export declare const CodeHookNodeSchema: z.ZodObject<{
3255
3348
  submitButton: {
3256
3349
  label: string;
3257
3350
  };
3351
+ } | {
3352
+ type: import("../responses").MessageType.leadGeneration;
3353
+ id: string;
3258
3354
  } | {
3259
3355
  type: import("../responses").MessageType.text;
3260
3356
  id: string;
@@ -3335,6 +3431,9 @@ export declare const CodeHookNodeSchema: z.ZodObject<{
3335
3431
  submitButton: {
3336
3432
  label: string;
3337
3433
  };
3434
+ } | {
3435
+ type: import("../responses").MessageType.leadGeneration;
3436
+ id: string;
3338
3437
  } | {
3339
3438
  type: import("../responses").MessageType.text;
3340
3439
  id: string;
@@ -356,6 +356,15 @@ declare const BranchSchema: 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 @@ declare const BranchSchema: 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;
@@ -487,6 +499,9 @@ declare const BranchSchema: z.ZodObject<{
487
499
  submitButton: {
488
500
  label: string;
489
501
  };
502
+ } | {
503
+ type: import("../responses").MessageType.leadGeneration;
504
+ id: string;
490
505
  } | {
491
506
  type: import("../responses").MessageType.text;
492
507
  id: string;
@@ -879,6 +894,15 @@ export declare const ConditionalNodeDataSchema: z.ZodObject<{
879
894
  submitButton: {
880
895
  label?: unknown;
881
896
  };
897
+ }>, z.ZodObject<{
898
+ id: z.ZodString;
899
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
900
+ }, "strip", z.ZodTypeAny, {
901
+ type: import("../responses").MessageType.leadGeneration;
902
+ id: string;
903
+ }, {
904
+ type: import("../responses").MessageType.leadGeneration;
905
+ id: string;
882
906
  }>]>, "many">>;
883
907
  }, "strip", z.ZodTypeAny, {
884
908
  languageCode: string;
@@ -926,6 +950,9 @@ export declare const ConditionalNodeDataSchema: z.ZodObject<{
926
950
  submitButton: {
927
951
  label: string;
928
952
  };
953
+ } | {
954
+ type: import("../responses").MessageType.leadGeneration;
955
+ id: string;
929
956
  } | {
930
957
  type: import("../responses").MessageType.text;
931
958
  id: string;
@@ -1317,6 +1344,15 @@ export declare const ConditionalNodeDataSchema: z.ZodObject<{
1317
1344
  submitButton: {
1318
1345
  label?: unknown;
1319
1346
  };
1347
+ }>, z.ZodObject<{
1348
+ id: z.ZodString;
1349
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
1350
+ }, "strip", z.ZodTypeAny, {
1351
+ type: import("../responses").MessageType.leadGeneration;
1352
+ id: string;
1353
+ }, {
1354
+ type: import("../responses").MessageType.leadGeneration;
1355
+ id: string;
1320
1356
  }>]>, "many">>;
1321
1357
  }, "strip", z.ZodTypeAny, {
1322
1358
  languageCode: string;
@@ -1364,6 +1400,9 @@ export declare const ConditionalNodeDataSchema: z.ZodObject<{
1364
1400
  submitButton: {
1365
1401
  label: string;
1366
1402
  };
1403
+ } | {
1404
+ type: import("../responses").MessageType.leadGeneration;
1405
+ id: string;
1367
1406
  } | {
1368
1407
  type: import("../responses").MessageType.text;
1369
1408
  id: string;
@@ -1448,6 +1487,9 @@ export declare const ConditionalNodeDataSchema: z.ZodObject<{
1448
1487
  submitButton: {
1449
1488
  label: string;
1450
1489
  };
1490
+ } | {
1491
+ type: import("../responses").MessageType.leadGeneration;
1492
+ id: string;
1451
1493
  } | {
1452
1494
  type: import("../responses").MessageType.text;
1453
1495
  id: string;
@@ -1535,6 +1577,9 @@ export declare const ConditionalNodeDataSchema: z.ZodObject<{
1535
1577
  submitButton: {
1536
1578
  label: string;
1537
1579
  };
1580
+ } | {
1581
+ type: import("../responses").MessageType.leadGeneration;
1582
+ id: string;
1538
1583
  } | {
1539
1584
  type: import("../responses").MessageType.text;
1540
1585
  id: string;
@@ -1617,6 +1662,9 @@ export declare const ConditionalNodeDataSchema: z.ZodObject<{
1617
1662
  submitButton: {
1618
1663
  label: string;
1619
1664
  };
1665
+ } | {
1666
+ type: import("../responses").MessageType.leadGeneration;
1667
+ id: string;
1620
1668
  } | {
1621
1669
  type: import("../responses").MessageType.text;
1622
1670
  id: string;
@@ -2019,6 +2067,15 @@ export declare const ConditionNodeSchema: z.ZodObject<{
2019
2067
  submitButton: {
2020
2068
  label?: unknown;
2021
2069
  };
2070
+ }>, z.ZodObject<{
2071
+ id: z.ZodString;
2072
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
2073
+ }, "strip", z.ZodTypeAny, {
2074
+ type: import("../responses").MessageType.leadGeneration;
2075
+ id: string;
2076
+ }, {
2077
+ type: import("../responses").MessageType.leadGeneration;
2078
+ id: string;
2022
2079
  }>]>, "many">>;
2023
2080
  }, "strip", z.ZodTypeAny, {
2024
2081
  languageCode: string;
@@ -2066,6 +2123,9 @@ export declare const ConditionNodeSchema: z.ZodObject<{
2066
2123
  submitButton: {
2067
2124
  label: string;
2068
2125
  };
2126
+ } | {
2127
+ type: import("../responses").MessageType.leadGeneration;
2128
+ id: string;
2069
2129
  } | {
2070
2130
  type: import("../responses").MessageType.text;
2071
2131
  id: string;
@@ -2457,6 +2517,15 @@ export declare const ConditionNodeSchema: z.ZodObject<{
2457
2517
  submitButton: {
2458
2518
  label?: unknown;
2459
2519
  };
2520
+ }>, z.ZodObject<{
2521
+ id: z.ZodString;
2522
+ type: z.ZodLiteral<import("../responses").MessageType.leadGeneration>;
2523
+ }, "strip", z.ZodTypeAny, {
2524
+ type: import("../responses").MessageType.leadGeneration;
2525
+ id: string;
2526
+ }, {
2527
+ type: import("../responses").MessageType.leadGeneration;
2528
+ id: string;
2460
2529
  }>]>, "many">>;
2461
2530
  }, "strip", z.ZodTypeAny, {
2462
2531
  languageCode: string;
@@ -2504,6 +2573,9 @@ export declare const ConditionNodeSchema: z.ZodObject<{
2504
2573
  submitButton: {
2505
2574
  label: string;
2506
2575
  };
2576
+ } | {
2577
+ type: import("../responses").MessageType.leadGeneration;
2578
+ id: string;
2507
2579
  } | {
2508
2580
  type: import("../responses").MessageType.text;
2509
2581
  id: string;
@@ -2588,6 +2660,9 @@ export declare const ConditionNodeSchema: z.ZodObject<{
2588
2660
  submitButton: {
2589
2661
  label: string;
2590
2662
  };
2663
+ } | {
2664
+ type: import("../responses").MessageType.leadGeneration;
2665
+ id: string;
2591
2666
  } | {
2592
2667
  type: import("../responses").MessageType.text;
2593
2668
  id: string;
@@ -2675,6 +2750,9 @@ export declare const ConditionNodeSchema: z.ZodObject<{
2675
2750
  submitButton: {
2676
2751
  label: string;
2677
2752
  };
2753
+ } | {
2754
+ type: import("../responses").MessageType.leadGeneration;
2755
+ id: string;
2678
2756
  } | {
2679
2757
  type: import("../responses").MessageType.text;
2680
2758
  id: string;
@@ -2757,6 +2835,9 @@ export declare const ConditionNodeSchema: z.ZodObject<{
2757
2835
  submitButton: {
2758
2836
  label: string;
2759
2837
  };
2838
+ } | {
2839
+ type: import("../responses").MessageType.leadGeneration;
2840
+ id: string;
2760
2841
  } | {
2761
2842
  type: import("../responses").MessageType.text;
2762
2843
  id: string;
@@ -2850,6 +2931,9 @@ export declare const ConditionNodeSchema: z.ZodObject<{
2850
2931
  submitButton: {
2851
2932
  label: string;
2852
2933
  };
2934
+ } | {
2935
+ type: import("../responses").MessageType.leadGeneration;
2936
+ id: string;
2853
2937
  } | {
2854
2938
  type: import("../responses").MessageType.text;
2855
2939
  id: string;
@@ -2932,6 +3016,9 @@ export declare const ConditionNodeSchema: z.ZodObject<{
2932
3016
  submitButton: {
2933
3017
  label: string;
2934
3018
  };
3019
+ } | {
3020
+ type: import("../responses").MessageType.leadGeneration;
3021
+ id: string;
2935
3022
  } | {
2936
3023
  type: import("../responses").MessageType.text;
2937
3024
  id: string;