@rebuy/rebuy 3.26.0 → 3.28.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 (51) hide show
  1. package/dist/index.cjs +902 -750
  2. package/dist/index.mjs +901 -749
  3. package/dist/schema/checkout-and-beyond/constants.cjs +5 -0
  4. package/dist/schema/checkout-and-beyond/constants.mjs +5 -0
  5. package/dist/schema/checkout-and-beyond/index.cjs +97 -68
  6. package/dist/schema/checkout-and-beyond/index.mjs +97 -68
  7. package/dist/schema/index.d.ts +6 -0
  8. package/dist/schema/postPurchaseEligibility.d.ts +2 -2
  9. package/dist/schema/postPurchaseExitPolicy.d.ts +20 -0
  10. package/dist/schema/postPurchaseIdentity.d.ts +9 -0
  11. package/dist/schema/postPurchaseOrderDecision.d.ts +10 -0
  12. package/dist/schema/postPurchasePolicy.d.ts +62 -0
  13. package/dist/schema/postPurchaseSelection.d.ts +29 -0
  14. package/dist/schema/postPurchaseSession.d.ts +112 -0
  15. package/dist/schema/postPurchaseSessionClose.d.ts +25 -0
  16. package/dist/schema/postPurchaseShadow.d.ts +56 -1
  17. package/dist/schema/postPurchaseSkipTrace.d.ts +2 -2
  18. package/dist/schema/widget-data.cjs +160 -135
  19. package/dist/schema/widget-data.mjs +160 -135
  20. package/dist/schema/widgetData.d.ts +24 -0
  21. package/dist/schema/widgets/checkout-and-beyond/banner.d.ts +8 -0
  22. package/dist/schema/widgets/checkout-and-beyond/carousel.d.ts +8 -0
  23. package/dist/schema/widgets/checkout-and-beyond/cartLine.d.ts +8 -0
  24. package/dist/schema/widgets/checkout-and-beyond/common.d.ts +13 -1
  25. package/dist/schema/widgets/checkout-and-beyond/index.d.ts +1 -0
  26. package/dist/schema/widgets/checkout-and-beyond/layout.d.ts +17 -1
  27. package/dist/schema/widgets/checkout-and-beyond/offers.d.ts +8 -0
  28. package/dist/schema/widgets/checkout-and-beyond/progressBar.d.ts +8 -0
  29. package/dist/schema/widgets/checkout-and-beyond/reviews.d.ts +2 -0
  30. package/dist/schema/widgets/checkout-and-beyond/root.d.ts +8 -0
  31. package/dist/schema/widgets/checkout-and-beyond/separator.d.ts +192 -0
  32. package/dist/schema/widgets/checkout-and-beyond/shared.d.ts +2 -1
  33. package/dist/schema/widgets/contentBlock.d.ts +8 -0
  34. package/dist/schema/widgets/lineItemEditor.d.ts +8 -0
  35. package/dist/schema/widgets/post-purchase-offer/constants.d.ts +2 -2
  36. package/dist/schema/widgets/rebuyButton.d.ts +8 -0
  37. package/dist/server/index.cjs +601 -188
  38. package/dist/server/index.mjs +601 -188
  39. package/dist/server/requestSchemas.d.ts +1 -1
  40. package/dist/transforms/index.cjs +481 -59
  41. package/dist/transforms/index.d.ts +2 -0
  42. package/dist/transforms/index.mjs +481 -59
  43. package/dist/transforms/postPurchase/convertCalloutBlock.d.ts +8 -0
  44. package/dist/transforms/postPurchase/convertMessagePreview.d.ts +8 -0
  45. package/dist/transforms/postPurchase/convertPayButtonBlock.d.ts +4 -0
  46. package/dist/transforms/postPurchase/convertSeparatorBlock.d.ts +4 -0
  47. package/dist/transforms/postPurchase/convertTextBlock.d.ts +4 -0
  48. package/dist/transforms/postPurchase/convertTimerBlock.d.ts +4 -0
  49. package/dist/transforms/postPurchase/styledTextRun.d.ts +3 -0
  50. package/dist/transforms/postPurchase/types.d.ts +8 -0
  51. package/package.json +1 -1
@@ -1,9 +1,15 @@
1
1
  import { z } from 'zod';
2
- import { Direction, HorizontalAlignment, Spacing, VerticalAlignment, type ButtonField } from './common';
2
+ import { Direction, HorizontalAlignment, Spacing, VerticalAlignment, type ButtonField, type LayoutFrame } from './common';
3
3
  import { CABBorder, CABSection, type SectionDetails } from './shared';
