@wix/auto_sdk_ecom_current-cart 1.0.190 → 1.0.192

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.
@@ -89,6 +89,131 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
89
89
  var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
90
90
  var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
91
91
  var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
92
+ var TRANSFORM_PATHS_0 = [
93
+ { path: "cart.createdDate" },
94
+ { path: "cart.updatedDate" },
95
+ { path: "cart.lineItems.image.urlExpirationDate" },
96
+ {
97
+ path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
98
+ },
99
+ { path: "cart.lineItems.serviceProperties.scheduledDate" },
100
+ { path: "cart.lineItems.serviceProperties.endDate" }
101
+ ];
102
+ var TRANSFORM_PATHS_1 = [
103
+ { path: "cart.lineItems.image.focalPoint.x" },
104
+ { path: "cart.lineItems.image.focalPoint.y" },
105
+ { path: "cart.lineItems.physicalProperties.weight" },
106
+ { path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight" },
107
+ { path: "cart.contactInfo.address.geocode.latitude" },
108
+ { path: "cart.contactInfo.address.geocode.longitude" }
109
+ ];
110
+ var TRANSFORM_PATHS_2 = [{ path: "cartFieldmask" }];
111
+ var TRANSFORM_PATHS_3 = [
112
+ { path: "cartInfo.createdDate" },
113
+ { path: "cartInfo.updatedDate" },
114
+ { path: "cartInfo.lineItems.image.urlExpirationDate" },
115
+ {
116
+ path: "cartInfo.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
117
+ },
118
+ { path: "cartInfo.lineItems.serviceProperties.scheduledDate" },
119
+ { path: "cartInfo.lineItems.serviceProperties.endDate" },
120
+ { path: "lineItems.image.urlExpirationDate" },
121
+ { path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate" },
122
+ { path: "lineItems.serviceProperties.scheduledDate" },
123
+ { path: "lineItems.serviceProperties.endDate" },
124
+ {
125
+ path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
126
+ },
127
+ { path: "customLineItems.serviceProperties.scheduledDate" },
128
+ { path: "customLineItems.serviceProperties.endDate" }
129
+ ];
130
+ var TRANSFORM_PATHS_4 = [
131
+ { path: "cartInfo.lineItems.image.focalPoint.x" },
132
+ { path: "cartInfo.lineItems.image.focalPoint.y" },
133
+ { path: "lineItems.image.focalPoint.x" },
134
+ { path: "lineItems.image.focalPoint.y" },
135
+ { path: "cartInfo.lineItems.physicalProperties.weight" },
136
+ {
137
+ path: "cartInfo.lineItems.catalogOverrideFields.physicalProperties.weight"
138
+ },
139
+ { path: "cartInfo.contactInfo.address.geocode.latitude" },
140
+ { path: "cartInfo.contactInfo.address.geocode.longitude" },
141
+ { path: "lineItems.physicalProperties.weight" },
142
+ { path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
143
+ { path: "customLineItems.physicalProperties.weight" }
144
+ ];
145
+ var TRANSFORM_PATHS_5 = [
146
+ { path: "lineItems.image.urlExpirationDate" },
147
+ { path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate" },
148
+ { path: "lineItems.serviceProperties.scheduledDate" },
149
+ { path: "lineItems.serviceProperties.endDate" },
150
+ {
151
+ path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
152
+ },
153
+ { path: "customLineItems.serviceProperties.scheduledDate" },
154
+ { path: "customLineItems.serviceProperties.endDate" }
155
+ ];
156
+ var TRANSFORM_PATHS_6 = [
157
+ { path: "lineItems.image.focalPoint.x" },
158
+ { path: "lineItems.image.focalPoint.y" },
159
+ { path: "lineItems.physicalProperties.weight" },
160
+ { path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
161
+ { path: "customLineItems.physicalProperties.weight" }
162
+ ];
163
+ var TRANSFORM_PATHS_7 = [
164
+ { path: "shippingAddress.geocode.latitude" },
165
+ { path: "shippingAddress.geocode.longitude" },
166
+ { path: "billingAddress.geocode.latitude" },
167
+ { path: "billingAddress.geocode.longitude" }
168
+ ];
169
+ var TRANSFORM_PATHS_8 = [
170
+ { path: "cart.createdDate" },
171
+ { path: "cart.updatedDate" },
172
+ { path: "cart.lineItems.image.urlExpirationDate" },
173
+ {
174
+ path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
175
+ },
176
+ { path: "cart.lineItems.serviceProperties.scheduledDate" },
177
+ { path: "cart.lineItems.serviceProperties.endDate" },
178
+ {
179
+ path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
180
+ },
181
+ {
182
+ path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
183
+ },
184
+ {
185
+ path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
186
+ },
187
+ {
188
+ path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
189
+ },
190
+ { path: "membershipOptions.eligibleMemberships.expirationDate" },
191
+ { path: "membershipOptions.invalidMemberships.membership.expirationDate" },
192
+ {
193
+ path: "membershipOptions.validatedExistingMemberships.memberships.membership.expirationDate"
194
+ }
195
+ ];
196
+ var TRANSFORM_PATHS_9 = [
197
+ { path: "cart.lineItems.image.focalPoint.x" },
198
+ { path: "cart.lineItems.image.focalPoint.y" },
199
+ { path: "cart.lineItems.physicalProperties.weight" },
200
+ { path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight" },
201
+ { path: "cart.contactInfo.address.geocode.latitude" },
202
+ { path: "cart.contactInfo.address.geocode.longitude" },
203
+ {
204
+ path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
205
+ },
206
+ {
207
+ path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
208
+ },
209
+ {
210
+ path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
211
+ },
212
+ {
213
+ path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
214
+ },
215
+ { path: "appliedDiscounts.merchantDiscount.percentage" }
216
+ ];
92
217
  function resolveComWixEcomCartApiV1CurrentCartServiceUrl(opts) {
93
218
  const domainToMappings = {
94
219
  "www.wixapis.com": [
@@ -218,29 +343,11 @@ function currentCartGetCurrentCart(payload) {
218
343
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
219
344
  {
220
345
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
221
- paths: [
222
- { path: "cart.createdDate" },
223
- { path: "cart.updatedDate" },
224
- { path: "cart.lineItems.image.urlExpirationDate" },
225
- {
226
- path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
227
- },
228
- { path: "cart.lineItems.serviceProperties.scheduledDate" },
229
- { path: "cart.lineItems.serviceProperties.endDate" }
230
- ]
346
+ paths: TRANSFORM_PATHS_0
231
347
  },
232
348
  {
233
349
  transformFn: import_float2.transformRESTFloatToSDKFloat,
234
- paths: [
235
- { path: "cart.lineItems.image.focalPoint.x" },
236
- { path: "cart.lineItems.image.focalPoint.y" },
237
- { path: "cart.lineItems.physicalProperties.weight" },
238
- {
239
- path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
240
- },
241
- { path: "cart.contactInfo.address.geocode.latitude" },
242
- { path: "cart.contactInfo.address.geocode.longitude" }
243
- ]
350
+ paths: TRANSFORM_PATHS_1
244
351
  }
245
352
  ])
246
353
  };
@@ -253,49 +360,15 @@ function updateCurrentCart(payload) {
253
360
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
254
361
  {
255
362
  transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
256
- paths: [{ path: "cartFieldmask" }]
363
+ paths: TRANSFORM_PATHS_2
257
364
  },
258
365
  {
259
366
  transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
260
- paths: [
261
- { path: "cartInfo.createdDate" },
262
- { path: "cartInfo.updatedDate" },
263
- { path: "cartInfo.lineItems.image.urlExpirationDate" },
264
- {
265
- path: "cartInfo.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
266
- },
267
- { path: "cartInfo.lineItems.serviceProperties.scheduledDate" },
268
- { path: "cartInfo.lineItems.serviceProperties.endDate" },
269
- { path: "lineItems.image.urlExpirationDate" },
270
- {
271
- path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
272
- },
273
- { path: "lineItems.serviceProperties.scheduledDate" },
274
- { path: "lineItems.serviceProperties.endDate" },
275
- {
276
- path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
277
- },
278
- { path: "customLineItems.serviceProperties.scheduledDate" },
279
- { path: "customLineItems.serviceProperties.endDate" }
280
- ]
367
+ paths: TRANSFORM_PATHS_3
281
368
  },
282
369
  {
283
370
  transformFn: import_float.transformSDKFloatToRESTFloat,
284
- paths: [
285
- { path: "cartInfo.lineItems.image.focalPoint.x" },
286
- { path: "cartInfo.lineItems.image.focalPoint.y" },
287
- { path: "lineItems.image.focalPoint.x" },
288
- { path: "lineItems.image.focalPoint.y" },
289
- { path: "cartInfo.lineItems.physicalProperties.weight" },
290
- {
291
- path: "cartInfo.lineItems.catalogOverrideFields.physicalProperties.weight"
292
- },
293
- { path: "cartInfo.contactInfo.address.geocode.latitude" },
294
- { path: "cartInfo.contactInfo.address.geocode.longitude" },
295
- { path: "lineItems.physicalProperties.weight" },
296
- { path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
297
- { path: "customLineItems.physicalProperties.weight" }
298
- ]
371
+ paths: TRANSFORM_PATHS_4
299
372
  }
300
373
  ]);
301
374
  const metadata = {
@@ -315,29 +388,11 @@ function updateCurrentCart(payload) {
315
388
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
316
389
  {
317
390
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
318
- paths: [
319
- { path: "cart.createdDate" },
320
- { path: "cart.updatedDate" },
321
- { path: "cart.lineItems.image.urlExpirationDate" },
322
- {
323
- path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
324
- },
325
- { path: "cart.lineItems.serviceProperties.scheduledDate" },
326
- { path: "cart.lineItems.serviceProperties.endDate" }
327
- ]
391
+ paths: TRANSFORM_PATHS_0
328
392
  },
329
393
  {
330
394
  transformFn: import_float2.transformRESTFloatToSDKFloat,
331
- paths: [
332
- { path: "cart.lineItems.image.focalPoint.x" },
333
- { path: "cart.lineItems.image.focalPoint.y" },
334
- { path: "cart.lineItems.physicalProperties.weight" },
335
- {
336
- path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
337
- },
338
- { path: "cart.contactInfo.address.geocode.latitude" },
339
- { path: "cart.contactInfo.address.geocode.longitude" }
340
- ]
395
+ paths: TRANSFORM_PATHS_1
341
396
  }
342
397
  ])
343
398
  };
@@ -350,29 +405,11 @@ function addToCurrentCart(payload) {
350
405
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
351
406
  {
352
407
  transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
353
- paths: [
354
- { path: "lineItems.image.urlExpirationDate" },
355
- {
356
- path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
357
- },
358
- { path: "lineItems.serviceProperties.scheduledDate" },
359
- { path: "lineItems.serviceProperties.endDate" },
360
- {
361
- path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
362
- },
363
- { path: "customLineItems.serviceProperties.scheduledDate" },
364
- { path: "customLineItems.serviceProperties.endDate" }
365
- ]
408
+ paths: TRANSFORM_PATHS_5
366
409
  },
367
410
  {
368
411
  transformFn: import_float.transformSDKFloatToRESTFloat,
369
- paths: [
370
- { path: "lineItems.image.focalPoint.x" },
371
- { path: "lineItems.image.focalPoint.y" },
372
- { path: "lineItems.physicalProperties.weight" },
373
- { path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
374
- { path: "customLineItems.physicalProperties.weight" }
375
- ]
412
+ paths: TRANSFORM_PATHS_6
376
413
  }
377
414
  ]);
378
415
  const metadata = {
@@ -392,29 +429,11 @@ function addToCurrentCart(payload) {
392
429
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
393
430
  {
394
431
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
395
- paths: [
396
- { path: "cart.createdDate" },
397
- { path: "cart.updatedDate" },
398
- { path: "cart.lineItems.image.urlExpirationDate" },
399
- {
400
- path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
401
- },
402
- { path: "cart.lineItems.serviceProperties.scheduledDate" },
403
- { path: "cart.lineItems.serviceProperties.endDate" }
404
- ]
432
+ paths: TRANSFORM_PATHS_0
405
433
  },
406
434
  {
407
435
  transformFn: import_float2.transformRESTFloatToSDKFloat,
408
- paths: [
409
- { path: "cart.lineItems.image.focalPoint.x" },
410
- { path: "cart.lineItems.image.focalPoint.y" },
411
- { path: "cart.lineItems.physicalProperties.weight" },
412
- {
413
- path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
414
- },
415
- { path: "cart.contactInfo.address.geocode.latitude" },
416
- { path: "cart.contactInfo.address.geocode.longitude" }
417
- ]
436
+ paths: TRANSFORM_PATHS_1
418
437
  }
419
438
  ])
420
439
  };
@@ -441,29 +460,11 @@ function removeLineItemsFromCurrentCart(payload) {
441
460
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
442
461
  {
443
462
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
444
- paths: [
445
- { path: "cart.createdDate" },
446
- { path: "cart.updatedDate" },
447
- { path: "cart.lineItems.image.urlExpirationDate" },
448
- {
449
- path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
450
- },
451
- { path: "cart.lineItems.serviceProperties.scheduledDate" },
452
- { path: "cart.lineItems.serviceProperties.endDate" }
453
- ]
463
+ paths: TRANSFORM_PATHS_0
454
464
  },
455
465
  {
456
466
  transformFn: import_float2.transformRESTFloatToSDKFloat,
457
- paths: [
458
- { path: "cart.lineItems.image.focalPoint.x" },
459
- { path: "cart.lineItems.image.focalPoint.y" },
460
- { path: "cart.lineItems.physicalProperties.weight" },
461
- {
462
- path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
463
- },
464
- { path: "cart.contactInfo.address.geocode.latitude" },
465
- { path: "cart.contactInfo.address.geocode.longitude" }
466
- ]
467
+ paths: TRANSFORM_PATHS_1
467
468
  }
468
469
  ])
469
470
  };
@@ -476,12 +477,7 @@ function createCheckoutFromCurrentCart(payload) {
476
477
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
477
478
  {
478
479
  transformFn: import_float.transformSDKFloatToRESTFloat,
479
- paths: [
480
- { path: "shippingAddress.geocode.latitude" },
481
- { path: "shippingAddress.geocode.longitude" },
482
- { path: "billingAddress.geocode.latitude" },
483
- { path: "billingAddress.geocode.longitude" }
484
- ]
480
+ paths: TRANSFORM_PATHS_7
485
481
  }
486
482
  ]);
487
483
  const metadata = {
@@ -522,29 +518,11 @@ function removeCouponFromCurrentCart(payload) {
522
518
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
523
519
  {
524
520
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
525
- paths: [
526
- { path: "cart.createdDate" },
527
- { path: "cart.updatedDate" },
528
- { path: "cart.lineItems.image.urlExpirationDate" },
529
- {
530
- path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
531
- },
532
- { path: "cart.lineItems.serviceProperties.scheduledDate" },
533
- { path: "cart.lineItems.serviceProperties.endDate" }
534
- ]
521
+ paths: TRANSFORM_PATHS_0
535
522
  },
536
523
  {
537
524
  transformFn: import_float2.transformRESTFloatToSDKFloat,
538
- paths: [
539
- { path: "cart.lineItems.image.focalPoint.x" },
540
- { path: "cart.lineItems.image.focalPoint.y" },
541
- { path: "cart.lineItems.physicalProperties.weight" },
542
- {
543
- path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
544
- },
545
- { path: "cart.contactInfo.address.geocode.latitude" },
546
- { path: "cart.contactInfo.address.geocode.longitude" }
547
- ]
525
+ paths: TRANSFORM_PATHS_1
548
526
  }
549
527
  ])
550
528
  };
@@ -571,29 +549,11 @@ function updateCurrentCartLineItemQuantity(payload) {
571
549
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
572
550
  {
573
551
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
574
- paths: [
575
- { path: "cart.createdDate" },
576
- { path: "cart.updatedDate" },
577
- { path: "cart.lineItems.image.urlExpirationDate" },
578
- {
579
- path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
580
- },
581
- { path: "cart.lineItems.serviceProperties.scheduledDate" },
582
- { path: "cart.lineItems.serviceProperties.endDate" }
583
- ]
552
+ paths: TRANSFORM_PATHS_0
584
553
  },
585
554
  {
586
555
  transformFn: import_float2.transformRESTFloatToSDKFloat,
587
- paths: [
588
- { path: "cart.lineItems.image.focalPoint.x" },
589
- { path: "cart.lineItems.image.focalPoint.y" },
590
- { path: "cart.lineItems.physicalProperties.weight" },
591
- {
592
- path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
593
- },
594
- { path: "cart.contactInfo.address.geocode.latitude" },
595
- { path: "cart.contactInfo.address.geocode.longitude" }
596
- ]
556
+ paths: TRANSFORM_PATHS_1
597
557
  }
598
558
  ])
