@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.
- package/dist/index.js +60 -51
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +60 -51
- package/dist/index.mjs.map +2 -2
- package/dist/schema/metadata.d.ts +2 -2
- package/dist/schema/metadata.d.ts.map +1 -1
- package/dist/schema/product.d.ts +15 -15
- package/dist/schema/product.d.ts.map +1 -1
- package/dist/schema/widgetData.d.ts +50 -0
- package/dist/schema/widgetData.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/button.d.ts +9 -242
- package/dist/schema/widgets/checkout-and-beyond/button.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/common.d.ts +11 -3
- package/dist/schema/widgets/checkout-and-beyond/common.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/image.d.ts +1 -0
- package/dist/schema/widgets/checkout-and-beyond/image.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/layout.d.ts +29 -1
- package/dist/schema/widgets/checkout-and-beyond/layout.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/offers.d.ts +25 -0
- package/dist/schema/widgets/checkout-and-beyond/offers.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/product.d.ts +2 -0
- package/dist/schema/widgets/checkout-and-beyond/product.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/products.d.ts +2 -0
- package/dist/schema/widgets/checkout-and-beyond/products.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/regex.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/root.d.ts +25 -0
- package/dist/schema/widgets/checkout-and-beyond/root.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/text.d.ts +1 -0
- package/dist/schema/widgets/checkout-and-beyond/text.d.ts.map +1 -1
- package/dist/schema/widgets/contentBlock.d.ts +25 -0
- package/dist/schema/widgets/contentBlock.d.ts.map +1 -1
- package/dist/schema/widgets/rebuyButton.d.ts +25 -0
- package/dist/schema/widgets/rebuyButton.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,31 @@ import { CABSection, type SectionDetails } from './shared';
|
|
|
4
4
|
export declare const CABOffersSection: z.ZodLazy<z.ZodObject<{
|
|
5
5
|
name: z.ZodOptional<z.ZodString>;
|
|
6
6
|
width: z.ZodDefault<z.ZodNumber>;
|
|
7
|
+
grid: z.ZodOptional<z.ZodObject<{
|
|
8
|
+
columns: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>;
|
|
9
|
+
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
7
11
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
12
|
+
buttonField: z.ZodOptional<z.ZodEnum<{
|
|
13
|
+
declineAllOffers: "declineAllOffers";
|
|
14
|
+
declineOffer: "declineOffer";
|
|
15
|
+
removeFromCart: "removeFromCart";
|
|
16
|
+
showVariants: "showVariants";
|
|
17
|
+
addedToCart: "addedToCart";
|
|
18
|
+
addingToCart: "addingToCart";
|
|
19
|
+
addToCart: "addToCart";
|
|
20
|
+
buttonLabel: "buttonLabel";
|
|
21
|
+
destinationUrl: "destinationUrl";
|
|
22
|
+
overlayContent: "overlayContent";
|
|
23
|
+
payNow: "payNow";
|
|
24
|
+
showVariant: "showVariant";
|
|
25
|
+
soldOut: "soldOut";
|
|
26
|
+
switchToOneTimeAction: "switchToOneTimeAction";
|
|
27
|
+
switchToOneTimePurchase: "switchToOneTimePurchase";
|
|
28
|
+
switchToSubscriptionAction: "switchToSubscriptionAction";
|
|
29
|
+
switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
|
|
30
|
+
switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
|
|
31
|
+
}>>;
|
|
8
32
|
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
9
33
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
10
34
|
small: "small";
|
|
@@ -40,6 +64,7 @@ export declare const CABOffersSection: z.ZodLazy<z.ZodObject<{
|
|
|
40
64
|
direction: z.ZodDefault<z.ZodEnum<{
|
|
41
65
|
columns: "columns";
|
|
42
66
|
rows: "rows";
|
|
67
|
+
grid: "grid";
|
|
43
68
|
}>>;
|
|
44
69
|
padding: z.ZodDefault<z.ZodEnum<{
|
|
45
70
|
none: "none";
|
|
@@ -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
|
|
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
|
|
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
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"regex.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/regex.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,eAAO,MAAM,kBAAkB,QAAmB,CAAC;AAEnD,+BAA+B;AAC/B,eAAO,MAAM,mBAAmB,QAA8B,CAAC;AAE/D,sCAAsC;AACtC,eAAO,MAAM,eAAe,QAAuC,CAAC;AAEpE,6BAA6B;AAC7B,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"regex.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/regex.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,eAAO,MAAM,kBAAkB,QAAmB,CAAC;AAEnD,+BAA+B;AAC/B,eAAO,MAAM,mBAAmB,QAA8B,CAAC;AAE/D,sCAAsC;AACtC,eAAO,MAAM,eAAe,QAAuC,CAAC;AAEpE,6BAA6B;AAC7B,eAAO,MAAM,eAAe,QAAgB,CAAC"}
|
|
@@ -42,10 +42,35 @@ 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";
|
|
68
|
+
grid: "grid";
|
|
48
69
|
}>>;
|
|
70
|
+
grid: z.ZodOptional<z.ZodObject<{
|
|
71
|
+
columns: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>;
|
|
72
|
+
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>;
|
|
73
|
+
}, z.core.$strip>>;
|
|
49
74
|
name: z.ZodOptional<z.ZodString>;
|
|
50
75
|
padding: z.ZodDefault<z.ZodEnum<{
|
|
51
76
|
none: "none";
|
|
@@ -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
|
|
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
|
|
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"}
|
|
@@ -127,10 +127,35 @@ 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";
|
|
153
|
+
grid: "grid";
|
|
133
154
|
}>>;
|
|
155
|
+
grid: z.ZodOptional<z.ZodObject<{
|
|
156
|
+
columns: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>;
|
|
157
|
+
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>;
|
|
158
|
+
}, z.core.$strip>>;
|
|
134
159
|
name: z.ZodOptional<z.ZodString>;
|
|
135
160
|
padding: z.ZodDefault<z.ZodEnum<{
|
|
136
161
|
none: "none";
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4BzB,CAAC;AAEH,eAAO,MAAM,YAAY
|
|
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,10 +39,35 @@ 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";
|
|
65
|
+
grid: "grid";
|
|
45
66
|
}>>;
|
|
67
|
+
grid: z.ZodOptional<z.ZodObject<{
|
|
68
|
+
columns: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>;
|
|
69
|
+
rows: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>;
|
|
70
|
+
}, z.core.$strip>>;
|
|
46
71
|
name: z.ZodOptional<z.ZodString>;
|
|
47
72
|
padding: z.ZodDefault<z.ZodEnum<{
|
|
48
73
|
none: "none";
|
|
@@ -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
|
|
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"}
|