@wix/auto_sdk_ecom_orders 1.0.169 → 1.0.170
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/{ecom-v1-order-orders.universal-C4PB-9NO.d.ts → ecom-v1-order-orders.universal-DOiNub2z.d.ts} +166 -166
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +36 -40
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +27 -29
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +169 -169
- package/build/cjs/meta.js +27 -29
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{ecom-v1-order-orders.universal-C4PB-9NO.d.mts → ecom-v1-order-orders.universal-DOiNub2z.d.mts} +166 -166
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +33 -37
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +24 -26
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +169 -169
- package/build/es/meta.mjs +24 -26
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{ecom-v1-order-orders.universal-ClLqcVyj.d.ts → ecom-v1-order-orders.universal-B4pk8rWZ.d.ts} +171 -171
- package/build/internal/cjs/index.d.ts +15 -15
- package/build/internal/cjs/index.js +36 -40
- 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 +27 -29
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +169 -169
- package/build/internal/cjs/meta.js +27 -29
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{ecom-v1-order-orders.universal-ClLqcVyj.d.mts → ecom-v1-order-orders.universal-B4pk8rWZ.d.mts} +171 -171
- package/build/internal/es/index.d.mts +15 -15
- package/build/internal/es/index.mjs +33 -37
- 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 +24 -26
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +169 -169
- package/build/internal/es/meta.mjs +24 -26
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/meta.mjs
CHANGED
|
@@ -320,8 +320,8 @@ function recordManuallyCollectedPayment(payload) {
|
|
|
320
320
|
}
|
|
321
321
|
return __recordManuallyCollectedPayment;
|
|
322
322
|
}
|
|
323
|
-
function
|
|
324
|
-
function
|
|
323
|
+
function markOrderAsPaid(payload) {
|
|
324
|
+
function __markOrderAsPaid({ host }) {
|
|
325
325
|
const metadata = {
|
|
326
326
|
entityFqdn: "wix.ecom.v1.order",
|
|
327
327
|
method: "POST",
|
|
@@ -382,10 +382,10 @@ function paymentCollectionMarkOrderAsPaid(payload) {
|
|
|
382
382
|
};
|
|
383
383
|
return metadata;
|
|
384
384
|
}
|
|
385
|
-
return
|
|
385
|
+
return __markOrderAsPaid;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
function
|
|
387
|
+
function bulkMarkOrdersAsPaid(payload) {
|
|
388
|
+
function __bulkMarkOrdersAsPaid({ host }) {
|
|
389
389
|
const metadata = {
|
|
390
390
|
entityFqdn: "wix.ecom.v1.order",
|
|
391
391
|
method: "POST",
|
|
@@ -450,7 +450,7 @@ function paymentCollectionBulkMarkOrdersAsPaid(payload) {
|
|
|
450
450
|
};
|
|
451
451
|
return metadata;
|
|
452
452
|
}
|
|
453
|
-
return
|
|
453
|
+
return __bulkMarkOrdersAsPaid;
|
|
454
454
|
}
|
|
455
455
|
function getRefundabilityStatus(payload) {
|
|
456
456
|
function __getRefundabilityStatus({ host }) {
|
|
@@ -473,8 +473,8 @@ function getRefundabilityStatus(payload) {
|
|
|
473
473
|
}
|
|
474
474
|
return __getRefundabilityStatus;
|
|
475
475
|
}
|
|
476
|
-
function
|
|
477
|
-
function
|
|
476
|
+
function createPaymentGatewayOrder(payload) {
|
|
477
|
+
function __createPaymentGatewayOrder({ host }) {
|
|
478
478
|
const metadata = {
|
|
479
479
|
entityFqdn: "wix.ecom.v1.order",
|
|
480
480
|
method: "POST",
|
|
@@ -492,7 +492,7 @@ function paymentCollectionCreatePaymentGatewayOrder(payload) {
|
|
|
492
492
|
};
|
|
493
493
|
return metadata;
|
|
494
494
|
}
|
|
495
|
-
return
|
|
495
|
+
return __createPaymentGatewayOrder;
|
|
496
496
|
}
|
|
497
497
|
function chargeMemberships(payload) {
|
|
498
498
|
function __chargeMemberships({ host }) {
|
|
@@ -1922,12 +1922,6 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
1922
1922
|
WebhookIdentityType2["APP"] = "APP";
|
|
1923
1923
|
return WebhookIdentityType2;
|
|
1924
1924
|
})(WebhookIdentityType || {});
|
|
1925
|
-
var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
|
|
1926
|
-
VersioningMode2["DEFAULT"] = "DEFAULT";
|
|
1927
|
-
VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
|
|
1928
|
-
VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
|
|
1929
|
-
return VersioningMode2;
|
|
1930
|
-
})(VersioningMode || {});
|
|
1931
1925
|
var PreviewEmailType = /* @__PURE__ */ ((PreviewEmailType2) => {
|
|
1932
1926
|
PreviewEmailType2["ORDER_PLACED"] = "ORDER_PLACED";
|
|
1933
1927
|
PreviewEmailType2["DOWNLOAD_LINKS"] = "DOWNLOAD_LINKS";
|
|
@@ -2053,6 +2047,12 @@ var RefundStatus = /* @__PURE__ */ ((RefundStatus2) => {
|
|
|
2053
2047
|
RefundStatus2["STARTED"] = "STARTED";
|
|
2054
2048
|
return RefundStatus2;
|
|
2055
2049
|
})(RefundStatus || {});
|
|
2050
|
+
var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
|
|
2051
|
+
VersioningMode2["DEFAULT"] = "DEFAULT";
|
|
2052
|
+
VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
|
|
2053
|
+
VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
|
|
2054
|
+
return VersioningMode2;
|
|
2055
|
+
})(VersioningMode || {});
|
|
2056
2056
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
2057
2057
|
SortOrder2["ASC"] = "ASC";
|
|
2058
2058
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -2245,9 +2245,9 @@ function recordManuallyCollectedPayment2() {
|
|
|
2245
2245
|
__originalResponseType: null
|
|
2246
2246
|
};
|
|
2247
2247
|
}
|
|
2248
|
-
function
|
|
2248
|
+
function markOrderAsPaid2() {
|
|
2249
2249
|
const payload = { ecomOrderId: ":ecomOrderId" };
|
|
2250
|
-
const getRequestOptions =
|
|
2250
|
+
const getRequestOptions = markOrderAsPaid(payload);
|
|
2251
2251
|
const getUrl = (context) => {
|
|
2252
2252
|
const { url } = getRequestOptions(context);
|
|
2253
2253
|
return url;
|
|
@@ -2263,9 +2263,9 @@ function paymentCollectionMarkOrderAsPaid2() {
|
|
|
2263
2263
|
__originalResponseType: null
|
|
2264
2264
|
};
|
|
2265
2265
|
}
|
|
2266
|
-
function
|
|
2266
|
+
function bulkMarkOrdersAsPaid2() {
|
|
2267
2267
|
const payload = {};
|
|
2268
|
-
const getRequestOptions =
|
|
2268
|
+
const getRequestOptions = bulkMarkOrdersAsPaid(payload);
|
|
2269
2269
|
const getUrl = (context) => {
|
|
2270
2270
|
const { url } = getRequestOptions(context);
|
|
2271
2271
|
return url;
|
|
@@ -2299,11 +2299,9 @@ function getRefundabilityStatus2() {
|
|
|
2299
2299
|
__originalResponseType: null
|
|
2300
2300
|
};
|
|
2301
2301
|
}
|
|
2302
|
-
function
|
|
2302
|
+
function createPaymentGatewayOrder2() {
|
|
2303
2303
|
const payload = { ecomOrderId: ":ecomOrderId" };
|
|
2304
|
-
const getRequestOptions =
|
|
2305
|
-
payload
|
|
2306
|
-
);
|
|
2304
|
+
const getRequestOptions = createPaymentGatewayOrder(payload);
|
|
2307
2305
|
const getUrl = (context) => {
|
|
2308
2306
|
const { url } = getRequestOptions(context);
|
|
2309
2307
|
return url;
|
|
@@ -2700,20 +2698,20 @@ export {
|
|
|
2700
2698
|
addActivity2 as addActivity,
|
|
2701
2699
|
aggregateOrders2 as aggregateOrders,
|
|
2702
2700
|
bulkDeleteImportedOrders2 as bulkDeleteImportedOrders,
|
|
2701
|
+
bulkMarkOrdersAsPaid2 as bulkMarkOrdersAsPaid,
|
|
2703
2702
|
bulkUpdateOrderTags2 as bulkUpdateOrderTags,
|
|
2704
2703
|
bulkUpdateOrders2 as bulkUpdateOrders,
|
|
2705
2704
|
cancelOrder2 as cancelOrder,
|
|
2706
2705
|
captureAuthorizedPayments2 as captureAuthorizedPayments,
|
|
2707
2706
|
chargeMemberships2 as chargeMemberships,
|
|
2708
2707
|
createOrder2 as createOrder,
|
|
2708
|
+
createPaymentGatewayOrder2 as createPaymentGatewayOrder,
|
|
2709
2709
|
deleteActivity2 as deleteActivity,
|
|
2710
2710
|
getOrder2 as getOrder,
|
|
2711
2711
|
getPaymentCollectabilityStatus2 as getPaymentCollectabilityStatus,
|
|
2712
2712
|
getRefundabilityStatus2 as getRefundabilityStatus,
|
|
2713
2713
|
importOrder2 as importOrder,
|
|
2714
|
-
|
|
2715
|
-
paymentCollectionCreatePaymentGatewayOrder2 as paymentCollectionCreatePaymentGatewayOrder,
|
|
2716
|
-
paymentCollectionMarkOrderAsPaid2 as paymentCollectionMarkOrderAsPaid,
|
|
2714
|
+
markOrderAsPaid2 as markOrderAsPaid,
|
|
2717
2715
|
preparePaymentCollection2 as preparePaymentCollection,
|
|
2718
2716
|
recordManuallyCollectedPayment2 as recordManuallyCollectedPayment,
|
|
2719
2717
|
searchOrders2 as searchOrders,
|