@wix/auto_sdk_ecom_orders 1.0.301 → 1.0.302
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-DjY_97wS.d.ts → ecom-v1-order-orders.universal-DXaSk34p.d.ts} +39 -24
- package/build/cjs/index.d.ts +5 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +32 -19
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{ecom-v1-order-orders.universal-DjY_97wS.d.mts → ecom-v1-order-orders.universal-DXaSk34p.d.mts} +39 -24
- package/build/es/index.d.mts +5 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +32 -19
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{ecom-v1-order-orders.universal-23Q8NeIh.d.ts → ecom-v1-order-orders.universal-D7jnkrT5.d.ts} +39 -24
- package/build/internal/cjs/index.d.ts +5 -3
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +32 -19
- package/build/internal/es/{ecom-v1-order-orders.universal-23Q8NeIh.d.mts → ecom-v1-order-orders.universal-D7jnkrT5.d.mts} +39 -24
- package/build/internal/es/index.d.mts +5 -3
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +32 -19
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dX as ImportOrderRequest$1, I as ImportOrderResponse$1, dY as SetOrderNumberCounterRequest$1, b as SetOrderNumberCounterResponse$1, dZ as BulkDeleteImportedOrdersRequest$1, B as BulkDeleteImportedOrdersResponse$1, e1 as PreparePaymentCollectionRequest$1, e as PreparePaymentCollectionResponse$1, e5 as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, e6 as RecordManuallyCollectedPaymentRequest$1, e9 as RecordManuallyCollectedPaymentResponse$1, ea as MarkOrderAsPaidRequest$1, eb as MarkOrderAsPaidResponse$1, ec as BulkMarkOrdersAsPaidRequest$1, ed as BulkMarkOrdersAsPaidResponse$1, ei as GetRefundabilityStatusRequest$1, ej as GetRefundabilityStatusResponse$1, em as CreatePaymentGatewayOrderRequest$1, eo as CreatePaymentGatewayOrderResponse$1, ep as ChargeMembershipsRequest$1, es as ChargeMembershipsResponse$1, et as TriggerRefundRequest$1, eD as TriggerRefundResponse$1, fc as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, fd as CaptureAuthorizedPaymentsRequest$1, C as CaptureAuthorizedPaymentsResponse$1, gx as GetOrderRequest$1, gy as GetOrderResponse$1, gK as SearchOrdersRequest$1, l as SearchOrdersResponse$1, gO as CreateOrderRequest$1, gS as CreateOrderResponse$1, gT as UpdateOrderRequest$1, gU as UpdateOrderResponse$1, gV as BulkUpdateOrdersRequest$1, q as BulkUpdateOrdersResponse$1, ho as UpdateOrderLineItemRequest$1, hp as UpdateOrderLineItemResponse$1, hQ as AddActivityRequest$1, hT as AddActivityResponse$1, hU as AddActivitiesRequest$1, r as AddActivitiesResponse$1, hV as UpdateActivityRequest$1, hW as UpdateActivityResponse$1, hX as DeleteActivityRequest$1, hY as DeleteActivityResponse$1, i2 as CancelOrderRequest$1, t as CancelOrderResponse$1, i3 as UpdateOrderStatusRequest$1, i4 as UpdateOrderStatusResponse$1, iu as AggregateOrdersRequest$1, iv as AggregateOrdersResponse$1, iz as BulkUpdateOrderTagsRequest$1, w as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-
|
|
1
|
+
import { dX as ImportOrderRequest$1, I as ImportOrderResponse$1, dY as SetOrderNumberCounterRequest$1, b as SetOrderNumberCounterResponse$1, dZ as BulkDeleteImportedOrdersRequest$1, B as BulkDeleteImportedOrdersResponse$1, e1 as PreparePaymentCollectionRequest$1, e as PreparePaymentCollectionResponse$1, e5 as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, e6 as RecordManuallyCollectedPaymentRequest$1, e9 as RecordManuallyCollectedPaymentResponse$1, ea as MarkOrderAsPaidRequest$1, eb as MarkOrderAsPaidResponse$1, ec as BulkMarkOrdersAsPaidRequest$1, ed as BulkMarkOrdersAsPaidResponse$1, ei as GetRefundabilityStatusRequest$1, ej as GetRefundabilityStatusResponse$1, em as CreatePaymentGatewayOrderRequest$1, eo as CreatePaymentGatewayOrderResponse$1, ep as ChargeMembershipsRequest$1, es as ChargeMembershipsResponse$1, et as TriggerRefundRequest$1, eD as TriggerRefundResponse$1, fc as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, fd as CaptureAuthorizedPaymentsRequest$1, C as CaptureAuthorizedPaymentsResponse$1, gx as GetOrderRequest$1, gy as GetOrderResponse$1, gK as SearchOrdersRequest$1, l as SearchOrdersResponse$1, gO as CreateOrderRequest$1, gS as CreateOrderResponse$1, gT as UpdateOrderRequest$1, gU as UpdateOrderResponse$1, gV as BulkUpdateOrdersRequest$1, q as BulkUpdateOrdersResponse$1, ho as UpdateOrderLineItemRequest$1, hp as UpdateOrderLineItemResponse$1, hQ as AddActivityRequest$1, hT as AddActivityResponse$1, hU as AddActivitiesRequest$1, r as AddActivitiesResponse$1, hV as UpdateActivityRequest$1, hW as UpdateActivityResponse$1, hX as DeleteActivityRequest$1, hY as DeleteActivityResponse$1, i2 as CancelOrderRequest$1, t as CancelOrderResponse$1, i3 as UpdateOrderStatusRequest$1, i4 as UpdateOrderStatusResponse$1, iu as AggregateOrdersRequest$1, iv as AggregateOrdersResponse$1, iz as BulkUpdateOrderTagsRequest$1, w as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-DXaSk34p.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -155,7 +155,7 @@ interface Order {
|
|
|
155
155
|
/**
|
|
156
156
|
* Custom field data for the order object.
|
|
157
157
|
*
|
|
158
|
-
* [Extended fields](https://dev.wix.com/docs/
|
|
158
|
+
* [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.
|
|
159
159
|
*/
|
|
160
160
|
extendedFields?: ExtendedFields;
|
|
161
161
|
/**
|
|
@@ -174,7 +174,7 @@ interface Order {
|
|
|
174
174
|
/**
|
|
175
175
|
* Order tags.
|
|
176
176
|
*
|
|
177
|
-
* [Tags](https://dev.wix.com/docs/
|
|
177
|
+
* [Tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction) are labels attached to entities, allowing for flexible categorization and data management.
|
|
178
178
|
*/
|
|
179
179
|
tags?: Tags;
|
|
180
180
|
/**
|
|
@@ -247,7 +247,7 @@ interface OrderLineItem {
|
|
|
247
247
|
itemType?: ItemType;
|
|
248
248
|
/**
|
|
249
249
|
* Fulfiller ID. Field is empty when the line item is self-fulfilled.
|
|
250
|
-
* To get fulfillment information, pass the order ID to [List Fulfillments For Single Order](https://dev.wix.com/docs/
|
|
250
|
+
* To get fulfillment information, pass the order ID to [List Fulfillments For Single Order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-fulfillments/list-fulfillments-for-single-order).
|
|
251
251
|
* @format GUID
|
|
252
252
|
*/
|
|
253
253
|
fulfillerId?: string | null;
|
|
@@ -344,7 +344,7 @@ interface OrderLineItem {
|
|
|
344
344
|
/**
|
|
345
345
|
* Custom extended fields for the line item object.
|
|
346
346
|
*
|
|
347
|
-
* [Extended fields](https://dev.wix.com/docs/
|
|
347
|
+
* [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.
|
|
348
348
|
*/
|
|
349
349
|
extendedFields?: ExtendedFields;
|
|
350
350
|
/**
|
|
@@ -1165,7 +1165,8 @@ declare enum FulfillmentStatus {
|
|
|
1165
1165
|
NOT_FULFILLED = "NOT_FULFILLED",
|
|
1166
1166
|
/**
|
|
1167
1167
|
* All of the order items are fulfilled or the order was manually marked as fulfilled.
|
|
1168
|
-
*
|
|
1168
|
+
* Paid orders without shipping info are fulfilled automatically.
|
|
1169
|
+
* Manually marking an order as fulfilled doesn't create a [fulfillment](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-fulfillments/introduction). Instead, an `ORDER_FULFILLED` activity is added to the order's `activities`.
|
|
1169
1170
|
*/
|
|
1170
1171
|
FULFILLED = "FULFILLED",
|
|
1171
1172
|
/** Some, but not all, of the order items are fulfilled. */
|
|
@@ -2464,9 +2465,9 @@ declare enum ActivityType {
|
|
|
2464
2465
|
ORDER_PLACED = "ORDER_PLACED",
|
|
2465
2466
|
/** Order payment was completed and confirmed. */
|
|
2466
2467
|
ORDER_PAID = "ORDER_PAID",
|
|
2467
|
-
/** Order
|
|
2468
|
+
/** Order was manually marked as fulfilled, for example, in the site dashboard. The activity's `createdDate` is the date and time the order was marked as fulfilled. */
|
|
2468
2469
|
ORDER_FULFILLED = "ORDER_FULFILLED",
|
|
2469
|
-
/** Order
|
|
2470
|
+
/** Order was manually marked as not fulfilled, for example, in the site dashboard. */
|
|
2470
2471
|
ORDER_NOT_FULFILLED = "ORDER_NOT_FULFILLED",
|
|
2471
2472
|
/** Order was canceled by merchant or customer. */
|
|
2472
2473
|
ORDER_CANCELED = "ORDER_CANCELED",
|
|
@@ -2592,9 +2593,9 @@ declare enum OrderActivityTypeEnumActivityType {
|
|
|
2592
2593
|
ORDER_PLACED = "ORDER_PLACED",
|
|
2593
2594
|
/** Order payment was completed and confirmed. */
|
|
2594
2595
|
ORDER_PAID = "ORDER_PAID",
|
|
2595
|
-
/** Order
|
|
2596
|
+
/** Order was manually marked as fulfilled, for example, in the site dashboard. The activity's `createdDate` is the date and time the order was marked as fulfilled. */
|
|
2596
2597
|
ORDER_FULFILLED = "ORDER_FULFILLED",
|
|
2597
|
-
/** Order
|
|
2598
|
+
/** Order was manually marked as not fulfilled, for example, in the site dashboard. */
|
|
2598
2599
|
ORDER_NOT_FULFILLED = "ORDER_NOT_FULFILLED",
|
|
2599
2600
|
/** Order was canceled by merchant or customer. */
|
|
2600
2601
|
ORDER_CANCELED = "ORDER_CANCELED",
|
|
@@ -3435,15 +3436,27 @@ interface PaymentStatusUpdated {
|
|
|
3435
3436
|
/** The previous status (before the update) */
|
|
3436
3437
|
previousPaymentStatus?: PaymentStatusEnumPaymentStatusWithLiterals;
|
|
3437
3438
|
}
|
|
3438
|
-
/**
|
|
3439
|
+
/**
|
|
3440
|
+
* Triggered when an order's fulfillment status changes.
|
|
3441
|
+
*
|
|
3442
|
+
* The status changes when the order is manually marked as fulfilled or not fulfilled, when its fulfillments are created, updated, or deleted, or when an edit to the order changes the status. It isn't triggered when the status changes because of a payment, an approval, a rejection, or a cancellation, for example, when an order without shipping info is paid.
|
|
3443
|
+
*/
|
|
3439
3444
|
interface FulfillmentStatusUpdated {
|
|
3440
|
-
/**
|
|
3445
|
+
/** Updated order. */
|
|
3441
3446
|
order?: Order;
|
|
3442
|
-
/**
|
|
3447
|
+
/** Order's fulfillment status before the change. */
|
|
3443
3448
|
previousFulfillmentStatus?: FulfillmentStatusWithLiterals;
|
|
3444
|
-
/**
|
|
3449
|
+
/** Order's fulfillment status after the change. */
|
|
3445
3450
|
newFulfillmentStatus?: FulfillmentStatusWithLiterals;
|
|
3446
|
-
/**
|
|
3451
|
+
/**
|
|
3452
|
+
* What changed the fulfillment status.
|
|
3453
|
+
*
|
|
3454
|
+
* Supported values:
|
|
3455
|
+
* + `"markAsFulfilled"`: The order was manually marked as fulfilled, for example, in the site dashboard.
|
|
3456
|
+
* + `"markAsUnfulfilled"`: The order was manually marked as not fulfilled.
|
|
3457
|
+
* + `"fulfillmentsUpdated"`: A fulfillment was created, updated, or deleted.
|
|
3458
|
+
* + `"orderUpdated"`: The order was edited and the change affected the status.
|
|
3459
|
+
*/
|
|
3447
3460
|
action?: string;
|
|
3448
3461
|
}
|
|
3449
3462
|
interface OrderCanceledEventOrderCanceled {
|
|
@@ -6210,19 +6223,19 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
|
6210
6223
|
/**
|
|
6211
6224
|
* Cursor paging options.
|
|
6212
6225
|
*
|
|
6213
|
-
* Learn more about [cursor paging](https://dev.wix.com/docs/
|
|
6226
|
+
* Learn more about [cursor paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#cursor-paging).
|
|
6214
6227
|
*/
|
|
6215
6228
|
cursorPaging?: CursorPaging;
|
|
6216
6229
|
/**
|
|
6217
6230
|
* Filter object.
|
|
6218
6231
|
*
|
|
6219
|
-
* Learn more about [filtering](https://dev.wix.com/docs/
|
|
6232
|
+
* Learn more about [filtering](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#filters).
|
|
6220
6233
|
*/
|
|
6221
6234
|
filter?: Record<string, any> | null;
|
|
6222
6235
|
/**
|
|
6223
6236
|
* List of sort objects.
|
|
6224
6237
|
*
|
|
6225
|
-
* Learn more about [sorting](https://dev.wix.com/docs/
|
|
6238
|
+
* Learn more about [sorting](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#sorting).
|
|
6226
6239
|
* @maxSize 4
|
|
6227
6240
|
*/
|
|
6228
6241
|
sort?: Sorting[];
|
|
@@ -6232,7 +6245,7 @@ interface CursorSearchPagingMethodOneOf {
|
|
|
6232
6245
|
/**
|
|
6233
6246
|
* Cursor paging options.
|
|
6234
6247
|
*
|
|
6235
|
-
* Learn more about [cursor paging](https://dev.wix.com/docs/
|
|
6248
|
+
* Learn more about [cursor paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#cursor-paging).
|
|
6236
6249
|
*/
|
|
6237
6250
|
cursorPaging?: CursorPaging;
|
|
6238
6251
|
}
|