@tinkerlandai/indiana-sdk 0.0.1 → 0.2.0

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.
@@ -1,13 +1,98 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  declare const capabilityBindingSchema: z.ZodObject<{
4
- plan: z.ZodOptional<z.ZodUUID>;
4
+ plan: z.ZodOptional<z.ZodString>;
5
5
  coupon: z.ZodOptional<z.ZodUUID>;
6
6
  promotionCode: z.ZodOptional<z.ZodUUID>;
7
7
  picker: z.ZodOptional<z.ZodString>;
8
8
  }, z.core.$strict>;
9
9
  type CapabilityBinding = z.infer<typeof capabilityBindingSchema>;
10
10
  declare const surfaceDataSchema: z.ZodObject<{
11
+ paywall: z.ZodOptional<z.ZodObject<{
12
+ internal_feature_id: z.ZodString;
13
+ name: z.ZodString;
14
+ kind: z.ZodEnum<{
15
+ access: "access";
16
+ metered: "metered";
17
+ credit: "credit";
18
+ }>;
19
+ quantity: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
20
+ allowed: z.ZodBoolean;
21
+ reason: z.ZodNullable<z.ZodEnum<{
22
+ unavailable: "unavailable";
23
+ insufficient_balance: "insufficient_balance";
24
+ limit_exceeded: "limit_exceeded";
25
+ awaiting_topup: "awaiting_topup";
26
+ authorization_required: "authorization_required";
27
+ payment_blocked: "payment_blocked";
28
+ cash_budget_exceeded: "cash_budget_exceeded";
29
+ not_entitled: "not_entitled";
30
+ capacity_exceeded: "capacity_exceeded";
31
+ authentication_required: "authentication_required";
32
+ }>>;
33
+ preview: z.ZodNullable<z.ZodObject<{
34
+ scenario: z.ZodEnum<{
35
+ feature_flag: "feature_flag";
36
+ usage_limit: "usage_limit";
37
+ }>;
38
+ candidates: z.ZodArray<z.ZodObject<{
39
+ productId: z.ZodString;
40
+ productVersionId: z.ZodString;
41
+ name: z.ZodString;
42
+ action: z.ZodEnum<{
43
+ purchase: "purchase";
44
+ upgrade: "upgrade";
45
+ addon: "addon";
46
+ topup: "topup";
47
+ }>;
48
+ membershipId: z.ZodNullable<z.ZodString>;
49
+ currency: z.ZodEnum<{
50
+ USD: "USD";
51
+ EUR: "EUR";
52
+ CNY: "CNY";
53
+ GBP: "GBP";
54
+ JPY: "JPY";
55
+ CAD: "CAD";
56
+ AUD: "AUD";
57
+ NZD: "NZD";
58
+ CHF: "CHF";
59
+ HKD: "HKD";
60
+ SGD: "SGD";
61
+ KRW: "KRW";
62
+ INR: "INR";
63
+ BRL: "BRL";
64
+ MXN: "MXN";
65
+ TWD: "TWD";
66
+ THB: "THB";
67
+ IDR: "IDR";
68
+ MYR: "MYR";
69
+ PHP: "PHP";
70
+ VND: "VND";
71
+ ZAR: "ZAR";
72
+ AED: "AED";
73
+ SAR: "SAR";
74
+ SEK: "SEK";
75
+ NOK: "NOK";
76
+ DKK: "DKK";
77
+ PLN: "PLN";
78
+ CZK: "CZK";
79
+ HUF: "HUF";
80
+ ILS: "ILS";
81
+ TRY: "TRY";
82
+ RON: "RON";
83
+ }>;
84
+ amountMinor: z.ZodString;
85
+ interval: z.ZodEnum<{
86
+ week: "week";
87
+ month: "month";
88
+ year: "year";
89
+ free: "free";
90
+ one_time: "one_time";
91
+ }>;
92
+ intervalCount: z.ZodNumber;
93
+ }, z.core.$strict>>;
94
+ }, z.core.$strict>>;
95
+ }, z.core.$strict>>;
11
96
  nodes: z.ZodRecord<z.ZodString, z.ZodObject<{
12
97
  base: z.ZodObject<{
13
98
  text: z.ZodOptional<z.ZodString>;
@@ -21,8 +106,8 @@ declare const surfaceDataSchema: z.ZodObject<{
21
106
  }, z.core.$strip>>;
22
107
  code: z.ZodOptional<z.ZodString>;
23
108
  countdownAt: z.ZodOptional<z.ZodISODateTime>;
24
- planId: z.ZodOptional<z.ZodUUID>;
25
- planVersionId: z.ZodOptional<z.ZodUUID>;
109
+ planId: z.ZodOptional<z.ZodString>;
110
+ planVersionId: z.ZodOptional<z.ZodString>;
26
111
  currency: z.ZodOptional<z.ZodEnum<{
27
112
  USD: "USD";
28
113
  EUR: "EUR";
@@ -77,8 +162,8 @@ declare const surfaceDataSchema: z.ZodObject<{
77
162
  }, z.core.$strip>>;
78
163
  code: z.ZodOptional<z.ZodString>;
79
164
  countdownAt: z.ZodOptional<z.ZodISODateTime>;
80
- planId: z.ZodOptional<z.ZodUUID>;
81
- planVersionId: z.ZodOptional<z.ZodUUID>;
165
+ planId: z.ZodOptional<z.ZodString>;
166
+ planVersionId: z.ZodOptional<z.ZodString>;
82
167
  currency: z.ZodOptional<z.ZodEnum<{
83
168
  USD: "USD";
84
169
  EUR: "EUR";
@@ -122,8 +207,9 @@ declare const surfaceDataSchema: z.ZodObject<{
122
207
  }, z.core.$strict>>>;
123
208
  }, z.core.$strict>>;
124
209
  plans: z.ZodRecord<z.ZodString, z.ZodObject<{
125
- id: z.ZodUUID;
126
- versionId: z.ZodUUID;
210
+ id: z.ZodString;
211
+ versionId: z.ZodString;
212
+ available: z.ZodBoolean;
127
213
  name: z.ZodString;
128
214
  price: z.ZodString;
129
215
  period: z.ZodString;
@@ -164,8 +250,8 @@ declare const surfaceDataSchema: z.ZodObject<{
164
250
  }>>;
165
251
  }, z.core.$strict>>;
166
252
  pickers: z.ZodRecord<z.ZodString, z.ZodObject<{
167
- options: z.ZodArray<z.ZodUUID>;
168
- selected: z.ZodNullable<z.ZodUUID>;
253
+ options: z.ZodArray<z.ZodString>;
254
+ selected: z.ZodNullable<z.ZodString>;
169
255
  }, z.core.$strict>>;
170
256
  diagnostics: z.ZodArray<z.ZodObject<{
171
257
  nodeId: z.ZodString;
@@ -181,12 +267,12 @@ type SurfaceData = z.infer<typeof surfaceDataSchema>;
181
267
  */
182
268
  declare const styleSchema: z.ZodObject<{
183
269
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
184
- fit: "fit";
185
270
  fill: "fill";
271
+ fit: "fit";
186
272
  }>, z.ZodNumber]>>;
187
273
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
188
- fit: "fit";
189
274
  fill: "fill";
275
+ fit: "fit";
190
276
  }>, z.ZodNumber]>>;
191
277
  padding: z.ZodOptional<z.ZodObject<{
192
278
  top: z.ZodNumber;
@@ -205,10 +291,10 @@ declare const styleSchema: z.ZodObject<{
205
291
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
206
292
  type: z.ZodLiteral<"color">;
207
293
  color: z.ZodUnion<readonly [z.ZodEnum<{
208
- text: "text";
209
294
  surface: "surface";
210
295
  primary: "primary";
211
296
  background: "background";
297
+ text: "text";
212
298
  muted: "muted";
213
299
  }>, z.ZodString]>;
214
300
  }, z.core.$strict>, z.ZodObject<{
@@ -216,10 +302,10 @@ declare const styleSchema: z.ZodObject<{
216
302
  angle: z.ZodNumber;
217
303
  stops: z.ZodArray<z.ZodObject<{
218
304
  color: z.ZodUnion<readonly [z.ZodEnum<{
219
- text: "text";
220
305
  surface: "surface";
221
306
  primary: "primary";
222
307
  background: "background";
308
+ text: "text";
223
309
  muted: "muted";
224
310
  }>, z.ZodString]>;
225
311
  at: z.ZodNumber;
@@ -252,10 +338,10 @@ declare const styleSchema: z.ZodObject<{
252
338
  border: z.ZodOptional<z.ZodObject<{
253
339
  width: z.ZodNumber;
254
340
  color: z.ZodUnion<readonly [z.ZodEnum<{
255
- text: "text";
256
341
  surface: "surface";
257
342
  primary: "primary";
258
343
  background: "background";
344
+ text: "text";
259
345
  muted: "muted";
260
346
  }>, z.ZodString]>;
261
347
  style: z.ZodEnum<{
@@ -269,10 +355,10 @@ declare const styleSchema: z.ZodObject<{
269
355
  blur: z.ZodNumber;
270
356
  spread: z.ZodNumber;
271
357
  color: z.ZodUnion<readonly [z.ZodEnum<{
272
- text: "text";
273
358
  surface: "surface";
274
359
  primary: "primary";
275
360
  background: "background";
361
+ text: "text";
276
362
  muted: "muted";
277
363
  }>, z.ZodString]>;
278
364
  }, z.core.$strict>>;
@@ -288,16 +374,16 @@ declare const styleSchema: z.ZodObject<{
288
374
  lineHeight: z.ZodOptional<z.ZodNumber>;
289
375
  letterSpacing: z.ZodOptional<z.ZodNumber>;
290
376
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
291
- text: "text";
292
377
  surface: "surface";
293
378
  primary: "primary";
294
379
  background: "background";
380
+ text: "text";
295
381
  muted: "muted";
296
382
  }>, z.ZodString]>>;
297
383
  align: z.ZodOptional<z.ZodEnum<{
298
384
  start: "start";
299
- center: "center";
300
385
  end: "end";
386
+ center: "center";
301
387
  }>>;
302
388
  italic: z.ZodOptional<z.ZodBoolean>;
303
389
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -314,24 +400,37 @@ declare const styleSchema: z.ZodObject<{
314
400
  type ScreenStyle = z.infer<typeof styleSchema>;
315
401
  declare const textNodeSchema: z.ZodObject<{
316
402
  type: z.ZodLiteral<"text">;
403
+ productField: z.ZodOptional<z.ZodEnum<{
404
+ price: "price";
405
+ trial: "trial";
406
+ name: "name";
407
+ period: "period";
408
+ }>>;
409
+ feature: z.ZodOptional<z.ZodObject<{
410
+ id: z.ZodUUID;
411
+ field: z.ZodEnum<{
412
+ name: "name";
413
+ allowance: "allowance";
414
+ }>;
415
+ }, z.core.$strict>>;
317
416
  text: z.ZodString;
318
417
  variant: z.ZodEnum<{
319
- body: "body";
320
- caption: "caption";
321
418
  title: "title";
322
419
  heading: "heading";
420
+ body: "body";
421
+ caption: "caption";
323
422
  }>;
324
423
  id: z.ZodString;
325
424
  name: z.ZodOptional<z.ZodString>;
326
425
  hidden: z.ZodOptional<z.ZodBoolean>;
327
426
  style: z.ZodOptional<z.ZodObject<{
328
427
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
329
- fit: "fit";
330
428
  fill: "fill";
429
+ fit: "fit";
331
430
  }>, z.ZodNumber]>>;
332
431
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
333
- fit: "fit";
334
432
  fill: "fill";
433
+ fit: "fit";
335
434
  }>, z.ZodNumber]>>;
336
435
  padding: z.ZodOptional<z.ZodObject<{
337
436
  top: z.ZodNumber;
@@ -350,10 +449,10 @@ declare const textNodeSchema: z.ZodObject<{
350
449
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
351
450
  type: z.ZodLiteral<"color">;
352
451
  color: z.ZodUnion<readonly [z.ZodEnum<{
353
- text: "text";
354
452
  surface: "surface";
355
453
  primary: "primary";
356
454
  background: "background";
455
+ text: "text";
357
456
  muted: "muted";
358
457
  }>, z.ZodString]>;
359
458
  }, z.core.$strict>, z.ZodObject<{
@@ -361,10 +460,10 @@ declare const textNodeSchema: z.ZodObject<{
361
460
  angle: z.ZodNumber;
362
461
  stops: z.ZodArray<z.ZodObject<{
363
462
  color: z.ZodUnion<readonly [z.ZodEnum<{
364
- text: "text";
365
463
  surface: "surface";
366
464
  primary: "primary";
367
465
  background: "background";
466
+ text: "text";
368
467
  muted: "muted";
369
468
  }>, z.ZodString]>;
370
469
  at: z.ZodNumber;
@@ -397,10 +496,10 @@ declare const textNodeSchema: z.ZodObject<{
397
496
  border: z.ZodOptional<z.ZodObject<{
398
497
  width: z.ZodNumber;
399
498
  color: z.ZodUnion<readonly [z.ZodEnum<{
400
- text: "text";
401
499
  surface: "surface";
402
500
  primary: "primary";
403
501
  background: "background";
502
+ text: "text";
404
503
  muted: "muted";
405
504
  }>, z.ZodString]>;
406
505
  style: z.ZodEnum<{
@@ -414,10 +513,10 @@ declare const textNodeSchema: z.ZodObject<{
414
513
  blur: z.ZodNumber;
415
514
  spread: z.ZodNumber;
416
515
  color: z.ZodUnion<readonly [z.ZodEnum<{
417
- text: "text";
418
516
  surface: "surface";
419
517
  primary: "primary";
420
518
  background: "background";
519
+ text: "text";
421
520
  muted: "muted";
422
521
  }>, z.ZodString]>;
423
522
  }, z.core.$strict>>;
@@ -433,16 +532,16 @@ declare const textNodeSchema: z.ZodObject<{
433
532
  lineHeight: z.ZodOptional<z.ZodNumber>;
434
533
  letterSpacing: z.ZodOptional<z.ZodNumber>;
435
534
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
436
- text: "text";
437
535
  surface: "surface";
438
536
  primary: "primary";
439
537
  background: "background";
538
+ text: "text";
440
539
  muted: "muted";
441
540
  }>, z.ZodString]>>;
442
541
  align: z.ZodOptional<z.ZodEnum<{
443
542
  start: "start";
444
- center: "center";
445
543
  end: "end";
544
+ center: "center";
446
545
  }>>;
447
546
  italic: z.ZodOptional<z.ZodBoolean>;
448
547
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -483,12 +582,12 @@ declare const imageNodeSchema: z.ZodObject<{
483
582
  hidden: z.ZodOptional<z.ZodBoolean>;
484
583
  style: z.ZodOptional<z.ZodObject<{
485
584
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
486
- fit: "fit";
487
585
  fill: "fill";
586
+ fit: "fit";
488
587
  }>, z.ZodNumber]>>;
489
588
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
490
- fit: "fit";
491
589
  fill: "fill";
590
+ fit: "fit";
492
591
  }>, z.ZodNumber]>>;
493
592
  padding: z.ZodOptional<z.ZodObject<{
494
593
  top: z.ZodNumber;
@@ -507,10 +606,10 @@ declare const imageNodeSchema: z.ZodObject<{
507
606
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
508
607
  type: z.ZodLiteral<"color">;
509
608
  color: z.ZodUnion<readonly [z.ZodEnum<{
510
- text: "text";
511
609
  surface: "surface";
512
610
  primary: "primary";
513
611
  background: "background";
612
+ text: "text";
514
613
  muted: "muted";
515
614
  }>, z.ZodString]>;
516
615
  }, z.core.$strict>, z.ZodObject<{
@@ -518,10 +617,10 @@ declare const imageNodeSchema: z.ZodObject<{
518
617
  angle: z.ZodNumber;
519
618
  stops: z.ZodArray<z.ZodObject<{
520
619
  color: z.ZodUnion<readonly [z.ZodEnum<{
521
- text: "text";
522
620
  surface: "surface";
523
621
  primary: "primary";
524
622
  background: "background";
623
+ text: "text";
525
624
  muted: "muted";
526
625
  }>, z.ZodString]>;
527
626
  at: z.ZodNumber;
@@ -554,10 +653,10 @@ declare const imageNodeSchema: z.ZodObject<{
554
653
  border: z.ZodOptional<z.ZodObject<{
555
654
  width: z.ZodNumber;
556
655
  color: z.ZodUnion<readonly [z.ZodEnum<{
557
- text: "text";
558
656
  surface: "surface";
559
657
  primary: "primary";
560
658
  background: "background";
659
+ text: "text";
561
660
  muted: "muted";
562
661
  }>, z.ZodString]>;
563
662
  style: z.ZodEnum<{
@@ -571,10 +670,10 @@ declare const imageNodeSchema: z.ZodObject<{
571
670
  blur: z.ZodNumber;
572
671
  spread: z.ZodNumber;
573
672
  color: z.ZodUnion<readonly [z.ZodEnum<{
574
- text: "text";
575
673
  surface: "surface";
576
674
  primary: "primary";
577
675
  background: "background";
676
+ text: "text";
578
677
  muted: "muted";
579
678
  }>, z.ZodString]>;
580
679
  }, z.core.$strict>>;
@@ -590,16 +689,16 @@ declare const imageNodeSchema: z.ZodObject<{
590
689
  lineHeight: z.ZodOptional<z.ZodNumber>;
591
690
  letterSpacing: z.ZodOptional<z.ZodNumber>;
592
691
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
593
- text: "text";
594
692
  surface: "surface";
595
693
  primary: "primary";
596
694
  background: "background";
695
+ text: "text";
597
696
  muted: "muted";
598
697
  }>, z.ZodString]>>;
599
698
  align: z.ZodOptional<z.ZodEnum<{
600
699
  start: "start";
601
- center: "center";
602
700
  end: "end";
701
+ center: "center";
603
702
  }>>;
604
703
  italic: z.ZodOptional<z.ZodBoolean>;
605
704
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -624,17 +723,28 @@ declare const buttonNodeSchema: z.ZodObject<{
624
723
  secondary: "secondary";
625
724
  }>;
626
725
  action: z.ZodString;
726
+ purpose: z.ZodOptional<z.ZodEnum<{
727
+ purchase: "purchase";
728
+ close: "close";
729
+ navigation: "navigation";
730
+ }>>;
731
+ bind: z.ZodOptional<z.ZodObject<{
732
+ plan: z.ZodOptional<z.ZodString>;
733
+ coupon: z.ZodOptional<z.ZodUUID>;
734
+ promotionCode: z.ZodOptional<z.ZodUUID>;
735
+ picker: z.ZodOptional<z.ZodString>;
736
+ }, z.core.$strict>>;
627
737
  id: z.ZodString;
628
738
  name: z.ZodOptional<z.ZodString>;
629
739
  hidden: z.ZodOptional<z.ZodBoolean>;
630
740
  style: z.ZodOptional<z.ZodObject<{
631
741
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
632
- fit: "fit";
633
742
  fill: "fill";
743
+ fit: "fit";
634
744
  }>, z.ZodNumber]>>;
635
745
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
636
- fit: "fit";
637
746
  fill: "fill";
747
+ fit: "fit";
638
748
  }>, z.ZodNumber]>>;
639
749
  padding: z.ZodOptional<z.ZodObject<{
640
750
  top: z.ZodNumber;
@@ -653,10 +763,10 @@ declare const buttonNodeSchema: z.ZodObject<{
653
763
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
654
764
  type: z.ZodLiteral<"color">;
655
765
  color: z.ZodUnion<readonly [z.ZodEnum<{
656
- text: "text";
657
766
  surface: "surface";
658
767
  primary: "primary";
659
768
  background: "background";
769
+ text: "text";
660
770
  muted: "muted";
661
771
  }>, z.ZodString]>;
662
772
  }, z.core.$strict>, z.ZodObject<{
@@ -664,10 +774,10 @@ declare const buttonNodeSchema: z.ZodObject<{
664
774
  angle: z.ZodNumber;
665
775
  stops: z.ZodArray<z.ZodObject<{
666
776
  color: z.ZodUnion<readonly [z.ZodEnum<{
667
- text: "text";
668
777
  surface: "surface";
669
778
  primary: "primary";
670
779
  background: "background";
780
+ text: "text";
671
781
  muted: "muted";
672
782
  }>, z.ZodString]>;
673
783
  at: z.ZodNumber;
@@ -700,10 +810,10 @@ declare const buttonNodeSchema: z.ZodObject<{
700
810
  border: z.ZodOptional<z.ZodObject<{
701
811
  width: z.ZodNumber;
702
812
  color: z.ZodUnion<readonly [z.ZodEnum<{
703
- text: "text";
704
813
  surface: "surface";
705
814
  primary: "primary";
706
815
  background: "background";
816
+ text: "text";
707
817
  muted: "muted";
708
818
  }>, z.ZodString]>;
709
819
  style: z.ZodEnum<{
@@ -717,10 +827,10 @@ declare const buttonNodeSchema: z.ZodObject<{
717
827
  blur: z.ZodNumber;
718
828
  spread: z.ZodNumber;
719
829
  color: z.ZodUnion<readonly [z.ZodEnum<{
720
- text: "text";
721
830
  surface: "surface";
722
831
  primary: "primary";
723
832
  background: "background";
833
+ text: "text";
724
834
  muted: "muted";
725
835
  }>, z.ZodString]>;
726
836
  }, z.core.$strict>>;
@@ -736,16 +846,16 @@ declare const buttonNodeSchema: z.ZodObject<{
736
846
  lineHeight: z.ZodOptional<z.ZodNumber>;
737
847
  letterSpacing: z.ZodOptional<z.ZodNumber>;
738
848
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
739
- text: "text";
740
849
  surface: "surface";
741
850
  primary: "primary";
742
851
  background: "background";
852
+ text: "text";
743
853
  muted: "muted";
744
854
  }>, z.ZodString]>>;
745
855
  align: z.ZodOptional<z.ZodEnum<{
746
856
  start: "start";
747
- center: "center";
748
857
  end: "end";
858
+ center: "center";
749
859
  }>>;
750
860
  italic: z.ZodOptional<z.ZodBoolean>;
751
861
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -768,12 +878,12 @@ declare const dividerNodeSchema: z.ZodObject<{
768
878
  hidden: z.ZodOptional<z.ZodBoolean>;
769
879
  style: z.ZodOptional<z.ZodObject<{
770
880
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
771
- fit: "fit";
772
881
  fill: "fill";
882
+ fit: "fit";
773
883
  }>, z.ZodNumber]>>;
774
884
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
775
- fit: "fit";
776
885
  fill: "fill";
886
+ fit: "fit";
777
887
  }>, z.ZodNumber]>>;
778
888
  padding: z.ZodOptional<z.ZodObject<{
779
889
  top: z.ZodNumber;
@@ -792,10 +902,10 @@ declare const dividerNodeSchema: z.ZodObject<{
792
902
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
793
903
  type: z.ZodLiteral<"color">;
794
904
  color: z.ZodUnion<readonly [z.ZodEnum<{
795
- text: "text";
796
905
  surface: "surface";
797
906
  primary: "primary";
798
907
  background: "background";
908
+ text: "text";
799
909
  muted: "muted";
800
910
  }>, z.ZodString]>;
801
911
  }, z.core.$strict>, z.ZodObject<{
@@ -803,10 +913,10 @@ declare const dividerNodeSchema: z.ZodObject<{
803
913
  angle: z.ZodNumber;
804
914
  stops: z.ZodArray<z.ZodObject<{
805
915
  color: z.ZodUnion<readonly [z.ZodEnum<{
806
- text: "text";
807
916
  surface: "surface";
808
917
  primary: "primary";
809
918
  background: "background";
919
+ text: "text";
810
920
  muted: "muted";
811
921
  }>, z.ZodString]>;
812
922
  at: z.ZodNumber;
@@ -839,10 +949,10 @@ declare const dividerNodeSchema: z.ZodObject<{
839
949
  border: z.ZodOptional<z.ZodObject<{
840
950
  width: z.ZodNumber;
841
951
  color: z.ZodUnion<readonly [z.ZodEnum<{
842
- text: "text";
843
952
  surface: "surface";
844
953
  primary: "primary";
845
954
  background: "background";
955
+ text: "text";
846
956
  muted: "muted";
847
957
  }>, z.ZodString]>;
848
958
  style: z.ZodEnum<{
@@ -856,10 +966,10 @@ declare const dividerNodeSchema: z.ZodObject<{
856
966
  blur: z.ZodNumber;
857
967
  spread: z.ZodNumber;
858
968
  color: z.ZodUnion<readonly [z.ZodEnum<{
859
- text: "text";
860
969
  surface: "surface";
861
970
  primary: "primary";
862
971
  background: "background";
972
+ text: "text";
863
973
  muted: "muted";
864
974
  }>, z.ZodString]>;
865
975
  }, z.core.$strict>>;
@@ -875,16 +985,16 @@ declare const dividerNodeSchema: z.ZodObject<{
875
985
  lineHeight: z.ZodOptional<z.ZodNumber>;
876
986
  letterSpacing: z.ZodOptional<z.ZodNumber>;
877
987
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
878
- text: "text";
879
988
  surface: "surface";
880
989
  primary: "primary";
881
990
  background: "background";
991
+ text: "text";
882
992
  muted: "muted";
883
993
  }>, z.ZodString]>>;
884
994
  align: z.ZodOptional<z.ZodEnum<{
885
995
  start: "start";
886
- center: "center";
887
996
  end: "end";
997
+ center: "center";
888
998
  }>>;
889
999
  italic: z.ZodOptional<z.ZodBoolean>;
890
1000
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -905,9 +1015,9 @@ declare const customerDataNodeSchema: z.ZodObject<{
905
1015
  title: z.ZodString;
906
1016
  data: z.ZodObject<{
907
1017
  source: z.ZodEnum<{
1018
+ membership: "membership";
908
1019
  credit_balance: "credit_balance";
909
1020
  credit_transactions: "credit_transactions";
910
- membership: "membership";
911
1021
  billing: "billing";
912
1022
  billing_controls: "billing_controls";
913
1023
  customer_plans: "customer_plans";
@@ -937,12 +1047,12 @@ declare const customerDataNodeSchema: z.ZodObject<{
937
1047
  hidden: z.ZodOptional<z.ZodBoolean>;
938
1048
  style: z.ZodOptional<z.ZodObject<{
939
1049
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
940
- fit: "fit";
941
1050
  fill: "fill";
1051
+ fit: "fit";
942
1052
  }>, z.ZodNumber]>>;
943
1053
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
944
- fit: "fit";
945
1054
  fill: "fill";
1055
+ fit: "fit";
946
1056
  }>, z.ZodNumber]>>;
947
1057
  padding: z.ZodOptional<z.ZodObject<{
948
1058
  top: z.ZodNumber;
@@ -961,10 +1071,10 @@ declare const customerDataNodeSchema: z.ZodObject<{
961
1071
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
962
1072
  type: z.ZodLiteral<"color">;
963
1073
  color: z.ZodUnion<readonly [z.ZodEnum<{
964
- text: "text";
965
1074
  surface: "surface";
966
1075
  primary: "primary";
967
1076
  background: "background";
1077
+ text: "text";
968
1078
  muted: "muted";
969
1079
  }>, z.ZodString]>;
970
1080
  }, z.core.$strict>, z.ZodObject<{
@@ -972,10 +1082,10 @@ declare const customerDataNodeSchema: z.ZodObject<{
972
1082
  angle: z.ZodNumber;
973
1083
  stops: z.ZodArray<z.ZodObject<{
974
1084
  color: z.ZodUnion<readonly [z.ZodEnum<{
975
- text: "text";
976
1085
  surface: "surface";
977
1086
  primary: "primary";
978
1087
  background: "background";
1088
+ text: "text";
979
1089
  muted: "muted";
980
1090
  }>, z.ZodString]>;
981
1091
  at: z.ZodNumber;
@@ -1008,10 +1118,10 @@ declare const customerDataNodeSchema: z.ZodObject<{
1008
1118
  border: z.ZodOptional<z.ZodObject<{
1009
1119
  width: z.ZodNumber;
1010
1120
  color: z.ZodUnion<readonly [z.ZodEnum<{
1011
- text: "text";
1012
1121
  surface: "surface";
1013
1122
  primary: "primary";
1014
1123
  background: "background";
1124
+ text: "text";
1015
1125
  muted: "muted";
1016
1126
  }>, z.ZodString]>;
1017
1127
  style: z.ZodEnum<{
@@ -1025,10 +1135,10 @@ declare const customerDataNodeSchema: z.ZodObject<{
1025
1135
  blur: z.ZodNumber;
1026
1136
  spread: z.ZodNumber;
1027
1137
  color: z.ZodUnion<readonly [z.ZodEnum<{
1028
- text: "text";
1029
1138
  surface: "surface";
1030
1139
  primary: "primary";
1031
1140
  background: "background";
1141
+ text: "text";
1032
1142
  muted: "muted";
1033
1143
  }>, z.ZodString]>;
1034
1144
  }, z.core.$strict>>;
@@ -1044,16 +1154,16 @@ declare const customerDataNodeSchema: z.ZodObject<{
1044
1154
  lineHeight: z.ZodOptional<z.ZodNumber>;
1045
1155
  letterSpacing: z.ZodOptional<z.ZodNumber>;
1046
1156
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1047
- text: "text";
1048
1157
  surface: "surface";
1049
1158
  primary: "primary";
1050
1159
  background: "background";
1160
+ text: "text";
1051
1161
  muted: "muted";
1052
1162
  }>, z.ZodString]>>;
1053
1163
  align: z.ZodOptional<z.ZodEnum<{
1054
1164
  start: "start";
1055
- center: "center";
1056
1165
  end: "end";
1166
+ center: "center";
1057
1167
  }>>;
1058
1168
  italic: z.ZodOptional<z.ZodBoolean>;
1059
1169
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -1073,10 +1183,10 @@ type CustomerDataNode = z.infer<typeof customerDataNodeSchema>;
1073
1183
  declare const spacerNodeSchema: z.ZodObject<{
1074
1184
  type: z.ZodLiteral<"spacer">;
1075
1185
  size: z.ZodEnum<{
1186
+ none: "none";
1076
1187
  sm: "sm";
1077
1188
  md: "md";
1078
1189
  lg: "lg";
1079
- none: "none";
1080
1190
  xs: "xs";
1081
1191
  xl: "xl";
1082
1192
  }>;
@@ -1085,12 +1195,12 @@ declare const spacerNodeSchema: z.ZodObject<{
1085
1195
  hidden: z.ZodOptional<z.ZodBoolean>;
1086
1196
  style: z.ZodOptional<z.ZodObject<{
1087
1197
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1088
- fit: "fit";
1089
1198
  fill: "fill";
1199
+ fit: "fit";
1090
1200
  }>, z.ZodNumber]>>;
1091
1201
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1092
- fit: "fit";
1093
1202
  fill: "fill";
1203
+ fit: "fit";
1094
1204
  }>, z.ZodNumber]>>;
1095
1205
  padding: z.ZodOptional<z.ZodObject<{
1096
1206
  top: z.ZodNumber;
@@ -1109,10 +1219,10 @@ declare const spacerNodeSchema: z.ZodObject<{
1109
1219
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1110
1220
  type: z.ZodLiteral<"color">;
1111
1221
  color: z.ZodUnion<readonly [z.ZodEnum<{
1112
- text: "text";
1113
1222
  surface: "surface";
1114
1223
  primary: "primary";
1115
1224
  background: "background";
1225
+ text: "text";
1116
1226
  muted: "muted";
1117
1227
  }>, z.ZodString]>;
1118
1228
  }, z.core.$strict>, z.ZodObject<{
@@ -1120,10 +1230,10 @@ declare const spacerNodeSchema: z.ZodObject<{
1120
1230
  angle: z.ZodNumber;
1121
1231
  stops: z.ZodArray<z.ZodObject<{
1122
1232
  color: z.ZodUnion<readonly [z.ZodEnum<{
1123
- text: "text";
1124
1233
  surface: "surface";
1125
1234
  primary: "primary";
1126
1235
  background: "background";
1236
+ text: "text";
1127
1237
  muted: "muted";
1128
1238
  }>, z.ZodString]>;
1129
1239
  at: z.ZodNumber;
@@ -1156,10 +1266,10 @@ declare const spacerNodeSchema: z.ZodObject<{
1156
1266
  border: z.ZodOptional<z.ZodObject<{
1157
1267
  width: z.ZodNumber;
1158
1268
  color: z.ZodUnion<readonly [z.ZodEnum<{
1159
- text: "text";
1160
1269
  surface: "surface";
1161
1270
  primary: "primary";
1162
1271
  background: "background";
1272
+ text: "text";
1163
1273
  muted: "muted";
1164
1274
  }>, z.ZodString]>;
1165
1275
  style: z.ZodEnum<{
@@ -1173,10 +1283,10 @@ declare const spacerNodeSchema: z.ZodObject<{
1173
1283
  blur: z.ZodNumber;
1174
1284
  spread: z.ZodNumber;
1175
1285
  color: z.ZodUnion<readonly [z.ZodEnum<{
1176
- text: "text";
1177
1286
  surface: "surface";
1178
1287
  primary: "primary";
1179
1288
  background: "background";
1289
+ text: "text";
1180
1290
  muted: "muted";
1181
1291
  }>, z.ZodString]>;
1182
1292
  }, z.core.$strict>>;
@@ -1192,16 +1302,16 @@ declare const spacerNodeSchema: z.ZodObject<{
1192
1302
  lineHeight: z.ZodOptional<z.ZodNumber>;
1193
1303
  letterSpacing: z.ZodOptional<z.ZodNumber>;
1194
1304
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1195
- text: "text";
1196
1305
  surface: "surface";
1197
1306
  primary: "primary";
1198
1307
  background: "background";
1308
+ text: "text";
1199
1309
  muted: "muted";
1200
1310
  }>, z.ZodString]>>;
1201
1311
  align: z.ZodOptional<z.ZodEnum<{
1202
1312
  start: "start";
1203
- center: "center";
1204
1313
  end: "end";
1314
+ center: "center";
1205
1315
  }>>;
1206
1316
  italic: z.ZodOptional<z.ZodBoolean>;
1207
1317
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -1227,12 +1337,12 @@ declare const customHtmlNodeSchema: z.ZodObject<{
1227
1337
  hidden: z.ZodOptional<z.ZodBoolean>;
1228
1338
  style: z.ZodOptional<z.ZodObject<{
1229
1339
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1230
- fit: "fit";
1231
1340
  fill: "fill";
1341
+ fit: "fit";
1232
1342
  }>, z.ZodNumber]>>;
1233
1343
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1234
- fit: "fit";
1235
1344
  fill: "fill";
1345
+ fit: "fit";
1236
1346
  }>, z.ZodNumber]>>;
1237
1347
  padding: z.ZodOptional<z.ZodObject<{
1238
1348
  top: z.ZodNumber;
@@ -1251,10 +1361,10 @@ declare const customHtmlNodeSchema: z.ZodObject<{
1251
1361
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1252
1362
  type: z.ZodLiteral<"color">;
1253
1363
  color: z.ZodUnion<readonly [z.ZodEnum<{
1254
- text: "text";
1255
1364
  surface: "surface";
1256
1365
  primary: "primary";
1257
1366
  background: "background";
1367
+ text: "text";
1258
1368
  muted: "muted";
1259
1369
  }>, z.ZodString]>;
1260
1370
  }, z.core.$strict>, z.ZodObject<{
@@ -1262,10 +1372,10 @@ declare const customHtmlNodeSchema: z.ZodObject<{
1262
1372
  angle: z.ZodNumber;
1263
1373
  stops: z.ZodArray<z.ZodObject<{
1264
1374
  color: z.ZodUnion<readonly [z.ZodEnum<{
1265
- text: "text";
1266
1375
  surface: "surface";
1267
1376
  primary: "primary";
1268
1377
  background: "background";
1378
+ text: "text";
1269
1379
  muted: "muted";
1270
1380
  }>, z.ZodString]>;
1271
1381
  at: z.ZodNumber;
@@ -1298,10 +1408,10 @@ declare const customHtmlNodeSchema: z.ZodObject<{
1298
1408
  border: z.ZodOptional<z.ZodObject<{
1299
1409
  width: z.ZodNumber;
1300
1410
  color: z.ZodUnion<readonly [z.ZodEnum<{
1301
- text: "text";
1302
1411
  surface: "surface";
1303
1412
  primary: "primary";
1304
1413
  background: "background";
1414
+ text: "text";
1305
1415
  muted: "muted";
1306
1416
  }>, z.ZodString]>;
1307
1417
  style: z.ZodEnum<{
@@ -1315,10 +1425,10 @@ declare const customHtmlNodeSchema: z.ZodObject<{
1315
1425
  blur: z.ZodNumber;
1316
1426
  spread: z.ZodNumber;
1317
1427
  color: z.ZodUnion<readonly [z.ZodEnum<{
1318
- text: "text";
1319
1428
  surface: "surface";
1320
1429
  primary: "primary";
1321
1430
  background: "background";
1431
+ text: "text";
1322
1432
  muted: "muted";
1323
1433
  }>, z.ZodString]>;
1324
1434
  }, z.core.$strict>>;
@@ -1334,16 +1444,16 @@ declare const customHtmlNodeSchema: z.ZodObject<{
1334
1444
  lineHeight: z.ZodOptional<z.ZodNumber>;
1335
1445
  letterSpacing: z.ZodOptional<z.ZodNumber>;
1336
1446
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1337
- text: "text";
1338
1447
  surface: "surface";
1339
1448
  primary: "primary";
1340
1449
  background: "background";
1450
+ text: "text";
1341
1451
  muted: "muted";
1342
1452
  }>, z.ZodString]>>;
1343
1453
  align: z.ZodOptional<z.ZodEnum<{
1344
1454
  start: "start";
1345
- center: "center";
1346
1455
  end: "end";
1456
+ center: "center";
1347
1457
  }>>;
1348
1458
  italic: z.ZodOptional<z.ZodBoolean>;
1349
1459
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -1365,12 +1475,12 @@ declare const priceNodeSchema: z.ZodObject<{
1365
1475
  parts: z.ZodOptional<z.ZodObject<{
1366
1476
  current: z.ZodOptional<z.ZodObject<{
1367
1477
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1368
- fit: "fit";
1369
1478
  fill: "fill";
1479
+ fit: "fit";
1370
1480
  }>, z.ZodNumber]>>;
1371
1481
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1372
- fit: "fit";
1373
1482
  fill: "fill";
1483
+ fit: "fit";
1374
1484
  }>, z.ZodNumber]>>;
1375
1485
  padding: z.ZodOptional<z.ZodObject<{
1376
1486
  top: z.ZodNumber;
@@ -1389,10 +1499,10 @@ declare const priceNodeSchema: z.ZodObject<{
1389
1499
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1390
1500
  type: z.ZodLiteral<"color">;
1391
1501
  color: z.ZodUnion<readonly [z.ZodEnum<{
1392
- text: "text";
1393
1502
  surface: "surface";
1394
1503
  primary: "primary";
1395
1504
  background: "background";
1505
+ text: "text";
1396
1506
  muted: "muted";
1397
1507
  }>, z.ZodString]>;
1398
1508
  }, z.core.$strict>, z.ZodObject<{
@@ -1400,10 +1510,10 @@ declare const priceNodeSchema: z.ZodObject<{
1400
1510
  angle: z.ZodNumber;
1401
1511
  stops: z.ZodArray<z.ZodObject<{
1402
1512
  color: z.ZodUnion<readonly [z.ZodEnum<{
1403
- text: "text";
1404
1513
  surface: "surface";
1405
1514
  primary: "primary";
1406
1515
  background: "background";
1516
+ text: "text";
1407
1517
  muted: "muted";
1408
1518
  }>, z.ZodString]>;
1409
1519
  at: z.ZodNumber;
@@ -1436,10 +1546,10 @@ declare const priceNodeSchema: z.ZodObject<{
1436
1546
  border: z.ZodOptional<z.ZodObject<{
1437
1547
  width: z.ZodNumber;
1438
1548
  color: z.ZodUnion<readonly [z.ZodEnum<{
1439
- text: "text";
1440
1549
  surface: "surface";
1441
1550
  primary: "primary";
1442
1551
  background: "background";
1552
+ text: "text";
1443
1553
  muted: "muted";
1444
1554
  }>, z.ZodString]>;
1445
1555
  style: z.ZodEnum<{
@@ -1453,10 +1563,10 @@ declare const priceNodeSchema: z.ZodObject<{
1453
1563
  blur: z.ZodNumber;
1454
1564
  spread: z.ZodNumber;
1455
1565
  color: z.ZodUnion<readonly [z.ZodEnum<{
1456
- text: "text";
1457
1566
  surface: "surface";
1458
1567
  primary: "primary";
1459
1568
  background: "background";
1569
+ text: "text";
1460
1570
  muted: "muted";
1461
1571
  }>, z.ZodString]>;
1462
1572
  }, z.core.$strict>>;
@@ -1472,16 +1582,16 @@ declare const priceNodeSchema: z.ZodObject<{
1472
1582
  lineHeight: z.ZodOptional<z.ZodNumber>;
1473
1583
  letterSpacing: z.ZodOptional<z.ZodNumber>;
1474
1584
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1475
- text: "text";
1476
1585
  surface: "surface";
1477
1586
  primary: "primary";
1478
1587
  background: "background";
1588
+ text: "text";
1479
1589
  muted: "muted";
1480
1590
  }>, z.ZodString]>>;
1481
1591
  align: z.ZodOptional<z.ZodEnum<{
1482
1592
  start: "start";
1483
- center: "center";
1484
1593
  end: "end";
1594
+ center: "center";
1485
1595
  }>>;
1486
1596
  italic: z.ZodOptional<z.ZodBoolean>;
1487
1597
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -1497,12 +1607,12 @@ declare const priceNodeSchema: z.ZodObject<{
1497
1607
  }, z.core.$strict>>;
1498
1608
  original: z.ZodOptional<z.ZodObject<{
1499
1609
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1500
- fit: "fit";
1501
1610
  fill: "fill";
1611
+ fit: "fit";
1502
1612
  }>, z.ZodNumber]>>;
1503
1613
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1504
- fit: "fit";
1505
1614
  fill: "fill";
1615
+ fit: "fit";
1506
1616
  }>, z.ZodNumber]>>;
1507
1617
  padding: z.ZodOptional<z.ZodObject<{
1508
1618
  top: z.ZodNumber;
@@ -1521,10 +1631,10 @@ declare const priceNodeSchema: z.ZodObject<{
1521
1631
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1522
1632
  type: z.ZodLiteral<"color">;
1523
1633
  color: z.ZodUnion<readonly [z.ZodEnum<{
1524
- text: "text";
1525
1634
  surface: "surface";
1526
1635
  primary: "primary";
1527
1636
  background: "background";
1637
+ text: "text";
1528
1638
  muted: "muted";
1529
1639
  }>, z.ZodString]>;
1530
1640
  }, z.core.$strict>, z.ZodObject<{
@@ -1532,10 +1642,10 @@ declare const priceNodeSchema: z.ZodObject<{
1532
1642
  angle: z.ZodNumber;
1533
1643
  stops: z.ZodArray<z.ZodObject<{
1534
1644
  color: z.ZodUnion<readonly [z.ZodEnum<{
1535
- text: "text";
1536
1645
  surface: "surface";
1537
1646
  primary: "primary";
1538
1647
  background: "background";
1648
+ text: "text";
1539
1649
  muted: "muted";
1540
1650
  }>, z.ZodString]>;
1541
1651
  at: z.ZodNumber;
@@ -1568,10 +1678,10 @@ declare const priceNodeSchema: z.ZodObject<{
1568
1678
  border: z.ZodOptional<z.ZodObject<{
1569
1679
  width: z.ZodNumber;
1570
1680
  color: z.ZodUnion<readonly [z.ZodEnum<{
1571
- text: "text";
1572
1681
  surface: "surface";
1573
1682
  primary: "primary";
1574
1683
  background: "background";
1684
+ text: "text";
1575
1685
  muted: "muted";
1576
1686
  }>, z.ZodString]>;
1577
1687
  style: z.ZodEnum<{
@@ -1585,10 +1695,10 @@ declare const priceNodeSchema: z.ZodObject<{
1585
1695
  blur: z.ZodNumber;
1586
1696
  spread: z.ZodNumber;
1587
1697
  color: z.ZodUnion<readonly [z.ZodEnum<{
1588
- text: "text";
1589
1698
  surface: "surface";
1590
1699
  primary: "primary";
1591
1700
  background: "background";
1701
+ text: "text";
1592
1702
  muted: "muted";
1593
1703
  }>, z.ZodString]>;
1594
1704
  }, z.core.$strict>>;
@@ -1604,16 +1714,16 @@ declare const priceNodeSchema: z.ZodObject<{
1604
1714
  lineHeight: z.ZodOptional<z.ZodNumber>;
1605
1715
  letterSpacing: z.ZodOptional<z.ZodNumber>;
1606
1716
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1607
- text: "text";
1608
1717
  surface: "surface";
1609
1718
  primary: "primary";
1610
1719
  background: "background";
1720
+ text: "text";
1611
1721
  muted: "muted";
1612
1722
  }>, z.ZodString]>>;
1613
1723
  align: z.ZodOptional<z.ZodEnum<{
1614
1724
  start: "start";
1615
- center: "center";
1616
1725
  end: "end";
1726
+ center: "center";
1617
1727
  }>>;
1618
1728
  italic: z.ZodOptional<z.ZodBoolean>;
1619
1729
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -1629,12 +1739,12 @@ declare const priceNodeSchema: z.ZodObject<{
1629
1739
  }, z.core.$strict>>;
1630
1740
  period: z.ZodOptional<z.ZodObject<{
1631
1741
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1632
- fit: "fit";
1633
1742
  fill: "fill";
1743
+ fit: "fit";
1634
1744
  }>, z.ZodNumber]>>;
1635
1745
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1636
- fit: "fit";
1637
1746
  fill: "fill";
1747
+ fit: "fit";
1638
1748
  }>, z.ZodNumber]>>;
1639
1749
  padding: z.ZodOptional<z.ZodObject<{
1640
1750
  top: z.ZodNumber;
@@ -1653,10 +1763,10 @@ declare const priceNodeSchema: z.ZodObject<{
1653
1763
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1654
1764
  type: z.ZodLiteral<"color">;
1655
1765
  color: z.ZodUnion<readonly [z.ZodEnum<{
1656
- text: "text";
1657
1766
  surface: "surface";
1658
1767
  primary: "primary";
1659
1768
  background: "background";
1769
+ text: "text";
1660
1770
  muted: "muted";
1661
1771
  }>, z.ZodString]>;
1662
1772
  }, z.core.$strict>, z.ZodObject<{
@@ -1664,10 +1774,10 @@ declare const priceNodeSchema: z.ZodObject<{
1664
1774
  angle: z.ZodNumber;
1665
1775
  stops: z.ZodArray<z.ZodObject<{
1666
1776
  color: z.ZodUnion<readonly [z.ZodEnum<{
1667
- text: "text";
1668
1777
  surface: "surface";
1669
1778
  primary: "primary";
1670
1779
  background: "background";
1780
+ text: "text";
1671
1781
  muted: "muted";
1672
1782
  }>, z.ZodString]>;
1673
1783
  at: z.ZodNumber;
@@ -1700,10 +1810,10 @@ declare const priceNodeSchema: z.ZodObject<{
1700
1810
  border: z.ZodOptional<z.ZodObject<{
1701
1811
  width: z.ZodNumber;
1702
1812
  color: z.ZodUnion<readonly [z.ZodEnum<{
1703
- text: "text";
1704
1813
  surface: "surface";
1705
1814
  primary: "primary";
1706
1815
  background: "background";
1816
+ text: "text";
1707
1817
  muted: "muted";
1708
1818
  }>, z.ZodString]>;
1709
1819
  style: z.ZodEnum<{
@@ -1717,10 +1827,10 @@ declare const priceNodeSchema: z.ZodObject<{
1717
1827
  blur: z.ZodNumber;
1718
1828
  spread: z.ZodNumber;
1719
1829
  color: z.ZodUnion<readonly [z.ZodEnum<{
1720
- text: "text";
1721
1830
  surface: "surface";
1722
1831
  primary: "primary";
1723
1832
  background: "background";
1833
+ text: "text";
1724
1834
  muted: "muted";
1725
1835
  }>, z.ZodString]>;
1726
1836
  }, z.core.$strict>>;
@@ -1736,16 +1846,16 @@ declare const priceNodeSchema: z.ZodObject<{
1736
1846
  lineHeight: z.ZodOptional<z.ZodNumber>;
1737
1847
  letterSpacing: z.ZodOptional<z.ZodNumber>;
1738
1848
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1739
- text: "text";
1740
1849
  surface: "surface";
1741
1850
  primary: "primary";
1742
1851
  background: "background";
1852
+ text: "text";
1743
1853
  muted: "muted";
1744
1854
  }>, z.ZodString]>>;
1745
1855
  align: z.ZodOptional<z.ZodEnum<{
1746
1856
  start: "start";
1747
- center: "center";
1748
1857
  end: "end";
1858
+ center: "center";
1749
1859
  }>>;
1750
1860
  italic: z.ZodOptional<z.ZodBoolean>;
1751
1861
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -1765,12 +1875,12 @@ declare const priceNodeSchema: z.ZodObject<{
1765
1875
  hidden: z.ZodOptional<z.ZodBoolean>;
1766
1876
  style: z.ZodOptional<z.ZodObject<{
1767
1877
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1768
- fit: "fit";
1769
1878
  fill: "fill";
1879
+ fit: "fit";
1770
1880
  }>, z.ZodNumber]>>;
1771
1881
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1772
- fit: "fit";
1773
1882
  fill: "fill";
1883
+ fit: "fit";
1774
1884
  }>, z.ZodNumber]>>;
1775
1885
  padding: z.ZodOptional<z.ZodObject<{
1776
1886
  top: z.ZodNumber;
@@ -1789,10 +1899,10 @@ declare const priceNodeSchema: z.ZodObject<{
1789
1899
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1790
1900
  type: z.ZodLiteral<"color">;
1791
1901
  color: z.ZodUnion<readonly [z.ZodEnum<{
1792
- text: "text";
1793
1902
  surface: "surface";
1794
1903
  primary: "primary";
1795
1904
  background: "background";
1905
+ text: "text";
1796
1906
  muted: "muted";
1797
1907
  }>, z.ZodString]>;
1798
1908
  }, z.core.$strict>, z.ZodObject<{
@@ -1800,10 +1910,10 @@ declare const priceNodeSchema: z.ZodObject<{
1800
1910
  angle: z.ZodNumber;
1801
1911
  stops: z.ZodArray<z.ZodObject<{
1802
1912
  color: z.ZodUnion<readonly [z.ZodEnum<{
1803
- text: "text";
1804
1913
  surface: "surface";
1805
1914
  primary: "primary";
1806
1915
  background: "background";
1916
+ text: "text";
1807
1917
  muted: "muted";
1808
1918
  }>, z.ZodString]>;
1809
1919
  at: z.ZodNumber;
@@ -1836,10 +1946,10 @@ declare const priceNodeSchema: z.ZodObject<{
1836
1946
  border: z.ZodOptional<z.ZodObject<{
1837
1947
  width: z.ZodNumber;
1838
1948
  color: z.ZodUnion<readonly [z.ZodEnum<{
1839
- text: "text";
1840
1949
  surface: "surface";
1841
1950
  primary: "primary";
1842
1951
  background: "background";
1952
+ text: "text";
1843
1953
  muted: "muted";
1844
1954
  }>, z.ZodString]>;
1845
1955
  style: z.ZodEnum<{
@@ -1853,10 +1963,10 @@ declare const priceNodeSchema: z.ZodObject<{
1853
1963
  blur: z.ZodNumber;
1854
1964
  spread: z.ZodNumber;
1855
1965
  color: z.ZodUnion<readonly [z.ZodEnum<{
1856
- text: "text";
1857
1966
  surface: "surface";
1858
1967
  primary: "primary";
1859
1968
  background: "background";
1969
+ text: "text";
1860
1970
  muted: "muted";
1861
1971
  }>, z.ZodString]>;
1862
1972
  }, z.core.$strict>>;
@@ -1872,16 +1982,16 @@ declare const priceNodeSchema: z.ZodObject<{
1872
1982
  lineHeight: z.ZodOptional<z.ZodNumber>;
1873
1983
  letterSpacing: z.ZodOptional<z.ZodNumber>;
1874
1984
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1875
- text: "text";
1876
1985
  surface: "surface";
1877
1986
  primary: "primary";
1878
1987
  background: "background";
1988
+ text: "text";
1879
1989
  muted: "muted";
1880
1990
  }>, z.ZodString]>>;
1881
1991
  align: z.ZodOptional<z.ZodEnum<{
1882
1992
  start: "start";
1883
- center: "center";
1884
1993
  end: "end";
1994
+ center: "center";
1885
1995
  }>>;
1886
1996
  italic: z.ZodOptional<z.ZodBoolean>;
1887
1997
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -1905,12 +2015,12 @@ declare const couponCodeNodeSchema: z.ZodObject<{
1905
2015
  hidden: z.ZodOptional<z.ZodBoolean>;
1906
2016
  style: z.ZodOptional<z.ZodObject<{
1907
2017
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1908
- fit: "fit";
1909
2018
  fill: "fill";
2019
+ fit: "fit";
1910
2020
  }>, z.ZodNumber]>>;
1911
2021
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1912
- fit: "fit";
1913
2022
  fill: "fill";
2023
+ fit: "fit";
1914
2024
  }>, z.ZodNumber]>>;
1915
2025
  padding: z.ZodOptional<z.ZodObject<{
1916
2026
  top: z.ZodNumber;
@@ -1929,10 +2039,10 @@ declare const couponCodeNodeSchema: z.ZodObject<{
1929
2039
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1930
2040
  type: z.ZodLiteral<"color">;
1931
2041
  color: z.ZodUnion<readonly [z.ZodEnum<{
1932
- text: "text";
1933
2042
  surface: "surface";
1934
2043
  primary: "primary";
1935
2044
  background: "background";
2045
+ text: "text";
1936
2046
  muted: "muted";
1937
2047
  }>, z.ZodString]>;
1938
2048
  }, z.core.$strict>, z.ZodObject<{
@@ -1940,10 +2050,10 @@ declare const couponCodeNodeSchema: z.ZodObject<{
1940
2050
  angle: z.ZodNumber;
1941
2051
  stops: z.ZodArray<z.ZodObject<{
1942
2052
  color: z.ZodUnion<readonly [z.ZodEnum<{
1943
- text: "text";
1944
2053
  surface: "surface";
1945
2054
  primary: "primary";
1946
2055
  background: "background";
2056
+ text: "text";
1947
2057
  muted: "muted";
1948
2058
  }>, z.ZodString]>;
1949
2059
  at: z.ZodNumber;
@@ -1976,10 +2086,10 @@ declare const couponCodeNodeSchema: z.ZodObject<{
1976
2086
  border: z.ZodOptional<z.ZodObject<{
1977
2087
  width: z.ZodNumber;
1978
2088
  color: z.ZodUnion<readonly [z.ZodEnum<{
1979
- text: "text";
1980
2089
  surface: "surface";
1981
2090
  primary: "primary";
1982
2091
  background: "background";
2092
+ text: "text";
1983
2093
  muted: "muted";
1984
2094
  }>, z.ZodString]>;
1985
2095
  style: z.ZodEnum<{
@@ -1993,10 +2103,10 @@ declare const couponCodeNodeSchema: z.ZodObject<{
1993
2103
  blur: z.ZodNumber;
1994
2104
  spread: z.ZodNumber;
1995
2105
  color: z.ZodUnion<readonly [z.ZodEnum<{
1996
- text: "text";
1997
2106
  surface: "surface";
1998
2107
  primary: "primary";
1999
2108
  background: "background";
2109
+ text: "text";
2000
2110
  muted: "muted";
2001
2111
  }>, z.ZodString]>;
2002
2112
  }, z.core.$strict>>;
@@ -2012,16 +2122,16 @@ declare const couponCodeNodeSchema: z.ZodObject<{
2012
2122
  lineHeight: z.ZodOptional<z.ZodNumber>;
2013
2123
  letterSpacing: z.ZodOptional<z.ZodNumber>;
2014
2124
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2015
- text: "text";
2016
2125
  surface: "surface";
2017
2126
  primary: "primary";
2018
2127
  background: "background";
2128
+ text: "text";
2019
2129
  muted: "muted";
2020
2130
  }>, z.ZodString]>>;
2021
2131
  align: z.ZodOptional<z.ZodEnum<{
2022
2132
  start: "start";
2023
- center: "center";
2024
2133
  end: "end";
2134
+ center: "center";
2025
2135
  }>>;
2026
2136
  italic: z.ZodOptional<z.ZodBoolean>;
2027
2137
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -2039,15 +2149,15 @@ declare const couponCodeNodeSchema: z.ZodObject<{
2039
2149
  declare const countdownNodeSchema: z.ZodObject<{
2040
2150
  type: z.ZodLiteral<"countdown">;
2041
2151
  source: z.ZodEnum<{
2152
+ fixed: "fixed";
2042
2153
  "offer.ends_at": "offer.ends_at";
2043
2154
  "offer.expires_at": "offer.expires_at";
2044
- fixed: "fixed";
2045
2155
  }>;
2046
2156
  at: z.ZodOptional<z.ZodISODateTime>;
2047
2157
  granularity: z.ZodEnum<{
2048
- day: "day";
2049
- hour: "hour";
2050
2158
  minute: "minute";
2159
+ hour: "hour";
2160
+ day: "day";
2051
2161
  second: "second";
2052
2162
  }>;
2053
2163
  expired: z.ZodString;
@@ -2057,12 +2167,12 @@ declare const countdownNodeSchema: z.ZodObject<{
2057
2167
  hidden: z.ZodOptional<z.ZodBoolean>;
2058
2168
  style: z.ZodOptional<z.ZodObject<{
2059
2169
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2060
- fit: "fit";
2061
2170
  fill: "fill";
2171
+ fit: "fit";
2062
2172
  }>, z.ZodNumber]>>;
2063
2173
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2064
- fit: "fit";
2065
2174
  fill: "fill";
2175
+ fit: "fit";
2066
2176
  }>, z.ZodNumber]>>;
2067
2177
  padding: z.ZodOptional<z.ZodObject<{
2068
2178
  top: z.ZodNumber;
@@ -2081,10 +2191,10 @@ declare const countdownNodeSchema: z.ZodObject<{
2081
2191
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2082
2192
  type: z.ZodLiteral<"color">;
2083
2193
  color: z.ZodUnion<readonly [z.ZodEnum<{
2084
- text: "text";
2085
2194
  surface: "surface";
2086
2195
  primary: "primary";
2087
2196
  background: "background";
2197
+ text: "text";
2088
2198
  muted: "muted";
2089
2199
  }>, z.ZodString]>;
2090
2200
  }, z.core.$strict>, z.ZodObject<{
@@ -2092,10 +2202,10 @@ declare const countdownNodeSchema: z.ZodObject<{
2092
2202
  angle: z.ZodNumber;
2093
2203
  stops: z.ZodArray<z.ZodObject<{
2094
2204
  color: z.ZodUnion<readonly [z.ZodEnum<{
2095
- text: "text";
2096
2205
  surface: "surface";
2097
2206
  primary: "primary";
2098
2207
  background: "background";
2208
+ text: "text";
2099
2209
  muted: "muted";
2100
2210
  }>, z.ZodString]>;
2101
2211
  at: z.ZodNumber;
@@ -2128,10 +2238,10 @@ declare const countdownNodeSchema: z.ZodObject<{
2128
2238
  border: z.ZodOptional<z.ZodObject<{
2129
2239
  width: z.ZodNumber;
2130
2240
  color: z.ZodUnion<readonly [z.ZodEnum<{
2131
- text: "text";
2132
2241
  surface: "surface";
2133
2242
  primary: "primary";
2134
2243
  background: "background";
2244
+ text: "text";
2135
2245
  muted: "muted";
2136
2246
  }>, z.ZodString]>;
2137
2247
  style: z.ZodEnum<{
@@ -2145,10 +2255,10 @@ declare const countdownNodeSchema: z.ZodObject<{
2145
2255
  blur: z.ZodNumber;
2146
2256
  spread: z.ZodNumber;
2147
2257
  color: z.ZodUnion<readonly [z.ZodEnum<{
2148
- text: "text";
2149
2258
  surface: "surface";
2150
2259
  primary: "primary";
2151
2260
  background: "background";
2261
+ text: "text";
2152
2262
  muted: "muted";
2153
2263
  }>, z.ZodString]>;
2154
2264
  }, z.core.$strict>>;
@@ -2164,16 +2274,16 @@ declare const countdownNodeSchema: z.ZodObject<{
2164
2274
  lineHeight: z.ZodOptional<z.ZodNumber>;
2165
2275
  letterSpacing: z.ZodOptional<z.ZodNumber>;
2166
2276
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2167
- text: "text";
2168
2277
  surface: "surface";
2169
2278
  primary: "primary";
2170
2279
  background: "background";
2280
+ text: "text";
2171
2281
  muted: "muted";
2172
2282
  }>, z.ZodString]>>;
2173
2283
  align: z.ZodOptional<z.ZodEnum<{
2174
2284
  start: "start";
2175
- center: "center";
2176
2285
  end: "end";
2286
+ center: "center";
2177
2287
  }>>;
2178
2288
  italic: z.ZodOptional<z.ZodBoolean>;
2179
2289
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -2192,17 +2302,34 @@ declare const planPickerNodeSchema: z.ZodObject<{
2192
2302
  type: z.ZodLiteral<"plan_picker">;
2193
2303
  label: z.ZodString;
2194
2304
  fallback: z.ZodString;
2195
- planIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
2196
- defaultPlan: z.ZodOptional<z.ZodUUID>;
2305
+ planIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2306
+ defaultPlan: z.ZodOptional<z.ZodString>;
2307
+ grouping: z.ZodOptional<z.ZodObject<{
2308
+ tiers: z.ZodArray<z.ZodObject<{
2309
+ id: z.ZodString;
2310
+ name: z.ZodString;
2311
+ }, z.core.$strict>>;
2312
+ assignments: z.ZodArray<z.ZodObject<{
2313
+ productVersionId: z.ZodString;
2314
+ tierId: z.ZodString;
2315
+ period: z.ZodEnum<{
2316
+ month: "month";
2317
+ year: "year";
2318
+ }>;
2319
+ }, z.core.$strict>>;
2320
+ monthLabel: z.ZodString;
2321
+ yearLabel: z.ZodString;
2322
+ unavailableLabel: z.ZodString;
2323
+ }, z.core.$strict>>;
2197
2324
  states: z.ZodOptional<z.ZodObject<{
2198
2325
  selected: z.ZodOptional<z.ZodObject<{
2199
2326
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2200
- fit: "fit";
2201
2327
  fill: "fill";
2328
+ fit: "fit";
2202
2329
  }>, z.ZodNumber]>>;
2203
2330
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2204
- fit: "fit";
2205
2331
  fill: "fill";
2332
+ fit: "fit";
2206
2333
  }>, z.ZodNumber]>>;
2207
2334
  padding: z.ZodOptional<z.ZodObject<{
2208
2335
  top: z.ZodNumber;
@@ -2221,10 +2348,10 @@ declare const planPickerNodeSchema: z.ZodObject<{
2221
2348
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2222
2349
  type: z.ZodLiteral<"color">;
2223
2350
  color: z.ZodUnion<readonly [z.ZodEnum<{
2224
- text: "text";
2225
2351
  surface: "surface";
2226
2352
  primary: "primary";
2227
2353
  background: "background";
2354
+ text: "text";
2228
2355
  muted: "muted";
2229
2356
  }>, z.ZodString]>;
2230
2357
  }, z.core.$strict>, z.ZodObject<{
@@ -2232,10 +2359,10 @@ declare const planPickerNodeSchema: z.ZodObject<{
2232
2359
  angle: z.ZodNumber;
2233
2360
  stops: z.ZodArray<z.ZodObject<{
2234
2361
  color: z.ZodUnion<readonly [z.ZodEnum<{
2235
- text: "text";
2236
2362
  surface: "surface";
2237
2363
  primary: "primary";
2238
2364
  background: "background";
2365
+ text: "text";
2239
2366
  muted: "muted";
2240
2367
  }>, z.ZodString]>;
2241
2368
  at: z.ZodNumber;
@@ -2268,10 +2395,10 @@ declare const planPickerNodeSchema: z.ZodObject<{
2268
2395
  border: z.ZodOptional<z.ZodObject<{
2269
2396
  width: z.ZodNumber;
2270
2397
  color: z.ZodUnion<readonly [z.ZodEnum<{
2271
- text: "text";
2272
2398
  surface: "surface";
2273
2399
  primary: "primary";
2274
2400
  background: "background";
2401
+ text: "text";
2275
2402
  muted: "muted";
2276
2403
  }>, z.ZodString]>;
2277
2404
  style: z.ZodEnum<{
@@ -2285,10 +2412,10 @@ declare const planPickerNodeSchema: z.ZodObject<{
2285
2412
  blur: z.ZodNumber;
2286
2413
  spread: z.ZodNumber;
2287
2414
  color: z.ZodUnion<readonly [z.ZodEnum<{
2288
- text: "text";
2289
2415
  surface: "surface";
2290
2416
  primary: "primary";
2291
2417
  background: "background";
2418
+ text: "text";
2292
2419
  muted: "muted";
2293
2420
  }>, z.ZodString]>;
2294
2421
  }, z.core.$strict>>;
@@ -2304,16 +2431,16 @@ declare const planPickerNodeSchema: z.ZodObject<{
2304
2431
  lineHeight: z.ZodOptional<z.ZodNumber>;
2305
2432
  letterSpacing: z.ZodOptional<z.ZodNumber>;
2306
2433
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2307
- text: "text";
2308
2434
  surface: "surface";
2309
2435
  primary: "primary";
2310
2436
  background: "background";
2437
+ text: "text";
2311
2438
  muted: "muted";
2312
2439
  }>, z.ZodString]>>;
2313
2440
  align: z.ZodOptional<z.ZodEnum<{
2314
2441
  start: "start";
2315
- center: "center";
2316
2442
  end: "end";
2443
+ center: "center";
2317
2444
  }>>;
2318
2445
  italic: z.ZodOptional<z.ZodBoolean>;
2319
2446
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -2333,12 +2460,12 @@ declare const planPickerNodeSchema: z.ZodObject<{
2333
2460
  hidden: z.ZodOptional<z.ZodBoolean>;
2334
2461
  style: z.ZodOptional<z.ZodObject<{
2335
2462
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2336
- fit: "fit";
2337
2463
  fill: "fill";
2464
+ fit: "fit";
2338
2465
  }>, z.ZodNumber]>>;
2339
2466
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2340
- fit: "fit";
2341
2467
  fill: "fill";
2468
+ fit: "fit";
2342
2469
  }>, z.ZodNumber]>>;
2343
2470
  padding: z.ZodOptional<z.ZodObject<{
2344
2471
  top: z.ZodNumber;
@@ -2357,10 +2484,10 @@ declare const planPickerNodeSchema: z.ZodObject<{
2357
2484
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2358
2485
  type: z.ZodLiteral<"color">;
2359
2486
  color: z.ZodUnion<readonly [z.ZodEnum<{
2360
- text: "text";
2361
2487
  surface: "surface";
2362
2488
  primary: "primary";
2363
2489
  background: "background";
2490
+ text: "text";
2364
2491
  muted: "muted";
2365
2492
  }>, z.ZodString]>;
2366
2493
  }, z.core.$strict>, z.ZodObject<{
@@ -2368,10 +2495,10 @@ declare const planPickerNodeSchema: z.ZodObject<{
2368
2495
  angle: z.ZodNumber;
2369
2496
  stops: z.ZodArray<z.ZodObject<{
2370
2497
  color: z.ZodUnion<readonly [z.ZodEnum<{
2371
- text: "text";
2372
2498
  surface: "surface";
2373
2499
  primary: "primary";
2374
2500
  background: "background";
2501
+ text: "text";
2375
2502
  muted: "muted";
2376
2503
  }>, z.ZodString]>;
2377
2504
  at: z.ZodNumber;
@@ -2404,10 +2531,10 @@ declare const planPickerNodeSchema: z.ZodObject<{
2404
2531
  border: z.ZodOptional<z.ZodObject<{
2405
2532
  width: z.ZodNumber;
2406
2533
  color: z.ZodUnion<readonly [z.ZodEnum<{
2407
- text: "text";
2408
2534
  surface: "surface";
2409
2535
  primary: "primary";
2410
2536
  background: "background";
2537
+ text: "text";
2411
2538
  muted: "muted";
2412
2539
  }>, z.ZodString]>;
2413
2540
  style: z.ZodEnum<{
@@ -2421,10 +2548,10 @@ declare const planPickerNodeSchema: z.ZodObject<{
2421
2548
  blur: z.ZodNumber;
2422
2549
  spread: z.ZodNumber;
2423
2550
  color: z.ZodUnion<readonly [z.ZodEnum<{
2424
- text: "text";
2425
2551
  surface: "surface";
2426
2552
  primary: "primary";
2427
2553
  background: "background";
2554
+ text: "text";
2428
2555
  muted: "muted";
2429
2556
  }>, z.ZodString]>;
2430
2557
  }, z.core.$strict>>;
@@ -2440,16 +2567,16 @@ declare const planPickerNodeSchema: z.ZodObject<{
2440
2567
  lineHeight: z.ZodOptional<z.ZodNumber>;
2441
2568
  letterSpacing: z.ZodOptional<z.ZodNumber>;
2442
2569
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2443
- text: "text";
2444
2570
  surface: "surface";
2445
2571
  primary: "primary";
2446
2572
  background: "background";
2573
+ text: "text";
2447
2574
  muted: "muted";
2448
2575
  }>, z.ZodString]>>;
2449
2576
  align: z.ZodOptional<z.ZodEnum<{
2450
2577
  start: "start";
2451
- center: "center";
2452
2578
  end: "end";
2579
+ center: "center";
2453
2580
  }>>;
2454
2581
  italic: z.ZodOptional<z.ZodBoolean>;
2455
2582
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -2478,8 +2605,8 @@ declare const stackInteractionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2478
2605
  type: z.ZodLiteral<"input">;
2479
2606
  label: z.ZodString;
2480
2607
  keyboard: z.ZodEnum<{
2481
- text: "text";
2482
2608
  url: "url";
2609
+ text: "text";
2483
2610
  email: "email";
2484
2611
  tel: "tel";
2485
2612
  }>;
@@ -2494,18 +2621,19 @@ declare const stackInteractionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2494
2621
  label: z.ZodString;
2495
2622
  defaultIndex: z.ZodNumber;
2496
2623
  purpose: z.ZodOptional<z.ZodEnum<{
2497
- option: "option";
2498
- package: "package";
2624
+ product: "product";
2499
2625
  tier: "tier";
2626
+ option: "option";
2500
2627
  }>>;
2628
+ pickerId: z.ZodOptional<z.ZodString>;
2501
2629
  selectedStyle: z.ZodOptional<z.ZodObject<{
2502
2630
  width: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2503
- fit: "fit";
2504
2631
  fill: "fill";
2632
+ fit: "fit";
2505
2633
  }>, z.ZodNumber]>>;
2506
2634
  height: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2507
- fit: "fit";
2508
2635
  fill: "fill";
2636
+ fit: "fit";
2509
2637
  }>, z.ZodNumber]>>;
2510
2638
  padding: z.ZodOptional<z.ZodObject<{
2511
2639
  top: z.ZodNumber;
@@ -2524,10 +2652,10 @@ declare const stackInteractionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2524
2652
  background: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2525
2653
  type: z.ZodLiteral<"color">;
2526
2654
  color: z.ZodUnion<readonly [z.ZodEnum<{
2527
- text: "text";
2528
2655
  surface: "surface";
2529
2656
  primary: "primary";
2530
2657
  background: "background";
2658
+ text: "text";
2531
2659
  muted: "muted";
2532
2660
  }>, z.ZodString]>;
2533
2661
  }, z.core.$strict>, z.ZodObject<{
@@ -2535,10 +2663,10 @@ declare const stackInteractionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2535
2663
  angle: z.ZodNumber;
2536
2664
  stops: z.ZodArray<z.ZodObject<{
2537
2665
  color: z.ZodUnion<readonly [z.ZodEnum<{
2538
- text: "text";
2539
2666
  surface: "surface";
2540
2667
  primary: "primary";
2541
2668
  background: "background";
2669
+ text: "text";
2542
2670
  muted: "muted";
2543
2671
  }>, z.ZodString]>;
2544
2672
  at: z.ZodNumber;
@@ -2571,10 +2699,10 @@ declare const stackInteractionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2571
2699
  border: z.ZodOptional<z.ZodObject<{
2572
2700
  width: z.ZodNumber;
2573
2701
  color: z.ZodUnion<readonly [z.ZodEnum<{
2574
- text: "text";
2575
2702
  surface: "surface";
2576
2703
  primary: "primary";
2577
2704
  background: "background";
2705
+ text: "text";
2578
2706
  muted: "muted";
2579
2707
  }>, z.ZodString]>;
2580
2708
  style: z.ZodEnum<{
@@ -2588,10 +2716,10 @@ declare const stackInteractionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2588
2716
  blur: z.ZodNumber;
2589
2717
  spread: z.ZodNumber;
2590
2718
  color: z.ZodUnion<readonly [z.ZodEnum<{
2591
- text: "text";
2592
2719
  surface: "surface";
2593
2720
  primary: "primary";
2594
2721
  background: "background";
2722
+ text: "text";
2595
2723
  muted: "muted";
2596
2724
  }>, z.ZodString]>;
2597
2725
  }, z.core.$strict>>;
@@ -2607,16 +2735,16 @@ declare const stackInteractionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2607
2735
  lineHeight: z.ZodOptional<z.ZodNumber>;
2608
2736
  letterSpacing: z.ZodOptional<z.ZodNumber>;
2609
2737
  color: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2610
- text: "text";
2611
2738
  surface: "surface";
2612
2739
  primary: "primary";
2613
2740
  background: "background";
2741
+ text: "text";
2614
2742
  muted: "muted";
2615
2743
  }>, z.ZodString]>>;
2616
2744
  align: z.ZodOptional<z.ZodEnum<{
2617
2745
  start: "start";
2618
- center: "center";
2619
2746
  end: "end";
2747
+ center: "center";
2620
2748
  }>>;
2621
2749
  italic: z.ZodOptional<z.ZodBoolean>;
2622
2750
  decoration: z.ZodOptional<z.ZodEnum<{
@@ -2644,6 +2772,8 @@ declare const stackInteractionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2644
2772
  label: z.ZodString;
2645
2773
  }, z.core.$strict>], "type">;
2646
2774
  type StackInteraction = z.infer<typeof stackInteractionSchema>;
2775
+ /** Display selections only. Never use these values as payment, eligibility, price, or customer authentication. */
2776
+ type ScreenSelection = Record<string, string | boolean>;
2647
2777
  type StackNode = {
2648
2778
  id: string;
2649
2779
  name?: string;
@@ -2655,12 +2785,30 @@ type StackNode = {
2655
2785
  align: "start" | "center" | "end" | "stretch";
2656
2786
  justify: "start" | "center" | "end" | "between";
2657
2787
  children: ScreenNode[];
2788
+ productSlot?: {
2789
+ index: number;
2790
+ period?: "month" | "year";
2791
+ requireBinding?: boolean;
2792
+ };
2793
+ states?: {
2794
+ selected?: ScreenStyle;
2795
+ };
2796
+ purpose?: "benefits";
2797
+ purchaseAction?: string;
2798
+ buttonVariant?: "primary" | "secondary" | "link";
2658
2799
  interaction?: StackInteraction;
2659
2800
  bind?: CapabilityBinding;
2660
2801
  fallback?: string;
2661
2802
  };
2662
2803
  type ScreenNode = StackNode | TextNode | ImageNode | ButtonNode | DividerNode | SpacerNode | CustomHtmlNode | PriceNode | CouponCodeNode | CountdownNode | PlanPickerNode | CustomerDataNode;
2663
2804
  declare const screenActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2805
+ type: z.ZodLiteral<"navigate">;
2806
+ close: z.ZodLiteral<false>;
2807
+ pageId: z.ZodString;
2808
+ id: z.ZodString;
2809
+ event: z.ZodString;
2810
+ properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
2811
+ }, z.core.$strict>, z.ZodObject<{
2664
2812
  type: z.ZodLiteral<"event">;
2665
2813
  close: z.ZodBoolean;
2666
2814
  id: z.ZodString;
@@ -2690,14 +2838,15 @@ declare const screenActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2690
2838
  type ScreenAction = z.infer<typeof screenActionSchema>;
2691
2839
  declare const screenDocumentShape: z.ZodObject<{
2692
2840
  kind: z.ZodLiteral<"screen">;
2693
- schemaVersion: z.ZodLiteral<3>;
2841
+ schemaVersion: z.ZodLiteral<4>;
2694
2842
  name: z.ZodString;
2695
2843
  surface: z.ZodEnum<{
2696
- popup: "popup";
2697
2844
  paywall: "paywall";
2845
+ popup: "popup";
2698
2846
  onboarding: "onboarding";
2699
2847
  page: "page";
2700
2848
  }>;
2849
+ initialPageId: z.ZodOptional<z.ZodString>;
2701
2850
  presentation: z.ZodDiscriminatedUnion<[z.ZodObject<{
2702
2851
  type: z.ZodLiteral<"modal">;
2703
2852
  size: z.ZodEnum<{
@@ -2720,11 +2869,11 @@ declare const screenDocumentShape: z.ZodObject<{
2720
2869
  background: z.ZodString;
2721
2870
  text: z.ZodString;
2722
2871
  radius: z.ZodEnum<{
2872
+ none: "none";
2873
+ full: "full";
2723
2874
  sm: "sm";
2724
2875
  md: "md";
2725
2876
  lg: "lg";
2726
- none: "none";
2727
- full: "full";
2728
2877
  }>;
2729
2878
  font: z.ZodEnum<{
2730
2879
  system: "system";
@@ -2742,11 +2891,11 @@ declare const screenDocumentShape: z.ZodObject<{
2742
2891
  background: z.ZodString;
2743
2892
  text: z.ZodString;
2744
2893
  radius: z.ZodEnum<{
2894
+ none: "none";
2895
+ full: "full";
2745
2896
  sm: "sm";
2746
2897
  md: "md";
2747
2898
  lg: "lg";
2748
- none: "none";
2749
- full: "full";
2750
2899
  }>;
2751
2900
  font: z.ZodEnum<{
2752
2901
  system: "system";
@@ -2765,6 +2914,13 @@ declare const screenDocumentShape: z.ZodObject<{
2765
2914
  locales: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
2766
2915
  }, z.core.$strict>;
2767
2916
  actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2917
+ type: z.ZodLiteral<"navigate">;
2918
+ close: z.ZodLiteral<false>;
2919
+ pageId: z.ZodString;
2920
+ id: z.ZodString;
2921
+ event: z.ZodString;
2922
+ properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
2923
+ }, z.core.$strict>, z.ZodObject<{
2768
2924
  type: z.ZodLiteral<"event">;
2769
2925
  close: z.ZodBoolean;
2770
2926
  id: z.ZodString;
@@ -2794,2259 +2950,4 @@ declare const screenDocumentShape: z.ZodObject<{
2794
2950
  }, z.core.$strict>;
2795
2951
  type ScreenDocument = z.infer<typeof screenDocumentShape>;
2796
2952
 
2797
- declare const funnelAnswersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
2798
- declare const funnelParametersSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
2799
- type FunnelParameters = z.infer<typeof funnelParametersSchema>;
2800
-
2801
- declare const funnelDataQueriesSchema: z.ZodObject<{
2802
- nodeId: z.ZodString;
2803
- revision: z.ZodNumber;
2804
- components: z.ZodRecord<z.ZodString, z.ZodObject<{
2805
- resourceKey: z.ZodOptional<z.ZodString>;
2806
- page: z.ZodNumber;
2807
- after: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2808
- kind: z.ZodLiteral<"ledger">;
2809
- cursor: z.ZodObject<{
2810
- at: z.ZodISODateTime;
2811
- id: z.ZodUUID;
2812
- type: z.ZodEnum<{
2813
- source: "source";
2814
- usage: "usage";
2815
- debt: "debt";
2816
- transaction: "transaction";
2817
- settlement: "settlement";
2818
- }>;
2819
- }, z.core.$strict>;
2820
- }, z.core.$strict>, z.ZodObject<{
2821
- kind: z.ZodLiteral<"billing">;
2822
- cursor: z.ZodUUID;
2823
- }, z.core.$strict>], "kind">>;
2824
- filter: z.ZodEnum<{
2825
- source: "source";
2826
- all: "all";
2827
- usage: "usage";
2828
- refund: "refund";
2829
- debt: "debt";
2830
- settlement: "settlement";
2831
- purchase: "purchase";
2832
- }>;
2833
- }, z.core.$strict>>;
2834
- }, z.core.$strict>;
2835
- type FunnelDataQueries = z.infer<typeof funnelDataQueriesSchema>;
2836
- declare const funnelCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2837
- operation: z.ZodLiteral<"start">;
2838
- source: z.ZodDiscriminatedUnion<[z.ZodObject<{
2839
- type: z.ZodLiteral<"funnel">;
2840
- id: z.ZodUUID;
2841
- }, z.core.$strict>, z.ZodObject<{
2842
- type: z.ZodLiteral<"paywall">;
2843
- id: z.ZodUUID;
2844
- }, z.core.$strict>, z.ZodObject<{
2845
- type: z.ZodLiteral<"trigger">;
2846
- key: z.ZodString;
2847
- }, z.core.$strict>], "type">;
2848
- requestId: z.ZodUUID;
2849
- customerToken: z.ZodString;
2850
- locale: z.ZodOptional<z.ZodString>;
2851
- commerce: z.ZodOptional<z.ZodObject<{
2852
- provider: z.ZodEnum<{
2853
- apple: "apple";
2854
- google: "google";
2855
- stripe: "stripe";
2856
- }>;
2857
- currency: z.ZodEnum<{
2858
- USD: "USD";
2859
- EUR: "EUR";
2860
- CNY: "CNY";
2861
- GBP: "GBP";
2862
- JPY: "JPY";
2863
- CAD: "CAD";
2864
- AUD: "AUD";
2865
- NZD: "NZD";
2866
- CHF: "CHF";
2867
- HKD: "HKD";
2868
- SGD: "SGD";
2869
- KRW: "KRW";
2870
- INR: "INR";
2871
- BRL: "BRL";
2872
- MXN: "MXN";
2873
- TWD: "TWD";
2874
- THB: "THB";
2875
- IDR: "IDR";
2876
- MYR: "MYR";
2877
- PHP: "PHP";
2878
- VND: "VND";
2879
- ZAR: "ZAR";
2880
- AED: "AED";
2881
- SAR: "SAR";
2882
- SEK: "SEK";
2883
- NOK: "NOK";
2884
- DKK: "DKK";
2885
- PLN: "PLN";
2886
- CZK: "CZK";
2887
- HUF: "HUF";
2888
- ILS: "ILS";
2889
- TRY: "TRY";
2890
- RON: "RON";
2891
- }>;
2892
- }, z.core.$strict>>;
2893
- parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
2894
- }, z.core.$strict>, z.ZodObject<{
2895
- operation: z.ZodLiteral<"get">;
2896
- data: z.ZodOptional<z.ZodObject<{
2897
- nodeId: z.ZodString;
2898
- revision: z.ZodNumber;
2899
- components: z.ZodRecord<z.ZodString, z.ZodObject<{
2900
- resourceKey: z.ZodOptional<z.ZodString>;
2901
- page: z.ZodNumber;
2902
- after: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2903
- kind: z.ZodLiteral<"ledger">;
2904
- cursor: z.ZodObject<{
2905
- at: z.ZodISODateTime;
2906
- id: z.ZodUUID;
2907
- type: z.ZodEnum<{
2908
- source: "source";
2909
- usage: "usage";
2910
- debt: "debt";
2911
- transaction: "transaction";
2912
- settlement: "settlement";
2913
- }>;
2914
- }, z.core.$strict>;
2915
- }, z.core.$strict>, z.ZodObject<{
2916
- kind: z.ZodLiteral<"billing">;
2917
- cursor: z.ZodUUID;
2918
- }, z.core.$strict>], "kind">>;
2919
- filter: z.ZodEnum<{
2920
- source: "source";
2921
- all: "all";
2922
- usage: "usage";
2923
- refund: "refund";
2924
- debt: "debt";
2925
- settlement: "settlement";
2926
- purchase: "purchase";
2927
- }>;
2928
- }, z.core.$strict>>;
2929
- }, z.core.$strict>>;
2930
- customerToken: z.ZodOptional<z.ZodString>;
2931
- }, z.core.$strict>, z.ZodObject<{
2932
- operation: z.ZodLiteral<"resume">;
2933
- requestId: z.ZodUUID;
2934
- customerToken: z.ZodOptional<z.ZodString>;
2935
- }, z.core.$strict>, z.ZodObject<{
2936
- output: z.ZodString;
2937
- answers: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
2938
- requestId: z.ZodUUID;
2939
- nodeId: z.ZodString;
2940
- revision: z.ZodNumber;
2941
- customerToken: z.ZodOptional<z.ZodString>;
2942
- operation: z.ZodLiteral<"advance">;
2943
- }, z.core.$strict>, z.ZodObject<{
2944
- answers: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
2945
- requestId: z.ZodUUID;
2946
- nodeId: z.ZodString;
2947
- revision: z.ZodNumber;
2948
- customerToken: z.ZodOptional<z.ZodString>;
2949
- operation: z.ZodLiteral<"answers">;
2950
- }, z.core.$strict>, z.ZodObject<{
2951
- requestId: z.ZodUUID;
2952
- nodeId: z.ZodString;
2953
- revision: z.ZodNumber;
2954
- customerToken: z.ZodOptional<z.ZodString>;
2955
- operation: z.ZodLiteral<"back">;
2956
- }, z.core.$strict>, z.ZodObject<{
2957
- receiptId: z.ZodUUID;
2958
- requestId: z.ZodUUID;
2959
- nodeId: z.ZodString;
2960
- revision: z.ZodNumber;
2961
- customerToken: z.ZodOptional<z.ZodString>;
2962
- operation: z.ZodLiteral<"acknowledge">;
2963
- }, z.core.$strict>, z.ZodObject<{
2964
- intent: z.ZodEnum<{
2965
- confirm: "confirm";
2966
- cancel: "cancel";
2967
- begin: "begin";
2968
- fail: "fail";
2969
- }>;
2970
- accepted: z.ZodOptional<z.ZodLiteral<true>>;
2971
- productVersionId: z.ZodOptional<z.ZodUUID>;
2972
- nativeEvidence: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2973
- provider: z.ZodLiteral<"apple">;
2974
- orderId: z.ZodUUID;
2975
- receiptId: z.ZodUUID;
2976
- signedTransaction: z.ZodString;
2977
- }, z.core.$strict>, z.ZodObject<{
2978
- provider: z.ZodLiteral<"google">;
2979
- orderId: z.ZodUUID;
2980
- receiptId: z.ZodUUID;
2981
- purchaseToken: z.ZodString;
2982
- }, z.core.$strict>], "provider">>;
2983
- nativeEvidenceDigest: z.ZodOptional<z.ZodString>;
2984
- requestId: z.ZodUUID;
2985
- nodeId: z.ZodString;
2986
- revision: z.ZodNumber;
2987
- customerToken: z.ZodOptional<z.ZodString>;
2988
- operation: z.ZodLiteral<"execute">;
2989
- }, z.core.$strict>, z.ZodObject<{
2990
- customerToken: z.ZodString;
2991
- requestId: z.ZodUUID;
2992
- nodeId: z.ZodString;
2993
- revision: z.ZodNumber;
2994
- operation: z.ZodLiteral<"link">;
2995
- }, z.core.$strict>, z.ZodObject<{
2996
- requestId: z.ZodUUID;
2997
- nodeId: z.ZodString;
2998
- revision: z.ZodNumber;
2999
- customerToken: z.ZodOptional<z.ZodString>;
3000
- operation: z.ZodLiteral<"shown">;
3001
- }, z.core.$strict>, z.ZodObject<{
3002
- requestId: z.ZodUUID;
3003
- nodeId: z.ZodString;
3004
- revision: z.ZodNumber;
3005
- customerToken: z.ZodOptional<z.ZodString>;
3006
- operation: z.ZodLiteral<"close">;
3007
- }, z.core.$strict>], "operation">;
3008
- type FunnelCommand = z.infer<typeof funnelCommandSchema>;
3009
- type FunnelAnswers = z.infer<typeof funnelAnswersSchema>;
3010
-
3011
- declare const funnelRendererInputSchema: z.ZodObject<{
3012
- bindings: z.ZodArray<z.ZodObject<{
3013
- key: z.ZodString;
3014
- componentId: z.ZodString;
3015
- required: z.ZodBoolean;
3016
- }, z.core.$strict>>;
3017
- answers: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3018
- }, z.core.$strict>;
3019
- type FunnelRendererInput = z.infer<typeof funnelRendererInputSchema>;
3020
- declare const funnelInstructionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3021
- type: z.ZodLiteral<"wait">;
3022
- nodeId: z.ZodString;
3023
- visit: z.ZodNumber;
3024
- deadlineAt: z.ZodISODateTime;
3025
- eventKey: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
3026
- payment_verified: "payment_verified";
3027
- action_completed: "action_completed";
3028
- }>, z.ZodString]>>;
3029
- }, z.core.$strict>, z.ZodObject<{
3030
- type: z.ZodLiteral<"confirm_billing_adjustment">;
3031
- receiptId: z.ZodUUID;
3032
- invoiceId: z.ZodUUID;
3033
- originalInvoiceId: z.ZodUUID;
3034
- currency: z.ZodEnum<{
3035
- USD: "USD";
3036
- EUR: "EUR";
3037
- CNY: "CNY";
3038
- GBP: "GBP";
3039
- JPY: "JPY";
3040
- CAD: "CAD";
3041
- AUD: "AUD";
3042
- NZD: "NZD";
3043
- CHF: "CHF";
3044
- HKD: "HKD";
3045
- SGD: "SGD";
3046
- KRW: "KRW";
3047
- INR: "INR";
3048
- BRL: "BRL";
3049
- MXN: "MXN";
3050
- TWD: "TWD";
3051
- THB: "THB";
3052
- IDR: "IDR";
3053
- MYR: "MYR";
3054
- PHP: "PHP";
3055
- VND: "VND";
3056
- ZAR: "ZAR";
3057
- AED: "AED";
3058
- SAR: "SAR";
3059
- SEK: "SEK";
3060
- NOK: "NOK";
3061
- DKK: "DKK";
3062
- PLN: "PLN";
3063
- CZK: "CZK";
3064
- HUF: "HUF";
3065
- ILS: "ILS";
3066
- TRY: "TRY";
3067
- RON: "RON";
3068
- }>;
3069
- amountMinor: z.ZodString;
3070
- startsAt: z.ZodISODateTime;
3071
- endsAt: z.ZodISODateTime;
3072
- }, z.core.$strict>, z.ZodObject<{
3073
- type: z.ZodLiteral<"confirm_billing_authorization">;
3074
- receiptId: z.ZodUUID;
3075
- authorizationId: z.ZodUUID;
3076
- terms: z.ZodDiscriminatedUnion<[z.ZodObject<{
3077
- kind: z.ZodLiteral<"auto_topup">;
3078
- threshold: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
3079
- maxPurchasesPerDay: z.ZodNumber;
3080
- purchaseLimits: z.ZodOptional<z.ZodObject<{
3081
- hour: z.ZodOptional<z.ZodNumber>;
3082
- week: z.ZodOptional<z.ZodNumber>;
3083
- month: z.ZodOptional<z.ZodNumber>;
3084
- }, z.core.$strict>>;
3085
- purchaseAmountMinor: z.ZodString;
3086
- purchaseUnits: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
3087
- productVersionId: z.ZodUUID;
3088
- entitlementVersionId: z.ZodUUID;
3089
- currency: z.ZodEnum<{
3090
- USD: "USD";
3091
- EUR: "EUR";
3092
- CNY: "CNY";
3093
- GBP: "GBP";
3094
- JPY: "JPY";
3095
- CAD: "CAD";
3096
- AUD: "AUD";
3097
- NZD: "NZD";
3098
- CHF: "CHF";
3099
- HKD: "HKD";
3100
- SGD: "SGD";
3101
- KRW: "KRW";
3102
- INR: "INR";
3103
- BRL: "BRL";
3104
- MXN: "MXN";
3105
- TWD: "TWD";
3106
- THB: "THB";
3107
- IDR: "IDR";
3108
- MYR: "MYR";
3109
- PHP: "PHP";
3110
- VND: "VND";
3111
- ZAR: "ZAR";
3112
- AED: "AED";
3113
- SAR: "SAR";
3114
- SEK: "SEK";
3115
- NOK: "NOK";
3116
- DKK: "DKK";
3117
- PLN: "PLN";
3118
- CZK: "CZK";
3119
- HUF: "HUF";
3120
- ILS: "ILS";
3121
- TRY: "TRY";
3122
- RON: "RON";
3123
- }>;
3124
- maxAmountMinorPerPeriod: z.ZodString;
3125
- }, z.core.$strict>, z.ZodObject<{
3126
- kind: z.ZodLiteral<"postpaid">;
3127
- maxOutstandingMinor: z.ZodString;
3128
- cashPrice: z.ZodObject<{
3129
- currency: z.ZodEnum<{
3130
- USD: "USD";
3131
- EUR: "EUR";
3132
- CNY: "CNY";
3133
- GBP: "GBP";
3134
- JPY: "JPY";
3135
- CAD: "CAD";
3136
- AUD: "AUD";
3137
- NZD: "NZD";
3138
- CHF: "CHF";
3139
- HKD: "HKD";
3140
- SGD: "SGD";
3141
- KRW: "KRW";
3142
- INR: "INR";
3143
- BRL: "BRL";
3144
- MXN: "MXN";
3145
- TWD: "TWD";
3146
- THB: "THB";
3147
- IDR: "IDR";
3148
- MYR: "MYR";
3149
- PHP: "PHP";
3150
- VND: "VND";
3151
- ZAR: "ZAR";
3152
- AED: "AED";
3153
- SAR: "SAR";
3154
- SEK: "SEK";
3155
- NOK: "NOK";
3156
- DKK: "DKK";
3157
- PLN: "PLN";
3158
- CZK: "CZK";
3159
- HUF: "HUF";
3160
- ILS: "ILS";
3161
- TRY: "TRY";
3162
- RON: "RON";
3163
- }>;
3164
- pricing: z.ZodDiscriminatedUnion<[z.ZodObject<{
3165
- kind: z.ZodLiteral<"flat">;
3166
- units: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
3167
- unitAmountMinor: z.ZodString;
3168
- }, z.core.$strict>, z.ZodObject<{
3169
- kind: z.ZodEnum<{
3170
- graduated: "graduated";
3171
- volume: "volume";
3172
- }>;
3173
- units: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
3174
- tiers: z.ZodArray<z.ZodObject<{
3175
- upTo: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
3176
- unitAmountMinor: z.ZodString;
3177
- flatAmountMinor: z.ZodOptional<z.ZodNumber>;
3178
- }, z.core.$strict>>;
3179
- }, z.core.$strict>], "kind">;
3180
- billingCycle: z.ZodOptional<z.ZodObject<{
3181
- interval: z.ZodEnum<{
3182
- month: "month";
3183
- year: "year";
3184
- }>;
3185
- count: z.ZodNumber;
3186
- anchor: z.ZodEnum<{
3187
- membership: "membership";
3188
- calendar: "calendar";
3189
- }>;
3190
- }, z.core.$strict>>;
3191
- }, z.core.$strict>;
3192
- productVersionId: z.ZodUUID;
3193
- entitlementVersionId: z.ZodUUID;
3194
- currency: z.ZodEnum<{
3195
- USD: "USD";
3196
- EUR: "EUR";
3197
- CNY: "CNY";
3198
- GBP: "GBP";
3199
- JPY: "JPY";
3200
- CAD: "CAD";
3201
- AUD: "AUD";
3202
- NZD: "NZD";
3203
- CHF: "CHF";
3204
- HKD: "HKD";
3205
- SGD: "SGD";
3206
- KRW: "KRW";
3207
- INR: "INR";
3208
- BRL: "BRL";
3209
- MXN: "MXN";
3210
- TWD: "TWD";
3211
- THB: "THB";
3212
- IDR: "IDR";
3213
- MYR: "MYR";
3214
- PHP: "PHP";
3215
- VND: "VND";
3216
- ZAR: "ZAR";
3217
- AED: "AED";
3218
- SAR: "SAR";
3219
- SEK: "SEK";
3220
- NOK: "NOK";
3221
- DKK: "DKK";
3222
- PLN: "PLN";
3223
- CZK: "CZK";
3224
- HUF: "HUF";
3225
- ILS: "ILS";
3226
- TRY: "TRY";
3227
- RON: "RON";
3228
- }>;
3229
- maxAmountMinorPerPeriod: z.ZodString;
3230
- }, z.core.$strict>], "kind">;
3231
- setupUrl: z.ZodNullable<z.ZodURL>;
3232
- }, z.core.$strict>, z.ZodObject<{
3233
- type: z.ZodLiteral<"authenticate">;
3234
- }, z.core.$strict>, z.ZodObject<{
3235
- type: z.ZodLiteral<"confirm_membership_change">;
3236
- changeKind: z.ZodEnum<{
3237
- plan: "plan";
3238
- seats: "seats";
3239
- }>;
3240
- seat: z.ZodNullable<z.ZodObject<{
3241
- key: z.ZodString;
3242
- fromQuantity: z.ZodNumber;
3243
- toQuantity: z.ZodNumber;
3244
- }, z.core.$strict>>;
3245
- seats: z.ZodArray<z.ZodObject<{
3246
- key: z.ZodString;
3247
- fromQuantity: z.ZodNumber;
3248
- toQuantity: z.ZodNumber;
3249
- }, z.core.$strict>>;
3250
- receiptId: z.ZodUUID;
3251
- productVersionId: z.ZodUUID;
3252
- currency: z.ZodString;
3253
- creditMinor: z.ZodString;
3254
- debitMinor: z.ZodString;
3255
- discountMinor: z.ZodString;
3256
- taxMinor: z.ZodString;
3257
- totalMinor: z.ZodString;
3258
- effectiveAt: z.ZodISODateTime;
3259
- timing: z.ZodEnum<{
3260
- immediate: "immediate";
3261
- renewal: "renewal";
3262
- }>;
3263
- }, z.core.$strict>, z.ZodObject<{
3264
- type: z.ZodLiteral<"native_purchase">;
3265
- receiptId: z.ZodUUID;
3266
- orderId: z.ZodUUID;
3267
- productVersionId: z.ZodUUID;
3268
- provider: z.ZodEnum<{
3269
- apple: "apple";
3270
- google: "google";
3271
- }>;
3272
- productId: z.ZodString;
3273
- productKind: z.ZodEnum<{
3274
- membership: "membership";
3275
- lifetime: "lifetime";
3276
- credit_pack: "credit_pack";
3277
- }>;
3278
- replacement: z.ZodNullable<z.ZodObject<{
3279
- sourceOrderId: z.ZodUUID;
3280
- sourceProductId: z.ZodString;
3281
- policy: z.ZodEnum<{
3282
- apple_store: "apple_store";
3283
- google_full_price: "google_full_price";
3284
- }>;
3285
- sourceAccountTokens: z.ZodArray<z.ZodUUID>;
3286
- }, z.core.$strict>>;
3287
- appAccountToken: z.ZodOptional<z.ZodUUID>;
3288
- obfuscatedAccountId: z.ZodOptional<z.ZodString>;
3289
- obfuscatedProfileId: z.ZodOptional<z.ZodUUID>;
3290
- basePlanId: z.ZodOptional<z.ZodString>;
3291
- offerId: z.ZodOptional<z.ZodString>;
3292
- offerKind: z.ZodEnum<{
3293
- none: "none";
3294
- introductory: "introductory";
3295
- promotional: "promotional";
3296
- }>;
3297
- currency: z.ZodEnum<{
3298
- USD: "USD";
3299
- EUR: "EUR";
3300
- CNY: "CNY";
3301
- GBP: "GBP";
3302
- JPY: "JPY";
3303
- CAD: "CAD";
3304
- AUD: "AUD";
3305
- NZD: "NZD";
3306
- CHF: "CHF";
3307
- HKD: "HKD";
3308
- SGD: "SGD";
3309
- KRW: "KRW";
3310
- INR: "INR";
3311
- BRL: "BRL";
3312
- MXN: "MXN";
3313
- TWD: "TWD";
3314
- THB: "THB";
3315
- IDR: "IDR";
3316
- MYR: "MYR";
3317
- PHP: "PHP";
3318
- VND: "VND";
3319
- ZAR: "ZAR";
3320
- AED: "AED";
3321
- SAR: "SAR";
3322
- SEK: "SEK";
3323
- NOK: "NOK";
3324
- DKK: "DKK";
3325
- PLN: "PLN";
3326
- CZK: "CZK";
3327
- HUF: "HUF";
3328
- ILS: "ILS";
3329
- TRY: "TRY";
3330
- RON: "RON";
3331
- }>;
3332
- catalogAmountMinor: z.ZodNumber;
3333
- discountMinor: z.ZodNumber;
3334
- trialDays: z.ZodNullable<z.ZodNumber>;
3335
- seatBundle: z.ZodArray<z.ZodObject<{
3336
- key: z.ZodString;
3337
- quantity: z.ZodNumber;
3338
- }, z.core.$strict>>;
3339
- applePromotionalOffer: z.ZodNullable<z.ZodObject<{
3340
- offerId: z.ZodString;
3341
- keyId: z.ZodString;
3342
- nonce: z.ZodUUID;
3343
- signature: z.ZodString;
3344
- timestamp: z.ZodNumber;
3345
- }, z.core.$strict>>;
3346
- }, z.core.$strict>, z.ZodObject<{
3347
- type: z.ZodLiteral<"checkout">;
3348
- receiptId: z.ZodUUID;
3349
- productVersionId: z.ZodUUID;
3350
- url: z.ZodURL;
3351
- }, z.core.$strict>, z.ZodObject<{
3352
- type: z.ZodLiteral<"open_url">;
3353
- receiptId: z.ZodUUID;
3354
- url: z.ZodURL;
3355
- }, z.core.$strict>], "type">;
3356
- declare const funnelRunViewSchema: z.ZodObject<{
3357
- id: z.ZodUUID;
3358
- funnelId: z.ZodUUID;
3359
- versionId: z.ZodUUID;
3360
- revision: z.ZodNumber;
3361
- visit: z.ZodNumber;
3362
- nodeId: z.ZodString;
3363
- nodeType: z.ZodEnum<{
3364
- screen: "screen";
3365
- action: "action";
3366
- end: "end";
3367
- split: "split";
3368
- condition: "condition";
3369
- feature: "feature";
3370
- checkout: "checkout";
3371
- entry: "entry";
3372
- auth: "auth";
3373
- wait: "wait";
3374
- }>;
3375
- status: z.ZodEnum<{
3376
- closed: "closed";
3377
- waiting: "waiting";
3378
- failed: "failed";
3379
- completed: "completed";
3380
- running: "running";
3381
- ineligible: "ineligible";
3382
- }>;
3383
- canBack: z.ZodBoolean;
3384
- authenticated: z.ZodBoolean;
3385
- locale: z.ZodString;
3386
- commerce: z.ZodNullable<z.ZodObject<{
3387
- provider: z.ZodEnum<{
3388
- apple: "apple";
3389
- google: "google";
3390
- stripe: "stripe";
3391
- }>;
3392
- currency: z.ZodEnum<{
3393
- USD: "USD";
3394
- EUR: "EUR";
3395
- CNY: "CNY";
3396
- GBP: "GBP";
3397
- JPY: "JPY";
3398
- CAD: "CAD";
3399
- AUD: "AUD";
3400
- NZD: "NZD";
3401
- CHF: "CHF";
3402
- HKD: "HKD";
3403
- SGD: "SGD";
3404
- KRW: "KRW";
3405
- INR: "INR";
3406
- BRL: "BRL";
3407
- MXN: "MXN";
3408
- TWD: "TWD";
3409
- THB: "THB";
3410
- IDR: "IDR";
3411
- MYR: "MYR";
3412
- PHP: "PHP";
3413
- VND: "VND";
3414
- ZAR: "ZAR";
3415
- AED: "AED";
3416
- SAR: "SAR";
3417
- SEK: "SEK";
3418
- NOK: "NOK";
3419
- DKK: "DKK";
3420
- PLN: "PLN";
3421
- CZK: "CZK";
3422
- HUF: "HUF";
3423
- ILS: "ILS";
3424
- TRY: "TRY";
3425
- RON: "RON";
3426
- }>;
3427
- }, z.core.$strict>>;
3428
- checkout: z.ZodNullable<z.ZodObject<{
3429
- product: z.ZodDiscriminatedUnion<[z.ZodObject<{
3430
- type: z.ZodLiteral<"fixed">;
3431
- productVersionId: z.ZodUUID;
3432
- }, z.core.$strict>, z.ZodObject<{
3433
- type: z.ZodLiteral<"picker">;
3434
- pickerId: z.ZodString;
3435
- allowedProductVersionIds: z.ZodArray<z.ZodUUID>;
3436
- }, z.core.$strict>], "type">;
3437
- selectedProductVersionId: z.ZodNullable<z.ZodUUID>;
3438
- }, z.core.$strict>>;
3439
- answers: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
3440
- parameters: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
3441
- screen: z.ZodNullable<z.ZodObject<{
3442
- id: z.ZodString;
3443
- document: z.ZodObject<{
3444
- kind: z.ZodLiteral<"screen">;
3445
- schemaVersion: z.ZodLiteral<3>;
3446
- name: z.ZodString;
3447
- surface: z.ZodEnum<{
3448
- popup: "popup";
3449
- paywall: "paywall";
3450
- onboarding: "onboarding";
3451
- page: "page";
3452
- }>;
3453
- presentation: z.ZodDiscriminatedUnion<[z.ZodObject<{
3454
- type: z.ZodLiteral<"modal">;
3455
- size: z.ZodEnum<{
3456
- sm: "sm";
3457
- md: "md";
3458
- lg: "lg";
3459
- }>;
3460
- }, z.core.$strict>, z.ZodObject<{
3461
- type: z.ZodLiteral<"sheet">;
3462
- size: z.ZodEnum<{
3463
- sm: "sm";
3464
- md: "md";
3465
- lg: "lg";
3466
- }>;
3467
- }, z.core.$strict>, z.ZodObject<{
3468
- type: z.ZodLiteral<"fullscreen">;
3469
- }, z.core.$strict>], "type">;
3470
- theme: z.ZodObject<{
3471
- primary: z.ZodString;
3472
- background: z.ZodString;
3473
- text: z.ZodString;
3474
- radius: z.ZodEnum<{
3475
- sm: "sm";
3476
- md: "md";
3477
- lg: "lg";
3478
- none: "none";
3479
- full: "full";
3480
- }>;
3481
- font: z.ZodEnum<{
3482
- system: "system";
3483
- serif: "serif";
3484
- rounded: "rounded";
3485
- mono: "mono";
3486
- }>;
3487
- }, z.core.$strict>;
3488
- pages: z.ZodArray<z.ZodObject<{
3489
- id: z.ZodString;
3490
- name: z.ZodString;
3491
- root: z.ZodType<StackNode, unknown, z.core.$ZodTypeInternals<StackNode, unknown>>;
3492
- theme: z.ZodOptional<z.ZodObject<{
3493
- primary: z.ZodString;
3494
- background: z.ZodString;
3495
- text: z.ZodString;
3496
- radius: z.ZodEnum<{
3497
- sm: "sm";
3498
- md: "md";
3499
- lg: "lg";
3500
- none: "none";
3501
- full: "full";
3502
- }>;
3503
- font: z.ZodEnum<{
3504
- system: "system";
3505
- serif: "serif";
3506
- rounded: "rounded";
3507
- mono: "mono";
3508
- }>;
3509
- }, z.core.$strict>>;
3510
- editorPosition: z.ZodOptional<z.ZodObject<{
3511
- x: z.ZodNumber;
3512
- y: z.ZodNumber;
3513
- }, z.core.$strict>>;
3514
- }, z.core.$strict>>;
3515
- strings: z.ZodObject<{
3516
- defaultLocale: z.ZodString;
3517
- locales: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
3518
- }, z.core.$strict>;
3519
- actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3520
- type: z.ZodLiteral<"event">;
3521
- close: z.ZodBoolean;
3522
- id: z.ZodString;
3523
- event: z.ZodString;
3524
- properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
3525
- }, z.core.$strict>, z.ZodObject<{
3526
- type: z.ZodLiteral<"close">;
3527
- close: z.ZodLiteral<true>;
3528
- id: z.ZodString;
3529
- event: z.ZodString;
3530
- properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
3531
- }, z.core.$strict>, z.ZodObject<{
3532
- type: z.ZodLiteral<"open_url">;
3533
- close: z.ZodBoolean;
3534
- url: z.ZodString;
3535
- id: z.ZodString;
3536
- event: z.ZodString;
3537
- properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
3538
- }, z.core.$strict>, z.ZodObject<{
3539
- type: z.ZodLiteral<"claim_offer">;
3540
- close: z.ZodBoolean;
3541
- couponId: z.ZodUUID;
3542
- id: z.ZodString;
3543
- event: z.ZodString;
3544
- properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
3545
- }, z.core.$strict>], "type">>;
3546
- }, z.core.$strict>;
3547
- presentation: z.ZodDiscriminatedUnion<[z.ZodObject<{
3548
- type: z.ZodLiteral<"modal">;
3549
- size: z.ZodEnum<{
3550
- sm: "sm";
3551
- md: "md";
3552
- lg: "lg";
3553
- }>;
3554
- }, z.core.$strict>, z.ZodObject<{
3555
- type: z.ZodLiteral<"sheet">;
3556
- size: z.ZodEnum<{
3557
- sm: "sm";
3558
- md: "md";
3559
- lg: "lg";
3560
- }>;
3561
- }, z.core.$strict>, z.ZodObject<{
3562
- type: z.ZodLiteral<"fullscreen">;
3563
- }, z.core.$strict>, z.ZodObject<{
3564
- type: z.ZodLiteral<"inline">;
3565
- }, z.core.$strict>], "type">;
3566
- outputs: z.ZodArray<z.ZodString>;
3567
- inputs: z.ZodArray<z.ZodObject<{
3568
- key: z.ZodString;
3569
- componentId: z.ZodString;
3570
- required: z.ZodBoolean;
3571
- }, z.core.$strict>>;
3572
- capabilities: z.ZodObject<{
3573
- nodes: z.ZodRecord<z.ZodString, z.ZodObject<{
3574
- base: z.ZodObject<{
3575
- text: z.ZodOptional<z.ZodString>;
3576
- label: z.ZodOptional<z.ZodString>;
3577
- alt: z.ZodOptional<z.ZodString>;
3578
- html: z.ZodOptional<z.ZodString>;
3579
- price: z.ZodOptional<z.ZodObject<{
3580
- current: z.ZodString;
3581
- original: z.ZodNullable<z.ZodString>;
3582
- period: z.ZodString;
3583
- }, z.core.$strip>>;
3584
- code: z.ZodOptional<z.ZodString>;
3585
- countdownAt: z.ZodOptional<z.ZodISODateTime>;
3586
- planId: z.ZodOptional<z.ZodUUID>;
3587
- planVersionId: z.ZodOptional<z.ZodUUID>;
3588
- currency: z.ZodOptional<z.ZodEnum<{
3589
- USD: "USD";
3590
- EUR: "EUR";
3591
- CNY: "CNY";
3592
- GBP: "GBP";
3593
- JPY: "JPY";
3594
- CAD: "CAD";
3595
- AUD: "AUD";
3596
- NZD: "NZD";
3597
- CHF: "CHF";
3598
- HKD: "HKD";
3599
- SGD: "SGD";
3600
- KRW: "KRW";
3601
- INR: "INR";
3602
- BRL: "BRL";
3603
- MXN: "MXN";
3604
- TWD: "TWD";
3605
- THB: "THB";
3606
- IDR: "IDR";
3607
- MYR: "MYR";
3608
- PHP: "PHP";
3609
- VND: "VND";
3610
- ZAR: "ZAR";
3611
- AED: "AED";
3612
- SAR: "SAR";
3613
- SEK: "SEK";
3614
- NOK: "NOK";
3615
- DKK: "DKK";
3616
- PLN: "PLN";
3617
- CZK: "CZK";
3618
- HUF: "HUF";
3619
- ILS: "ILS";
3620
- TRY: "TRY";
3621
- RON: "RON";
3622
- }>>;
3623
- couponId: z.ZodOptional<z.ZodUUID>;
3624
- offerId: z.ZodOptional<z.ZodUUID>;
3625
- unavailable: z.ZodOptional<z.ZodBoolean>;
3626
- unavailableReason: z.ZodOptional<z.ZodString>;
3627
- missing: z.ZodOptional<z.ZodArray<z.ZodString>>;
3628
- }, z.core.$strict>;
3629
- picker: z.ZodOptional<z.ZodString>;
3630
- byPlan: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3631
- text: z.ZodOptional<z.ZodString>;
3632
- label: z.ZodOptional<z.ZodString>;
3633
- alt: z.ZodOptional<z.ZodString>;
3634
- html: z.ZodOptional<z.ZodString>;
3635
- price: z.ZodOptional<z.ZodObject<{
3636
- current: z.ZodString;
3637
- original: z.ZodNullable<z.ZodString>;
3638
- period: z.ZodString;
3639
- }, z.core.$strip>>;
3640
- code: z.ZodOptional<z.ZodString>;
3641
- countdownAt: z.ZodOptional<z.ZodISODateTime>;
3642
- planId: z.ZodOptional<z.ZodUUID>;
3643
- planVersionId: z.ZodOptional<z.ZodUUID>;
3644
- currency: z.ZodOptional<z.ZodEnum<{
3645
- USD: "USD";
3646
- EUR: "EUR";
3647
- CNY: "CNY";
3648
- GBP: "GBP";
3649
- JPY: "JPY";
3650
- CAD: "CAD";
3651
- AUD: "AUD";
3652
- NZD: "NZD";
3653
- CHF: "CHF";
3654
- HKD: "HKD";
3655
- SGD: "SGD";
3656
- KRW: "KRW";
3657
- INR: "INR";
3658
- BRL: "BRL";
3659
- MXN: "MXN";
3660
- TWD: "TWD";
3661
- THB: "THB";
3662
- IDR: "IDR";
3663
- MYR: "MYR";
3664
- PHP: "PHP";
3665
- VND: "VND";
3666
- ZAR: "ZAR";
3667
- AED: "AED";
3668
- SAR: "SAR";
3669
- SEK: "SEK";
3670
- NOK: "NOK";
3671
- DKK: "DKK";
3672
- PLN: "PLN";
3673
- CZK: "CZK";
3674
- HUF: "HUF";
3675
- ILS: "ILS";
3676
- TRY: "TRY";
3677
- RON: "RON";
3678
- }>>;
3679
- couponId: z.ZodOptional<z.ZodUUID>;
3680
- offerId: z.ZodOptional<z.ZodUUID>;
3681
- unavailable: z.ZodOptional<z.ZodBoolean>;
3682
- unavailableReason: z.ZodOptional<z.ZodString>;
3683
- missing: z.ZodOptional<z.ZodArray<z.ZodString>>;
3684
- }, z.core.$strict>>>;
3685
- }, z.core.$strict>>;
3686
- plans: z.ZodRecord<z.ZodString, z.ZodObject<{
3687
- id: z.ZodUUID;
3688
- versionId: z.ZodUUID;
3689
- name: z.ZodString;
3690
- price: z.ZodString;
3691
- period: z.ZodString;
3692
- currency: z.ZodOptional<z.ZodEnum<{
3693
- USD: "USD";
3694
- EUR: "EUR";
3695
- CNY: "CNY";
3696
- GBP: "GBP";
3697
- JPY: "JPY";
3698
- CAD: "CAD";
3699
- AUD: "AUD";
3700
- NZD: "NZD";
3701
- CHF: "CHF";
3702
- HKD: "HKD";
3703
- SGD: "SGD";
3704
- KRW: "KRW";
3705
- INR: "INR";
3706
- BRL: "BRL";
3707
- MXN: "MXN";
3708
- TWD: "TWD";
3709
- THB: "THB";
3710
- IDR: "IDR";
3711
- MYR: "MYR";
3712
- PHP: "PHP";
3713
- VND: "VND";
3714
- ZAR: "ZAR";
3715
- AED: "AED";
3716
- SAR: "SAR";
3717
- SEK: "SEK";
3718
- NOK: "NOK";
3719
- DKK: "DKK";
3720
- PLN: "PLN";
3721
- CZK: "CZK";
3722
- HUF: "HUF";
3723
- ILS: "ILS";
3724
- TRY: "TRY";
3725
- RON: "RON";
3726
- }>>;
3727
- }, z.core.$strict>>;
3728
- pickers: z.ZodRecord<z.ZodString, z.ZodObject<{
3729
- options: z.ZodArray<z.ZodUUID>;
3730
- selected: z.ZodNullable<z.ZodUUID>;
3731
- }, z.core.$strict>>;
3732
- diagnostics: z.ZodArray<z.ZodObject<{
3733
- nodeId: z.ZodString;
3734
- message: z.ZodString;
3735
- }, z.core.$strict>>;
3736
- }, z.core.$strict>;
3737
- customerData: z.ZodObject<{
3738
- nodes: z.ZodRecord<z.ZodString, z.ZodObject<{
3739
- source: z.ZodEnum<{
3740
- credit_balance: "credit_balance";
3741
- credit_transactions: "credit_transactions";
3742
- membership: "membership";
3743
- billing: "billing";
3744
- billing_controls: "billing_controls";
3745
- customer_plans: "customer_plans";
3746
- credit_packs: "credit_packs";
3747
- credit_pack_orders: "credit_pack_orders";
3748
- offer_history: "offer_history";
3749
- }>;
3750
- status: z.ZodEnum<{
3751
- error: "error";
3752
- ready: "ready";
3753
- idle: "idle";
3754
- loading: "loading";
3755
- }>;
3756
- stale: z.ZodBoolean;
3757
- preview: z.ZodBoolean;
3758
- errorCode: z.ZodOptional<z.ZodString>;
3759
- errorMessage: z.ZodOptional<z.ZodString>;
3760
- resources: z.ZodArray<z.ZodObject<{
3761
- key: z.ZodString;
3762
- name: z.ZodString;
3763
- spendable: z.ZodString;
3764
- reserved: z.ZodString;
3765
- available: z.ZodString;
3766
- expiry: z.ZodNullable<z.ZodString>;
3767
- sources: z.ZodArray<z.ZodObject<{
3768
- id: z.ZodString;
3769
- label: z.ZodString;
3770
- detail: z.ZodArray<z.ZodString>;
3771
- value: z.ZodOptional<z.ZodString>;
3772
- status: z.ZodOptional<z.ZodString>;
3773
- facts: z.ZodArray<z.ZodObject<{
3774
- label: z.ZodString;
3775
- value: z.ZodString;
3776
- }, z.core.$strict>>;
3777
- purchaseId: z.ZodOptional<z.ZodUUID>;
3778
- invoiceUrl: z.ZodOptional<z.ZodURL>;
3779
- billingActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3780
- action: z.ZodLiteral<"invoice_open">;
3781
- label: z.ZodString;
3782
- }, z.core.$strict>>>;
3783
- membershipActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3784
- value: z.ZodString;
3785
- label: z.ZodString;
3786
- }, z.core.$strict>>>;
3787
- }, z.core.$strict>>;
3788
- sourceCount: z.ZodNumber;
3789
- sourcePage: z.ZodNumber;
3790
- hasNextSources: z.ZodBoolean;
3791
- hasPreviousSources: z.ZodBoolean;
3792
- }, z.core.$strict>>;
3793
- rows: z.ZodArray<z.ZodObject<{
3794
- id: z.ZodString;
3795
- label: z.ZodString;
3796
- detail: z.ZodArray<z.ZodString>;
3797
- value: z.ZodOptional<z.ZodString>;
3798
- status: z.ZodOptional<z.ZodString>;
3799
- facts: z.ZodArray<z.ZodObject<{
3800
- label: z.ZodString;
3801
- value: z.ZodString;
3802
- }, z.core.$strict>>;
3803
- purchaseId: z.ZodOptional<z.ZodUUID>;
3804
- invoiceUrl: z.ZodOptional<z.ZodURL>;
3805
- billingActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3806
- action: z.ZodLiteral<"invoice_open">;
3807
- label: z.ZodString;
3808
- }, z.core.$strict>>>;
3809
- membershipActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3810
- value: z.ZodString;
3811
- label: z.ZodString;
3812
- }, z.core.$strict>>>;
3813
- }, z.core.$strict>>;
3814
- hasNext: z.ZodBoolean;
3815
- hasPrevious: z.ZodBoolean;
3816
- page: z.ZodNumber;
3817
- filter: z.ZodString;
3818
- updatedAt: z.ZodOptional<z.ZodISODateTime>;
3819
- buyingId: z.ZodOptional<z.ZodUUID>;
3820
- membershipBusy: z.ZodOptional<z.ZodBoolean>;
3821
- billingBusy: z.ZodOptional<z.ZodBoolean>;
3822
- membershipReview: z.ZodOptional<z.ZodObject<{
3823
- title: z.ZodString;
3824
- note: z.ZodString;
3825
- facts: z.ZodArray<z.ZodObject<{
3826
- label: z.ZodString;
3827
- value: z.ZodString;
3828
- }, z.core.$strict>>;
3829
- }, z.core.$strict>>;
3830
- membershipResult: z.ZodOptional<z.ZodString>;
3831
- }, z.core.$strict>>;
3832
- }, z.core.$strict>;
3833
- dataCursors: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
3834
- kind: z.ZodLiteral<"ledger">;
3835
- cursor: z.ZodObject<{
3836
- at: z.ZodISODateTime;
3837
- id: z.ZodUUID;
3838
- type: z.ZodEnum<{
3839
- source: "source";
3840
- usage: "usage";
3841
- debt: "debt";
3842
- transaction: "transaction";
3843
- settlement: "settlement";
3844
- }>;
3845
- }, z.core.$strict>;
3846
- }, z.core.$strict>, z.ZodObject<{
3847
- kind: z.ZodLiteral<"billing">;
3848
- cursor: z.ZodUUID;
3849
- }, z.core.$strict>], "kind">>>;
3850
- }, z.core.$strict>>;
3851
- instruction: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
3852
- type: z.ZodLiteral<"wait">;
3853
- nodeId: z.ZodString;
3854
- visit: z.ZodNumber;
3855
- deadlineAt: z.ZodISODateTime;
3856
- eventKey: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
3857
- payment_verified: "payment_verified";
3858
- action_completed: "action_completed";
3859
- }>, z.ZodString]>>;
3860
- }, z.core.$strict>, z.ZodObject<{
3861
- type: z.ZodLiteral<"confirm_billing_adjustment">;
3862
- receiptId: z.ZodUUID;
3863
- invoiceId: z.ZodUUID;
3864
- originalInvoiceId: z.ZodUUID;
3865
- currency: z.ZodEnum<{
3866
- USD: "USD";
3867
- EUR: "EUR";
3868
- CNY: "CNY";
3869
- GBP: "GBP";
3870
- JPY: "JPY";
3871
- CAD: "CAD";
3872
- AUD: "AUD";
3873
- NZD: "NZD";
3874
- CHF: "CHF";
3875
- HKD: "HKD";
3876
- SGD: "SGD";
3877
- KRW: "KRW";
3878
- INR: "INR";
3879
- BRL: "BRL";
3880
- MXN: "MXN";
3881
- TWD: "TWD";
3882
- THB: "THB";
3883
- IDR: "IDR";
3884
- MYR: "MYR";
3885
- PHP: "PHP";
3886
- VND: "VND";
3887
- ZAR: "ZAR";
3888
- AED: "AED";
3889
- SAR: "SAR";
3890
- SEK: "SEK";
3891
- NOK: "NOK";
3892
- DKK: "DKK";
3893
- PLN: "PLN";
3894
- CZK: "CZK";
3895
- HUF: "HUF";
3896
- ILS: "ILS";
3897
- TRY: "TRY";
3898
- RON: "RON";
3899
- }>;
3900
- amountMinor: z.ZodString;
3901
- startsAt: z.ZodISODateTime;
3902
- endsAt: z.ZodISODateTime;
3903
- }, z.core.$strict>, z.ZodObject<{
3904
- type: z.ZodLiteral<"confirm_billing_authorization">;
3905
- receiptId: z.ZodUUID;
3906
- authorizationId: z.ZodUUID;
3907
- terms: z.ZodDiscriminatedUnion<[z.ZodObject<{
3908
- kind: z.ZodLiteral<"auto_topup">;
3909
- threshold: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
3910
- maxPurchasesPerDay: z.ZodNumber;
3911
- purchaseLimits: z.ZodOptional<z.ZodObject<{
3912
- hour: z.ZodOptional<z.ZodNumber>;
3913
- week: z.ZodOptional<z.ZodNumber>;
3914
- month: z.ZodOptional<z.ZodNumber>;
3915
- }, z.core.$strict>>;
3916
- purchaseAmountMinor: z.ZodString;
3917
- purchaseUnits: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
3918
- productVersionId: z.ZodUUID;
3919
- entitlementVersionId: z.ZodUUID;
3920
- currency: z.ZodEnum<{
3921
- USD: "USD";
3922
- EUR: "EUR";
3923
- CNY: "CNY";
3924
- GBP: "GBP";
3925
- JPY: "JPY";
3926
- CAD: "CAD";
3927
- AUD: "AUD";
3928
- NZD: "NZD";
3929
- CHF: "CHF";
3930
- HKD: "HKD";
3931
- SGD: "SGD";
3932
- KRW: "KRW";
3933
- INR: "INR";
3934
- BRL: "BRL";
3935
- MXN: "MXN";
3936
- TWD: "TWD";
3937
- THB: "THB";
3938
- IDR: "IDR";
3939
- MYR: "MYR";
3940
- PHP: "PHP";
3941
- VND: "VND";
3942
- ZAR: "ZAR";
3943
- AED: "AED";
3944
- SAR: "SAR";
3945
- SEK: "SEK";
3946
- NOK: "NOK";
3947
- DKK: "DKK";
3948
- PLN: "PLN";
3949
- CZK: "CZK";
3950
- HUF: "HUF";
3951
- ILS: "ILS";
3952
- TRY: "TRY";
3953
- RON: "RON";
3954
- }>;
3955
- maxAmountMinorPerPeriod: z.ZodString;
3956
- }, z.core.$strict>, z.ZodObject<{
3957
- kind: z.ZodLiteral<"postpaid">;
3958
- maxOutstandingMinor: z.ZodString;
3959
- cashPrice: z.ZodObject<{
3960
- currency: z.ZodEnum<{
3961
- USD: "USD";
3962
- EUR: "EUR";
3963
- CNY: "CNY";
3964
- GBP: "GBP";
3965
- JPY: "JPY";
3966
- CAD: "CAD";
3967
- AUD: "AUD";
3968
- NZD: "NZD";
3969
- CHF: "CHF";
3970
- HKD: "HKD";
3971
- SGD: "SGD";
3972
- KRW: "KRW";
3973
- INR: "INR";
3974
- BRL: "BRL";
3975
- MXN: "MXN";
3976
- TWD: "TWD";
3977
- THB: "THB";
3978
- IDR: "IDR";
3979
- MYR: "MYR";
3980
- PHP: "PHP";
3981
- VND: "VND";
3982
- ZAR: "ZAR";
3983
- AED: "AED";
3984
- SAR: "SAR";
3985
- SEK: "SEK";
3986
- NOK: "NOK";
3987
- DKK: "DKK";
3988
- PLN: "PLN";
3989
- CZK: "CZK";
3990
- HUF: "HUF";
3991
- ILS: "ILS";
3992
- TRY: "TRY";
3993
- RON: "RON";
3994
- }>;
3995
- pricing: z.ZodDiscriminatedUnion<[z.ZodObject<{
3996
- kind: z.ZodLiteral<"flat">;
3997
- units: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
3998
- unitAmountMinor: z.ZodString;
3999
- }, z.core.$strict>, z.ZodObject<{
4000
- kind: z.ZodEnum<{
4001
- graduated: "graduated";
4002
- volume: "volume";
4003
- }>;
4004
- units: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
4005
- tiers: z.ZodArray<z.ZodObject<{
4006
- upTo: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
4007
- unitAmountMinor: z.ZodString;
4008
- flatAmountMinor: z.ZodOptional<z.ZodNumber>;
4009
- }, z.core.$strict>>;
4010
- }, z.core.$strict>], "kind">;
4011
- billingCycle: z.ZodOptional<z.ZodObject<{
4012
- interval: z.ZodEnum<{
4013
- month: "month";
4014
- year: "year";
4015
- }>;
4016
- count: z.ZodNumber;
4017
- anchor: z.ZodEnum<{
4018
- membership: "membership";
4019
- calendar: "calendar";
4020
- }>;
4021
- }, z.core.$strict>>;
4022
- }, z.core.$strict>;
4023
- productVersionId: z.ZodUUID;
4024
- entitlementVersionId: z.ZodUUID;
4025
- currency: z.ZodEnum<{
4026
- USD: "USD";
4027
- EUR: "EUR";
4028
- CNY: "CNY";
4029
- GBP: "GBP";
4030
- JPY: "JPY";
4031
- CAD: "CAD";
4032
- AUD: "AUD";
4033
- NZD: "NZD";
4034
- CHF: "CHF";
4035
- HKD: "HKD";
4036
- SGD: "SGD";
4037
- KRW: "KRW";
4038
- INR: "INR";
4039
- BRL: "BRL";
4040
- MXN: "MXN";
4041
- TWD: "TWD";
4042
- THB: "THB";
4043
- IDR: "IDR";
4044
- MYR: "MYR";
4045
- PHP: "PHP";
4046
- VND: "VND";
4047
- ZAR: "ZAR";
4048
- AED: "AED";
4049
- SAR: "SAR";
4050
- SEK: "SEK";
4051
- NOK: "NOK";
4052
- DKK: "DKK";
4053
- PLN: "PLN";
4054
- CZK: "CZK";
4055
- HUF: "HUF";
4056
- ILS: "ILS";
4057
- TRY: "TRY";
4058
- RON: "RON";
4059
- }>;
4060
- maxAmountMinorPerPeriod: z.ZodString;
4061
- }, z.core.$strict>], "kind">;
4062
- setupUrl: z.ZodNullable<z.ZodURL>;
4063
- }, z.core.$strict>, z.ZodObject<{
4064
- type: z.ZodLiteral<"authenticate">;
4065
- }, z.core.$strict>, z.ZodObject<{
4066
- type: z.ZodLiteral<"confirm_membership_change">;
4067
- changeKind: z.ZodEnum<{
4068
- plan: "plan";
4069
- seats: "seats";
4070
- }>;
4071
- seat: z.ZodNullable<z.ZodObject<{
4072
- key: z.ZodString;
4073
- fromQuantity: z.ZodNumber;
4074
- toQuantity: z.ZodNumber;
4075
- }, z.core.$strict>>;
4076
- seats: z.ZodArray<z.ZodObject<{
4077
- key: z.ZodString;
4078
- fromQuantity: z.ZodNumber;
4079
- toQuantity: z.ZodNumber;
4080
- }, z.core.$strict>>;
4081
- receiptId: z.ZodUUID;
4082
- productVersionId: z.ZodUUID;
4083
- currency: z.ZodString;
4084
- creditMinor: z.ZodString;
4085
- debitMinor: z.ZodString;
4086
- discountMinor: z.ZodString;
4087
- taxMinor: z.ZodString;
4088
- totalMinor: z.ZodString;
4089
- effectiveAt: z.ZodISODateTime;
4090
- timing: z.ZodEnum<{
4091
- immediate: "immediate";
4092
- renewal: "renewal";
4093
- }>;
4094
- }, z.core.$strict>, z.ZodObject<{
4095
- type: z.ZodLiteral<"native_purchase">;
4096
- receiptId: z.ZodUUID;
4097
- orderId: z.ZodUUID;
4098
- productVersionId: z.ZodUUID;
4099
- provider: z.ZodEnum<{
4100
- apple: "apple";
4101
- google: "google";
4102
- }>;
4103
- productId: z.ZodString;
4104
- productKind: z.ZodEnum<{
4105
- membership: "membership";
4106
- lifetime: "lifetime";
4107
- credit_pack: "credit_pack";
4108
- }>;
4109
- replacement: z.ZodNullable<z.ZodObject<{
4110
- sourceOrderId: z.ZodUUID;
4111
- sourceProductId: z.ZodString;
4112
- policy: z.ZodEnum<{
4113
- apple_store: "apple_store";
4114
- google_full_price: "google_full_price";
4115
- }>;
4116
- sourceAccountTokens: z.ZodArray<z.ZodUUID>;
4117
- }, z.core.$strict>>;
4118
- appAccountToken: z.ZodOptional<z.ZodUUID>;
4119
- obfuscatedAccountId: z.ZodOptional<z.ZodString>;
4120
- obfuscatedProfileId: z.ZodOptional<z.ZodUUID>;
4121
- basePlanId: z.ZodOptional<z.ZodString>;
4122
- offerId: z.ZodOptional<z.ZodString>;
4123
- offerKind: z.ZodEnum<{
4124
- none: "none";
4125
- introductory: "introductory";
4126
- promotional: "promotional";
4127
- }>;
4128
- currency: z.ZodEnum<{
4129
- USD: "USD";
4130
- EUR: "EUR";
4131
- CNY: "CNY";
4132
- GBP: "GBP";
4133
- JPY: "JPY";
4134
- CAD: "CAD";
4135
- AUD: "AUD";
4136
- NZD: "NZD";
4137
- CHF: "CHF";
4138
- HKD: "HKD";
4139
- SGD: "SGD";
4140
- KRW: "KRW";
4141
- INR: "INR";
4142
- BRL: "BRL";
4143
- MXN: "MXN";
4144
- TWD: "TWD";
4145
- THB: "THB";
4146
- IDR: "IDR";
4147
- MYR: "MYR";
4148
- PHP: "PHP";
4149
- VND: "VND";
4150
- ZAR: "ZAR";
4151
- AED: "AED";
4152
- SAR: "SAR";
4153
- SEK: "SEK";
4154
- NOK: "NOK";
4155
- DKK: "DKK";
4156
- PLN: "PLN";
4157
- CZK: "CZK";
4158
- HUF: "HUF";
4159
- ILS: "ILS";
4160
- TRY: "TRY";
4161
- RON: "RON";
4162
- }>;
4163
- catalogAmountMinor: z.ZodNumber;
4164
- discountMinor: z.ZodNumber;
4165
- trialDays: z.ZodNullable<z.ZodNumber>;
4166
- seatBundle: z.ZodArray<z.ZodObject<{
4167
- key: z.ZodString;
4168
- quantity: z.ZodNumber;
4169
- }, z.core.$strict>>;
4170
- applePromotionalOffer: z.ZodNullable<z.ZodObject<{
4171
- offerId: z.ZodString;
4172
- keyId: z.ZodString;
4173
- nonce: z.ZodUUID;
4174
- signature: z.ZodString;
4175
- timestamp: z.ZodNumber;
4176
- }, z.core.$strict>>;
4177
- }, z.core.$strict>, z.ZodObject<{
4178
- type: z.ZodLiteral<"checkout">;
4179
- receiptId: z.ZodUUID;
4180
- productVersionId: z.ZodUUID;
4181
- url: z.ZodURL;
4182
- }, z.core.$strict>, z.ZodObject<{
4183
- type: z.ZodLiteral<"open_url">;
4184
- receiptId: z.ZodUUID;
4185
- url: z.ZodURL;
4186
- }, z.core.$strict>], "type">>;
4187
- pendingRequest: z.ZodNullable<z.ZodObject<{
4188
- requestId: z.ZodUUID;
4189
- authenticationRequired: z.ZodBoolean;
4190
- }, z.core.$strict>>;
4191
- runExpiresAt: z.ZodISODateTime;
4192
- credentialExpiresAt: z.ZodNullable<z.ZodISODateTime>;
4193
- }, z.core.$strict>;
4194
- declare const funnelRuntimeResponseSchema: z.ZodObject<{
4195
- scope: z.ZodObject<{
4196
- projectId: z.ZodString;
4197
- environment: z.ZodEnum<{
4198
- live: "live";
4199
- sandbox: "sandbox";
4200
- }>;
4201
- }, z.core.$strict>;
4202
- run: z.ZodObject<{
4203
- id: z.ZodUUID;
4204
- funnelId: z.ZodUUID;
4205
- versionId: z.ZodUUID;
4206
- revision: z.ZodNumber;
4207
- visit: z.ZodNumber;
4208
- nodeId: z.ZodString;
4209
- nodeType: z.ZodEnum<{
4210
- screen: "screen";
4211
- action: "action";
4212
- end: "end";
4213
- split: "split";
4214
- condition: "condition";
4215
- feature: "feature";
4216
- checkout: "checkout";
4217
- entry: "entry";
4218
- auth: "auth";
4219
- wait: "wait";
4220
- }>;
4221
- status: z.ZodEnum<{
4222
- closed: "closed";
4223
- waiting: "waiting";
4224
- failed: "failed";
4225
- completed: "completed";
4226
- running: "running";
4227
- ineligible: "ineligible";
4228
- }>;
4229
- canBack: z.ZodBoolean;
4230
- authenticated: z.ZodBoolean;
4231
- locale: z.ZodString;
4232
- commerce: z.ZodNullable<z.ZodObject<{
4233
- provider: z.ZodEnum<{
4234
- apple: "apple";
4235
- google: "google";
4236
- stripe: "stripe";
4237
- }>;
4238
- currency: z.ZodEnum<{
4239
- USD: "USD";
4240
- EUR: "EUR";
4241
- CNY: "CNY";
4242
- GBP: "GBP";
4243
- JPY: "JPY";
4244
- CAD: "CAD";
4245
- AUD: "AUD";
4246
- NZD: "NZD";
4247
- CHF: "CHF";
4248
- HKD: "HKD";
4249
- SGD: "SGD";
4250
- KRW: "KRW";
4251
- INR: "INR";
4252
- BRL: "BRL";
4253
- MXN: "MXN";
4254
- TWD: "TWD";
4255
- THB: "THB";
4256
- IDR: "IDR";
4257
- MYR: "MYR";
4258
- PHP: "PHP";
4259
- VND: "VND";
4260
- ZAR: "ZAR";
4261
- AED: "AED";
4262
- SAR: "SAR";
4263
- SEK: "SEK";
4264
- NOK: "NOK";
4265
- DKK: "DKK";
4266
- PLN: "PLN";
4267
- CZK: "CZK";
4268
- HUF: "HUF";
4269
- ILS: "ILS";
4270
- TRY: "TRY";
4271
- RON: "RON";
4272
- }>;
4273
- }, z.core.$strict>>;
4274
- checkout: z.ZodNullable<z.ZodObject<{
4275
- product: z.ZodDiscriminatedUnion<[z.ZodObject<{
4276
- type: z.ZodLiteral<"fixed">;
4277
- productVersionId: z.ZodUUID;
4278
- }, z.core.$strict>, z.ZodObject<{
4279
- type: z.ZodLiteral<"picker">;
4280
- pickerId: z.ZodString;
4281
- allowedProductVersionIds: z.ZodArray<z.ZodUUID>;
4282
- }, z.core.$strict>], "type">;
4283
- selectedProductVersionId: z.ZodNullable<z.ZodUUID>;
4284
- }, z.core.$strict>>;
4285
- answers: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>]>>;
4286
- parameters: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
4287
- screen: z.ZodNullable<z.ZodObject<{
4288
- id: z.ZodString;
4289
- document: z.ZodObject<{
4290
- kind: z.ZodLiteral<"screen">;
4291
- schemaVersion: z.ZodLiteral<3>;
4292
- name: z.ZodString;
4293
- surface: z.ZodEnum<{
4294
- popup: "popup";
4295
- paywall: "paywall";
4296
- onboarding: "onboarding";
4297
- page: "page";
4298
- }>;
4299
- presentation: z.ZodDiscriminatedUnion<[z.ZodObject<{
4300
- type: z.ZodLiteral<"modal">;
4301
- size: z.ZodEnum<{
4302
- sm: "sm";
4303
- md: "md";
4304
- lg: "lg";
4305
- }>;
4306
- }, z.core.$strict>, z.ZodObject<{
4307
- type: z.ZodLiteral<"sheet">;
4308
- size: z.ZodEnum<{
4309
- sm: "sm";
4310
- md: "md";
4311
- lg: "lg";
4312
- }>;
4313
- }, z.core.$strict>, z.ZodObject<{
4314
- type: z.ZodLiteral<"fullscreen">;
4315
- }, z.core.$strict>], "type">;
4316
- theme: z.ZodObject<{
4317
- primary: z.ZodString;
4318
- background: z.ZodString;
4319
- text: z.ZodString;
4320
- radius: z.ZodEnum<{
4321
- sm: "sm";
4322
- md: "md";
4323
- lg: "lg";
4324
- none: "none";
4325
- full: "full";
4326
- }>;
4327
- font: z.ZodEnum<{
4328
- system: "system";
4329
- serif: "serif";
4330
- rounded: "rounded";
4331
- mono: "mono";
4332
- }>;
4333
- }, z.core.$strict>;
4334
- pages: z.ZodArray<z.ZodObject<{
4335
- id: z.ZodString;
4336
- name: z.ZodString;
4337
- root: z.ZodType<StackNode, unknown, z.core.$ZodTypeInternals<StackNode, unknown>>;
4338
- theme: z.ZodOptional<z.ZodObject<{
4339
- primary: z.ZodString;
4340
- background: z.ZodString;
4341
- text: z.ZodString;
4342
- radius: z.ZodEnum<{
4343
- sm: "sm";
4344
- md: "md";
4345
- lg: "lg";
4346
- none: "none";
4347
- full: "full";
4348
- }>;
4349
- font: z.ZodEnum<{
4350
- system: "system";
4351
- serif: "serif";
4352
- rounded: "rounded";
4353
- mono: "mono";
4354
- }>;
4355
- }, z.core.$strict>>;
4356
- editorPosition: z.ZodOptional<z.ZodObject<{
4357
- x: z.ZodNumber;
4358
- y: z.ZodNumber;
4359
- }, z.core.$strict>>;
4360
- }, z.core.$strict>>;
4361
- strings: z.ZodObject<{
4362
- defaultLocale: z.ZodString;
4363
- locales: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
4364
- }, z.core.$strict>;
4365
- actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4366
- type: z.ZodLiteral<"event">;
4367
- close: z.ZodBoolean;
4368
- id: z.ZodString;
4369
- event: z.ZodString;
4370
- properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
4371
- }, z.core.$strict>, z.ZodObject<{
4372
- type: z.ZodLiteral<"close">;
4373
- close: z.ZodLiteral<true>;
4374
- id: z.ZodString;
4375
- event: z.ZodString;
4376
- properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
4377
- }, z.core.$strict>, z.ZodObject<{
4378
- type: z.ZodLiteral<"open_url">;
4379
- close: z.ZodBoolean;
4380
- url: z.ZodString;
4381
- id: z.ZodString;
4382
- event: z.ZodString;
4383
- properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
4384
- }, z.core.$strict>, z.ZodObject<{
4385
- type: z.ZodLiteral<"claim_offer">;
4386
- close: z.ZodBoolean;
4387
- couponId: z.ZodUUID;
4388
- id: z.ZodString;
4389
- event: z.ZodString;
4390
- properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
4391
- }, z.core.$strict>], "type">>;
4392
- }, z.core.$strict>;
4393
- presentation: z.ZodDiscriminatedUnion<[z.ZodObject<{
4394
- type: z.ZodLiteral<"modal">;
4395
- size: z.ZodEnum<{
4396
- sm: "sm";
4397
- md: "md";
4398
- lg: "lg";
4399
- }>;
4400
- }, z.core.$strict>, z.ZodObject<{
4401
- type: z.ZodLiteral<"sheet">;
4402
- size: z.ZodEnum<{
4403
- sm: "sm";
4404
- md: "md";
4405
- lg: "lg";
4406
- }>;
4407
- }, z.core.$strict>, z.ZodObject<{
4408
- type: z.ZodLiteral<"fullscreen">;
4409
- }, z.core.$strict>, z.ZodObject<{
4410
- type: z.ZodLiteral<"inline">;
4411
- }, z.core.$strict>], "type">;
4412
- outputs: z.ZodArray<z.ZodString>;
4413
- inputs: z.ZodArray<z.ZodObject<{
4414
- key: z.ZodString;
4415
- componentId: z.ZodString;
4416
- required: z.ZodBoolean;
4417
- }, z.core.$strict>>;
4418
- capabilities: z.ZodObject<{
4419
- nodes: z.ZodRecord<z.ZodString, z.ZodObject<{
4420
- base: z.ZodObject<{
4421
- text: z.ZodOptional<z.ZodString>;
4422
- label: z.ZodOptional<z.ZodString>;
4423
- alt: z.ZodOptional<z.ZodString>;
4424
- html: z.ZodOptional<z.ZodString>;
4425
- price: z.ZodOptional<z.ZodObject<{
4426
- current: z.ZodString;
4427
- original: z.ZodNullable<z.ZodString>;
4428
- period: z.ZodString;
4429
- }, z.core.$strip>>;
4430
- code: z.ZodOptional<z.ZodString>;
4431
- countdownAt: z.ZodOptional<z.ZodISODateTime>;
4432
- planId: z.ZodOptional<z.ZodUUID>;
4433
- planVersionId: z.ZodOptional<z.ZodUUID>;
4434
- currency: z.ZodOptional<z.ZodEnum<{
4435
- USD: "USD";
4436
- EUR: "EUR";
4437
- CNY: "CNY";
4438
- GBP: "GBP";
4439
- JPY: "JPY";
4440
- CAD: "CAD";
4441
- AUD: "AUD";
4442
- NZD: "NZD";
4443
- CHF: "CHF";
4444
- HKD: "HKD";
4445
- SGD: "SGD";
4446
- KRW: "KRW";
4447
- INR: "INR";
4448
- BRL: "BRL";
4449
- MXN: "MXN";
4450
- TWD: "TWD";
4451
- THB: "THB";
4452
- IDR: "IDR";
4453
- MYR: "MYR";
4454
- PHP: "PHP";
4455
- VND: "VND";
4456
- ZAR: "ZAR";
4457
- AED: "AED";
4458
- SAR: "SAR";
4459
- SEK: "SEK";
4460
- NOK: "NOK";
4461
- DKK: "DKK";
4462
- PLN: "PLN";
4463
- CZK: "CZK";
4464
- HUF: "HUF";
4465
- ILS: "ILS";
4466
- TRY: "TRY";
4467
- RON: "RON";
4468
- }>>;
4469
- couponId: z.ZodOptional<z.ZodUUID>;
4470
- offerId: z.ZodOptional<z.ZodUUID>;
4471
- unavailable: z.ZodOptional<z.ZodBoolean>;
4472
- unavailableReason: z.ZodOptional<z.ZodString>;
4473
- missing: z.ZodOptional<z.ZodArray<z.ZodString>>;
4474
- }, z.core.$strict>;
4475
- picker: z.ZodOptional<z.ZodString>;
4476
- byPlan: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4477
- text: z.ZodOptional<z.ZodString>;
4478
- label: z.ZodOptional<z.ZodString>;
4479
- alt: z.ZodOptional<z.ZodString>;
4480
- html: z.ZodOptional<z.ZodString>;
4481
- price: z.ZodOptional<z.ZodObject<{
4482
- current: z.ZodString;
4483
- original: z.ZodNullable<z.ZodString>;
4484
- period: z.ZodString;
4485
- }, z.core.$strip>>;
4486
- code: z.ZodOptional<z.ZodString>;
4487
- countdownAt: z.ZodOptional<z.ZodISODateTime>;
4488
- planId: z.ZodOptional<z.ZodUUID>;
4489
- planVersionId: z.ZodOptional<z.ZodUUID>;
4490
- currency: z.ZodOptional<z.ZodEnum<{
4491
- USD: "USD";
4492
- EUR: "EUR";
4493
- CNY: "CNY";
4494
- GBP: "GBP";
4495
- JPY: "JPY";
4496
- CAD: "CAD";
4497
- AUD: "AUD";
4498
- NZD: "NZD";
4499
- CHF: "CHF";
4500
- HKD: "HKD";
4501
- SGD: "SGD";
4502
- KRW: "KRW";
4503
- INR: "INR";
4504
- BRL: "BRL";
4505
- MXN: "MXN";
4506
- TWD: "TWD";
4507
- THB: "THB";
4508
- IDR: "IDR";
4509
- MYR: "MYR";
4510
- PHP: "PHP";
4511
- VND: "VND";
4512
- ZAR: "ZAR";
4513
- AED: "AED";
4514
- SAR: "SAR";
4515
- SEK: "SEK";
4516
- NOK: "NOK";
4517
- DKK: "DKK";
4518
- PLN: "PLN";
4519
- CZK: "CZK";
4520
- HUF: "HUF";
4521
- ILS: "ILS";
4522
- TRY: "TRY";
4523
- RON: "RON";
4524
- }>>;
4525
- couponId: z.ZodOptional<z.ZodUUID>;
4526
- offerId: z.ZodOptional<z.ZodUUID>;
4527
- unavailable: z.ZodOptional<z.ZodBoolean>;
4528
- unavailableReason: z.ZodOptional<z.ZodString>;
4529
- missing: z.ZodOptional<z.ZodArray<z.ZodString>>;
4530
- }, z.core.$strict>>>;
4531
- }, z.core.$strict>>;
4532
- plans: z.ZodRecord<z.ZodString, z.ZodObject<{
4533
- id: z.ZodUUID;
4534
- versionId: z.ZodUUID;
4535
- name: z.ZodString;
4536
- price: z.ZodString;
4537
- period: z.ZodString;
4538
- currency: z.ZodOptional<z.ZodEnum<{
4539
- USD: "USD";
4540
- EUR: "EUR";
4541
- CNY: "CNY";
4542
- GBP: "GBP";
4543
- JPY: "JPY";
4544
- CAD: "CAD";
4545
- AUD: "AUD";
4546
- NZD: "NZD";
4547
- CHF: "CHF";
4548
- HKD: "HKD";
4549
- SGD: "SGD";
4550
- KRW: "KRW";
4551
- INR: "INR";
4552
- BRL: "BRL";
4553
- MXN: "MXN";
4554
- TWD: "TWD";
4555
- THB: "THB";
4556
- IDR: "IDR";
4557
- MYR: "MYR";
4558
- PHP: "PHP";
4559
- VND: "VND";
4560
- ZAR: "ZAR";
4561
- AED: "AED";
4562
- SAR: "SAR";
4563
- SEK: "SEK";
4564
- NOK: "NOK";
4565
- DKK: "DKK";
4566
- PLN: "PLN";
4567
- CZK: "CZK";
4568
- HUF: "HUF";
4569
- ILS: "ILS";
4570
- TRY: "TRY";
4571
- RON: "RON";
4572
- }>>;
4573
- }, z.core.$strict>>;
4574
- pickers: z.ZodRecord<z.ZodString, z.ZodObject<{
4575
- options: z.ZodArray<z.ZodUUID>;
4576
- selected: z.ZodNullable<z.ZodUUID>;
4577
- }, z.core.$strict>>;
4578
- diagnostics: z.ZodArray<z.ZodObject<{
4579
- nodeId: z.ZodString;
4580
- message: z.ZodString;
4581
- }, z.core.$strict>>;
4582
- }, z.core.$strict>;
4583
- customerData: z.ZodObject<{
4584
- nodes: z.ZodRecord<z.ZodString, z.ZodObject<{
4585
- source: z.ZodEnum<{
4586
- credit_balance: "credit_balance";
4587
- credit_transactions: "credit_transactions";
4588
- membership: "membership";
4589
- billing: "billing";
4590
- billing_controls: "billing_controls";
4591
- customer_plans: "customer_plans";
4592
- credit_packs: "credit_packs";
4593
- credit_pack_orders: "credit_pack_orders";
4594
- offer_history: "offer_history";
4595
- }>;
4596
- status: z.ZodEnum<{
4597
- error: "error";
4598
- ready: "ready";
4599
- idle: "idle";
4600
- loading: "loading";
4601
- }>;
4602
- stale: z.ZodBoolean;
4603
- preview: z.ZodBoolean;
4604
- errorCode: z.ZodOptional<z.ZodString>;
4605
- errorMessage: z.ZodOptional<z.ZodString>;
4606
- resources: z.ZodArray<z.ZodObject<{
4607
- key: z.ZodString;
4608
- name: z.ZodString;
4609
- spendable: z.ZodString;
4610
- reserved: z.ZodString;
4611
- available: z.ZodString;
4612
- expiry: z.ZodNullable<z.ZodString>;
4613
- sources: z.ZodArray<z.ZodObject<{
4614
- id: z.ZodString;
4615
- label: z.ZodString;
4616
- detail: z.ZodArray<z.ZodString>;
4617
- value: z.ZodOptional<z.ZodString>;
4618
- status: z.ZodOptional<z.ZodString>;
4619
- facts: z.ZodArray<z.ZodObject<{
4620
- label: z.ZodString;
4621
- value: z.ZodString;
4622
- }, z.core.$strict>>;
4623
- purchaseId: z.ZodOptional<z.ZodUUID>;
4624
- invoiceUrl: z.ZodOptional<z.ZodURL>;
4625
- billingActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
4626
- action: z.ZodLiteral<"invoice_open">;
4627
- label: z.ZodString;
4628
- }, z.core.$strict>>>;
4629
- membershipActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
4630
- value: z.ZodString;
4631
- label: z.ZodString;
4632
- }, z.core.$strict>>>;
4633
- }, z.core.$strict>>;
4634
- sourceCount: z.ZodNumber;
4635
- sourcePage: z.ZodNumber;
4636
- hasNextSources: z.ZodBoolean;
4637
- hasPreviousSources: z.ZodBoolean;
4638
- }, z.core.$strict>>;
4639
- rows: z.ZodArray<z.ZodObject<{
4640
- id: z.ZodString;
4641
- label: z.ZodString;
4642
- detail: z.ZodArray<z.ZodString>;
4643
- value: z.ZodOptional<z.ZodString>;
4644
- status: z.ZodOptional<z.ZodString>;
4645
- facts: z.ZodArray<z.ZodObject<{
4646
- label: z.ZodString;
4647
- value: z.ZodString;
4648
- }, z.core.$strict>>;
4649
- purchaseId: z.ZodOptional<z.ZodUUID>;
4650
- invoiceUrl: z.ZodOptional<z.ZodURL>;
4651
- billingActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
4652
- action: z.ZodLiteral<"invoice_open">;
4653
- label: z.ZodString;
4654
- }, z.core.$strict>>>;
4655
- membershipActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
4656
- value: z.ZodString;
4657
- label: z.ZodString;
4658
- }, z.core.$strict>>>;
4659
- }, z.core.$strict>>;
4660
- hasNext: z.ZodBoolean;
4661
- hasPrevious: z.ZodBoolean;
4662
- page: z.ZodNumber;
4663
- filter: z.ZodString;
4664
- updatedAt: z.ZodOptional<z.ZodISODateTime>;
4665
- buyingId: z.ZodOptional<z.ZodUUID>;
4666
- membershipBusy: z.ZodOptional<z.ZodBoolean>;
4667
- billingBusy: z.ZodOptional<z.ZodBoolean>;
4668
- membershipReview: z.ZodOptional<z.ZodObject<{
4669
- title: z.ZodString;
4670
- note: z.ZodString;
4671
- facts: z.ZodArray<z.ZodObject<{
4672
- label: z.ZodString;
4673
- value: z.ZodString;
4674
- }, z.core.$strict>>;
4675
- }, z.core.$strict>>;
4676
- membershipResult: z.ZodOptional<z.ZodString>;
4677
- }, z.core.$strict>>;
4678
- }, z.core.$strict>;
4679
- dataCursors: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
4680
- kind: z.ZodLiteral<"ledger">;
4681
- cursor: z.ZodObject<{
4682
- at: z.ZodISODateTime;
4683
- id: z.ZodUUID;
4684
- type: z.ZodEnum<{
4685
- source: "source";
4686
- usage: "usage";
4687
- debt: "debt";
4688
- transaction: "transaction";
4689
- settlement: "settlement";
4690
- }>;
4691
- }, z.core.$strict>;
4692
- }, z.core.$strict>, z.ZodObject<{
4693
- kind: z.ZodLiteral<"billing">;
4694
- cursor: z.ZodUUID;
4695
- }, z.core.$strict>], "kind">>>;
4696
- }, z.core.$strict>>;
4697
- instruction: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
4698
- type: z.ZodLiteral<"wait">;
4699
- nodeId: z.ZodString;
4700
- visit: z.ZodNumber;
4701
- deadlineAt: z.ZodISODateTime;
4702
- eventKey: z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
4703
- payment_verified: "payment_verified";
4704
- action_completed: "action_completed";
4705
- }>, z.ZodString]>>;
4706
- }, z.core.$strict>, z.ZodObject<{
4707
- type: z.ZodLiteral<"confirm_billing_adjustment">;
4708
- receiptId: z.ZodUUID;
4709
- invoiceId: z.ZodUUID;
4710
- originalInvoiceId: z.ZodUUID;
4711
- currency: z.ZodEnum<{
4712
- USD: "USD";
4713
- EUR: "EUR";
4714
- CNY: "CNY";
4715
- GBP: "GBP";
4716
- JPY: "JPY";
4717
- CAD: "CAD";
4718
- AUD: "AUD";
4719
- NZD: "NZD";
4720
- CHF: "CHF";
4721
- HKD: "HKD";
4722
- SGD: "SGD";
4723
- KRW: "KRW";
4724
- INR: "INR";
4725
- BRL: "BRL";
4726
- MXN: "MXN";
4727
- TWD: "TWD";
4728
- THB: "THB";
4729
- IDR: "IDR";
4730
- MYR: "MYR";
4731
- PHP: "PHP";
4732
- VND: "VND";
4733
- ZAR: "ZAR";
4734
- AED: "AED";
4735
- SAR: "SAR";
4736
- SEK: "SEK";
4737
- NOK: "NOK";
4738
- DKK: "DKK";
4739
- PLN: "PLN";
4740
- CZK: "CZK";
4741
- HUF: "HUF";
4742
- ILS: "ILS";
4743
- TRY: "TRY";
4744
- RON: "RON";
4745
- }>;
4746
- amountMinor: z.ZodString;
4747
- startsAt: z.ZodISODateTime;
4748
- endsAt: z.ZodISODateTime;
4749
- }, z.core.$strict>, z.ZodObject<{
4750
- type: z.ZodLiteral<"confirm_billing_authorization">;
4751
- receiptId: z.ZodUUID;
4752
- authorizationId: z.ZodUUID;
4753
- terms: z.ZodDiscriminatedUnion<[z.ZodObject<{
4754
- kind: z.ZodLiteral<"auto_topup">;
4755
- threshold: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
4756
- maxPurchasesPerDay: z.ZodNumber;
4757
- purchaseLimits: z.ZodOptional<z.ZodObject<{
4758
- hour: z.ZodOptional<z.ZodNumber>;
4759
- week: z.ZodOptional<z.ZodNumber>;
4760
- month: z.ZodOptional<z.ZodNumber>;
4761
- }, z.core.$strict>>;
4762
- purchaseAmountMinor: z.ZodString;
4763
- purchaseUnits: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
4764
- productVersionId: z.ZodUUID;
4765
- entitlementVersionId: z.ZodUUID;
4766
- currency: z.ZodEnum<{
4767
- USD: "USD";
4768
- EUR: "EUR";
4769
- CNY: "CNY";
4770
- GBP: "GBP";
4771
- JPY: "JPY";
4772
- CAD: "CAD";
4773
- AUD: "AUD";
4774
- NZD: "NZD";
4775
- CHF: "CHF";
4776
- HKD: "HKD";
4777
- SGD: "SGD";
4778
- KRW: "KRW";
4779
- INR: "INR";
4780
- BRL: "BRL";
4781
- MXN: "MXN";
4782
- TWD: "TWD";
4783
- THB: "THB";
4784
- IDR: "IDR";
4785
- MYR: "MYR";
4786
- PHP: "PHP";
4787
- VND: "VND";
4788
- ZAR: "ZAR";
4789
- AED: "AED";
4790
- SAR: "SAR";
4791
- SEK: "SEK";
4792
- NOK: "NOK";
4793
- DKK: "DKK";
4794
- PLN: "PLN";
4795
- CZK: "CZK";
4796
- HUF: "HUF";
4797
- ILS: "ILS";
4798
- TRY: "TRY";
4799
- RON: "RON";
4800
- }>;
4801
- maxAmountMinorPerPeriod: z.ZodString;
4802
- }, z.core.$strict>, z.ZodObject<{
4803
- kind: z.ZodLiteral<"postpaid">;
4804
- maxOutstandingMinor: z.ZodString;
4805
- cashPrice: z.ZodObject<{
4806
- currency: z.ZodEnum<{
4807
- USD: "USD";
4808
- EUR: "EUR";
4809
- CNY: "CNY";
4810
- GBP: "GBP";
4811
- JPY: "JPY";
4812
- CAD: "CAD";
4813
- AUD: "AUD";
4814
- NZD: "NZD";
4815
- CHF: "CHF";
4816
- HKD: "HKD";
4817
- SGD: "SGD";
4818
- KRW: "KRW";
4819
- INR: "INR";
4820
- BRL: "BRL";
4821
- MXN: "MXN";
4822
- TWD: "TWD";
4823
- THB: "THB";
4824
- IDR: "IDR";
4825
- MYR: "MYR";
4826
- PHP: "PHP";
4827
- VND: "VND";
4828
- ZAR: "ZAR";
4829
- AED: "AED";
4830
- SAR: "SAR";
4831
- SEK: "SEK";
4832
- NOK: "NOK";
4833
- DKK: "DKK";
4834
- PLN: "PLN";
4835
- CZK: "CZK";
4836
- HUF: "HUF";
4837
- ILS: "ILS";
4838
- TRY: "TRY";
4839
- RON: "RON";
4840
- }>;
4841
- pricing: z.ZodDiscriminatedUnion<[z.ZodObject<{
4842
- kind: z.ZodLiteral<"flat">;
4843
- units: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
4844
- unitAmountMinor: z.ZodString;
4845
- }, z.core.$strict>, z.ZodObject<{
4846
- kind: z.ZodEnum<{
4847
- graduated: "graduated";
4848
- volume: "volume";
4849
- }>;
4850
- units: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
4851
- tiers: z.ZodArray<z.ZodObject<{
4852
- upTo: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
4853
- unitAmountMinor: z.ZodString;
4854
- flatAmountMinor: z.ZodOptional<z.ZodNumber>;
4855
- }, z.core.$strict>>;
4856
- }, z.core.$strict>], "kind">;
4857
- billingCycle: z.ZodOptional<z.ZodObject<{
4858
- interval: z.ZodEnum<{
4859
- month: "month";
4860
- year: "year";
4861
- }>;
4862
- count: z.ZodNumber;
4863
- anchor: z.ZodEnum<{
4864
- membership: "membership";
4865
- calendar: "calendar";
4866
- }>;
4867
- }, z.core.$strict>>;
4868
- }, z.core.$strict>;
4869
- productVersionId: z.ZodUUID;
4870
- entitlementVersionId: z.ZodUUID;
4871
- currency: z.ZodEnum<{
4872
- USD: "USD";
4873
- EUR: "EUR";
4874
- CNY: "CNY";
4875
- GBP: "GBP";
4876
- JPY: "JPY";
4877
- CAD: "CAD";
4878
- AUD: "AUD";
4879
- NZD: "NZD";
4880
- CHF: "CHF";
4881
- HKD: "HKD";
4882
- SGD: "SGD";
4883
- KRW: "KRW";
4884
- INR: "INR";
4885
- BRL: "BRL";
4886
- MXN: "MXN";
4887
- TWD: "TWD";
4888
- THB: "THB";
4889
- IDR: "IDR";
4890
- MYR: "MYR";
4891
- PHP: "PHP";
4892
- VND: "VND";
4893
- ZAR: "ZAR";
4894
- AED: "AED";
4895
- SAR: "SAR";
4896
- SEK: "SEK";
4897
- NOK: "NOK";
4898
- DKK: "DKK";
4899
- PLN: "PLN";
4900
- CZK: "CZK";
4901
- HUF: "HUF";
4902
- ILS: "ILS";
4903
- TRY: "TRY";
4904
- RON: "RON";
4905
- }>;
4906
- maxAmountMinorPerPeriod: z.ZodString;
4907
- }, z.core.$strict>], "kind">;
4908
- setupUrl: z.ZodNullable<z.ZodURL>;
4909
- }, z.core.$strict>, z.ZodObject<{
4910
- type: z.ZodLiteral<"authenticate">;
4911
- }, z.core.$strict>, z.ZodObject<{
4912
- type: z.ZodLiteral<"confirm_membership_change">;
4913
- changeKind: z.ZodEnum<{
4914
- plan: "plan";
4915
- seats: "seats";
4916
- }>;
4917
- seat: z.ZodNullable<z.ZodObject<{
4918
- key: z.ZodString;
4919
- fromQuantity: z.ZodNumber;
4920
- toQuantity: z.ZodNumber;
4921
- }, z.core.$strict>>;
4922
- seats: z.ZodArray<z.ZodObject<{
4923
- key: z.ZodString;
4924
- fromQuantity: z.ZodNumber;
4925
- toQuantity: z.ZodNumber;
4926
- }, z.core.$strict>>;
4927
- receiptId: z.ZodUUID;
4928
- productVersionId: z.ZodUUID;
4929
- currency: z.ZodString;
4930
- creditMinor: z.ZodString;
4931
- debitMinor: z.ZodString;
4932
- discountMinor: z.ZodString;
4933
- taxMinor: z.ZodString;
4934
- totalMinor: z.ZodString;
4935
- effectiveAt: z.ZodISODateTime;
4936
- timing: z.ZodEnum<{
4937
- immediate: "immediate";
4938
- renewal: "renewal";
4939
- }>;
4940
- }, z.core.$strict>, z.ZodObject<{
4941
- type: z.ZodLiteral<"native_purchase">;
4942
- receiptId: z.ZodUUID;
4943
- orderId: z.ZodUUID;
4944
- productVersionId: z.ZodUUID;
4945
- provider: z.ZodEnum<{
4946
- apple: "apple";
4947
- google: "google";
4948
- }>;
4949
- productId: z.ZodString;
4950
- productKind: z.ZodEnum<{
4951
- membership: "membership";
4952
- lifetime: "lifetime";
4953
- credit_pack: "credit_pack";
4954
- }>;
4955
- replacement: z.ZodNullable<z.ZodObject<{
4956
- sourceOrderId: z.ZodUUID;
4957
- sourceProductId: z.ZodString;
4958
- policy: z.ZodEnum<{
4959
- apple_store: "apple_store";
4960
- google_full_price: "google_full_price";
4961
- }>;
4962
- sourceAccountTokens: z.ZodArray<z.ZodUUID>;
4963
- }, z.core.$strict>>;
4964
- appAccountToken: z.ZodOptional<z.ZodUUID>;
4965
- obfuscatedAccountId: z.ZodOptional<z.ZodString>;
4966
- obfuscatedProfileId: z.ZodOptional<z.ZodUUID>;
4967
- basePlanId: z.ZodOptional<z.ZodString>;
4968
- offerId: z.ZodOptional<z.ZodString>;
4969
- offerKind: z.ZodEnum<{
4970
- none: "none";
4971
- introductory: "introductory";
4972
- promotional: "promotional";
4973
- }>;
4974
- currency: z.ZodEnum<{
4975
- USD: "USD";
4976
- EUR: "EUR";
4977
- CNY: "CNY";
4978
- GBP: "GBP";
4979
- JPY: "JPY";
4980
- CAD: "CAD";
4981
- AUD: "AUD";
4982
- NZD: "NZD";
4983
- CHF: "CHF";
4984
- HKD: "HKD";
4985
- SGD: "SGD";
4986
- KRW: "KRW";
4987
- INR: "INR";
4988
- BRL: "BRL";
4989
- MXN: "MXN";
4990
- TWD: "TWD";
4991
- THB: "THB";
4992
- IDR: "IDR";
4993
- MYR: "MYR";
4994
- PHP: "PHP";
4995
- VND: "VND";
4996
- ZAR: "ZAR";
4997
- AED: "AED";
4998
- SAR: "SAR";
4999
- SEK: "SEK";
5000
- NOK: "NOK";
5001
- DKK: "DKK";
5002
- PLN: "PLN";
5003
- CZK: "CZK";
5004
- HUF: "HUF";
5005
- ILS: "ILS";
5006
- TRY: "TRY";
5007
- RON: "RON";
5008
- }>;
5009
- catalogAmountMinor: z.ZodNumber;
5010
- discountMinor: z.ZodNumber;
5011
- trialDays: z.ZodNullable<z.ZodNumber>;
5012
- seatBundle: z.ZodArray<z.ZodObject<{
5013
- key: z.ZodString;
5014
- quantity: z.ZodNumber;
5015
- }, z.core.$strict>>;
5016
- applePromotionalOffer: z.ZodNullable<z.ZodObject<{
5017
- offerId: z.ZodString;
5018
- keyId: z.ZodString;
5019
- nonce: z.ZodUUID;
5020
- signature: z.ZodString;
5021
- timestamp: z.ZodNumber;
5022
- }, z.core.$strict>>;
5023
- }, z.core.$strict>, z.ZodObject<{
5024
- type: z.ZodLiteral<"checkout">;
5025
- receiptId: z.ZodUUID;
5026
- productVersionId: z.ZodUUID;
5027
- url: z.ZodURL;
5028
- }, z.core.$strict>, z.ZodObject<{
5029
- type: z.ZodLiteral<"open_url">;
5030
- receiptId: z.ZodUUID;
5031
- url: z.ZodURL;
5032
- }, z.core.$strict>], "type">>;
5033
- pendingRequest: z.ZodNullable<z.ZodObject<{
5034
- requestId: z.ZodUUID;
5035
- authenticationRequired: z.ZodBoolean;
5036
- }, z.core.$strict>>;
5037
- runExpiresAt: z.ZodISODateTime;
5038
- credentialExpiresAt: z.ZodNullable<z.ZodISODateTime>;
5039
- }, z.core.$strict>;
5040
- nativeCompletion: z.ZodOptional<z.ZodObject<{
5041
- orderId: z.ZodUUID;
5042
- receiptId: z.ZodUUID;
5043
- transactionIds: z.ZodArray<z.ZodString>;
5044
- membership: z.ZodBoolean;
5045
- }, z.core.$strict>>;
5046
- runToken: z.ZodOptional<z.ZodString>;
5047
- }, z.core.$strict>;
5048
- type FunnelRunView = z.infer<typeof funnelRunViewSchema>;
5049
- type FunnelInstruction = z.infer<typeof funnelInstructionSchema>;
5050
- type FunnelRuntimeResponse = z.infer<typeof funnelRuntimeResponseSchema>;
5051
-
5052
- export type { FunnelRuntimeResponse as F, StackNode as S, FunnelRunView as a, FunnelCommand as b, FunnelDataQueries as c, FunnelInstruction as d, FunnelAnswers as e, ScreenAction as f, ScreenNode as g, ScreenDocument as h, SurfaceData as i, FunnelParameters as j, FunnelRendererInput as k };
2953
+ export type { StackNode as S, ScreenAction as a, ScreenNode as b, ScreenDocument as c, SurfaceData as d, ScreenSelection as e };