@wix/auto_sdk_ecom_checkout-settings 1.0.72 → 1.0.74

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 (45) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +8 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +16 -1
  5. package/build/cjs/index.typings.js +8 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +16 -1
  8. package/build/cjs/meta.js +8 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.js +321 -321
  11. package/build/cjs/schemas.js.map +1 -1
  12. package/build/es/index.d.mts +1 -1
  13. package/build/es/index.mjs +7 -0
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +16 -1
  16. package/build/es/index.typings.mjs +7 -0
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +16 -1
  19. package/build/es/meta.mjs +7 -0
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/es/schemas.mjs +321 -321
  22. package/build/es/schemas.mjs.map +1 -1
  23. package/build/internal/cjs/index.d.ts +1 -1
  24. package/build/internal/cjs/index.typings.d.ts +27 -1
  25. package/build/internal/cjs/meta.d.ts +27 -1
  26. package/build/internal/es/index.d.mts +1 -1
  27. package/build/internal/es/index.typings.d.mts +27 -1
  28. package/build/internal/es/meta.d.mts +27 -1
  29. package/package.json +2 -2
  30. package/build/internal/cjs/index.js +0 -553
  31. package/build/internal/cjs/index.js.map +0 -1
  32. package/build/internal/cjs/index.typings.js +0 -475
  33. package/build/internal/cjs/index.typings.js.map +0 -1
  34. package/build/internal/cjs/meta.js +0 -394
  35. package/build/internal/cjs/meta.js.map +0 -1
  36. package/build/internal/cjs/schemas.js +0 -649
  37. package/build/internal/cjs/schemas.js.map +0 -1
  38. package/build/internal/es/index.mjs +0 -520
  39. package/build/internal/es/index.mjs.map +0 -1
  40. package/build/internal/es/index.typings.mjs +0 -443
  41. package/build/internal/es/index.typings.mjs.map +0 -1
  42. package/build/internal/es/meta.mjs +0 -359
  43. package/build/internal/es/meta.mjs.map +0 -1
  44. package/build/internal/es/schemas.mjs +0 -609
  45. package/build/internal/es/schemas.mjs.map +0 -1
