@rebuy/rebuy 2.6.0-rc.2 → 2.7.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/index.js +60 -51
  2. package/dist/index.js.map +2 -2
  3. package/dist/index.mjs +60 -51
  4. package/dist/index.mjs.map +2 -2
  5. package/dist/schema/metadata.d.ts +2 -2
  6. package/dist/schema/metadata.d.ts.map +1 -1
  7. package/dist/schema/product.d.ts +15 -15
  8. package/dist/schema/product.d.ts.map +1 -1
  9. package/dist/schema/widgetData.d.ts +50 -0
  10. package/dist/schema/widgetData.d.ts.map +1 -1
  11. package/dist/schema/widgets/checkout-and-beyond/button.d.ts +9 -242
  12. package/dist/schema/widgets/checkout-and-beyond/button.d.ts.map +1 -1
  13. package/dist/schema/widgets/checkout-and-beyond/common.d.ts +11 -3
  14. package/dist/schema/widgets/checkout-and-beyond/common.d.ts.map +1 -1
  15. package/dist/schema/widgets/checkout-and-beyond/image.d.ts +1 -0
  16. package/dist/schema/widgets/checkout-and-beyond/image.d.ts.map +1 -1
  17. package/dist/schema/widgets/checkout-and-beyond/layout.d.ts +29 -1
  18. package/dist/schema/widgets/checkout-and-beyond/layout.d.ts.map +1 -1
  19. package/dist/schema/widgets/checkout-and-beyond/offers.d.ts +25 -0
  20. package/dist/schema/widgets/checkout-and-beyond/offers.d.ts.map +1 -1
  21. package/dist/schema/widgets/checkout-and-beyond/product.d.ts +2 -0
  22. package/dist/schema/widgets/checkout-and-beyond/product.d.ts.map +1 -1
  23. package/dist/schema/widgets/checkout-and-beyond/products.d.ts +2 -0
  24. package/dist/schema/widgets/checkout-and-beyond/products.d.ts.map +1 -1
  25. package/dist/schema/widgets/checkout-and-beyond/regex.d.ts.map +1 -1
  26. package/dist/schema/widgets/checkout-and-beyond/root.d.ts +25 -0
  27. package/dist/schema/widgets/checkout-and-beyond/root.d.ts.map +1 -1
  28. package/dist/schema/widgets/checkout-and-beyond/text.d.ts +1 -0
  29. package/dist/schema/widgets/checkout-and-beyond/text.d.ts.map +1 -1
  30. package/dist/schema/widgets/contentBlock.d.ts +25 -0
  31. package/dist/schema/widgets/contentBlock.d.ts.map +1 -1
  32. package/dist/schema/widgets/rebuyButton.d.ts +25 -0
  33. package/dist/schema/widgets/rebuyButton.d.ts.map +1 -1
  34. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod/v4';
