@wix/auto_sdk_ecom_current-cart 1.0.189 → 1.0.191
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 +311 -399
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +215 -312
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/cjs/meta.js +146 -241
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +311 -399
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +215 -312
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -1
- package/build/es/meta.mjs +146 -241
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -1
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/es/index.typings.d.mts +1 -1
- package/build/internal/es/meta.d.mts +1 -1
- package/package.json +2 -2
|
@@ -76,6 +76,131 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
|
76
76
|
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
77
77
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
78
78
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
79
|
+
var TRANSFORM_PATHS_0 = [
|
|
80
|
+
{ path: "cart.createdDate" },
|
|
81
|
+
{ path: "cart.updatedDate" },
|
|
82
|
+
{ path: "cart.lineItems.image.urlExpirationDate" },
|
|
83
|
+
{
|
|
84
|
+
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
85
|
+
},
|
|
86
|
+
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
87
|
+
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
88
|
+
];
|
|
89
|
+
var TRANSFORM_PATHS_1 = [
|
|
90
|
+
{ path: "cart.lineItems.image.focalPoint.x" },
|
|
91
|
+
{ path: "cart.lineItems.image.focalPoint.y" },
|
|
92
|
+
{ path: "cart.lineItems.physicalProperties.weight" },
|
|
93
|
+
{ path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight" },
|
|
94
|
+
{ path: "cart.contactInfo.address.geocode.latitude" },
|
|
95
|
+
{ path: "cart.contactInfo.address.geocode.longitude" }
|
|
96
|
+
];
|
|
97
|
+
var TRANSFORM_PATHS_2 = [{ path: "cartFieldmask" }];
|
|
98
|
+
var TRANSFORM_PATHS_3 = [
|
|
99
|
+
{ path: "cartInfo.createdDate" },
|
|
100
|
+
{ path: "cartInfo.updatedDate" },
|
|
101
|
+
{ path: "cartInfo.lineItems.image.urlExpirationDate" },
|
|
102
|
+
{
|
|
103
|
+
path: "cartInfo.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
104
|
+
},
|
|
105
|
+
{ path: "cartInfo.lineItems.serviceProperties.scheduledDate" },
|
|
106
|
+
{ path: "cartInfo.lineItems.serviceProperties.endDate" },
|
|
107
|
+
{ path: "lineItems.image.urlExpirationDate" },
|
|
108
|
+
{ path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate" },
|
|
109
|
+
{ path: "lineItems.serviceProperties.scheduledDate" },
|
|
110
|
+
{ path: "lineItems.serviceProperties.endDate" },
|
|
111
|
+
{
|
|
112
|
+
path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
113
|
+
},
|
|
114
|
+
{ path: "customLineItems.serviceProperties.scheduledDate" },
|
|
115
|
+
{ path: "customLineItems.serviceProperties.endDate" }
|
|
116
|
+
];
|
|
117
|
+
var TRANSFORM_PATHS_4 = [
|
|
118
|
+
{ path: "cartInfo.lineItems.image.focalPoint.x" },
|
|
119
|
+
{ path: "cartInfo.lineItems.image.focalPoint.y" },
|
|
120
|
+
{ path: "lineItems.image.focalPoint.x" },
|
|
121
|
+
{ path: "lineItems.image.focalPoint.y" },
|
|
122
|
+
{ path: "cartInfo.lineItems.physicalProperties.weight" },
|
|
123
|
+
{
|
|
124
|
+
path: "cartInfo.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
125
|
+
},
|
|
126
|
+
{ path: "cartInfo.contactInfo.address.geocode.latitude" },
|
|
127
|
+
{ path: "cartInfo.contactInfo.address.geocode.longitude" },
|
|
128
|
+
{ path: "lineItems.physicalProperties.weight" },
|
|
129
|
+
{ path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
|
|
130
|
+
{ path: "customLineItems.physicalProperties.weight" }
|
|
131
|
+
];
|
|
132
|
+
var TRANSFORM_PATHS_5 = [
|
|
133
|
+
{ path: "lineItems.image.urlExpirationDate" },
|
|
134
|
+
{ path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate" },
|
|
135
|
+
{ path: "lineItems.serviceProperties.scheduledDate" },
|
|
136
|
+
{ path: "lineItems.serviceProperties.endDate" },
|
|
137
|
+
{
|
|
138
|
+
path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
139
|
+
},
|
|
140
|
+
{ path: "customLineItems.serviceProperties.scheduledDate" },
|
|
141
|
+
{ path: "customLineItems.serviceProperties.endDate" }
|
|
142
|
+
];
|
|
143
|
+
var TRANSFORM_PATHS_6 = [
|
|
144
|
+
{ path: "lineItems.image.focalPoint.x" },
|
|
145
|
+
{ path: "lineItems.image.focalPoint.y" },
|
|
146
|
+
{ path: "lineItems.physicalProperties.weight" },
|
|
147
|
+
{ path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
|
|
148
|
+
{ path: "customLineItems.physicalProperties.weight" }
|
|
149
|
+
];
|
|
150
|
+
var TRANSFORM_PATHS_7 = [
|
|
151
|
+
{ path: "shippingAddress.geocode.latitude" },
|
|
152
|
+
{ path: "shippingAddress.geocode.longitude" },
|
|
153
|
+
{ path: "billingAddress.geocode.latitude" },
|
|
154
|
+
{ path: "billingAddress.geocode.longitude" }
|
|
155
|
+
];
|
|
156
|
+
var TRANSFORM_PATHS_8 = [
|
|
157
|
+
{ path: "cart.createdDate" },
|
|
158
|
+
{ path: "cart.updatedDate" },
|
|
159
|
+
{ path: "cart.lineItems.image.urlExpirationDate" },
|
|
160
|
+
{
|
|
161
|
+
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
162
|
+
},
|
|
163
|
+
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
164
|
+
{ path: "cart.lineItems.serviceProperties.endDate" },
|
|
165
|
+
{
|
|
166
|
+
path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
176
|
+
},
|
|
177
|
+
{ path: "membershipOptions.eligibleMemberships.expirationDate" },
|
|
178
|
+
{ path: "membershipOptions.invalidMemberships.membership.expirationDate" },
|
|
179
|
+
{
|
|
180
|
+
path: "membershipOptions.validatedExistingMemberships.memberships.membership.expirationDate"
|
|
181
|
+
}
|
|
182
|
+
];
|
|
183
|
+
var TRANSFORM_PATHS_9 = [
|
|
184
|
+
{ path: "cart.lineItems.image.focalPoint.x" },
|
|
185
|
+
{ path: "cart.lineItems.image.focalPoint.y" },
|
|
186
|
+
{ path: "cart.lineItems.physicalProperties.weight" },
|
|
187
|
+
{ path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight" },
|
|
188
|
+
{ path: "cart.contactInfo.address.geocode.latitude" },
|
|
189
|
+
{ path: "cart.contactInfo.address.geocode.longitude" },
|
|
190
|
+
{
|
|
191
|
+
path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
201
|
+
},
|
|
202
|
+
{ path: "appliedDiscounts.merchantDiscount.percentage" }
|
|
203
|
+
];
|
|
79
204
|
function resolveComWixEcomCartApiV1CurrentCartServiceUrl(opts) {
|
|
80
205
|
const domainToMappings = {
|
|
81
206
|
"www.wixapis.com": [
|
|
@@ -205,29 +330,11 @@ function currentCartGetCurrentCart(payload) {
|
|
|
205
330
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
206
331
|
{
|
|
207
332
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
208
|
-
paths:
|
|
209
|
-
{ path: "cart.createdDate" },
|
|
210
|
-
{ path: "cart.updatedDate" },
|
|
211
|
-
{ path: "cart.lineItems.image.urlExpirationDate" },
|
|
212
|
-
{
|
|
213
|
-
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
214
|
-
},
|
|
215
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
216
|
-
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
217
|
-
]
|
|
333
|
+
paths: TRANSFORM_PATHS_0
|
|
218
334
|
},
|
|
219
335
|
{
|
|
220
336
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
221
|
-
paths:
|
|
222
|
-
{ path: "cart.lineItems.image.focalPoint.x" },
|
|
223
|
-
{ path: "cart.lineItems.image.focalPoint.y" },
|
|
224
|
-
{ path: "cart.lineItems.physicalProperties.weight" },
|
|
225
|
-
{
|
|
226
|
-
path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
227
|
-
},
|
|
228
|
-
{ path: "cart.contactInfo.address.geocode.latitude" },
|
|
229
|
-
{ path: "cart.contactInfo.address.geocode.longitude" }
|
|
230
|
-
]
|
|
337
|
+
paths: TRANSFORM_PATHS_1
|
|
231
338
|
}
|
|
232
339
|
])
|
|
233
340
|
};
|
|
@@ -240,49 +347,15 @@ function updateCurrentCart(payload) {
|
|
|
240
347
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
241
348
|
{
|
|
242
349
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
243
|
-
paths:
|
|
350
|
+
paths: TRANSFORM_PATHS_2
|
|
244
351
|
},
|
|
245
352
|
{
|
|
246
353
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
247
|
-
paths:
|
|
248
|
-
{ path: "cartInfo.createdDate" },
|
|
249
|
-
{ path: "cartInfo.updatedDate" },
|
|
250
|
-
{ path: "cartInfo.lineItems.image.urlExpirationDate" },
|
|
251
|
-
{
|
|
252
|
-
path: "cartInfo.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
253
|
-
},
|
|
254
|
-
{ path: "cartInfo.lineItems.serviceProperties.scheduledDate" },
|
|
255
|
-
{ path: "cartInfo.lineItems.serviceProperties.endDate" },
|
|
256
|
-
{ path: "lineItems.image.urlExpirationDate" },
|
|
257
|
-
{
|
|
258
|
-
path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
259
|
-
},
|
|
260
|
-
{ path: "lineItems.serviceProperties.scheduledDate" },
|
|
261
|
-
{ path: "lineItems.serviceProperties.endDate" },
|
|
262
|
-
{
|
|
263
|
-
path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
264
|
-
},
|
|
265
|
-
{ path: "customLineItems.serviceProperties.scheduledDate" },
|
|
266
|
-
{ path: "customLineItems.serviceProperties.endDate" }
|
|
267
|
-
]
|
|
354
|
+
paths: TRANSFORM_PATHS_3
|
|
268
355
|
},
|
|
269
356
|
{
|
|
270
357
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
271
|
-
paths:
|
|
272
|
-
{ path: "cartInfo.lineItems.image.focalPoint.x" },
|
|
273
|
-
{ path: "cartInfo.lineItems.image.focalPoint.y" },
|
|
274
|
-
{ path: "lineItems.image.focalPoint.x" },
|
|
275
|
-
{ path: "lineItems.image.focalPoint.y" },
|
|
276
|
-
{ path: "cartInfo.lineItems.physicalProperties.weight" },
|
|
277
|
-
{
|
|
278
|
-
path: "cartInfo.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
279
|
-
},
|
|
280
|
-
{ path: "cartInfo.contactInfo.address.geocode.latitude" },
|
|
281
|
-
{ path: "cartInfo.contactInfo.address.geocode.longitude" },
|
|
282
|
-
{ path: "lineItems.physicalProperties.weight" },
|
|
283
|
-
{ path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
|
|
284
|
-
{ path: "customLineItems.physicalProperties.weight" }
|
|
285
|
-
]
|
|
358
|
+
paths: TRANSFORM_PATHS_4
|
|
286
359
|
}
|
|
287
360
|
]);
|
|
288
361
|
const metadata = {
|
|
@@ -302,29 +375,11 @@ function updateCurrentCart(payload) {
|
|
|
302
375
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
303
376
|
{
|
|
304
377
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
305
|
-
paths:
|
|
306
|
-
{ path: "cart.createdDate" },
|
|
307
|
-
{ path: "cart.updatedDate" },
|
|
308
|
-
{ path: "cart.lineItems.image.urlExpirationDate" },
|
|
309
|
-
{
|
|
310
|
-
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
311
|
-
},
|
|
312
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
313
|
-
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
314
|
-
]
|
|
378
|
+
paths: TRANSFORM_PATHS_0
|
|
315
379
|
},
|
|
316
380
|
{
|
|
317
381
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
318
|
-
paths:
|
|
319
|
-
{ path: "cart.lineItems.image.focalPoint.x" },
|
|
320
|
-
{ path: "cart.lineItems.image.focalPoint.y" },
|
|
321
|
-
{ path: "cart.lineItems.physicalProperties.weight" },
|
|
322
|
-
{
|
|
323
|
-
path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
324
|
-
},
|
|
325
|
-
{ path: "cart.contactInfo.address.geocode.latitude" },
|
|
326
|
-
{ path: "cart.contactInfo.address.geocode.longitude" }
|
|
327
|
-
]
|
|
382
|
+
paths: TRANSFORM_PATHS_1
|
|
328
383
|
}
|
|
329
384
|
])
|
|
330
385
|
};
|
|
@@ -337,29 +392,11 @@ function addToCurrentCart(payload) {
|
|
|
337
392
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
338
393
|
{
|
|
339
394
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
340
|
-
paths:
|
|
341
|
-
{ path: "lineItems.image.urlExpirationDate" },
|
|
342
|
-
{
|
|
343
|
-
path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
344
|
-
},
|
|
345
|
-
{ path: "lineItems.serviceProperties.scheduledDate" },
|
|
346
|
-
{ path: "lineItems.serviceProperties.endDate" },
|
|
347
|
-
{
|
|
348
|
-
path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
349
|
-
},
|
|
350
|
-
{ path: "customLineItems.serviceProperties.scheduledDate" },
|
|
351
|
-
{ path: "customLineItems.serviceProperties.endDate" }
|
|
352
|
-
]
|
|
395
|
+
paths: TRANSFORM_PATHS_5
|
|
353
396
|
},
|
|
354
397
|
{
|
|
355
398
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
356
|
-
paths:
|
|
357
|
-
{ path: "lineItems.image.focalPoint.x" },
|
|
358
|
-
{ path: "lineItems.image.focalPoint.y" },
|
|
359
|
-
{ path: "lineItems.physicalProperties.weight" },
|
|
360
|
-
{ path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
|
|
361
|
-
{ path: "customLineItems.physicalProperties.weight" }
|
|
362
|
-
]
|
|
399
|
+
paths: TRANSFORM_PATHS_6
|
|
363
400
|
}
|
|
364
401
|
]);
|
|
365
402
|
const metadata = {
|
|
@@ -379,29 +416,11 @@ function addToCurrentCart(payload) {
|
|
|
379
416
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
380
417
|
{
|
|
381
418
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
382
|
-
paths:
|
|
383
|
-
{ path: "cart.createdDate" },
|
|
384
|
-
{ path: "cart.updatedDate" },
|
|
385
|
-
{ path: "cart.lineItems.image.urlExpirationDate" },
|
|
386
|
-
{
|
|
387
|
-
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
388
|
-
},
|
|
389
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
390
|
-
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
391
|
-
]
|
|
419
|
+
paths: TRANSFORM_PATHS_0
|
|
392
420
|
},
|
|
393
421
|
{
|
|
394
422
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
395
|
-
paths:
|
|
396
|
-
{ path: "cart.lineItems.image.focalPoint.x" },
|
|
397
|
-
{ path: "cart.lineItems.image.focalPoint.y" },
|
|
398
|
-
{ path: "cart.lineItems.physicalProperties.weight" },
|
|
399
|
-
{
|
|
400
|
-
path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
401
|
-
},
|
|
402
|
-
{ path: "cart.contactInfo.address.geocode.latitude" },
|
|
403
|
-
{ path: "cart.contactInfo.address.geocode.longitude" }
|
|
404
|
-
]
|
|
423
|
+
paths: TRANSFORM_PATHS_1
|
|
405
424
|
}
|
|
406
425
|
])
|
|
407
426
|
};
|
|
@@ -428,29 +447,11 @@ function removeLineItemsFromCurrentCart(payload) {
|
|
|
428
447
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
429
448
|
{
|
|
430
449
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
431
|
-
paths:
|
|
432
|
-
{ path: "cart.createdDate" },
|
|
433
|
-
{ path: "cart.updatedDate" },
|
|
434
|
-
{ path: "cart.lineItems.image.urlExpirationDate" },
|
|
435
|
-
{
|
|
436
|
-
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
437
|
-
},
|
|
438
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
439
|
-
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
440
|
-
]
|
|
450
|
+
paths: TRANSFORM_PATHS_0
|
|
441
451
|
},
|
|
442
452
|
{
|
|
443
453
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
444
|
-
paths:
|
|
445
|
-
{ path: "cart.lineItems.image.focalPoint.x" },
|
|
446
|
-
{ path: "cart.lineItems.image.focalPoint.y" },
|
|
447
|
-
{ path: "cart.lineItems.physicalProperties.weight" },
|
|
448
|
-
{
|
|
449
|
-
path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
450
|
-
},
|
|
451
|
-
{ path: "cart.contactInfo.address.geocode.latitude" },
|
|
452
|
-
{ path: "cart.contactInfo.address.geocode.longitude" }
|
|
453
|
-
]
|
|
454
|
+
paths: TRANSFORM_PATHS_1
|
|
454
455
|
}
|
|
455
456
|
])
|
|
456
457
|
};
|
|
@@ -463,12 +464,7 @@ function createCheckoutFromCurrentCart(payload) {
|
|
|
463
464
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
464
465
|
{
|
|
465
466
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
466
|
-
paths:
|
|
467
|
-
{ path: "shippingAddress.geocode.latitude" },
|
|
468
|
-
{ path: "shippingAddress.geocode.longitude" },
|
|
469
|
-
{ path: "billingAddress.geocode.latitude" },
|
|
470
|
-
{ path: "billingAddress.geocode.longitude" }
|
|
471
|
-
]
|
|
467
|
+
paths: TRANSFORM_PATHS_7
|
|
472
468
|
}
|
|
473
469
|
]);
|
|
474
470
|
const metadata = {
|
|
@@ -509,29 +505,11 @@ function removeCouponFromCurrentCart(payload) {
|
|
|
509
505
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
510
506
|
{
|
|
511
507
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
512
|
-
paths:
|
|
513
|
-
{ path: "cart.createdDate" },
|
|
514
|
-
{ path: "cart.updatedDate" },
|
|
515
|
-
{ path: "cart.lineItems.image.urlExpirationDate" },
|
|
516
|
-
{
|
|
517
|
-
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
518
|
-
},
|
|
519
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
520
|
-
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
521
|
-
]
|
|
508
|
+
paths: TRANSFORM_PATHS_0
|
|
522
509
|
},
|
|
523
510
|
{
|
|
524
511
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
525
|
-
paths:
|
|
526
|
-
{ path: "cart.lineItems.image.focalPoint.x" },
|
|
527
|
-
{ path: "cart.lineItems.image.focalPoint.y" },
|
|
528
|
-
{ path: "cart.lineItems.physicalProperties.weight" },
|
|
529
|
-
{
|
|
530
|
-
path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
531
|
-
},
|
|
532
|
-
{ path: "cart.contactInfo.address.geocode.latitude" },
|
|
533
|
-
{ path: "cart.contactInfo.address.geocode.longitude" }
|
|
534
|
-
]
|
|
512
|
+
paths: TRANSFORM_PATHS_1
|
|
535
513
|
}
|
|
536
514
|
])
|
|
537
515
|
};
|
|
@@ -558,29 +536,11 @@ function updateCurrentCartLineItemQuantity(payload) {
|
|
|
558
536
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
559
537
|
{
|
|
560
538
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
561
|
-
paths:
|
|
562
|
-
{ path: "cart.createdDate" },
|
|
563
|
-
{ path: "cart.updatedDate" },
|
|
564
|
-
{ path: "cart.lineItems.image.urlExpirationDate" },
|
|
565
|
-
{
|
|
566
|
-
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
567
|
-
},
|
|
568
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
569
|
-
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
570
|
-
]
|
|
539
|
+
paths: TRANSFORM_PATHS_0
|
|
571
540
|
},
|
|
572
541
|
{
|
|
573
542
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
574
|
-
paths:
|
|
575
|
-
{ path: "cart.lineItems.image.focalPoint.x" },
|
|
576
|
-
{ path: "cart.lineItems.image.focalPoint.y" },
|
|
577
|
-
{ path: "cart.lineItems.physicalProperties.weight" },
|
|
578
|
-
{
|
|
579
|
-
path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
580
|
-
},
|
|
581
|
-
{ path: "cart.contactInfo.address.geocode.latitude" },
|
|
582
|
-
{ path: "cart.contactInfo.address.geocode.longitude" }
|
|
583
|
-
]
|
|
543
|
+
paths: TRANSFORM_PATHS_1
|
|
584
544
|
}
|
|
585
545
|
])
|
|
586
546
|
};
|
|
@@ -593,12 +553,7 @@ function estimateCurrentCartTotals(payload) {
|
|
|
593
553
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
594
554
|
{
|
|
595
555
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
596
|
-
paths:
|
|
597
|
-
{ path: "shippingAddress.geocode.latitude" },
|
|
598
|
-
{ path: "shippingAddress.geocode.longitude" },
|
|
599
|
-
{ path: "billingAddress.geocode.latitude" },
|
|
600
|
-
{ path: "billingAddress.geocode.longitude" }
|
|
601
|
-
]
|
|
556
|
+
paths: TRANSFORM_PATHS_7
|
|
602
557
|
}
|
|
603
558
|
]);
|
|
604
559
|
const metadata = {
|
|
@@ -618,61 +573,11 @@ function estimateCurrentCartTotals(payload) {
|
|
|
618
573
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
619
574
|
{
|
|
620
575
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
621
|
-
paths:
|
|
622
|
-
{ path: "cart.createdDate" },
|
|
623
|
-
{ path: "cart.updatedDate" },
|
|
624
|
-
{ path: "cart.lineItems.image.urlExpirationDate" },
|
|
625
|
-
{
|
|
626
|
-
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
627
|
-
},
|
|
628
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
629
|
-
{ path: "cart.lineItems.serviceProperties.endDate" },
|
|
630
|
-
{
|
|
631
|
-
path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
641
|
-
},
|
|
642
|
-
{ path: "membershipOptions.eligibleMemberships.expirationDate" },
|
|
643
|
-
{
|
|
644
|
-
path: "membershipOptions.invalidMemberships.membership.expirationDate"
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
path: "membershipOptions.validatedExistingMemberships.memberships.membership.expirationDate"
|
|
648
|
-
}
|
|
649
|
-
]
|
|
576
|
+
paths: TRANSFORM_PATHS_8
|
|
650
577
|
},
|
|
651
578
|
{
|
|
652
579
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
653
|
-
paths:
|
|
654
|
-
{ path: "cart.lineItems.image.focalPoint.x" },
|
|
655
|
-
{ path: "cart.lineItems.image.focalPoint.y" },
|
|
656
|
-
{ path: "cart.lineItems.physicalProperties.weight" },
|
|
657
|
-
{
|
|
658
|
-
path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
659
|
-
},
|
|
660
|
-
{ path: "cart.contactInfo.address.geocode.latitude" },
|
|
661
|
-
{ path: "cart.contactInfo.address.geocode.longitude" },
|
|
662
|
-
{
|
|
663
|
-
path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
670
|
-
},
|
|
671
|
-
{
|
|
672
|
-
path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
673
|
-
},
|
|
674
|
-
{ path: "appliedDiscounts.merchantDiscount.percentage" }
|
|
675
|
-
]
|
|
580
|
+
paths: TRANSFORM_PATHS_9
|
|
676
581
|
}
|
|
677
582
|
])
|
|
678
583
|
};
|
|
@@ -710,6 +615,47 @@ var import_image2 = require("@wix/sdk-runtime/transformations/image");
|
|
|
710
615
|
var import_page_url_v2 = require("@wix/sdk-runtime/transformations/page-url-v2");
|
|
711
616
|
var import_page_url_v22 = require("@wix/sdk-runtime/transformations/page-url-v2");
|
|
712
617
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
618
|
+
var TRANSFORM_PATHS_02 = [{ path: "cart.lineItems.url" }];
|
|
619
|
+
var TRANSFORM_PATHS_12 = [
|
|
620
|
+
{ path: "cart.lineItems.image" },
|
|
621
|
+
{ path: "cart.lineItems.catalogOverrideFields.image" }
|
|
622
|
+
];
|
|
623
|
+
var TRANSFORM_PATHS_22 = [{ path: "cart.contactInfo.address" }];
|
|
624
|
+
var TRANSFORM_PATHS_32 = [
|
|
625
|
+
{ path: "cartInfo.lineItems.url" },
|
|
626
|
+
{ path: "lineItems.url" },
|
|
627
|
+
{ path: "customLineItems.url" }
|
|
628
|
+
];
|
|
629
|
+
var TRANSFORM_PATHS_42 = [
|
|
630
|
+
{ path: "cartInfo.lineItems.image" },
|
|
631
|
+
{ path: "cartInfo.lineItems.catalogOverrideFields.image" },
|
|
632
|
+
{ path: "lineItems.image" },
|
|
633
|
+
{ path: "lineItems.catalogOverrideFields.image" },
|
|
634
|
+
{ path: "customLineItems.media" }
|
|
635
|
+
];
|
|
636
|
+
var TRANSFORM_PATHS_52 = [{ path: "cartInfo.contactInfo.address" }];
|
|
637
|
+
var TRANSFORM_PATHS_62 = [
|
|
638
|
+
{ path: "lineItems.url" },
|
|
639
|
+
{ path: "customLineItems.url" }
|
|
640
|
+
];
|
|
641
|
+
var TRANSFORM_PATHS_72 = [
|
|
642
|
+
{ path: "lineItems.image" },
|
|
643
|
+
{ path: "lineItems.catalogOverrideFields.image" },
|
|
644
|
+
{ path: "customLineItems.media" }
|
|
645
|
+
];
|
|
646
|
+
var TRANSFORM_PATHS_82 = [
|
|
647
|
+
{ path: "shippingAddress" },
|
|
648
|
+
{ path: "billingAddress" }
|
|
649
|
+
];
|
|
650
|
+
var TRANSFORM_PATHS_92 = [
|
|
651
|
+
{ path: "cart.contactInfo.address" },
|
|
652
|
+
{
|
|
653
|
+
path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address"
|
|
657
|
+
}
|
|
658
|
+
];
|
|
713
659
|
var DescriptionLineType = /* @__PURE__ */ ((DescriptionLineType2) => {
|
|
714
660
|
DescriptionLineType2["UNRECOGNISED"] = "UNRECOGNISED";
|
|
715
661
|
DescriptionLineType2["PLAIN_TEXT"] = "PLAIN_TEXT";
|
|
@@ -953,18 +899,15 @@ async function getCurrentCart() {
|
|
|
953
899
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
954
900
|
{
|
|
955
901
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
956
|
-
paths:
|
|
902
|
+
paths: TRANSFORM_PATHS_02
|
|
957
903
|
},
|
|
958
904
|
{
|
|
959
905
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
960
|
-
paths:
|
|
961
|
-
{ path: "cart.lineItems.image" },
|
|
962
|
-
{ path: "cart.lineItems.catalogOverrideFields.image" }
|
|
963
|
-
]
|
|
906
|
+
paths: TRANSFORM_PATHS_12
|
|
964
907
|
},
|
|
965
908
|
{
|
|
966
909
|
transformFn: import_address2.transformRESTAddressToSDKAddress,
|
|
967
|
-
paths:
|
|
910
|
+
paths: TRANSFORM_PATHS_22
|
|
968
911
|
}
|
|
969
912
|
])
|
|
970
913
|
)?.cart;
|
|
@@ -994,25 +937,15 @@ async function updateCurrentCart2(options) {
|
|
|
994
937
|
[
|
|
995
938
|
{
|
|
996
939
|
transformFn: import_page_url_v2.transformSDKPageURLV2ToRESTPageURLV2,
|
|
997
|
-
paths:
|
|
998
|
-
{ path: "cartInfo.lineItems.url" },
|
|
999
|
-
{ path: "lineItems.url" },
|
|
1000
|
-
{ path: "customLineItems.url" }
|
|
1001
|
-
]
|
|
940
|
+
paths: TRANSFORM_PATHS_32
|
|
1002
941
|
},
|
|
1003
942
|
{
|
|
1004
943
|
transformFn: import_image.transformSDKImageToRESTImage,
|
|
1005
|
-
paths:
|
|
1006
|
-
{ path: "cartInfo.lineItems.image" },
|
|
1007
|
-
{ path: "cartInfo.lineItems.catalogOverrideFields.image" },
|
|
1008
|
-
{ path: "lineItems.image" },
|
|
1009
|
-
{ path: "lineItems.catalogOverrideFields.image" },
|
|
1010
|
-
{ path: "customLineItems.media" }
|
|
1011
|
-
]
|
|
944
|
+
paths: TRANSFORM_PATHS_42
|
|
1012
945
|
},
|
|
1013
946
|
{
|
|
1014
947
|
transformFn: import_address.transformSDKAddressToRESTAddress,
|
|
1015
|
-
paths:
|
|
948
|
+
paths: TRANSFORM_PATHS_52
|
|
1016
949
|
}
|
|
1017
950
|
]
|
|
1018
951
|
);
|
|
@@ -1025,18 +958,15 @@ async function updateCurrentCart2(options) {
|
|
|
1025
958
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1026
959
|
{
|
|
1027
960
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1028
|
-
paths:
|
|
961
|
+
paths: TRANSFORM_PATHS_02
|
|
1029
962
|
},
|
|
1030
963
|
{
|
|
1031
964
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1032
|
-
paths:
|
|
1033
|
-
{ path: "cart.lineItems.image" },
|
|
1034
|
-
{ path: "cart.lineItems.catalogOverrideFields.image" }
|
|
1035
|
-
]
|
|
965
|
+
paths: TRANSFORM_PATHS_12
|
|
1036
966
|
},
|
|
1037
967
|
{
|
|
1038
968
|
transformFn: import_address2.transformRESTAddressToSDKAddress,
|
|
1039
|
-
paths:
|
|
969
|
+
paths: TRANSFORM_PATHS_22
|
|
1040
970
|
}
|
|
1041
971
|
])
|
|
1042
972
|
)?.cart;
|
|
@@ -1070,15 +1000,11 @@ async function addToCurrentCart2(options) {
|
|
|
1070
1000
|
[
|
|
1071
1001
|
{
|
|
1072
1002
|
transformFn: import_page_url_v2.transformSDKPageURLV2ToRESTPageURLV2,
|
|
1073
|
-
paths:
|
|
1003
|
+
paths: TRANSFORM_PATHS_62
|
|
1074
1004
|
},
|
|
1075
1005
|
{
|
|
1076
1006
|
transformFn: import_image.transformSDKImageToRESTImage,
|
|
1077
|
-
paths:
|
|
1078
|
-
{ path: "lineItems.image" },
|
|
1079
|
-
{ path: "lineItems.catalogOverrideFields.image" },
|
|
1080
|
-
{ path: "customLineItems.media" }
|
|
1081
|
-
]
|
|
1007
|
+
paths: TRANSFORM_PATHS_72
|
|
1082
1008
|
}
|
|
1083
1009
|
]
|
|
1084
1010
|
);
|
|
@@ -1091,18 +1017,15 @@ async function addToCurrentCart2(options) {
|
|
|
1091
1017
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1092
1018
|
{
|
|
1093
1019
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1094
|
-
paths:
|
|
1020
|
+
paths: TRANSFORM_PATHS_02
|
|
1095
1021
|
},
|
|
1096
1022
|
{
|
|
1097
1023
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1098
|
-
paths:
|
|
1099
|
-
{ path: "cart.lineItems.image" },
|
|
1100
|
-
{ path: "cart.lineItems.catalogOverrideFields.image" }
|
|
1101
|
-
]
|
|
1024
|
+
paths: TRANSFORM_PATHS_12
|
|
1102
1025
|
},
|
|
1103
1026
|
{
|
|
1104
1027
|
transformFn: import_address2.transformRESTAddressToSDKAddress,
|
|
1105
|
-
paths:
|
|
1028
|
+
paths: TRANSFORM_PATHS_22
|
|
1106
1029
|
}
|
|
1107
1030
|
])
|
|
1108
1031
|
);
|
|
@@ -1138,18 +1061,15 @@ async function removeLineItemsFromCurrentCart2(lineItemIds) {
|
|
|
1138
1061
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1139
1062
|
{
|
|
1140
1063
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1141
|
-
paths:
|
|
1064
|
+
paths: TRANSFORM_PATHS_02
|
|
1142
1065
|
},
|
|
1143
1066
|
{
|
|
1144
1067
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1145
|
-
paths:
|
|
1146
|
-
{ path: "cart.lineItems.image" },
|
|
1147
|
-
{ path: "cart.lineItems.catalogOverrideFields.image" }
|
|
1148
|
-
]
|
|
1068
|
+
paths: TRANSFORM_PATHS_12
|
|
1149
1069
|
},
|
|
1150
1070
|
{
|
|
1151
1071
|
transformFn: import_address2.transformRESTAddressToSDKAddress,
|
|
1152
|
-
paths:
|
|
1072
|
+
paths: TRANSFORM_PATHS_22
|
|
1153
1073
|
}
|
|
1154
1074
|
])
|
|
1155
1075
|
);
|
|
@@ -1180,7 +1100,7 @@ async function createCheckoutFromCurrentCart2(options) {
|
|
|
1180
1100
|
[
|
|
1181
1101
|
{
|
|
1182
1102
|
transformFn: import_address.transformSDKAddressToRESTAddress,
|
|
1183
|
-
paths:
|
|
1103
|
+
paths: TRANSFORM_PATHS_82
|
|
1184
1104
|
}
|
|
1185
1105
|
]
|
|
1186
1106
|
);
|
|
@@ -1222,18 +1142,15 @@ async function removeCouponFromCurrentCart2() {
|
|
|
1222
1142
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1223
1143
|
{
|
|
1224
1144
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1225
|
-
paths:
|
|
1145
|
+
paths: TRANSFORM_PATHS_02
|
|
1226
1146
|
},
|
|
1227
1147
|
{
|
|
1228
1148
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1229
|
-
paths:
|
|
1230
|
-
{ path: "cart.lineItems.image" },
|
|
1231
|
-
{ path: "cart.lineItems.catalogOverrideFields.image" }
|
|
1232
|
-
]
|
|
1149
|
+
paths: TRANSFORM_PATHS_12
|
|
1233
1150
|
},
|
|
1234
1151
|
{
|
|
1235
1152
|
transformFn: import_address2.transformRESTAddressToSDKAddress,
|
|
1236
|
-
paths:
|
|
1153
|
+
paths: TRANSFORM_PATHS_22
|
|
1237
1154
|
}
|
|
1238
1155
|
])
|
|
1239
1156
|
);
|
|
@@ -1265,18 +1182,15 @@ async function updateCurrentCartLineItemQuantity2(lineItems) {
|
|
|
1265
1182
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1266
1183
|
{
|
|
1267
1184
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1268
|
-
paths:
|
|
1185
|
+
paths: TRANSFORM_PATHS_02
|
|
1269
1186
|
},
|
|
1270
1187
|
{
|
|
1271
1188
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1272
|
-
paths:
|
|
1273
|
-
{ path: "cart.lineItems.image" },
|
|
1274
|
-
{ path: "cart.lineItems.catalogOverrideFields.image" }
|
|
1275
|
-
]
|
|
1189
|
+
paths: TRANSFORM_PATHS_12
|
|
1276
1190
|
},
|
|
1277
1191
|
{
|
|
1278
1192
|
transformFn: import_address2.transformRESTAddressToSDKAddress,
|
|
1279
|
-
paths:
|
|
1193
|
+
paths: TRANSFORM_PATHS_22
|
|
1280
1194
|
}
|
|
1281
1195
|
])
|
|
1282
1196
|
);
|
|
@@ -1309,7 +1223,7 @@ async function estimateCurrentCartTotals2(options) {
|
|
|
1309
1223
|
[
|
|
1310
1224
|
{
|
|
1311
1225
|
transformFn: import_address.transformSDKAddressToRESTAddress,
|
|
1312
|
-
paths:
|
|
1226
|
+
paths: TRANSFORM_PATHS_82
|
|
1313
1227
|
}
|
|
1314
1228
|
]
|
|
1315
1229
|
);
|
|
@@ -1322,26 +1236,15 @@ async function estimateCurrentCartTotals2(options) {
|
|
|
1322
1236
|
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
1323
1237
|
{
|
|
1324
1238
|
transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
|
|
1325
|
-
paths:
|
|
1239
|
+
paths: TRANSFORM_PATHS_02
|
|
1326
1240
|
},
|
|
1327
1241
|
{
|
|
1328
1242
|
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
1329
|
-
paths:
|
|
1330
|
-
{ path: "cart.lineItems.image" },
|
|
1331
|
-
{ path: "cart.lineItems.catalogOverrideFields.image" }
|
|
1332
|
-
]
|
|
1243
|
+
paths: TRANSFORM_PATHS_12
|
|
1333
1244
|
},
|
|
1334
1245
|
{
|
|
1335
1246
|
transformFn: import_address2.transformRESTAddressToSDKAddress,
|
|
1336
|
-
paths:
|
|
1337
|
-
{ path: "cart.contactInfo.address" },
|
|
1338
|
-
{
|
|
1339
|
-
path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address"
|
|
1340
|
-
},
|
|
1341
|
-
{
|
|
1342
|
-
path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address"
|
|
1343
|
-
}
|
|
1344
|
-
]
|
|
1247
|
+
paths: TRANSFORM_PATHS_92
|
|
1345
1248
|
}
|
|
1346
1249
|
])
|
|
1347
1250
|
);
|