599
559
  };
@@ -606,12 +566,7 @@ function estimateCurrentCartTotals(payload) {
606
566
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
607
567
  {
608
568
  transformFn: import_float.transformSDKFloatToRESTFloat,
609
- paths: [
610
- { path: "shippingAddress.geocode.latitude" },
611
- { path: "shippingAddress.geocode.longitude" },
612
- { path: "billingAddress.geocode.latitude" },
613
- { path: "billingAddress.geocode.longitude" }
614
- ]
569
+ paths: TRANSFORM_PATHS_7
615
570
  }
616
571
  ]);
617
572
  const metadata = {
@@ -631,61 +586,11 @@ function estimateCurrentCartTotals(payload) {
631
586
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
632
587
  {
633
588
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
634
- paths: [
635
- { path: "cart.createdDate" },
636
- { path: "cart.updatedDate" },
637
- { path: "cart.lineItems.image.urlExpirationDate" },
638
- {
639
- path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
640
- },
641
- { path: "cart.lineItems.serviceProperties.scheduledDate" },
642
- { path: "cart.lineItems.serviceProperties.endDate" },
643
- {
644
- path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
645
- },
646
- {
647
- path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
648
- },
649
- {
650
- path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
651
- },
652
- {
653
- path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
654
- },
655
- { path: "membershipOptions.eligibleMemberships.expirationDate" },
656
- {
657
- path: "membershipOptions.invalidMemberships.membership.expirationDate"
658
- },
659
- {
660
- path: "membershipOptions.validatedExistingMemberships.memberships.membership.expirationDate"
661
- }
662
- ]
589
+ paths: TRANSFORM_PATHS_8
663
590
  },
664
591
  {
665
592
  transformFn: import_float2.transformRESTFloatToSDKFloat,
666
- paths: [
667
- { path: "cart.lineItems.image.focalPoint.x" },
668
- { path: "cart.lineItems.image.focalPoint.y" },
669
- { path: "cart.lineItems.physicalProperties.weight" },
670
- {
671
- path: "cart.lineItems.catalogOverrideFields.physicalProperties.weight"
672
- },
673
- { path: "cart.contactInfo.address.geocode.latitude" },
674
- { path: "cart.contactInfo.address.geocode.longitude" },
675
- {
676
- path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
677
- },
678
- {
679
- path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
680
- },
681
- {
682
- path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
683
- },
684
- {
685
- path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
686
- },
687
- { path: "appliedDiscounts.merchantDiscount.percentage" }
688
- ]
593
+ paths: TRANSFORM_PATHS_9
689
594
  }
690
595
  ])
