@rebuy/rebuy 2.6.0-rc.1 → 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 (33) hide show
  1. package/dist/index.js +17 -5
  2. package/dist/index.js.map +2 -2
  3. package/dist/index.mjs +17 -5
  4. package/dist/index.mjs.map +2 -2
  5. package/dist/schema/shopConfig.d.ts +1 -1
  6. package/dist/schema/userConfig.d.ts +1 -1
  7. package/dist/schema/widgetData.d.ts +48 -8
  8. package/dist/schema/widgetData.d.ts.map +1 -1
  9. package/dist/schema/widgets/checkout-and-beyond/button.d.ts +9 -242
  10. package/dist/schema/widgets/checkout-and-beyond/button.d.ts.map +1 -1
  11. package/dist/schema/widgets/checkout-and-beyond/common.d.ts +22 -4
  12. package/dist/schema/widgets/checkout-and-beyond/common.d.ts.map +1 -1
  13. package/dist/schema/widgets/checkout-and-beyond/dataSource.d.ts +5 -0
  14. package/dist/schema/widgets/checkout-and-beyond/dataSource.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 +22 -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 +20 -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/root.d.ts +21 -1
  26. package/dist/schema/widgets/checkout-and-beyond/root.d.ts.map +1 -1
  27. package/dist/schema/widgets/checkout-and-beyond/text.d.ts +1 -0
  28. package/dist/schema/widgets/checkout-and-beyond/text.d.ts.map +1 -1
  29. package/dist/schema/widgets/contentBlock.d.ts +33 -13
  30. package/dist/schema/widgets/contentBlock.d.ts.map +1 -1
  31. package/dist/schema/widgets/rebuyButton.d.ts +21 -1
  32. package/dist/schema/widgets/rebuyButton.d.ts.map +1 -1
  33. package/package.json +1 -1
