@wix/auto_sdk_ecom_checkout-settings 1.0.74 → 1.0.76
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/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +2 -2
- package/package.json +4 -11
- package/build/cjs/schemas.d.ts +0 -410
- package/build/cjs/schemas.js +0 -649
- package/build/cjs/schemas.js.map +0 -1
- package/build/es/schemas.d.mts +0 -410
- package/build/es/schemas.mjs +0 -609
- package/build/es/schemas.mjs.map +0 -1
- package/build/internal/cjs/schemas.d.ts +0 -410
- package/build/internal/es/schemas.d.mts +0 -410
- package/schemas/package.json +0 -3
package/build/es/schemas.mjs
DELETED
|
@@ -1,609 +0,0 @@
|
|
|
1
|
-
// src/ecom-v1-checkout-settings-checkout-settings.schemas.ts
|
|
2
|
-
import * as z from "zod";
|
|
3
|
-
var GetCheckoutSettingsRequest = /* @__PURE__ */ z.object({});
|
|
4
|
-
var GetCheckoutSettingsResponse = /* @__PURE__ */ z.object({
|
|
5
|
-
checkoutSettings: /* @__PURE__ */ z.object({
|
|
6
|
-
checkoutPolicies: /* @__PURE__ */ z.object({
|
|
7
|
-
termsAndConditions: /* @__PURE__ */ z.object({
|
|
8
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
9
|
-
"Whether the terms and conditions policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
10
|
-
).optional().nullable(),
|
|
11
|
-
content: /* @__PURE__ */ z.string().describe("Terms and conditions policy content.").optional().nullable()
|
|
12
|
-
}).describe("Terms and conditions.").optional(),
|
|
13
|
-
privacyPolicy: /* @__PURE__ */ z.object({
|
|
14
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
15
|
-
"Whether the privacy policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
16
|
-
).optional().nullable(),
|
|
17
|
-
content: /* @__PURE__ */ z.string().describe("Privacy policy content.").optional().nullable()
|
|
18
|
-
}).describe("Privacy policy.").optional(),
|
|
19
|
-
returnPolicy: /* @__PURE__ */ z.object({
|
|
20
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
21
|
-
"Whether the return policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
22
|
-
).optional().nullable(),
|
|
23
|
-
content: /* @__PURE__ */ z.string().describe("Return policy content.").optional().nullable()
|
|
24
|
-
}).describe("Return policy.").optional(),
|
|
25
|
-
digitalItemPolicy: /* @__PURE__ */ z.object({
|
|
26
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
27
|
-
"Whether the digital item policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
28
|
-
).optional().nullable(),
|
|
29
|
-
content: /* @__PURE__ */ z.string().describe("Digital item policy content.").optional().nullable()
|
|
30
|
-
}).describe("Digital item policy.").optional(),
|
|
31
|
-
contactUs: /* @__PURE__ */ z.object({
|
|
32
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
33
|
-
"Whether the contact us policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
34
|
-
).optional().nullable(),
|
|
35
|
-
content: /* @__PURE__ */ z.string().describe("Contact us policy content.").optional().nullable()
|
|
36
|
-
}).describe('"Contact us" information.').optional(),
|
|
37
|
-
customPolicy: /* @__PURE__ */ z.object({
|
|
38
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
39
|
-
"Whether the custom policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
40
|
-
).optional().nullable(),
|
|
41
|
-
content: /* @__PURE__ */ z.string().describe("Custom policy content.").optional().nullable(),
|
|
42
|
-
title: /* @__PURE__ */ z.string().describe("Custom policy title.").optional().nullable()
|
|
43
|
-
}).describe("Custom policy.").optional()
|
|
44
|
-
}).describe("Checkout policies.").optional(),
|
|
45
|
-
checkoutFields: /* @__PURE__ */ z.object({
|
|
46
|
-
subscriptionCheckbox: /* @__PURE__ */ z.object({
|
|
47
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
48
|
-
"Whether the checkbox is visible to the customer.\n\nDefault: `false`"
|
|
49
|
-
).optional().nullable(),
|
|
50
|
-
checkedByDefault: /* @__PURE__ */ z.boolean().describe(
|
|
51
|
-
"Whether the checkbox is checked by default.\n\nDefault: `false`"
|
|
52
|
-
).optional().nullable(),
|
|
53
|
-
splitByChannel: /* @__PURE__ */ z.boolean().describe(
|
|
54
|
-
"Whether checkout shows two separate opt-in checkboxes for email and SMS\ninstead of a single combined checkbox. Only takes effect when `visible` is `true`.\nBoth checkboxes are always shown together - a buyer can't be shown just one channel.\n`checkedByDefault` applies to both checkboxes equally: when `true`, both start pre-checked.\n\nDefault: `false`"
|
|
55
|
-
).optional().nullable()
|
|
56
|
-
}).describe(
|
|
57
|
-
"Subscription checkbox. <br><br>\n\nControls the marketing consent checkbox shown to the buyer at checkout. By default, a single\ncheckbox lets the buyer opt in to both email and SMS marketing at once. When\n`subscriptionCheckbox.splitByChannel` is `true`, checkout instead shows two separate\ncheckboxes - one for email, one for SMS - so the buyer can opt into each channel independently."
|
|
58
|
-
).optional(),
|
|
59
|
-
policyAgreementCheckbox: /* @__PURE__ */ z.object({
|
|
60
|
-
visible: /* @__PURE__ */ z.boolean().describe("Whether the checkbox is visible to the customer.").optional().nullable(),
|
|
61
|
-
checkedByDefault: /* @__PURE__ */ z.boolean().describe("Whether the checkbox is checked by default.").optional().nullable()
|
|
62
|
-
}).describe(
|
|
63
|
-
"Policy agreement checkbox. <br><br>\n\nDefaults:\n+ `visible`: `false`\n+ `checkedByDefault`: `false`"
|
|
64
|
-
).optional(),
|
|
65
|
-
giftCardRedeemEnabled: /* @__PURE__ */ z.boolean().describe(
|
|
66
|
-
"Whether the ability to redeem a gift card is enabled. <br><br>\n\nDefault: `false`"
|
|
67
|
-
).optional().nullable(),
|
|
68
|
-
mitEnabled: /* @__PURE__ */ z.boolean().describe(
|
|
69
|
-
"Whether to allow for MIT transactions. <br><br>\n\nDefault: `false`"
|
|
70
|
-
).optional().nullable(),
|
|
71
|
-
delayCaptureEnabled: /* @__PURE__ */ z.boolean().describe(
|
|
72
|
-
"Whether to allow for Auth & Capture transactions. <br><br>\n\nDefault: `false`"
|
|
73
|
-
).optional().nullable(),
|
|
74
|
-
captureBeforeExpiryEnabled: /* @__PURE__ */ z.boolean().describe(
|
|
75
|
-
"Whether to automatically capture the transaction before the authorization expires.\n\nDefault: `true`\n>**Note:** this setting is only relevant when `delay_capture_enabled: true`."
|
|
76
|
-
).optional().nullable()
|
|
77
|
-
}).describe(
|
|
78
|
-
"Settings that apply to checkout fields and the checkout process."
|
|
79
|
-
).optional(),
|
|
80
|
-
checkoutBrand: /* @__PURE__ */ z.object({
|
|
81
|
-
header: /* @__PURE__ */ z.object({
|
|
82
|
-
text: /* @__PURE__ */ z.string().describe(
|
|
83
|
-
"Textual content to be included in the header (e.g. Business Name)"
|
|
84
|
-
).max(55).optional().nullable(),
|
|
85
|
-
textColor: /* @__PURE__ */ z.string().describe("Text color hex code.").optional().nullable(),
|
|
86
|
-
logo: /* @__PURE__ */ z.object({
|
|
87
|
-
size: /* @__PURE__ */ z.enum(["SMALL", "MEDIUM", "LARGE"]).describe("Size of the logo.").optional()
|
|
88
|
-
}).describe(
|
|
89
|
-
"Specifications for when a logo is included in the header."
|
|
90
|
-
).optional(),
|
|
91
|
-
alignment: /* @__PURE__ */ z.enum(["SIDE", "CENTER"]).describe(
|
|
92
|
-
"Alignment within the header.\n\n>**Note:** `SIDE` alignment is decided depending on the locale's language. For example, scripts like Hebrew and Arabic will automatically align right-to-left."
|
|
93
|
-
).optional(),
|
|
94
|
-
displayCheckoutLabel: /* @__PURE__ */ z.boolean().describe(
|
|
95
|
-
"Whether to display the 'Checkout' label within the header.\nDepending on the locale, the label may be translated."
|
|
96
|
-
).optional().nullable(),
|
|
97
|
-
continueShopping: /* @__PURE__ */ z.object({
|
|
98
|
-
hidden: /* @__PURE__ */ z.boolean().describe(
|
|
99
|
-
"Whether the continue shopping element is hidden."
|
|
100
|
-
).optional().nullable(),
|
|
101
|
-
displayType: /* @__PURE__ */ z.enum(["TEXT", "ICON"]).describe("Display type for the continue shopping element.").optional()
|
|
102
|
-
}).describe("Continue shopping specifications.").optional(),
|
|
103
|
-
backgroundFill: /* @__PURE__ */ z.intersection(
|
|
104
|
-
/* @__PURE__ */ z.object({}),
|
|
105
|
-
/* @__PURE__ */ z.xor([
|
|
106
|
-
/* @__PURE__ */ z.object({
|
|
107
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
108
|
-
image: /* @__PURE__ */ z.never().optional()
|
|
109
|
-
}),
|
|
110
|
-
/* @__PURE__ */ z.object({
|
|
111
|
-
image: /* @__PURE__ */ z.never().optional(),
|
|
112
|
-
color: /* @__PURE__ */ z.string().describe("Background color hex code.")
|
|
113
|
-
}),
|
|
114
|
-
/* @__PURE__ */ z.object({
|
|
115
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
116
|
-
image: /* @__PURE__ */ z.string().describe("Background image.")
|
|
117
|
-
})
|
|
118
|
-
])
|
|
119
|
-
).describe("Background fill specifications.").optional(),
|
|
120
|
-
dividerColor: /* @__PURE__ */ z.string().describe(
|
|
121
|
-
"Color hex code of the full-width divider rule below the header."
|
|
122
|
-
).optional().nullable()
|
|
123
|
-
}).describe("Checkout header.").optional(),
|
|
124
|
-
mainSection: /* @__PURE__ */ z.object({
|
|
125
|
-
formBackgroundFill: /* @__PURE__ */ z.intersection(
|
|
126
|
-
/* @__PURE__ */ z.object({}),
|
|
127
|
-
/* @__PURE__ */ z.xor([
|
|
128
|
-
/* @__PURE__ */ z.object({
|
|
129
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
130
|
-
image: /* @__PURE__ */ z.never().optional()
|
|
131
|
-
}),
|
|
132
|
-
/* @__PURE__ */ z.object({
|
|
133
|
-
image: /* @__PURE__ */ z.never().optional(),
|
|
134
|
-
color: /* @__PURE__ */ z.string().describe("Background color hex code.")
|
|
135
|
-
}),
|
|
136
|
-
/* @__PURE__ */ z.object({
|
|
137
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
138
|
-
image: /* @__PURE__ */ z.string().describe("Background image.")
|
|
139
|
-
})
|
|
140
|
-
])
|
|
141
|
-
).describe("Background fill of the checkout form.").optional(),
|
|
142
|
-
summaryBackgroundFill: /* @__PURE__ */ z.intersection(
|
|
143
|
-
/* @__PURE__ */ z.object({}),
|
|
144
|
-
/* @__PURE__ */ z.xor([
|
|
145
|
-
/* @__PURE__ */ z.object({
|
|
146
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
147
|
-
image: /* @__PURE__ */ z.never().optional()
|
|
148
|
-
}),
|
|
149
|
-
/* @__PURE__ */ z.object({
|
|
150
|
-
image: /* @__PURE__ */ z.never().optional(),
|
|
151
|
-
color: /* @__PURE__ */ z.string().describe("Background color hex code.")
|
|
152
|
-
}),
|
|
153
|
-
/* @__PURE__ */ z.object({
|
|
154
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
155
|
-
image: /* @__PURE__ */ z.string().describe("Background image.")
|
|
156
|
-
})
|
|
157
|
-
])
|
|
158
|
-
).describe("Background fill of the checkout summary.").optional(),
|
|
159
|
-
dividerColor: /* @__PURE__ */ z.string().describe("Color hex code of the dividers.").optional().nullable(),
|
|
160
|
-
tintedBoxColor: /* @__PURE__ */ z.string().describe(
|
|
161
|
-
"Color hex code of the tinted boxes (e.g. show-summary box). Stored and applied solid (no opacity)."
|
|
162
|
-
).optional().nullable(),
|
|
163
|
-
expressButtonsCornerRadius: /* @__PURE__ */ z.enum(["RECTANGLE", "PILL"]).describe(
|
|
164
|
-
"Corner radius style applied to the express checkout buttons."
|
|
165
|
-
).optional(),
|
|
166
|
-
cornerRadius: /* @__PURE__ */ z.number().int().describe(
|
|
167
|
-
"Corner radius applied everywhere except the express checkout buttons \u2014 line-item images and form-field inputs."
|
|
168
|
-
).min(0).max(100).optional().nullable()
|
|
169
|
-
}).describe("Main checkout area branding.").optional(),
|
|
170
|
-
footer: /* @__PURE__ */ z.object({
|
|
171
|
-
backgroundFill: /* @__PURE__ */ z.intersection(
|
|
172
|
-
/* @__PURE__ */ z.object({}),
|
|
173
|
-
/* @__PURE__ */ z.xor([
|
|
174
|
-
/* @__PURE__ */ z.object({
|
|
175
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
176
|
-
image: /* @__PURE__ */ z.never().optional()
|
|
177
|
-
}),
|
|
178
|
-
/* @__PURE__ */ z.object({
|
|
179
|
-
image: /* @__PURE__ */ z.never().optional(),
|
|
180
|
-
color: /* @__PURE__ */ z.string().describe("Background color hex code.")
|
|
181
|
-
}),
|
|
182
|
-
/* @__PURE__ */ z.object({
|
|
183
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
184
|
-
image: /* @__PURE__ */ z.string().describe("Background image.")
|
|
185
|
-
})
|
|
186
|
-
])
|
|
187
|
-
).describe("Background fill of the footer.").optional(),
|
|
188
|
-
dividerColor: /* @__PURE__ */ z.string().describe(
|
|
189
|
-
"Color hex code of the full-width divider rule above the footer."
|
|
190
|
-
).optional().nullable()
|
|
191
|
-
}).describe("Checkout footer branding.").optional(),
|
|
192
|
-
global: /* @__PURE__ */ z.object({
|
|
193
|
-
selectionColor: /* @__PURE__ */ z.string().describe(
|
|
194
|
-
"Color hex code of selection controls (radios/checkboxes)."
|
|
195
|
-
).optional().nullable(),
|
|
196
|
-
placeOrderButtonColor: /* @__PURE__ */ z.string().describe("Color hex code of the place order button.").optional().nullable(),
|
|
197
|
-
buttonColor: /* @__PURE__ */ z.string().describe("Color hex code of the buttons.").optional().nullable()
|
|
198
|
-
}).describe("Global checkout branding.").optional()
|
|
199
|
-
}).describe("Checkout brand settings.").optional(),
|
|
200
|
-
_createdDate: /* @__PURE__ */ z.date().describe("Date and time the checkout settings were created.").optional().nullable(),
|
|
201
|
-
_updatedDate: /* @__PURE__ */ z.date().describe("Date and time the checkout settings were updated.").optional().nullable(),
|
|
202
|
-
checkoutBillingFields: /* @__PURE__ */ z.enum(["All_FIELDS", "MINIMUM_REQUIRED_FIELDS"]).describe("Billing information required to complete the checkout.").optional()
|
|
203
|
-
}).describe("Checkout settings.").optional()
|
|
204
|
-
});
|
|
205
|
-
var UpdateCheckoutSettingsRequest = /* @__PURE__ */ z.object({
|
|
206
|
-
checkoutSettings: /* @__PURE__ */ z.object({
|
|
207
|
-
checkoutPolicies: /* @__PURE__ */ z.object({
|
|
208
|
-
termsAndConditions: /* @__PURE__ */ z.object({
|
|
209
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
210
|
-
"Whether the terms and conditions policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
211
|
-
).optional().nullable(),
|
|
212
|
-
content: /* @__PURE__ */ z.string().describe("Terms and conditions policy content.").optional().nullable()
|
|
213
|
-
}).describe("Terms and conditions.").optional(),
|
|
214
|
-
privacyPolicy: /* @__PURE__ */ z.object({
|
|
215
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
216
|
-
"Whether the privacy policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
217
|
-
).optional().nullable(),
|
|
218
|
-
content: /* @__PURE__ */ z.string().describe("Privacy policy content.").optional().nullable()
|
|
219
|
-
}).describe("Privacy policy.").optional(),
|
|
220
|
-
returnPolicy: /* @__PURE__ */ z.object({
|
|
221
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
222
|
-
"Whether the return policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
223
|
-
).optional().nullable(),
|
|
224
|
-
content: /* @__PURE__ */ z.string().describe("Return policy content.").optional().nullable()
|
|
225
|
-
}).describe("Return policy.").optional(),
|
|
226
|
-
digitalItemPolicy: /* @__PURE__ */ z.object({
|
|
227
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
228
|
-
"Whether the digital item policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
229
|
-
).optional().nullable(),
|
|
230
|
-
content: /* @__PURE__ */ z.string().describe("Digital item policy content.").optional().nullable()
|
|
231
|
-
}).describe("Digital item policy.").optional(),
|
|
232
|
-
contactUs: /* @__PURE__ */ z.object({
|
|
233
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
234
|
-
"Whether the contact us policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
235
|
-
).optional().nullable(),
|
|
236
|
-
content: /* @__PURE__ */ z.string().describe("Contact us policy content.").optional().nullable()
|
|
237
|
-
}).describe('"Contact us" information.').optional(),
|
|
238
|
-
customPolicy: /* @__PURE__ */ z.object({
|
|
239
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
240
|
-
"Whether the custom policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
241
|
-
).optional().nullable(),
|
|
242
|
-
content: /* @__PURE__ */ z.string().describe("Custom policy content.").optional().nullable(),
|
|
243
|
-
title: /* @__PURE__ */ z.string().describe("Custom policy title.").optional().nullable()
|
|
244
|
-
}).describe("Custom policy.").optional()
|
|
245
|
-
}).describe("Checkout policies.").optional(),
|
|
246
|
-
checkoutFields: /* @__PURE__ */ z.object({
|
|
247
|
-
subscriptionCheckbox: /* @__PURE__ */ z.object({
|
|
248
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
249
|
-
"Whether the checkbox is visible to the customer.\n\nDefault: `false`"
|
|
250
|
-
).optional().nullable(),
|
|
251
|
-
checkedByDefault: /* @__PURE__ */ z.boolean().describe(
|
|
252
|
-
"Whether the checkbox is checked by default.\n\nDefault: `false`"
|
|
253
|
-
).optional().nullable(),
|
|
254
|
-
splitByChannel: /* @__PURE__ */ z.boolean().describe(
|
|
255
|
-
"Whether checkout shows two separate opt-in checkboxes for email and SMS\ninstead of a single combined checkbox. Only takes effect when `visible` is `true`.\nBoth checkboxes are always shown together - a buyer can't be shown just one channel.\n`checkedByDefault` applies to both checkboxes equally: when `true`, both start pre-checked.\n\nDefault: `false`"
|
|
256
|
-
).optional().nullable()
|
|
257
|
-
}).describe(
|
|
258
|
-
"Subscription checkbox. <br><br>\n\nControls the marketing consent checkbox shown to the buyer at checkout. By default, a single\ncheckbox lets the buyer opt in to both email and SMS marketing at once. When\n`subscriptionCheckbox.splitByChannel` is `true`, checkout instead shows two separate\ncheckboxes - one for email, one for SMS - so the buyer can opt into each channel independently."
|
|
259
|
-
).optional(),
|
|
260
|
-
policyAgreementCheckbox: /* @__PURE__ */ z.object({
|
|
261
|
-
visible: /* @__PURE__ */ z.boolean().describe("Whether the checkbox is visible to the customer.").optional().nullable(),
|
|
262
|
-
checkedByDefault: /* @__PURE__ */ z.boolean().describe("Whether the checkbox is checked by default.").optional().nullable()
|
|
263
|
-
}).describe(
|
|
264
|
-
"Policy agreement checkbox. <br><br>\n\nDefaults:\n+ `visible`: `false`\n+ `checkedByDefault`: `false`"
|
|
265
|
-
).optional(),
|
|
266
|
-
giftCardRedeemEnabled: /* @__PURE__ */ z.boolean().describe(
|
|
267
|
-
"Whether the ability to redeem a gift card is enabled. <br><br>\n\nDefault: `false`"
|
|
268
|
-
).optional().nullable(),
|
|
269
|
-
mitEnabled: /* @__PURE__ */ z.boolean().describe(
|
|
270
|
-
"Whether to allow for MIT transactions. <br><br>\n\nDefault: `false`"
|
|
271
|
-
).optional().nullable(),
|
|
272
|
-
delayCaptureEnabled: /* @__PURE__ */ z.boolean().describe(
|
|
273
|
-
"Whether to allow for Auth & Capture transactions. <br><br>\n\nDefault: `false`"
|
|
274
|
-
).optional().nullable(),
|
|
275
|
-
captureBeforeExpiryEnabled: /* @__PURE__ */ z.boolean().describe(
|
|
276
|
-
"Whether to automatically capture the transaction before the authorization expires.\n\nDefault: `true`\n>**Note:** this setting is only relevant when `delay_capture_enabled: true`."
|
|
277
|
-
).optional().nullable()
|
|
278
|
-
}).describe(
|
|
279
|
-
"Settings that apply to checkout fields and the checkout process."
|
|
280
|
-
).optional(),
|
|
281
|
-
checkoutBrand: /* @__PURE__ */ z.object({
|
|
282
|
-
header: /* @__PURE__ */ z.object({
|
|
283
|
-
text: /* @__PURE__ */ z.string().describe(
|
|
284
|
-
"Textual content to be included in the header (e.g. Business Name)"
|
|
285
|
-
).max(55).optional().nullable(),
|
|
286
|
-
textColor: /* @__PURE__ */ z.string().describe("Text color hex code.").optional().nullable(),
|
|
287
|
-
logo: /* @__PURE__ */ z.object({
|
|
288
|
-
size: /* @__PURE__ */ z.enum(["SMALL", "MEDIUM", "LARGE"]).optional()
|
|
289
|
-
}).describe(
|
|
290
|
-
"Specifications for when a logo is included in the header."
|
|
291
|
-
).optional(),
|
|
292
|
-
alignment: /* @__PURE__ */ z.enum(["SIDE", "CENTER"]).optional(),
|
|
293
|
-
displayCheckoutLabel: /* @__PURE__ */ z.boolean().describe(
|
|
294
|
-
"Whether to display the 'Checkout' label within the header.\nDepending on the locale, the label may be translated."
|
|
295
|
-
).optional().nullable(),
|
|
296
|
-
continueShopping: /* @__PURE__ */ z.object({
|
|
297
|
-
hidden: /* @__PURE__ */ z.boolean().describe(
|
|
298
|
-
"Whether the continue shopping element is hidden."
|
|
299
|
-
).optional().nullable(),
|
|
300
|
-
displayType: /* @__PURE__ */ z.enum(["TEXT", "ICON"]).optional()
|
|
301
|
-
}).describe("Continue shopping specifications.").optional(),
|
|
302
|
-
backgroundFill: /* @__PURE__ */ z.intersection(
|
|
303
|
-
/* @__PURE__ */ z.object({}),
|
|
304
|
-
/* @__PURE__ */ z.xor([
|
|
305
|
-
/* @__PURE__ */ z.object({
|
|
306
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
307
|
-
image: /* @__PURE__ */ z.never().optional()
|
|
308
|
-
}),
|
|
309
|
-
/* @__PURE__ */ z.object({
|
|
310
|
-
image: /* @__PURE__ */ z.never().optional(),
|
|
311
|
-
color: /* @__PURE__ */ z.string().describe("Background color hex code.")
|
|
312
|
-
}),
|
|
313
|
-
/* @__PURE__ */ z.object({
|
|
314
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
315
|
-
image: /* @__PURE__ */ z.string().describe("Background image.")
|
|
316
|
-
})
|
|
317
|
-
])
|
|
318
|
-
).describe("Background fill specifications.").optional(),
|
|
319
|
-
dividerColor: /* @__PURE__ */ z.string().describe(
|
|
320
|
-
"Color hex code of the full-width divider rule below the header."
|
|
321
|
-
).optional().nullable()
|
|
322
|
-
}).describe("Checkout header.").optional(),
|
|
323
|
-
mainSection: /* @__PURE__ */ z.object({
|
|
324
|
-
formBackgroundFill: /* @__PURE__ */ z.intersection(
|
|
325
|
-
/* @__PURE__ */ z.object({}),
|
|
326
|
-
/* @__PURE__ */ z.xor([
|
|
327
|
-
/* @__PURE__ */ z.object({
|
|
328
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
329
|
-
image: /* @__PURE__ */ z.never().optional()
|
|
330
|
-
}),
|
|
331
|
-
/* @__PURE__ */ z.object({
|
|
332
|
-
image: /* @__PURE__ */ z.never().optional(),
|
|
333
|
-
color: /* @__PURE__ */ z.string().describe("Background color hex code.")
|
|
334
|
-
}),
|
|
335
|
-
/* @__PURE__ */ z.object({
|
|
336
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
337
|
-
image: /* @__PURE__ */ z.string().describe("Background image.")
|
|
338
|
-
})
|
|
339
|
-
])
|
|
340
|
-
).describe("Background fill of the checkout form.").optional(),
|
|
341
|
-
summaryBackgroundFill: /* @__PURE__ */ z.intersection(
|
|
342
|
-
/* @__PURE__ */ z.object({}),
|
|
343
|
-
/* @__PURE__ */ z.xor([
|
|
344
|
-
/* @__PURE__ */ z.object({
|
|
345
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
346
|
-
image: /* @__PURE__ */ z.never().optional()
|
|
347
|
-
}),
|
|
348
|
-
/* @__PURE__ */ z.object({
|
|
349
|
-
image: /* @__PURE__ */ z.never().optional(),
|
|
350
|
-
color: /* @__PURE__ */ z.string().describe("Background color hex code.")
|
|
351
|
-
}),
|
|
352
|
-
/* @__PURE__ */ z.object({
|
|
353
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
354
|
-
image: /* @__PURE__ */ z.string().describe("Background image.")
|
|
355
|
-
})
|
|
356
|
-
])
|
|
357
|
-
).describe("Background fill of the checkout summary.").optional(),
|
|
358
|
-
dividerColor: /* @__PURE__ */ z.string().describe("Color hex code of the dividers.").optional().nullable(),
|
|
359
|
-
tintedBoxColor: /* @__PURE__ */ z.string().describe(
|
|
360
|
-
"Color hex code of the tinted boxes (e.g. show-summary box). Stored and applied solid (no opacity)."
|
|
361
|
-
).optional().nullable(),
|
|
362
|
-
expressButtonsCornerRadius: /* @__PURE__ */ z.enum(["RECTANGLE", "PILL"]).optional(),
|
|
363
|
-
cornerRadius: /* @__PURE__ */ z.number().int().describe(
|
|
364
|
-
"Corner radius applied everywhere except the express checkout buttons \u2014 line-item images and form-field inputs."
|
|
365
|
-
).min(0).max(100).optional().nullable()
|
|
366
|
-
}).describe("Main checkout area branding.").optional(),
|
|
367
|
-
footer: /* @__PURE__ */ z.object({
|
|
368
|
-
backgroundFill: /* @__PURE__ */ z.intersection(
|
|
369
|
-
/* @__PURE__ */ z.object({}),
|
|
370
|
-
/* @__PURE__ */ z.xor([
|
|
371
|
-
/* @__PURE__ */ z.object({
|
|
372
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
373
|
-
image: /* @__PURE__ */ z.never().optional()
|
|
374
|
-
}),
|
|
375
|
-
/* @__PURE__ */ z.object({
|
|
376
|
-
image: /* @__PURE__ */ z.never().optional(),
|
|
377
|
-
color: /* @__PURE__ */ z.string().describe("Background color hex code.")
|
|
378
|
-
}),
|
|
379
|
-
/* @__PURE__ */ z.object({
|
|
380
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
381
|
-
image: /* @__PURE__ */ z.string().describe("Background image.")
|
|
382
|
-
})
|
|
383
|
-
])
|
|
384
|
-
).describe("Background fill of the footer.").optional(),
|
|
385
|
-
dividerColor: /* @__PURE__ */ z.string().describe(
|
|
386
|
-
"Color hex code of the full-width divider rule above the footer."
|
|
387
|
-
).optional().nullable()
|
|
388
|
-
}).describe("Checkout footer branding.").optional(),
|
|
389
|
-
global: /* @__PURE__ */ z.object({
|
|
390
|
-
selectionColor: /* @__PURE__ */ z.string().describe(
|
|
391
|
-
"Color hex code of selection controls (radios/checkboxes)."
|
|
392
|
-
).optional().nullable(),
|
|
393
|
-
placeOrderButtonColor: /* @__PURE__ */ z.string().describe("Color hex code of the place order button.").optional().nullable(),
|
|
394
|
-
buttonColor: /* @__PURE__ */ z.string().describe("Color hex code of the buttons.").optional().nullable()
|
|
395
|
-
}).describe("Global checkout branding.").optional()
|
|
396
|
-
}).describe("Checkout brand settings.").optional(),
|
|
397
|
-
_createdDate: /* @__PURE__ */ z.date().describe("Date and time the checkout settings were created.").optional().nullable(),
|
|
398
|
-
_updatedDate: /* @__PURE__ */ z.date().describe("Date and time the checkout settings were updated.").optional().nullable(),
|
|
399
|
-
checkoutBillingFields: /* @__PURE__ */ z.enum(["All_FIELDS", "MINIMUM_REQUIRED_FIELDS"]).optional()
|
|
400
|
-
}).describe("Checkout settings to update.")
|
|
401
|
-
});
|
|
402
|
-
var UpdateCheckoutSettingsResponse = /* @__PURE__ */ z.object({
|
|
403
|
-
checkoutSettings: /* @__PURE__ */ z.object({
|
|
404
|
-
checkoutPolicies: /* @__PURE__ */ z.object({
|
|
405
|
-
termsAndConditions: /* @__PURE__ */ z.object({
|
|
406
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
407
|
-
"Whether the terms and conditions policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
408
|
-
).optional().nullable(),
|
|
409
|
-
content: /* @__PURE__ */ z.string().describe("Terms and conditions policy content.").optional().nullable()
|
|
410
|
-
}).describe("Terms and conditions.").optional(),
|
|
411
|
-
privacyPolicy: /* @__PURE__ */ z.object({
|
|
412
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
413
|
-
"Whether the privacy policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
414
|
-
).optional().nullable(),
|
|
415
|
-
content: /* @__PURE__ */ z.string().describe("Privacy policy content.").optional().nullable()
|
|
416
|
-
}).describe("Privacy policy.").optional(),
|
|
417
|
-
returnPolicy: /* @__PURE__ */ z.object({
|
|
418
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
419
|
-
"Whether the return policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
420
|
-
).optional().nullable(),
|
|
421
|
-
content: /* @__PURE__ */ z.string().describe("Return policy content.").optional().nullable()
|
|
422
|
-
}).describe("Return policy.").optional(),
|
|
423
|
-
digitalItemPolicy: /* @__PURE__ */ z.object({
|
|
424
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
425
|
-
"Whether the digital item policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
426
|
-
).optional().nullable(),
|
|
427
|
-
content: /* @__PURE__ */ z.string().describe("Digital item policy content.").optional().nullable()
|
|
428
|
-
}).describe("Digital item policy.").optional(),
|
|
429
|
-
contactUs: /* @__PURE__ */ z.object({
|
|
430
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
431
|
-
"Whether the contact us policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
432
|
-
).optional().nullable(),
|
|
433
|
-
content: /* @__PURE__ */ z.string().describe("Contact us policy content.").optional().nullable()
|
|
434
|
-
}).describe('"Contact us" information.').optional(),
|
|
435
|
-
customPolicy: /* @__PURE__ */ z.object({
|
|
436
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
437
|
-
"Whether the custom policy is visible to the customer in the checkout page. <br><br>\n\nDefault: `false`"
|
|
438
|
-
).optional().nullable(),
|
|
439
|
-
content: /* @__PURE__ */ z.string().describe("Custom policy content.").optional().nullable(),
|
|
440
|
-
title: /* @__PURE__ */ z.string().describe("Custom policy title.").optional().nullable()
|
|
441
|
-
}).describe("Custom policy.").optional()
|
|
442
|
-
}).describe("Checkout policies.").optional(),
|
|
443
|
-
checkoutFields: /* @__PURE__ */ z.object({
|
|
444
|
-
subscriptionCheckbox: /* @__PURE__ */ z.object({
|
|
445
|
-
visible: /* @__PURE__ */ z.boolean().describe(
|
|
446
|
-
"Whether the checkbox is visible to the customer.\n\nDefault: `false`"
|
|
447
|
-
).optional().nullable(),
|
|
448
|
-
checkedByDefault: /* @__PURE__ */ z.boolean().describe(
|
|
449
|
-
"Whether the checkbox is checked by default.\n\nDefault: `false`"
|
|
450
|
-
).optional().nullable(),
|
|
451
|
-
splitByChannel: /* @__PURE__ */ z.boolean().describe(
|
|
452
|
-
"Whether checkout shows two separate opt-in checkboxes for email and SMS\ninstead of a single combined checkbox. Only takes effect when `visible` is `true`.\nBoth checkboxes are always shown together - a buyer can't be shown just one channel.\n`checkedByDefault` applies to both checkboxes equally: when `true`, both start pre-checked.\n\nDefault: `false`"
|
|
453
|
-
).optional().nullable()
|
|
454
|
-
}).describe(
|
|
455
|
-
"Subscription checkbox. <br><br>\n\nControls the marketing consent checkbox shown to the buyer at checkout. By default, a single\ncheckbox lets the buyer opt in to both email and SMS marketing at once. When\n`subscriptionCheckbox.splitByChannel` is `true`, checkout instead shows two separate\ncheckboxes - one for email, one for SMS - so the buyer can opt into each channel independently."
|
|
456
|
-
).optional(),
|
|
457
|
-
policyAgreementCheckbox: /* @__PURE__ */ z.object({
|
|
458
|
-
visible: /* @__PURE__ */ z.boolean().describe("Whether the checkbox is visible to the customer.").optional().nullable(),
|
|
459
|
-
checkedByDefault: /* @__PURE__ */ z.boolean().describe("Whether the checkbox is checked by default.").optional().nullable()
|
|
460
|
-
}).describe(
|
|
461
|
-
"Policy agreement checkbox. <br><br>\n\nDefaults:\n+ `visible`: `false`\n+ `checkedByDefault`: `false`"
|
|
462
|
-
).optional(),
|
|
463
|
-
giftCardRedeemEnabled: /* @__PURE__ */ z.boolean().describe(
|
|
464
|
-
"Whether the ability to redeem a gift card is enabled. <br><br>\n\nDefault: `false`"
|
|
465
|
-
).optional().nullable(),
|
|
466
|
-
mitEnabled: /* @__PURE__ */ z.boolean().describe(
|
|
467
|
-
"Whether to allow for MIT transactions. <br><br>\n\nDefault: `false`"
|
|
468
|
-
).optional().nullable(),
|
|
469
|
-
delayCaptureEnabled: /* @__PURE__ */ z.boolean().describe(
|
|
470
|
-
"Whether to allow for Auth & Capture transactions. <br><br>\n\nDefault: `false`"
|
|
471
|
-
).optional().nullable(),
|
|
472
|
-
captureBeforeExpiryEnabled: /* @__PURE__ */ z.boolean().describe(
|
|
473
|
-
"Whether to automatically capture the transaction before the authorization expires.\n\nDefault: `true`\n>**Note:** this setting is only relevant when `delay_capture_enabled: true`."
|
|
474
|
-
).optional().nullable()
|
|
475
|
-
}).describe(
|
|
476
|
-
"Settings that apply to checkout fields and the checkout process."
|
|
477
|
-
).optional(),
|
|
478
|
-
checkoutBrand: /* @__PURE__ */ z.object({
|
|
479
|
-
header: /* @__PURE__ */ z.object({
|
|
480
|
-
text: /* @__PURE__ */ z.string().describe(
|
|
481
|
-
"Textual content to be included in the header (e.g. Business Name)"
|
|
482
|
-
).max(55).optional().nullable(),
|
|
483
|
-
textColor: /* @__PURE__ */ z.string().describe("Text color hex code.").optional().nullable(),
|
|
484
|
-
logo: /* @__PURE__ */ z.object({
|
|
485
|
-
size: /* @__PURE__ */ z.enum(["SMALL", "MEDIUM", "LARGE"]).describe("Size of the logo.").optional()
|
|
486
|
-
}).describe(
|
|
487
|
-
"Specifications for when a logo is included in the header."
|
|
488
|
-
).optional(),
|
|
489
|
-
alignment: /* @__PURE__ */ z.enum(["SIDE", "CENTER"]).describe(
|
|
490
|
-
"Alignment within the header.\n\n>**Note:** `SIDE` alignment is decided depending on the locale's language. For example, scripts like Hebrew and Arabic will automatically align right-to-left."
|
|
491
|
-
).optional(),
|
|
492
|
-
displayCheckoutLabel: /* @__PURE__ */ z.boolean().describe(
|
|
493
|
-
"Whether to display the 'Checkout' label within the header.\nDepending on the locale, the label may be translated."
|
|
494
|
-
).optional().nullable(),
|
|
495
|
-
continueShopping: /* @__PURE__ */ z.object({
|
|
496
|
-
hidden: /* @__PURE__ */ z.boolean().describe(
|
|
497
|
-
"Whether the continue shopping element is hidden."
|
|
498
|
-
).optional().nullable(),
|
|
499
|
-
displayType: /* @__PURE__ */ z.enum(["TEXT", "ICON"]).describe("Display type for the continue shopping element.").optional()
|
|
500
|
-
}).describe("Continue shopping specifications.").optional(),
|
|
501
|
-
backgroundFill: /* @__PURE__ */ z.intersection(
|
|
502
|
-
/* @__PURE__ */ z.object({}),
|
|
503
|
-
/* @__PURE__ */ z.xor([
|
|
504
|
-
/* @__PURE__ */ z.object({
|
|
505
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
506
|
-
image: /* @__PURE__ */ z.never().optional()
|
|
507
|
-
}),
|
|
508
|
-
/* @__PURE__ */ z.object({
|
|
509
|
-
image: /* @__PURE__ */ z.never().optional(),
|
|
510
|
-
color: /* @__PURE__ */ z.string().describe("Background color hex code.")
|
|
511
|
-
}),
|
|
512
|
-
/* @__PURE__ */ z.object({
|
|
513
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
514
|
-
image: /* @__PURE__ */ z.string().describe("Background image.")
|
|
515
|
-
})
|
|
516
|
-
])
|
|
517
|
-
).describe("Background fill specifications.").optional(),
|
|
518
|
-
dividerColor: /* @__PURE__ */ z.string().describe(
|
|
519
|
-
"Color hex code of the full-width divider rule below the header."
|
|
520
|
-
).optional().nullable()
|
|
521
|
-
}).describe("Checkout header.").optional(),
|
|
522
|
-
mainSection: /* @__PURE__ */ z.object({
|
|
523
|
-
formBackgroundFill: /* @__PURE__ */ z.intersection(
|
|
524
|
-
/* @__PURE__ */ z.object({}),
|
|
525
|
-
/* @__PURE__ */ z.xor([
|
|
526
|
-
/* @__PURE__ */ z.object({
|
|
527
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
528
|
-
image: /* @__PURE__ */ z.never().optional()
|
|
529
|
-
}),
|
|
530
|
-
/* @__PURE__ */ z.object({
|
|
531
|
-
image: /* @__PURE__ */ z.never().optional(),
|
|
532
|
-
color: /* @__PURE__ */ z.string().describe("Background color hex code.")
|
|
533
|
-
}),
|
|
534
|
-
/* @__PURE__ */ z.object({
|
|
535
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
536
|
-
image: /* @__PURE__ */ z.string().describe("Background image.")
|
|
537
|
-
})
|
|
538
|
-
])
|
|
539
|
-
).describe("Background fill of the checkout form.").optional(),
|
|
540
|
-
summaryBackgroundFill: /* @__PURE__ */ z.intersection(
|
|
541
|
-
/* @__PURE__ */ z.object({}),
|
|
542
|
-
/* @__PURE__ */ z.xor([
|
|
543
|
-
/* @__PURE__ */ z.object({
|
|
544
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
545
|
-
image: /* @__PURE__ */ z.never().optional()
|
|
546
|
-
}),
|
|
547
|
-
/* @__PURE__ */ z.object({
|
|
548
|
-
image: /* @__PURE__ */ z.never().optional(),
|
|
549
|
-
color: /* @__PURE__ */ z.string().describe("Background color hex code.")
|
|
550
|
-
}),
|
|
551
|
-
/* @__PURE__ */ z.object({
|
|
552
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
553
|
-
image: /* @__PURE__ */ z.string().describe("Background image.")
|
|
554
|
-
})
|
|
555
|
-
])
|
|
556
|
-
).describe("Background fill of the checkout summary.").optional(),
|
|
557
|
-
dividerColor: /* @__PURE__ */ z.string().describe("Color hex code of the dividers.").optional().nullable(),
|
|
558
|
-
tintedBoxColor: /* @__PURE__ */ z.string().describe(
|
|
559
|
-
"Color hex code of the tinted boxes (e.g. show-summary box). Stored and applied solid (no opacity)."
|
|
560
|
-
).optional().nullable(),
|
|
561
|
-
expressButtonsCornerRadius: /* @__PURE__ */ z.enum(["RECTANGLE", "PILL"]).describe(
|
|
562
|
-
"Corner radius style applied to the express checkout buttons."
|
|
563
|
-
).optional(),
|
|
564
|
-
cornerRadius: /* @__PURE__ */ z.number().int().describe(
|
|
565
|
-
"Corner radius applied everywhere except the express checkout buttons \u2014 line-item images and form-field inputs."
|
|
566
|
-
).min(0).max(100).optional().nullable()
|
|
567
|
-
}).describe("Main checkout area branding.").optional(),
|
|
568
|
-
footer: /* @__PURE__ */ z.object({
|
|
569
|
-
backgroundFill: /* @__PURE__ */ z.intersection(
|
|
570
|
-
/* @__PURE__ */ z.object({}),
|
|
571
|
-
/* @__PURE__ */ z.xor([
|
|
572
|
-
/* @__PURE__ */ z.object({
|
|
573
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
574
|
-
image: /* @__PURE__ */ z.never().optional()
|
|
575
|
-
}),
|
|
576
|
-
/* @__PURE__ */ z.object({
|
|
577
|
-
image: /* @__PURE__ */ z.never().optional(),
|
|
578
|
-
color: /* @__PURE__ */ z.string().describe("Background color hex code.")
|
|
579
|
-
}),
|
|
580
|
-
/* @__PURE__ */ z.object({
|
|
581
|
-
color: /* @__PURE__ */ z.never().optional(),
|
|
582
|
-
image: /* @__PURE__ */ z.string().describe("Background image.")
|
|
583
|
-
})
|
|
584
|
-
])
|
|
585
|
-
).describe("Background fill of the footer.").optional(),
|
|
586
|
-
dividerColor: /* @__PURE__ */ z.string().describe(
|
|
587
|
-
"Color hex code of the full-width divider rule above the footer."
|
|
588
|
-
).optional().nullable()
|
|
589
|
-
}).describe("Checkout footer branding.").optional(),
|
|
590
|
-
global: /* @__PURE__ */ z.object({
|
|
591
|
-
selectionColor: /* @__PURE__ */ z.string().describe(
|
|
592
|
-
"Color hex code of selection controls (radios/checkboxes)."
|
|
593
|
-
).optional().nullable(),
|
|
594
|
-
placeOrderButtonColor: /* @__PURE__ */ z.string().describe("Color hex code of the place order button.").optional().nullable(),
|
|
595
|
-
buttonColor: /* @__PURE__ */ z.string().describe("Color hex code of the buttons.").optional().nullable()
|
|
596
|
-
}).describe("Global checkout branding.").optional()
|
|
597
|
-
}).describe("Checkout brand settings.").optional(),
|
|
598
|
-
_createdDate: /* @__PURE__ */ z.date().describe("Date and time the checkout settings were created.").optional().nullable(),
|
|
599
|
-
_updatedDate: /* @__PURE__ */ z.date().describe("Date and time the checkout settings were updated.").optional().nullable(),
|
|
600
|
-
checkoutBillingFields: /* @__PURE__ */ z.enum(["All_FIELDS", "MINIMUM_REQUIRED_FIELDS"]).describe("Billing information required to complete the checkout.").optional()
|
|
601
|
-
}).describe("Updated checkout settings.").optional()
|
|
602
|
-
});
|
|
603
|
-
export {
|
|
604
|
-
GetCheckoutSettingsRequest,
|
|
605
|
-
GetCheckoutSettingsResponse,
|
|
606
|
-
UpdateCheckoutSettingsRequest,
|
|
607
|
-
UpdateCheckoutSettingsResponse
|
|
608
|
-
};
|
|
609
|
-
//# sourceMappingURL=schemas.mjs.map
|