@encatch/schema 1.2.0 → 1.3.0-beta.1

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.
@@ -37,13 +37,13 @@ export declare const appPropsSchema: z.ZodObject<{
37
37
  type: z.ZodEnum<{
38
38
  custom: "custom";
39
39
  pattern: "pattern";
40
+ url: "url";
40
41
  email: "email";
41
42
  required: "required";
42
43
  min: "min";
43
44
  max: "max";
44
45
  minLength: "minLength";
45
46
  maxLength: "maxLength";
46
- url: "url";
47
47
  }>;
48
48
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
49
49
  message: z.ZodOptional<z.ZodString>;
@@ -117,13 +117,13 @@ export declare const appPropsSchema: z.ZodObject<{
117
117
  type: z.ZodEnum<{
118
118
  custom: "custom";
119
119
  pattern: "pattern";
120
+ url: "url";
120
121
  email: "email";
121
122
  required: "required";
122
123
  min: "min";
123
124
  max: "max";
124
125
  minLength: "minLength";
125
126
  maxLength: "maxLength";
126
- url: "url";
127
127
  }>;
128
128
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
129
129
  message: z.ZodOptional<z.ZodString>;
@@ -179,13 +179,13 @@ export declare const appPropsSchema: z.ZodObject<{
179
179
  type: z.ZodEnum<{
180
180
  custom: "custom";
181
181
  pattern: "pattern";
182
+ url: "url";
182
183
  email: "email";
183
184
  required: "required";
184
185
  min: "min";
185
186
  max: "max";
186
187
  minLength: "minLength";
187
188
  maxLength: "maxLength";
188
- url: "url";
189
189
  }>;
190
190
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
191
191
  message: z.ZodOptional<z.ZodString>;
@@ -242,13 +242,13 @@ export declare const appPropsSchema: z.ZodObject<{
242
242
  type: z.ZodEnum<{
243
243
  custom: "custom";
244
244
  pattern: "pattern";
245
+ url: "url";
245
246
  email: "email";
246
247
  required: "required";
247
248
  min: "min";
248
249
  max: "max";
249
250
  minLength: "minLength";
250
251
  maxLength: "maxLength";
251
- url: "url";
252
252
  }>;
253
253
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
254
254
  message: z.ZodOptional<z.ZodString>;
@@ -294,6 +294,37 @@ export declare const appPropsSchema: z.ZodObject<{
294
294
  title: z.ZodString;
295
295
  description: z.ZodOptional<z.ZodString>;
296
296
  imageUrl: z.ZodOptional<z.ZodString>;
297
+ completionCta: z.ZodOptional<z.ZodObject<{
298
+ label: z.ZodOptional<z.ZodString>;
299
+ autoTriggerDelayMs: z.ZodOptional<z.ZodNumber>;
300
+ inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
301
+ action: z.ZodLiteral<"dismiss">;
302
+ }, z.core.$strip>, z.ZodObject<{
303
+ action: z.ZodLiteral<"app_navigate">;
304
+ route: z.ZodString;
305
+ }, z.core.$strip>, z.ZodObject<{
306
+ action: z.ZodLiteral<"redirect_internal">;
307
+ url: z.ZodString;
308
+ }, z.core.$strip>, z.ZodObject<{
309
+ action: z.ZodLiteral<"redirect_external">;
310
+ url: z.ZodString;
311
+ }, z.core.$strip>], "action">>;
312
+ link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
313
+ action: z.ZodLiteral<"dismiss">;
314
+ }, z.core.$strip>, z.ZodObject<{
315
+ action: z.ZodLiteral<"app_navigate">;
316
+ route: z.ZodString;
317
+ }, z.core.$strip>, z.ZodObject<{
318
+ action: z.ZodLiteral<"redirect_internal">;
319
+ url: z.ZodString;
320
+ }, z.core.$strip>, z.ZodObject<{
321
+ action: z.ZodLiteral<"redirect_external">;
322
+ url: z.ZodString;
323
+ }, z.core.$strip>], "action">>;
324
+ secondary: z.ZodOptional<z.ZodObject<{
325
+ label: z.ZodString;
326
+ }, z.core.$strip>>;
327
+ }, z.core.$strip>>;
297
328
  }, z.core.$strip>, z.ZodObject<{
298
329
  id: z.ZodString;
299
330
  slug: z.ZodOptional<z.ZodString>;
@@ -305,13 +336,13 @@ export declare const appPropsSchema: z.ZodObject<{
305
336
  type: z.ZodEnum<{
306
337
  custom: "custom";
307
338
  pattern: "pattern";
339
+ url: "url";
308
340
  email: "email";
309
341
  required: "required";
310
342
  min: "min";
311
343
  max: "max";
312
344
  minLength: "minLength";
313
345
  maxLength: "maxLength";
314
- url: "url";
315
346
  }>;
316
347
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
317
348
  message: z.ZodOptional<z.ZodString>;
@@ -370,13 +401,13 @@ export declare const appPropsSchema: z.ZodObject<{
370
401
  type: z.ZodEnum<{
371
402
  custom: "custom";
372
403
  pattern: "pattern";
404
+ url: "url";
373
405
  email: "email";
374
406
  required: "required";
375
407
  min: "min";
376
408
  max: "max";
377
409
  minLength: "minLength";
378
410
  maxLength: "maxLength";
379
- url: "url";
380
411
  }>;
381
412
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
382
413
  message: z.ZodOptional<z.ZodString>;
@@ -419,6 +450,37 @@ export declare const appPropsSchema: z.ZodObject<{
419
450
  vimeo: "vimeo";
420
451
  }>>;
421
452
  type: z.ZodLiteral<"exit_form">;
453
+ completionCta: z.ZodOptional<z.ZodObject<{
454
+ label: z.ZodOptional<z.ZodString>;
455
+ autoTriggerDelayMs: z.ZodOptional<z.ZodNumber>;
456
+ inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
457
+ action: z.ZodLiteral<"dismiss">;
458
+ }, z.core.$strip>, z.ZodObject<{
459
+ action: z.ZodLiteral<"app_navigate">;
460
+ route: z.ZodString;
461
+ }, z.core.$strip>, z.ZodObject<{
462
+ action: z.ZodLiteral<"redirect_internal">;
463
+ url: z.ZodString;
464
+ }, z.core.$strip>, z.ZodObject<{
465
+ action: z.ZodLiteral<"redirect_external">;
466
+ url: z.ZodString;
467
+ }, z.core.$strip>], "action">>;
468
+ link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
469
+ action: z.ZodLiteral<"dismiss">;
470
+ }, z.core.$strip>, z.ZodObject<{
471
+ action: z.ZodLiteral<"app_navigate">;
472
+ route: z.ZodString;
473
+ }, z.core.$strip>, z.ZodObject<{
474
+ action: z.ZodLiteral<"redirect_internal">;
475
+ url: z.ZodString;
476
+ }, z.core.$strip>, z.ZodObject<{
477
+ action: z.ZodLiteral<"redirect_external">;
478
+ url: z.ZodString;
479
+ }, z.core.$strip>], "action">>;
480
+ secondary: z.ZodOptional<z.ZodObject<{
481
+ label: z.ZodString;
482
+ }, z.core.$strip>>;
483
+ }, z.core.$strip>>;
422
484
  }, z.core.$strip>, z.ZodObject<{
423
485
  id: z.ZodString;
424
486
  slug: z.ZodOptional<z.ZodString>;
@@ -432,13 +494,13 @@ export declare const appPropsSchema: z.ZodObject<{
432
494
  type: z.ZodEnum<{
433
495
  custom: "custom";
434
496
  pattern: "pattern";
497
+ url: "url";
435
498
  email: "email";
436
499
  required: "required";
437
500
  min: "min";
438
501
  max: "max";
439
502
  minLength: "minLength";
440
503
  maxLength: "maxLength";
441
- url: "url";
442
504
  }>;
443
505
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
444
506
  message: z.ZodOptional<z.ZodString>;
@@ -500,13 +562,13 @@ export declare const appPropsSchema: z.ZodObject<{
500
562
  type: z.ZodEnum<{
501
563
  custom: "custom";
502
564
  pattern: "pattern";
565
+ url: "url";
503
566
  email: "email";
504
567
  required: "required";
505
568
  min: "min";
506
569
  max: "max";
507
570
  minLength: "minLength";
508
571
  maxLength: "maxLength";
509
- url: "url";
510
572
  }>;
511
573
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
512
574
  message: z.ZodOptional<z.ZodString>;
@@ -562,13 +624,13 @@ export declare const appPropsSchema: z.ZodObject<{
562
624
  type: z.ZodEnum<{
563
625
  custom: "custom";
564
626
  pattern: "pattern";
627
+ url: "url";
565
628
  email: "email";
566
629
  required: "required";
567
630
  min: "min";
568
631
  max: "max";
569
632
  minLength: "minLength";
570
633
  maxLength: "maxLength";
571
- url: "url";
572
634
  }>;
573
635
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
574
636
  message: z.ZodOptional<z.ZodString>;
@@ -663,13 +725,13 @@ export declare const appPropsSchema: z.ZodObject<{
663
725
  type: z.ZodEnum<{
664
726
  custom: "custom";
665
727
  pattern: "pattern";
728
+ url: "url";
666
729
  email: "email";
667
730
  required: "required";
668
731
  min: "min";
669
732
  max: "max";
670
733
  minLength: "minLength";
671
734
  maxLength: "maxLength";
672
- url: "url";
673
735
  }>;
674
736
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
675
737
  message: z.ZodOptional<z.ZodString>;
@@ -739,13 +801,13 @@ export declare const appPropsSchema: z.ZodObject<{
739
801
  type: z.ZodEnum<{
740
802
  custom: "custom";
741
803
  pattern: "pattern";
804
+ url: "url";
742
805
  email: "email";
743
806
  required: "required";
744
807
  min: "min";
745
808
  max: "max";
746
809
  minLength: "minLength";
747
810
  maxLength: "maxLength";
748
- url: "url";
749
811
  }>;
750
812
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
751
813
  message: z.ZodOptional<z.ZodString>;
@@ -817,13 +879,13 @@ export declare const appPropsSchema: z.ZodObject<{
817
879
  type: z.ZodEnum<{
818
880
  custom: "custom";
819
881
  pattern: "pattern";
882
+ url: "url";
820
883
  email: "email";
821
884
  required: "required";
822
885
  min: "min";
823
886
  max: "max";
824
887
  minLength: "minLength";
825
888
  maxLength: "maxLength";
826
- url: "url";
827
889
  }>;
828
890
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
829
891
  message: z.ZodOptional<z.ZodString>;
@@ -902,13 +964,13 @@ export declare const appPropsSchema: z.ZodObject<{
902
964
  type: z.ZodEnum<{
903
965
  custom: "custom";
904
966
  pattern: "pattern";
967
+ url: "url";
905
968
  email: "email";
906
969
  required: "required";
907
970
  min: "min";
908
971
  max: "max";
909
972
  minLength: "minLength";
910
973
  maxLength: "maxLength";
911
- url: "url";
912
974
  }>;
913
975
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
914
976
  message: z.ZodOptional<z.ZodString>;
@@ -988,13 +1050,13 @@ export declare const appPropsSchema: z.ZodObject<{
988
1050
  type: z.ZodEnum<{
989
1051
  custom: "custom";
990
1052
  pattern: "pattern";
1053
+ url: "url";
991
1054
  email: "email";
992
1055
  required: "required";
993
1056
  min: "min";
994
1057
  max: "max";
995
1058
  minLength: "minLength";
996
1059
  maxLength: "maxLength";
997
- url: "url";
998
1060
  }>;
999
1061
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1000
1062
  message: z.ZodOptional<z.ZodString>;
@@ -1059,13 +1121,13 @@ export declare const appPropsSchema: z.ZodObject<{
1059
1121
  type: z.ZodEnum<{
1060
1122
  custom: "custom";
1061
1123
  pattern: "pattern";
1124
+ url: "url";
1062
1125
  email: "email";
1063
1126
  required: "required";
1064
1127
  min: "min";
1065
1128
  max: "max";
1066
1129
  minLength: "minLength";
1067
1130
  maxLength: "maxLength";
1068
- url: "url";
1069
1131
  }>;
1070
1132
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1071
1133
  message: z.ZodOptional<z.ZodString>;
@@ -1131,13 +1193,13 @@ export declare const appPropsSchema: z.ZodObject<{
1131
1193
  type: z.ZodEnum<{
1132
1194
  custom: "custom";
1133
1195
  pattern: "pattern";
1196
+ url: "url";
1134
1197
  email: "email";
1135
1198
  required: "required";
1136
1199
  min: "min";
1137
1200
  max: "max";
1138
1201
  minLength: "minLength";
1139
1202
  maxLength: "maxLength";
1140
- url: "url";
1141
1203
  }>;
1142
1204
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1143
1205
  message: z.ZodOptional<z.ZodString>;
@@ -1202,13 +1264,13 @@ export declare const appPropsSchema: z.ZodObject<{
1202
1264
  type: z.ZodEnum<{
1203
1265
  custom: "custom";
1204
1266
  pattern: "pattern";
1267
+ url: "url";
1205
1268
  email: "email";
1206
1269
  required: "required";
1207
1270
  min: "min";
1208
1271
  max: "max";
1209
1272
  minLength: "minLength";
1210
1273
  maxLength: "maxLength";
1211
- url: "url";
1212
1274
  }>;
1213
1275
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1214
1276
  message: z.ZodOptional<z.ZodString>;
@@ -1280,13 +1342,13 @@ export declare const appPropsSchema: z.ZodObject<{
1280
1342
  type: z.ZodEnum<{
1281
1343
  custom: "custom";
1282
1344
  pattern: "pattern";
1345
+ url: "url";
1283
1346
  email: "email";
1284
1347
  required: "required";
1285
1348
  min: "min";
1286
1349
  max: "max";
1287
1350
  minLength: "minLength";
1288
1351
  maxLength: "maxLength";
1289
- url: "url";
1290
1352
  }>;
1291
1353
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1292
1354
  message: z.ZodOptional<z.ZodString>;
@@ -1360,13 +1422,13 @@ export declare const appPropsSchema: z.ZodObject<{
1360
1422
  type: z.ZodEnum<{
1361
1423
  custom: "custom";
1362
1424
  pattern: "pattern";
1425
+ url: "url";
1363
1426
  email: "email";
1364
1427
  required: "required";
1365
1428
  min: "min";
1366
1429
  max: "max";
1367
1430
  minLength: "minLength";
1368
1431
  maxLength: "maxLength";
1369
- url: "url";
1370
1432
  }>;
1371
1433
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1372
1434
  message: z.ZodOptional<z.ZodString>;
@@ -1433,13 +1495,13 @@ export declare const appPropsSchema: z.ZodObject<{
1433
1495
  type: z.ZodEnum<{
1434
1496
  custom: "custom";
1435
1497
  pattern: "pattern";
1498
+ url: "url";
1436
1499
  email: "email";
1437
1500
  required: "required";
1438
1501
  min: "min";
1439
1502
  max: "max";
1440
1503
  minLength: "minLength";
1441
1504
  maxLength: "maxLength";
1442
- url: "url";
1443
1505
  }>;
1444
1506
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1445
1507
  message: z.ZodOptional<z.ZodString>;
@@ -1499,13 +1561,13 @@ export declare const appPropsSchema: z.ZodObject<{
1499
1561
  type: z.ZodEnum<{
1500
1562
  custom: "custom";
1501
1563
  pattern: "pattern";
1564
+ url: "url";
1502
1565
  email: "email";
1503
1566
  required: "required";
1504
1567
  min: "min";
1505
1568
  max: "max";
1506
1569
  minLength: "minLength";
1507
1570
  maxLength: "maxLength";
1508
- url: "url";
1509
1571
  }>;
1510
1572
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1511
1573
  message: z.ZodOptional<z.ZodString>;
@@ -1576,13 +1638,13 @@ export declare const appPropsSchema: z.ZodObject<{
1576
1638
  type: z.ZodEnum<{
1577
1639
  custom: "custom";
1578
1640
  pattern: "pattern";
1641
+ url: "url";
1579
1642
  email: "email";
1580
1643
  required: "required";
1581
1644
  min: "min";
1582
1645
  max: "max";
1583
1646
  minLength: "minLength";
1584
1647
  maxLength: "maxLength";
1585
- url: "url";
1586
1648
  }>;
1587
1649
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1588
1650
  message: z.ZodOptional<z.ZodString>;
@@ -1659,13 +1721,13 @@ export declare const appPropsSchema: z.ZodObject<{
1659
1721
  type: z.ZodEnum<{
1660
1722
  custom: "custom";
1661
1723
  pattern: "pattern";
1724
+ url: "url";
1662
1725
  email: "email";
1663
1726
  required: "required";
1664
1727
  min: "min";
1665
1728
  max: "max";
1666
1729
  minLength: "minLength";
1667
1730
  maxLength: "maxLength";
1668
- url: "url";
1669
1731
  }>;
1670
1732
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1671
1733
  message: z.ZodOptional<z.ZodString>;
@@ -1745,13 +1807,13 @@ export declare const appPropsSchema: z.ZodObject<{
1745
1807
  type: z.ZodEnum<{
1746
1808
  custom: "custom";
1747
1809
  pattern: "pattern";
1810
+ url: "url";
1748
1811
  email: "email";
1749
1812
  required: "required";
1750
1813
  min: "min";
1751
1814
  max: "max";
1752
1815
  minLength: "minLength";
1753
1816
  maxLength: "maxLength";
1754
- url: "url";
1755
1817
  }>;
1756
1818
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1757
1819
  message: z.ZodOptional<z.ZodString>;
@@ -1812,13 +1874,13 @@ export declare const appPropsSchema: z.ZodObject<{
1812
1874
  type: z.ZodEnum<{
1813
1875
  custom: "custom";
1814
1876
  pattern: "pattern";
1877
+ url: "url";
1815
1878
  email: "email";
1816
1879
  required: "required";
1817
1880
  min: "min";
1818
1881
  max: "max";
1819
1882
  minLength: "minLength";
1820
1883
  maxLength: "maxLength";
1821
- url: "url";
1822
1884
  }>;
1823
1885
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1824
1886
  message: z.ZodOptional<z.ZodString>;
@@ -1876,13 +1938,13 @@ export declare const appPropsSchema: z.ZodObject<{
1876
1938
  type: z.ZodEnum<{
1877
1939
  custom: "custom";
1878
1940
  pattern: "pattern";
1941
+ url: "url";
1879
1942
  email: "email";
1880
1943
  required: "required";
1881
1944
  min: "min";
1882
1945
  max: "max";
1883
1946
  minLength: "minLength";
1884
1947
  maxLength: "maxLength";
1885
- url: "url";
1886
1948
  }>;
1887
1949
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1888
1950
  message: z.ZodOptional<z.ZodString>;
@@ -1945,13 +2007,13 @@ export declare const appPropsSchema: z.ZodObject<{
1945
2007
  type: z.ZodEnum<{
1946
2008
  custom: "custom";
1947
2009
  pattern: "pattern";
2010
+ url: "url";
1948
2011
  email: "email";
1949
2012
  required: "required";
1950
2013
  min: "min";
1951
2014
  max: "max";
1952
2015
  minLength: "minLength";
1953
2016
  maxLength: "maxLength";
1954
- url: "url";
1955
2017
  }>;
1956
2018
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1957
2019
  message: z.ZodOptional<z.ZodString>;
@@ -2009,13 +2071,13 @@ export declare const appPropsSchema: z.ZodObject<{
2009
2071
  type: z.ZodEnum<{
2010
2072
  custom: "custom";
2011
2073
  pattern: "pattern";
2074
+ url: "url";
2012
2075
  email: "email";
2013
2076
  required: "required";
2014
2077
  min: "min";
2015
2078
  max: "max";
2016
2079
  minLength: "minLength";
2017
2080
  maxLength: "maxLength";
2018
- url: "url";
2019
2081
  }>;
2020
2082
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2021
2083
  message: z.ZodOptional<z.ZodString>;
@@ -2075,13 +2137,13 @@ export declare const appPropsSchema: z.ZodObject<{
2075
2137
  type: z.ZodEnum<{
2076
2138
  custom: "custom";
2077
2139
  pattern: "pattern";
2140
+ url: "url";
2078
2141
  email: "email";
2079
2142
  required: "required";
2080
2143
  min: "min";
2081
2144
  max: "max";
2082
2145
  minLength: "minLength";
2083
2146
  maxLength: "maxLength";
2084
- url: "url";
2085
2147
  }>;
2086
2148
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2087
2149
  message: z.ZodOptional<z.ZodString>;
@@ -2174,13 +2236,13 @@ export declare const appPropsSchema: z.ZodObject<{
2174
2236
  type: z.ZodEnum<{
2175
2237
  custom: "custom";
2176
2238
  pattern: "pattern";
2239
+ url: "url";
2177
2240
  email: "email";
2178
2241
  required: "required";
2179
2242
  min: "min";
2180
2243
  max: "max";
2181
2244
  minLength: "minLength";
2182
2245
  maxLength: "maxLength";
2183
- url: "url";
2184
2246
  }>;
2185
2247
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2186
2248
  message: z.ZodOptional<z.ZodString>;
@@ -2262,13 +2324,13 @@ export declare const appPropsSchema: z.ZodObject<{
2262
2324
  type: z.ZodEnum<{
2263
2325
  custom: "custom";
2264
2326
  pattern: "pattern";
2327
+ url: "url";
2265
2328
  email: "email";
2266
2329
  required: "required";
2267
2330
  min: "min";
2268
2331
  max: "max";
2269
2332
  minLength: "minLength";
2270
2333
  maxLength: "maxLength";
2271
- url: "url";
2272
2334
  }>;
2273
2335
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2274
2336
  message: z.ZodOptional<z.ZodString>;
@@ -2334,13 +2396,13 @@ export declare const appPropsSchema: z.ZodObject<{
2334
2396
  type: z.ZodEnum<{
2335
2397
  custom: "custom";
2336
2398
  pattern: "pattern";
2399
+ url: "url";
2337
2400
  email: "email";
2338
2401
  required: "required";
2339
2402
  min: "min";
2340
2403
  max: "max";
2341
2404
  minLength: "minLength";
2342
2405
  maxLength: "maxLength";
2343
- url: "url";
2344
2406
  }>;
2345
2407
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2346
2408
  message: z.ZodOptional<z.ZodString>;
@@ -2404,13 +2466,13 @@ export declare const appPropsSchema: z.ZodObject<{
2404
2466
  type: z.ZodEnum<{
2405
2467
  custom: "custom";
2406
2468
  pattern: "pattern";
2469
+ url: "url";
2407
2470
  email: "email";
2408
2471
  required: "required";
2409
2472
  min: "min";
2410
2473
  max: "max";
2411
2474
  minLength: "minLength";
2412
2475
  maxLength: "maxLength";
2413
- url: "url";
2414
2476
  }>;
2415
2477
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2416
2478
  message: z.ZodOptional<z.ZodString>;
@@ -2683,6 +2745,12 @@ export declare const appPropsSchema: z.ZodObject<{
2683
2745
  errorMessage: z.ZodOptional<z.ZodString>;
2684
2746
  nextButtonLabel: z.ZodOptional<z.ZodString>;
2685
2747
  type: z.ZodLiteral<"thank_you">;
2748
+ completionCta: z.ZodOptional<z.ZodObject<{
2749
+ label: z.ZodOptional<z.ZodString>;
2750
+ secondary: z.ZodOptional<z.ZodObject<{
2751
+ label: z.ZodOptional<z.ZodString>;
2752
+ }, z.core.$strip>>;
2753
+ }, z.core.$strip>>;
2686
2754
  }, z.core.$strip>, z.ZodObject<{
2687
2755
  title: z.ZodString;
2688
2756
  description: z.ZodOptional<z.ZodString>;
@@ -0,0 +1,51 @@
1
+ import { z } from "zod";
2
+ export declare const platformCompletionCtaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3
+ action: z.ZodLiteral<"dismiss">;
4
+ }, z.core.$strip>, z.ZodObject<{
5
+ action: z.ZodLiteral<"app_navigate">;
6
+ route: z.ZodString;
7
+ }, z.core.$strip>, z.ZodObject<{
8
+ action: z.ZodLiteral<"redirect_internal">;
9
+ url: z.ZodString;
10
+ }, z.core.$strip>, z.ZodObject<{
11
+ action: z.ZodLiteral<"redirect_external">;
12
+ url: z.ZodString;
13
+ }, z.core.$strip>], "action">;
14
+ export declare const completionCtaSecondarySchema: z.ZodObject<{
15
+ label: z.ZodString;
16
+ }, z.core.$strip>;
17
+ export declare const completionCtaSchema: z.ZodObject<{
18
+ label: z.ZodOptional<z.ZodString>;
19
+ autoTriggerDelayMs: z.ZodOptional<z.ZodNumber>;
20
+ inApp: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
21
+ action: z.ZodLiteral<"dismiss">;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ action: z.ZodLiteral<"app_navigate">;
24
+ route: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ action: z.ZodLiteral<"redirect_internal">;
27
+ url: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ action: z.ZodLiteral<"redirect_external">;
30
+ url: z.ZodString;
31
+ }, z.core.$strip>], "action">>;
32
+ link: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
33
+ action: z.ZodLiteral<"dismiss">;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ action: z.ZodLiteral<"app_navigate">;
36
+ route: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ action: z.ZodLiteral<"redirect_internal">;
39
+ url: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ action: z.ZodLiteral<"redirect_external">;
42
+ url: z.ZodString;
43
+ }, z.core.$strip>], "action">>;
44
+ secondary: z.ZodOptional<z.ZodObject<{
45
+ label: z.ZodString;
46
+ }, z.core.$strip>>;
47
+ }, z.core.$strip>;
48
+ export type PlatformCompletionCta = z.infer<typeof platformCompletionCtaSchema>;
49
+ export type CompletionCtaSecondary = z.infer<typeof completionCtaSecondarySchema>;
50
+ export type CompletionCta = z.infer<typeof completionCtaSchema>;
51
+ export type CompletionCtaAction = PlatformCompletionCta["action"];