2
- export declare const metadataSchema: z.ZodObject<{
2
+ export declare const Metadata: z.ZodObject<{
3
3
  cacheInfo: z.ZodOptional<z.ZodObject<{
4
4
  cachedAtTime: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
5
5
  cacheExpires: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
@@ -662,5 +662,5 @@ export declare const metadataSchema: z.ZodObject<{
662
662
  language: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
663
663
  }, z.core.$strip>>;
664
664
  }, z.core.$strip>;
665
- export type Metadata = z.infer<typeof metadataSchema>;
665
+ export type Metadata = z.infer<typeof Metadata>;
666
666
  //# sourceMappingURL=metadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/schema/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAiD3B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkBnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod/v4';
2
- export declare const cacheInfoSchema: z.ZodObject<{
2
+ export declare const CacheInfo: z.ZodObject<{
3
3
  cachedAtTime: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
4
4
  cacheExpires: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
5
5
  cacheKey: z.ZodString;
@@ -7,22 +7,22 @@ export declare const cacheInfoSchema: z.ZodObject<{
7
7
  cacheType: z.ZodOptional<z.ZodString>;
8
8
  loadedOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
9
9
  }, z.core.$strip>;
10
- declare const optionSchema: z.ZodObject<{
10
+ declare const Option: z.ZodObject<{
11
11
  id: z.ZodNumber;
12
12
  name: z.ZodString;
13
13
  position: z.ZodNumber;
14
14
  productId: z.ZodNumber;
15
15
  values: z.ZodArray<z.ZodString>;
16
16
  }, z.core.$strip>;
17
- export type Option = z.infer<typeof optionSchema>;
18
- declare const priceAdjustmentSchema: z.ZodObject<{
17
+ export type Option = z.infer<typeof Option>;
18
+ declare const PriceAdjustment: z.ZodObject<{
19
19
  orderCount: z.ZodOptional<z.ZodNumber>;
20
20
  position: z.ZodNumber;
21
21
  value: z.ZodString;
22
22
  valueType: z.ZodString;
23
23
  }, z.core.$strip>;
24
- export type PriceAdjustment = z.infer<typeof priceAdjustmentSchema>;
25
- declare const sellingPlanSchema: z.ZodObject<{
24
+ export type PriceAdjustment = z.infer<typeof PriceAdjustment>;
25
+ declare const SellingPlan: z.ZodObject<{
26
26
  description: z.ZodOptional<z.ZodString>;
27
27
  id: z.ZodNumber;
28
28
  name: z.ZodString;
@@ -42,8 +42,8 @@ declare const sellingPlanSchema: z.ZodObject<{
42
42
  }, z.core.$strip>>;
43
43
  shopifyVariantId: z.ZodOptional<z.ZodString>;
44
44
  }, z.core.$strip>;
45
- export type SellingPlan = z.infer<typeof sellingPlanSchema>;
46
- declare const sellingPlanAllocationSchema: z.ZodObject<{
45
+ export type SellingPlan = z.infer<typeof SellingPlan>;
46
+ declare const SellingPlanAllocation: z.ZodObject<{
47
47
  compareAtPrice: z.ZodNumber;
48
48
  perDeliveryPrice: z.ZodNumber;
49
49
  price: z.ZodNumber;
@@ -56,8 +56,8 @@ declare const sellingPlanAllocationSchema: z.ZodObject<{
56
56
  sellingPlanGroupId: z.ZodString;
57
57
  sellingPlanId: z.ZodNumber;
58
58
  }, z.core.$strip>;
59
- export type SellingPlanAllocation = z.infer<typeof sellingPlanAllocationSchema>;
60
- export declare const sellingPlanGroupSchema: z.ZodObject<{
59
+ export type SellingPlanAllocation = z.infer<typeof SellingPlanAllocation>;
60
+ export declare const SellingPlanGroup: z.ZodObject<{
61
61
  appId: z.ZodOptional<z.ZodString>;
62
62
  description: z.ZodOptional<z.ZodString>;
63
63
  discountAmount: z.ZodOptional<z.ZodNumber>;
@@ -94,8 +94,8 @@ export declare const sellingPlanGroupSchema: z.ZodObject<{
94
94
  }, z.core.$strip>>;
95
95
  variants: z.ZodArray<z.ZodNumber>;
96
96
  }, z.core.$strip>;
97
- export type SellingPlanGroup = z.infer<typeof sellingPlanGroupSchema>;
98
- declare const variantSchema: z.ZodObject<{
97
+ export type SellingPlanGroup = z.infer<typeof SellingPlanGroup>;
98
+ declare const Variant: z.ZodObject<{
99
99
  adminGraphqlApiId: z.ZodString;
100
100
  barcode: z.ZodNullable<z.ZodString>;
101
101
  compareAtPrice: z.ZodNullable<z.ZodString>;
@@ -138,8 +138,8 @@ declare const variantSchema: z.ZodObject<{
138
138
  weight: z.ZodNumber;
139
139
  weightUnit: z.ZodOptional<z.ZodString>;
140
140
  }, z.core.$strip>;
141
- export type Variant = z.infer<typeof variantSchema>;
142
- export declare const productSchema: z.ZodObject<{
141
+ export type Variant = z.infer<typeof Variant>;
142
+ export declare const Product: z.ZodObject<{
143
143
  adminGraphqlApiId: z.ZodString;
144
144
  bodyHtml: z.ZodNullable<z.ZodString>;
145
145
  cacheInfo: z.ZodObject<{
@@ -377,6 +377,6 @@ export declare const productSchema: z.ZodObject<{
377
377
  }, z.core.$strip>>;
378
378
  vendor: z.ZodString;
379
379
  }, z.core.$strip>;
380
- export type Product = z.infer<typeof productSchema>;
380
+ export type Product = z.infer<typeof Product>;
381
381
  export {};
382
382
  //# sourceMappingURL=product.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../src/schema/product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,eAAO,MAAM,eAAe;;;;;;;iBAO1B,CAAC;AA4CH,QAAA,MAAM,YAAY;;;;;;iBAMhB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,QAAA,MAAM,qBAAqB;;;;;iBAKzB,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAepE,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;iBAUrB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,QAAA,MAAM,2BAA2B;;;;;;;;;;;;iBAO/B,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC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;;;;;;iBAUf,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,QAAA,MAAM,qBAAqB;;;;;;;;;;;;iBAOzB,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE1E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAW3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8BX,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAE9C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmClB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC"}
@@ -84,10 +84,35 @@ export declare const WidgetData: z.ZodDiscriminatedUnion<[z.ZodObject<{
84
84
  thick: "thick";
85
85
  }>>;
86
86
  }, z.core.$strip>>>;
87
+ buttonField: z.ZodOptional<z.ZodEnum<{
88
+ declineAllOffers: "declineAllOffers";
89
+ declineOffer: "declineOffer";
90
+ removeFromCart: "removeFromCart";
91
+ showVariants: "showVariants";
92
+ addedToCart: "addedToCart";
93
+ addingToCart: "addingToCart";
94
+ addToCart: "addToCart";
95
+ buttonLabel: "buttonLabel";
96
+ destinationUrl: "destinationUrl";
97
+ overlayContent: "overlayContent";
98
+ payNow: "payNow";
99
+ showVariant: "showVariant";
100
+ soldOut: "soldOut";
101
+ switchToOneTimeAction: "switchToOneTimeAction";
102
+ switchToOneTimePurchase: "switchToOneTimePurchase";
103
+ switchToSubscriptionAction: "switchToSubscriptionAction";
104
+ switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
105
+ switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
106
+ }>>;
87
107
  direction: z.ZodDefault<z.ZodEnum<{
88
108
  columns: "columns";
89
109
  rows: "rows";
110
+ grid: "grid";
90
111
  }>>;
112
+ grid: z.ZodOptional<z.ZodObject<{
113
+ columns: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>;
114
+ rows: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>;
115
+ }, z.core.$strip>>;
91
116
  name: z.ZodOptional<z.ZodString>;
92
117
  padding: z.ZodDefault<z.ZodEnum<{
93
118
  none: "none";
@@ -175,10 +200,35 @@ export declare const WidgetData: z.ZodDiscriminatedUnion<[z.ZodObject<{
175
200
  thick: "thick";
176
201
  }>>;
177
202
  }, z.core.$strip>>>;
203
+ buttonField: z.ZodOptional<z.ZodEnum<{
204
+ declineAllOffers: "declineAllOffers";
205
+ declineOffer: "declineOffer";
206
+ removeFromCart: "removeFromCart";
207
+ showVariants: "showVariants";
208
+ addedToCart: "addedToCart";
209
+ addingToCart: "addingToCart";
210
+ addToCart: "addToCart";
211
+ buttonLabel: "buttonLabel";
212
+ destinationUrl: "destinationUrl";
213
+ overlayContent: "overlayContent";
214
+ payNow: "payNow";
215
+ showVariant: "showVariant";
216
+ soldOut: "soldOut";
217
+ switchToOneTimeAction: "switchToOneTimeAction";
218
+ switchToOneTimePurchase: "switchToOneTimePurchase";
219
+ switchToSubscriptionAction: "switchToSubscriptionAction";
220
+ switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
221
+ switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
222
+ }>>;
178
223
  direction: z.ZodDefault<z.ZodEnum<{
179
224
  columns: "columns";
180
225
  rows: "rows";
226
+ grid: "grid";
181
227
  }>>;
228
+ grid: z.ZodOptional<z.ZodObject<{
229
+ columns: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>;
230
+ rows: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>;
231
+ }, z.core.$strip>>;
182
232
  name: z.ZodOptional<z.ZodString>;
183
233
  padding: z.ZodDefault<z.ZodEnum<{
184
234
  none: "none";
@@ -1 +1 @@
1
- {"version":3,"file":"widgetData.d.ts","sourceRoot":"","sources":["../../src/schema/widgetData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAY3B,eAAO,MAAM,oBAAoB,oNASvB,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBASrB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"widgetData.d.ts","sourceRoot":"","sources":["../../src/schema/widgetData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAY3B,eAAO,MAAM,oBAAoB,oNASvB,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBASrB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -1,131 +1,17 @@
1
- import { z } from 'zod/v4';
1
+ import { z, type ZodType } from 'zod/v4';
2
+ import { CABImageSection } from './image';
3
+ import { CABLayoutSection } from './layout';
2
4
  import { type SectionDetails } from './shared';
3
- export declare const CABButtonContent: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
4
- altText: z.ZodDefault<z.ZodString>;
5
- aspectRatio: z.ZodDefault<z.ZodNullable<z.ZodLiteral<1>>>;
6
- border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
7
- radius: z.ZodDefault<z.ZodEnum<{
8
- small: "small";
9
- none: "none";
10
- base: "base";
11
- large: "large";
12
- fullyRounded: "fullyRounded";
13
- }>>;
14
- style: z.ZodDefault<z.ZodEnum<{
15
- none: "none";
16
- base: "base";
17
- dotted: "dotted";
18
- dashed: "dashed";
19
- }>>;
20
- width: z.ZodDefault<z.ZodEnum<{
21
- base: "base";
22
- medium: "medium";
23
- thick: "thick";
24
- }>>;
25
- }, z.core.$strip>>>;
26
- buttonField: z.ZodOptional<z.ZodEnum<{
27
- declineAllOffers: "declineAllOffers";
28
- declineOffer: "declineOffer";
29
- removeFromCart: "removeFromCart";
30
- showVariants: "showVariants";
31
- addedToCart: "addedToCart";
32
- addingToCart: "addingToCart";
33
- addToCart: "addToCart";
34
- buttonLabel: "buttonLabel";
35
- destinationUrl: "destinationUrl";
36
- payNow: "payNow";
37
- showVariant: "showVariant";
38
- soldOut: "soldOut";
39
- switchToOneTimeAction: "switchToOneTimeAction";
40
- switchToOneTimePurchase: "switchToOneTimePurchase";
41
- switchToSubscriptionAction: "switchToSubscriptionAction";
42
- switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
43
- switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
44
- }>>;
45
- category: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
46
- gallery: "gallery";
47
- icons: "icons";
48
- "payment-methods": "payment-methods";
49
- "secure-checkout": "secure-checkout";
50
- }>>>;
51
- name: z.ZodOptional<z.ZodString>;
52
- naturalHeight: z.ZodDefault<z.ZodNumber>;
53
- naturalWidth: z.ZodDefault<z.ZodNumber>;
54
- objectFit: z.ZodDefault<z.ZodEnum<{
55
- cover: "cover";
56
- contain: "contain";
57
- }>>;
58
- sectionId: z.ZodDefault<z.ZodUUID>;
59
- sectionType: z.ZodDefault<z.ZodLiteral<"image">>;
60
- source: z.ZodDefault<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">, z.ZodString]>>;
61
- width: z.ZodDefault<z.ZodNumber>;
62
- }, z.core.$strip>, z.ZodObject<{
63
- buttonField: z.ZodOptional<z.ZodEnum<{
64
- declineAllOffers: "declineAllOffers";
65
- declineOffer: "declineOffer";
66
- removeFromCart: "removeFromCart";
67
- showVariants: "showVariants";
68
- addedToCart: "addedToCart";
69
- addingToCart: "addingToCart";
70
- addToCart: "addToCart";
71
- buttonLabel: "buttonLabel";
72
- destinationUrl: "destinationUrl";
73
- payNow: "payNow";
74
- showVariant: "showVariant";
75
- soldOut: "soldOut";
76
- switchToOneTimeAction: "switchToOneTimeAction";
77
- switchToOneTimePurchase: "switchToOneTimePurchase";
78
- switchToSubscriptionAction: "switchToSubscriptionAction";
79
- switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
80
- switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
81
- }>>;
82
- content: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
83
- attrs: z.ZodDefault<z.ZodObject<{
84
- blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
85
- }, z.core.$strip>>;
86
- content: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
87
- attrs: z.ZodDefault<z.ZodObject<{
88
- textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
89
- }, z.core.$strip>>;
90
- content: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
91
- marks: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
92
- type: z.ZodLiteral<"bold">;
93
- }, z.core.$strip>, z.ZodObject<{
94
- type: z.ZodLiteral<"italic">;
95
- }, z.core.$strip>, z.ZodObject<{
96
- attrs: z.ZodObject<{
97
- class: z.ZodNullable<z.ZodString>;
98
- href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
99
- rel: z.ZodDefault<z.ZodString>;
100
- target: z.ZodDefault<z.ZodString>;
101
- }, z.core.$strip>;
102
- type: z.ZodLiteral<"link">;
103
- }, z.core.$strip>, z.ZodObject<{
104
- type: z.ZodLiteral<"strike">;
105
- }, z.core.$strip>, z.ZodObject<{
106
- attrs: z.ZodObject<{
107
- color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"success" | "base" | "subdued" | "accent" | "decorative" | "warning" | "critical" | undefined, string>>>>;
108
- fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
109
- }, z.core.$strip>;
110
- type: z.ZodLiteral<"textStyle">;
111
- }, z.core.$strip>]>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
112
- text: z.ZodDefault<z.ZodString>;
113
- type: z.ZodDefault<z.ZodLiteral<"text">>;
114
- }, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
115
- type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
116
- }, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
117
- type: z.ZodDefault<z.ZodLiteral<"doc">>;
118
- }, z.core.$strip>]>>>>>;
119
- name: z.ZodOptional<z.ZodString>;
120
- sectionId: z.ZodDefault<z.ZodUUID>;
121
- sectionType: z.ZodDefault<z.ZodLiteral<"text">>;
122
- }, z.core.$strip>]>>;
123
- export type CABButtonContent = z.infer<typeof CABButtonContent>;
5
+ import { CABTextSection } from './text';
6
+ export type CABButtonContent = CABImageSection | CABLayoutSection | CABTextSection;
7
+ export declare const CABButtonContent: ZodType<CABButtonContent>;
124
8
  export declare const CABButtonSection: z.ZodObject<{
125
9
  action: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodEnum<{
126
10
  addToOrder: "addToOrder";
127
11
  declineAllOffers: "declineAllOffers";
128
12
  declineOffer: "declineOffer";
13
+ displayContentInModal: "displayContentInModal";
14
+ displayContentInPopover: "displayContentInPopover";
129
15
  goToRebuyApp: "goToRebuyApp";
130
16
  goToRebuyVault: "goToRebuyVault";
131
17
  goToURL: "goToURL";
@@ -146,126 +32,7 @@ export declare const CABButtonSection: z.ZodObject<{
146
32
  }, z.core.$strip>>;
147
33
  name: z.ZodOptional<z.ZodString>;
148
34
  sectionId: z.ZodDefault<z.ZodUUID>;
149
- sections: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
150
- altText: z.ZodDefault<z.ZodString>;
151
- aspectRatio: z.ZodDefault<z.ZodNullable<z.ZodLiteral<1>>>;
152
- border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
153
- radius: z.ZodDefault<z.ZodEnum<{
154
- small: "small";
155
- none: "none";
156
- base: "base";
157
- large: "large";
158
- fullyRounded: "fullyRounded";
159
- }>>;
160
- style: z.ZodDefault<z.ZodEnum<{
161
- none: "none";
162
- base: "base";
163
- dotted: "dotted";
164
- dashed: "dashed";
165
- }>>;
166
- width: z.ZodDefault<z.ZodEnum<{
167
- base: "base";
168
- medium: "medium";
169
- thick: "thick";
170
- }>>;
171
- }, z.core.$strip>>>;
172
- buttonField: z.ZodOptional<z.ZodEnum<{
173
- declineAllOffers: "declineAllOffers";
174
- declineOffer: "declineOffer";
175
- removeFromCart: "removeFromCart";
176
- showVariants: "showVariants";
177
- addedToCart: "addedToCart";
178
- addingToCart: "addingToCart";
179
- addToCart: "addToCart";
180
- buttonLabel: "buttonLabel";
181
- destinationUrl: "destinationUrl";
182
- payNow: "payNow";
183
- showVariant: "showVariant";
184
- soldOut: "soldOut";
185
- switchToOneTimeAction: "switchToOneTimeAction";
186
- switchToOneTimePurchase: "switchToOneTimePurchase";
187
- switchToSubscriptionAction: "switchToSubscriptionAction";
188
- switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
189
- switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
190
- }>>;
191
- category: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
192
- gallery: "gallery";
193
- icons: "icons";
194
- "payment-methods": "payment-methods";
195
- "secure-checkout": "secure-checkout";
196
- }>>>;
197
- name: z.ZodOptional<z.ZodString>;
198
- naturalHeight: z.ZodDefault<z.ZodNumber>;
199
- naturalWidth: z.ZodDefault<z.ZodNumber>;
200
- objectFit: z.ZodDefault<z.ZodEnum<{
201
- cover: "cover";
202
- contain: "contain";
203
- }>>;
204
- sectionId: z.ZodDefault<z.ZodUUID>;
205
- sectionType: z.ZodDefault<z.ZodLiteral<"image">>;
206
- source: z.ZodDefault<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">, z.ZodString]>>;
207
- width: z.ZodDefault<z.ZodNumber>;
208
- }, z.core.$strip>, z.ZodObject<{
209
- buttonField: z.ZodOptional<z.ZodEnum<{
210
- declineAllOffers: "declineAllOffers";
211
- declineOffer: "declineOffer";
212
- removeFromCart: "removeFromCart";
213
- showVariants: "showVariants";
214
- addedToCart: "addedToCart";
215
- addingToCart: "addingToCart";
216
- addToCart: "addToCart";
217
- buttonLabel: "buttonLabel";
218
- destinationUrl: "destinationUrl";
219
- payNow: "payNow";
220
- showVariant: "showVariant";
221
- soldOut: "soldOut";
222
- switchToOneTimeAction: "switchToOneTimeAction";
223
- switchToOneTimePurchase: "switchToOneTimePurchase";
224
- switchToSubscriptionAction: "switchToSubscriptionAction";
225
- switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
226
- switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
227
- }>>;
228
- content: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
229
- attrs: z.ZodDefault<z.ZodObject<{
230
- blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
231
- }, z.core.$strip>>;
232
- content: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
233
- attrs: z.ZodDefault<z.ZodObject<{
234
- textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
235
- }, z.core.$strip>>;
236
- content: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
237
- marks: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
238
- type: z.ZodLiteral<"bold">;
239
- }, z.core.$strip>, z.ZodObject<{
240
- type: z.ZodLiteral<"italic">;
241
- }, z.core.$strip>, z.ZodObject<{
242
- attrs: z.ZodObject<{
243
- class: z.ZodNullable<z.ZodString>;
244
- href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
245
- rel: z.ZodDefault<z.ZodString>;
246
- target: z.ZodDefault<z.ZodString>;
247
- }, z.core.$strip>;
248
- type: z.ZodLiteral<"link">;
249
- }, z.core.$strip>, z.ZodObject<{
250
- type: z.ZodLiteral<"strike">;
251
- }, z.core.$strip>, z.ZodObject<{
252
- attrs: z.ZodObject<{
253
- color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"success" | "base" | "subdued" | "accent" | "decorative" | "warning" | "critical" | undefined, string>>>>;
254
- fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
255
- }, z.core.$strip>;
256
- type: z.ZodLiteral<"textStyle">;
257
- }, z.core.$strip>]>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
258
- text: z.ZodDefault<z.ZodString>;
259
- type: z.ZodDefault<z.ZodLiteral<"text">>;
260
- }, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
261
- type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
262
- }, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
263
- type: z.ZodDefault<z.ZodLiteral<"doc">>;
264
- }, z.core.$strip>]>>>>>;
265
- name: z.ZodOptional<z.ZodString>;
266
- sectionId: z.ZodDefault<z.ZodUUID>;
267
- sectionType: z.ZodDefault<z.ZodLiteral<"text">>;
268
- }, z.core.$strip>]>>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
35
+ sections: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodType<CABButtonContent, unknown, z.core.$ZodTypeInternals<CABButtonContent, unknown>>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
269
36
  sectionType: z.ZodDefault<z.ZodLiteral<"button">>;
