@wix/auto_sdk_ecom_orders 1.0.300 → 1.0.301
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 +480 -1275
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +307 -978
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +239 -808
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +480 -1275
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +307 -978
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +239 -808
- package/build/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.js
CHANGED
|
@@ -126,6 +126,196 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
|
126
126
|
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
127
127
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
128
128
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
129
|
+
var TRANSFORM_PATHS_0 = [
|
|
130
|
+
{ path: "order.createdDate" },
|
|
131
|
+
{ path: "order.updatedDate" },
|
|
132
|
+
{ path: "order.purchasedDate" },
|
|
133
|
+
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
134
|
+
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
135
|
+
{ path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate" },
|
|
136
|
+
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
137
|
+
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
138
|
+
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
139
|
+
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
140
|
+
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
141
|
+
{ path: "order.activities.createdDate" }
|
|
142
|
+
];
|
|
143
|
+
var TRANSFORM_PATHS_1 = [
|
|
144
|
+
{ path: "order.lineItems.image.focalPoint.x" },
|
|
145
|
+
{ path: "order.lineItems.image.focalPoint.y" },
|
|
146
|
+
{ path: "order.lineItems.physicalProperties.weight" },
|
|
147
|
+
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
148
|
+
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
149
|
+
{
|
|
150
|
+
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
160
|
+
},
|
|
161
|
+
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
162
|
+
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
163
|
+
];
|
|
164
|
+
var TRANSFORM_PATHS_2 = [
|
|
165
|
+
{ path: "results.item.createdDate" },
|
|
166
|
+
{ path: "results.item.updatedDate" },
|
|
167
|
+
{ path: "results.item.purchasedDate" },
|
|
168
|
+
{ path: "results.item.lineItems.image.urlExpirationDate" },
|
|
169
|
+
{ path: "results.item.lineItems.digitalFile.expirationDate" },
|
|
170
|
+
{
|
|
171
|
+
path: "results.item.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
172
|
+
},
|
|
173
|
+
{ path: "results.item.lineItems.serviceProperties.scheduledDate" },
|
|
174
|
+
{ path: "results.item.lineItems.serviceProperties.endDate" },
|
|
175
|
+
{ path: "results.item.shippingInfo.logistics.deliverByDate" },
|
|
176
|
+
{ path: "results.item.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
177
|
+
{ path: "results.item.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
178
|
+
{ path: "results.item.activities.createdDate" }
|
|
179
|
+
];
|
|
180
|
+
var TRANSFORM_PATHS_3 = [
|
|
181
|
+
{ path: "results.item.lineItems.image.focalPoint.x" },
|
|
182
|
+
{ path: "results.item.lineItems.image.focalPoint.y" },
|
|
183
|
+
{ path: "results.item.lineItems.physicalProperties.weight" },
|
|
184
|
+
{ path: "results.item.billingInfo.address.geocode.latitude" },
|
|
185
|
+
{ path: "results.item.billingInfo.address.geocode.longitude" },
|
|
186
|
+
{
|
|
187
|
+
path: "results.item.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
path: "results.item.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
path: "results.item.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
path: "results.item.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
197
|
+
},
|
|
198
|
+
{ path: "results.item.recipientInfo.address.geocode.latitude" },
|
|
199
|
+
{ path: "results.item.recipientInfo.address.geocode.longitude" }
|
|
200
|
+
];
|
|
201
|
+
var TRANSFORM_PATHS_4 = [
|
|
202
|
+
{ path: "membershipCharges.serviceProperties.scheduledDate" },
|
|
203
|
+
{ path: "membershipCharges.serviceProperties.endDate" }
|
|
204
|
+
];
|
|
205
|
+
var TRANSFORM_PATHS_5 = [
|
|
206
|
+
{ path: "orderTransactions.payments.createdDate" },
|
|
207
|
+
{ path: "orderTransactions.payments.updatedDate" },
|
|
208
|
+
{
|
|
209
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.authorizedDate"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.captures.createdDate"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.void.voidedDate"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
path: "orderTransactions.payments.regularPaymentDetails.chargebacks.createdDate"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
path: "orderTransactions.payments.regularPaymentDetails.chargebacks.updatedDate"
|
|
225
|
+
},
|
|
226
|
+
{ path: "orderTransactions.refunds.createdDate" }
|
|
227
|
+
];
|
|
228
|
+
var TRANSFORM_PATHS_6 = [
|
|
229
|
+
{ path: "search.sort.origin.latitude" },
|
|
230
|
+
{ path: "search.sort.origin.longitude" }
|
|
231
|
+
];
|
|
232
|
+
var TRANSFORM_PATHS_7 = [
|
|
233
|
+
{ path: "orders.createdDate" },
|
|
234
|
+
{ path: "orders.updatedDate" },
|
|
235
|
+
{ path: "orders.purchasedDate" },
|
|
236
|
+
{ path: "orders.lineItems.image.urlExpirationDate" },
|
|
237
|
+
{ path: "orders.lineItems.digitalFile.expirationDate" },
|
|
238
|
+
{ path: "orders.lineItems.subscriptionInfo.subscriptionSettings.startDate" },
|
|
239
|
+
{ path: "orders.lineItems.serviceProperties.scheduledDate" },
|
|
240
|
+
{ path: "orders.lineItems.serviceProperties.endDate" },
|
|
241
|
+
{ path: "orders.shippingInfo.logistics.deliverByDate" },
|
|
242
|
+
{ path: "orders.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
243
|
+
{ path: "orders.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
244
|
+
{ path: "orders.activities.createdDate" }
|
|
245
|
+
];
|
|
246
|
+
var TRANSFORM_PATHS_8 = [
|
|
247
|
+
{ path: "orders.lineItems.image.focalPoint.x" },
|
|
248
|
+
{ path: "orders.lineItems.image.focalPoint.y" },
|
|
249
|
+
{ path: "orders.lineItems.physicalProperties.weight" },
|
|
250
|
+
{ path: "orders.billingInfo.address.geocode.latitude" },
|
|
251
|
+
{ path: "orders.billingInfo.address.geocode.longitude" },
|
|
252
|
+
{
|
|
253
|
+
path: "orders.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
path: "orders.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
path: "orders.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
path: "orders.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
263
|
+
},
|
|
264
|
+
{ path: "orders.recipientInfo.address.geocode.latitude" },
|
|
265
|
+
{ path: "orders.recipientInfo.address.geocode.longitude" }
|
|
266
|
+
];
|
|
267
|
+
var TRANSFORM_PATHS_9 = [{ path: "fieldMask" }];
|
|
268
|
+
var TRANSFORM_PATHS_10 = [{ path: "orders.fieldMask" }];
|
|
269
|
+
var TRANSFORM_PATHS_11 = [
|
|
270
|
+
{ path: "orders.order.createdDate" },
|
|
271
|
+
{ path: "orders.order.updatedDate" },
|
|
272
|
+
{ path: "orders.order.purchasedDate" },
|
|
273
|
+
{ path: "orders.order.lineItems.image.urlExpirationDate" },
|
|
274
|
+
{ path: "orders.order.lineItems.digitalFile.expirationDate" },
|
|
275
|
+
{
|
|
276
|
+
path: "orders.order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
277
|
+
},
|
|
278
|
+
{ path: "orders.order.lineItems.serviceProperties.scheduledDate" },
|
|
279
|
+
{ path: "orders.order.lineItems.serviceProperties.endDate" },
|
|
280
|
+
{ path: "orders.order.shippingInfo.logistics.deliverByDate" },
|
|
281
|
+
{ path: "orders.order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
282
|
+
{ path: "orders.order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
283
|
+
{ path: "orders.order.activities.createdDate" }
|
|
284
|
+
];
|
|
285
|
+
var TRANSFORM_PATHS_12 = [
|
|
286
|
+
{ path: "orders.order.lineItems.image.focalPoint.x" },
|
|
287
|
+
{ path: "orders.order.lineItems.image.focalPoint.y" },
|
|
288
|
+
{ path: "orders.order.lineItems.physicalProperties.weight" },
|
|
289
|
+
{ path: "orders.order.billingInfo.address.geocode.latitude" },
|
|
290
|
+
{ path: "orders.order.billingInfo.address.geocode.longitude" },
|
|
291
|
+
{
|
|
292
|
+
path: "orders.order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
path: "orders.order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
path: "orders.order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
path: "orders.order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
302
|
+
},
|
|
303
|
+
{ path: "orders.order.recipientInfo.address.geocode.latitude" },
|
|
304
|
+
{ path: "orders.order.recipientInfo.address.geocode.longitude" }
|
|
305
|
+
];
|
|
306
|
+
var TRANSFORM_PATHS_13 = [
|
|
307
|
+
{ path: "lineItem.image.urlExpirationDate" },
|
|
308
|
+
{ path: "lineItem.digitalFile.expirationDate" },
|
|
309
|
+
{ path: "lineItem.subscriptionInfo.subscriptionSettings.startDate" },
|
|
310
|
+
{ path: "lineItem.serviceProperties.scheduledDate" },
|
|
311
|
+
{ path: "lineItem.serviceProperties.endDate" }
|
|
312
|
+
];
|
|
313
|
+
var TRANSFORM_PATHS_14 = [
|
|
314
|
+
{ path: "lineItem.image.focalPoint.x" },
|
|
315
|
+
{ path: "lineItem.image.focalPoint.y" },
|
|
316
|
+
{ path: "lineItem.physicalProperties.weight" }
|
|
317
|
+
];
|
|
318
|
+
var TRANSFORM_PATHS_15 = [{ path: "orderActivities.createdDate" }];
|
|
129
319
|
function resolveComWixEcomOrdersV1OrdersUrl(opts) {
|
|
130
320
|
const domainToMappings = {
|
|
131
321
|
_: [
|
|
@@ -289,46 +479,11 @@ function importOrder(payload) {
|
|
|
289
479
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
290
480
|
{
|
|
291
481
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
292
|
-
paths:
|
|
293
|
-
{ path: "order.createdDate" },
|
|
294
|
-
{ path: "order.updatedDate" },
|
|
295
|
-
{ path: "order.purchasedDate" },
|
|
296
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
297
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
298
|
-
{
|
|
299
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
300
|
-
},
|
|
301
|
-
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
302
|
-
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
303
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
304
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
305
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
306
|
-
{ path: "order.activities.createdDate" }
|
|
307
|
-
]
|
|
482
|
+
paths: TRANSFORM_PATHS_0
|
|
308
483
|
},
|
|
309
484
|
{
|
|
310
485
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
311
|
-
paths:
|
|
312
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
313
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
314
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
315
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
316
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
317
|
-
{
|
|
318
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
328
|
-
},
|
|
329
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
330
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
331
|
-
]
|
|
486
|
+
paths: TRANSFORM_PATHS_1
|
|
332
487
|
}
|
|
333
488
|
]);
|
|
334
489
|
const metadata = {
|
|
@@ -348,46 +503,11 @@ function importOrder(payload) {
|
|
|
348
503
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
349
504
|
{
|
|
350
505
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
351
|
-
paths:
|
|
352
|
-
{ path: "order.createdDate" },
|
|
353
|
-
{ path: "order.updatedDate" },
|
|
354
|
-
{ path: "order.purchasedDate" },
|
|
355
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
356
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
357
|
-
{
|
|
358
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
359
|
-
},
|
|
360
|
-
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
361
|
-
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
362
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
363
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
364
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
365
|
-
{ path: "order.activities.createdDate" }
|
|
366
|
-
]
|
|
506
|
+
paths: TRANSFORM_PATHS_0
|
|
367
507
|
},
|
|
368
508
|
{
|
|
369
509
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
370
|
-
paths:
|
|
371
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
372
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
373
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
374
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
375
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
376
|
-
{
|
|
377
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
387
|
-
},
|
|
388
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
389
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
390
|
-
]
|
|
510
|
+
paths: TRANSFORM_PATHS_1
|
|
391
511
|
}
|
|
392
512
|
])
|
|
393
513
|
};
|
|
@@ -519,46 +639,11 @@ function paymentCollectionMarkOrderAsPaid(payload) {
|
|
|
519
639
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
520
640
|
{
|
|
521
641
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
522
|
-
paths:
|
|
523
|
-
{ path: "order.createdDate" },
|
|
524
|
-
{ path: "order.updatedDate" },
|
|
525
|
-
{ path: "order.purchasedDate" },
|
|
526
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
527
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
528
|
-
{
|
|
529
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
530
|
-
},
|
|
531
|
-
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
532
|
-
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
533
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
534
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
535
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
536
|
-
{ path: "order.activities.createdDate" }
|
|
537
|
-
]
|
|
642
|
+
paths: TRANSFORM_PATHS_0
|
|
538
643
|
},
|
|
539
644
|
{
|
|
540
645
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
541
|
-
paths:
|
|
542
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
543
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
544
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
545
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
546
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
547
|
-
{
|
|
548
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
558
|
-
},
|
|
559
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
560
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
561
|
-
]
|
|
646
|
+
paths: TRANSFORM_PATHS_1
|
|
562
647
|
}
|
|
563
648
|
])
|
|
564
649
|
};
|
|
@@ -585,52 +670,11 @@ function paymentCollectionBulkMarkOrdersAsPaid(payload) {
|
|
|
585
670
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
586
671
|
{
|
|
587
672
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
588
|
-
paths:
|
|
589
|
-
{ path: "results.item.createdDate" },
|
|
590
|
-
{ path: "results.item.updatedDate" },
|
|
591
|
-
{ path: "results.item.purchasedDate" },
|
|
592
|
-
{ path: "results.item.lineItems.image.urlExpirationDate" },
|
|
593
|
-
{ path: "results.item.lineItems.digitalFile.expirationDate" },
|
|
594
|
-
{
|
|
595
|
-
path: "results.item.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
path: "results.item.lineItems.serviceProperties.scheduledDate"
|
|
599
|
-
},
|
|
600
|
-
{ path: "results.item.lineItems.serviceProperties.endDate" },
|
|
601
|
-
{ path: "results.item.shippingInfo.logistics.deliverByDate" },
|
|
602
|
-
{
|
|
603
|
-
path: "results.item.shippingInfo.logistics.deliveryTimeSlot.from"
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
path: "results.item.shippingInfo.logistics.deliveryTimeSlot.to"
|
|
607
|
-
},
|
|
608
|
-
{ path: "results.item.activities.createdDate" }
|
|
609
|
-
]
|
|
673
|
+
paths: TRANSFORM_PATHS_2
|
|
610
674
|
},
|
|
611
675
|
{
|
|
612
676
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
613
|
-
paths:
|
|
614
|
-
{ path: "results.item.lineItems.image.focalPoint.x" },
|
|
615
|
-
{ path: "results.item.lineItems.image.focalPoint.y" },
|
|
616
|
-
{ path: "results.item.lineItems.physicalProperties.weight" },
|
|
617
|
-
{ path: "results.item.billingInfo.address.geocode.latitude" },
|
|
618
|
-
{ path: "results.item.billingInfo.address.geocode.longitude" },
|
|
619
|
-
{
|
|
620
|
-
path: "results.item.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
path: "results.item.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
path: "results.item.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
path: "results.item.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
630
|
-
},
|
|
631
|
-
{ path: "results.item.recipientInfo.address.geocode.latitude" },
|
|
632
|
-
{ path: "results.item.recipientInfo.address.geocode.longitude" }
|
|
633
|
-
]
|
|
677
|
+
paths: TRANSFORM_PATHS_3
|
|
634
678
|
}
|
|
635
679
|
])
|
|
636
680
|
};
|
|
@@ -685,10 +729,7 @@ function chargeMemberships(payload) {
|
|
|
685
729
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
686
730
|
{
|
|
687
731
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
688
|
-
paths:
|
|
689
|
-
{ path: "membershipCharges.serviceProperties.scheduledDate" },
|
|
690
|
-
{ path: "membershipCharges.serviceProperties.endDate" }
|
|
691
|
-
]
|
|
732
|
+
paths: TRANSFORM_PATHS_4
|
|
692
733
|
}
|
|
693
734
|
]);
|
|
694
735
|
const metadata = {
|
|
@@ -729,29 +770,7 @@ function triggerRefund(payload) {
|
|
|
729
770
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
730
771
|
{
|
|
731
772
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
732
|
-
paths:
|
|
733
|
-
{ path: "orderTransactions.payments.createdDate" },
|
|
734
|
-
{ path: "orderTransactions.payments.updatedDate" },
|
|
735
|
-
{
|
|
736
|
-
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.authorizedDate"
|
|
737
|
-
},
|
|
738
|
-
{
|
|
739
|
-
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.captures.createdDate"
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.void.voidedDate"
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
path: "orderTransactions.payments.regularPaymentDetails.chargebacks.createdDate"
|
|
749
|
-
},
|
|
750
|
-
{
|
|
751
|
-
path: "orderTransactions.payments.regularPaymentDetails.chargebacks.updatedDate"
|
|
752
|
-
},
|
|
753
|
-
{ path: "orderTransactions.refunds.createdDate" }
|
|
754
|
-
]
|
|
773
|
+
paths: TRANSFORM_PATHS_5
|
|
755
774
|
}
|
|
756
775
|
])
|
|
757
776
|
};
|
|
@@ -778,29 +797,7 @@ function voidAuthorizedPayments(payload) {
|
|
|
778
797
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
779
798
|
{
|
|
780
799
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
781
|
-
paths:
|
|
782
|
-
{ path: "orderTransactions.payments.createdDate" },
|
|
783
|
-
{ path: "orderTransactions.payments.updatedDate" },
|
|
784
|
-
{
|
|
785
|
-
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.authorizedDate"
|
|
786
|
-
},
|
|
787
|
-
{
|
|
788
|
-
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.captures.createdDate"
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.void.voidedDate"
|
|
792
|
-
},
|
|
793
|
-
{
|
|
794
|
-
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
path: "orderTransactions.payments.regularPaymentDetails.chargebacks.createdDate"
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
path: "orderTransactions.payments.regularPaymentDetails.chargebacks.updatedDate"
|
|
801
|
-
},
|
|
802
|
-
{ path: "orderTransactions.refunds.createdDate" }
|
|
803
|
-
]
|
|
800
|
+
paths: TRANSFORM_PATHS_5
|
|
804
801
|
}
|
|
805
802
|
])
|
|
806
803
|
};
|
|
@@ -827,29 +824,7 @@ function captureAuthorizedPayments(payload) {
|
|
|
827
824
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
828
825
|
{
|
|
829
826
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
830
|
-
paths:
|
|
831
|
-
{ path: "orderTransactions.payments.createdDate" },
|
|
832
|
-
{ path: "orderTransactions.payments.updatedDate" },
|
|
833
|
-
{
|
|
834
|
-
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.authorizedDate"
|
|
835
|
-
},
|
|
836
|
-
{
|
|
837
|
-
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.captures.createdDate"
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.void.voidedDate"
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
|
|
844
|
-
},
|
|
845
|
-
{
|
|
846
|
-
path: "orderTransactions.payments.regularPaymentDetails.chargebacks.createdDate"
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
path: "orderTransactions.payments.regularPaymentDetails.chargebacks.updatedDate"
|
|
850
|
-
},
|
|
851
|
-
{ path: "orderTransactions.refunds.createdDate" }
|
|
852
|
-
]
|
|
827
|
+
paths: TRANSFORM_PATHS_5
|
|
853
828
|
}
|
|
854
829
|
])
|
|
855
830
|
};
|
|
@@ -876,46 +851,11 @@ function getOrder(payload) {
|
|
|
876
851
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
877
852
|
{
|
|
878
853
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
879
|
-
paths:
|
|
880
|
-
{ path: "order.createdDate" },
|
|
881
|
-
{ path: "order.updatedDate" },
|
|
882
|
-
{ path: "order.purchasedDate" },
|
|
883
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
884
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
885
|
-
{
|
|
886
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
887
|
-
},
|
|
888
|
-
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
889
|
-
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
890
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
891
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
892
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
893
|
-
{ path: "order.activities.createdDate" }
|
|
894
|
-
]
|
|
854
|
+
paths: TRANSFORM_PATHS_0
|
|
895
855
|
},
|
|
896
856
|
{
|
|
897
857
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
898
|
-
paths:
|
|
899
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
900
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
901
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
902
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
903
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
904
|
-
{
|
|
905
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
906
|
-
},
|
|
907
|
-
{
|
|
908
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
909
|
-
},
|
|
910
|
-
{
|
|
911
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
915
|
-
},
|
|
916
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
917
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
918
|
-
]
|
|
858
|
+
paths: TRANSFORM_PATHS_1
|
|
919
859
|
}
|
|
920
860
|
])
|
|
921
861
|
};
|
|
@@ -928,10 +868,7 @@ function searchOrders(payload) {
|
|
|
928
868
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
929
869
|
{
|
|
930
870
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
931
|
-
paths:
|
|
932
|
-
{ path: "search.sort.origin.latitude" },
|
|
933
|
-
{ path: "search.sort.origin.longitude" }
|
|
934
|
-
]
|
|
871
|
+
paths: TRANSFORM_PATHS_6
|
|
935
872
|
}
|
|
936
873
|
]);
|
|
937
874
|
const metadata = {
|
|
@@ -951,46 +888,11 @@ function searchOrders(payload) {
|
|
|
951
888
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
952
889
|
{
|
|
953
890
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
954
|
-
paths:
|
|
955
|
-
{ path: "orders.createdDate" },
|
|
956
|
-
{ path: "orders.updatedDate" },
|
|
957
|
-
{ path: "orders.purchasedDate" },
|
|
958
|
-
{ path: "orders.lineItems.image.urlExpirationDate" },
|
|
959
|
-
{ path: "orders.lineItems.digitalFile.expirationDate" },
|
|
960
|
-
{
|
|
961
|
-
path: "orders.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
962
|
-
},
|
|
963
|
-
{ path: "orders.lineItems.serviceProperties.scheduledDate" },
|
|
964
|
-
{ path: "orders.lineItems.serviceProperties.endDate" },
|
|
965
|
-
{ path: "orders.shippingInfo.logistics.deliverByDate" },
|
|
966
|
-
{ path: "orders.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
967
|
-
{ path: "orders.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
968
|
-
{ path: "orders.activities.createdDate" }
|
|
969
|
-
]
|
|
891
|
+
paths: TRANSFORM_PATHS_7
|
|
970
892
|
},
|
|
971
893
|
{
|
|
972
894
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
973
|
-
paths:
|
|
974
|
-
{ path: "orders.lineItems.image.focalPoint.x" },
|
|
975
|
-
{ path: "orders.lineItems.image.focalPoint.y" },
|
|
976
|
-
{ path: "orders.lineItems.physicalProperties.weight" },
|
|
977
|
-
{ path: "orders.billingInfo.address.geocode.latitude" },
|
|
978
|
-
{ path: "orders.billingInfo.address.geocode.longitude" },
|
|
979
|
-
{
|
|
980
|
-
path: "orders.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
981
|
-
},
|
|
982
|
-
{
|
|
983
|
-
path: "orders.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
984
|
-
},
|
|
985
|
-
{
|
|
986
|
-
path: "orders.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
path: "orders.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
990
|
-
},
|
|
991
|
-
{ path: "orders.recipientInfo.address.geocode.latitude" },
|
|
992
|
-
{ path: "orders.recipientInfo.address.geocode.longitude" }
|
|
993
|
-
]
|
|
895
|
+
paths: TRANSFORM_PATHS_8
|
|
994
896
|
}
|
|
995
897
|
])
|
|
996
898
|
};
|
|
@@ -1003,46 +905,11 @@ function createOrder(payload) {
|
|
|
1003
905
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
1004
906
|
{
|
|
1005
907
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
1006
|
-
paths:
|
|
1007
|
-
{ path: "order.createdDate" },
|
|
1008
|
-
{ path: "order.updatedDate" },
|
|
1009
|
-
{ path: "order.purchasedDate" },
|
|
1010
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
1011
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
1012
|
-
{
|
|
1013
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1014
|
-
},
|
|
1015
|
-
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
1016
|
-
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
1017
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
1018
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
1019
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1020
|
-
{ path: "order.activities.createdDate" }
|
|
1021
|
-
]
|
|
908
|
+
paths: TRANSFORM_PATHS_0
|
|
1022
909
|
},
|
|
1023
910
|
{
|
|
1024
911
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
1025
|
-
paths:
|
|
1026
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
1027
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
1028
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
1029
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
1030
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
1031
|
-
{
|
|
1032
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1033
|
-
},
|
|
1034
|
-
{
|
|
1035
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1036
|
-
},
|
|
1037
|
-
{
|
|
1038
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1039
|
-
},
|
|
1040
|
-
{
|
|
1041
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1042
|
-
},
|
|
1043
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
1044
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
1045
|
-
]
|
|
912
|
+
paths: TRANSFORM_PATHS_1
|
|
1046
913
|
}
|
|
1047
914
|
]);
|
|
1048
915
|
const metadata = {
|
|
@@ -1062,46 +929,11 @@ function createOrder(payload) {
|
|
|
1062
929
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1063
930
|
{
|
|
1064
931
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1065
|
-
paths:
|
|
1066
|
-
{ path: "order.createdDate" },
|
|
1067
|
-
{ path: "order.updatedDate" },
|
|
1068
|
-
{ path: "order.purchasedDate" },
|
|
1069
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
1070
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
1071
|
-
{
|
|
1072
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1073
|
-
},
|
|
1074
|
-
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
1075
|
-
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
1076
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
1077
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
1078
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1079
|
-
{ path: "order.activities.createdDate" }
|
|
1080
|
-
]
|
|
932
|
+
paths: TRANSFORM_PATHS_0
|
|
1081
933
|
},
|
|
1082
934
|
{
|
|
1083
935
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1084
|
-
paths:
|
|
1085
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
1086
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
1087
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
1088
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
1089
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
1090
|
-
{
|
|
1091
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1092
|
-
},
|
|
1093
|
-
{
|
|
1094
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1095
|
-
},
|
|
1096
|
-
{
|
|
1097
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1098
|
-
},
|
|
1099
|
-
{
|
|
1100
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1101
|
-
},
|
|
1102
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
1103
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
1104
|
-
]
|
|
936
|
+
paths: TRANSFORM_PATHS_1
|
|
1105
937
|
}
|
|
1106
938
|
])
|
|
1107
939
|
};
|
|
@@ -1114,50 +946,15 @@ function updateOrder(payload) {
|
|
|
1114
946
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
1115
947
|
{
|
|
1116
948
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
1117
|
-
paths:
|
|
949
|
+
paths: TRANSFORM_PATHS_9
|
|
1118
950
|
},
|
|
1119
951
|
{
|
|
1120
952
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
1121
|
-
paths:
|
|
1122
|
-
{ path: "order.createdDate" },
|
|
1123
|
-
{ path: "order.updatedDate" },
|
|
1124
|
-
{ path: "order.purchasedDate" },
|
|
1125
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
1126
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
1127
|
-
{
|
|
1128
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1129
|
-
},
|
|
1130
|
-
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
1131
|
-
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
1132
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
1133
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
1134
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1135
|
-
{ path: "order.activities.createdDate" }
|
|
1136
|
-
]
|
|
953
|
+
paths: TRANSFORM_PATHS_0
|
|
1137
954
|
},
|
|
1138
955
|
{
|
|
1139
956
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
1140
|
-
paths:
|
|
1141
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
1142
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
1143
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
1144
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
1145
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
1146
|
-
{
|
|
1147
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1148
|
-
},
|
|
1149
|
-
{
|
|
1150
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1151
|
-
},
|
|
1152
|
-
{
|
|
1153
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1154
|
-
},
|
|
1155
|
-
{
|
|
1156
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1157
|
-
},
|
|
1158
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
1159
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
1160
|
-
]
|
|
957
|
+
paths: TRANSFORM_PATHS_1
|
|
1161
958
|
}
|
|
1162
959
|
]);
|
|
1163
960
|
const metadata = {
|
|
@@ -1177,46 +974,11 @@ function updateOrder(payload) {
|
|
|
1177
974
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1178
975
|
{
|
|
1179
976
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1180
|
-
paths:
|
|
1181
|
-
{ path: "order.createdDate" },
|
|
1182
|
-
{ path: "order.updatedDate" },
|
|
1183
|
-
{ path: "order.purchasedDate" },
|
|
1184
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
1185
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
1186
|
-
{
|
|
1187
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1188
|
-
},
|
|
1189
|
-
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
1190
|
-
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
1191
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
1192
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
1193
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1194
|
-
{ path: "order.activities.createdDate" }
|
|
1195
|
-
]
|
|
977
|
+
paths: TRANSFORM_PATHS_0
|
|
1196
978
|
},
|
|
1197
979
|
{
|
|
1198
980
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1199
|
-
paths:
|
|
1200
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
1201
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
1202
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
1203
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
1204
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
1205
|
-
{
|
|
1206
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1207
|
-
},
|
|
1208
|
-
{
|
|
1209
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1210
|
-
},
|
|
1211
|
-
{
|
|
1212
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1213
|
-
},
|
|
1214
|
-
{
|
|
1215
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1216
|
-
},
|
|
1217
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
1218
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
1219
|
-
]
|
|
981
|
+
paths: TRANSFORM_PATHS_1
|
|
1220
982
|
}
|
|
1221
983
|
])
|
|
1222
984
|
};
|
|
@@ -1229,50 +991,15 @@ function bulkUpdateOrders(payload) {
|
|
|
1229
991
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
1230
992
|
{
|
|
1231
993
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
1232
|
-
paths:
|
|
994
|
+
paths: TRANSFORM_PATHS_10
|
|
1233
995
|
},
|
|
1234
996
|
{
|
|
1235
997
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
1236
|
-
paths:
|
|
1237
|
-
{ path: "orders.order.createdDate" },
|
|
1238
|
-
{ path: "orders.order.updatedDate" },
|
|
1239
|
-
{ path: "orders.order.purchasedDate" },
|
|
1240
|
-
{ path: "orders.order.lineItems.image.urlExpirationDate" },
|
|
1241
|
-
{ path: "orders.order.lineItems.digitalFile.expirationDate" },
|
|
1242
|
-
{
|
|
1243
|
-
path: "orders.order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1244
|
-
},
|
|
1245
|
-
{ path: "orders.order.lineItems.serviceProperties.scheduledDate" },
|
|
1246
|
-
{ path: "orders.order.lineItems.serviceProperties.endDate" },
|
|
1247
|
-
{ path: "orders.order.shippingInfo.logistics.deliverByDate" },
|
|
1248
|
-
{ path: "orders.order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
1249
|
-
{ path: "orders.order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1250
|
-
{ path: "orders.order.activities.createdDate" }
|
|
1251
|
-
]
|
|
998
|
+
paths: TRANSFORM_PATHS_11
|
|
1252
999
|
},
|
|
1253
1000
|
{
|
|
1254
1001
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
1255
|
-
paths:
|
|
1256
|
-
{ path: "orders.order.lineItems.image.focalPoint.x" },
|
|
1257
|
-
{ path: "orders.order.lineItems.image.focalPoint.y" },
|
|
1258
|
-
{ path: "orders.order.lineItems.physicalProperties.weight" },
|
|
1259
|
-
{ path: "orders.order.billingInfo.address.geocode.latitude" },
|
|
1260
|
-
{ path: "orders.order.billingInfo.address.geocode.longitude" },
|
|
1261
|
-
{
|
|
1262
|
-
path: "orders.order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1263
|
-
},
|
|
1264
|
-
{
|
|
1265
|
-
path: "orders.order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1266
|
-
},
|
|
1267
|
-
{
|
|
1268
|
-
path: "orders.order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1269
|
-
},
|
|
1270
|
-
{
|
|
1271
|
-
path: "orders.order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1272
|
-
},
|
|
1273
|
-
{ path: "orders.order.recipientInfo.address.geocode.latitude" },
|
|
1274
|
-
{ path: "orders.order.recipientInfo.address.geocode.longitude" }
|
|
1275
|
-
]
|
|
1002
|
+
paths: TRANSFORM_PATHS_12
|
|
1276
1003
|
}
|
|
1277
1004
|
]);
|
|
1278
1005
|
const metadata = {
|
|
@@ -1292,52 +1019,11 @@ function bulkUpdateOrders(payload) {
|
|
|
1292
1019
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1293
1020
|
{
|
|
1294
1021
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1295
|
-
paths:
|
|
1296
|
-
{ path: "results.item.createdDate" },
|
|
1297
|
-
{ path: "results.item.updatedDate" },
|
|
1298
|
-
{ path: "results.item.purchasedDate" },
|
|
1299
|
-
{ path: "results.item.lineItems.image.urlExpirationDate" },
|
|
1300
|
-
{ path: "results.item.lineItems.digitalFile.expirationDate" },
|
|
1301
|
-
{
|
|
1302
|
-
path: "results.item.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1303
|
-
},
|
|
1304
|
-
{
|
|
1305
|
-
path: "results.item.lineItems.serviceProperties.scheduledDate"
|
|
1306
|
-
},
|
|
1307
|
-
{ path: "results.item.lineItems.serviceProperties.endDate" },
|
|
1308
|
-
{ path: "results.item.shippingInfo.logistics.deliverByDate" },
|
|
1309
|
-
{
|
|
1310
|
-
path: "results.item.shippingInfo.logistics.deliveryTimeSlot.from"
|
|
1311
|
-
},
|
|
1312
|
-
{
|
|
1313
|
-
path: "results.item.shippingInfo.logistics.deliveryTimeSlot.to"
|
|
1314
|
-
},
|
|
1315
|
-
{ path: "results.item.activities.createdDate" }
|
|
1316
|
-
]
|
|
1022
|
+
paths: TRANSFORM_PATHS_2
|
|
1317
1023
|
},
|
|
1318
1024
|
{
|
|
1319
1025
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1320
|
-
paths:
|
|
1321
|
-
{ path: "results.item.lineItems.image.focalPoint.x" },
|
|
1322
|
-
{ path: "results.item.lineItems.image.focalPoint.y" },
|
|
1323
|
-
{ path: "results.item.lineItems.physicalProperties.weight" },
|
|
1324
|
-
{ path: "results.item.billingInfo.address.geocode.latitude" },
|
|
1325
|
-
{ path: "results.item.billingInfo.address.geocode.longitude" },
|
|
1326
|
-
{
|
|
1327
|
-
path: "results.item.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1328
|
-
},
|
|
1329
|
-
{
|
|
1330
|
-
path: "results.item.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1331
|
-
},
|
|
1332
|
-
{
|
|
1333
|
-
path: "results.item.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1334
|
-
},
|
|
1335
|
-
{
|
|
1336
|
-
path: "results.item.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1337
|
-
},
|
|
1338
|
-
{ path: "results.item.recipientInfo.address.geocode.latitude" },
|
|
1339
|
-
{ path: "results.item.recipientInfo.address.geocode.longitude" }
|
|
1340
|
-
]
|
|
1026
|
+
paths: TRANSFORM_PATHS_3
|
|
1341
1027
|
}
|
|
1342
1028
|
])
|
|
1343
1029
|
};
|
|
@@ -1350,25 +1036,15 @@ function updateOrderLineItem(payload) {
|
|
|
1350
1036
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
1351
1037
|
{
|
|
1352
1038
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
1353
|
-
paths:
|
|
1039
|
+
paths: TRANSFORM_PATHS_9
|
|
1354
1040
|
},
|
|
1355
1041
|
{
|
|
1356
1042
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
1357
|
-
paths:
|
|
1358
|
-
{ path: "lineItem.image.urlExpirationDate" },
|
|
1359
|
-
{ path: "lineItem.digitalFile.expirationDate" },
|
|
1360
|
-
{ path: "lineItem.subscriptionInfo.subscriptionSettings.startDate" },
|
|
1361
|
-
{ path: "lineItem.serviceProperties.scheduledDate" },
|
|
1362
|
-
{ path: "lineItem.serviceProperties.endDate" }
|
|
1363
|
-
]
|
|
1043
|
+
paths: TRANSFORM_PATHS_13
|
|
1364
1044
|
},
|
|
1365
1045
|
{
|
|
1366
1046
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
1367
|
-
paths:
|
|
1368
|
-
{ path: "lineItem.image.focalPoint.x" },
|
|
1369
|
-
{ path: "lineItem.image.focalPoint.y" },
|
|
1370
|
-
{ path: "lineItem.physicalProperties.weight" }
|
|
1371
|
-
]
|
|
1047
|
+
paths: TRANSFORM_PATHS_14
|
|
1372
1048
|
}
|
|
1373
1049
|
]);
|
|
1374
1050
|
const metadata = {
|
|
@@ -1388,46 +1064,11 @@ function updateOrderLineItem(payload) {
|
|
|
1388
1064
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1389
1065
|
{
|
|
1390
1066
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1391
|
-
paths:
|
|
1392
|
-
{ path: "order.createdDate" },
|
|
1393
|
-
{ path: "order.updatedDate" },
|
|
1394
|
-
{ path: "order.purchasedDate" },
|
|
1395
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
1396
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
1397
|
-
{
|
|
1398
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1399
|
-
},
|
|
1400
|
-
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
1401
|
-
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
1402
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
1403
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
1404
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1405
|
-
{ path: "order.activities.createdDate" }
|
|
1406
|
-
]
|
|
1067
|
+
paths: TRANSFORM_PATHS_0
|
|
1407
1068
|
},
|
|
1408
1069
|
{
|
|
1409
1070
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1410
|
-
paths:
|
|
1411
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
1412
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
1413
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
1414
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
1415
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
1416
|
-
{
|
|
1417
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1418
|
-
},
|
|
1419
|
-
{
|
|
1420
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1421
|
-
},
|
|
1422
|
-
{
|
|
1423
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1424
|
-
},
|
|
1425
|
-
{
|
|
1426
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1427
|
-
},
|
|
1428
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
1429
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
1430
|
-
]
|
|
1071
|
+
paths: TRANSFORM_PATHS_1
|
|
1431
1072
|
}
|
|
1432
1073
|
])
|
|
1433
1074
|
};
|
|
@@ -1454,46 +1095,11 @@ function addActivity(payload) {
|
|
|
1454
1095
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1455
1096
|
{
|
|
1456
1097
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1457
|
-
paths:
|
|
1458
|
-
{ path: "order.createdDate" },
|
|
1459
|
-
{ path: "order.updatedDate" },
|
|
1460
|
-
{ path: "order.purchasedDate" },
|
|
1461
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
1462
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
1463
|
-
{
|
|
1464
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1465
|
-
},
|
|
1466
|
-
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
1467
|
-
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
1468
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
1469
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
1470
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1471
|
-
{ path: "order.activities.createdDate" }
|
|
1472
|
-
]
|
|
1098
|
+
paths: TRANSFORM_PATHS_0
|
|
1473
1099
|
},
|
|
1474
1100
|
{
|
|
1475
1101
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1476
|
-
paths:
|
|
1477
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
1478
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
1479
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
1480
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
1481
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
1482
|
-
{
|
|
1483
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1484
|
-
},
|
|
1485
|
-
{
|
|
1486
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1487
|
-
},
|
|
1488
|
-
{
|
|
1489
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1490
|
-
},
|
|
1491
|
-
{
|
|
1492
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1493
|
-
},
|
|
1494
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
1495
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
1496
|
-
]
|
|
1102
|
+
paths: TRANSFORM_PATHS_1
|
|
1497
1103
|
}
|
|
1498
1104
|
])
|
|
1499
1105
|
};
|
|
@@ -1506,7 +1112,7 @@ function addActivities(payload) {
|
|
|
1506
1112
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
1507
1113
|
{
|
|
1508
1114
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
1509
|
-
paths:
|
|
1115
|
+
paths: TRANSFORM_PATHS_15
|
|
1510
1116
|
}
|
|
1511
1117
|
]);
|
|
1512
1118
|
const metadata = {
|
|
@@ -1526,46 +1132,11 @@ function addActivities(payload) {
|
|
|
1526
1132
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1527
1133
|
{
|
|
1528
1134
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1529
|
-
paths:
|
|
1530
|
-
{ path: "order.createdDate" },
|
|
1531
|
-
{ path: "order.updatedDate" },
|
|
1532
|
-
{ path: "order.purchasedDate" },
|
|
1533
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
1534
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
1535
|
-
{
|
|
1536
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1537
|
-
},
|
|
1538
|
-
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
1539
|
-
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
1540
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
1541
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
1542
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1543
|
-
{ path: "order.activities.createdDate" }
|
|
1544
|
-
]
|
|
1135
|
+
paths: TRANSFORM_PATHS_0
|
|
1545
1136
|
},
|
|
1546
1137
|
{
|
|
1547
1138
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1548
|
-
paths:
|
|
1549
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
1550
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
1551
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
1552
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
1553
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
1554
|
-
{
|
|
1555
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1556
|
-
},
|
|
1557
|
-
{
|
|
1558
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1559
|
-
},
|
|
1560
|
-
{
|
|
1561
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1562
|
-
},
|
|
1563
|
-
{
|
|
1564
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1565
|
-
},
|
|
1566
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
1567
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
1568
|
-
]
|
|
1139
|
+
paths: TRANSFORM_PATHS_1
|
|
1569
1140
|
}
|
|
1570
1141
|
])
|
|
1571
1142
|
};
|
|
@@ -1592,46 +1163,11 @@ function updateActivity(payload) {
|
|
|
1592
1163
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1593
1164
|
{
|
|
1594
1165
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1595
|
-
paths:
|
|
1596
|
-
{ path: "order.createdDate" },
|
|
1597
|
-
{ path: "order.updatedDate" },
|
|
1598
|
-
{ path: "order.purchasedDate" },
|
|
1599
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
1600
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
1601
|
-
{
|
|
1602
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1603
|
-
},
|
|
1604
|
-
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
1605
|
-
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
1606
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
1607
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
1608
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1609
|
-
{ path: "order.activities.createdDate" }
|
|
1610
|
-
]
|
|
1166
|
+
paths: TRANSFORM_PATHS_0
|
|
1611
1167
|
},
|
|
1612
1168
|
{
|
|
1613
1169
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1614
|
-
paths:
|
|
1615
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
1616
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
1617
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
1618
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
1619
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
1620
|
-
{
|
|
1621
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1622
|
-
},
|
|
1623
|
-
{
|
|
1624
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1625
|
-
},
|
|
1626
|
-
{
|
|
1627
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1628
|
-
},
|
|
1629
|
-
{
|
|
1630
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1631
|
-
},
|
|
1632
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
1633
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
1634
|
-
]
|
|
1170
|
+
paths: TRANSFORM_PATHS_1
|
|
1635
1171
|
}
|
|
1636
1172
|
])
|
|
1637
1173
|
};
|
|
@@ -1658,46 +1194,11 @@ function deleteActivity(payload) {
|
|
|
1658
1194
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1659
1195
|
{
|
|
1660
1196
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1661
|
-
paths:
|
|
1662
|
-
{ path: "order.createdDate" },
|
|
1663
|
-
{ path: "order.updatedDate" },
|
|
1664
|
-
{ path: "order.purchasedDate" },
|
|
1665
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
1666
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
1667
|
-
{
|
|
1668
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1669
|
-
},
|
|
1670
|
-
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
1671
|
-
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
1672
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
1673
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
1674
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1675
|
-
{ path: "order.activities.createdDate" }
|
|
1676
|
-
]
|
|
1197
|
+
paths: TRANSFORM_PATHS_0
|
|
1677
1198
|
},
|
|
1678
1199
|
{
|
|
1679
1200
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1680
|
-
paths:
|
|
1681
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
1682
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
1683
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
1684
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
1685
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
1686
|
-
{
|
|
1687
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1688
|
-
},
|
|
1689
|
-
{
|
|
1690
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1691
|
-
},
|
|
1692
|
-
{
|
|
1693
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1694
|
-
},
|
|
1695
|
-
{
|
|
1696
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1697
|
-
},
|
|
1698
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
1699
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
1700
|
-
]
|
|
1201
|
+
paths: TRANSFORM_PATHS_1
|
|
1701
1202
|
}
|
|
1702
1203
|
])
|
|
1703
1204
|
};
|
|
@@ -1724,46 +1225,11 @@ function cancelOrder(payload) {
|
|
|
1724
1225
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1725
1226
|
{
|
|
1726
1227
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1727
|
-
paths:
|
|
1728
|
-
{ path: "order.createdDate" },
|
|
1729
|
-
{ path: "order.updatedDate" },
|
|
1730
|
-
{ path: "order.purchasedDate" },
|
|
1731
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
1732
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
1733
|
-
{
|
|
1734
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1735
|
-
},
|
|
1736
|
-
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
1737
|
-
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
1738
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
1739
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
1740
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1741
|
-
{ path: "order.activities.createdDate" }
|
|
1742
|
-
]
|
|
1228
|
+
paths: TRANSFORM_PATHS_0
|
|
1743
1229
|
},
|
|
1744
1230
|
{
|
|
1745
1231
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1746
|
-
paths:
|
|
1747
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
1748
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
1749
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
1750
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
1751
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
1752
|
-
{
|
|
1753
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1754
|
-
},
|
|
1755
|
-
{
|
|
1756
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1757
|
-
},
|
|
1758
|
-
{
|
|
1759
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1760
|
-
},
|
|
1761
|
-
{
|
|
1762
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1763
|
-
},
|
|
1764
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
1765
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
1766
|
-
]
|
|
1232
|
+
paths: TRANSFORM_PATHS_1
|
|
1767
1233
|
}
|
|
1768
1234
|
])
|
|
1769
1235
|
};
|
|
@@ -1790,46 +1256,11 @@ function updateOrderStatus(payload) {
|
|
|
1790
1256
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1791
1257
|
{
|
|
1792
1258
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1793
|
-
paths:
|
|
1794
|
-
{ path: "order.createdDate" },
|
|
1795
|
-
{ path: "order.updatedDate" },
|
|
1796
|
-
{ path: "order.purchasedDate" },
|
|
1797
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
1798
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
1799
|
-
{
|
|
1800
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1801
|
-
},
|
|
1802
|
-
{ path: "order.lineItems.serviceProperties.scheduledDate" },
|
|
1803
|
-
{ path: "order.lineItems.serviceProperties.endDate" },
|
|
1804
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
1805
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
1806
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1807
|
-
{ path: "order.activities.createdDate" }
|
|
1808
|
-
]
|
|
1259
|
+
paths: TRANSFORM_PATHS_0
|
|
1809
1260
|
},
|
|
1810
1261
|
{
|
|
1811
1262
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1812
|
-
paths:
|
|
1813
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
1814
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
1815
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
1816
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
1817
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
1818
|
-
{
|
|
1819
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1820
|
-
},
|
|
1821
|
-
{
|
|
1822
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1823
|
-
},
|
|
1824
|
-
{
|
|
1825
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1826
|
-
},
|
|
1827
|
-
{
|
|
1828
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1829
|
-
},
|
|
1830
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
1831
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
1832
|
-
]
|
|
1263
|
+
paths: TRANSFORM_PATHS_1
|
|
1833
1264
|
}
|
|
1834
1265
|
])
|
|
1835
1266
|
};
|