@@ -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";
@@ -80,9 +100,9 @@ export declare const CABRootSection: z.ZodObject<{
80
100
  targetArea: z.ZodNullable<z.ZodDefault<z.ZodObject<{
81
101
  fill: z.ZodOptional<z.ZodBoolean>;
82
102
  flip: z.ZodOptional<z.ZodEnum<{
103
+ both: "both";
83
104
  horizontal: "horizontal";
84
105
  vertical: "vertical";
85
- both: "both";
86
106
  }>>;
87
107
  icon: z.ZodString;
88
108
  label: z.ZodString;
@@ -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,MAAM,MAAM,UAAU,GAAG;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
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,MAAM,MAAM,UAAU,GAAG;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA6BrB,CAAC;AAEP,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG,cAAc,CAAC"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA6BrB,CAAC;AAEP,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG,cAAc,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import { z } from 'zod/v4';
2
2
  export declare const ContentBlockV1: z.ZodObject<{
3
- blockSpacing: z.ZodEnum<{
3
+ blockSpacing: z.ZodOptional<z.ZodEnum<{
4
4
  none: "none";
5
5
  base: "base";
6
6
  extraTight: "extraTight";
7
7
  tight: "tight";
8
8
  loose: "loose";
9
9
  extraLoose: "extraLoose";
10
- }>;
11
- imageBlocks: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
10
+ }>>;
11
+ imageBlocks: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
12
12
  altText: z.ZodNullable<z.ZodString>;
13
13
  description: z.ZodNullable<z.ZodString>;
14
14
  id: z.ZodUUID;
@@ -33,11 +33,11 @@ export declare const ContentBlockV1: z.ZodObject<{
33
33
  extraSmall: "extraSmall";
34
34
  extraLarge: "extraLarge";
35
35
  }>;
36
- }, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>;
37
- imageLayout: z.ZodEnum<{
36
+ }, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
37
+ imageLayout: z.ZodOptional<z.ZodEnum<{
38
38
  row: "row";
39
39
  column: "column";
40
- }>;
40
+ }>>;
41
41
  language: z.ZodObject<{
42
42
  description: z.ZodString;
43
43
  superTitle: z.ZodString;
@@ -48,15 +48,15 @@ export declare const ContentBlockV1: z.ZodObject<{
48
48
  version: z.ZodLiteral<1>;
49
49
  }, z.core.$strip>;
50
50
  export declare const ContentBlock: z.ZodDiscriminatedUnion<[z.ZodObject<{
51
- blockSpacing: z.ZodEnum<{
51
+ blockSpacing: z.ZodOptional<z.ZodEnum<{
52
52
  none: "none";
53
53
  base: "base";
54
54
  extraTight: "extraTight";
55
55
  tight: "tight";
56
56
  loose: "loose";
57
57
  extraLoose: "extraLoose";
58
- }>;
59
- imageBlocks: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
58
+ }>>;
59
+ imageBlocks: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
60
60
  altText: z.ZodNullable<z.ZodString>;
61
61
  description: z.ZodNullable<z.ZodString>;
62
62
  id: z.ZodUUID;
@@ -81,11 +81,11 @@ export declare const ContentBlock: z.ZodDiscriminatedUnion<[z.ZodObject<{
81
81
  extraSmall: "extraSmall";
82
82
  extraLarge: "extraLarge";
83
83
  }>;
84
- }, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>;
85
- imageLayout: z.ZodEnum<{
84
+ }, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
85
+ imageLayout: z.ZodOptional<z.ZodEnum<{
86
86
  row: "row";
87
87
  column: "column";
88
- }>;
88
+ }>>;
89
89
  language: z.ZodObject<{
90
90
  description: z.ZodString;
91
91
  superTitle: z.ZodString;
@@ -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";
@@ -165,9 +185,9 @@ export declare const ContentBlock: z.ZodDiscriminatedUnion<[z.ZodObject<{
165
185
  targetArea: z.ZodNullable<z.ZodDefault<z.ZodObject<{
166
186
  fill: z.ZodOptional<z.ZodBoolean>;
167
187
  flip: z.ZodOptional<z.ZodEnum<{
188
+ both: "both";
168
189
  horizontal: "horizontal";
169
190
  vertical: "vertical";
170
- both: "both";
171
191
  }>>;
172
192
  icon: z.ZodString;
173
193
  label: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"contentBlock.d.ts","sourceRoot":"","sources":["../../../src/schema/widgets/contentBlock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAM3B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0BzB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAKvB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"contentBlock.d.ts","sourceRoot":"","sources":["../../../src/schema/widgets/contentBlock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAM3B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4BzB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAKvB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -39,6 +39,26 @@ export declare const RebuyButton: z.ZodDiscriminatedUnion<[z.ZodObject<{
39
39
  thick: "thick";
40
40
  }>>;
41
41
  }, z.core.$strip>>>;
42
+ buttonField: z.ZodOptional<z.ZodEnum<{
43
+ declineAllOffers: "declineAllOffers";
44
+ declineOffer: "declineOffer";
45
+ removeFromCart: "removeFromCart";
46
+ showVariants: "showVariants";
47
+ addedToCart: "addedToCart";
48
+ addingToCart: "addingToCart";
49
+ addToCart: "addToCart";
50
+ buttonLabel: "buttonLabel";
51
+ destinationUrl: "destinationUrl";
52
+ overlayContent: "overlayContent";
53
+ payNow: "payNow";
54
+ showVariant: "showVariant";
55
+ soldOut: "soldOut";
56
+ switchToOneTimeAction: "switchToOneTimeAction";
57
+ switchToOneTimePurchase: "switchToOneTimePurchase";
58
+ switchToSubscriptionAction: "switchToSubscriptionAction";
59
+ switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
60
+ switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
61
+ }>>;
42
62
  direction: z.ZodDefault<z.ZodEnum<{
43
63
  columns: "columns";
44
64
  rows: "rows";
@@ -77,9 +97,9 @@ export declare const RebuyButton: z.ZodDiscriminatedUnion<[z.ZodObject<{
77
97
  targetArea: z.ZodNullable<z.ZodDefault<z.ZodObject<{
78
98
  fill: z.ZodOptional<z.ZodBoolean>;
79
99
  flip: z.ZodOptional<z.ZodEnum<{
100
+ both: "both";
80
101
  horizontal: "horizontal";
81
102
  vertical: "vertical";
82
- both: "both";
83
103
  }>>;
84
104
  icon: z.ZodString;
85
105
  label: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"rebuyButton.d.ts","sourceRoot":"","sources":["../../../src/schema/widgets/rebuyButton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAK3B,eAAO,MAAM,aAAa;;;iBAGxB,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAKtB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
1
+ {"version":3,"file":"rebuyButton.d.ts","sourceRoot":"","sources":["../../../src/schema/widgets/rebuyButton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAK3B,eAAO,MAAM,aAAa;;;iBAGxB,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAKtB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rebuy/rebuy",
3
3
  "description": "This is the default library for Rebuy",
4
- "version": "2.6.0-rc.1",
4
+ "version": "2.6.0",
5
5
  "license": "MIT",
6
6
  "author": "Rebuy, Inc.",
7
7
  "type": "module",