@rebuy/rebuy 2.6.0-rc.2 → 2.6.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.
Files changed (29) hide show
  1. package/dist/index.js +7 -1
  2. package/dist/index.js.map +2 -2
  3. package/dist/index.mjs +7 -1
  4. package/dist/index.mjs.map +2 -2
  5. package/dist/schema/widgetData.d.ts +40 -0
  6. package/dist/schema/widgetData.d.ts.map +1 -1
  7. package/dist/schema/widgets/checkout-and-beyond/button.d.ts +9 -242
  8. package/dist/schema/widgets/checkout-and-beyond/button.d.ts.map +1 -1
  9. package/dist/schema/widgets/checkout-and-beyond/common.d.ts +8 -2
  10. package/dist/schema/widgets/checkout-and-beyond/common.d.ts.map +1 -1
  11. package/dist/schema/widgets/checkout-and-beyond/image.d.ts +1 -0
  12. package/dist/schema/widgets/checkout-and-beyond/image.d.ts.map +1 -1
  13. package/dist/schema/widgets/checkout-and-beyond/layout.d.ts +22 -1
  14. package/dist/schema/widgets/checkout-and-beyond/layout.d.ts.map +1 -1
  15. package/dist/schema/widgets/checkout-and-beyond/offers.d.ts +20 -0
  16. package/dist/schema/widgets/checkout-and-beyond/offers.d.ts.map +1 -1
  17. package/dist/schema/widgets/checkout-and-beyond/product.d.ts +2 -0
  18. package/dist/schema/widgets/checkout-and-beyond/product.d.ts.map +1 -1
  19. package/dist/schema/widgets/checkout-and-beyond/products.d.ts +2 -0
  20. package/dist/schema/widgets/checkout-and-beyond/products.d.ts.map +1 -1
  21. package/dist/schema/widgets/checkout-and-beyond/root.d.ts +20 -0
  22. package/dist/schema/widgets/checkout-and-beyond/root.d.ts.map +1 -1
  23. package/dist/schema/widgets/checkout-and-beyond/text.d.ts +1 -0
  24. package/dist/schema/widgets/checkout-and-beyond/text.d.ts.map +1 -1
  25. package/dist/schema/widgets/contentBlock.d.ts +20 -0
  26. package/dist/schema/widgets/contentBlock.d.ts.map +1 -1
  27. package/dist/schema/widgets/rebuyButton.d.ts +20 -0
  28. package/dist/schema/widgets/rebuyButton.d.ts.map +1 -1
  29. package/package.json +1 -1
@@ -84,6 +84,26 @@ 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";
@@ -175,6 +195,26 @@ export declare const WidgetData: z.ZodDiscriminatedUnion<[z.ZodObject<{
175
195
  thick: "thick";
176
196
  }>>;
177
197
  }, z.core.$strip>>>;
