@wix/auto_sdk_ecom_checkout-templates 1.0.155 → 1.0.156
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.js +212 -337
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +92 -201
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +59 -154
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +212 -337
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +92 -201
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +59 -154
- package/build/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -91,6 +91,47 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
|
91
91
|
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
92
92
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
93
93
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
94
|
+
var TRANSFORM_PATHS_0 = [
|
|
95
|
+
{
|
|
96
|
+
path: "checkoutTemplate.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
97
|
+
},
|
|
98
|
+
{ path: "checkoutTemplate.customLineItems.physicalProperties.weight" }
|
|
99
|
+
];
|
|
100
|
+
var TRANSFORM_PATHS_1 = [
|
|
101
|
+
{
|
|
102
|
+
path: "checkoutTemplate.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
103
|
+
},
|
|
104
|
+
{ path: "checkoutTemplate.customLineItems.serviceProperties.scheduledDate" },
|
|
105
|
+
{ path: "checkoutTemplate.customLineItems.serviceProperties.endDate" }
|
|
106
|
+
];
|
|
107
|
+
var TRANSFORM_PATHS_2 = [
|
|
108
|
+
{
|
|
109
|
+
path: "checkoutTemplates.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
110
|
+
},
|
|
111
|
+
{ path: "checkoutTemplates.customLineItems.physicalProperties.weight" }
|
|
112
|
+
];
|
|
113
|
+
var TRANSFORM_PATHS_3 = [
|
|
114
|
+
{
|
|
115
|
+
path: "checkoutTemplates.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
116
|
+
},
|
|
117
|
+
{ path: "checkoutTemplates.customLineItems.serviceProperties.scheduledDate" },
|
|
118
|
+
{ path: "checkoutTemplates.customLineItems.serviceProperties.endDate" }
|
|
119
|
+
];
|
|
120
|
+
var TRANSFORM_PATHS_4 = [
|
|
121
|
+
{
|
|
122
|
+
path: "results.item.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
123
|
+
},
|
|
124
|
+
{ path: "results.item.customLineItems.physicalProperties.weight" }
|
|
125
|
+
];
|
|
126
|
+
var TRANSFORM_PATHS_5 = [
|
|
127
|
+
{
|
|
128
|
+
path: "results.item.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
129
|
+
},
|
|
130
|
+
{ path: "results.item.customLineItems.serviceProperties.scheduledDate" },
|
|
131
|
+
{ path: "results.item.customLineItems.serviceProperties.endDate" }
|
|
132
|
+
];
|
|
133
|
+
var TRANSFORM_PATHS_6 = [{ path: "fieldMask" }];
|
|
134
|
+
var TRANSFORM_PATHS_7 = [{ path: "body" }];
|
|
94
135
|
function resolveWixEcomCheckoutTemplateApiV1CheckoutTemplateServiceUrl(opts) {
|
|
95
136
|
const domainToMappings = {
|
|
96
137
|
"www._base_domain_": [
|
|
@@ -132,28 +173,11 @@ function createCheckoutTemplate(payload) {
|
|
|
132
173
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
133
174
|
{
|
|
134
175
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
135
|
-
paths:
|
|
136
|
-
{
|
|
137
|
-
path: "checkoutTemplate.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
path: "checkoutTemplate.customLineItems.physicalProperties.weight"
|
|
141
|
-
}
|
|
142
|
-
]
|
|
176
|
+
paths: TRANSFORM_PATHS_0
|
|
143
177
|
},
|
|
144
178
|
{
|
|
145
179
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
146
|
-
paths:
|
|
147
|
-
{
|
|
148
|
-
path: "checkoutTemplate.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
path: "checkoutTemplate.customLineItems.serviceProperties.scheduledDate"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
path: "checkoutTemplate.customLineItems.serviceProperties.endDate"
|
|
155
|
-
}
|
|
156
|
-
]
|
|
180
|
+
paths: TRANSFORM_PATHS_1
|
|
157
181
|
}
|
|
158
182
|
]);
|
|
159
183
|
const metadata = {
|
|
@@ -173,28 +197,11 @@ function createCheckoutTemplate(payload) {
|
|
|
173
197
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
174
198
|
{
|
|
175
199
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
176
|
-
paths:
|
|
177
|
-
{
|
|
178
|
-
path: "checkoutTemplate.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
path: "checkoutTemplate.customLineItems.physicalProperties.weight"
|
|
182
|
-
}
|
|
183
|
-
]
|
|
200
|
+
paths: TRANSFORM_PATHS_0
|
|
184
201
|
},
|
|
185
202
|
{
|
|
186
203
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
187
|
-
paths:
|
|
188
|
-
{
|
|
189
|
-
path: "checkoutTemplate.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
path: "checkoutTemplate.customLineItems.serviceProperties.scheduledDate"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
path: "checkoutTemplate.customLineItems.serviceProperties.endDate"
|
|
196
|
-
}
|
|
197
|
-
]
|
|
204
|
+
paths: TRANSFORM_PATHS_1
|
|
198
205
|
}
|
|
199
206
|
])
|
|
200
207
|
};
|
|
@@ -207,28 +214,11 @@ function bulkCreateCheckoutTemplates(payload) {
|
|
|
207
214
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
208
215
|
{
|
|
209
216
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
210
|
-
paths:
|
|
211
|
-
{
|
|
212
|
-
path: "checkoutTemplates.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
path: "checkoutTemplates.customLineItems.physicalProperties.weight"
|
|
216
|
-
}
|
|
217
|
-
]
|
|
217
|
+
paths: TRANSFORM_PATHS_2
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
221
|
-
paths:
|
|
222
|
-
{
|
|
223
|
-
path: "checkoutTemplates.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
path: "checkoutTemplates.customLineItems.serviceProperties.scheduledDate"
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
path: "checkoutTemplates.customLineItems.serviceProperties.endDate"
|
|
230
|
-
}
|
|
231
|
-
]
|
|
221
|
+
paths: TRANSFORM_PATHS_3
|
|
232
222
|
}
|
|
233
223
|
]);
|
|
234
224
|
const metadata = {
|
|
@@ -248,28 +238,11 @@ function bulkCreateCheckoutTemplates(payload) {
|
|
|
248
238
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
249
239
|
{
|
|
250
240
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
251
|
-
paths:
|
|
252
|
-
{
|
|
253
|
-
path: "results.item.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
path: "results.item.customLineItems.physicalProperties.weight"
|
|
257
|
-
}
|
|
258
|
-
]
|
|
241
|
+
paths: TRANSFORM_PATHS_4
|
|
259
242
|
},
|
|
260
243
|
{
|
|
261
244
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
262
|
-
paths:
|
|
263
|
-
{
|
|
264
|
-
path: "results.item.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
path: "results.item.customLineItems.serviceProperties.scheduledDate"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
path: "results.item.customLineItems.serviceProperties.endDate"
|
|
271
|
-
}
|
|
272
|
-
]
|
|
245
|
+
paths: TRANSFORM_PATHS_5
|
|
273
246
|
}
|
|
274
247
|
])
|
|
275
248
|
};
|
|
@@ -296,28 +269,11 @@ function getCheckoutTemplate(payload) {
|
|
|
296
269
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
297
270
|
{
|
|
298
271
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
299
|
-
paths:
|
|
300
|
-
{
|
|
301
|
-
path: "checkoutTemplate.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
path: "checkoutTemplate.customLineItems.physicalProperties.weight"
|
|
305
|
-
}
|
|
306
|
-
]
|
|
272
|
+
paths: TRANSFORM_PATHS_0
|
|
307
273
|
},
|
|
308
274
|
{
|
|
309
275
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
310
|
-
paths:
|
|
311
|
-
{
|
|
312
|
-
path: "checkoutTemplate.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
path: "checkoutTemplate.customLineItems.serviceProperties.scheduledDate"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
path: "checkoutTemplate.customLineItems.serviceProperties.endDate"
|
|
319
|
-
}
|
|
320
|
-
]
|
|
276
|
+
paths: TRANSFORM_PATHS_1
|
|
321
277
|
}
|
|
322
278
|
])
|
|
323
279
|
};
|
|
@@ -330,32 +286,15 @@ function updateCheckoutTemplate(payload) {
|
|
|
330
286
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
331
287
|
{
|
|
332
288
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
333
|
-
paths:
|
|
289
|
+
paths: TRANSFORM_PATHS_6
|
|
334
290
|
},
|
|
335
291
|
{
|
|
336
292
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
337
|
-
paths:
|
|
338
|
-
{
|
|
339
|
-
path: "checkoutTemplate.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
path: "checkoutTemplate.customLineItems.physicalProperties.weight"
|
|
343
|
-
}
|
|
344
|
-
]
|
|
293
|
+
paths: TRANSFORM_PATHS_0
|
|
345
294
|
},
|
|
346
295
|
{
|
|
347
296
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
348
|
-
paths:
|
|
349
|
-
{
|
|
350
|
-
path: "checkoutTemplate.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
path: "checkoutTemplate.customLineItems.serviceProperties.scheduledDate"
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
path: "checkoutTemplate.customLineItems.serviceProperties.endDate"
|
|
357
|
-
}
|
|
358
|
-
]
|
|
297
|
+
paths: TRANSFORM_PATHS_1
|
|
359
298
|
}
|
|
360
299
|
]);
|
|
361
300
|
const metadata = {
|
|
@@ -375,28 +314,11 @@ function updateCheckoutTemplate(payload) {
|
|
|
375
314
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
376
315
|
{
|
|
377
316
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
378
|
-
paths:
|
|
379
|
-
{
|
|
380
|
-
path: "checkoutTemplate.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
path: "checkoutTemplate.customLineItems.physicalProperties.weight"
|
|
384
|
-
}
|
|
385
|
-
]
|
|
317
|
+
paths: TRANSFORM_PATHS_0
|
|
386
318
|
},
|
|
387
319
|
{
|
|
388
320
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
389
|
-
paths:
|
|
390
|
-
{
|
|
391
|
-
path: "checkoutTemplate.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
path: "checkoutTemplate.customLineItems.serviceProperties.scheduledDate"
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
path: "checkoutTemplate.customLineItems.serviceProperties.endDate"
|
|
398
|
-
}
|
|
399
|
-
]
|
|
321
|
+
paths: TRANSFORM_PATHS_1
|
|
400
322
|
}
|
|
401
323
|
])
|
|
402
324
|
};
|
|
@@ -444,28 +366,11 @@ function queryCheckoutTemplates(payload) {
|
|
|
444
366
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
445
367
|
{
|
|
446
368
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
447
|
-
paths:
|
|
448
|
-
{
|
|
449
|
-
path: "checkoutTemplates.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
path: "checkoutTemplates.customLineItems.physicalProperties.weight"
|
|
453
|
-
}
|
|
454
|
-
]
|
|
369
|
+
paths: TRANSFORM_PATHS_2
|
|
455
370
|
},
|
|
456
371
|
{
|
|
457
372
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
458
|
-
paths:
|
|
459
|
-
{
|
|
460
|
-
path: "checkoutTemplates.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
path: "checkoutTemplates.customLineItems.serviceProperties.scheduledDate"
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
path: "checkoutTemplates.customLineItems.serviceProperties.endDate"
|
|
467
|
-
}
|
|
468
|
-
]
|
|
373
|
+
paths: TRANSFORM_PATHS_3
|
|
469
374
|
}
|
|
470
375
|
])
|
|
471
376
|
};
|
|
@@ -513,7 +418,7 @@ function createAndRedirectToCheckout(payload) {
|
|
|
513
418
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
514
419
|
{
|
|
515
420
|
transformFn: import_bytes.transformRESTBytesToSDKBytes,
|
|
516
|
-
paths:
|
|
421
|
+
paths: TRANSFORM_PATHS_7
|
|
517
422
|
}
|
|
518
423
|
])
|
|
519
424
|
};
|
|
@@ -529,6 +434,21 @@ var import_page_url_v2 = require("@wix/sdk-runtime/transformations/page-url-v2")
|
|
|
529
434
|
var import_page_url_v22 = require("@wix/sdk-runtime/transformations/page-url-v2");
|
|
530
435
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
531
436
|
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
437
|
+
var TRANSFORM_PATHS_02 = [
|
|
438
|
+
{ path: "checkoutTemplate.lineItems.catalogOverrideFields.image" },
|
|
439
|
+
{ path: "checkoutTemplate.customLineItems.media" }
|
|
440
|
+
];
|
|
441
|
+
var TRANSFORM_PATHS_12 = [{ path: "checkoutTemplate.customLineItems.url" }];
|
|
442
|
+
var TRANSFORM_PATHS_22 = [
|
|
443
|
+
{ path: "checkoutTemplates.lineItems.catalogOverrideFields.image" },
|
|
444
|
+
{ path: "checkoutTemplates.customLineItems.media" }
|
|
445
|
+
];
|
|
446
|
+
var TRANSFORM_PATHS_32 = [{ path: "checkoutTemplates.customLineItems.url" }];
|
|
447
|
+
var TRANSFORM_PATHS_42 = [
|
|
448
|
+
{ path: "results.item.lineItems.catalogOverrideFields.image" },
|
|
449
|
+
{ path: "results.item.customLineItems.media" }
|
|
450
|
+
];
|
|
451
|
+
var TRANSFORM_PATHS_52 = [{ path: "results.item.customLineItems.url" }];
|
|
532
452
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
533
453
|
Status2["ACTIVE"] = "ACTIVE";
|
|
534
454
|
Status2["INACTIVE"] = "INACTIVE";
|
|
@@ -763,14 +683,11 @@ async function createCheckoutTemplate2(checkoutTemplate) {
|
|
|
763
683
|
[
|
|
764
684
|
{
|
|
765
685
|
transformFn: import_image.transformSDKImageToRESTImage,
|
|
766
|
-
paths:
|
|
767
|
-
{ path: "checkoutTemplate.lineItems.catalogOverrideFields.image" },
|
|
768
|
-
{ path: "checkoutTemplate.customLineItems.media" }
|
|
769
|
-
]
|
|
686
|
+
paths: TRANSFORM_PATHS_02
|
|
770
687
|
},
|
|
771
688
|
{
|
|
772
689
|
transformFn: import_page_url_v2.transformSDKPageURLV2ToRESTPageURLV2,
|
|
773
|
-
paths:
|
|
690
|
+
paths: TRANSFORM_PATHS_12
|
|
774
691
|
}
|
|
775
692
|
]
|
|
776
693
|
);
|
|
@@ -783,14 +700,11 @@ async function createCheckoutTemplate2(checkoutTemplate) {
|
|
|
783
700
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
784
701
|
{
|
|
785
702
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
786
|
-
paths:
|
|
787
|
-
{ path: "checkoutTemplate.lineItems.catalogOverrideFields.image" },
|
|
788
|
-
{ path: "checkoutTemplate.customLineItems.media" }
|
|
789
|
-
]
|
|
703
|
+
paths: TRANSFORM_PATHS_02
|
|
790
704
|
},
|
|
791
705
|
{
|
|
792
706
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
793
|
-
paths:
|
|
707
|
+
paths: TRANSFORM_PATHS_12
|
|
794
708
|
}
|
|
795
709
|
])
|
|
796
710
|
)?.checkoutTemplate;
|
|
@@ -818,14 +732,11 @@ async function bulkCreateCheckoutTemplates2(checkoutTemplates, options) {
|
|
|
818
732
|
[
|
|
819
733
|
{
|
|
820
734
|
transformFn: import_image.transformSDKImageToRESTImage,
|
|
821
|
-
paths:
|
|
822
|
-
{ path: "checkoutTemplates.lineItems.catalogOverrideFields.image" },
|
|
823
|
-
{ path: "checkoutTemplates.customLineItems.media" }
|
|
824
|
-
]
|
|
735
|
+
paths: TRANSFORM_PATHS_22
|
|
825
736
|
},
|
|
826
737
|
{
|
|
827
738
|
transformFn: import_page_url_v2.transformSDKPageURLV2ToRESTPageURLV2,
|
|
828
|
-
paths:
|
|
739
|
+
paths: TRANSFORM_PATHS_32
|
|
829
740
|
}
|
|
830
741
|
]
|
|
831
742
|
);
|
|
@@ -838,14 +749,11 @@ async function bulkCreateCheckoutTemplates2(checkoutTemplates, options) {
|
|
|
838
749
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
839
750
|
{
|
|
840
751
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
841
|
-
paths:
|
|
842
|
-
{ path: "results.item.lineItems.catalogOverrideFields.image" },
|
|
843
|
-
{ path: "results.item.customLineItems.media" }
|
|
844
|
-
]
|
|
752
|
+
paths: TRANSFORM_PATHS_42
|
|
845
753
|
},
|
|
846
754
|
{
|
|
847
755
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
848
|
-
paths:
|
|
756
|
+
paths: TRANSFORM_PATHS_52
|
|
849
757
|
}
|
|
850
758
|
])
|
|
851
759
|
);
|
|
@@ -880,14 +788,11 @@ async function getCheckoutTemplate2(checkoutTemplateId) {
|
|
|
880
788
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
881
789
|
{
|
|
882
790
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
883
|
-
paths:
|
|
884
|
-
{ path: "checkoutTemplate.lineItems.catalogOverrideFields.image" },
|
|
885
|
-
{ path: "checkoutTemplate.customLineItems.media" }
|
|
886
|
-
]
|
|
791
|
+
paths: TRANSFORM_PATHS_02
|
|
887
792
|
},
|
|
888
793
|
{
|
|
889
794
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
890
|
-
paths:
|
|
795
|
+
paths: TRANSFORM_PATHS_12
|
|
891
796
|
}
|
|
892
797
|
])
|
|
893
798
|
)?.checkoutTemplate;
|
|
@@ -914,14 +819,11 @@ async function updateCheckoutTemplate2(_id, checkoutTemplate) {
|
|
|
914
819
|
[
|
|
915
820
|
{
|
|
916
821
|
transformFn: import_image.transformSDKImageToRESTImage,
|
|
917
|
-
paths:
|
|
918
|
-
{ path: "checkoutTemplate.lineItems.catalogOverrideFields.image" },
|
|
919
|
-
{ path: "checkoutTemplate.customLineItems.media" }
|
|
920
|
-
]
|
|
822
|
+
paths: TRANSFORM_PATHS_02
|
|
921
823
|
},
|
|
922
824
|
{
|
|
923
825
|
transformFn: import_page_url_v2.transformSDKPageURLV2ToRESTPageURLV2,
|
|
924
|
-
paths:
|
|
826
|
+
paths: TRANSFORM_PATHS_12
|
|
925
827
|
}
|
|
926
828
|
]
|
|
927
829
|
);
|
|
@@ -934,14 +836,11 @@ async function updateCheckoutTemplate2(_id, checkoutTemplate) {
|
|
|
934
836
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
935
837
|
{
|
|
936
838
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
937
|
-
paths:
|
|
938
|
-
{ path: "checkoutTemplate.lineItems.catalogOverrideFields.image" },
|
|
939
|
-
{ path: "checkoutTemplate.customLineItems.media" }
|
|
940
|
-
]
|
|
839
|
+
paths: TRANSFORM_PATHS_02
|
|
941
840
|
},
|
|
942
841
|
{
|
|
943
842
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
944
|
-
paths:
|
|
843
|
+
paths: TRANSFORM_PATHS_12
|
|
945
844
|
}
|
|
946
845
|
])
|
|
947
846
|
)?.checkoutTemplate;
|
|
@@ -1012,16 +911,11 @@ function queryCheckoutTemplates2() {
|
|
|
1012
911
|
(0, import_transform_paths2.transformPaths)(data, [
|
|
1013
912
|
{
|
|
1014
913
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1015
|
-
paths:
|
|
1016
|
-
{
|
|
1017
|
-
path: "checkoutTemplates.lineItems.catalogOverrideFields.image"
|
|
1018
|
-
},
|
|
1019
|
-
{ path: "checkoutTemplates.customLineItems.media" }
|
|
1020
|
-
]
|
|
914
|
+
paths: TRANSFORM_PATHS_22
|
|
1021
915
|
},
|
|
1022
916
|
{
|
|
1023
917
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1024
|
-
paths:
|
|
918
|
+
paths: TRANSFORM_PATHS_32
|
|
1025
919
|
}
|
|
1026
920
|
])
|
|
1027
921
|
);
|
|
@@ -1054,14 +948,11 @@ async function typedQueryCheckoutTemplates(query) {
|
|
|
1054
948
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1055
949
|
{
|
|
1056
950
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1057
|
-
paths:
|
|
1058
|
-
{ path: "checkoutTemplates.lineItems.catalogOverrideFields.image" },
|
|
1059
|
-
{ path: "checkoutTemplates.customLineItems.media" }
|
|
1060
|
-
]
|
|
951
|
+
paths: TRANSFORM_PATHS_22
|
|
1061
952
|
},
|
|
1062
953
|
{
|
|
1063
954
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1064
|
-
paths:
|
|
955
|
+
paths: TRANSFORM_PATHS_32
|
|
1065
956
|
}
|
|
1066
957
|
])
|
|
1067
958
|
);
|
|
@@ -1142,6 +1033,109 @@ async function createAndRedirectToCheckout2(checkoutTemplateId, siteId) {
|
|
|
1142
1033
|
}
|
|
1143
1034
|
|
|
1144
1035
|
// src/ecom-v1-checkout-template-checkout-templates.public.ts
|
|
1036
|
+
var TRANSFORM_PATHS_03 = [
|
|
1037
|
+
{ path: "entity.lineItems.catalogOverrideFields.image" },
|
|
1038
|
+
{ path: "entity.customLineItems.media" }
|
|
1039
|
+
];
|
|
1040
|
+
var TRANSFORM_PATHS_13 = [
|
|
1041
|
+
{ path: "entity.lineItems.catalogOverrideFields.physicalProperties.weight" },
|
|
1042
|
+
{ path: "entity.customLineItems.physicalProperties.weight" }
|
|
1043
|
+
];
|
|
1044
|
+
var TRANSFORM_PATHS_23 = [{ path: "entity.customLineItems.url" }];
|
|
1045
|
+
var TRANSFORM_PATHS_33 = [
|
|
1046
|
+
{
|
|
1047
|
+
path: "entity.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
1048
|
+
},
|
|
1049
|
+
{ path: "entity.customLineItems.serviceProperties.scheduledDate" },
|
|
1050
|
+
{ path: "entity.customLineItems.serviceProperties.endDate" },
|
|
1051
|
+
{ path: "metadata.eventTime" }
|
|
1052
|
+
];
|
|
1053
|
+
var TRANSFORM_PATHS_43 = [
|
|
1054
|
+
{ path: "undefined.lineItems.catalogOverrideFields.image" },
|
|
1055
|
+
{ path: "undefined.customLineItems.media" }
|
|
1056
|
+
];
|
|
1057
|
+
var TRANSFORM_PATHS_53 = [
|
|
1058
|
+
{
|
|
1059
|
+
path: "undefined.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
1060
|
+
},
|
|
1061
|
+
{ path: "undefined.customLineItems.physicalProperties.weight" }
|
|
1062
|
+
];
|
|
1063
|
+
var TRANSFORM_PATHS_62 = [{ path: "undefined.customLineItems.url" }];
|
|
1064
|
+
var TRANSFORM_PATHS_72 = [
|
|
1065
|
+
{
|
|
1066
|
+
path: "undefined.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
1067
|
+
},
|
|
1068
|
+
{ path: "undefined.customLineItems.serviceProperties.scheduledDate" },
|
|
1069
|
+
{ path: "undefined.customLineItems.serviceProperties.endDate" },
|
|
1070
|
+
{ path: "metadata.eventTime" }
|
|
1071
|
+
];
|
|
1072
|
+
var TRANSFORM_PATHS_8 = [
|
|
1073
|
+
{ path: "data.checkoutTemplate.lineItems.catalogOverrideFields.image" },
|
|
1074
|
+
{ path: "data.checkoutTemplate.customLineItems.media" },
|
|
1075
|
+
{ path: "data.checkout.lineItems.media" },
|
|
1076
|
+
{ path: "data.checkout.lineItems.catalogOverrideFields.image" }
|
|
1077
|
+
];
|
|
1078
|
+
var TRANSFORM_PATHS_9 = [
|
|
1079
|
+
{
|
|
1080
|
+
path: "data.checkoutTemplate.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
1081
|
+
},
|
|
1082
|
+
{ path: "data.checkoutTemplate.customLineItems.physicalProperties.weight" },
|
|
1083
|
+
{ path: "data.checkout.lineItems.physicalProperties.weight" },
|
|
1084
|
+
{
|
|
1085
|
+
path: "data.checkout.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
1086
|
+
},
|
|
1087
|
+
{ path: "data.checkout.appliedDiscounts.merchantDiscount.percentage" }
|
|
1088
|
+
];
|
|
1089
|
+
var TRANSFORM_PATHS_10 = [
|
|
1090
|
+
{ path: "data.checkoutTemplate.customLineItems.url" },
|
|
1091
|
+
{ path: "data.checkout.lineItems.url" }
|
|
1092
|
+
];
|
|
1093
|
+
var TRANSFORM_PATHS_11 = [
|
|
1094
|
+
{
|
|
1095
|
+
path: "data.checkoutTemplate.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
path: "data.checkoutTemplate.customLineItems.serviceProperties.scheduledDate"
|
|
1099
|
+
},
|
|
1100
|
+
{ path: "data.checkoutTemplate.customLineItems.serviceProperties.endDate" },
|
|
1101
|
+
{ path: "data.checkout.createdDate" },
|
|
1102
|
+
{ path: "data.checkout.updatedDate" },
|
|
1103
|
+
{
|
|
1104
|
+
path: "data.checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
1105
|
+
},
|
|
1106
|
+
{ path: "data.checkout.lineItems.serviceProperties.scheduledDate" },
|
|
1107
|
+
{ path: "data.checkout.lineItems.serviceProperties.endDate" },
|
|
1108
|
+
{
|
|
1109
|
+
path: "data.checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
path: "data.checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
path: "data.checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
path: "data.checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
path: "data.checkout.membershipOptions.eligibleMemberships.expirationDate"
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
path: "data.checkout.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
1125
|
+
},
|
|
1126
|
+
{ path: "data.checkout.subscriptionCharges.charges.cycleBillingDate" },
|
|
1127
|
+
{ path: "metadata.eventTime" }
|
|
1128
|
+
];
|
|
1129
|
+
var TRANSFORM_PATHS_122 = [
|
|
1130
|
+
{ path: "data.checkout.billingInfo.address" },
|
|
1131
|
+
{ path: "data.checkout.shippingInfo.shippingDestination.address" },
|
|
1132
|
+
{
|
|
1133
|
+
path: "data.checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address"
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
path: "data.checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address"
|
|
1137
|
+
}
|
|
1138
|
+
];
|
|
1145
1139
|
function createCheckoutTemplate3(httpClient) {
|
|
1146
1140
|
return (checkoutTemplate) => createCheckoutTemplate2(
|
|
1147
1141
|
checkoutTemplate,
|
|
@@ -1215,34 +1209,19 @@ var onCheckoutTemplateCreated = /* @__PURE__ */ (0, import_sdk_types.EventDefini
|
|
|
1215
1209
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1216
1210
|
{
|
|
1217
1211
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
1218
|
-
paths:
|
|
1219
|
-
{ path: "entity.lineItems.catalogOverrideFields.image" },
|
|
1220
|
-
{ path: "entity.customLineItems.media" }
|
|
1221
|
-
]
|
|
1212
|
+
paths: TRANSFORM_PATHS_03
|
|
1222
1213
|
},
|
|
1223
1214
|
{
|
|
1224
1215
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1225
|
-
paths:
|
|
1226
|
-
{
|
|
1227
|
-
path: "entity.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
1228
|
-
},
|
|
1229
|
-
{ path: "entity.customLineItems.physicalProperties.weight" }
|
|
1230
|
-
]
|
|
1216
|
+
paths: TRANSFORM_PATHS_13
|
|
1231
1217
|
},
|
|
1232
1218
|
{
|
|
1233
1219
|
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1234
|
-
paths:
|
|
1220
|
+
paths: TRANSFORM_PATHS_23
|
|
1235
1221
|
},
|
|
1236
1222
|
{
|
|
1237
1223
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1238
|
-
paths:
|
|
1239
|
-
{
|
|
1240
|
-
path: "entity.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
1241
|
-
},
|
|
1242
|
-
{ path: "entity.customLineItems.serviceProperties.scheduledDate" },
|
|
1243
|
-
{ path: "entity.customLineItems.serviceProperties.endDate" },
|
|
1244
|
-
{ path: "metadata.eventTime" }
|
|
1245
|
-
]
|
|
1224
|
+
paths: TRANSFORM_PATHS_33
|
|
1246
1225
|
}
|
|
1247
1226
|
])
|
|
1248
1227
|
)
|
|
@@ -1254,36 +1233,19 @@ var onCheckoutTemplateDeleted = /* @__PURE__ */ (0, import_sdk_types.EventDefini
|
|
|
1254
1233
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1255
1234
|
{
|
|
1256
1235
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
1257
|
-
paths:
|
|
1258
|
-
{ path: "undefined.lineItems.catalogOverrideFields.image" },
|
|
1259
|
-
{ path: "undefined.customLineItems.media" }
|
|
1260
|
-
]
|
|
1236
|
+
paths: TRANSFORM_PATHS_43
|
|
1261
1237
|
},
|
|
1262
1238
|
{
|
|
1263
1239
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1264
|
-
paths:
|
|
1265
|
-
{
|
|
1266
|
-
path: "undefined.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
1267
|
-
},
|
|
1268
|
-
{ path: "undefined.customLineItems.physicalProperties.weight" }
|
|
1269
|
-
]
|
|
1240
|
+
paths: TRANSFORM_PATHS_53
|
|
1270
1241
|
},
|
|
1271
1242
|
{
|
|
1272
1243
|
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1273
|
-
paths:
|
|
1244
|
+
paths: TRANSFORM_PATHS_62
|
|
1274
1245
|
},
|
|
1275
1246
|
{
|
|
1276
1247
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1277
|
-
paths:
|
|
1278
|
-
{
|
|
1279
|
-
path: "undefined.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
1280
|
-
},
|
|
1281
|
-
{
|
|
1282
|
-
path: "undefined.customLineItems.serviceProperties.scheduledDate"
|
|
1283
|
-
},
|
|
1284
|
-
{ path: "undefined.customLineItems.serviceProperties.endDate" },
|
|
1285
|
-
{ path: "metadata.eventTime" }
|
|
1286
|
-
]
|
|
1248
|
+
paths: TRANSFORM_PATHS_72
|
|
1287
1249
|
}
|
|
1288
1250
|
])
|
|
1289
1251
|
)
|
|
@@ -1295,34 +1257,19 @@ var onCheckoutTemplateUpdated = /* @__PURE__ */ (0, import_sdk_types.EventDefini
|
|
|
1295
1257
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1296
1258
|
{
|
|
1297
1259
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
1298
|
-
paths:
|
|
1299
|
-
{ path: "entity.lineItems.catalogOverrideFields.image" },
|
|
1300
|
-
{ path: "entity.customLineItems.media" }
|
|
1301
|
-
]
|
|
1260
|
+
paths: TRANSFORM_PATHS_03
|
|
1302
1261
|
},
|
|
1303
1262
|
{
|
|
1304
1263
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1305
|
-
paths:
|
|
1306
|
-
{
|
|
1307
|
-
path: "entity.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
1308
|
-
},
|
|
1309
|
-
{ path: "entity.customLineItems.physicalProperties.weight" }
|
|
1310
|
-
]
|
|
1264
|
+
paths: TRANSFORM_PATHS_13
|
|
1311
1265
|
},
|
|
1312
1266
|
{
|
|
1313
1267
|
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1314
|
-
paths:
|
|
1268
|
+
paths: TRANSFORM_PATHS_23
|
|
1315
1269
|
},
|
|
1316
1270
|
{
|
|
1317
1271
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1318
|
-
paths:
|
|
1319
|
-
{
|
|
1320
|
-
path: "entity.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
1321
|
-
},
|
|
1322
|
-
{ path: "entity.customLineItems.serviceProperties.scheduledDate" },
|
|
1323
|
-
{ path: "entity.customLineItems.serviceProperties.endDate" },
|
|
1324
|
-
{ path: "metadata.eventTime" }
|
|
1325
|
-
]
|
|
1272
|
+
paths: TRANSFORM_PATHS_33
|
|
1326
1273
|
}
|
|
1327
1274
|
])
|
|
1328
1275
|
)
|
|
@@ -1334,95 +1281,23 @@ var onCheckoutTemplateUsed = /* @__PURE__ */ (0, import_sdk_types.EventDefinitio
|
|
|
1334
1281
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
1335
1282
|
{
|
|
1336
1283
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
1337
|
-
paths:
|
|
1338
|
-
{
|
|
1339
|
-
path: "data.checkoutTemplate.lineItems.catalogOverrideFields.image"
|
|
1340
|
-
},
|
|
1341
|
-
{ path: "data.checkoutTemplate.customLineItems.media" },
|
|
1342
|
-
{ path: "data.checkout.lineItems.media" },
|
|
1343
|
-
{ path: "data.checkout.lineItems.catalogOverrideFields.image" }
|
|
1344
|
-
]
|
|
1284
|
+
paths: TRANSFORM_PATHS_8
|
|
1345
1285
|
},
|
|
1346
1286
|
{
|
|
1347
1287
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
1348
|
-
paths:
|
|
1349
|
-
{
|
|
1350
|
-
path: "data.checkoutTemplate.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
1351
|
-
},
|
|
1352
|
-
{
|
|
1353
|
-
path: "data.checkoutTemplate.customLineItems.physicalProperties.weight"
|
|
1354
|
-
},
|
|
1355
|
-
{ path: "data.checkout.lineItems.physicalProperties.weight" },
|
|
1356
|
-
{
|
|
1357
|
-
path: "data.checkout.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
1358
|
-
},
|
|
1359
|
-
{
|
|
1360
|
-
path: "data.checkout.appliedDiscounts.merchantDiscount.percentage"
|
|
1361
|
-
}
|
|
1362
|
-
]
|
|
1288
|
+
paths: TRANSFORM_PATHS_9
|
|
1363
1289
|
},
|
|
1364
1290
|
{
|
|
1365
1291
|
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1366
|
-
paths:
|
|
1367
|
-
{ path: "data.checkoutTemplate.customLineItems.url" },
|
|
1368
|
-
{ path: "data.checkout.lineItems.url" }
|
|
1369
|
-
]
|
|
1292
|
+
paths: TRANSFORM_PATHS_10
|
|
1370
1293
|
},
|
|
1371
1294
|
{
|
|
1372
1295
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
1373
|
-
paths:
|
|
1374
|
-
{
|
|
1375
|
-
path: "data.checkoutTemplate.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
1376
|
-
},
|
|
1377
|
-
{
|
|
1378
|
-
path: "data.checkoutTemplate.customLineItems.serviceProperties.scheduledDate"
|
|
1379
|
-
},
|
|
1380
|
-
{
|
|
1381
|
-
path: "data.checkoutTemplate.customLineItems.serviceProperties.endDate"
|
|
1382
|
-
},
|
|
1383
|
-
{ path: "data.checkout.createdDate" },
|
|
1384
|
-
{ path: "data.checkout.updatedDate" },
|
|
1385
|
-
{
|
|
1386
|
-
path: "data.checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
1387
|
-
},
|
|
1388
|
-
{ path: "data.checkout.lineItems.serviceProperties.scheduledDate" },
|
|
1389
|
-
{ path: "data.checkout.lineItems.serviceProperties.endDate" },
|
|
1390
|
-
{
|
|
1391
|
-
path: "data.checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
1392
|
-
},
|
|
1393
|
-
{
|
|
1394
|
-
path: "data.checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
1395
|
-
},
|
|
1396
|
-
{
|
|
1397
|
-
path: "data.checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
1398
|
-
},
|
|
1399
|
-
{
|
|
1400
|
-
path: "data.checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
1401
|
-
},
|
|
1402
|
-
{
|
|
1403
|
-
path: "data.checkout.membershipOptions.eligibleMemberships.expirationDate"
|
|
1404
|
-
},
|
|
1405
|
-
{
|
|
1406
|
-
path: "data.checkout.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
1407
|
-
},
|
|
1408
|
-
{
|
|
1409
|
-
path: "data.checkout.subscriptionCharges.charges.cycleBillingDate"
|
|
1410
|
-
},
|
|
1411
|
-
{ path: "metadata.eventTime" }
|
|
1412
|
-
]
|
|
1296
|
+
paths: TRANSFORM_PATHS_11
|
|
1413
1297
|
},
|
|
1414
1298
|
{
|
|
1415
1299
|
transformFn: import_address.transformRESTAddressToSDKAddress,
|
|
1416
|
-
paths:
|
|
1417
|
-
{ path: "data.checkout.billingInfo.address" },
|
|
1418
|
-
{ path: "data.checkout.shippingInfo.shippingDestination.address" },
|
|
1419
|
-
{
|
|
1420
|
-
path: "data.checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address"
|
|
1421
|
-
},
|
|
1422
|
-
{
|
|
1423
|
-
path: "data.checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address"
|
|
1424
|
-
}
|
|
1425
|
-
]
|
|
1300
|
+
paths: TRANSFORM_PATHS_122
|
|
1426
1301
|
}
|
|
1427
1302
|
])
|
|
1428
1303
|
)
|