4
4
  import { CABVariableFields } from './variables';
5
5
  export declare const GridItem: z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>;
6
6
  export type GridItem = z.infer<typeof GridItem>;
7
+ /** When a row of children would overflow, wrap after `maxPerLine` once the container is narrower than `breakAt`. */
8
+ export declare const CABLayoutWrapping: z.ZodObject<{
9
+ breakAt: z.ZodNumber;
10
+ maxPerLine: z.ZodNumber;
11
+ }, z.core.$strip>;
12
+ export type CABLayoutWrapping = z.infer<typeof CABLayoutWrapping>;
7
13
  export declare const CABLayoutSection: z.ZodObject<{
8
14
  alignment: z.ZodDefault<z.ZodObject<{
9
15
  horizontal: z.ZodDefault<z.ZodEnum<{
@@ -67,6 +73,10 @@ export declare const CABLayoutSection: z.ZodObject<{
67
73
  rows: "rows";
68
74
  grid: "grid";
69
75
  }>>;
76
+ frame: z.ZodOptional<z.ZodEnum<{
77
+ callout: "callout";
78
+ "offer-content": "offer-content";
79
+ }>>;
70
80
  grid: z.ZodOptional<z.ZodDefault<z.ZodObject<{
71
81
  columns: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>, z.ZodUndefined]>>;
72
82
  rows: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>, z.ZodUndefined]>>;
@@ -93,6 +103,10 @@ export declare const CABLayoutSection: z.ZodObject<{
93
103
  }>>;
94
104
  viewUrl: z.ZodOptional<z.ZodString>;
95
105
  width: z.ZodDefault<z.ZodNumber>;
106
+ wrapping: z.ZodOptional<z.ZodObject<{
107
+ breakAt: z.ZodNumber;
108
+ maxPerLine: z.ZodNumber;
109
+ }, z.core.$strip>>;
96
110
  mutators: z.ZodOptional<z.ZodArray<z.ZodObject<{
97
111
  effect: z.ZodDefault<z.ZodEnum<{
98
112
  set_false: "set_false";
@@ -287,6 +301,7 @@ export type CABLayoutSection = CABVariableFields & {
287
301
  border: CABBorder;
288
302
  buttonField?: ButtonField;
289
303
  direction: Direction;
304
+ frame?: LayoutFrame;
290
305
  grid?: {
291
306
  columns: GridItem[];
292
307
  rows: GridItem[];
@@ -299,5 +314,6 @@ export type CABLayoutSection = CABVariableFields & {
299
314
  spacing: Spacing;
300
315
  viewUrl?: string;
301
316
  width: number;
317
+ wrapping?: CABLayoutWrapping;
302
318
  };
303
319
  export type CABLayoutSectionProps = CABLayoutSection & SectionDetails;
@@ -256,6 +256,10 @@ export declare const CABOffersSection: z.ZodLazy<z.ZodObject<{
256
256
  rows: "rows";
257
257
  grid: "grid";
258
258
  }>>;
259
+ frame: z.ZodOptional<z.ZodEnum<{
260
+ callout: "callout";
261
+ "offer-content": "offer-content";
262
+ }>>;
259
263
  padding: z.ZodDefault<z.ZodEnum<{
260
264
  none: "none";
261
265
  base: "base";
@@ -273,6 +277,10 @@ export declare const CABOffersSection: z.ZodLazy<z.ZodObject<{
273
277
  extraLoose: "extraLoose";
274
278
  }>>;
275
279
  viewUrl: z.ZodOptional<z.ZodString>;
280
+ wrapping: z.ZodOptional<z.ZodObject<{
281
+ breakAt: z.ZodNumber;
282
+ maxPerLine: z.ZodNumber;
283
+ }, z.core.$strip>>;
276
284
  divider: z.ZodOptional<z.ZodBoolean>;
277
285
  sections: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodLazy<z.ZodType<CABSection, unknown, z.core.$ZodTypeInternals<CABSection, unknown>>>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
278
286
  sectionType: z.ZodDefault<z.ZodLiteral<"offers">>;
@@ -321,6 +321,10 @@ export declare const CABProgressBarSection: z.ZodLazy<z.ZodObject<{
321
321
  rows: "rows";
322
322
  grid: "grid";
323
323
  }>>;
324
+ frame: z.ZodOptional<z.ZodEnum<{
325
+ callout: "callout";
326
+ "offer-content": "offer-content";
327
+ }>>;
324
328
  padding: z.ZodDefault<z.ZodEnum<{
325
329
  none: "none";
326
330
  base: "base";
@@ -339,6 +343,10 @@ export declare const CABProgressBarSection: z.ZodLazy<z.ZodObject<{
339
343
  extraLoose: "extraLoose";
340
344
  }>>;
341
345
  viewUrl: z.ZodOptional<z.ZodString>;
346
+ wrapping: z.ZodOptional<z.ZodObject<{
347
+ breakAt: z.ZodNumber;
348
+ maxPerLine: z.ZodNumber;
349
+ }, z.core.$strip>>;
342
350
  barId: z.ZodOptional<z.ZodString>;
343
351
  countryCodes: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
344
352
  excludeCountryCodes: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
@@ -14,6 +14,8 @@ export declare const CABReviewsSection: z.ZodObject<{
14
14
  default: "default";
15
15
  large: "large";
16
16
  }>>;
17
+ strokeColor: z.ZodDefault<z.ZodString>;
18
+ strokeWidth: z.ZodDefault<z.ZodNumber>;
17
19
  mutators: z.ZodOptional<z.ZodArray<z.ZodObject<{
18
20
  effect: z.ZodDefault<z.ZodEnum<{
19
21
  set_false: "set_false";
@@ -132,6 +132,10 @@ export declare const CABRootSection: z.ZodObject<{
132
132
  rows: "rows";
133
133
  grid: "grid";
134
134
  }>>;
135
+ frame: z.ZodOptional<z.ZodEnum<{
136
+ callout: "callout";
137
+ "offer-content": "offer-content";
138
+ }>>;
135
139
  grid: z.ZodOptional<z.ZodDefault<z.ZodObject<{
136
140
  columns: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>, z.ZodUndefined]>>;
137
141
  rows: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>, z.ZodUndefined]>>;
@@ -158,6 +162,10 @@ export declare const CABRootSection: z.ZodObject<{
158
162
  }>>;
159
163
  viewUrl: z.ZodOptional<z.ZodString>;
160
164
  width: z.ZodDefault<z.ZodNumber>;
165
+ wrapping: z.ZodOptional<z.ZodObject<{
166
+ breakAt: z.ZodNumber;
167
+ maxPerLine: z.ZodNumber;
168
+ }, z.core.$strip>>;
161
169
  mutators: z.ZodOptional<z.ZodArray<z.ZodObject<{
162
170
  effect: z.ZodDefault<z.ZodEnum<{
163
171
  set_false: "set_false";
@@ -0,0 +1,192 @@
1
+ import { z } from 'zod';
2
+ /** Passive visual separation; appearance and orientation use each platform's defaults. */
3
+ export declare const CABSeparatorSection: z.ZodObject<{
4
+ sectionId: z.ZodDefault<z.ZodUUID>;
5
+ sectionType: z.ZodDefault<z.ZodLiteral<"separator">>;
6
+ mutators: z.ZodOptional<z.ZodArray<z.ZodObject<{
7
+ effect: z.ZodDefault<z.ZodEnum<{
8
+ set_false: "set_false";
9
+ set_true: "set_true";
10
+ toggle: "toggle";
11
+ }>>;
12
+ variable: z.ZodString;
13
+ when: z.ZodDiscriminatedUnion<[z.ZodObject<{
14
+ operator: z.ZodDefault<z.ZodEnum<{
15
+ is_empty: "is_empty";
16
+ is_not_empty: "is_not_empty";
17
+ }>>;
18
+ type: z.ZodLiteral<"content">;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ event: z.ZodEnum<{
21
+ item_added: "item_added";
22
+ quantity_changed: "quantity_changed";
23
+ variant_selected: "variant_selected";
24
+ }>;
25
+ type: z.ZodLiteral<"event">;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ operator: z.ZodDefault<z.ZodEnum<{
28
+ equals: "equals";
29
+ greater_than: "greater_than";
30
+ less_than: "less_than";
31
+ }>>;
32
+ type: z.ZodLiteral<"result_count">;
33
+ value: z.ZodDefault<z.ZodNumber>;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ operator: z.ZodDefault<z.ZodEnum<{
36
+ contains: "contains";
37
+ does_not_contain: "does_not_contain";
38
+ }>>;
39
+ type: z.ZodLiteral<"result_tag">;
40
+ value: z.ZodString;
41
+ }, z.core.$strip>], "type">;
42
+ }, z.core.$strip>>>;
43
+ variables: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
44
+ defaultValue: z.ZodString;
45
+ name: z.ZodString;
46
+ seed: z.ZodOptional<z.ZodNever>;
47
+ type: z.ZodLiteral<"text">;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ defaultValue: z.ZodNumber;
50
+ name: z.ZodString;
51
+ seed: z.ZodOptional<z.ZodNever>;
52
+ type: z.ZodLiteral<"number">;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ defaultValue: z.ZodOptional<z.ZodBoolean>;
55
+ name: z.ZodString;
56
+ seed: z.ZodOptional<z.ZodObject<{
57
+ dataSourceId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
58
+ ruleset: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
59
+ exitIfMatched: z.ZodDefault<z.ZodBoolean>;
60
+ logic: z.ZodDefault<z.ZodArray<z.ZodObject<{
61
+ rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
62
+ operator: z.ZodDefault<z.ZodEnum<{
63
+ equals: "equals";
64
+ greater_than: "greater_than";
65
+ less_than: "less_than";
66
+ contains: "contains";
67
+ does_not_contain: "does_not_contain";
68
+ after: "after";
69
+ anything: "anything";
70
+ before: "before";
71
+ contains_any: "contains_any";
72
+ does_not_contain_any: "does_not_contain_any";
73
+ does_not_equal: "does_not_equal";
74
+ }>>;
75
+ products: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnknown>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
76
+ type: z.ZodDefault<z.ZodEnum<{
77
+ product: "product";
78
+ date: "date";
79
+ cart: "cart";
80
+ cart_count: "cart_count";
81
+ cart_item_count: "cart_item_count";
82
+ cart_line_count: "cart_line_count";
83
+ cart_subtotal: "cart_subtotal";
84
+ collection: "collection";
85
+ customer: "customer";
86
+ customer_order_count: "customer_order_count";
87
+ customer_tag: "customer_tag";
88
+ customer_total_spent: "customer_total_spent";
89
+ product_tag: "product_tag";
90
+ product_title: "product_title";
91
+ product_type: "product_type";
92
+ product_vendor: "product_vendor";
93
+ }>>;
94
+ value: z.ZodDefault<z.ZodCoercedString<unknown>>;
95
+ }, z.core.$strip>>>;
96
+ }, z.core.$strip>>>;
97
+ output: z.ZodDefault<z.ZodArray<z.ZodObject<{
98
+ key: z.ZodDefault<z.ZodString>;
99
+ type: z.ZodDefault<z.ZodLiteral<"data_json">>;
100
+ value: z.ZodDefault<z.ZodString>;
101
+ }, z.core.$strip>>>;
102
+ }, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<{
103
+ exitIfMatched: boolean;
104
+ logic: {
105
+ rules: {
106
+ operator: "equals" | "greater_than" | "less_than" | "contains" | "does_not_contain" | "after" | "anything" | "before" | "contains_any" | "does_not_contain_any" | "does_not_equal";
107
+ products: never[] | unknown[];
108
+ type: "product" | "date" | "cart" | "cart_count" | "cart_item_count" | "cart_line_count" | "cart_subtotal" | "collection" | "customer" | "customer_order_count" | "customer_tag" | "customer_total_spent" | "product_tag" | "product_title" | "product_type" | "product_vendor";
109
+ value: string;
110
+ }[];
111
+ }[];
112
+ output: {
113
+ key: string;
114
+ type: "data_json";
115
+ value: string;
116
+ }[];
117
+ }[], Record<string, never>>>]>>;
118
+ }, z.core.$strip>>;
119
+ type: z.ZodDefault<z.ZodLiteral<"boolean">>;
120
+ }, z.core.$strip>]>, z.ZodTransform<{
121
+ defaultValue: string;
122
+ name: string;
123
+ type: "text";
124
+ seed?: undefined;
125
+ } | {
126
+ defaultValue: number;
127
+ name: string;
128
+ type: "number";
129
+ seed?: undefined;
130
+ } | {
131
+ defaultValue: boolean;
132
+ name: string;
133
+ type: "boolean";
134
+ seed?: {
135
+ dataSourceId: number | null;
136
+ ruleset: {
137
+ exitIfMatched: boolean;
138
+ logic: {
139
+ rules: {
140
+ operator: "equals" | "greater_than" | "less_than" | "contains" | "does_not_contain" | "after" | "anything" | "before" | "contains_any" | "does_not_contain_any" | "does_not_equal";
141
+ products: never[] | unknown[];
142
+ type: "product" | "date" | "cart" | "cart_count" | "cart_item_count" | "cart_line_count" | "cart_subtotal" | "collection" | "customer" | "customer_order_count" | "customer_tag" | "customer_total_spent" | "product_tag" | "product_title" | "product_type" | "product_vendor";
143
+ value: string;
144
+ }[];
145
+ }[];
146
+ output: {
147
+ key: string;
148
+ type: "data_json";
149
+ value: string;
150
+ }[];
151
+ }[];
152
+ } | undefined;
153
+ }, {
154
+ name: string;
155
+ type: "boolean";
156
+ defaultValue?: boolean | undefined;
157
+ seed?: {
158
+ dataSourceId: number | null;
159
+ ruleset: {
160
+ exitIfMatched: boolean;
161
+ logic: {
162
+ rules: {
163
+ operator: "equals" | "greater_than" | "less_than" | "contains" | "does_not_contain" | "after" | "anything" | "before" | "contains_any" | "does_not_contain_any" | "does_not_equal";
164
+ products: never[] | unknown[];
165
+ type: "product" | "date" | "cart" | "cart_count" | "cart_item_count" | "cart_line_count" | "cart_subtotal" | "collection" | "customer" | "customer_order_count" | "customer_tag" | "customer_total_spent" | "product_tag" | "product_title" | "product_type" | "product_vendor";
166
+ value: string;
167
+ }[];
168
+ }[];
169
+ output: {
170
+ key: string;
171
+ type: "data_json";
172
+ value: string;
173
+ }[];
174
+ }[];
175
+ } | undefined;
176
+ } | {
177
+ defaultValue: string;
178
+ name: string;
179
+ type: "text";
180
+ seed?: undefined;
181
+ } | {
182
+ defaultValue: number;
183
+ name: string;
184
+ type: "number";
185
+ seed?: undefined;
186
+ }>>>>;
187
+ visibility: z.ZodOptional<z.ZodObject<{
188
+ variable: z.ZodString;
189
+ visibleWhen: z.ZodDefault<z.ZodBoolean>;
190
+ }, z.core.$strip>>;
191
+ }, z.core.$strip>;
192
+ export type CABSeparatorSection = z.infer<typeof CABSeparatorSection>;
@@ -16,6 +16,7 @@ import { CABProgressBarSection } from './progressBar';
16
16
  import { CABQuantitySection } from './quantity';
17
17
  import { CABReviewsSection } from './reviews';
18
18
  import { type CABRootSection } from './root';
19
+ import { CABSeparatorSection } from './separator';
19
20
  import { CABTextSection } from './text';
20
21
  import { CABVariantsSection } from './variants';
21
22
  export declare const CABBorder: z.ZodDefault<z.ZodObject<{
@@ -40,7 +41,7 @@ export declare const CABBorder: z.ZodDefault<z.ZodObject<{
40
41
  }, z.core.$strip>>;
41
42
  export type CABBorder = z.infer<typeof CABBorder>;
42
43
  export declare const CABSection: ZodType<CABSection>;
43
- export type CABSection = CABBannerSection | CABButtonSection | CABCarouselSection | CABCartLineSection | CABDataSourceSection | CABDiscountSection | CABImageSection | CABLayoutSection | CABMonetizeSection | CABOffersSection | CABProductSection | CABProductsSection | CABProgressBarSection | CABQuantitySection | CABReviewsSection | CABTextSection | CABVariantsSection;
44
+ export type CABSection = CABBannerSection | CABButtonSection | CABCarouselSection | CABCartLineSection | CABDataSourceSection | CABDiscountSection | CABImageSection | CABLayoutSection | CABMonetizeSection | CABOffersSection | CABProductSection | CABProductsSection | CABProgressBarSection | CABQuantitySection | CABReviewsSection | CABSeparatorSection | CABTextSection | CABVariantsSection;
44
45
  export type SectionId = CABSection['sectionId'];
45
46
  /**
46
47
  * MUST stay react-hook-form's own `FieldArrayPath` alias, not a copy: admin-nextjs feeds these
@@ -157,6 +157,10 @@ export declare const ContentBlock: z.ZodDiscriminatedUnion<[z.ZodObject<{
157
157
  rows: "rows";
158
158
  grid: "grid";
159
159
  }>>;
160
+ frame: z.ZodOptional<z.ZodEnum<{
161
+ callout: "callout";
162
+ "offer-content": "offer-content";
163
+ }>>;
160
164
  grid: z.ZodOptional<z.ZodDefault<z.ZodObject<{
161
165
  columns: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>, z.ZodUndefined]>>;
162
166
  rows: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>, z.ZodUndefined]>>;
@@ -183,6 +187,10 @@ export declare const ContentBlock: z.ZodDiscriminatedUnion<[z.ZodObject<{
183
187
  }>>;
184
188
  viewUrl: z.ZodOptional<z.ZodString>;
185
189
  width: z.ZodDefault<z.ZodNumber>;
190
+ wrapping: z.ZodOptional<z.ZodObject<{
191
+ breakAt: z.ZodNumber;
192
+ maxPerLine: z.ZodNumber;
193
+ }, z.core.$strip>>;
186
194
  mutators: z.ZodOptional<z.ZodArray<z.ZodObject<{
187
195
  effect: z.ZodDefault<z.ZodEnum<{
188
196
  set_false: "set_false";
@@ -122,6 +122,10 @@ export declare const LineItemEditor: z.ZodDiscriminatedUnion<[z.ZodObject<{
122
122
  rows: "rows";
123
123
  grid: "grid";
124
124
  }>>;
125
+ frame: z.ZodOptional<z.ZodEnum<{
126
+ callout: "callout";
127
+ "offer-content": "offer-content";
128
+ }>>;
125
129
  grid: z.ZodOptional<z.ZodDefault<z.ZodObject<{
126
130
  columns: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>, z.ZodUndefined]>>;
127
131
  rows: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>, z.ZodUndefined]>>;
@@ -148,6 +152,10 @@ export declare const LineItemEditor: z.ZodDiscriminatedUnion<[z.ZodObject<{
148
152
  }>>;
149
153
  viewUrl: z.ZodOptional<z.ZodString>;
150
154
  width: z.ZodDefault<z.ZodNumber>;
155
+ wrapping: z.ZodOptional<z.ZodObject<{
156
+ breakAt: z.ZodNumber;
157
+ maxPerLine: z.ZodNumber;
158
+ }, z.core.$strip>>;
151
159
  mutators: z.ZodOptional<z.ZodArray<z.ZodObject<{
152
160
  effect: z.ZodDefault<z.ZodEnum<{
153
161
  set_false: "set_false";
@@ -2,22 +2,22 @@ import { z } from 'zod';
2
2
  export declare const blockTypes: readonly ["callout_banner", "image", "image_content", "pay_button", "product_information", "separator", "text", "timer"];
3
3
  declare const blockType: z.ZodEnum<{
4
4
  image: "image";
5
+ separator: "separator";
5
6
  text: "text";
6
7
  callout_banner: "callout_banner";
7
8
  image_content: "image_content";
8
9
  pay_button: "pay_button";
9
10
  product_information: "product_information";
10
- separator: "separator";
11
11
  timer: "timer";
12
12
  }>;
13
13
  export declare const BlockType: {
14
14
  image: "image";
15
+ separator: "separator";
15
16
  text: "text";
16
17
  callout_banner: "callout_banner";
17
18
  image_content: "image_content";
18
19
  pay_button: "pay_button";
19
20
  product_information: "product_information";
20
- separator: "separator";
21
21
  timer: "timer";
22
22
  };
23
23
  export type BlockType = z.infer<typeof blockType>;
@@ -69,6 +69,10 @@ export declare const RebuyButton: z.ZodDiscriminatedUnion<[z.ZodObject<{
69
69
  rows: "rows";
70
70
  grid: "grid";
71
71
  }>>;
72
+ frame: z.ZodOptional<z.ZodEnum<{
73
+ callout: "callout";
74
+ "offer-content": "offer-content";
75
+ }>>;
72
76
  grid: z.ZodOptional<z.ZodDefault<z.ZodObject<{
73
77
  columns: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>, z.ZodUndefined]>>;
74
78
  rows: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>, z.ZodUndefined]>>;
@@ -95,6 +99,10 @@ export declare const RebuyButton: z.ZodDiscriminatedUnion<[z.ZodObject<{
95
99
  }>>;
96
100
  viewUrl: z.ZodOptional<z.ZodString>;
97
101
  width: z.ZodDefault<z.ZodNumber>;
102
+ wrapping: z.ZodOptional<z.ZodObject<{
103
+ breakAt: z.ZodNumber;
104
+ maxPerLine: z.ZodNumber;
105
+ }, z.core.$strip>>;
98
106
  mutators: z.ZodOptional<z.ZodArray<z.ZodObject<{
99
107
  effect: z.ZodDefault<z.ZodEnum<{
100
108
  set_false: "set_false";