198
+ buttonField: z.ZodOptional<z.ZodEnum<{
199
+ declineAllOffers: "declineAllOffers";
200
+ declineOffer: "declineOffer";
201
+ removeFromCart: "removeFromCart";
202
+ showVariants: "showVariants";
203
+ addedToCart: "addedToCart";
204
+ addingToCart: "addingToCart";
205
+ addToCart: "addToCart";
206
+ buttonLabel: "buttonLabel";
207
+ destinationUrl: "destinationUrl";
208
+ overlayContent: "overlayContent";
209
+ payNow: "payNow";
210
+ showVariant: "showVariant";
211
+ soldOut: "soldOut";
212
+ switchToOneTimeAction: "switchToOneTimeAction";
213
+ switchToOneTimePurchase: "switchToOneTimePurchase";
214
+ switchToSubscriptionAction: "switchToSubscriptionAction";
215
+ switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
216
+ switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
217
+ }>>;
178
218
  direction: z.ZodDefault<z.ZodEnum<{
179
219
  columns: "columns";
180
220
  rows: "rows";
@@ -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";
@@ -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;;;;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AAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAE9C,eAAO,MAAM,cAAc,qCAAsC,CAAC;AAClE,QAAA,MAAM,aAAa;;;;EAAyB,CAAC;AAE7C,eAAO,MAAM,aAAa;;;;CAAqB,CAAC;AAChD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,eAAO,MAAM,cAAc,wFAAyF,CAAC;AACrH,QAAA,MAAM,aAAa;;;;;;;;EAAyB,CAAC;AAE7C,eAAO,MAAM,aAAa;;;;;;;;CAAqB,CAAC;AAChD,MAAM,MAAM,aAAa,GAAG,CAAC,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,5 +1,5 @@
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
4
  export declare const CABLayoutSection: z.ZodObject<{
5
5
  alignment: z.ZodDefault<z.ZodObject<{
@@ -34,6 +34,26 @@ export declare const CABLayoutSection: z.ZodObject<{
34
34
  thick: "thick";
35
35
  }>>;
36
36
  }, z.core.$strip>>>;
37
+ buttonField: z.ZodOptional<z.ZodEnum<{
38
+ declineAllOffers: "declineAllOffers";
39
+ declineOffer: "declineOffer";
40
+ removeFromCart: "removeFromCart";
41
+ showVariants: "showVariants";
42
+ addedToCart: "addedToCart";
43
+ addingToCart: "addingToCart";
44
+ addToCart: "addToCart";
45
+ buttonLabel: "buttonLabel";
46
+ destinationUrl: "destinationUrl";
47
+ overlayContent: "overlayContent";
48
+ payNow: "payNow";
49
+ showVariant: "showVariant";
50
+ soldOut: "soldOut";
51
+ switchToOneTimeAction: "switchToOneTimeAction";
52
+ switchToOneTimePurchase: "switchToOneTimePurchase";
53
+ switchToSubscriptionAction: "switchToSubscriptionAction";
54
+ switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
55
+ switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
56
+ }>>;
37
57
  direction: z.ZodDefault<z.ZodEnum<{
38
58
  columns: "columns";
39
59
  rows: "rows";
@@ -66,6 +86,7 @@ export type CABLayoutSection = {
66
86
  vertical: VerticalAlignment;
67
87
  };
68
88
  border: CABBorder;
89
+ buttonField?: ButtonField;
69
90
  direction: Direction;
70
91
  name?: string;
71
92
  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,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmB3B,CAAC;AAEH,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C;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,WAAW,EAAE,QAAQ,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,cAAc,CAAC"}
@@ -5,6 +5,26 @@ export declare const CABOffersSection: z.ZodLazy<z.ZodObject<{
5
5
  name: z.ZodOptional<z.ZodString>;
6
6
  width: z.ZodDefault<z.ZodNumber>;
7
7
  sectionId: z.ZodDefault<z.ZodUUID>;
8
+ buttonField: z.ZodOptional<z.ZodEnum<{
9
+ declineAllOffers: "declineAllOffers";
10
+ declineOffer: "declineOffer";
11
+ removeFromCart: "removeFromCart";
12
+ showVariants: "showVariants";
13
+ addedToCart: "addedToCart";
14
+ addingToCart: "addingToCart";
15
+ addToCart: "addToCart";
16
+ buttonLabel: "buttonLabel";
17
+ destinationUrl: "destinationUrl";
18
+ overlayContent: "overlayContent";
19
+ payNow: "payNow";
20
+ showVariant: "showVariant";
21
+ soldOut: "soldOut";
22
+ switchToOneTimeAction: "switchToOneTimeAction";
23
+ switchToOneTimePurchase: "switchToOneTimePurchase";
24
+ switchToSubscriptionAction: "switchToSubscriptionAction";
25
+ switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
26
+ switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
27
+ }>>;
8
28
  border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
9
29
  radius: z.ZodDefault<z.ZodEnum<{
10
30
  small: "small";
@@ -1 +1 @@
1
- {"version":3,"file":"offers.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/offers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE3D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAS5B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,EAAE,aAAa,CAAC,GAAG;IACnE,WAAW,EAAE,QAAQ,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,cAAc,CAAC"}
1
+ {"version":3,"file":"offers.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/offers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE3D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAS5B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,EAAE,aAAa,CAAC,GAAG;IACnE,WAAW,EAAE,QAAQ,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,cAAc,CAAC"}
@@ -47,6 +47,7 @@ export declare const CABProductSection: z.ZodObject<{
47
47
  addToCart: "addToCart";
48
48
  buttonLabel: "buttonLabel";
49
49
  destinationUrl: "destinationUrl";
50
+ overlayContent: "overlayContent";
50
51
  payNow: "payNow";
51
52
  showVariant: "showVariant";
52
53
  soldOut: "soldOut";
@@ -86,6 +87,7 @@ export declare const CABProductSection: z.ZodObject<{
86
87
  addToCart: "addToCart";
87
88
  buttonLabel: "buttonLabel";
88
89
  destinationUrl: "destinationUrl";
90
+ overlayContent: "overlayContent";
89
91
  payNow: "payNow";
90
92
  showVariant: "showVariant";
91
93
  soldOut: "soldOut";
@@ -1 +1 @@
1
- {"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/product.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwB5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG,cAAc,CAAC"}
1
+ {"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/product.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwB5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG,cAAc,CAAC"}
@@ -50,6 +50,7 @@ export declare const CABProductsSection: z.ZodObject<{
50
50
  addToCart: "addToCart";
51
51
  buttonLabel: "buttonLabel";
52
52
  destinationUrl: "destinationUrl";
53
+ overlayContent: "overlayContent";
53
54
  payNow: "payNow";
54
55
  showVariant: "showVariant";
55
56
  soldOut: "soldOut";
@@ -89,6 +90,7 @@ export declare const CABProductsSection: z.ZodObject<{
89
90
  addToCart: "addToCart";
90
91
  buttonLabel: "buttonLabel";
91
92
  destinationUrl: "destinationUrl";
93
+ overlayContent: "overlayContent";
92
94
  payNow: "payNow";
93
95
  showVariant: "showVariant";
94
96
  soldOut: "soldOut";
@@ -1 +1 @@
1
- {"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/products.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAO7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG,cAAc,CAAC"}
1
+ {"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/products.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAO7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG,cAAc,CAAC"}
@@ -42,6 +42,26 @@ export declare const CABRootSection: z.ZodObject<{
42
42
  thick: "thick";
43
43
  }>>;
44
44
  }, z.core.$strip>>>;
45
+ buttonField: z.ZodOptional<z.ZodEnum<{
46
+ declineAllOffers: "declineAllOffers";
47
+ declineOffer: "declineOffer";
48
+ removeFromCart: "removeFromCart";
49
+ showVariants: "showVariants";
50
+ addedToCart: "addedToCart";
51
+ addingToCart: "addingToCart";
52
+ addToCart: "addToCart";
53
+ buttonLabel: "buttonLabel";
54
+ destinationUrl: "destinationUrl";
55
+ overlayContent: "overlayContent";
56
+ payNow: "payNow";
57
+ showVariant: "showVariant";
58
+ soldOut: "soldOut";
59
+ switchToOneTimeAction: "switchToOneTimeAction";
60
+ switchToOneTimePurchase: "switchToOneTimePurchase";
61
+ switchToSubscriptionAction: "switchToSubscriptionAction";
62
+ switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
63
+ switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
64
+ }>>;
45
65
  direction: z.ZodDefault<z.ZodEnum<{
46
66
  columns: "columns";
47
67
  rows: "rows";
@@ -1 +1 @@
1
- {"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAAE,UAAU,EAAe,MAAM,UAAU,CAAC;AACnD,OAAO,EAAe,UAAU,EAAe,MAAM,aAAa,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAY5C,MAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAU1B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,gBAAgB,GAAG;IAC5C,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,CAAC"}
@@ -107,6 +107,7 @@ export declare const CABTextSection: z.ZodObject<{
107
107
  addToCart: "addToCart";
108
108
  buttonLabel: "buttonLabel";
109
109
  destinationUrl: "destinationUrl";
110
+ overlayContent: "overlayContent";
110
111
  payNow: "payNow";
111
112
  showVariant: "showVariant";
112
113
  soldOut: "soldOut";
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/text.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAgB3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAS/C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;iBA+BrB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQ1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;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G,cAAc,GAAG,cAAc,CAAC"}
@@ -127,6 +127,26 @@ export declare const ContentBlock: z.ZodDiscriminatedUnion<[z.ZodObject<{
127
127
  thick: "thick";
128
128
  }>>;
129
129
  }, z.core.$strip>>>;
130
+ buttonField: z.ZodOptional<z.ZodEnum<{
131
+ declineAllOffers: "declineAllOffers";
132
+ declineOffer: "declineOffer";
133
+ removeFromCart: "removeFromCart";
134
+ showVariants: "showVariants";
135
+ addedToCart: "addedToCart";
136
+ addingToCart: "addingToCart";
137
+ addToCart: "addToCart";
138
+ buttonLabel: "buttonLabel";
139
+ destinationUrl: "destinationUrl";
140
+ overlayContent: "overlayContent";
141
+ payNow: "payNow";
142
+ showVariant: "showVariant";
143
+ soldOut: "soldOut";
144
+ switchToOneTimeAction: "switchToOneTimeAction";
145
+ switchToOneTimePurchase: "switchToOneTimePurchase";
146
+ switchToSubscriptionAction: "switchToSubscriptionAction";
147
+ switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
148
+ switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
149
+ }>>;
130
150
  direction: z.ZodDefault<z.ZodEnum<{
131
151
  columns: "columns";
132
152
  rows: "rows";