691
596
  };
@@ -723,6 +628,47 @@ var import_image2 = require("@wix/sdk-runtime/transformations/image");
723
628
  var import_page_url_v2 = require("@wix/sdk-runtime/transformations/page-url-v2");
724
629
  var import_page_url_v22 = require("@wix/sdk-runtime/transformations/page-url-v2");
725
630
  var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
631
+ var TRANSFORM_PATHS_02 = [{ path: "cart.lineItems.url" }];
632
+ var TRANSFORM_PATHS_12 = [
633
+ { path: "cart.lineItems.image" },
634
+ { path: "cart.lineItems.catalogOverrideFields.image" }
635
+ ];
636
+ var TRANSFORM_PATHS_22 = [{ path: "cart.contactInfo.address" }];
637
+ var TRANSFORM_PATHS_32 = [
638
+ { path: "cartInfo.lineItems.url" },
639
+ { path: "lineItems.url" },
640
+ { path: "customLineItems.url" }
641
+ ];
642
+ var TRANSFORM_PATHS_42 = [
643
+ { path: "cartInfo.lineItems.image" },
644
+ { path: "cartInfo.lineItems.catalogOverrideFields.image" },
645
+ { path: "lineItems.image" },
646
+ { path: "lineItems.catalogOverrideFields.image" },
647
+ { path: "customLineItems.media" }
648
+ ];
649
+ var TRANSFORM_PATHS_52 = [{ path: "cartInfo.contactInfo.address" }];
650
+ var TRANSFORM_PATHS_62 = [
651
+ { path: "lineItems.url" },
652
+ { path: "customLineItems.url" }
653
+ ];
654
+ var TRANSFORM_PATHS_72 = [
655
+ { path: "lineItems.image" },
656
+ { path: "lineItems.catalogOverrideFields.image" },
657
+ { path: "customLineItems.media" }
658
+ ];
659
+ var TRANSFORM_PATHS_82 = [
660
+ { path: "shippingAddress" },
661
+ { path: "billingAddress" }
662
+ ];
663
+ var TRANSFORM_PATHS_92 = [
664
+ { path: "cart.contactInfo.address" },
665
+ {
666
+ path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address"
667
+ },
668
+ {
669
+ path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address"
670
+ }
671
+ ];
726
672
  var DescriptionLineType = /* @__PURE__ */ ((DescriptionLineType2) => {
727
673
  DescriptionLineType2["UNRECOGNISED"] = "UNRECOGNISED";
728
674
  DescriptionLineType2["PLAIN_TEXT"] = "PLAIN_TEXT";
@@ -966,18 +912,15 @@ async function getCurrentCart() {
966
912
  (0, import_transform_paths2.transformPaths)(result.data, [
967
913
  {
968
914
  transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
969
- paths: [{ path: "cart.lineItems.url" }]
915
+ paths: TRANSFORM_PATHS_02
970
916
  },
971
917
  {
972
918
  transformFn: import_image2.transformRESTImageToSDKImage,
973
- paths: [
974
- { path: "cart.lineItems.image" },
975
- { path: "cart.lineItems.catalogOverrideFields.image" }
976
- ]
919
+ paths: TRANSFORM_PATHS_12
977
920
  },
978
921
  {
979
922
  transformFn: import_address2.transformRESTAddressToSDKAddress,
980
- paths: [{ path: "cart.contactInfo.address" }]
923
+ paths: TRANSFORM_PATHS_22
981
924
  }
982
925
  ])
983
926
  )?.cart;
@@ -1007,25 +950,15 @@ async function updateCurrentCart2(options) {
1007
950
  [
1008
951
  {
1009
952
  transformFn: import_page_url_v2.transformSDKPageURLV2ToRESTPageURLV2,
1010
- paths: [
1011
- { path: "cartInfo.lineItems.url" },
1012
- { path: "lineItems.url" },
1013
- { path: "customLineItems.url" }
1014
- ]
953
+ paths: TRANSFORM_PATHS_32
1015
954
  },
1016
955
  {
1017
956
  transformFn: import_image.transformSDKImageToRESTImage,
1018
- paths: [
1019
- { path: "cartInfo.lineItems.image" },
1020
- { path: "cartInfo.lineItems.catalogOverrideFields.image" },
1021
- { path: "lineItems.image" },
1022
- { path: "lineItems.catalogOverrideFields.image" },
1023
- { path: "customLineItems.media" }
1024
- ]
957
+ paths: TRANSFORM_PATHS_42
1025
958
  },
1026
959
  {
1027
960
  transformFn: import_address.transformSDKAddressToRESTAddress,
1028
- paths: [{ path: "cartInfo.contactInfo.address" }]
961
+ paths: TRANSFORM_PATHS_52
1029
962
  }
1030
963
  ]
1031
964
  );
@@ -1038,18 +971,15 @@ async function updateCurrentCart2(options) {
1038
971
  (0, import_transform_paths2.transformPaths)(result.data, [
1039
972
  {
1040
973
  transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
1041
- paths: [{ path: "cart.lineItems.url" }]
974
+ paths: TRANSFORM_PATHS_02
1042
975
  },
1043
976
  {
1044
977
  transformFn: import_image2.transformRESTImageToSDKImage,
1045
- paths: [
1046
- { path: "cart.lineItems.image" },
1047
- { path: "cart.lineItems.catalogOverrideFields.image" }
1048
- ]
978
+ paths: TRANSFORM_PATHS_12
1049
979
  },
1050
980
  {
1051
981
  transformFn: import_address2.transformRESTAddressToSDKAddress,
1052
- paths: [{ path: "cart.contactInfo.address" }]
982
+ paths: TRANSFORM_PATHS_22
1053
983
  }
1054
984
  ])
1055
985
  )?.cart;
@@ -1083,15 +1013,11 @@ async function addToCurrentCart2(options) {
1083
1013
  [
1084
1014
  {
1085
1015
  transformFn: import_page_url_v2.transformSDKPageURLV2ToRESTPageURLV2,
1086
- paths: [{ path: "lineItems.url" }, { path: "customLineItems.url" }]
1016
+ paths: TRANSFORM_PATHS_62
1087
1017
  },
1088
1018
  {
1089
1019
  transformFn: import_image.transformSDKImageToRESTImage,
1090
- paths: [
1091
- { path: "lineItems.image" },
1092
- { path: "lineItems.catalogOverrideFields.image" },
1093
- { path: "customLineItems.media" }
1094
- ]
1020
+ paths: TRANSFORM_PATHS_72
1095
1021
  }
1096
1022
  ]
1097
1023
  );
@@ -1104,18 +1030,15 @@ async function addToCurrentCart2(options) {
1104
1030
  (0, import_transform_paths2.transformPaths)(result.data, [
1105
1031
  {
1106
1032
  transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
1107
- paths: [{ path: "cart.lineItems.url" }]
1033
+ paths: TRANSFORM_PATHS_02
1108
1034
  },
1109
1035
  {
1110
1036
  transformFn: import_image2.transformRESTImageToSDKImage,
1111
- paths: [
1112
- { path: "cart.lineItems.image" },
1113
- { path: "cart.lineItems.catalogOverrideFields.image" }
1114
- ]
1037
+ paths: TRANSFORM_PATHS_12
1115
1038
  },
1116
1039
  {
1117
1040
  transformFn: import_address2.transformRESTAddressToSDKAddress,
1118
- paths: [{ path: "cart.contactInfo.address" }]
1041
+ paths: TRANSFORM_PATHS_22
1119
1042
  }
1120
1043
  ])
1121
1044
  );
@@ -1151,18 +1074,15 @@ async function removeLineItemsFromCurrentCart2(lineItemIds) {
1151
1074
  (0, import_transform_paths2.transformPaths)(result.data, [
1152
1075
  {
1153
1076
  transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
1154
- paths: [{ path: "cart.lineItems.url" }]
1077
+ paths: TRANSFORM_PATHS_02
1155
1078
  },
1156
1079
  {
1157
1080
  transformFn: import_image2.transformRESTImageToSDKImage,
1158
- paths: [
1159
- { path: "cart.lineItems.image" },
1160
- { path: "cart.lineItems.catalogOverrideFields.image" }
1161
- ]
1081
+ paths: TRANSFORM_PATHS_12
1162
1082
  },
1163
1083
  {
1164
1084
  transformFn: import_address2.transformRESTAddressToSDKAddress,
1165
- paths: [{ path: "cart.contactInfo.address" }]
1085
+ paths: TRANSFORM_PATHS_22
1166
1086
  }
1167
1087
  ])
1168
1088
  );
@@ -1193,7 +1113,7 @@ async function createCheckoutFromCurrentCart2(options) {
1193
1113
  [
1194
1114
  {
1195
1115
  transformFn: import_address.transformSDKAddressToRESTAddress,
1196
- paths: [{ path: "shippingAddress" }, { path: "billingAddress" }]
1116
+ paths: TRANSFORM_PATHS_82
1197
1117
  }
1198
1118
  ]
1199
1119
  );
@@ -1235,18 +1155,15 @@ async function removeCouponFromCurrentCart2() {
1235
1155
  (0, import_transform_paths2.transformPaths)(result.data, [
1236
1156
  {
1237
1157
  transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
1238
- paths: [{ path: "cart.lineItems.url" }]
1158
+ paths: TRANSFORM_PATHS_02
1239
1159
  },
1240
1160
  {
1241
1161
  transformFn: import_image2.transformRESTImageToSDKImage,
1242
- paths: [
1243
- { path: "cart.lineItems.image" },
1244
- { path: "cart.lineItems.catalogOverrideFields.image" }
1245
- ]
1162
+ paths: TRANSFORM_PATHS_12
1246
1163
  },
1247
1164
  {
1248
1165
  transformFn: import_address2.transformRESTAddressToSDKAddress,
1249
- paths: [{ path: "cart.contactInfo.address" }]
1166
+ paths: TRANSFORM_PATHS_22
1250
1167
  }
1251
1168
  ])
1252
1169
  );
@@ -1278,18 +1195,15 @@ async function updateCurrentCartLineItemQuantity2(lineItems) {
1278
1195
  (0, import_transform_paths2.transformPaths)(result.data, [
1279
1196
  {
1280
1197
  transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
1281
- paths: [{ path: "cart.lineItems.url" }]
1198
+ paths: TRANSFORM_PATHS_02
1282
1199
  },
1283
1200
  {
1284
1201
  transformFn: import_image2.transformRESTImageToSDKImage,
1285
- paths: [
1286
- { path: "cart.lineItems.image" },
1287
- { path: "cart.lineItems.catalogOverrideFields.image" }
1288
- ]
1202
+ paths: TRANSFORM_PATHS_12
1289
1203
  },
1290
1204
  {
1291
1205
  transformFn: import_address2.transformRESTAddressToSDKAddress,
1292
- paths: [{ path: "cart.contactInfo.address" }]
1206
+ paths: TRANSFORM_PATHS_22
1293
1207
  }
1294
1208
  ])
1295
1209
  );
@@ -1322,7 +1236,7 @@ async function estimateCurrentCartTotals2(options) {
1322
1236
  [
1323
1237
  {
1324
1238
  transformFn: import_address.transformSDKAddressToRESTAddress,
1325
- paths: [{ path: "shippingAddress" }, { path: "billingAddress" }]
1239
+ paths: TRANSFORM_PATHS_82
1326
1240
  }
1327
1241
  ]
1328
1242
  );
@@ -1335,26 +1249,15 @@ async function estimateCurrentCartTotals2(options) {
1335
1249
  (0, import_transform_paths2.transformPaths)(result.data, [
1336
1250
  {
1337
1251
  transformFn: import_page_url_v22.transformRESTPageURLV2ToSDKPageURLV2,
1338
- paths: [{ path: "cart.lineItems.url" }]
1252
+ paths: TRANSFORM_PATHS_02
1339
1253
  },
1340
1254
  {
1341
1255
  transformFn: import_image2.transformRESTImageToSDKImage,
1342
- paths: [
1343
- { path: "cart.lineItems.image" },
1344
- { path: "cart.lineItems.catalogOverrideFields.image" }
1345
- ]
1256
+ paths: TRANSFORM_PATHS_12
1346
1257
  },
1347
1258
  {
1348
1259
  transformFn: import_address2.transformRESTAddressToSDKAddress,
1349
- paths: [
1350
- { path: "cart.contactInfo.address" },
1351
- {
1352
- path: "shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address"
1353
- },
1354
- {
1355
- path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address"
1356
- }
1357
- ]
1260
+ paths: TRANSFORM_PATHS_92
1358
1261
  }
1359
1262
  ])
1360
1263
  );
@@ -1404,6 +1307,87 @@ async function deleteCurrentCart2() {
1404
1307
  }
1405
1308
 
1406
1309
  // src/ecom-v1-cart-current-cart.public.ts
1310
+ var TRANSFORM_PATHS_03 = [
1311
+ { path: "undefined.createdDate" },
1312
+ { path: "undefined.updatedDate" },
1313
+ {
1314
+ path: "undefined.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
1315
+ },
1316
+ { path: "undefined.lineItems.serviceProperties.scheduledDate" },
1317
+ { path: "undefined.lineItems.serviceProperties.endDate" },
1318
+ { path: "metadata.eventTime" }
1319
+ ];
1320
+ var TRANSFORM_PATHS_13 = [{ path: "undefined.lineItems.url" }];
1321
+ var TRANSFORM_PATHS_23 = [
1322
+ { path: "undefined.lineItems.image" },
1323
+ { path: "undefined.lineItems.catalogOverrideFields.image" }
1324
+ ];
1325
+ var TRANSFORM_PATHS_33 = [
1326
+ { path: "undefined.lineItems.physicalProperties.weight" },
1327
+ {
1328
+ path: "undefined.lineItems.catalogOverrideFields.physicalProperties.weight"
1329
+ }
1330
+ ];
1331
+ var TRANSFORM_PATHS_43 = [{ path: "undefined.contactInfo.address" }];
1332
+ var TRANSFORM_PATHS_53 = [
1333
+ { path: "entity.createdDate" },
1334
+ { path: "entity.updatedDate" },
1335
+ {
1336
+ path: "entity.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
1337
+ },
1338
+ { path: "entity.lineItems.serviceProperties.scheduledDate" },
1339
+ { path: "entity.lineItems.serviceProperties.endDate" },
1340
+ { path: "metadata.eventTime" },
1341
+ { path: "modifiedFields.createdDate" },
1342
+ { path: "modifiedFields.updatedDate" },
1343
+ {
1344
+ path: "modifiedFields.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
1345
+ },
1346
+ { path: "modifiedFields.lineItems.serviceProperties.scheduledDate" },
1347
+ { path: "modifiedFields.lineItems.serviceProperties.endDate" }
1348
+ ];
1349
+ var TRANSFORM_PATHS_63 = [
1350
+ { path: "entity.lineItems.url" },
1351
+ { path: "modifiedFields.lineItems.url" }
1352
+ ];
1353
+ var TRANSFORM_PATHS_73 = [
1354
+ { path: "entity.lineItems.image" },
1355
+ { path: "entity.lineItems.catalogOverrideFields.image" },
1356
+ { path: "modifiedFields.lineItems.image" },
1357
+ { path: "modifiedFields.lineItems.catalogOverrideFields.image" }
1358
+ ];
1359
+ var TRANSFORM_PATHS_83 = [
1360
+ { path: "entity.lineItems.physicalProperties.weight" },
1361
+ { path: "entity.lineItems.catalogOverrideFields.physicalProperties.weight" },
1362
+ { path: "modifiedFields.lineItems.physicalProperties.weight" },
1363
+ {
1364
+ path: "modifiedFields.lineItems.catalogOverrideFields.physicalProperties.weight"
1365
+ }
1366
+ ];
1367
+ var TRANSFORM_PATHS_93 = [
1368
+ { path: "entity.contactInfo.address" },
1369
+ { path: "modifiedFields.contactInfo.address" }
1370
+ ];
1371
+ var TRANSFORM_PATHS_10 = [
1372
+ { path: "entity.createdDate" },
1373
+ { path: "entity.updatedDate" },
1374
+ {
1375
+ path: "entity.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
1376
+ },
1377
+ { path: "entity.lineItems.serviceProperties.scheduledDate" },
1378
+ { path: "entity.lineItems.serviceProperties.endDate" },
1379
+ { path: "metadata.eventTime" }
1380
+ ];
1381
+ var TRANSFORM_PATHS_11 = [{ path: "entity.lineItems.url" }];
1382
+ var TRANSFORM_PATHS_122 = [
1383
+ { path: "entity.lineItems.image" },
1384
+ { path: "entity.lineItems.catalogOverrideFields.image" }
1385
+ ];
1386
+ var TRANSFORM_PATHS_132 = [
1387
+ { path: "entity.lineItems.physicalProperties.weight" },
1388
+ { path: "entity.lineItems.catalogOverrideFields.physicalProperties.weight" }
1389
+ ];
1390
+ var TRANSFORM_PATHS_14 = [{ path: "entity.contactInfo.address" }];
1407
1391
  function getCurrentCart2(httpClient) {
1408
1392
  return () => getCurrentCart(
1409
1393
  // @ts-ignore
@@ -1471,40 +1455,23 @@ var onCartDeleted = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
1471
1455
  (0, import_transform_paths3.transformPaths)(event, [
1472
1456
  {
1473
1457
  transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
1474
- paths: [
1475
- { path: "undefined.createdDate" },
1476
- { path: "undefined.updatedDate" },
1477
- {
1478
- path: "undefined.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
1479
- },
1480
- { path: "undefined.lineItems.serviceProperties.scheduledDate" },
1481
- { path: "undefined.lineItems.serviceProperties.endDate" },
1482
- { path: "metadata.eventTime" }
1483
- ]
1458
+ paths: TRANSFORM_PATHS_03
1484
1459
  },
1485
1460
  {
1486
1461
  transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
1487
- paths: [{ path: "undefined.lineItems.url" }]
1462
+ paths: TRANSFORM_PATHS_13
1488
1463
  },
1489
1464
  {
1490
1465
  transformFn: import_image3.transformRESTImageToSDKImage,
1491
- paths: [
1492
- { path: "undefined.lineItems.image" },
1493
- { path: "undefined.lineItems.catalogOverrideFields.image" }
1494
- ]
1466
+ paths: TRANSFORM_PATHS_23
1495
1467
  },
1496
1468
  {
1497
1469
  transformFn: import_float3.transformRESTFloatToSDKFloat,
1498
- paths: [
1499
- { path: "undefined.lineItems.physicalProperties.weight" },
1500
- {
1501
- path: "undefined.lineItems.catalogOverrideFields.physicalProperties.weight"
1502
- }
1503
- ]
1470
+ paths: TRANSFORM_PATHS_33
1504
1471
  },
1505
1472
  {
1506
1473
  transformFn: import_address3.transformRESTAddressToSDKAddress,
1507
- paths: [{ path: "undefined.contactInfo.address" }]
1474
+ paths: TRANSFORM_PATHS_43
1508
1475
  }
1509
1476
  ])
1510
1477
  )
@@ -1516,61 +1483,23 @@ var onCartUpdated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
1516
1483
  (0, import_transform_paths3.transformPaths)(event, [
1517
1484
  {
1518
1485
  transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
1519
- paths: [
1520
- { path: "entity.createdDate" },
1521
- { path: "entity.updatedDate" },
1522
- {
1523
- path: "entity.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
1524
- },
1525
- { path: "entity.lineItems.serviceProperties.scheduledDate" },
1526
- { path: "entity.lineItems.serviceProperties.endDate" },
1527
- { path: "metadata.eventTime" },
1528
- { path: "modifiedFields.createdDate" },
1529
- { path: "modifiedFields.updatedDate" },
1530
- {
1531
- path: "modifiedFields.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
1532
- },
1533
- {
1534
- path: "modifiedFields.lineItems.serviceProperties.scheduledDate"
1535
- },
1536
- { path: "modifiedFields.lineItems.serviceProperties.endDate" }
1537
- ]
1486
+ paths: TRANSFORM_PATHS_53
1538
1487
  },
1539
1488
  {
1540
1489
  transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
1541
- paths: [
1542
- { path: "entity.lineItems.url" },
1543
- { path: "modifiedFields.lineItems.url" }
1544
- ]
1490
+ paths: TRANSFORM_PATHS_63
1545
1491
  },
1546
1492
  {
1547
1493
  transformFn: import_image3.transformRESTImageToSDKImage,
1548
- paths: [
1549
- { path: "entity.lineItems.image" },
1550
- { path: "entity.lineItems.catalogOverrideFields.image" },
1551
- { path: "modifiedFields.lineItems.image" },
1552
- { path: "modifiedFields.lineItems.catalogOverrideFields.image" }
1553
- ]
1494
+ paths: TRANSFORM_PATHS_73
1554
1495
  },
1555
1496
  {
1556
1497
  transformFn: import_float3.transformRESTFloatToSDKFloat,
1557
- paths: [
1558
- { path: "entity.lineItems.physicalProperties.weight" },
1559
- {
1560
- path: "entity.lineItems.catalogOverrideFields.physicalProperties.weight"
1561
- },
1562
- { path: "modifiedFields.lineItems.physicalProperties.weight" },
1563
- {
1564
- path: "modifiedFields.lineItems.catalogOverrideFields.physicalProperties.weight"
1565
- }
1566
- ]
1498
+ paths: TRANSFORM_PATHS_83
1567
1499
  },
1568
1500
  {
1569
1501
  transformFn: import_address3.transformRESTAddressToSDKAddress,
1570
- paths: [
1571
- { path: "entity.contactInfo.address" },
1572
- { path: "modifiedFields.contactInfo.address" }
1573
- ]
1502
+ paths: TRANSFORM_PATHS_93
1574
1503
  }
1575
1504
  ])
1576
1505
  )
@@ -1582,40 +1511,23 @@ var onCartCreated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
1582
1511
  (0, import_transform_paths3.transformPaths)(event, [
1583
1512
  {
1584
1513
  transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
1585
- paths: [
1586
- { path: "entity.createdDate" },
1587
- { path: "entity.updatedDate" },
1588
- {
1589
- path: "entity.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
1590
- },
1591
- { path: "entity.lineItems.serviceProperties.scheduledDate" },
1592
- { path: "entity.lineItems.serviceProperties.endDate" },
1593
- { path: "metadata.eventTime" }
1594
- ]
1514
+ paths: TRANSFORM_PATHS_10
1595
1515
  },
1596
1516
  {
1597
1517
  transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
1598
- paths: [{ path: "entity.lineItems.url" }]
1518
+ paths: TRANSFORM_PATHS_11
1599
1519
  },
1600
1520
  {
1601
1521
  transformFn: import_image3.transformRESTImageToSDKImage,
1602
- paths: [
1603
- { path: "entity.lineItems.image" },
1604
- { path: "entity.lineItems.catalogOverrideFields.image" }
1605
- ]
1522
+ paths: TRANSFORM_PATHS_122
1606
1523
  },
1607
1524
  {
1608
1525
  transformFn: import_float3.transformRESTFloatToSDKFloat,
1609
- paths: [
1610
- { path: "entity.lineItems.physicalProperties.weight" },
1611
- {
1612
- path: "entity.lineItems.catalogOverrideFields.physicalProperties.weight"
1613
- }
1614
- ]
1526
+ paths: TRANSFORM_PATHS_132
1615
1527
  },
1616
1528
  {
1617
1529
  transformFn: import_address3.transformRESTAddressToSDKAddress,
1618
- paths: [{ path: "entity.contactInfo.address" }]
1530
+ paths: TRANSFORM_PATHS_14
1619
1531
  }
1620
1532
  ])
1621
1533
  )