270
37
  }, z.core.$strip>;
271
38
  export type CABButtonSection = z.infer<typeof CABButtonSection>;
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/button.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAK3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAuF,CAAC;AAErH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkB3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,cAAc,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/button.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AAGzC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,MAAM,MAAM,gBAAgB,GAAG,eAAe,GAAG,gBAAgB,GAAG,cAAc,CAAC;AAEnF,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,gBAAgB,CAEtD,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkB3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,cAAc,CAAC"}
@@ -41,11 +41,13 @@ export declare const BorderWidth: {
41
41
  thick: "thick";
42
42
  };
43
43
  export type BorderWidth = z.infer<typeof borderWidth>;
44
- export declare const buttonActions: readonly ["addToOrder", "declineAllOffers", "declineOffer", "goToRebuyApp", "goToRebuyVault", "goToURL", "removeFromCart", "showVariants", "switchToSubscription"];
44
+ export declare const buttonActions: readonly ["addToOrder", "declineAllOffers", "declineOffer", "displayContentInModal", "displayContentInPopover", "goToRebuyApp", "goToRebuyVault", "goToURL", "removeFromCart", "showVariants", "switchToSubscription"];
45
45
  declare const buttonAction: z.ZodEnum<{
46
46
  addToOrder: "addToOrder";
47
47
  declineAllOffers: "declineAllOffers";
48
48
  declineOffer: "declineOffer";
49
+ displayContentInModal: "displayContentInModal";
50
+ displayContentInPopover: "displayContentInPopover";
49
51
  goToRebuyApp: "goToRebuyApp";
50
52
  goToRebuyVault: "goToRebuyVault";
51
53
  goToURL: "goToURL";
@@ -57,6 +59,8 @@ export declare const ButtonAction: {
57
59
  addToOrder: "addToOrder";
58
60
  declineAllOffers: "declineAllOffers";
59
61
  declineOffer: "declineOffer";
62
+ displayContentInModal: "displayContentInModal";
63
+ displayContentInPopover: "displayContentInPopover";
60
64
  goToRebuyApp: "goToRebuyApp";
61
65
  goToRebuyVault: "goToRebuyVault";
62
66
  goToURL: "goToURL";
@@ -65,7 +69,7 @@ export declare const ButtonAction: {
65
69
  switchToSubscription: "switchToSubscription";
66
70
  };
67
71
  export type ButtonAction = z.infer<typeof buttonAction>;
68
- export declare const buttonFields: readonly ["addedToCart", "addingToCart", "addToCart", "buttonLabel", "declineAllOffers", "declineOffer", "destinationUrl", "payNow", "removeFromCart", "showVariant", "showVariants", "soldOut", "switchToOneTimeAction", "switchToOneTimePurchase", "switchToSubscriptionAction", "switchToSubscriptionNoDiscount", "switchToSubscriptionWithDiscount"];
72
+ export declare const buttonFields: readonly ["addedToCart", "addingToCart", "addToCart", "buttonLabel", "declineAllOffers", "declineOffer", "destinationUrl", "overlayContent", "payNow", "removeFromCart", "showVariant", "showVariants", "soldOut", "switchToOneTimeAction", "switchToOneTimePurchase", "switchToSubscriptionAction", "switchToSubscriptionNoDiscount", "switchToSubscriptionWithDiscount"];
69
73
  declare const buttonField: z.ZodEnum<{
70
74
  declineAllOffers: "declineAllOffers";
71
75
  declineOffer: "declineOffer";
@@ -76,6 +80,7 @@ declare const buttonField: z.ZodEnum<{
76
80
  addToCart: "addToCart";
77
81
  buttonLabel: "buttonLabel";
78
82
  destinationUrl: "destinationUrl";
83
+ overlayContent: "overlayContent";
79
84
  payNow: "payNow";
80
85
  showVariant: "showVariant";
81
86
  soldOut: "soldOut";
@@ -95,6 +100,7 @@ export declare const ButtonField: {
95
100
  addToCart: "addToCart";
96
101
  buttonLabel: "buttonLabel";
97
102
  destinationUrl: "destinationUrl";
103
+ overlayContent: "overlayContent";
98
104
  payNow: "payNow";
99
105
  showVariant: "showVariant";
100
106
  soldOut: "soldOut";
@@ -119,14 +125,16 @@ export declare const ButtonStyle: {
119
125
  plain: "plain";
120
126
  };
121
127
  export type ButtonStyle = z.infer<typeof buttonStyle>;
122
- export declare const directions: readonly ["columns", "rows"];
128
+ export declare const directions: readonly ["columns", "rows", "grid"];
123
129
  declare const direction: z.ZodEnum<{
124
130
  columns: "columns";
125
131
  rows: "rows";
132
+ grid: "grid";
126
133
  }>;
127
134
  export declare const Direction: {
128
135
  columns: "columns";
129
136
  rows: "rows";
137
+ grid: "grid";
130
138
  };
131
139
  export type Direction = z.infer<typeof direction>;
132
140
  export declare const editorModes: readonly ["checkoutExtension", "postPurchaseOffer", "thankYouPage", "orderStatusPage", "ordersIndexPage", "customerProfilePage"];
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,eAAO,MAAM,WAAW,6DAA8D,CAAC;AACvF,QAAA,MAAM,YAAY;;;;;;EAAsB,CAAC;AAEzC,eAAO,MAAM,YAAY;;;;;;CAAoB,CAAC;AAC9C,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,eAAO,MAAM,YAAY,+CAAgD,CAAC;AAC1E,QAAA,MAAM,WAAW;;;;;EAAuB,CAAC;AAEzC,eAAO,MAAM,WAAW;;;;;CAAmB,CAAC;AAC5C,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,eAAO,MAAM,YAAY,sCAAuC,CAAC;AACjE,QAAA,MAAM,WAAW;;;;EAAuB,CAAC;AAEzC,eAAO,MAAM,WAAW;;;;C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AC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,eAAO,MAAM,aAAa,2EAA4E,CAAC;AACvG,QAAA,MAAM,YAAY;;;;;;;EAAwB,CAAC;AAE3C,eAAO,MAAM,YAAY;;;;;;;CAAoB,CAAC;AAC9C,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,eAAO,MAAM,gBAAgB,wDAAyD,CAAC;AACvF,QAAA,MAAM,eAAe;;;;;;EAA2B,CAAC;AAEjD,eAAO,MAAM,eAAe;;;;;;CAAuB,CAAC;AACpD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,eAAO,MAAM,kBAAkB,sCAAuC,CAAC;AACvE,QAAA,MAAM,iBAAiB;;;;EAA6B,CAAC;AAErD,eAAO,MAAM,iBAAiB;;;;CAAyB,CAAC;AACxD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -33,6 +33,7 @@ export declare const CABImageSection: z.ZodObject<{
33
33
  addToCart: "addToCart";
34
34
  buttonLabel: "buttonLabel";
35
35
  destinationUrl: "destinationUrl";
36
+ overlayContent: "overlayContent";
36
37
  payNow: "payNow";
37
38
  showVariant: "showVariant";
38
39
  soldOut: "soldOut";
@@ -1 +1 @@
1
- {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/image.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAc1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG,cAAc,CAAC"}
1
+ {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/image.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAc1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG,cAAc,CAAC"}
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod/v4';
2
- import { Direction, HorizontalAlignment, Spacing, VerticalAlignment } from './common';
2
+ import { Direction, HorizontalAlignment, Spacing, VerticalAlignment, type ButtonField } from './common';
3
3
  import { CABBorder, CABSection, type SectionDetails } from './shared';
4
+ export declare const GridItem: z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>;
5
+ export type GridItem = z.infer<typeof GridItem>;
4
6
  export declare const CABLayoutSection: z.ZodObject<{
5
7
  alignment: z.ZodDefault<z.ZodObject<{
6
8
  horizontal: z.ZodDefault<z.ZodEnum<{
@@ -34,10 +36,35 @@ export declare const CABLayoutSection: z.ZodObject<{
34
36
  thick: "thick";
35
37
  }>>;
36
38
  }, z.core.$strip>>>;
39
+ buttonField: z.ZodOptional<z.ZodEnum<{
40
+ declineAllOffers: "declineAllOffers";
41
+ declineOffer: "declineOffer";
42
+ removeFromCart: "removeFromCart";
43
+ showVariants: "showVariants";
44
+ addedToCart: "addedToCart";
45
+ addingToCart: "addingToCart";
46
+ addToCart: "addToCart";
47
+ buttonLabel: "buttonLabel";
48
+ destinationUrl: "destinationUrl";
49
+ overlayContent: "overlayContent";
50
+ payNow: "payNow";
51
+ showVariant: "showVariant";
52
+ soldOut: "soldOut";
53
+ switchToOneTimeAction: "switchToOneTimeAction";
54
+ switchToOneTimePurchase: "switchToOneTimePurchase";
55
+ switchToSubscriptionAction: "switchToSubscriptionAction";
56
+ switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
57
+ switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
58
+ }>>;
37
59
  direction: z.ZodDefault<z.ZodEnum<{
38
60
  columns: "columns";
39
61
  rows: "rows";
62
+ grid: "grid";
40
63
  }>>;
64
+ grid: z.ZodOptional<z.ZodObject<{
65
+ columns: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>;
66
+ rows: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>;
67
+ }, z.core.$strip>>;
41
68
  name: z.ZodOptional<z.ZodString>;
42
69
  padding: z.ZodDefault<z.ZodEnum<{
43
70
  none: "none";
@@ -66,6 +93,7 @@ export type CABLayoutSection = {
66
93
  vertical: VerticalAlignment;
67
94
  };
68
95
  border: CABBorder;
96
+ buttonField?: ButtonField;
69
97
  direction: Direction;
70
98
  name?: string;
71
99
  padding: Spacing;
@@ -1 +1 @@
1
- {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/layout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,OAAO,EACH,SAAS,EAET,mBAAmB,EAGnB,OAAO,EAEP,iBAAiB,EAEpB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,gBAA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