@wix/auto_sdk_ecom_orders 1.0.71 → 1.0.72
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/{internal/cjs/ecom-v1-order-orders.universal-BuGgtT93.d.ts → cjs/ecom-v1-order-orders.universal-C73TYoI7.d.ts} +1548 -736
- package/build/cjs/index.d.ts +56 -3
- package/build/cjs/index.js +1035 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +1259 -332
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1006 -38
- package/build/cjs/meta.js +637 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/{internal/es/ecom-v1-order-orders.universal-BuGgtT93.d.mts → es/ecom-v1-order-orders.universal-C73TYoI7.d.mts} +1548 -736
- package/build/es/index.d.mts +56 -3
- package/build/es/index.mjs +1008 -7
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +1232 -331
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1006 -38
- package/build/es/meta.mjs +625 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/{cjs/ecom-v1-order-orders.universal-B51dgVhk.d.ts → internal/cjs/ecom-v1-order-orders.universal-KCtJReRk.d.ts} +2225 -222
- package/build/internal/cjs/index.d.ts +162 -3
- package/build/internal/cjs/index.js +1035 -8
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +1259 -332
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1006 -38
- package/build/internal/cjs/meta.js +637 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/{es/ecom-v1-order-orders.universal-B51dgVhk.d.mts → internal/es/ecom-v1-order-orders.universal-KCtJReRk.d.mts} +2225 -222
- package/build/internal/es/index.d.mts +162 -3
- package/build/internal/es/index.mjs +1008 -7
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +1232 -331
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1006 -38
- package/build/internal/es/meta.mjs +625 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -20,33 +20,48 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// index.typings.ts
|
|
21
21
|
var index_typings_exports = {};
|
|
22
22
|
__export(index_typings_exports, {
|
|
23
|
+
ActionType: () => ActionType,
|
|
23
24
|
ActivityType: () => ActivityType,
|
|
24
25
|
AdjustmentType: () => AdjustmentType,
|
|
25
26
|
AttributionSource: () => AttributionSource,
|
|
27
|
+
AuthorizationCaptureStatus: () => AuthorizationCaptureStatus,
|
|
28
|
+
AuthorizationVoidStatus: () => AuthorizationVoidStatus,
|
|
26
29
|
ChannelType: () => ChannelType,
|
|
30
|
+
ChargebackStatus: () => ChargebackStatus,
|
|
27
31
|
CustomFieldGroup: () => CustomFieldGroup,
|
|
28
32
|
DeltaPaymentOptionType: () => DeltaPaymentOptionType,
|
|
29
33
|
DepositType: () => DepositType,
|
|
30
34
|
DescriptionLineType: () => DescriptionLineType,
|
|
31
35
|
DiscountReason: () => DiscountReason,
|
|
32
36
|
DiscountType: () => DiscountType,
|
|
37
|
+
DurationUnit: () => DurationUnit,
|
|
33
38
|
FulfillmentStatus: () => FulfillmentStatus,
|
|
34
39
|
InventoryAction: () => InventoryAction,
|
|
35
40
|
InvoiceStatus: () => InvoiceStatus,
|
|
36
41
|
ItemTypeItemType: () => ItemTypeItemType,
|
|
37
42
|
JurisdictionType: () => JurisdictionType,
|
|
38
43
|
LineItemQuantityChangeType: () => LineItemQuantityChangeType,
|
|
44
|
+
ManuallyRefundableReason: () => ManuallyRefundableReason,
|
|
45
|
+
MembershipPaymentStatus: () => MembershipPaymentStatus,
|
|
46
|
+
NonRefundableReason: () => NonRefundableReason,
|
|
39
47
|
OrderApprovalStrategy: () => OrderApprovalStrategy,
|
|
40
48
|
OrderStatus: () => OrderStatus,
|
|
49
|
+
PaymentCollectabilityStatus: () => PaymentCollectabilityStatus,
|
|
41
50
|
PaymentOptionType: () => PaymentOptionType,
|
|
42
51
|
PaymentStatus: () => PaymentStatus,
|
|
43
52
|
PickupMethod: () => PickupMethod,
|
|
44
53
|
Placement: () => Placement,
|
|
54
|
+
Reason: () => Reason,
|
|
55
|
+
RefundStatus: () => RefundStatus,
|
|
56
|
+
RefundableStatus: () => RefundableStatus,
|
|
57
|
+
RestockType: () => RestockType,
|
|
58
|
+
ScheduledAction: () => ScheduledAction,
|
|
45
59
|
SortOrder: () => SortOrder,
|
|
46
60
|
SourceType: () => SourceType,
|
|
47
61
|
SubdivisionType: () => SubdivisionType,
|
|
48
62
|
SubscriptionFrequency: () => SubscriptionFrequency,
|
|
49
63
|
TaxableAddressType: () => TaxableAddressType,
|
|
64
|
+
TransactionStatus: () => TransactionStatus,
|
|
50
65
|
ValueType: () => ValueType,
|
|
51
66
|
VatType: () => VatType,
|
|
52
67
|
VersioningMode: () => VersioningMode,
|
|
@@ -57,15 +72,26 @@ __export(index_typings_exports, {
|
|
|
57
72
|
bulkUpdateOrderTags: () => bulkUpdateOrderTags2,
|
|
58
73
|
bulkUpdateOrders: () => bulkUpdateOrders2,
|
|
59
74
|
cancelOrder: () => cancelOrder2,
|
|
75
|
+
captureAuthorizedPayments: () => captureAuthorizedPayments2,
|
|
76
|
+
chargeMemberships: () => chargeMemberships2,
|
|
60
77
|
commitDeltas: () => commitDeltas2,
|
|
61
78
|
createOrder: () => createOrder2,
|
|
62
79
|
deleteActivity: () => deleteActivity2,
|
|
63
80
|
getOrder: () => getOrder2,
|
|
81
|
+
getPaymentCollectabilityStatus: () => getPaymentCollectabilityStatus2,
|
|
82
|
+
getRefundabilityStatus: () => getRefundabilityStatus2,
|
|
83
|
+
paymentCollectionBulkMarkOrdersAsPaid: () => paymentCollectionBulkMarkOrdersAsPaid2,
|
|
84
|
+
paymentCollectionCreatePaymentGatewayOrder: () => paymentCollectionCreatePaymentGatewayOrder2,
|
|
85
|
+
paymentCollectionMarkOrderAsPaid: () => paymentCollectionMarkOrderAsPaid2,
|
|
86
|
+
preparePaymentCollection: () => preparePaymentCollection2,
|
|
87
|
+
recordManuallyCollectedPayment: () => recordManuallyCollectedPayment2,
|
|
64
88
|
searchOrders: () => searchOrders2,
|
|
89
|
+
triggerRefund: () => triggerRefund2,
|
|
65
90
|
updateActivity: () => updateActivity2,
|
|
66
91
|
updateOrder: () => updateOrder2,
|
|
67
92
|
updateOrderLineItem: () => updateOrderLineItem2,
|
|
68
|
-
updateOrderStatus: () => updateOrderStatus2
|
|
93
|
+
updateOrderStatus: () => updateOrderStatus2,
|
|
94
|
+
voidAuthorizedPayments: () => voidAuthorizedPayments2
|
|
69
95
|
});
|
|
70
96
|
module.exports = __toCommonJS(index_typings_exports);
|
|
71
97
|
|
|
@@ -113,20 +139,109 @@ function resolveComWixEcomOrdersV1OrdersUrl(opts) {
|
|
|
113
139
|
};
|
|
114
140
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
115
141
|
}
|
|
142
|
+
function resolveComWixEcomOrdersPaymentsCollectorV1PaymentsCollectorUrl(opts) {
|
|
143
|
+
const domainToMappings = {
|
|
144
|
+
"api._api_base_domain_": [
|
|
145
|
+
{
|
|
146
|
+
srcPath: "/payments-collector",
|
|
147
|
+
destPath: ""
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"www.wixapis.com": [
|
|
151
|
+
{
|
|
152
|
+
srcPath: "/ecom/v1/payments-collector",
|
|
153
|
+
destPath: "/v1/payments-collector"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"manage._base_domain_": [
|
|
157
|
+
{
|
|
158
|
+
srcPath: "/ecom/v1/payments-collector",
|
|
159
|
+
destPath: "/v1/payments-collector"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
srcPath: "/_api/v1/payments-collector",
|
|
163
|
+
destPath: "/v1/payments-collector"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
srcPath: "/v1/payments-collector",
|
|
167
|
+
destPath: "/v1/payments-collector"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
srcPath: "/_api/payments-collector",
|
|
171
|
+
destPath: "/v1/payments-collector"
|
|
172
|
+
}
|
|
173
|
+
]
|
|
174
|
+
};
|
|
175
|
+
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
176
|
+
}
|
|
116
177
|
var PACKAGE_NAME = "@wix/auto_sdk_ecom_orders";
|
|
117
|
-
function
|
|
118
|
-
function
|
|
178
|
+
function preparePaymentCollection(payload) {
|
|
179
|
+
function __preparePaymentCollection({ host }) {
|
|
180
|
+
const metadata = {
|
|
181
|
+
entityFqdn: "wix.ecom.v1.order",
|
|
182
|
+
method: "POST",
|
|
183
|
+
methodFqn: "com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.PreparePaymentCollection",
|
|
184
|
+
packageName: PACKAGE_NAME,
|
|
185
|
+
url: resolveComWixEcomOrdersPaymentsCollectorV1PaymentsCollectorUrl({
|
|
186
|
+
protoPath: "/v1/payments-collector/orders/{ecomOrderId}/prepare-payment-collection",
|
|
187
|
+
data: payload,
|
|
188
|
+
host
|
|
189
|
+
}),
|
|
190
|
+
data: payload
|
|
191
|
+
};
|
|
192
|
+
return metadata;
|
|
193
|
+
}
|
|
194
|
+
return __preparePaymentCollection;
|
|
195
|
+
}
|
|
196
|
+
function getPaymentCollectabilityStatus(payload) {
|
|
197
|
+
function __getPaymentCollectabilityStatus({ host }) {
|
|
119
198
|
const metadata = {
|
|
120
199
|
entityFqdn: "wix.ecom.v1.order",
|
|
121
200
|
method: "GET",
|
|
122
|
-
methodFqn: "com.wix.ecom.orders.v1.
|
|
201
|
+
methodFqn: "com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.GetPaymentCollectabilityStatus",
|
|
123
202
|
packageName: PACKAGE_NAME,
|
|
124
|
-
url:
|
|
125
|
-
protoPath: "/v1/orders/{
|
|
203
|
+
url: resolveComWixEcomOrdersPaymentsCollectorV1PaymentsCollectorUrl({
|
|
204
|
+
protoPath: "/v1/payments-collector/orders/{ecomOrderId}/payment-collectability-status",
|
|
126
205
|
data: payload,
|
|
127
206
|
host
|
|
128
207
|
}),
|
|
129
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
208
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
209
|
+
};
|
|
210
|
+
return metadata;
|
|
211
|
+
}
|
|
212
|
+
return __getPaymentCollectabilityStatus;
|
|
213
|
+
}
|
|
214
|
+
function recordManuallyCollectedPayment(payload) {
|
|
215
|
+
function __recordManuallyCollectedPayment({ host }) {
|
|
216
|
+
const metadata = {
|
|
217
|
+
entityFqdn: "wix.ecom.v1.order",
|
|
218
|
+
method: "POST",
|
|
219
|
+
methodFqn: "com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.RecordManuallyCollectedPayment",
|
|
220
|
+
packageName: PACKAGE_NAME,
|
|
221
|
+
url: resolveComWixEcomOrdersPaymentsCollectorV1PaymentsCollectorUrl({
|
|
222
|
+
protoPath: "/v1/payments-collector/orders/{orderId}/manual-payment",
|
|
223
|
+
data: payload,
|
|
224
|
+
host
|
|
225
|
+
}),
|
|
226
|
+
data: payload
|
|
227
|
+
};
|
|
228
|
+
return metadata;
|
|
229
|
+
}
|
|
230
|
+
return __recordManuallyCollectedPayment;
|
|
231
|
+
}
|
|
232
|
+
function paymentCollectionMarkOrderAsPaid(payload) {
|
|
233
|
+
function __paymentCollectionMarkOrderAsPaid({ host }) {
|
|
234
|
+
const metadata = {
|
|
235
|
+
entityFqdn: "wix.ecom.v1.order",
|
|
236
|
+
method: "POST",
|
|
237
|
+
methodFqn: "com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.MarkOrderAsPaid",
|
|
238
|
+
packageName: PACKAGE_NAME,
|
|
239
|
+
url: resolveComWixEcomOrdersPaymentsCollectorV1PaymentsCollectorUrl({
|
|
240
|
+
protoPath: "/v1/payments-collector/orders/{ecomOrderId}/mark-as-paid",
|
|
241
|
+
data: payload,
|
|
242
|
+
host
|
|
243
|
+
}),
|
|
244
|
+
data: payload,
|
|
130
245
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
131
246
|
{
|
|
132
247
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
@@ -173,17 +288,17 @@ function getOrder(payload) {
|
|
|
173
288
|
};
|
|
174
289
|
return metadata;
|
|
175
290
|
}
|
|
176
|
-
return
|
|
291
|
+
return __paymentCollectionMarkOrderAsPaid;
|
|
177
292
|
}
|
|
178
|
-
function
|
|
179
|
-
function
|
|
293
|
+
function paymentCollectionBulkMarkOrdersAsPaid(payload) {
|
|
294
|
+
function __paymentCollectionBulkMarkOrdersAsPaid({ host }) {
|
|
180
295
|
const metadata = {
|
|
181
296
|
entityFqdn: "wix.ecom.v1.order",
|
|
182
297
|
method: "POST",
|
|
183
|
-
methodFqn: "com.wix.ecom.orders.v1.
|
|
298
|
+
methodFqn: "com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.BulkMarkOrdersAsPaid",
|
|
184
299
|
packageName: PACKAGE_NAME,
|
|
185
|
-
url:
|
|
186
|
-
protoPath: "/v1/
|
|
300
|
+
url: resolveComWixEcomOrdersPaymentsCollectorV1PaymentsCollectorUrl({
|
|
301
|
+
protoPath: "/v1/bulk/payments-collector/mark-as-paid",
|
|
187
302
|
data: payload,
|
|
188
303
|
host
|
|
189
304
|
}),
|
|
@@ -192,214 +307,265 @@ function searchOrders(payload) {
|
|
|
192
307
|
{
|
|
193
308
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
194
309
|
paths: [
|
|
195
|
-
{ path: "
|
|
196
|
-
{ path: "
|
|
197
|
-
{ path: "
|
|
198
|
-
{ path: "
|
|
199
|
-
{ path: "
|
|
310
|
+
{ path: "results.item.createdDate" },
|
|
311
|
+
{ path: "results.item.updatedDate" },
|
|
312
|
+
{ path: "results.item.purchasedDate" },
|
|
313
|
+
{ path: "results.item.lineItems.image.urlExpirationDate" },
|
|
314
|
+
{ path: "results.item.lineItems.digitalFile.expirationDate" },
|
|
200
315
|
{
|
|
201
|
-
path: "
|
|
316
|
+
path: "results.item.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
202
317
|
},
|
|
203
|
-
{ path: "
|
|
204
|
-
{
|
|
205
|
-
|
|
206
|
-
|
|
318
|
+
{ path: "results.item.shippingInfo.logistics.deliverByDate" },
|
|
319
|
+
{
|
|
320
|
+
path: "results.item.shippingInfo.logistics.deliveryTimeSlot.from"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
path: "results.item.shippingInfo.logistics.deliveryTimeSlot.to"
|
|
324
|
+
},
|
|
325
|
+
{ path: "results.item.activities.createdDate" }
|
|
207
326
|
]
|
|
208
327
|
},
|
|
209
328
|
{
|
|
210
329
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
211
330
|
paths: [
|
|
212
|
-
{ path: "
|
|
213
|
-
{ path: "
|
|
214
|
-
{ path: "
|
|
215
|
-
{ path: "
|
|
216
|
-
{ path: "
|
|
331
|
+
{ path: "results.item.lineItems.image.focalPoint.x" },
|
|
332
|
+
{ path: "results.item.lineItems.image.focalPoint.y" },
|
|
333
|
+
{ path: "results.item.lineItems.physicalProperties.weight" },
|
|
334
|
+
{ path: "results.item.billingInfo.address.geocode.latitude" },
|
|
335
|
+
{ path: "results.item.billingInfo.address.geocode.longitude" },
|
|
217
336
|
{
|
|
218
|
-
path: "
|
|
337
|
+
path: "results.item.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
219
338
|
},
|
|
220
339
|
{
|
|
221
|
-
path: "
|
|
340
|
+
path: "results.item.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
222
341
|
},
|
|
223
342
|
{
|
|
224
|
-
path: "
|
|
343
|
+
path: "results.item.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
225
344
|
},
|
|
226
345
|
{
|
|
227
|
-
path: "
|
|
346
|
+
path: "results.item.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
228
347
|
},
|
|
229
|
-
{ path: "
|
|
230
|
-
{ path: "
|
|
348
|
+
{ path: "results.item.recipientInfo.address.geocode.latitude" },
|
|
349
|
+
{ path: "results.item.recipientInfo.address.geocode.longitude" }
|
|
231
350
|
]
|
|
232
351
|
}
|
|
233
352
|
])
|
|
234
353
|
};
|
|
235
354
|
return metadata;
|
|
236
355
|
}
|
|
237
|
-
return
|
|
356
|
+
return __paymentCollectionBulkMarkOrdersAsPaid;
|
|
238
357
|
}
|
|
239
|
-
function
|
|
240
|
-
function
|
|
358
|
+
function getRefundabilityStatus(payload) {
|
|
359
|
+
function __getRefundabilityStatus({ host }) {
|
|
360
|
+
const metadata = {
|
|
361
|
+
entityFqdn: "wix.ecom.v1.order",
|
|
362
|
+
method: "GET",
|
|
363
|
+
methodFqn: "com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.GetRefundabilityStatus",
|
|
364
|
+
packageName: PACKAGE_NAME,
|
|
365
|
+
url: resolveComWixEcomOrdersPaymentsCollectorV1PaymentsCollectorUrl({
|
|
366
|
+
protoPath: "/v1/payments-collector/orders/{ecomOrderId}/refundability",
|
|
367
|
+
data: payload,
|
|
368
|
+
host
|
|
369
|
+
}),
|
|
370
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
371
|
+
};
|
|
372
|
+
return metadata;
|
|
373
|
+
}
|
|
374
|
+
return __getRefundabilityStatus;
|
|
375
|
+
}
|
|
376
|
+
function paymentCollectionCreatePaymentGatewayOrder(payload) {
|
|
377
|
+
function __paymentCollectionCreatePaymentGatewayOrder({ host }) {
|
|
378
|
+
const metadata = {
|
|
379
|
+
entityFqdn: "wix.ecom.v1.order",
|
|
380
|
+
method: "POST",
|
|
381
|
+
methodFqn: "com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.CreatePaymentGatewayOrder",
|
|
382
|
+
packageName: PACKAGE_NAME,
|
|
383
|
+
url: resolveComWixEcomOrdersPaymentsCollectorV1PaymentsCollectorUrl({
|
|
384
|
+
protoPath: "/v1/payments-collector/orders/{ecomOrderId}/create-payment-gateway-order",
|
|
385
|
+
data: payload,
|
|
386
|
+
host
|
|
387
|
+
}),
|
|
388
|
+
data: payload
|
|
389
|
+
};
|
|
390
|
+
return metadata;
|
|
391
|
+
}
|
|
392
|
+
return __paymentCollectionCreatePaymentGatewayOrder;
|
|
393
|
+
}
|
|
394
|
+
function chargeMemberships(payload) {
|
|
395
|
+
function __chargeMemberships({ host }) {
|
|
241
396
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
242
397
|
{
|
|
243
398
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
244
|
-
paths: [
|
|
245
|
-
{ path: "order.createdDate" },
|
|
246
|
-
{ path: "order.updatedDate" },
|
|
247
|
-
{ path: "order.purchasedDate" },
|
|
248
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
249
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
250
|
-
{
|
|
251
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
252
|
-
},
|
|
253
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
254
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
255
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
256
|
-
{ path: "order.activities.createdDate" }
|
|
257
|
-
]
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
261
|
-
paths: [
|
|
262
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
263
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
264
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
265
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
266
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
267
|
-
{
|
|
268
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
278
|
-
},
|
|
279
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
280
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
281
|
-
]
|
|
399
|
+
paths: [{ path: "membershipCharges.serviceProperties.scheduledDate" }]
|
|
282
400
|
}
|
|
283
401
|
]);
|
|
284
402
|
const metadata = {
|
|
285
403
|
entityFqdn: "wix.ecom.v1.order",
|
|
286
404
|
method: "POST",
|
|
287
|
-
methodFqn: "com.wix.ecom.orders.v1.
|
|
405
|
+
methodFqn: "com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.ChargeMemberships",
|
|
288
406
|
packageName: PACKAGE_NAME,
|
|
289
|
-
url:
|
|
290
|
-
protoPath: "/v1/orders",
|
|
407
|
+
url: resolveComWixEcomOrdersPaymentsCollectorV1PaymentsCollectorUrl({
|
|
408
|
+
protoPath: "/v1/payments-collector/orders/{ecomOrderId}/charge-membership",
|
|
291
409
|
data: serializedData,
|
|
292
410
|
host
|
|
293
411
|
}),
|
|
294
|
-
data: serializedData
|
|
412
|
+
data: serializedData
|
|
413
|
+
};
|
|
414
|
+
return metadata;
|
|
415
|
+
}
|
|
416
|
+
return __chargeMemberships;
|
|
417
|
+
}
|
|
418
|
+
function triggerRefund(payload) {
|
|
419
|
+
function __triggerRefund({ host }) {
|
|
420
|
+
const metadata = {
|
|
421
|
+
entityFqdn: "wix.ecom.v1.order",
|
|
422
|
+
method: "POST",
|
|
423
|
+
methodFqn: "com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.TriggerRefund",
|
|
424
|
+
packageName: PACKAGE_NAME,
|
|
425
|
+
url: resolveComWixEcomOrdersPaymentsCollectorV1PaymentsCollectorUrl({
|
|
426
|
+
protoPath: "/v1/payments-collector/orders/{ecomOrderId}/trigger-refund",
|
|
427
|
+
data: payload,
|
|
428
|
+
host
|
|
429
|
+
}),
|
|
430
|
+
data: payload,
|
|
295
431
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
296
432
|
{
|
|
297
433
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
298
434
|
paths: [
|
|
299
|
-
{ path: "
|
|
300
|
-
{ path: "
|
|
301
|
-
{ path: "order.purchasedDate" },
|
|
302
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
303
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
435
|
+
{ path: "orderTransactions.payments.createdDate" },
|
|
436
|
+
{ path: "orderTransactions.payments.updatedDate" },
|
|
304
437
|
{
|
|
305
|
-
path: "
|
|
438
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.authorizedDate"
|
|
306
439
|
},
|
|
307
|
-
{
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
{
|
|
440
|
+
{
|
|
441
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.captures.createdDate"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.void.voidedDate"
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
path: "orderTransactions.payments.regularPaymentDetails.chargebacks.createdDate"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
path: "orderTransactions.payments.regularPaymentDetails.chargebacks.updatedDate"
|
|
454
|
+
},
|
|
455
|
+
{ path: "orderTransactions.refunds.createdDate" }
|
|
311
456
|
]
|
|
312
|
-
}
|
|
457
|
+
}
|
|
458
|
+
])
|
|
459
|
+
};
|
|
460
|
+
return metadata;
|
|
461
|
+
}
|
|
462
|
+
return __triggerRefund;
|
|
463
|
+
}
|
|
464
|
+
function voidAuthorizedPayments(payload) {
|
|
465
|
+
function __voidAuthorizedPayments({ host }) {
|
|
466
|
+
const metadata = {
|
|
467
|
+
entityFqdn: "wix.ecom.v1.order",
|
|
468
|
+
method: "POST",
|
|
469
|
+
methodFqn: "com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.VoidAuthorizedPayments",
|
|
470
|
+
packageName: PACKAGE_NAME,
|
|
471
|
+
url: resolveComWixEcomOrdersPaymentsCollectorV1PaymentsCollectorUrl({
|
|
472
|
+
protoPath: "/v1/payments-collector/orders/{ecomOrderId}/void-authorized-payments",
|
|
473
|
+
data: payload,
|
|
474
|
+
host
|
|
475
|
+
}),
|
|
476
|
+
data: payload,
|
|
477
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
313
478
|
{
|
|
314
|
-
transformFn:
|
|
479
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
315
480
|
paths: [
|
|
316
|
-
{ path: "
|
|
317
|
-
{ path: "
|
|
318
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
319
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
320
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
481
|
+
{ path: "orderTransactions.payments.createdDate" },
|
|
482
|
+
{ path: "orderTransactions.payments.updatedDate" },
|
|
321
483
|
{
|
|
322
|
-
path: "
|
|
484
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.authorizedDate"
|
|
323
485
|
},
|
|
324
486
|
{
|
|
325
|
-
path: "
|
|
487
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.captures.createdDate"
|
|
326
488
|
},
|
|
327
489
|
{
|
|
328
|
-
path: "
|
|
490
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.void.voidedDate"
|
|
329
491
|
},
|
|
330
492
|
{
|
|
331
|
-
path: "
|
|
493
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
|
|
332
494
|
},
|
|
333
|
-
{
|
|
334
|
-
|
|
495
|
+
{
|
|
496
|
+
path: "orderTransactions.payments.regularPaymentDetails.chargebacks.createdDate"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
path: "orderTransactions.payments.regularPaymentDetails.chargebacks.updatedDate"
|
|
500
|
+
},
|
|
501
|
+
{ path: "orderTransactions.refunds.createdDate" }
|
|
335
502
|
]
|
|
336
503
|
}
|
|
337
504
|
])
|
|
338
505
|
};
|
|
339
506
|
return metadata;
|
|
340
507
|
}
|
|
341
|
-
return
|
|
508
|
+
return __voidAuthorizedPayments;
|
|
342
509
|
}
|
|
343
|
-
function
|
|
344
|
-
function
|
|
345
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
346
|
-
{
|
|
347
|
-
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
348
|
-
paths: [{ path: "fieldMask" }]
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
352
|
-
paths: [
|
|
353
|
-
{ path: "order.createdDate" },
|
|
354
|
-
{ path: "order.updatedDate" },
|
|
355
|
-
{ path: "order.purchasedDate" },
|
|
356
|
-
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
357
|
-
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
358
|
-
{
|
|
359
|
-
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
360
|
-
},
|
|
361
|
-
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
362
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
363
|
-
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
364
|
-
{ path: "order.activities.createdDate" }
|
|
365
|
-
]
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
369
|
-
paths: [
|
|
370
|
-
{ path: "order.lineItems.image.focalPoint.x" },
|
|
371
|
-
{ path: "order.lineItems.image.focalPoint.y" },
|
|
372
|
-
{ path: "order.lineItems.physicalProperties.weight" },
|
|
373
|
-
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
374
|
-
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
375
|
-
{
|
|
376
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
386
|
-
},
|
|
387
|
-
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
388
|
-
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
389
|
-
]
|
|
390
|
-
}
|
|
391
|
-
]);
|
|
510
|
+
function captureAuthorizedPayments(payload) {
|
|
511
|
+
function __captureAuthorizedPayments({ host }) {
|
|
392
512
|
const metadata = {
|
|
393
513
|
entityFqdn: "wix.ecom.v1.order",
|
|
394
|
-
method: "
|
|
395
|
-
methodFqn: "com.wix.ecom.orders.v1.
|
|
514
|
+
method: "POST",
|
|
515
|
+
methodFqn: "com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.CaptureAuthorizedPayments",
|
|
516
|
+
packageName: PACKAGE_NAME,
|
|
517
|
+
url: resolveComWixEcomOrdersPaymentsCollectorV1PaymentsCollectorUrl({
|
|
518
|
+
protoPath: "/v1/payments-collector/orders/{ecomOrderId}/capture-authorized-payments",
|
|
519
|
+
data: payload,
|
|
520
|
+
host
|
|
521
|
+
}),
|
|
522
|
+
data: payload,
|
|
523
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
524
|
+
{
|
|
525
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
526
|
+
paths: [
|
|
527
|
+
{ path: "orderTransactions.payments.createdDate" },
|
|
528
|
+
{ path: "orderTransactions.payments.updatedDate" },
|
|
529
|
+
{
|
|
530
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.authorizedDate"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.captures.createdDate"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.void.voidedDate"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
path: "orderTransactions.payments.regularPaymentDetails.authorizationDetails.scheduledAction.executionDate"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
path: "orderTransactions.payments.regularPaymentDetails.chargebacks.createdDate"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
path: "orderTransactions.payments.regularPaymentDetails.chargebacks.updatedDate"
|
|
546
|
+
},
|
|
547
|
+
{ path: "orderTransactions.refunds.createdDate" }
|
|
548
|
+
]
|
|
549
|
+
}
|
|
550
|
+
])
|
|
551
|
+
};
|
|
552
|
+
return metadata;
|
|
553
|
+
}
|
|
554
|
+
return __captureAuthorizedPayments;
|
|
555
|
+
}
|
|
556
|
+
function getOrder(payload) {
|
|
557
|
+
function __getOrder({ host }) {
|
|
558
|
+
const metadata = {
|
|
559
|
+
entityFqdn: "wix.ecom.v1.order",
|
|
560
|
+
method: "GET",
|
|
561
|
+
methodFqn: "com.wix.ecom.orders.v1.Orders.GetOrder",
|
|
396
562
|
packageName: PACKAGE_NAME,
|
|
397
563
|
url: resolveComWixEcomOrdersV1OrdersUrl({
|
|
398
|
-
protoPath: "/v1/orders/{
|
|
399
|
-
data:
|
|
564
|
+
protoPath: "/v1/orders/{id}",
|
|
565
|
+
data: payload,
|
|
400
566
|
host
|
|
401
567
|
}),
|
|
402
|
-
|
|
568
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
403
569
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
404
570
|
{
|
|
405
571
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
@@ -446,170 +612,121 @@ function updateOrder(payload) {
|
|
|
446
612
|
};
|
|
447
613
|
return metadata;
|
|
448
614
|
}
|
|
449
|
-
return
|
|
615
|
+
return __getOrder;
|
|
450
616
|
}
|
|
451
|
-
function
|
|
452
|
-
function
|
|
453
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
454
|
-
{
|
|
455
|
-
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
456
|
-
paths: [{ path: "orders.fieldMask" }]
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
460
|
-
paths: [
|
|
461
|
-
{ path: "orders.order.createdDate" },
|
|
462
|
-
{ path: "orders.order.updatedDate" },
|
|
463
|
-
{ path: "orders.order.purchasedDate" },
|
|
464
|
-
{ path: "orders.order.lineItems.image.urlExpirationDate" },
|
|
465
|
-
{ path: "orders.order.lineItems.digitalFile.expirationDate" },
|
|
466
|
-
{
|
|
467
|
-
path: "orders.order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
468
|
-
},
|
|
469
|
-
{ path: "orders.order.shippingInfo.logistics.deliverByDate" },
|
|
470
|
-
{ path: "orders.order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
471
|
-
{ path: "orders.order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
472
|
-
{ path: "orders.order.activities.createdDate" }
|
|
473
|
-
]
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
477
|
-
paths: [
|
|
478
|
-
{ path: "orders.order.lineItems.image.focalPoint.x" },
|
|
479
|
-
{ path: "orders.order.lineItems.image.focalPoint.y" },
|
|
480
|
-
{ path: "orders.order.lineItems.physicalProperties.weight" },
|
|
481
|
-
{ path: "orders.order.billingInfo.address.geocode.latitude" },
|
|
482
|
-
{ path: "orders.order.billingInfo.address.geocode.longitude" },
|
|
483
|
-
{
|
|
484
|
-
path: "orders.order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
path: "orders.order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
path: "orders.order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
path: "orders.order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
494
|
-
},
|
|
495
|
-
{ path: "orders.order.recipientInfo.address.geocode.latitude" },
|
|
496
|
-
{ path: "orders.order.recipientInfo.address.geocode.longitude" }
|
|
497
|
-
]
|
|
498
|
-
}
|
|
499
|
-
]);
|
|
617
|
+
function searchOrders(payload) {
|
|
618
|
+
function __searchOrders({ host }) {
|
|
500
619
|
const metadata = {
|
|
501
620
|
entityFqdn: "wix.ecom.v1.order",
|
|
502
621
|
method: "POST",
|
|
503
|
-
methodFqn: "com.wix.ecom.orders.v1.Orders.
|
|
622
|
+
methodFqn: "com.wix.ecom.orders.v1.Orders.SearchOrders",
|
|
504
623
|
packageName: PACKAGE_NAME,
|
|
505
624
|
url: resolveComWixEcomOrdersV1OrdersUrl({
|
|
506
|
-
protoPath: "/v1/
|
|
507
|
-
data:
|
|
625
|
+
protoPath: "/v1/orders/search",
|
|
626
|
+
data: payload,
|
|
508
627
|
host
|
|
509
628
|
}),
|
|
510
|
-
data:
|
|
629
|
+
data: payload,
|
|
511
630
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
512
631
|
{
|
|
513
632
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
514
633
|
paths: [
|
|
515
|
-
{ path: "
|
|
516
|
-
{ path: "
|
|
517
|
-
{ path: "
|
|
518
|
-
{ path: "
|
|
519
|
-
{ path: "
|
|
520
|
-
{
|
|
521
|
-
path: "results.item.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
522
|
-
},
|
|
523
|
-
{ path: "results.item.shippingInfo.logistics.deliverByDate" },
|
|
524
|
-
{
|
|
525
|
-
path: "results.item.shippingInfo.logistics.deliveryTimeSlot.from"
|
|
526
|
-
},
|
|
634
|
+
{ path: "orders.createdDate" },
|
|
635
|
+
{ path: "orders.updatedDate" },
|
|
636
|
+
{ path: "orders.purchasedDate" },
|
|
637
|
+
{ path: "orders.lineItems.image.urlExpirationDate" },
|
|
638
|
+
{ path: "orders.lineItems.digitalFile.expirationDate" },
|
|
527
639
|
{
|
|
528
|
-
path: "
|
|
640
|
+
path: "orders.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
529
641
|
},
|
|
530
|
-
{ path: "
|
|
642
|
+
{ path: "orders.shippingInfo.logistics.deliverByDate" },
|
|
643
|
+
{ path: "orders.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
644
|
+
{ path: "orders.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
645
|
+
{ path: "orders.activities.createdDate" }
|
|
531
646
|
]
|
|
532
647
|
},
|
|
533
648
|
{
|
|
534
649
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
535
650
|
paths: [
|
|
536
|
-
{ path: "
|
|
537
|
-
{ path: "
|
|
538
|
-
{ path: "
|
|
539
|
-
{ path: "
|
|
540
|
-
{ path: "
|
|
651
|
+
{ path: "orders.lineItems.image.focalPoint.x" },
|
|
652
|
+
{ path: "orders.lineItems.image.focalPoint.y" },
|
|
653
|
+
{ path: "orders.lineItems.physicalProperties.weight" },
|
|
654
|
+
{ path: "orders.billingInfo.address.geocode.latitude" },
|
|
655
|
+
{ path: "orders.billingInfo.address.geocode.longitude" },
|
|
541
656
|
{
|
|
542
|
-
path: "
|
|
657
|
+
path: "orders.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
543
658
|
},
|
|
544
659
|
{
|
|
545
|
-
path: "
|
|
660
|
+
path: "orders.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
546
661
|
},
|
|
547
662
|
{
|
|
548
|
-
path: "
|
|
663
|
+
path: "orders.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
549
664
|
},
|
|
550
665
|
{
|
|
551
|
-
path: "
|
|
666
|
+
path: "orders.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
552
667
|
},
|
|
553
|
-
{ path: "
|
|
554
|
-
{ path: "
|
|
668
|
+
{ path: "orders.recipientInfo.address.geocode.latitude" },
|
|
669
|
+
{ path: "orders.recipientInfo.address.geocode.longitude" }
|
|
555
670
|
]
|
|
556
671
|
}
|
|
557
672
|
])
|
|
558
673
|
};
|
|
559
674
|
return metadata;
|
|
560
675
|
}
|
|
561
|
-
return
|
|
676
|
+
return __searchOrders;
|
|
562
677
|
}
|
|
563
|
-
function
|
|
564
|
-
function
|
|
678
|
+
function createOrder(payload) {
|
|
679
|
+
function __createOrder({ host }) {
|
|
565
680
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
566
681
|
{
|
|
567
682
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
568
683
|
paths: [
|
|
569
|
-
{ path: "
|
|
684
|
+
{ path: "order.createdDate" },
|
|
685
|
+
{ path: "order.updatedDate" },
|
|
686
|
+
{ path: "order.purchasedDate" },
|
|
687
|
+
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
688
|
+
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
570
689
|
{
|
|
571
|
-
path: "
|
|
690
|
+
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
572
691
|
},
|
|
573
|
-
{ path: "
|
|
574
|
-
{ path: "
|
|
575
|
-
{ path: "
|
|
576
|
-
{
|
|
577
|
-
path: "changes.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
|
|
578
|
-
}
|
|
692
|
+
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
693
|
+
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
694
|
+
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
695
|
+
{ path: "order.activities.createdDate" }
|
|
579
696
|
]
|
|
580
697
|
},
|
|
581
698
|
{
|
|
582
699
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
583
700
|
paths: [
|
|
701
|
+
{ path: "order.lineItems.image.focalPoint.x" },
|
|
702
|
+
{ path: "order.lineItems.image.focalPoint.y" },
|
|
703
|
+
{ path: "order.lineItems.physicalProperties.weight" },
|
|
704
|
+
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
705
|
+
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
584
706
|
{
|
|
585
|
-
path: "
|
|
707
|
+
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
586
708
|
},
|
|
587
709
|
{
|
|
588
|
-
path: "
|
|
710
|
+
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
589
711
|
},
|
|
590
712
|
{
|
|
591
|
-
path: "
|
|
713
|
+
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
592
714
|
},
|
|
593
715
|
{
|
|
594
|
-
path: "
|
|
716
|
+
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
595
717
|
},
|
|
596
|
-
{ path: "
|
|
597
|
-
{ path: "
|
|
598
|
-
{ path: "changes.changedRecipientInfo.address.geocode.latitude" },
|
|
599
|
-
{ path: "changes.changedRecipientInfo.address.geocode.longitude" },
|
|
600
|
-
{ path: "changes.lineItems.lineItem.physicalProperties.weight" },
|
|
601
|
-
{ path: "changes.lineItems.lineItem.image.focalPoint.x" },
|
|
602
|
-
{ path: "changes.lineItems.lineItem.image.focalPoint.y" }
|
|
718
|
+
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
719
|
+
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
603
720
|
]
|
|
604
721
|
}
|
|
605
722
|
]);
|
|
606
723
|
const metadata = {
|
|
607
724
|
entityFqdn: "wix.ecom.v1.order",
|
|
608
725
|
method: "POST",
|
|
609
|
-
methodFqn: "com.wix.ecom.orders.v1.Orders.
|
|
726
|
+
methodFqn: "com.wix.ecom.orders.v1.Orders.CreateOrder",
|
|
610
727
|
packageName: PACKAGE_NAME,
|
|
611
728
|
url: resolveComWixEcomOrdersV1OrdersUrl({
|
|
612
|
-
protoPath: "/v1/orders
|
|
729
|
+
protoPath: "/v1/orders",
|
|
613
730
|
data: serializedData,
|
|
614
731
|
host
|
|
615
732
|
}),
|
|
@@ -660,10 +777,10 @@ function commitDeltas(payload) {
|
|
|
660
777
|
};
|
|
661
778
|
return metadata;
|
|
662
779
|
}
|
|
663
|
-
return
|
|
780
|
+
return __createOrder;
|
|
664
781
|
}
|
|
665
|
-
function
|
|
666
|
-
function
|
|
782
|
+
function updateOrder(payload) {
|
|
783
|
+
function __updateOrder({ host }) {
|
|
667
784
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
668
785
|
{
|
|
669
786
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
@@ -672,27 +789,52 @@ function updateOrderLineItem(payload) {
|
|
|
672
789
|
{
|
|
673
790
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
674
791
|
paths: [
|
|
675
|
-
{ path: "
|
|
676
|
-
{ path: "
|
|
677
|
-
{ path: "
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
792
|
+
{ path: "order.createdDate" },
|
|
793
|
+
{ path: "order.updatedDate" },
|
|
794
|
+
{ path: "order.purchasedDate" },
|
|
795
|
+
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
796
|
+
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
797
|
+
{
|
|
798
|
+
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
799
|
+
},
|
|
800
|
+
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
801
|
+
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
802
|
+
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
803
|
+
{ path: "order.activities.createdDate" }
|
|
804
|
+
]
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
682
808
|
paths: [
|
|
683
|
-
{ path: "
|
|
684
|
-
{ path: "
|
|
685
|
-
{ path: "
|
|
809
|
+
{ path: "order.lineItems.image.focalPoint.x" },
|
|
810
|
+
{ path: "order.lineItems.image.focalPoint.y" },
|
|
811
|
+
{ path: "order.lineItems.physicalProperties.weight" },
|
|
812
|
+
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
813
|
+
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
814
|
+
{
|
|
815
|
+
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
825
|
+
},
|
|
826
|
+
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
827
|
+
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
686
828
|
]
|
|
687
829
|
}
|
|
688
830
|
]);
|
|
689
831
|
const metadata = {
|
|
690
832
|
entityFqdn: "wix.ecom.v1.order",
|
|
691
833
|
method: "PATCH",
|
|
692
|
-
methodFqn: "com.wix.ecom.orders.v1.Orders.
|
|
834
|
+
methodFqn: "com.wix.ecom.orders.v1.Orders.UpdateOrder",
|
|
693
835
|
packageName: PACKAGE_NAME,
|
|
694
836
|
url: resolveComWixEcomOrdersV1OrdersUrl({
|
|
695
|
-
protoPath: "/v1/orders/{
|
|
837
|
+
protoPath: "/v1/orders/{order.id}",
|
|
696
838
|
data: serializedData,
|
|
697
839
|
host
|
|
698
840
|
}),
|
|
@@ -743,82 +885,174 @@ function updateOrderLineItem(payload) {
|
|
|
743
885
|
};
|
|
744
886
|
return metadata;
|
|
745
887
|
}
|
|
746
|
-
return
|
|
888
|
+
return __updateOrder;
|
|
747
889
|
}
|
|
748
|
-
function
|
|
749
|
-
function
|
|
890
|
+
function bulkUpdateOrders(payload) {
|
|
891
|
+
function __bulkUpdateOrders({ host }) {
|
|
892
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
893
|
+
{
|
|
894
|
+
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
895
|
+
paths: [{ path: "orders.fieldMask" }]
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
899
|
+
paths: [
|
|
900
|
+
{ path: "orders.order.createdDate" },
|
|
901
|
+
{ path: "orders.order.updatedDate" },
|
|
902
|
+
{ path: "orders.order.purchasedDate" },
|
|
903
|
+
{ path: "orders.order.lineItems.image.urlExpirationDate" },
|
|
904
|
+
{ path: "orders.order.lineItems.digitalFile.expirationDate" },
|
|
905
|
+
{
|
|
906
|
+
path: "orders.order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
907
|
+
},
|
|
908
|
+
{ path: "orders.order.shippingInfo.logistics.deliverByDate" },
|
|
909
|
+
{ path: "orders.order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
910
|
+
{ path: "orders.order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
911
|
+
{ path: "orders.order.activities.createdDate" }
|
|
912
|
+
]
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
916
|
+
paths: [
|
|
917
|
+
{ path: "orders.order.lineItems.image.focalPoint.x" },
|
|
918
|
+
{ path: "orders.order.lineItems.image.focalPoint.y" },
|
|
919
|
+
{ path: "orders.order.lineItems.physicalProperties.weight" },
|
|
920
|
+
{ path: "orders.order.billingInfo.address.geocode.latitude" },
|
|
921
|
+
{ path: "orders.order.billingInfo.address.geocode.longitude" },
|
|
922
|
+
{
|
|
923
|
+
path: "orders.order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
path: "orders.order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
path: "orders.order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
path: "orders.order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
933
|
+
},
|
|
934
|
+
{ path: "orders.order.recipientInfo.address.geocode.latitude" },
|
|
935
|
+
{ path: "orders.order.recipientInfo.address.geocode.longitude" }
|
|
936
|
+
]
|
|
937
|
+
}
|
|
938
|
+
]);
|
|
750
939
|
const metadata = {
|
|
751
940
|
entityFqdn: "wix.ecom.v1.order",
|
|
752
941
|
method: "POST",
|
|
753
|
-
methodFqn: "com.wix.ecom.orders.v1.Orders.
|
|
942
|
+
methodFqn: "com.wix.ecom.orders.v1.Orders.BulkUpdateOrders",
|
|
754
943
|
packageName: PACKAGE_NAME,
|
|
755
944
|
url: resolveComWixEcomOrdersV1OrdersUrl({
|
|
756
|
-
protoPath: "/v1/orders/
|
|
757
|
-
data:
|
|
945
|
+
protoPath: "/v1/bulk/orders/update",
|
|
946
|
+
data: serializedData,
|
|
758
947
|
host
|
|
759
948
|
}),
|
|
760
|
-
data:
|
|
949
|
+
data: serializedData,
|
|
761
950
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
762
951
|
{
|
|
763
952
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
764
953
|
paths: [
|
|
765
|
-
{ path: "
|
|
766
|
-
{ path: "
|
|
767
|
-
{ path: "
|
|
768
|
-
{ path: "
|
|
769
|
-
{ path: "
|
|
954
|
+
{ path: "results.item.createdDate" },
|
|
955
|
+
{ path: "results.item.updatedDate" },
|
|
956
|
+
{ path: "results.item.purchasedDate" },
|
|
957
|
+
{ path: "results.item.lineItems.image.urlExpirationDate" },
|
|
958
|
+
{ path: "results.item.lineItems.digitalFile.expirationDate" },
|
|
770
959
|
{
|
|
771
|
-
path: "
|
|
960
|
+
path: "results.item.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
772
961
|
},
|
|
773
|
-
{ path: "
|
|
774
|
-
{
|
|
775
|
-
|
|
776
|
-
|
|
962
|
+
{ path: "results.item.shippingInfo.logistics.deliverByDate" },
|
|
963
|
+
{
|
|
964
|
+
path: "results.item.shippingInfo.logistics.deliveryTimeSlot.from"
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
path: "results.item.shippingInfo.logistics.deliveryTimeSlot.to"
|
|
968
|
+
},
|
|
969
|
+
{ path: "results.item.activities.createdDate" }
|
|
777
970
|
]
|
|
778
971
|
},
|
|
779
972
|
{
|
|
780
973
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
781
974
|
paths: [
|
|
782
|
-
{ path: "
|
|
783
|
-
{ path: "
|
|
784
|
-
{ path: "
|
|
785
|
-
{ path: "
|
|
786
|
-
{ path: "
|
|
975
|
+
{ path: "results.item.lineItems.image.focalPoint.x" },
|
|
976
|
+
{ path: "results.item.lineItems.image.focalPoint.y" },
|
|
977
|
+
{ path: "results.item.lineItems.physicalProperties.weight" },
|
|
978
|
+
{ path: "results.item.billingInfo.address.geocode.latitude" },
|
|
979
|
+
{ path: "results.item.billingInfo.address.geocode.longitude" },
|
|
787
980
|
{
|
|
788
|
-
path: "
|
|
981
|
+
path: "results.item.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
789
982
|
},
|
|
790
983
|
{
|
|
791
|
-
path: "
|
|
984
|
+
path: "results.item.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
792
985
|
},
|
|
793
986
|
{
|
|
794
|
-
path: "
|
|
987
|
+
path: "results.item.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
795
988
|
},
|
|
796
989
|
{
|
|
797
|
-
path: "
|
|
990
|
+
path: "results.item.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
798
991
|
},
|
|
799
|
-
{ path: "
|
|
800
|
-
{ path: "
|
|
992
|
+
{ path: "results.item.recipientInfo.address.geocode.latitude" },
|
|
993
|
+
{ path: "results.item.recipientInfo.address.geocode.longitude" }
|
|
801
994
|
]
|
|
802
995
|
}
|
|
803
996
|
])
|
|
804
997
|
};
|
|
805
998
|
return metadata;
|
|
806
999
|
}
|
|
807
|
-
return
|
|
1000
|
+
return __bulkUpdateOrders;
|
|
808
1001
|
}
|
|
809
|
-
function
|
|
810
|
-
function
|
|
1002
|
+
function commitDeltas(payload) {
|
|
1003
|
+
function __commitDeltas({ host }) {
|
|
1004
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
1005
|
+
{
|
|
1006
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
1007
|
+
paths: [
|
|
1008
|
+
{ path: "changes.changedShippingInfo.logistics.deliverByDate" },
|
|
1009
|
+
{
|
|
1010
|
+
path: "changes.changedShippingInfo.logistics.deliveryTimeSlot.from"
|
|
1011
|
+
},
|
|
1012
|
+
{ path: "changes.changedShippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1013
|
+
{ path: "changes.lineItems.lineItem.image.urlExpirationDate" },
|
|
1014
|
+
{ path: "changes.lineItems.lineItem.digitalFile.expirationDate" },
|
|
1015
|
+
{
|
|
1016
|
+
path: "changes.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
|
|
1017
|
+
}
|
|
1018
|
+
]
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
1022
|
+
paths: [
|
|
1023
|
+
{
|
|
1024
|
+
path: "changes.changedShippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
path: "changes.changedShippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
path: "changes.changedShippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
path: "changes.changedShippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1034
|
+
},
|
|
1035
|
+
{ path: "changes.changedBillingInfo.address.geocode.latitude" },
|
|
1036
|
+
{ path: "changes.changedBillingInfo.address.geocode.longitude" },
|
|
1037
|
+
{ path: "changes.changedRecipientInfo.address.geocode.latitude" },
|
|
1038
|
+
{ path: "changes.changedRecipientInfo.address.geocode.longitude" },
|
|
1039
|
+
{ path: "changes.lineItems.lineItem.physicalProperties.weight" },
|
|
1040
|
+
{ path: "changes.lineItems.lineItem.image.focalPoint.x" },
|
|
1041
|
+
{ path: "changes.lineItems.lineItem.image.focalPoint.y" }
|
|
1042
|
+
]
|
|
1043
|
+
}
|
|
1044
|
+
]);
|
|
811
1045
|
const metadata = {
|
|
812
1046
|
entityFqdn: "wix.ecom.v1.order",
|
|
813
|
-
method: "
|
|
814
|
-
methodFqn: "com.wix.ecom.orders.v1.Orders.
|
|
1047
|
+
method: "POST",
|
|
1048
|
+
methodFqn: "com.wix.ecom.orders.v1.Orders.CommitDeltas",
|
|
815
1049
|
packageName: PACKAGE_NAME,
|
|
816
1050
|
url: resolveComWixEcomOrdersV1OrdersUrl({
|
|
817
|
-
protoPath: "/v1/orders/{id}/
|
|
818
|
-
data:
|
|
1051
|
+
protoPath: "/v1/orders/{id}/commit-deltas",
|
|
1052
|
+
data: serializedData,
|
|
819
1053
|
host
|
|
820
1054
|
}),
|
|
821
|
-
data:
|
|
1055
|
+
data: serializedData,
|
|
822
1056
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
823
1057
|
{
|
|
824
1058
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
@@ -865,21 +1099,43 @@ function updateActivity(payload) {
|
|
|
865
1099
|
};
|
|
866
1100
|
return metadata;
|
|
867
1101
|
}
|
|
868
|
-
return
|
|
1102
|
+
return __commitDeltas;
|
|
869
1103
|
}
|
|
870
|
-
function
|
|
871
|
-
function
|
|
1104
|
+
function updateOrderLineItem(payload) {
|
|
1105
|
+
function __updateOrderLineItem({ host }) {
|
|
1106
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
1107
|
+
{
|
|
1108
|
+
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
1109
|
+
paths: [{ path: "fieldMask" }]
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
1113
|
+
paths: [
|
|
1114
|
+
{ path: "lineItem.image.urlExpirationDate" },
|
|
1115
|
+
{ path: "lineItem.digitalFile.expirationDate" },
|
|
1116
|
+
{ path: "lineItem.subscriptionInfo.subscriptionSettings.startDate" }
|
|
1117
|
+
]
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
1121
|
+
paths: [
|
|
1122
|
+
{ path: "lineItem.image.focalPoint.x" },
|
|
1123
|
+
{ path: "lineItem.image.focalPoint.y" },
|
|
1124
|
+
{ path: "lineItem.physicalProperties.weight" }
|
|
1125
|
+
]
|
|
1126
|
+
}
|
|
1127
|
+
]);
|
|
872
1128
|
const metadata = {
|
|
873
1129
|
entityFqdn: "wix.ecom.v1.order",
|
|
874
|
-
method: "
|
|
875
|
-
methodFqn: "com.wix.ecom.orders.v1.Orders.
|
|
1130
|
+
method: "PATCH",
|
|
1131
|
+
methodFqn: "com.wix.ecom.orders.v1.Orders.UpdateOrderLineItem",
|
|
876
1132
|
packageName: PACKAGE_NAME,
|
|
877
1133
|
url: resolveComWixEcomOrdersV1OrdersUrl({
|
|
878
|
-
protoPath: "/v1/orders/{id}/
|
|
879
|
-
data:
|
|
1134
|
+
protoPath: "/v1/orders/{id}/line-item/{lineItem.id}",
|
|
1135
|
+
data: serializedData,
|
|
880
1136
|
host
|
|
881
1137
|
}),
|
|
882
|
-
|
|
1138
|
+
data: serializedData,
|
|
883
1139
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
884
1140
|
{
|
|
885
1141
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
@@ -926,17 +1182,17 @@ function deleteActivity(payload) {
|
|
|
926
1182
|
};
|
|
927
1183
|
return metadata;
|
|
928
1184
|
}
|
|
929
|
-
return
|
|
1185
|
+
return __updateOrderLineItem;
|
|
930
1186
|
}
|
|
931
|
-
function
|
|
932
|
-
function
|
|
1187
|
+
function addActivity(payload) {
|
|
1188
|
+
function __addActivity({ host }) {
|
|
933
1189
|
const metadata = {
|
|
934
1190
|
entityFqdn: "wix.ecom.v1.order",
|
|
935
1191
|
method: "POST",
|
|
936
|
-
methodFqn: "com.wix.ecom.orders.v1.Orders.
|
|
1192
|
+
methodFqn: "com.wix.ecom.orders.v1.Orders.AddActivity",
|
|
937
1193
|
packageName: PACKAGE_NAME,
|
|
938
1194
|
url: resolveComWixEcomOrdersV1OrdersUrl({
|
|
939
|
-
protoPath: "/v1/orders/{id}/
|
|
1195
|
+
protoPath: "/v1/orders/{id}/activities",
|
|
940
1196
|
data: payload,
|
|
941
1197
|
host
|
|
942
1198
|
}),
|
|
@@ -987,7 +1243,190 @@ function cancelOrder(payload) {
|
|
|
987
1243
|
};
|
|
988
1244
|
return metadata;
|
|
989
1245
|
}
|
|
990
|
-
return
|
|
1246
|
+
return __addActivity;
|
|
1247
|
+
}
|
|
1248
|
+
function updateActivity(payload) {
|
|
1249
|
+
function __updateActivity({ host }) {
|
|
1250
|
+
const metadata = {
|
|
1251
|
+
entityFqdn: "wix.ecom.v1.order",
|
|
1252
|
+
method: "PATCH",
|
|
1253
|
+
methodFqn: "com.wix.ecom.orders.v1.Orders.UpdateActivity",
|
|
1254
|
+
packageName: PACKAGE_NAME,
|
|
1255
|
+
url: resolveComWixEcomOrdersV1OrdersUrl({
|
|
1256
|
+
protoPath: "/v1/orders/{id}/activities/{activityId}",
|
|
1257
|
+
data: payload,
|
|
1258
|
+
host
|
|
1259
|
+
}),
|
|
1260
|
+
data: payload,
|
|
1261
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1262
|
+
{
|
|
1263
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1264
|
+
paths: [
|
|
1265
|
+
{ path: "order.createdDate" },
|
|
1266
|
+
{ path: "order.updatedDate" },
|
|
1267
|
+
{ path: "order.purchasedDate" },
|
|
1268
|
+
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
1269
|
+
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
1270
|
+
{
|
|
1271
|
+
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1272
|
+
},
|
|
1273
|
+
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
1274
|
+
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
1275
|
+
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1276
|
+
{ path: "order.activities.createdDate" }
|
|
1277
|
+
]
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1281
|
+
paths: [
|
|
1282
|
+
{ path: "order.lineItems.image.focalPoint.x" },
|
|
1283
|
+
{ path: "order.lineItems.image.focalPoint.y" },
|
|
1284
|
+
{ path: "order.lineItems.physicalProperties.weight" },
|
|
1285
|
+
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
1286
|
+
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
1287
|
+
{
|
|
1288
|
+
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1289
|
+
},
|
|
1290
|
+
{
|
|
1291
|
+
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1298
|
+
},
|
|
1299
|
+
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
1300
|
+
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
1301
|
+
]
|
|
1302
|
+
}
|
|
1303
|
+
])
|
|
1304
|
+
};
|
|
1305
|
+
return metadata;
|
|
1306
|
+
}
|
|
1307
|
+
return __updateActivity;
|
|
1308
|
+
}
|
|
1309
|
+
function deleteActivity(payload) {
|
|
1310
|
+
function __deleteActivity({ host }) {
|
|
1311
|
+
const metadata = {
|
|
1312
|
+
entityFqdn: "wix.ecom.v1.order",
|
|
1313
|
+
method: "DELETE",
|
|
1314
|
+
methodFqn: "com.wix.ecom.orders.v1.Orders.DeleteActivity",
|
|
1315
|
+
packageName: PACKAGE_NAME,
|
|
1316
|
+
url: resolveComWixEcomOrdersV1OrdersUrl({
|
|
1317
|
+
protoPath: "/v1/orders/{id}/activities/{activityId}",
|
|
1318
|
+
data: payload,
|
|
1319
|
+
host
|
|
1320
|
+
}),
|
|
1321
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
1322
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1323
|
+
{
|
|
1324
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1325
|
+
paths: [
|
|
1326
|
+
{ path: "order.createdDate" },
|
|
1327
|
+
{ path: "order.updatedDate" },
|
|
1328
|
+
{ path: "order.purchasedDate" },
|
|
1329
|
+
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
1330
|
+
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
1331
|
+
{
|
|
1332
|
+
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1333
|
+
},
|
|
1334
|
+
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
1335
|
+
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
1336
|
+
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1337
|
+
{ path: "order.activities.createdDate" }
|
|
1338
|
+
]
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1342
|
+
paths: [
|
|
1343
|
+
{ path: "order.lineItems.image.focalPoint.x" },
|
|
1344
|
+
{ path: "order.lineItems.image.focalPoint.y" },
|
|
1345
|
+
{ path: "order.lineItems.physicalProperties.weight" },
|
|
1346
|
+
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
1347
|
+
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
1348
|
+
{
|
|
1349
|
+
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1359
|
+
},
|
|
1360
|
+
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
1361
|
+
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
1362
|
+
]
|
|
1363
|
+
}
|
|
1364
|
+
])
|
|
1365
|
+
};
|
|
1366
|
+
return metadata;
|
|
1367
|
+
}
|
|
1368
|
+
return __deleteActivity;
|
|
1369
|
+
}
|
|
1370
|
+
function cancelOrder(payload) {
|
|
1371
|
+
function __cancelOrder({ host }) {
|
|
1372
|
+
const metadata = {
|
|
1373
|
+
entityFqdn: "wix.ecom.v1.order",
|
|
1374
|
+
method: "POST",
|
|
1375
|
+
methodFqn: "com.wix.ecom.orders.v1.Orders.CancelOrder",
|
|
1376
|
+
packageName: PACKAGE_NAME,
|
|
1377
|
+
url: resolveComWixEcomOrdersV1OrdersUrl({
|
|
1378
|
+
protoPath: "/v1/orders/{id}/cancel",
|
|
1379
|
+
data: payload,
|
|
1380
|
+
host
|
|
1381
|
+
}),
|
|
1382
|
+
data: payload,
|
|
1383
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1384
|
+
{
|
|
1385
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1386
|
+
paths: [
|
|
1387
|
+
{ path: "order.createdDate" },
|
|
1388
|
+
{ path: "order.updatedDate" },
|
|
1389
|
+
{ path: "order.purchasedDate" },
|
|
1390
|
+
{ path: "order.lineItems.image.urlExpirationDate" },
|
|
1391
|
+
{ path: "order.lineItems.digitalFile.expirationDate" },
|
|
1392
|
+
{
|
|
1393
|
+
path: "order.lineItems.subscriptionInfo.subscriptionSettings.startDate"
|
|
1394
|
+
},
|
|
1395
|
+
{ path: "order.shippingInfo.logistics.deliverByDate" },
|
|
1396
|
+
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.from" },
|
|
1397
|
+
{ path: "order.shippingInfo.logistics.deliveryTimeSlot.to" },
|
|
1398
|
+
{ path: "order.activities.createdDate" }
|
|
1399
|
+
]
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1403
|
+
paths: [
|
|
1404
|
+
{ path: "order.lineItems.image.focalPoint.x" },
|
|
1405
|
+
{ path: "order.lineItems.image.focalPoint.y" },
|
|
1406
|
+
{ path: "order.lineItems.physicalProperties.weight" },
|
|
1407
|
+
{ path: "order.billingInfo.address.geocode.latitude" },
|
|
1408
|
+
{ path: "order.billingInfo.address.geocode.longitude" },
|
|
1409
|
+
{
|
|
1410
|
+
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.latitude"
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
path: "order.shippingInfo.logistics.shippingDestination.address.geocode.longitude"
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.latitude"
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
path: "order.shippingInfo.logistics.pickupDetails.address.geocode.longitude"
|
|
1420
|
+
},
|
|
1421
|
+
{ path: "order.recipientInfo.address.geocode.latitude" },
|
|
1422
|
+
{ path: "order.recipientInfo.address.geocode.longitude" }
|
|
1423
|
+
]
|
|
1424
|
+
}
|
|
1425
|
+
])
|
|
1426
|
+
};
|
|
1427
|
+
return metadata;
|
|
1428
|
+
}
|
|
1429
|
+
return __cancelOrder;
|
|
991
1430
|
}
|
|
992
1431
|
function updateOrderStatus(payload) {
|
|
993
1432
|
function __updateOrderStatus({ host }) {
|
|
@@ -1264,12 +1703,123 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
|
1264
1703
|
ChannelType2["FAIRE_COM"] = "FAIRE_COM";
|
|
1265
1704
|
return ChannelType2;
|
|
1266
1705
|
})(ChannelType || {});
|
|
1267
|
-
var
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
return
|
|
1272
|
-
})(
|
|
1706
|
+
var ScheduledAction = /* @__PURE__ */ ((ScheduledAction2) => {
|
|
1707
|
+
ScheduledAction2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
1708
|
+
ScheduledAction2["VOID"] = "VOID";
|
|
1709
|
+
ScheduledAction2["CAPTURE"] = "CAPTURE";
|
|
1710
|
+
return ScheduledAction2;
|
|
1711
|
+
})(ScheduledAction || {});
|
|
1712
|
+
var DurationUnit = /* @__PURE__ */ ((DurationUnit2) => {
|
|
1713
|
+
DurationUnit2["UNKNOWN_DURATION_UNIT"] = "UNKNOWN_DURATION_UNIT";
|
|
1714
|
+
DurationUnit2["MINUTES"] = "MINUTES";
|
|
1715
|
+
DurationUnit2["HOURS"] = "HOURS";
|
|
1716
|
+
DurationUnit2["DAYS"] = "DAYS";
|
|
1717
|
+
return DurationUnit2;
|
|
1718
|
+
})(DurationUnit || {});
|
|
1719
|
+
var PaymentCollectabilityStatus = /* @__PURE__ */ ((PaymentCollectabilityStatus2) => {
|
|
1720
|
+
PaymentCollectabilityStatus2["UNKNOWN"] = "UNKNOWN";
|
|
1721
|
+
PaymentCollectabilityStatus2["COLLECTABLE"] = "COLLECTABLE";
|
|
1722
|
+
PaymentCollectabilityStatus2["NONCOLLECTABLE_ORDER_IS_CANCELLED"] = "NONCOLLECTABLE_ORDER_IS_CANCELLED";
|
|
1723
|
+
PaymentCollectabilityStatus2["NONCOLLECTABLE_ORDER_IS_PAID"] = "NONCOLLECTABLE_ORDER_IS_PAID";
|
|
1724
|
+
PaymentCollectabilityStatus2["NONCOLLECTABLE_MISSING_PAYMENT_METHOD"] = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD";
|
|
1725
|
+
PaymentCollectabilityStatus2["NONCOLLECTABLE_ORDER_IS_PENDING"] = "NONCOLLECTABLE_ORDER_IS_PENDING";
|
|
1726
|
+
PaymentCollectabilityStatus2["NONCOLLECTABLE_ORDER_IS_REJECTED"] = "NONCOLLECTABLE_ORDER_IS_REJECTED";
|
|
1727
|
+
PaymentCollectabilityStatus2["NONCOLLECTABLE_ORDER_HAS_SUBSCRIPTIONS"] = "NONCOLLECTABLE_ORDER_HAS_SUBSCRIPTIONS";
|
|
1728
|
+
return PaymentCollectabilityStatus2;
|
|
1729
|
+
})(PaymentCollectabilityStatus || {});
|
|
1730
|
+
var RefundableStatus = /* @__PURE__ */ ((RefundableStatus2) => {
|
|
1731
|
+
RefundableStatus2["NOT_REFUNDABLE"] = "NOT_REFUNDABLE";
|
|
1732
|
+
RefundableStatus2["MANUAL"] = "MANUAL";
|
|
1733
|
+
RefundableStatus2["REFUNDABLE"] = "REFUNDABLE";
|
|
1734
|
+
return RefundableStatus2;
|
|
1735
|
+
})(RefundableStatus || {});
|
|
1736
|
+
var NonRefundableReason = /* @__PURE__ */ ((NonRefundableReason2) => {
|
|
1737
|
+
NonRefundableReason2["NONE"] = "NONE";
|
|
1738
|
+
NonRefundableReason2["ALREADY_REFUNDED"] = "ALREADY_REFUNDED";
|
|
1739
|
+
NonRefundableReason2["PROVIDER_IS_DOWN"] = "PROVIDER_IS_DOWN";
|
|
1740
|
+
NonRefundableReason2["INTERNAL_ERROR"] = "INTERNAL_ERROR";
|
|
1741
|
+
NonRefundableReason2["NOT_PAID"] = "NOT_PAID";
|
|
1742
|
+
NonRefundableReason2["ACCESS_DENIED"] = "ACCESS_DENIED";
|
|
1743
|
+
NonRefundableReason2["ZERO_PRICE"] = "ZERO_PRICE";
|
|
1744
|
+
NonRefundableReason2["DISABLED_BY_PROVIDER"] = "DISABLED_BY_PROVIDER";
|
|
1745
|
+
NonRefundableReason2["PENDING_REFUND"] = "PENDING_REFUND";
|
|
1746
|
+
NonRefundableReason2["FORBIDDEN"] = "FORBIDDEN";
|
|
1747
|
+
NonRefundableReason2["TRANSACTION_NOT_FOUND"] = "TRANSACTION_NOT_FOUND";
|
|
1748
|
+
NonRefundableReason2["ORDER_IS_PENDING"] = "ORDER_IS_PENDING";
|
|
1749
|
+
NonRefundableReason2["ORDER_IS_REJECTED"] = "ORDER_IS_REJECTED";
|
|
1750
|
+
return NonRefundableReason2;
|
|
1751
|
+
})(NonRefundableReason || {});
|
|
1752
|
+
var ManuallyRefundableReason = /* @__PURE__ */ ((ManuallyRefundableReason2) => {
|
|
1753
|
+
ManuallyRefundableReason2["EXPIRED"] = "EXPIRED";
|
|
1754
|
+
ManuallyRefundableReason2["NOT_SUPPORTED"] = "NOT_SUPPORTED";
|
|
1755
|
+
ManuallyRefundableReason2["OFFLINE"] = "OFFLINE";
|
|
1756
|
+
ManuallyRefundableReason2["REQUIRES_CARD_READER"] = "REQUIRES_CARD_READER";
|
|
1757
|
+
return ManuallyRefundableReason2;
|
|
1758
|
+
})(ManuallyRefundableReason || {});
|
|
1759
|
+
var RestockType = /* @__PURE__ */ ((RestockType2) => {
|
|
1760
|
+
RestockType2["NO_ITEMS"] = "NO_ITEMS";
|
|
1761
|
+
RestockType2["ALL_ITEMS"] = "ALL_ITEMS";
|
|
1762
|
+
RestockType2["SOME_ITEMS"] = "SOME_ITEMS";
|
|
1763
|
+
return RestockType2;
|
|
1764
|
+
})(RestockType || {});
|
|
1765
|
+
var TransactionStatus = /* @__PURE__ */ ((TransactionStatus2) => {
|
|
1766
|
+
TransactionStatus2["UNDEFINED"] = "UNDEFINED";
|
|
1767
|
+
TransactionStatus2["APPROVED"] = "APPROVED";
|
|
1768
|
+
TransactionStatus2["PENDING"] = "PENDING";
|
|
1769
|
+
TransactionStatus2["PENDING_MERCHANT"] = "PENDING_MERCHANT";
|
|
1770
|
+
TransactionStatus2["CANCELED"] = "CANCELED";
|
|
1771
|
+
TransactionStatus2["DECLINED"] = "DECLINED";
|
|
1772
|
+
TransactionStatus2["REFUNDED"] = "REFUNDED";
|
|
1773
|
+
TransactionStatus2["PARTIALLY_REFUNDED"] = "PARTIALLY_REFUNDED";
|
|
1774
|
+
TransactionStatus2["AUTHORIZED"] = "AUTHORIZED";
|
|
1775
|
+
TransactionStatus2["VOIDED"] = "VOIDED";
|
|
1776
|
+
return TransactionStatus2;
|
|
1777
|
+
})(TransactionStatus || {});
|
|
1778
|
+
var AuthorizationCaptureStatus = /* @__PURE__ */ ((AuthorizationCaptureStatus2) => {
|
|
1779
|
+
AuthorizationCaptureStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
1780
|
+
AuthorizationCaptureStatus2["PENDING"] = "PENDING";
|
|
1781
|
+
AuthorizationCaptureStatus2["SUCCEEDED"] = "SUCCEEDED";
|
|
1782
|
+
AuthorizationCaptureStatus2["FAILED"] = "FAILED";
|
|
1783
|
+
return AuthorizationCaptureStatus2;
|
|
1784
|
+
})(AuthorizationCaptureStatus || {});
|
|
1785
|
+
var AuthorizationVoidStatus = /* @__PURE__ */ ((AuthorizationVoidStatus2) => {
|
|
1786
|
+
AuthorizationVoidStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
1787
|
+
AuthorizationVoidStatus2["PENDING"] = "PENDING";
|
|
1788
|
+
AuthorizationVoidStatus2["SUCCEEDED"] = "SUCCEEDED";
|
|
1789
|
+
AuthorizationVoidStatus2["FAILED"] = "FAILED";
|
|
1790
|
+
return AuthorizationVoidStatus2;
|
|
1791
|
+
})(AuthorizationVoidStatus || {});
|
|
1792
|
+
var Reason = /* @__PURE__ */ ((Reason2) => {
|
|
1793
|
+
Reason2["UNKNOWN_REASON"] = "UNKNOWN_REASON";
|
|
1794
|
+
Reason2["MANUAL"] = "MANUAL";
|
|
1795
|
+
Reason2["SCHEDULED"] = "SCHEDULED";
|
|
1796
|
+
return Reason2;
|
|
1797
|
+
})(Reason || {});
|
|
1798
|
+
var ActionType = /* @__PURE__ */ ((ActionType2) => {
|
|
1799
|
+
ActionType2["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
1800
|
+
ActionType2["VOID"] = "VOID";
|
|
1801
|
+
ActionType2["CAPTURE"] = "CAPTURE";
|
|
1802
|
+
return ActionType2;
|
|
1803
|
+
})(ActionType || {});
|
|
1804
|
+
var ChargebackStatus = /* @__PURE__ */ ((ChargebackStatus2) => {
|
|
1805
|
+
ChargebackStatus2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
1806
|
+
ChargebackStatus2["APPROVED"] = "APPROVED";
|
|
1807
|
+
ChargebackStatus2["REVERSED"] = "REVERSED";
|
|
1808
|
+
return ChargebackStatus2;
|
|
1809
|
+
})(ChargebackStatus || {});
|
|
1810
|
+
var MembershipPaymentStatus = /* @__PURE__ */ ((MembershipPaymentStatus2) => {
|
|
1811
|
+
MembershipPaymentStatus2["CHARGED"] = "CHARGED";
|
|
1812
|
+
MembershipPaymentStatus2["CHARGE_FAILED"] = "CHARGE_FAILED";
|
|
1813
|
+
return MembershipPaymentStatus2;
|
|
1814
|
+
})(MembershipPaymentStatus || {});
|
|
1815
|
+
var RefundStatus = /* @__PURE__ */ ((RefundStatus2) => {
|
|
1816
|
+
RefundStatus2["PENDING"] = "PENDING";
|
|
1817
|
+
RefundStatus2["SUCCEEDED"] = "SUCCEEDED";
|
|
1818
|
+
RefundStatus2["FAILED"] = "FAILED";
|
|
1819
|
+
RefundStatus2["SCHEDULED"] = "SCHEDULED";
|
|
1820
|
+
RefundStatus2["STARTED"] = "STARTED";
|
|
1821
|
+
return RefundStatus2;
|
|
1822
|
+
})(RefundStatus || {});
|
|
1273
1823
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1274
1824
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1275
1825
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -1278,6 +1828,12 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
1278
1828
|
WebhookIdentityType2["APP"] = "APP";
|
|
1279
1829
|
return WebhookIdentityType2;
|
|
1280
1830
|
})(WebhookIdentityType || {});
|
|
1831
|
+
var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
|
|
1832
|
+
VersioningMode2["DEFAULT"] = "DEFAULT";
|
|
1833
|
+
VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
|
|
1834
|
+
VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
|
|
1835
|
+
return VersioningMode2;
|
|
1836
|
+
})(VersioningMode || {});
|
|
1281
1837
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
1282
1838
|
SortOrder2["ASC"] = "ASC";
|
|
1283
1839
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -1360,6 +1916,351 @@ var InvoiceStatus = /* @__PURE__ */ ((InvoiceStatus2) => {
|
|
|
1360
1916
|
InvoiceStatus2["PartialAndOverdue"] = "PartialAndOverdue";
|
|
1361
1917
|
return InvoiceStatus2;
|
|
1362
1918
|
})(InvoiceStatus || {});
|
|
1919
|
+
async function preparePaymentCollection2(ecomOrderId, amount, options) {
|
|
1920
|
+
const { httpClient, sideEffects } = arguments[3];
|
|
1921
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1922
|
+
ecomOrderId,
|
|
1923
|
+
amount,
|
|
1924
|
+
paymentGatewayOrderId: options?.paymentGatewayOrderId,
|
|
1925
|
+
delayedCapture: options?.delayedCapture,
|
|
1926
|
+
delayedCaptureSettings: options?.delayedCaptureSettings
|
|
1927
|
+
});
|
|
1928
|
+
const reqOpts = preparePaymentCollection(payload);
|
|
1929
|
+
sideEffects?.onSiteCall?.();
|
|
1930
|
+
try {
|
|
1931
|
+
const result = await httpClient.request(reqOpts);
|
|
1932
|
+
sideEffects?.onSuccess?.(result);
|
|
1933
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1934
|
+
} catch (err) {
|
|
1935
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1936
|
+
err,
|
|
1937
|
+
{
|
|
1938
|
+
spreadPathsToArguments: {},
|
|
1939
|
+
explicitPathsToArguments: {
|
|
1940
|
+
ecomOrderId: "$[0]",
|
|
1941
|
+
amount: "$[1]",
|
|
1942
|
+
paymentGatewayOrderId: "$[2].paymentGatewayOrderId",
|
|
1943
|
+
delayedCapture: "$[2].delayedCapture",
|
|
1944
|
+
delayedCaptureSettings: "$[2].delayedCaptureSettings"
|
|
1945
|
+
},
|
|
1946
|
+
singleArgumentUnchanged: false
|
|
1947
|
+
},
|
|
1948
|
+
["ecomOrderId", "amount", "options"]
|
|
1949
|
+
);
|
|
1950
|
+
sideEffects?.onError?.(err);
|
|
1951
|
+
throw transformedError;
|
|
1952
|
+
}
|
|
1953
|
+
}
|
|
1954
|
+
async function getPaymentCollectabilityStatus2(ecomOrderId) {
|
|
1955
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1956
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1957
|
+
ecomOrderId
|
|
1958
|
+
});
|
|
1959
|
+
const reqOpts = getPaymentCollectabilityStatus(payload);
|
|
1960
|
+
sideEffects?.onSiteCall?.();
|
|
1961
|
+
try {
|
|
1962
|
+
const result = await httpClient.request(reqOpts);
|
|
1963
|
+
sideEffects?.onSuccess?.(result);
|
|
1964
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1965
|
+
} catch (err) {
|
|
1966
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1967
|
+
err,
|
|
1968
|
+
{
|
|
1969
|
+
spreadPathsToArguments: {},
|
|
1970
|
+
explicitPathsToArguments: { ecomOrderId: "$[0]" },
|
|
1971
|
+
singleArgumentUnchanged: false
|
|
1972
|
+
},
|
|
1973
|
+
["ecomOrderId"]
|
|
1974
|
+
);
|
|
1975
|
+
sideEffects?.onError?.(err);
|
|
1976
|
+
throw transformedError;
|
|
1977
|
+
}
|
|
1978
|
+
}
|
|
1979
|
+
async function recordManuallyCollectedPayment2(orderId, amount) {
|
|
1980
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1981
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1982
|
+
orderId,
|
|
1983
|
+
amount
|
|
1984
|
+
});
|
|
1985
|
+
const reqOpts = recordManuallyCollectedPayment(payload);
|
|
1986
|
+
sideEffects?.onSiteCall?.();
|
|
1987
|
+
try {
|
|
1988
|
+
const result = await httpClient.request(reqOpts);
|
|
1989
|
+
sideEffects?.onSuccess?.(result);
|
|
1990
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1991
|
+
} catch (err) {
|
|
1992
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1993
|
+
err,
|
|
1994
|
+
{
|
|
1995
|
+
spreadPathsToArguments: {},
|
|
1996
|
+
explicitPathsToArguments: { orderId: "$[0]", amount: "$[1]" },
|
|
1997
|
+
singleArgumentUnchanged: false
|
|
1998
|
+
},
|
|
1999
|
+
["orderId", "amount"]
|
|
2000
|
+
);
|
|
2001
|
+
sideEffects?.onError?.(err);
|
|
2002
|
+
throw transformedError;
|
|
2003
|
+
}
|
|
2004
|
+
}
|
|
2005
|
+
async function paymentCollectionMarkOrderAsPaid2(ecomOrderId) {
|
|
2006
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
2007
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2008
|
+
ecomOrderId
|
|
2009
|
+
});
|
|
2010
|
+
const reqOpts = paymentCollectionMarkOrderAsPaid(payload);
|
|
2011
|
+
sideEffects?.onSiteCall?.();
|
|
2012
|
+
try {
|
|
2013
|
+
const result = await httpClient.request(reqOpts);
|
|
2014
|
+
sideEffects?.onSuccess?.(result);
|
|
2015
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
2016
|
+
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
2017
|
+
{
|
|
2018
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
2019
|
+
paths: [{ path: "order.lineItems.image" }]
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
transformFn: import_address2.transformRESTAddressToSDKAddress,
|
|
2023
|
+
paths: [
|
|
2024
|
+
{ path: "order.billingInfo.address" },
|
|
2025
|
+
{
|
|
2026
|
+
path: "order.shippingInfo.logistics.shippingDestination.address"
|
|
2027
|
+
},
|
|
2028
|
+
{ path: "order.shippingInfo.logistics.pickupDetails.address" },
|
|
2029
|
+
{ path: "order.recipientInfo.address" }
|
|
2030
|
+
]
|
|
2031
|
+
}
|
|
2032
|
+
])
|
|
2033
|
+
);
|
|
2034
|
+
} catch (err) {
|
|
2035
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2036
|
+
err,
|
|
2037
|
+
{
|
|
2038
|
+
spreadPathsToArguments: {},
|
|
2039
|
+
explicitPathsToArguments: { ecomOrderId: "$[0]" },
|
|
2040
|
+
singleArgumentUnchanged: false
|
|
2041
|
+
},
|
|
2042
|
+
["ecomOrderId"]
|
|
2043
|
+
);
|
|
2044
|
+
sideEffects?.onError?.(err);
|
|
2045
|
+
throw transformedError;
|
|
2046
|
+
}
|
|
2047
|
+
}
|
|
2048
|
+
async function paymentCollectionBulkMarkOrdersAsPaid2(ecomOrderIds) {
|
|
2049
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
2050
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2051
|
+
ecomOrderIds
|
|
2052
|
+
});
|
|
2053
|
+
const reqOpts = paymentCollectionBulkMarkOrdersAsPaid(payload);
|
|
2054
|
+
sideEffects?.onSiteCall?.();
|
|
2055
|
+
try {
|
|
2056
|
+
const result = await httpClient.request(reqOpts);
|
|
2057
|
+
sideEffects?.onSuccess?.(result);
|
|
2058
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
2059
|
+
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
2060
|
+
{
|
|
2061
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
2062
|
+
paths: [{ path: "results.item.lineItems.image" }]
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
transformFn: import_address2.transformRESTAddressToSDKAddress,
|
|
2066
|
+
paths: [
|
|
2067
|
+
{ path: "results.item.billingInfo.address" },
|
|
2068
|
+
{
|
|
2069
|
+
path: "results.item.shippingInfo.logistics.shippingDestination.address"
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
path: "results.item.shippingInfo.logistics.pickupDetails.address"
|
|
2073
|
+
},
|
|
2074
|
+
{ path: "results.item.recipientInfo.address" }
|
|
2075
|
+
]
|
|
2076
|
+
}
|
|
2077
|
+
])
|
|
2078
|
+
);
|
|
2079
|
+
} catch (err) {
|
|
2080
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2081
|
+
err,
|
|
2082
|
+
{
|
|
2083
|
+
spreadPathsToArguments: {},
|
|
2084
|
+
explicitPathsToArguments: { ecomOrderIds: "$[0]" },
|
|
2085
|
+
singleArgumentUnchanged: false
|
|
2086
|
+
},
|
|
2087
|
+
["ecomOrderIds"]
|
|
2088
|
+
);
|
|
2089
|
+
sideEffects?.onError?.(err);
|
|
2090
|
+
throw transformedError;
|
|
2091
|
+
}
|
|
2092
|
+
}
|
|
2093
|
+
async function getRefundabilityStatus2(ecomOrderId) {
|
|
2094
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
2095
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2096
|
+
ecomOrderId
|
|
2097
|
+
});
|
|
2098
|
+
const reqOpts = getRefundabilityStatus(payload);
|
|
2099
|
+
sideEffects?.onSiteCall?.();
|
|
2100
|
+
try {
|
|
2101
|
+
const result = await httpClient.request(reqOpts);
|
|
2102
|
+
sideEffects?.onSuccess?.(result);
|
|
2103
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2104
|
+
} catch (err) {
|
|
2105
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2106
|
+
err,
|
|
2107
|
+
{
|
|
2108
|
+
spreadPathsToArguments: {},
|
|
2109
|
+
explicitPathsToArguments: { ecomOrderId: "$[0]" },
|
|
2110
|
+
singleArgumentUnchanged: false
|
|
2111
|
+
},
|
|
2112
|
+
["ecomOrderId"]
|
|
2113
|
+
);
|
|
2114
|
+
sideEffects?.onError?.(err);
|
|
2115
|
+
throw transformedError;
|
|
2116
|
+
}
|
|
2117
|
+
}
|
|
2118
|
+
async function paymentCollectionCreatePaymentGatewayOrder2(ecomOrderId, options) {
|
|
2119
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2120
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2121
|
+
ecomOrderId,
|
|
2122
|
+
chargedBy: options?.chargedBy
|
|
2123
|
+
});
|
|
2124
|
+
const reqOpts = paymentCollectionCreatePaymentGatewayOrder(
|
|
2125
|
+
payload
|
|
2126
|
+
);
|
|
2127
|
+
sideEffects?.onSiteCall?.();
|
|
2128
|
+
try {
|
|
2129
|
+
const result = await httpClient.request(reqOpts);
|
|
2130
|
+
sideEffects?.onSuccess?.(result);
|
|
2131
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2132
|
+
} catch (err) {
|
|
2133
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2134
|
+
err,
|
|
2135
|
+
{
|
|
2136
|
+
spreadPathsToArguments: {},
|
|
2137
|
+
explicitPathsToArguments: {
|
|
2138
|
+
ecomOrderId: "$[0]",
|
|
2139
|
+
chargedBy: "$[1].chargedBy"
|
|
2140
|
+
},
|
|
2141
|
+
singleArgumentUnchanged: false
|
|
2142
|
+
},
|
|
2143
|
+
["ecomOrderId", "options"]
|
|
2144
|
+
);
|
|
2145
|
+
sideEffects?.onError?.(err);
|
|
2146
|
+
throw transformedError;
|
|
2147
|
+
}
|
|
2148
|
+
}
|
|
2149
|
+
async function chargeMemberships2(ecomOrderId, memberId, options) {
|
|
2150
|
+
const { httpClient, sideEffects } = arguments[3];
|
|
2151
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2152
|
+
ecomOrderId,
|
|
2153
|
+
memberId,
|
|
2154
|
+
membershipCharges: options?.membershipCharges
|
|
2155
|
+
});
|
|
2156
|
+
const reqOpts = chargeMemberships(payload);
|
|
2157
|
+
sideEffects?.onSiteCall?.();
|
|
2158
|
+
try {
|
|
2159
|
+
const result = await httpClient.request(reqOpts);
|
|
2160
|
+
sideEffects?.onSuccess?.(result);
|
|
2161
|
+
} catch (err) {
|
|
2162
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2163
|
+
err,
|
|
2164
|
+
{
|
|
2165
|
+
spreadPathsToArguments: {},
|
|
2166
|
+
explicitPathsToArguments: {
|
|
2167
|
+
ecomOrderId: "$[0]",
|
|
2168
|
+
memberId: "$[1]",
|
|
2169
|
+
membershipCharges: "$[2].membershipCharges"
|
|
2170
|
+
},
|
|
2171
|
+
singleArgumentUnchanged: false
|
|
2172
|
+
},
|
|
2173
|
+
["ecomOrderId", "memberId", "options"]
|
|
2174
|
+
);
|
|
2175
|
+
sideEffects?.onError?.(err);
|
|
2176
|
+
throw transformedError;
|
|
2177
|
+
}
|
|
2178
|
+
}
|
|
2179
|
+
async function triggerRefund2(ecomOrderId, payments, options) {
|
|
2180
|
+
const { httpClient, sideEffects } = arguments[3];
|
|
2181
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2182
|
+
ecomOrderId,
|
|
2183
|
+
payments,
|
|
2184
|
+
details: options?.details,
|
|
2185
|
+
sideEffects: options?.sideEffects
|
|
2186
|
+
});
|
|
2187
|
+
const reqOpts = triggerRefund(payload);
|
|
2188
|
+
sideEffects?.onSiteCall?.();
|
|
2189
|
+
try {
|
|
2190
|
+
const result = await httpClient.request(reqOpts);
|
|
2191
|
+
sideEffects?.onSuccess?.(result);
|
|
2192
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2193
|
+
} catch (err) {
|
|
2194
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2195
|
+
err,
|
|
2196
|
+
{
|
|
2197
|
+
spreadPathsToArguments: {},
|
|
2198
|
+
explicitPathsToArguments: {
|
|
2199
|
+
ecomOrderId: "$[0]",
|
|
2200
|
+
payments: "$[1]",
|
|
2201
|
+
details: "$[2].details",
|
|
2202
|
+
sideEffects: "$[2].sideEffects"
|
|
2203
|
+
},
|
|
2204
|
+
singleArgumentUnchanged: false
|
|
2205
|
+
},
|
|
2206
|
+
["ecomOrderId", "payments", "options"]
|
|
2207
|
+
);
|
|
2208
|
+
sideEffects?.onError?.(err);
|
|
2209
|
+
throw transformedError;
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
async function voidAuthorizedPayments2(ecomOrderId, paymentIds) {
|
|
2213
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2214
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2215
|
+
ecomOrderId,
|
|
2216
|
+
paymentIds
|
|
2217
|
+
});
|
|
2218
|
+
const reqOpts = voidAuthorizedPayments(payload);
|
|
2219
|
+
sideEffects?.onSiteCall?.();
|
|
2220
|
+
try {
|
|
2221
|
+
const result = await httpClient.request(reqOpts);
|
|
2222
|
+
sideEffects?.onSuccess?.(result);
|
|
2223
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2224
|
+
} catch (err) {
|
|
2225
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2226
|
+
err,
|
|
2227
|
+
{
|
|
2228
|
+
spreadPathsToArguments: {},
|
|
2229
|
+
explicitPathsToArguments: { ecomOrderId: "$[0]", paymentIds: "$[1]" },
|
|
2230
|
+
singleArgumentUnchanged: false
|
|
2231
|
+
},
|
|
2232
|
+
["ecomOrderId", "paymentIds"]
|
|
2233
|
+
);
|
|
2234
|
+
sideEffects?.onError?.(err);
|
|
2235
|
+
throw transformedError;
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
async function captureAuthorizedPayments2(ecomOrderId, payments) {
|
|
2239
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2240
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2241
|
+
ecomOrderId,
|
|
2242
|
+
payments
|
|
2243
|
+
});
|
|
2244
|
+
const reqOpts = captureAuthorizedPayments(payload);
|
|
2245
|
+
sideEffects?.onSiteCall?.();
|
|
2246
|
+
try {
|
|
2247
|
+
const result = await httpClient.request(reqOpts);
|
|
2248
|
+
sideEffects?.onSuccess?.(result);
|
|
2249
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2250
|
+
} catch (err) {
|
|
2251
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2252
|
+
err,
|
|
2253
|
+
{
|
|
2254
|
+
spreadPathsToArguments: {},
|
|
2255
|
+
explicitPathsToArguments: { ecomOrderId: "$[0]", payments: "$[1]" },
|
|
2256
|
+
singleArgumentUnchanged: false
|
|
2257
|
+
},
|
|
2258
|
+
["ecomOrderId", "payments"]
|
|
2259
|
+
);
|
|
2260
|
+
sideEffects?.onError?.(err);
|
|
2261
|
+
throw transformedError;
|
|
2262
|
+
}
|
|
2263
|
+
}
|
|
1363
2264
|
async function getOrder2(_id) {
|
|
1364
2265
|
const { httpClient, sideEffects } = arguments[1];
|
|
1365
2266
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ id: _id });
|
|
@@ -2057,33 +2958,48 @@ async function bulkUpdateOrderTags2(orderIds, options) {
|
|
|
2057
2958
|
}
|
|
2058
2959
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2059
2960
|
0 && (module.exports = {
|
|
2961
|
+
ActionType,
|
|
2060
2962
|
ActivityType,
|
|
2061
2963
|
AdjustmentType,
|
|
2062
2964
|
AttributionSource,
|
|
2965
|
+
AuthorizationCaptureStatus,
|
|
2966
|
+
AuthorizationVoidStatus,
|
|
2063
2967
|
ChannelType,
|
|
2968
|
+
ChargebackStatus,
|
|
2064
2969
|
CustomFieldGroup,
|
|
2065
2970
|
DeltaPaymentOptionType,
|
|
2066
2971
|
DepositType,
|
|
2067
2972
|
DescriptionLineType,
|
|
2068
2973
|
DiscountReason,
|
|
2069
2974
|
DiscountType,
|
|
2975
|
+
DurationUnit,
|
|
2070
2976
|
FulfillmentStatus,
|
|
2071
2977
|
InventoryAction,
|
|
2072
2978
|
InvoiceStatus,
|
|
2073
2979
|
ItemTypeItemType,
|
|
2074
2980
|
JurisdictionType,
|
|
2075
2981
|
LineItemQuantityChangeType,
|
|
2982
|
+
ManuallyRefundableReason,
|
|
2983
|
+
MembershipPaymentStatus,
|
|
2984
|
+
NonRefundableReason,
|
|
2076
2985
|
OrderApprovalStrategy,
|
|
2077
2986
|
OrderStatus,
|
|
2987
|
+
PaymentCollectabilityStatus,
|
|
2078
2988
|
PaymentOptionType,
|
|
2079
2989
|
PaymentStatus,
|
|
2080
2990
|
PickupMethod,
|
|
2081
2991
|
Placement,
|
|
2992
|
+
Reason,
|
|
2993
|
+
RefundStatus,
|
|
2994
|
+
RefundableStatus,
|
|
2995
|
+
RestockType,
|
|
2996
|
+
ScheduledAction,
|
|
2082
2997
|
SortOrder,
|
|
2083
2998
|
SourceType,
|
|
2084
2999
|
SubdivisionType,
|
|
2085
3000
|
SubscriptionFrequency,
|
|
2086
3001
|
TaxableAddressType,
|
|
3002
|
+
TransactionStatus,
|
|
2087
3003
|
ValueType,
|
|
2088
3004
|
VatType,
|
|
2089
3005
|
VersioningMode,
|
|
@@ -2094,14 +3010,25 @@ async function bulkUpdateOrderTags2(orderIds, options) {
|
|
|
2094
3010
|
bulkUpdateOrderTags,
|
|
2095
3011
|
bulkUpdateOrders,
|
|
2096
3012
|
cancelOrder,
|
|
3013
|
+
captureAuthorizedPayments,
|
|
3014
|
+
chargeMemberships,
|
|
2097
3015
|
commitDeltas,
|
|
2098
3016
|
createOrder,
|
|
2099
3017
|
deleteActivity,
|
|
2100
3018
|
getOrder,
|
|
3019
|
+
getPaymentCollectabilityStatus,
|
|
3020
|
+
getRefundabilityStatus,
|
|
3021
|
+
paymentCollectionBulkMarkOrdersAsPaid,
|
|
3022
|
+
paymentCollectionCreatePaymentGatewayOrder,
|
|
3023
|
+
paymentCollectionMarkOrderAsPaid,
|
|
3024
|
+
preparePaymentCollection,
|
|
3025
|
+
recordManuallyCollectedPayment,
|
|
2101
3026
|
searchOrders,
|
|
3027
|
+
triggerRefund,
|
|
2102
3028
|
updateActivity,
|
|
2103
3029
|
updateOrder,
|
|
2104
3030
|
updateOrderLineItem,
|
|
2105
|
-
updateOrderStatus
|
|
3031
|
+
updateOrderStatus,
|
|
3032
|
+
voidAuthorizedPayments
|
|
2106
3033
|
});
|
|
2107
3034
|
//# sourceMappingURL=index.typings.js.map
|