@wix/auto_sdk_ecom_checkout-settings 1.0.71 → 1.0.72
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 +56 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +54 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +144 -0
- package/build/cjs/schemas.js +238 -6
- package/build/cjs/schemas.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 +56 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +54 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +144 -0
- package/build/es/schemas.mjs +238 -6
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +9 -38
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +7 -36
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +144 -0
- package/build/internal/cjs/schemas.js +238 -6
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +9 -38
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +7 -36
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +144 -0
- package/build/internal/es/schemas.mjs +238 -6
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/schemas.d.ts
CHANGED
|
@@ -78,6 +78,54 @@ declare const GetCheckoutSettingsResponse: z.ZodObject<{
|
|
|
78
78
|
color: z.ZodOptional<z.ZodNever>;
|
|
79
79
|
image: z.ZodString;
|
|
80
80
|
}, z.core.$strip>]>>>;
|
|
81
|
+
dividerColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
82
|
+
}, z.core.$strip>>;
|
|
83
|
+
mainSection: z.ZodOptional<z.ZodObject<{
|
|
84
|
+
formBackgroundFill: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
85
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
86
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
87
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
88
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
89
|
+
color: z.ZodString;
|
|
90
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
91
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
92
|
+
image: z.ZodString;
|
|
93
|
+
}, z.core.$strip>]>>>;
|
|
94
|
+
summaryBackgroundFill: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
95
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
96
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
97
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
98
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
99
|
+
color: z.ZodString;
|
|
100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
101
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
102
|
+
image: z.ZodString;
|
|
103
|
+
}, z.core.$strip>]>>>;
|
|
104
|
+
dividerColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
105
|
+
tintedBoxColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
106
|
+
expressButtonsCornerRadius: z.ZodOptional<z.ZodEnum<{
|
|
107
|
+
RECTANGLE: "RECTANGLE";
|
|
108
|
+
PILL: "PILL";
|
|
109
|
+
}>>;
|
|
110
|
+
cornerRadius: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
111
|
+
}, z.core.$strip>>;
|
|
112
|
+
footer: z.ZodOptional<z.ZodObject<{
|
|
113
|
+
backgroundFill: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
114
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
115
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
116
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
117
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
118
|
+
color: z.ZodString;
|
|
119
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
120
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
121
|
+
image: z.ZodString;
|
|
122
|
+
}, z.core.$strip>]>>>;
|
|
123
|
+
dividerColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
124
|
+
}, z.core.$strip>>;
|
|
125
|
+
global: z.ZodOptional<z.ZodObject<{
|
|
126
|
+
selectionColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
127
|
+
placeOrderButtonColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
128
|
+
buttonColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
81
129
|
}, z.core.$strip>>;
|
|
82
130
|
}, z.core.$strip>>;
|
|
83
131
|
_createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
@@ -165,6 +213,54 @@ declare const UpdateCheckoutSettingsRequest: z.ZodObject<{
|
|
|
165
213
|
color: z.ZodOptional<z.ZodNever>;
|
|
166
214
|
image: z.ZodString;
|
|
167
215
|
}, z.core.$strip>]>>>;
|
|
216
|
+
dividerColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
217
|
+
}, z.core.$strip>>;
|
|
218
|
+
mainSection: z.ZodOptional<z.ZodObject<{
|
|
219
|
+
formBackgroundFill: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
220
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
221
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
222
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
223
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
224
|
+
color: z.ZodString;
|
|
225
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
226
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
227
|
+
image: z.ZodString;
|
|
228
|
+
}, z.core.$strip>]>>>;
|
|
229
|
+
summaryBackgroundFill: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
230
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
231
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
232
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
233
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
234
|
+
color: z.ZodString;
|
|
235
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
236
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
237
|
+
image: z.ZodString;
|
|
238
|
+
}, z.core.$strip>]>>>;
|
|
239
|
+
dividerColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
240
|
+
tintedBoxColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
241
|
+
expressButtonsCornerRadius: z.ZodOptional<z.ZodEnum<{
|
|
242
|
+
RECTANGLE: "RECTANGLE";
|
|
243
|
+
PILL: "PILL";
|
|
244
|
+
}>>;
|
|
245
|
+
cornerRadius: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
246
|
+
}, z.core.$strip>>;
|
|
247
|
+
footer: z.ZodOptional<z.ZodObject<{
|
|
248
|
+
backgroundFill: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
249
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
250
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
251
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
252
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
253
|
+
color: z.ZodString;
|
|
254
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
255
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
256
|
+
image: z.ZodString;
|
|
257
|
+
}, z.core.$strip>]>>>;
|
|
258
|
+
dividerColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
259
|
+
}, z.core.$strip>>;
|
|
260
|
+
global: z.ZodOptional<z.ZodObject<{
|
|
261
|
+
selectionColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
262
|
+
placeOrderButtonColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
263
|
+
buttonColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
168
264
|
}, z.core.$strip>>;
|
|
169
265
|
}, z.core.$strip>>;
|
|
170
266
|
_createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
@@ -252,6 +348,54 @@ declare const UpdateCheckoutSettingsResponse: z.ZodObject<{
|
|
|
252
348
|
color: z.ZodOptional<z.ZodNever>;
|
|
253
349
|
image: z.ZodString;
|
|
254
350
|
}, z.core.$strip>]>>>;
|
|
351
|
+
dividerColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
352
|
+
}, z.core.$strip>>;
|
|
353
|
+
mainSection: z.ZodOptional<z.ZodObject<{
|
|
354
|
+
formBackgroundFill: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
355
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
356
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
357
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
358
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
359
|
+
color: z.ZodString;
|
|
360
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
361
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
362
|
+
image: z.ZodString;
|
|
363
|
+
}, z.core.$strip>]>>>;
|
|
364
|
+
summaryBackgroundFill: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
365
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
366
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
367
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
368
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
369
|
+
color: z.ZodString;
|
|
370
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
371
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
372
|
+
image: z.ZodString;
|
|
373
|
+
}, z.core.$strip>]>>>;
|
|
374
|
+
dividerColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
375
|
+
tintedBoxColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
376
|
+
expressButtonsCornerRadius: z.ZodOptional<z.ZodEnum<{
|
|
377
|
+
RECTANGLE: "RECTANGLE";
|
|
378
|
+
PILL: "PILL";
|
|
379
|
+
}>>;
|
|
380
|
+
cornerRadius: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
381
|
+
}, z.core.$strip>>;
|
|
382
|
+
footer: z.ZodOptional<z.ZodObject<{
|
|
383
|
+
backgroundFill: z.ZodOptional<z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
384
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
385
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
386
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
387
|
+
image: z.ZodOptional<z.ZodNever>;
|
|
388
|
+
color: z.ZodString;
|
|
389
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
390
|
+
color: z.ZodOptional<z.ZodNever>;
|
|
391
|
+
image: z.ZodString;
|
|
392
|
+
}, z.core.$strip>]>>>;
|
|
393
|
+
dividerColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
394
|
+
}, z.core.$strip>>;
|
|
395
|
+
global: z.ZodOptional<z.ZodObject<{
|
|
396
|
+
selectionColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
397
|
+
placeOrderButtonColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
398
|
+
buttonColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
255
399
|
}, z.core.$strip>>;
|
|
256
400
|
}, z.core.$strip>>;
|
|
257
401
|
_createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
package/build/cjs/schemas.js
CHANGED
|
@@ -155,8 +155,86 @@ var GetCheckoutSettingsResponse = /* @__PURE__ */ z.object({
|
|
|
155
155
|
image: z.string().describe("Background image.")
|
|
156
156
|
})
|
|
157
157
|
])
|
|
158
|
-
).describe("Background fill specifications.").optional()
|
|
159
|
-
|
|
158
|
+
).describe("Background fill specifications.").optional(),
|
|
159
|
+
dividerColor: z.string().describe(
|
|
160
|
+
"Color hex code of the full-width divider rule below the header."
|
|
161
|
+
).optional().nullable()
|
|
162
|
+
}).describe("Checkout header.").optional(),
|
|
163
|
+
mainSection: z.object({
|
|
164
|
+
formBackgroundFill: z.intersection(
|
|
165
|
+
z.object({}),
|
|
166
|
+
z.xor([
|
|
167
|
+
z.object({
|
|
168
|
+
color: z.never().optional(),
|
|
169
|
+
image: z.never().optional()
|
|
170
|
+
}),
|
|
171
|
+
z.object({
|
|
172
|
+
image: z.never().optional(),
|
|
173
|
+
color: z.string().describe("Background color hex code.")
|
|
174
|
+
}),
|
|
175
|
+
z.object({
|
|
176
|
+
color: z.never().optional(),
|
|
177
|
+
image: z.string().describe("Background image.")
|
|
178
|
+
})
|
|
179
|
+
])
|
|
180
|
+
).describe("Background fill of the checkout form.").optional(),
|
|
181
|
+
summaryBackgroundFill: z.intersection(
|
|
182
|
+
z.object({}),
|
|
183
|
+
z.xor([
|
|
184
|
+
z.object({
|
|
185
|
+
color: z.never().optional(),
|
|
186
|
+
image: z.never().optional()
|
|
187
|
+
}),
|
|
188
|
+
z.object({
|
|
189
|
+
image: z.never().optional(),
|
|
190
|
+
color: z.string().describe("Background color hex code.")
|
|
191
|
+
}),
|
|
192
|
+
z.object({
|
|
193
|
+
color: z.never().optional(),
|
|
194
|
+
image: z.string().describe("Background image.")
|
|
195
|
+
})
|
|
196
|
+
])
|
|
197
|
+
).describe("Background fill of the checkout summary.").optional(),
|
|
198
|
+
dividerColor: z.string().describe("Color hex code of the dividers.").optional().nullable(),
|
|
199
|
+
tintedBoxColor: z.string().describe(
|
|
200
|
+
"Color hex code of the tinted boxes (e.g. show-summary box). Stored and applied solid (no opacity)."
|
|
201
|
+
).optional().nullable(),
|
|
202
|
+
expressButtonsCornerRadius: z.enum(["RECTANGLE", "PILL"]).describe(
|
|
203
|
+
"Corner radius style applied to the express checkout buttons."
|
|
204
|
+
).optional(),
|
|
205
|
+
cornerRadius: z.number().int().describe(
|
|
206
|
+
"Corner radius applied everywhere except the express checkout buttons \u2014 line-item images and form-field inputs."
|
|
207
|
+
).min(0).max(100).optional().nullable()
|
|
208
|
+
}).describe("Main checkout area branding.").optional(),
|
|
209
|
+
footer: z.object({
|
|
210
|
+
backgroundFill: z.intersection(
|
|
211
|
+
z.object({}),
|
|
212
|
+
z.xor([
|
|
213
|
+
z.object({
|
|
214
|
+
color: z.never().optional(),
|
|
215
|
+
image: z.never().optional()
|
|
216
|
+
}),
|
|
217
|
+
z.object({
|
|
218
|
+
image: z.never().optional(),
|
|
219
|
+
color: z.string().describe("Background color hex code.")
|
|
220
|
+
}),
|
|
221
|
+
z.object({
|
|
222
|
+
color: z.never().optional(),
|
|
223
|
+
image: z.string().describe("Background image.")
|
|
224
|
+
})
|
|
225
|
+
])
|
|
226
|
+
).describe("Background fill of the footer.").optional(),
|
|
227
|
+
dividerColor: z.string().describe(
|
|
228
|
+
"Color hex code of the full-width divider rule above the footer."
|
|
229
|
+
).optional().nullable()
|
|
230
|
+
}).describe("Checkout footer branding.").optional(),
|
|
231
|
+
global: z.object({
|
|
232
|
+
selectionColor: z.string().describe(
|
|
233
|
+
"Color hex code of selection controls (radios/checkboxes)."
|
|
234
|
+
).optional().nullable(),
|
|
235
|
+
placeOrderButtonColor: z.string().describe("Color hex code of the place order button.").optional().nullable(),
|
|
236
|
+
buttonColor: z.string().describe("Color hex code of the buttons.").optional().nullable()
|
|
237
|
+
}).describe("Global checkout branding.").optional()
|
|
160
238
|
}).describe("Checkout brand settings.").optional(),
|
|
161
239
|
_createdDate: z.date().describe("Date and time the checkout settings were created.").optional().nullable(),
|
|
162
240
|
_updatedDate: z.date().describe("Date and time the checkout settings were updated.").optional().nullable(),
|
|
@@ -276,8 +354,84 @@ var UpdateCheckoutSettingsRequest = /* @__PURE__ */ z.object({
|
|
|
276
354
|
image: z.string().describe("Background image.")
|
|
277
355
|
})
|
|
278
356
|
])
|
|
279
|
-
).describe("Background fill specifications.").optional()
|
|
280
|
-
|
|
357
|
+
).describe("Background fill specifications.").optional(),
|
|
358
|
+
dividerColor: z.string().describe(
|
|
359
|
+
"Color hex code of the full-width divider rule below the header."
|
|
360
|
+
).optional().nullable()
|
|
361
|
+
}).describe("Checkout header.").optional(),
|
|
362
|
+
mainSection: z.object({
|
|
363
|
+
formBackgroundFill: z.intersection(
|
|
364
|
+
z.object({}),
|
|
365
|
+
z.xor([
|
|
366
|
+
z.object({
|
|
367
|
+
color: z.never().optional(),
|
|
368
|
+
image: z.never().optional()
|
|
369
|
+
}),
|
|
370
|
+
z.object({
|
|
371
|
+
image: z.never().optional(),
|
|
372
|
+
color: z.string().describe("Background color hex code.")
|
|
373
|
+
}),
|
|
374
|
+
z.object({
|
|
375
|
+
color: z.never().optional(),
|
|
376
|
+
image: z.string().describe("Background image.")
|
|
377
|
+
})
|
|
378
|
+
])
|
|
379
|
+
).describe("Background fill of the checkout form.").optional(),
|
|
380
|
+
summaryBackgroundFill: z.intersection(
|
|
381
|
+
z.object({}),
|
|
382
|
+
z.xor([
|
|
383
|
+
z.object({
|
|
384
|
+
color: z.never().optional(),
|
|
385
|
+
image: z.never().optional()
|
|
386
|
+
}),
|
|
387
|
+
z.object({
|
|
388
|
+
image: z.never().optional(),
|
|
389
|
+
color: z.string().describe("Background color hex code.")
|
|
390
|
+
}),
|
|
391
|
+
z.object({
|
|
392
|
+
color: z.never().optional(),
|
|
393
|
+
image: z.string().describe("Background image.")
|
|
394
|
+
})
|
|
395
|
+
])
|
|
396
|
+
).describe("Background fill of the checkout summary.").optional(),
|
|
397
|
+
dividerColor: z.string().describe("Color hex code of the dividers.").optional().nullable(),
|
|
398
|
+
tintedBoxColor: z.string().describe(
|
|
399
|
+
"Color hex code of the tinted boxes (e.g. show-summary box). Stored and applied solid (no opacity)."
|
|
400
|
+
).optional().nullable(),
|
|
401
|
+
expressButtonsCornerRadius: z.enum(["RECTANGLE", "PILL"]).optional(),
|
|
402
|
+
cornerRadius: z.number().int().describe(
|
|
403
|
+
"Corner radius applied everywhere except the express checkout buttons \u2014 line-item images and form-field inputs."
|
|
404
|
+
).min(0).max(100).optional().nullable()
|
|
405
|
+
}).describe("Main checkout area branding.").optional(),
|
|
406
|
+
footer: z.object({
|
|
407
|
+
backgroundFill: z.intersection(
|
|
408
|
+
z.object({}),
|
|
409
|
+
z.xor([
|
|
410
|
+
z.object({
|
|
411
|
+
color: z.never().optional(),
|
|
412
|
+
image: z.never().optional()
|
|
413
|
+
}),
|
|
414
|
+
z.object({
|
|
415
|
+
image: z.never().optional(),
|
|
416
|
+
color: z.string().describe("Background color hex code.")
|
|
417
|
+
}),
|
|
418
|
+
z.object({
|
|
419
|
+
color: z.never().optional(),
|
|
420
|
+
image: z.string().describe("Background image.")
|
|
421
|
+
})
|
|
422
|
+
])
|
|
423
|
+
).describe("Background fill of the footer.").optional(),
|
|
424
|
+
dividerColor: z.string().describe(
|
|
425
|
+
"Color hex code of the full-width divider rule above the footer."
|
|
426
|
+
).optional().nullable()
|
|
427
|
+
}).describe("Checkout footer branding.").optional(),
|
|
428
|
+
global: z.object({
|
|
429
|
+
selectionColor: z.string().describe(
|
|
430
|
+
"Color hex code of selection controls (radios/checkboxes)."
|
|
431
|
+
).optional().nullable(),
|
|
432
|
+
placeOrderButtonColor: z.string().describe("Color hex code of the place order button.").optional().nullable(),
|
|
433
|
+
buttonColor: z.string().describe("Color hex code of the buttons.").optional().nullable()
|
|
434
|
+
}).describe("Global checkout branding.").optional()
|
|
281
435
|
}).describe("Checkout brand settings.").optional(),
|
|
282
436
|
_createdDate: z.date().describe("Date and time the checkout settings were created.").optional().nullable(),
|
|
283
437
|
_updatedDate: z.date().describe("Date and time the checkout settings were updated.").optional().nullable(),
|
|
@@ -399,8 +553,86 @@ var UpdateCheckoutSettingsResponse = /* @__PURE__ */ z.object({
|
|
|
399
553
|
image: z.string().describe("Background image.")
|
|
400
554
|
})
|
|
401
555
|
])
|
|
402
|
-
).describe("Background fill specifications.").optional()
|
|
403
|
-
|
|
556
|
+
).describe("Background fill specifications.").optional(),
|
|
557
|
+
dividerColor: z.string().describe(
|
|
558
|
+
"Color hex code of the full-width divider rule below the header."
|
|
559
|
+
).optional().nullable()
|
|
560
|
+
}).describe("Checkout header.").optional(),
|
|
561
|
+
mainSection: z.object({
|
|
562
|
+
formBackgroundFill: z.intersection(
|
|
563
|
+
z.object({}),
|
|
564
|
+
z.xor([
|
|
565
|
+
z.object({
|
|
566
|
+
color: z.never().optional(),
|
|
567
|
+
image: z.never().optional()
|
|
568
|
+
}),
|
|
569
|
+
z.object({
|
|
570
|
+
image: z.never().optional(),
|
|
571
|
+
color: z.string().describe("Background color hex code.")
|
|
572
|
+
}),
|
|
573
|
+
z.object({
|
|
574
|
+
color: z.never().optional(),
|
|
575
|
+
image: z.string().describe("Background image.")
|
|
576
|
+
})
|
|
577
|
+
])
|
|
578
|
+
).describe("Background fill of the checkout form.").optional(),
|
|
579
|
+
summaryBackgroundFill: z.intersection(
|
|
580
|
+
z.object({}),
|
|
581
|
+
z.xor([
|
|
582
|
+
z.object({
|
|
583
|
+
color: z.never().optional(),
|
|
584
|
+
image: z.never().optional()
|
|
585
|
+
}),
|
|
586
|
+
z.object({
|
|
587
|
+
image: z.never().optional(),
|
|
588
|
+
color: z.string().describe("Background color hex code.")
|
|
589
|
+
}),
|
|
590
|
+
z.object({
|
|
591
|
+
color: z.never().optional(),
|
|
592
|
+
image: z.string().describe("Background image.")
|
|
593
|
+
})
|
|
594
|
+
])
|
|
595
|
+
).describe("Background fill of the checkout summary.").optional(),
|
|
596
|
+
dividerColor: z.string().describe("Color hex code of the dividers.").optional().nullable(),
|
|
597
|
+
tintedBoxColor: z.string().describe(
|
|
598
|
+
"Color hex code of the tinted boxes (e.g. show-summary box). Stored and applied solid (no opacity)."
|
|
599
|
+
).optional().nullable(),
|
|
600
|
+
expressButtonsCornerRadius: z.enum(["RECTANGLE", "PILL"]).describe(
|
|
601
|
+
"Corner radius style applied to the express checkout buttons."
|
|
602
|
+
).optional(),
|
|
603
|
+
cornerRadius: z.number().int().describe(
|
|
604
|
+
"Corner radius applied everywhere except the express checkout buttons \u2014 line-item images and form-field inputs."
|
|
605
|
+
).min(0).max(100).optional().nullable()
|
|
606
|
+
}).describe("Main checkout area branding.").optional(),
|
|
607
|
+
footer: z.object({
|
|
608
|
+
backgroundFill: z.intersection(
|
|
609
|
+
z.object({}),
|
|
610
|
+
z.xor([
|
|
611
|
+
z.object({
|
|
612
|
+
color: z.never().optional(),
|
|
613
|
+
image: z.never().optional()
|
|
614
|
+
}),
|
|
615
|
+
z.object({
|
|
616
|
+
image: z.never().optional(),
|
|
617
|
+
color: z.string().describe("Background color hex code.")
|
|
618
|
+
}),
|
|
619
|
+
z.object({
|
|
620
|
+
color: z.never().optional(),
|
|
621
|
+
image: z.string().describe("Background image.")
|
|
622
|
+
})
|
|
623
|
+
])
|
|
624
|
+
).describe("Background fill of the footer.").optional(),
|
|
625
|
+
dividerColor: z.string().describe(
|
|
626
|
+
"Color hex code of the full-width divider rule above the footer."
|
|
627
|
+
).optional().nullable()
|
|
628
|
+
}).describe("Checkout footer branding.").optional(),
|
|
629
|
+
global: z.object({
|
|
630
|
+
selectionColor: z.string().describe(
|
|
631
|
+
"Color hex code of selection controls (radios/checkboxes)."
|
|
632
|
+
).optional().nullable(),
|
|
633
|
+
placeOrderButtonColor: z.string().describe("Color hex code of the place order button.").optional().nullable(),
|
|
634
|
+
buttonColor: z.string().describe("Color hex code of the buttons.").optional().nullable()
|
|
635
|
+
}).describe("Global checkout branding.").optional()
|
|
404
636
|
}).describe("Checkout brand settings.").optional(),
|
|
405
637
|
_createdDate: z.date().describe("Date and time the checkout settings were created.").optional().nullable(),
|
|
406
638
|
_updatedDate: z.date().describe("Date and time the checkout settings were updated.").optional().nullable(),
|