@@ -1,553 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // index.ts
21
- var index_exports = {};
22
- __export(index_exports, {
23
- Alignment: () => Alignment,
24
- CheckoutBillingFields: () => CheckoutBillingFields,
25
- DisplayType: () => DisplayType,
26
- ExpressButtonsCornerRadius: () => ExpressButtonsCornerRadius,
27
- InputFieldBackgroundStyle: () => InputFieldBackgroundStyle,
28
- LogoSize: () => LogoSize,
29
- WebhookIdentityType: () => WebhookIdentityType,
30
- getCheckoutSettings: () => getCheckoutSettings4,
31
- onCheckoutSettingsUpdated: () => onCheckoutSettingsUpdated2,
32
- updateCheckoutSettings: () => updateCheckoutSettings4
33
- });
34
- module.exports = __toCommonJS(index_exports);
35
-
36
- // src/ecom-v1-checkout-settings-checkout-settings.public.ts
37
- var import_rename_all_nested_keys2 = require("@wix/sdk-runtime/rename-all-nested-keys");
38
- var import_image3 = require("@wix/sdk-runtime/transformations/image");
39
- var import_timestamp3 = require("@wix/sdk-runtime/transformations/timestamp");
40
- var import_transform_paths3 = require("@wix/sdk-runtime/transformations/transform-paths");
41
- var import_sdk_types = require("@wix/sdk-types");
42
-
43
- // src/ecom-v1-checkout-settings-checkout-settings.universal.ts
44
- var import_transform_error = require("@wix/sdk-runtime/transform-error");
45
- var import_rename_all_nested_keys = require("@wix/sdk-runtime/rename-all-nested-keys");
46
-
47
- // src/ecom-v1-checkout-settings-checkout-settings.http.ts
48
- var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
49
- var import_float = require("@wix/sdk-runtime/transformations/float");
50
- var import_float2 = require("@wix/sdk-runtime/transformations/float");
51
- var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
52
- var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
53
- var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
54
- var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
55
- var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
56
- function resolveWixEcomCheckoutSettingsApiV1CheckoutSettingsServiceUrl(opts) {
57
- const domainToMappings = {
58
- "api._api_base_domain_": [
59
- {
60
- srcPath: "/checkout-settings",
61
- destPath: ""
62
- }
63
- ],
64
- "manage._base_domain_": [
65
- {
66
- srcPath: "/ecom/v1/checkout-settings",
67
- destPath: "/v1/checkout-settings"
68
- }
69
- ],
70
- "www.wixapis.com": [
71
- {
72
- srcPath: "/ecom/v1/checkout-settings",
73
- destPath: "/v1/checkout-settings"
74
- }
75
- ],
76
- "*.dev.wix-code.com": [
77
- {
78
- srcPath: "/ecom/v1/checkout-settings",
79
- destPath: "/v1/checkout-settings"
80
- }
81
- ],
82
- _: [
83
- {
84
- srcPath: "/ecom/v1/checkout-settings",
85
- destPath: "/v1/checkout-settings"
86
- }
87
- ]
88
- };
89
- return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
90
- }
91
- var PACKAGE_NAME = "@wix/auto_sdk_ecom_checkout-settings";
92
- function getCheckoutSettings(payload) {
93
- function __getCheckoutSettings({ host }) {
94
- const metadata = {
95
- entityFqdn: "wix.ecom.v1.checkout_settings",
96
- method: "GET",
97
- methodFqn: "wix.ecom.checkout_settings.api.v1.CheckoutSettingsService.GetCheckoutSettings",
98
- packageName: PACKAGE_NAME,
99
- migrationOptions: {
100
- optInTransformResponse: true
101
- },
102
- url: resolveWixEcomCheckoutSettingsApiV1CheckoutSettingsServiceUrl({
103
- protoPath: "/v1/checkout-settings",
104
- data: payload,
105
- host
106
- }),
107
- params: (0, import_rest_modules.toURLSearchParams)(payload),
108
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
109
- {
110
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
111
- paths: [
112
- { path: "checkoutSettings.createdDate" },
113
- { path: "checkoutSettings.updatedDate" },
114
- {
115
- path: "checkoutSettings.checkoutBrand.header.logo.image.urlExpirationDate"
116
- },
117
- {
118
- path: "checkoutSettings.checkoutBrand.header.backgroundFill.image.urlExpirationDate"
119
- },
120
- {
121
- path: "checkoutSettings.checkoutBrand.mainSection.formBackgroundFill.image.urlExpirationDate"
122
- },
123
- {
124
- path: "checkoutSettings.checkoutBrand.mainSection.summaryBackgroundFill.image.urlExpirationDate"
125
- },
126
- {
127
- path: "checkoutSettings.checkoutBrand.footer.backgroundFill.image.urlExpirationDate"
128
- }
129
- ]
130
- },
131
- {
132
- transformFn: import_float2.transformRESTFloatToSDKFloat,
133
- paths: [
134
- {
135
- path: "checkoutSettings.checkoutBrand.header.logo.image.focalPoint.x"
136
- },
137
- {
138
- path: "checkoutSettings.checkoutBrand.header.logo.image.focalPoint.y"
139
- },
140
- {
141
- path: "checkoutSettings.checkoutBrand.header.backgroundFill.image.focalPoint.x"
142
- },
143
- {
144
- path: "checkoutSettings.checkoutBrand.header.backgroundFill.image.focalPoint.y"
145
- },
146
- {
147
- path: "checkoutSettings.checkoutBrand.mainSection.formBackgroundFill.image.focalPoint.x"
148
- },
149
- {
150
- path: "checkoutSettings.checkoutBrand.mainSection.formBackgroundFill.image.focalPoint.y"
151
- },
152
- {
153
- path: "checkoutSettings.checkoutBrand.mainSection.summaryBackgroundFill.image.focalPoint.x"
154
- },
155
- {
156
- path: "checkoutSettings.checkoutBrand.mainSection.summaryBackgroundFill.image.focalPoint.y"
157
- },
158
- {
159
- path: "checkoutSettings.checkoutBrand.footer.backgroundFill.image.focalPoint.x"
160
- },
161
- {
162
- path: "checkoutSettings.checkoutBrand.footer.backgroundFill.image.focalPoint.y"
163
- }
164
- ]
165
- }
166
- ])
167
- };
168
- return metadata;
169
- }
170
- return __getCheckoutSettings;
171
- }
172
- function updateCheckoutSettings(payload) {
173
- function __updateCheckoutSettings({ host }) {
174
- const serializedData = (0, import_transform_paths.transformPaths)(payload, [
175
- {
176
- transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
177
- paths: [{ path: "fieldMask" }]
178
- },
179
- {
180
- transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
181
- paths: [
182
- { path: "checkoutSettings.createdDate" },
183
- { path: "checkoutSettings.updatedDate" },
184
- {
185
- path: "checkoutSettings.checkoutBrand.header.logo.image.urlExpirationDate"
186
- },
187
- {
188
- path: "checkoutSettings.checkoutBrand.header.backgroundFill.image.urlExpirationDate"
189
- },
190
- {
191
- path: "checkoutSettings.checkoutBrand.mainSection.formBackgroundFill.image.urlExpirationDate"
192
- },
193
- {
194
- path: "checkoutSettings.checkoutBrand.mainSection.summaryBackgroundFill.image.urlExpirationDate"
195
- },
196
- {
197
- path: "checkoutSettings.checkoutBrand.footer.backgroundFill.image.urlExpirationDate"
198
- }
199
- ]
200
- },
201
- {
202
- transformFn: import_float.transformSDKFloatToRESTFloat,
203
- paths: [
204
- {
205
- path: "checkoutSettings.checkoutBrand.header.logo.image.focalPoint.x"
206
- },
207
- {
208
- path: "checkoutSettings.checkoutBrand.header.logo.image.focalPoint.y"
209
- },
210
- {
211
- path: "checkoutSettings.checkoutBrand.header.backgroundFill.image.focalPoint.x"
212
- },
213
- {
214
- path: "checkoutSettings.checkoutBrand.header.backgroundFill.image.focalPoint.y"
215
- },
216
- {
217
- path: "checkoutSettings.checkoutBrand.mainSection.formBackgroundFill.image.focalPoint.x"
218
- },
219
- {
220
- path: "checkoutSettings.checkoutBrand.mainSection.formBackgroundFill.image.focalPoint.y"
221
- },
222
- {
223
- path: "checkoutSettings.checkoutBrand.mainSection.summaryBackgroundFill.image.focalPoint.x"
224
- },
225
- {
226
- path: "checkoutSettings.checkoutBrand.mainSection.summaryBackgroundFill.image.focalPoint.y"
227
- },
228
- {
229
- path: "checkoutSettings.checkoutBrand.footer.backgroundFill.image.focalPoint.x"
230
- },
231
- {
232
- path: "checkoutSettings.checkoutBrand.footer.backgroundFill.image.focalPoint.y"
233
- }
234
- ]
235
- }
236
- ]);
237
- const metadata = {
238
- entityFqdn: "wix.ecom.v1.checkout_settings",
239
- method: "PATCH",
240
- methodFqn: "wix.ecom.checkout_settings.api.v1.CheckoutSettingsService.UpdateCheckoutSettings",
241
- packageName: PACKAGE_NAME,
242
- migrationOptions: {
243
- optInTransformResponse: true
244
- },
245
- url: resolveWixEcomCheckoutSettingsApiV1CheckoutSettingsServiceUrl({
246
- protoPath: "/v1/checkout-settings",
247
- data: serializedData,
248
- host
249
- }),
250
- data: serializedData,
251
- transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
252
- {
253
- transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
254
- paths: [
255
- { path: "checkoutSettings.createdDate" },
256
- { path: "checkoutSettings.updatedDate" },
257
- {
258
- path: "checkoutSettings.checkoutBrand.header.logo.image.urlExpirationDate"
259
- },
260
- {
261
- path: "checkoutSettings.checkoutBrand.header.backgroundFill.image.urlExpirationDate"
262
- },
263
- {
264
- path: "checkoutSettings.checkoutBrand.mainSection.formBackgroundFill.image.urlExpirationDate"
265
- },
266
- {
267
- path: "checkoutSettings.checkoutBrand.mainSection.summaryBackgroundFill.image.urlExpirationDate"
268
- },
269
- {
270
- path: "checkoutSettings.checkoutBrand.footer.backgroundFill.image.urlExpirationDate"
271
- }
272
- ]
273
- },
274
- {
275
- transformFn: import_float2.transformRESTFloatToSDKFloat,
276
- paths: [
277
- {
278
- path: "checkoutSettings.checkoutBrand.header.logo.image.focalPoint.x"
279
- },
280
- {
281
- path: "checkoutSettings.checkoutBrand.header.logo.image.focalPoint.y"
282
- },
283
- {
284
- path: "checkoutSettings.checkoutBrand.header.backgroundFill.image.focalPoint.x"
285
- },
286
- {
287
- path: "checkoutSettings.checkoutBrand.header.backgroundFill.image.focalPoint.y"
288
- },
289
- {
290
- path: "checkoutSettings.checkoutBrand.mainSection.formBackgroundFill.image.focalPoint.x"
291
- },
292
- {
293
- path: "checkoutSettings.checkoutBrand.mainSection.formBackgroundFill.image.focalPoint.y"
294
- },
295
- {
296
- path: "checkoutSettings.checkoutBrand.mainSection.summaryBackgroundFill.image.focalPoint.x"
297
- },
298
- {
299
- path: "checkoutSettings.checkoutBrand.mainSection.summaryBackgroundFill.image.focalPoint.y"
300
- },
301
- {
302
- path: "checkoutSettings.checkoutBrand.footer.backgroundFill.image.focalPoint.x"
303
- },
304
- {
305
- path: "checkoutSettings.checkoutBrand.footer.backgroundFill.image.focalPoint.y"
306
- }
307
- ]
308
- }
309
- ])
310
- };
311
- return metadata;
312
- }
313
- return __updateCheckoutSettings;
314
- }
315
-
316
- // src/ecom-v1-checkout-settings-checkout-settings.universal.ts
317
- var import_image = require("@wix/sdk-runtime/transformations/image");
318
- var import_image2 = require("@wix/sdk-runtime/transformations/image");
319
- var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
320
- var LogoSize = /* @__PURE__ */ ((LogoSize2) => {
321
- LogoSize2["SMALL"] = "SMALL";
322
- LogoSize2["MEDIUM"] = "MEDIUM";
323
- LogoSize2["LARGE"] = "LARGE";
324
- return LogoSize2;
325
- })(LogoSize || {});
326
- var Alignment = /* @__PURE__ */ ((Alignment2) => {
327
- Alignment2["SIDE"] = "SIDE";
328
- Alignment2["CENTER"] = "CENTER";
329
- return Alignment2;
330
- })(Alignment || {});
331
- var DisplayType = /* @__PURE__ */ ((DisplayType2) => {
332
- DisplayType2["TEXT"] = "TEXT";
333
- DisplayType2["ICON"] = "ICON";
334
- return DisplayType2;
335
- })(DisplayType || {});
336
- var ExpressButtonsCornerRadius = /* @__PURE__ */ ((ExpressButtonsCornerRadius2) => {
337
- ExpressButtonsCornerRadius2["RECTANGLE"] = "RECTANGLE";
338
- ExpressButtonsCornerRadius2["PILL"] = "PILL";
339
- return ExpressButtonsCornerRadius2;
340
- })(ExpressButtonsCornerRadius || {});
341
- var InputFieldBackgroundStyle = /* @__PURE__ */ ((InputFieldBackgroundStyle2) => {
342
- InputFieldBackgroundStyle2["WHITE"] = "WHITE";
343
- InputFieldBackgroundStyle2["TRANSPARENT"] = "TRANSPARENT";
344
- return InputFieldBackgroundStyle2;
345
- })(InputFieldBackgroundStyle || {});
346
- var CheckoutBillingFields = /* @__PURE__ */ ((CheckoutBillingFields2) => {
347
- CheckoutBillingFields2["All_FIELDS"] = "All_FIELDS";
348
- CheckoutBillingFields2["MINIMUM_REQUIRED_FIELDS"] = "MINIMUM_REQUIRED_FIELDS";
349
- return CheckoutBillingFields2;
350
- })(CheckoutBillingFields || {});
351
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
352
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
353
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
354
- WebhookIdentityType2["MEMBER"] = "MEMBER";
355
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
356
- WebhookIdentityType2["APP"] = "APP";
357
- return WebhookIdentityType2;
358
- })(WebhookIdentityType || {});
359
- async function getCheckoutSettings2() {
360
- const { httpClient, sideEffects } = arguments[0];
361
- const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({});
362
- const reqOpts = getCheckoutSettings(payload);
363
- sideEffects?.onSiteCall?.();
364
- try {
365
- const result = await httpClient.request(reqOpts);
366
- sideEffects?.onSuccess?.(result);
367
- return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
368
- (0, import_transform_paths2.transformPaths)(result.data, [
369
- {
370
- transformFn: import_image2.transformRESTImageToSDKImage,
371
- paths: [
372
- { path: "checkoutSettings.checkoutBrand.header.logo.image" },
373
- {
374
- path: "checkoutSettings.checkoutBrand.header.backgroundFill.image"
375
- },
376
- {
377
- path: "checkoutSettings.checkoutBrand.mainSection.formBackgroundFill.image"
378
- },
379
- {
380
- path: "checkoutSettings.checkoutBrand.mainSection.summaryBackgroundFill.image"
381
- },
382
- {
383
- path: "checkoutSettings.checkoutBrand.footer.backgroundFill.image"
384
- }
385
- ]
386
- }
387
- ])
388
- );
389
- } catch (err) {
390
- const transformedError = (0, import_transform_error.transformError)(
391
- err,
392
- {
393
- spreadPathsToArguments: {},
394
- explicitPathsToArguments: {},
395
- singleArgumentUnchanged: false
396
- },
397
- []
398
- );
399
- sideEffects?.onError?.(err);
400
- throw transformedError;
401
- }
402
- }
403
- async function updateCheckoutSettings2(checkoutSettings) {
404
- const { httpClient, sideEffects } = arguments[1];
405
- const payload = (0, import_transform_paths2.transformPaths)(
406
- (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
407
- checkoutSettings
408
- }),
409
- [
410
- {
411
- transformFn: import_image.transformSDKImageToRESTImage,
412
- paths: [
413
- { path: "checkoutSettings.checkoutBrand.header.logo.image" },
414
- {
415
- path: "checkoutSettings.checkoutBrand.header.backgroundFill.image"
416
- },
417
- {
418
- path: "checkoutSettings.checkoutBrand.mainSection.formBackgroundFill.image"
419
- },
420
- {
421
- path: "checkoutSettings.checkoutBrand.mainSection.summaryBackgroundFill.image"
422
- },
423
- {
424
- path: "checkoutSettings.checkoutBrand.footer.backgroundFill.image"
425
- }
426
- ]
427
- }
428
- ]
429
- );
430
- const reqOpts = updateCheckoutSettings(payload);
431
- sideEffects?.onSiteCall?.();
432
- try {
433
- const result = await httpClient.request(reqOpts);
434
- sideEffects?.onSuccess?.(result);
435
- return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
436
- (0, import_transform_paths2.transformPaths)(result.data, [
437
- {
438
- transformFn: import_image2.transformRESTImageToSDKImage,
439
- paths: [
440
- { path: "checkoutSettings.checkoutBrand.header.logo.image" },
441
- {
442
- path: "checkoutSettings.checkoutBrand.header.backgroundFill.image"
443
- },
444
- {
445
- path: "checkoutSettings.checkoutBrand.mainSection.formBackgroundFill.image"
446
- },
447
- {
448
- path: "checkoutSettings.checkoutBrand.mainSection.summaryBackgroundFill.image"
449
- },
450
- {
451
- path: "checkoutSettings.checkoutBrand.footer.backgroundFill.image"
452
- }
453
- ]
454
- }
455
- ])
456
- );
457
- } catch (err) {
458
- const transformedError = (0, import_transform_error.transformError)(
459
- err,
460
- {
461
- spreadPathsToArguments: {},
462
- explicitPathsToArguments: { checkoutSettings: "$[0]" },
463
- singleArgumentUnchanged: false
464
- },
465
- ["checkoutSettings"]
466
- );
467
- sideEffects?.onError?.(err);
468
- throw transformedError;
469
- }
470
- }
471
-
472
- // src/ecom-v1-checkout-settings-checkout-settings.public.ts
473
- function getCheckoutSettings3(httpClient) {
474
- return () => getCheckoutSettings2(
475
- // @ts-ignore
476
- { httpClient }
477
- );
478
- }
479
- function updateCheckoutSettings3(httpClient) {
480
- return (checkoutSettings) => updateCheckoutSettings2(
481
- checkoutSettings,
482
- // @ts-ignore
483
- { httpClient }
484
- );
485
- }
486
- var onCheckoutSettingsUpdated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
487
- "wix.ecom.v1.checkout_settings_updated",
488
- true,
489
- (event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
490
- (0, import_transform_paths3.transformPaths)(event, [
491
- {
492
- transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
493
- paths: [
494
- { path: "entity.createdDate" },
495
- { path: "entity.updatedDate" },
496
- { path: "metadata.eventTime" },
497
- { path: "modifiedFields.createdDate" },
498
- { path: "modifiedFields.updatedDate" }
499
- ]
500
- },
501
- {
502
- transformFn: import_image3.transformRESTImageToSDKImage,
503
- paths: [
504
- { path: "entity.checkoutBrand.header.logo.image" },
505
- { path: "entity.checkoutBrand.header.backgroundFill.image" },
506
- {
507
- path: "entity.checkoutBrand.mainSection.formBackgroundFill.image"
508
- },
509
- {
510
- path: "entity.checkoutBrand.mainSection.summaryBackgroundFill.image"
511
- },
512
- { path: "entity.checkoutBrand.footer.backgroundFill.image" },
513
- { path: "modifiedFields.checkoutBrand.header.logo.image" },
514
- {
515
- path: "modifiedFields.checkoutBrand.header.backgroundFill.image"
516
- },
517
- {
518
- path: "modifiedFields.checkoutBrand.mainSection.formBackgroundFill.image"
519
- },
520
- {
521
- path: "modifiedFields.checkoutBrand.mainSection.summaryBackgroundFill.image"
522
- },
523
- {
524
- path: "modifiedFields.checkoutBrand.footer.backgroundFill.image"
525
- }
526
- ]
527
- }
528
- ])
529
- )
530
- )();
531
-
532
- // src/ecom-v1-checkout-settings-checkout-settings.context.ts
533
- var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
534
- var import_event_definition_modules = require("@wix/sdk-runtime/event-definition-modules");
535
- var getCheckoutSettings4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getCheckoutSettings3);
536
- var updateCheckoutSettings4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateCheckoutSettings3);
537
- var onCheckoutSettingsUpdated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(
538
- onCheckoutSettingsUpdated
539
- );
540
- // Annotate the CommonJS export names for ESM import in node:
541
- 0 && (module.exports = {
542
- Alignment,
543
- CheckoutBillingFields,
544
- DisplayType,
545
- ExpressButtonsCornerRadius,
546
- InputFieldBackgroundStyle,
547
- LogoSize,
548
- WebhookIdentityType,
549
- getCheckoutSettings,
550
- onCheckoutSettingsUpdated,
551
- updateCheckoutSettings
552
- });
553
- //# sourceMappingURL=index.js.map