@wix/auto_sdk_ecom_checkout 1.0.174 → 1.0.176
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 +598 -1208
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +8 -6
- package/build/cjs/index.typings.js +340 -950
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +8 -6
- package/build/cjs/meta.js +244 -750
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +598 -1208
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +8 -6
- package/build/es/index.typings.mjs +340 -950
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +8 -6
- package/build/es/meta.mjs +244 -750
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +15 -9
- package/build/internal/cjs/meta.d.ts +15 -9
- package/build/internal/es/index.typings.d.mts +15 -9
- package/build/internal/es/meta.d.mts +15 -9
- package/package.json +2 -2
package/build/es/meta.mjs
CHANGED
|
@@ -8,6 +8,222 @@ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transform
|
|
|
8
8
|
import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
|
|
9
9
|
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
10
10
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
11
|
+
var TRANSFORM_PATHS_0 = [
|
|
12
|
+
{ path: "checkoutInfo.createdDate" },
|
|
13
|
+
{ path: "checkoutInfo.updatedDate" },
|
|
14
|
+
{ path: "checkoutInfo.lineItems.media.urlExpirationDate" },
|
|
15
|
+
{
|
|
16
|
+
path: "checkoutInfo.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
17
|
+
},
|
|
18
|
+
{ path: "checkoutInfo.lineItems.serviceProperties.scheduledDate" },
|
|
19
|
+
{ path: "checkoutInfo.lineItems.serviceProperties.endDate" },
|
|
20
|
+
{
|
|
21
|
+
path: "checkoutInfo.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
path: "checkoutInfo.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
path: "checkoutInfo.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
path: "checkoutInfo.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
31
|
+
},
|
|
32
|
+
{ path: "checkoutInfo.membershipOptions.eligibleMemberships.expirationDate" },
|
|
33
|
+
{
|
|
34
|
+
path: "checkoutInfo.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
35
|
+
},
|
|
36
|
+
{ path: "checkoutInfo.subscriptionCharges.charges.cycleBillingDate" },
|
|
37
|
+
{ path: "lineItems.media.urlExpirationDate" },
|
|
38
|
+
{ path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate" },
|
|
39
|
+
{ path: "lineItems.serviceProperties.scheduledDate" },
|
|
40
|
+
{ path: "lineItems.serviceProperties.endDate" },
|
|
41
|
+
{
|
|
42
|
+
path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
43
|
+
},
|
|
44
|
+
{ path: "customLineItems.serviceProperties.scheduledDate" },
|
|
45
|
+
{ path: "customLineItems.serviceProperties.endDate" }
|
|
46
|
+
];
|
|
47
|
+
var TRANSFORM_PATHS_1 = [
|
|
48
|
+
{ path: "checkoutInfo.lineItems.media.focalPoint.x" },
|
|
49
|
+
{ path: "checkoutInfo.lineItems.media.focalPoint.y" },
|
|
50
|
+
{ path: "lineItems.media.focalPoint.x" },
|
|
51
|
+
{ path: "lineItems.media.focalPoint.y" },
|
|
52
|
+
{ path: "checkoutInfo.lineItems.physicalProperties.weight" },
|
|
53
|
+
{
|
|
54
|
+
path: "checkoutInfo.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
55
|
+
},
|
|
56
|
+
{ path: "checkoutInfo.billingInfo.address.geocode.latitude" },
|
|
57
|
+
{ path: "checkoutInfo.billingInfo.address.geocode.longitude" },
|
|
58
|
+
{
|
|
59
|
+
path: "checkoutInfo.shippingInfo.shippingDestination.address.geocode.latitude"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
path: "checkoutInfo.shippingInfo.shippingDestination.address.geocode.longitude"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
path: "checkoutInfo.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
path: "checkoutInfo.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
path: "checkoutInfo.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
path: "checkoutInfo.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
75
|
+
},
|
|
76
|
+
{ path: "checkoutInfo.appliedDiscounts.merchantDiscount.percentage" },
|
|
77
|
+
{ path: "lineItems.physicalProperties.weight" },
|
|
78
|
+
{ path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
|
|
79
|
+
{ path: "customLineItems.physicalProperties.weight" }
|
|
80
|
+
];
|
|
81
|
+
var TRANSFORM_PATHS_2 = [
|
|
82
|
+
{ path: "checkout.createdDate" },
|
|
83
|
+
{ path: "checkout.updatedDate" },
|
|
84
|
+
{ path: "checkout.lineItems.media.urlExpirationDate" },
|
|
85
|
+
{
|
|
86
|
+
path: "checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
87
|
+
},
|
|
88
|
+
{ path: "checkout.lineItems.serviceProperties.scheduledDate" },
|
|
89
|
+
{ path: "checkout.lineItems.serviceProperties.endDate" },
|
|
90
|
+
{
|
|
91
|
+
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
101
|
+
},
|
|
102
|
+
{ path: "checkout.membershipOptions.eligibleMemberships.expirationDate" },
|
|
103
|
+
{
|
|
104
|
+
path: "checkout.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
105
|
+
},
|
|
106
|
+
{ path: "checkout.subscriptionCharges.charges.cycleBillingDate" }
|
|
107
|
+
];
|
|
108
|
+
var TRANSFORM_PATHS_3 = [
|
|
109
|
+
{ path: "checkout.lineItems.media.focalPoint.x" },
|
|
110
|
+
{ path: "checkout.lineItems.media.focalPoint.y" },
|
|
111
|
+
{ path: "checkout.lineItems.physicalProperties.weight" },
|
|
112
|
+
{
|
|
113
|
+
path: "checkout.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
114
|
+
},
|
|
115
|
+
{ path: "checkout.billingInfo.address.geocode.latitude" },
|
|
116
|
+
{ path: "checkout.billingInfo.address.geocode.longitude" },
|
|
117
|
+
{
|
|
118
|
+
path: "checkout.shippingInfo.shippingDestination.address.geocode.latitude"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
path: "checkout.shippingInfo.shippingDestination.address.geocode.longitude"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
134
|
+
},
|
|
135
|
+
{ path: "checkout.appliedDiscounts.merchantDiscount.percentage" }
|
|
136
|
+
];
|
|
137
|
+
var TRANSFORM_PATHS_4 = [{ path: "fieldMask" }];
|
|
138
|
+
var TRANSFORM_PATHS_5 = [
|
|
139
|
+
{ path: "checkout.createdDate" },
|
|
140
|
+
{ path: "checkout.updatedDate" },
|
|
141
|
+
{ path: "checkout.lineItems.media.urlExpirationDate" },
|
|
142
|
+
{
|
|
143
|
+
path: "checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
144
|
+
},
|
|
145
|
+
{ path: "checkout.lineItems.serviceProperties.scheduledDate" },
|
|
146
|
+
{ path: "checkout.lineItems.serviceProperties.endDate" },
|
|
147
|
+
{
|
|
148
|
+
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
158
|
+
},
|
|
159
|
+
{ path: "checkout.membershipOptions.eligibleMemberships.expirationDate" },
|
|
160
|
+
{
|
|
161
|
+
path: "checkout.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
162
|
+
},
|
|
163
|
+
{ path: "checkout.subscriptionCharges.charges.cycleBillingDate" },
|
|
164
|
+
{ path: "lineItems.media.urlExpirationDate" },
|
|
165
|
+
{ path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate" },
|
|
166
|
+
{ path: "lineItems.serviceProperties.scheduledDate" },
|
|
167
|
+
{ path: "lineItems.serviceProperties.endDate" },
|
|
168
|
+
{
|
|
169
|
+
path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
170
|
+
},
|
|
171
|
+
{ path: "customLineItems.serviceProperties.scheduledDate" },
|
|
172
|
+
{ path: "customLineItems.serviceProperties.endDate" }
|
|
173
|
+
];
|
|
174
|
+
var TRANSFORM_PATHS_6 = [
|
|
175
|
+
{ path: "checkout.lineItems.media.focalPoint.x" },
|
|
176
|
+
{ path: "checkout.lineItems.media.focalPoint.y" },
|
|
177
|
+
{ path: "lineItems.media.focalPoint.x" },
|
|
178
|
+
{ path: "lineItems.media.focalPoint.y" },
|
|
179
|
+
{ path: "checkout.lineItems.physicalProperties.weight" },
|
|
180
|
+
{
|
|
181
|
+
path: "checkout.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
182
|
+
},
|
|
183
|
+
{ path: "checkout.billingInfo.address.geocode.latitude" },
|
|
184
|
+
{ path: "checkout.billingInfo.address.geocode.longitude" },
|
|
185
|
+
{
|
|
186
|
+
path: "checkout.shippingInfo.shippingDestination.address.geocode.latitude"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
path: "checkout.shippingInfo.shippingDestination.address.geocode.longitude"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
202
|
+
},
|
|
203
|
+
{ path: "checkout.appliedDiscounts.merchantDiscount.percentage" },
|
|
204
|
+
{ path: "lineItems.physicalProperties.weight" },
|
|
205
|
+
{ path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
|
|
206
|
+
{ path: "customLineItems.physicalProperties.weight" }
|
|
207
|
+
];
|
|
208
|
+
var TRANSFORM_PATHS_7 = [
|
|
209
|
+
{ path: "lineItems.media.urlExpirationDate" },
|
|
210
|
+
{ path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate" },
|
|
211
|
+
{ path: "lineItems.serviceProperties.scheduledDate" },
|
|
212
|
+
{ path: "lineItems.serviceProperties.endDate" },
|
|
213
|
+
{
|
|
214
|
+
path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
215
|
+
},
|
|
216
|
+
{ path: "customLineItems.serviceProperties.scheduledDate" },
|
|
217
|
+
{ path: "customLineItems.serviceProperties.endDate" }
|
|
218
|
+
];
|
|
219
|
+
var TRANSFORM_PATHS_8 = [
|
|
220
|
+
{ path: "lineItems.media.focalPoint.x" },
|
|
221
|
+
{ path: "lineItems.media.focalPoint.y" },
|
|
222
|
+
{ path: "lineItems.physicalProperties.weight" },
|
|
223
|
+
{ path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
|
|
224
|
+
{ path: "customLineItems.physicalProperties.weight" }
|
|
225
|
+
];
|
|
226
|
+
var TRANSFORM_PATHS_9 = [{ path: "body" }];
|
|
11
227
|
function resolveComWixEcomCheckoutApiV1CheckoutServiceUrl(opts) {
|
|
12
228
|
const domainToMappings = {
|
|
13
229
|
"www.wixapis.com": [
|
|
@@ -91,83 +307,11 @@ function createCheckout(payload) {
|
|
|
91
307
|
const serializedData = transformPaths(payload, [
|
|
92
308
|
{
|
|
93
309
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
94
|
-
paths:
|
|
95
|
-
{ path: "checkoutInfo.createdDate" },
|
|
96
|
-
{ path: "checkoutInfo.updatedDate" },
|
|
97
|
-
{ path: "checkoutInfo.lineItems.media.urlExpirationDate" },
|
|
98
|
-
{
|
|
99
|
-
path: "checkoutInfo.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
100
|
-
},
|
|
101
|
-
{ path: "checkoutInfo.lineItems.serviceProperties.scheduledDate" },
|
|
102
|
-
{ path: "checkoutInfo.lineItems.serviceProperties.endDate" },
|
|
103
|
-
{
|
|
104
|
-
path: "checkoutInfo.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
path: "checkoutInfo.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
path: "checkoutInfo.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
path: "checkoutInfo.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
path: "checkoutInfo.membershipOptions.eligibleMemberships.expirationDate"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
path: "checkoutInfo.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
120
|
-
},
|
|
121
|
-
{ path: "checkoutInfo.subscriptionCharges.charges.cycleBillingDate" },
|
|
122
|
-
{ path: "lineItems.media.urlExpirationDate" },
|
|
123
|
-
{
|
|
124
|
-
path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
125
|
-
},
|
|
126
|
-
{ path: "lineItems.serviceProperties.scheduledDate" },
|
|
127
|
-
{ path: "lineItems.serviceProperties.endDate" },
|
|
128
|
-
{
|
|
129
|
-
path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
130
|
-
},
|
|
131
|
-
{ path: "customLineItems.serviceProperties.scheduledDate" },
|
|
132
|
-
{ path: "customLineItems.serviceProperties.endDate" }
|
|
133
|
-
]
|
|
310
|
+
paths: TRANSFORM_PATHS_0
|
|
134
311
|
},
|
|
135
312
|
{
|
|
136
313
|
transformFn: transformSDKFloatToRESTFloat,
|
|
137
|
-
paths:
|
|
138
|
-
{ path: "checkoutInfo.lineItems.media.focalPoint.x" },
|
|
139
|
-
{ path: "checkoutInfo.lineItems.media.focalPoint.y" },
|
|
140
|
-
{ path: "lineItems.media.focalPoint.x" },
|
|
141
|
-
{ path: "lineItems.media.focalPoint.y" },
|
|
142
|
-
{ path: "checkoutInfo.lineItems.physicalProperties.weight" },
|
|
143
|
-
{
|
|
144
|
-
path: "checkoutInfo.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
145
|
-
},
|
|
146
|
-
{ path: "checkoutInfo.billingInfo.address.geocode.latitude" },
|
|
147
|
-
{ path: "checkoutInfo.billingInfo.address.geocode.longitude" },
|
|
148
|
-
{
|
|
149
|
-
path: "checkoutInfo.shippingInfo.shippingDestination.address.geocode.latitude"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
path: "checkoutInfo.shippingInfo.shippingDestination.address.geocode.longitude"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
path: "checkoutInfo.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
path: "checkoutInfo.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
path: "checkoutInfo.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
path: "checkoutInfo.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
165
|
-
},
|
|
166
|
-
{ path: "checkoutInfo.appliedDiscounts.merchantDiscount.percentage" },
|
|
167
|
-
{ path: "lineItems.physicalProperties.weight" },
|
|
168
|
-
{ path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
|
|
169
|
-
{ path: "customLineItems.physicalProperties.weight" }
|
|
170
|
-
]
|
|
314
|
+
paths: TRANSFORM_PATHS_1
|
|
171
315
|
}
|
|
172
316
|
]);
|
|
173
317
|
const metadata = {
|
|
@@ -187,67 +331,11 @@ function createCheckout(payload) {
|
|
|
187
331
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
188
332
|
{
|
|
189
333
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
190
|
-
paths:
|
|
191
|
-
{ path: "checkout.createdDate" },
|
|
192
|
-
{ path: "checkout.updatedDate" },
|
|
193
|
-
{ path: "checkout.lineItems.media.urlExpirationDate" },
|
|
194
|
-
{
|
|
195
|
-
path: "checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
196
|
-
},
|
|
197
|
-
{ path: "checkout.lineItems.serviceProperties.scheduledDate" },
|
|
198
|
-
{ path: "checkout.lineItems.serviceProperties.endDate" },
|
|
199
|
-
{
|
|
200
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
path: "checkout.membershipOptions.eligibleMemberships.expirationDate"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
path: "checkout.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
216
|
-
},
|
|
217
|
-
{ path: "checkout.subscriptionCharges.charges.cycleBillingDate" }
|
|
218
|
-
]
|
|
334
|
+
paths: TRANSFORM_PATHS_2
|
|
219
335
|
},
|
|
220
336
|
{
|
|
221
337
|
transformFn: transformRESTFloatToSDKFloat,
|
|
222
|
-
paths:
|
|
223
|
-
{ path: "checkout.lineItems.media.focalPoint.x" },
|
|
224
|
-
{ path: "checkout.lineItems.media.focalPoint.y" },
|
|
225
|
-
{ path: "checkout.lineItems.physicalProperties.weight" },
|
|
226
|
-
{
|
|
227
|
-
path: "checkout.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
228
|
-
},
|
|
229
|
-
{ path: "checkout.billingInfo.address.geocode.latitude" },
|
|
230
|
-
{ path: "checkout.billingInfo.address.geocode.longitude" },
|
|
231
|
-
{
|
|
232
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.latitude"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.longitude"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
248
|
-
},
|
|
249
|
-
{ path: "checkout.appliedDiscounts.merchantDiscount.percentage" }
|
|
250
|
-
]
|
|
338
|
+
paths: TRANSFORM_PATHS_3
|
|
251
339
|
}
|
|
252
340
|
])
|
|
253
341
|
};
|
|
@@ -274,67 +362,11 @@ function getCheckout(payload) {
|
|
|
274
362
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
275
363
|
{
|
|
276
364
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
277
|
-
paths:
|
|
278
|
-
{ path: "checkout.createdDate" },
|
|
279
|
-
{ path: "checkout.updatedDate" },
|
|
280
|
-
{ path: "checkout.lineItems.media.urlExpirationDate" },
|
|
281
|
-
{
|
|
282
|
-
path: "checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
283
|
-
},
|
|
284
|
-
{ path: "checkout.lineItems.serviceProperties.scheduledDate" },
|
|
285
|
-
{ path: "checkout.lineItems.serviceProperties.endDate" },
|
|
286
|
-
{
|
|
287
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
path: "checkout.membershipOptions.eligibleMemberships.expirationDate"
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
path: "checkout.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
303
|
-
},
|
|
304
|
-
{ path: "checkout.subscriptionCharges.charges.cycleBillingDate" }
|
|
305
|
-
]
|
|
365
|
+
paths: TRANSFORM_PATHS_2
|
|
306
366
|
},
|
|
307
367
|
{
|
|
308
368
|
transformFn: transformRESTFloatToSDKFloat,
|
|
309
|
-
paths:
|
|
310
|
-
{ path: "checkout.lineItems.media.focalPoint.x" },
|
|
311
|
-
{ path: "checkout.lineItems.media.focalPoint.y" },
|
|
312
|
-
{ path: "checkout.lineItems.physicalProperties.weight" },
|
|
313
|
-
{
|
|
314
|
-
path: "checkout.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
315
|
-
},
|
|
316
|
-
{ path: "checkout.billingInfo.address.geocode.latitude" },
|
|
317
|
-
{ path: "checkout.billingInfo.address.geocode.longitude" },
|
|
318
|
-
{
|
|
319
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.latitude"
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.longitude"
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
335
|
-
},
|
|
336
|
-
{ path: "checkout.appliedDiscounts.merchantDiscount.percentage" }
|
|
337
|
-
]
|
|
369
|
+
paths: TRANSFORM_PATHS_3
|
|
338
370
|
}
|
|
339
371
|
])
|
|
340
372
|
};
|
|
@@ -361,67 +393,11 @@ function getCheckoutByCartId(payload) {
|
|
|
361
393
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
362
394
|
{
|
|
363
395
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
364
|
-
paths:
|
|
365
|
-
{ path: "checkout.createdDate" },
|
|
366
|
-
{ path: "checkout.updatedDate" },
|
|
367
|
-
{ path: "checkout.lineItems.media.urlExpirationDate" },
|
|
368
|
-
{
|
|
369
|
-
path: "checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
370
|
-
},
|
|
371
|
-
{ path: "checkout.lineItems.serviceProperties.scheduledDate" },
|
|
372
|
-
{ path: "checkout.lineItems.serviceProperties.endDate" },
|
|
373
|
-
{
|
|
374
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
path: "checkout.membershipOptions.eligibleMemberships.expirationDate"
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
path: "checkout.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
390
|
-
},
|
|
391
|
-
{ path: "checkout.subscriptionCharges.charges.cycleBillingDate" }
|
|
392
|
-
]
|
|
396
|
+
paths: TRANSFORM_PATHS_2
|
|
393
397
|
},
|
|
394
398
|
{
|
|
395
399
|
transformFn: transformRESTFloatToSDKFloat,
|
|
396
|
-
paths:
|
|
397
|
-
{ path: "checkout.lineItems.media.focalPoint.x" },
|
|
398
|
-
{ path: "checkout.lineItems.media.focalPoint.y" },
|
|
399
|
-
{ path: "checkout.lineItems.physicalProperties.weight" },
|
|
400
|
-
{
|
|
401
|
-
path: "checkout.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
402
|
-
},
|
|
403
|
-
{ path: "checkout.billingInfo.address.geocode.latitude" },
|
|
404
|
-
{ path: "checkout.billingInfo.address.geocode.longitude" },
|
|
405
|
-
{
|
|
406
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.latitude"
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.longitude"
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
422
|
-
},
|
|
423
|
-
{ path: "checkout.appliedDiscounts.merchantDiscount.percentage" }
|
|
424
|
-
]
|
|
400
|
+
paths: TRANSFORM_PATHS_3
|
|
425
401
|
}
|
|
426
402
|
])
|
|
427
403
|
};
|
|
@@ -476,87 +452,15 @@ function updateCheckout(payload) {
|
|
|
476
452
|
const serializedData = transformPaths(payload, [
|
|
477
453
|
{
|
|
478
454
|
transformFn: transformSDKFieldMaskToRESTFieldMask,
|
|
479
|
-
paths:
|
|
455
|
+
paths: TRANSFORM_PATHS_4
|
|
480
456
|
},
|
|
481
457
|
{
|
|
482
458
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
483
|
-
paths:
|
|
484
|
-
{ path: "checkout.createdDate" },
|
|
485
|
-
{ path: "checkout.updatedDate" },
|
|
486
|
-
{ path: "checkout.lineItems.media.urlExpirationDate" },
|
|
487
|
-
{
|
|
488
|
-
path: "checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
489
|
-
},
|
|
490
|
-
{ path: "checkout.lineItems.serviceProperties.scheduledDate" },
|
|
491
|
-
{ path: "checkout.lineItems.serviceProperties.endDate" },
|
|
492
|
-
{
|
|
493
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
path: "checkout.membershipOptions.eligibleMemberships.expirationDate"
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
path: "checkout.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
509
|
-
},
|
|
510
|
-
{ path: "checkout.subscriptionCharges.charges.cycleBillingDate" },
|
|
511
|
-
{ path: "lineItems.media.urlExpirationDate" },
|
|
512
|
-
{
|
|
513
|
-
path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
514
|
-
},
|
|
515
|
-
{ path: "lineItems.serviceProperties.scheduledDate" },
|
|
516
|
-
{ path: "lineItems.serviceProperties.endDate" },
|
|
517
|
-
{
|
|
518
|
-
path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
519
|
-
},
|
|
520
|
-
{ path: "customLineItems.serviceProperties.scheduledDate" },
|
|
521
|
-
{ path: "customLineItems.serviceProperties.endDate" }
|
|
522
|
-
]
|
|
459
|
+
paths: TRANSFORM_PATHS_5
|
|
523
460
|
},
|
|
524
461
|
{
|
|
525
462
|
transformFn: transformSDKFloatToRESTFloat,
|
|
526
|
-
paths:
|
|
527
|
-
{ path: "checkout.lineItems.media.focalPoint.x" },
|
|
528
|
-
{ path: "checkout.lineItems.media.focalPoint.y" },
|
|
529
|
-
{ path: "lineItems.media.focalPoint.x" },
|
|
530
|
-
{ path: "lineItems.media.focalPoint.y" },
|
|
531
|
-
{ path: "checkout.lineItems.physicalProperties.weight" },
|
|
532
|
-
{
|
|
533
|
-
path: "checkout.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
534
|
-
},
|
|
535
|
-
{ path: "checkout.billingInfo.address.geocode.latitude" },
|
|
536
|
-
{ path: "checkout.billingInfo.address.geocode.longitude" },
|
|
537
|
-
{
|
|
538
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.latitude"
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.longitude"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
545
|
-
},
|
|
546
|
-
{
|
|
547
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
554
|
-
},
|
|
555
|
-
{ path: "checkout.appliedDiscounts.merchantDiscount.percentage" },
|
|
556
|
-
{ path: "lineItems.physicalProperties.weight" },
|
|
557
|
-
{ path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
|
|
558
|
-
{ path: "customLineItems.physicalProperties.weight" }
|
|
559
|
-
]
|
|
463
|
+
paths: TRANSFORM_PATHS_6
|
|
560
464
|
}
|
|
561
465
|
]);
|
|
562
466
|
const metadata = {
|
|
@@ -576,67 +480,11 @@ function updateCheckout(payload) {
|
|
|
576
480
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
577
481
|
{
|
|
578
482
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
579
|
-
paths:
|
|
580
|
-
{ path: "checkout.createdDate" },
|
|
581
|
-
{ path: "checkout.updatedDate" },
|
|
582
|
-
{ path: "checkout.lineItems.media.urlExpirationDate" },
|
|
583
|
-
{
|
|
584
|
-
path: "checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
585
|
-
},
|
|
586
|
-
{ path: "checkout.lineItems.serviceProperties.scheduledDate" },
|
|
587
|
-
{ path: "checkout.lineItems.serviceProperties.endDate" },
|
|
588
|
-
{
|
|
589
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
596
|
-
},
|
|
597
|
-
{
|
|
598
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
path: "checkout.membershipOptions.eligibleMemberships.expirationDate"
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
path: "checkout.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
605
|
-
},
|
|
606
|
-
{ path: "checkout.subscriptionCharges.charges.cycleBillingDate" }
|
|
607
|
-
]
|
|
483
|
+
paths: TRANSFORM_PATHS_2
|
|
608
484
|
},
|
|
609
485
|
{
|
|
610
486
|
transformFn: transformRESTFloatToSDKFloat,
|
|
611
|
-
paths:
|
|
612
|
-
{ path: "checkout.lineItems.media.focalPoint.x" },
|
|
613
|
-
{ path: "checkout.lineItems.media.focalPoint.y" },
|
|
614
|
-
{ path: "checkout.lineItems.physicalProperties.weight" },
|
|
615
|
-
{
|
|
616
|
-
path: "checkout.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
617
|
-
},
|
|
618
|
-
{ path: "checkout.billingInfo.address.geocode.latitude" },
|
|
619
|
-
{ path: "checkout.billingInfo.address.geocode.longitude" },
|
|
620
|
-
{
|
|
621
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.latitude"
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.longitude"
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
631
|
-
},
|
|
632
|
-
{
|
|
633
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
637
|
-
},
|
|
638
|
-
{ path: "checkout.appliedDiscounts.merchantDiscount.percentage" }
|
|
639
|
-
]
|
|
487
|
+
paths: TRANSFORM_PATHS_3
|
|
640
488
|
}
|
|
641
489
|
])
|
|
642
490
|
};
|
|
@@ -663,67 +511,11 @@ function removeCoupon(payload) {
|
|
|
663
511
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
664
512
|
{
|
|
665
513
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
666
|
-
paths:
|
|
667
|
-
{ path: "checkout.createdDate" },
|
|
668
|
-
{ path: "checkout.updatedDate" },
|
|
669
|
-
{ path: "checkout.lineItems.media.urlExpirationDate" },
|
|
670
|
-
{
|
|
671
|
-
path: "checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
672
|
-
},
|
|
673
|
-
{ path: "checkout.lineItems.serviceProperties.scheduledDate" },
|
|
674
|
-
{ path: "checkout.lineItems.serviceProperties.endDate" },
|
|
675
|
-
{
|
|
676
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
677
|
-
},
|
|
678
|
-
{
|
|
679
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
path: "checkout.membershipOptions.eligibleMemberships.expirationDate"
|
|
689
|
-
},
|
|
690
|
-
{
|
|
691
|
-
path: "checkout.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
692
|
-
},
|
|
693
|
-
{ path: "checkout.subscriptionCharges.charges.cycleBillingDate" }
|
|
694
|
-
]
|
|
514
|
+
paths: TRANSFORM_PATHS_2
|
|
695
515
|
},
|
|
696
516
|
{
|
|
697
517
|
transformFn: transformRESTFloatToSDKFloat,
|
|
698
|
-
paths:
|
|
699
|
-
{ path: "checkout.lineItems.media.focalPoint.x" },
|
|
700
|
-
{ path: "checkout.lineItems.media.focalPoint.y" },
|
|
701
|
-
{ path: "checkout.lineItems.physicalProperties.weight" },
|
|
702
|
-
{
|
|
703
|
-
path: "checkout.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
704
|
-
},
|
|
705
|
-
{ path: "checkout.billingInfo.address.geocode.latitude" },
|
|
706
|
-
{ path: "checkout.billingInfo.address.geocode.longitude" },
|
|
707
|
-
{
|
|
708
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.latitude"
|
|
709
|
-
},
|
|
710
|
-
{
|
|
711
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.longitude"
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
715
|
-
},
|
|
716
|
-
{
|
|
717
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
718
|
-
},
|
|
719
|
-
{
|
|
720
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
724
|
-
},
|
|
725
|
-
{ path: "checkout.appliedDiscounts.merchantDiscount.percentage" }
|
|
726
|
-
]
|
|
518
|
+
paths: TRANSFORM_PATHS_3
|
|
727
519
|
}
|
|
728
520
|
])
|
|
729
521
|
};
|
|
@@ -750,67 +542,11 @@ function removeGiftCard(payload) {
|
|
|
750
542
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
751
543
|
{
|
|
752
544
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
753
|
-
paths:
|
|
754
|
-
{ path: "checkout.createdDate" },
|
|
755
|
-
{ path: "checkout.updatedDate" },
|
|
756
|
-
{ path: "checkout.lineItems.media.urlExpirationDate" },
|
|
757
|
-
{
|
|
758
|
-
path: "checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
759
|
-
},
|
|
760
|
-
{ path: "checkout.lineItems.serviceProperties.scheduledDate" },
|
|
761
|
-
{ path: "checkout.lineItems.serviceProperties.endDate" },
|
|
762
|
-
{
|
|
763
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
770
|
-
},
|
|
771
|
-
{
|
|
772
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
773
|
-
},
|
|
774
|
-
{
|
|
775
|
-
path: "checkout.membershipOptions.eligibleMemberships.expirationDate"
|
|
776
|
-
},
|
|
777
|
-
{
|
|
778
|
-
path: "checkout.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
779
|
-
},
|
|
780
|
-
{ path: "checkout.subscriptionCharges.charges.cycleBillingDate" }
|
|
781
|
-
]
|
|
545
|
+
paths: TRANSFORM_PATHS_2
|
|
782
546
|
},
|
|
783
547
|
{
|
|
784
548
|
transformFn: transformRESTFloatToSDKFloat,
|
|
785
|
-
paths:
|
|
786
|
-
{ path: "checkout.lineItems.media.focalPoint.x" },
|
|
787
|
-
{ path: "checkout.lineItems.media.focalPoint.y" },
|
|
788
|
-
{ path: "checkout.lineItems.physicalProperties.weight" },
|
|
789
|
-
{
|
|
790
|
-
path: "checkout.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
791
|
-
},
|
|
792
|
-
{ path: "checkout.billingInfo.address.geocode.latitude" },
|
|
793
|
-
{ path: "checkout.billingInfo.address.geocode.longitude" },
|
|
794
|
-
{
|
|
795
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.latitude"
|
|
796
|
-
},
|
|
797
|
-
{
|
|
798
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.longitude"
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
802
|
-
},
|
|
803
|
-
{
|
|
804
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
808
|
-
},
|
|
809
|
-
{
|
|
810
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
811
|
-
},
|
|
812
|
-
{ path: "checkout.appliedDiscounts.merchantDiscount.percentage" }
|
|
813
|
-
]
|
|
549
|
+
paths: TRANSFORM_PATHS_3
|
|
814
550
|
}
|
|
815
551
|
])
|
|
816
552
|
};
|
|
@@ -837,67 +573,11 @@ function removeOverrideCheckoutUrl(payload) {
|
|
|
837
573
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
838
574
|
{
|
|
839
575
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
840
|
-
paths:
|
|
841
|
-
{ path: "checkout.createdDate" },
|
|
842
|
-
{ path: "checkout.updatedDate" },
|
|
843
|
-
{ path: "checkout.lineItems.media.urlExpirationDate" },
|
|
844
|
-
{
|
|
845
|
-
path: "checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
846
|
-
},
|
|
847
|
-
{ path: "checkout.lineItems.serviceProperties.scheduledDate" },
|
|
848
|
-
{ path: "checkout.lineItems.serviceProperties.endDate" },
|
|
849
|
-
{
|
|
850
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
851
|
-
},
|
|
852
|
-
{
|
|
853
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
854
|
-
},
|
|
855
|
-
{
|
|
856
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
860
|
-
},
|
|
861
|
-
{
|
|
862
|
-
path: "checkout.membershipOptions.eligibleMemberships.expirationDate"
|
|
863
|
-
},
|
|
864
|
-
{
|
|
865
|
-
path: "checkout.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
866
|
-
},
|
|
867
|
-
{ path: "checkout.subscriptionCharges.charges.cycleBillingDate" }
|
|
868
|
-
]
|
|
576
|
+
paths: TRANSFORM_PATHS_2
|
|
869
577
|
},
|
|
870
578
|
{
|
|
871
579
|
transformFn: transformRESTFloatToSDKFloat,
|
|
872
|
-
paths:
|
|
873
|
-
{ path: "checkout.lineItems.media.focalPoint.x" },
|
|
874
|
-
{ path: "checkout.lineItems.media.focalPoint.y" },
|
|
875
|
-
{ path: "checkout.lineItems.physicalProperties.weight" },
|
|
876
|
-
{
|
|
877
|
-
path: "checkout.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
878
|
-
},
|
|
879
|
-
{ path: "checkout.billingInfo.address.geocode.latitude" },
|
|
880
|
-
{ path: "checkout.billingInfo.address.geocode.longitude" },
|
|
881
|
-
{
|
|
882
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.latitude"
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.longitude"
|
|
886
|
-
},
|
|
887
|
-
{
|
|
888
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
889
|
-
},
|
|
890
|
-
{
|
|
891
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
892
|
-
},
|
|
893
|
-
{
|
|
894
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
898
|
-
},
|
|
899
|
-
{ path: "checkout.appliedDiscounts.merchantDiscount.percentage" }
|
|
900
|
-
]
|
|
580
|
+
paths: TRANSFORM_PATHS_3
|
|
901
581
|
}
|
|
902
582
|
])
|
|
903
583
|
};
|
|
@@ -910,29 +590,11 @@ function addToCheckout(payload) {
|
|
|
910
590
|
const serializedData = transformPaths(payload, [
|
|
911
591
|
{
|
|
912
592
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
913
|
-
paths:
|
|
914
|
-
{ path: "lineItems.media.urlExpirationDate" },
|
|
915
|
-
{
|
|
916
|
-
path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
917
|
-
},
|
|
918
|
-
{ path: "lineItems.serviceProperties.scheduledDate" },
|
|
919
|
-
{ path: "lineItems.serviceProperties.endDate" },
|
|
920
|
-
{
|
|
921
|
-
path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
922
|
-
},
|
|
923
|
-
{ path: "customLineItems.serviceProperties.scheduledDate" },
|
|
924
|
-
{ path: "customLineItems.serviceProperties.endDate" }
|
|
925
|
-
]
|
|
593
|
+
paths: TRANSFORM_PATHS_7
|
|
926
594
|
},
|
|
927
595
|
{
|
|
928
596
|
transformFn: transformSDKFloatToRESTFloat,
|
|
929
|
-
paths:
|
|
930
|
-
{ path: "lineItems.media.focalPoint.x" },
|
|
931
|
-
{ path: "lineItems.media.focalPoint.y" },
|
|
932
|
-
{ path: "lineItems.physicalProperties.weight" },
|
|
933
|
-
{ path: "lineItems.catalogOverrideFields.physicalProperties.weight" },
|
|
934
|
-
{ path: "customLineItems.physicalProperties.weight" }
|
|
935
|
-
]
|
|
597
|
+
paths: TRANSFORM_PATHS_8
|
|
936
598
|
}
|
|
937
599
|
]);
|
|
938
600
|
const metadata = {
|
|
@@ -952,67 +614,11 @@ function addToCheckout(payload) {
|
|
|
952
614
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
953
615
|
{
|
|
954
616
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
955
|
-
paths:
|
|
956
|
-
{ path: "checkout.createdDate" },
|
|
957
|
-
{ path: "checkout.updatedDate" },
|
|
958
|
-
{ path: "checkout.lineItems.media.urlExpirationDate" },
|
|
959
|
-
{
|
|
960
|
-
path: "checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
961
|
-
},
|
|
962
|
-
{ path: "checkout.lineItems.serviceProperties.scheduledDate" },
|
|
963
|
-
{ path: "checkout.lineItems.serviceProperties.endDate" },
|
|
964
|
-
{
|
|
965
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
966
|
-
},
|
|
967
|
-
{
|
|
968
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
972
|
-
},
|
|
973
|
-
{
|
|
974
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
975
|
-
},
|
|
976
|
-
{
|
|
977
|
-
path: "checkout.membershipOptions.eligibleMemberships.expirationDate"
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
path: "checkout.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
981
|
-
},
|
|
982
|
-
{ path: "checkout.subscriptionCharges.charges.cycleBillingDate" }
|
|
983
|
-
]
|
|
617
|
+
paths: TRANSFORM_PATHS_2
|
|
984
618
|
},
|
|
985
619
|
{
|
|
986
620
|
transformFn: transformRESTFloatToSDKFloat,
|
|
987
|
-
paths:
|
|
988
|
-
{ path: "checkout.lineItems.media.focalPoint.x" },
|
|
989
|
-
{ path: "checkout.lineItems.media.focalPoint.y" },
|
|
990
|
-
{ path: "checkout.lineItems.physicalProperties.weight" },
|
|
991
|
-
{
|
|
992
|
-
path: "checkout.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
993
|
-
},
|
|
994
|
-
{ path: "checkout.billingInfo.address.geocode.latitude" },
|
|
995
|
-
{ path: "checkout.billingInfo.address.geocode.longitude" },
|
|
996
|
-
{
|
|
997
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.latitude"
|
|
998
|
-
},
|
|
999
|
-
{
|
|
1000
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.longitude"
|
|
1001
|
-
},
|
|
1002
|
-
{
|
|
1003
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
1004
|
-
},
|
|
1005
|
-
{
|
|
1006
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
1007
|
-
},
|
|
1008
|
-
{
|
|
1009
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
1010
|
-
},
|
|
1011
|
-
{
|
|
1012
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
1013
|
-
},
|
|
1014
|
-
{ path: "checkout.appliedDiscounts.merchantDiscount.percentage" }
|
|
1015
|
-
]
|
|
621
|
+
paths: TRANSFORM_PATHS_3
|
|
1016
622
|
}
|
|
1017
623
|
])
|
|
1018
624
|
};
|
|
@@ -1039,67 +645,11 @@ function removeLineItems(payload) {
|
|
|
1039
645
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1040
646
|
{
|
|
1041
647
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1042
|
-
paths:
|
|
1043
|
-
{ path: "checkout.createdDate" },
|
|
1044
|
-
{ path: "checkout.updatedDate" },
|
|
1045
|
-
{ path: "checkout.lineItems.media.urlExpirationDate" },
|
|
1046
|
-
{
|
|
1047
|
-
path: "checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
1048
|
-
},
|
|
1049
|
-
{ path: "checkout.lineItems.serviceProperties.scheduledDate" },
|
|
1050
|
-
{ path: "checkout.lineItems.serviceProperties.endDate" },
|
|
1051
|
-
{
|
|
1052
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
1053
|
-
},
|
|
1054
|
-
{
|
|
1055
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
1056
|
-
},
|
|
1057
|
-
{
|
|
1058
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
1059
|
-
},
|
|
1060
|
-
{
|
|
1061
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
1062
|
-
},
|
|
1063
|
-
{
|
|
1064
|
-
path: "checkout.membershipOptions.eligibleMemberships.expirationDate"
|
|
1065
|
-
},
|
|
1066
|
-
{
|
|
1067
|
-
path: "checkout.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
1068
|
-
},
|
|
1069
|
-
{ path: "checkout.subscriptionCharges.charges.cycleBillingDate" }
|
|
1070
|
-
]
|
|
648
|
+
paths: TRANSFORM_PATHS_2
|
|
1071
649
|
},
|
|
1072
650
|
{
|
|
1073
651
|
transformFn: transformRESTFloatToSDKFloat,
|
|
1074
|
-
paths:
|
|
1075
|
-
{ path: "checkout.lineItems.media.focalPoint.x" },
|
|
1076
|
-
{ path: "checkout.lineItems.media.focalPoint.y" },
|
|
1077
|
-
{ path: "checkout.lineItems.physicalProperties.weight" },
|
|
1078
|
-
{
|
|
1079
|
-
path: "checkout.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
1080
|
-
},
|
|
1081
|
-
{ path: "checkout.billingInfo.address.geocode.latitude" },
|
|
1082
|
-
{ path: "checkout.billingInfo.address.geocode.longitude" },
|
|
1083
|
-
{
|
|
1084
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.latitude"
|
|
1085
|
-
},
|
|
1086
|
-
{
|
|
1087
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.longitude"
|
|
1088
|
-
},
|
|
1089
|
-
{
|
|
1090
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
1091
|
-
},
|
|
1092
|
-
{
|
|
1093
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
1094
|
-
},
|
|
1095
|
-
{
|
|
1096
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
1097
|
-
},
|
|
1098
|
-
{
|
|
1099
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
1100
|
-
},
|
|
1101
|
-
{ path: "checkout.appliedDiscounts.merchantDiscount.percentage" }
|
|
1102
|
-
]
|
|
652
|
+
paths: TRANSFORM_PATHS_3
|
|
1103
653
|
}
|
|
1104
654
|
])
|
|
1105
655
|
};
|
|
@@ -1168,7 +718,7 @@ function markCheckoutAsCompletedAndRedirectToUrl(payload) {
|
|
|
1168
718
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1169
719
|
{
|
|
1170
720
|
transformFn: transformRESTBytesToSDKBytes,
|
|
1171
|
-
paths:
|
|
721
|
+
paths: TRANSFORM_PATHS_9
|
|
1172
722
|
}
|
|
1173
723
|
])
|
|
1174
724
|
};
|
|
@@ -1216,67 +766,11 @@ function updateLineItemsQuantity(payload) {
|
|
|
1216
766
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1217
767
|
{
|
|
1218
768
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1219
|
-
paths:
|
|
1220
|
-
{ path: "checkout.createdDate" },
|
|
1221
|
-
{ path: "checkout.updatedDate" },
|
|
1222
|
-
{ path: "checkout.lineItems.media.urlExpirationDate" },
|
|
1223
|
-
{
|
|
1224
|
-
path: "checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
1225
|
-
},
|
|
1226
|
-
{ path: "checkout.lineItems.serviceProperties.scheduledDate" },
|
|
1227
|
-
{ path: "checkout.lineItems.serviceProperties.endDate" },
|
|
1228
|
-
{
|
|
1229
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
1230
|
-
},
|
|
1231
|
-
{
|
|
1232
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
1233
|
-
},
|
|
1234
|
-
{
|
|
1235
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
|
|
1239
|
-
},
|
|
1240
|
-
{
|
|
1241
|
-
path: "checkout.membershipOptions.eligibleMemberships.expirationDate"
|
|
1242
|
-
},
|
|
1243
|
-
{
|
|
1244
|
-
path: "checkout.membershipOptions.invalidMemberships.membership.expirationDate"
|
|
1245
|
-
},
|
|
1246
|
-
{ path: "checkout.subscriptionCharges.charges.cycleBillingDate" }
|
|
1247
|
-
]
|
|
769
|
+
paths: TRANSFORM_PATHS_2
|
|
1248
770
|
},
|
|
1249
771
|
{
|
|
1250
772
|
transformFn: transformRESTFloatToSDKFloat,
|
|
1251
|
-
paths:
|
|
1252
|
-
{ path: "checkout.lineItems.media.focalPoint.x" },
|
|
1253
|
-
{ path: "checkout.lineItems.media.focalPoint.y" },
|
|
1254
|
-
{ path: "checkout.lineItems.physicalProperties.weight" },
|
|
1255
|
-
{
|
|
1256
|
-
path: "checkout.lineItems.catalogOverrideFields.physicalProperties.weight"
|
|
1257
|
-
},
|
|
1258
|
-
{ path: "checkout.billingInfo.address.geocode.latitude" },
|
|
1259
|
-
{ path: "checkout.billingInfo.address.geocode.longitude" },
|
|
1260
|
-
{
|
|
1261
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.latitude"
|
|
1262
|
-
},
|
|
1263
|
-
{
|
|
1264
|
-
path: "checkout.shippingInfo.shippingDestination.address.geocode.longitude"
|
|
1265
|
-
},
|
|
1266
|
-
{
|
|
1267
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.latitude"
|
|
1268
|
-
},
|
|
1269
|
-
{
|
|
1270
|
-
path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.geocode.longitude"
|
|
1271
|
-
},
|
|
1272
|
-
{
|
|
1273
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.latitude"
|
|
1274
|
-
},
|
|
1275
|
-
{
|
|
1276
|
-
path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address.geocode.longitude"
|
|
1277
|
-
},
|
|
1278
|
-
{ path: "checkout.appliedDiscounts.merchantDiscount.percentage" }
|
|
1279
|
-
]
|
|
773
|
+
paths: TRANSFORM_PATHS_3
|
|
1280
774
|
}
|
|
1281
775
|
])
|
|
1282
776
|
};
|