@wix/auto_sdk_ecom_orders 1.0.83 → 1.0.85
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-BZBD_0XI.d.ts → ecom-v1-order-orders.universal-DQ3VbtMx.d.ts} +23 -8
- package/build/cjs/index.d.ts +2 -2
- 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 +73 -7
- package/build/es/{ecom-v1-order-orders.universal-BZBD_0XI.d.mts → ecom-v1-order-orders.universal-DQ3VbtMx.d.mts} +23 -8
- package/build/es/index.d.mts +2 -2
- 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 +73 -7
- package/build/internal/cjs/{ecom-v1-order-orders.universal-BNhwSQlX.d.ts → ecom-v1-order-orders.universal-EBZGBmtA.d.ts} +5 -11
- package/build/internal/cjs/index.d.ts +2 -2
- 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.map +1 -1
- package/build/internal/cjs/meta.d.ts +73 -7
- package/build/internal/es/{ecom-v1-order-orders.universal-BNhwSQlX.d.mts → ecom-v1-order-orders.universal-EBZGBmtA.d.mts} +5 -11
- package/build/internal/es/index.d.mts +2 -2
- 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.map +1 -1
- package/build/internal/es/meta.d.mts +73 -7
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dL as PreparePaymentCollectionRequest$1, b as PreparePaymentCollectionResponse$1, dP as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, dQ as RecordManuallyCollectedPaymentRequest$1, dR as RecordManuallyCollectedPaymentResponse$1, dS as MarkOrderAsPaidRequest$1, M as MarkOrderAsPaidResponse$1, dT as BulkMarkOrdersAsPaidRequest$1, B as BulkMarkOrdersAsPaidResponse$1, dY as GetRefundabilityStatusRequest$1, e as GetRefundabilityStatusResponse$1, d$ as CreatePaymentGatewayOrderRequest$1, C as CreatePaymentGatewayOrderResponse$1, e1 as ChargeMembershipsRequest$1, e5 as ChargeMembershipsResponse$1, e6 as TriggerRefundRequest$1, j as TriggerRefundResponse$1, eB as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, eC as CaptureAuthorizedPaymentsRequest$1, n as CaptureAuthorizedPaymentsResponse$1, eZ as GetOrderRequest$1, e_ as GetOrderResponse$1, fa as SearchOrdersRequest$1, S as SearchOrdersResponse$1, fe as CreateOrderRequest$1, fh as CreateOrderResponse$1, fi as UpdateOrderRequest$1, fj as UpdateOrderResponse$1, fk as BulkUpdateOrdersRequest$1, w as BulkUpdateOrdersResponse$1, fl as CommitDeltasRequest$1, y as CommitDeltasResponse$1, f$ as UpdateOrderLineItemRequest$1, E as UpdateOrderLineItemResponse$1, gq as AddActivityRequest$1, H as AddActivityResponse$1, gu as UpdateActivityRequest$1, J as UpdateActivityResponse$1, gv as DeleteActivityRequest$1, L as DeleteActivityResponse$1, gB as CancelOrderRequest$1, Q as CancelOrderResponse$1, gD as UpdateOrderStatusRequest$1, Y as UpdateOrderStatusResponse$1, h1 as AggregateOrdersRequest$1, $ as AggregateOrdersResponse$1, h5 as BulkUpdateOrderTagsRequest$1, a1 as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-
|
|
1
|
+
import { dL as PreparePaymentCollectionRequest$1, b as PreparePaymentCollectionResponse$1, dP as GetPaymentCollectabilityStatusRequest$1, G as GetPaymentCollectabilityStatusResponse$1, dQ as RecordManuallyCollectedPaymentRequest$1, dR as RecordManuallyCollectedPaymentResponse$1, dS as MarkOrderAsPaidRequest$1, M as MarkOrderAsPaidResponse$1, dT as BulkMarkOrdersAsPaidRequest$1, B as BulkMarkOrdersAsPaidResponse$1, dY as GetRefundabilityStatusRequest$1, e as GetRefundabilityStatusResponse$1, d$ as CreatePaymentGatewayOrderRequest$1, C as CreatePaymentGatewayOrderResponse$1, e1 as ChargeMembershipsRequest$1, e5 as ChargeMembershipsResponse$1, e6 as TriggerRefundRequest$1, j as TriggerRefundResponse$1, eB as VoidAuthorizedPaymentsRequest$1, V as VoidAuthorizedPaymentsResponse$1, eC as CaptureAuthorizedPaymentsRequest$1, n as CaptureAuthorizedPaymentsResponse$1, eZ as GetOrderRequest$1, e_ as GetOrderResponse$1, fa as SearchOrdersRequest$1, S as SearchOrdersResponse$1, fe as CreateOrderRequest$1, fh as CreateOrderResponse$1, fi as UpdateOrderRequest$1, fj as UpdateOrderResponse$1, fk as BulkUpdateOrdersRequest$1, w as BulkUpdateOrdersResponse$1, fl as CommitDeltasRequest$1, y as CommitDeltasResponse$1, f$ as UpdateOrderLineItemRequest$1, E as UpdateOrderLineItemResponse$1, gq as AddActivityRequest$1, H as AddActivityResponse$1, gu as UpdateActivityRequest$1, J as UpdateActivityResponse$1, gv as DeleteActivityRequest$1, L as DeleteActivityResponse$1, gB as CancelOrderRequest$1, Q as CancelOrderResponse$1, gD as UpdateOrderStatusRequest$1, Y as UpdateOrderStatusResponse$1, h1 as AggregateOrdersRequest$1, $ as AggregateOrdersResponse$1, h5 as BulkUpdateOrderTagsRequest$1, a1 as BulkUpdateOrderTagsResponse$1 } from './ecom-v1-order-orders.universal-EBZGBmtA.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
interface Order {
|
|
@@ -292,6 +292,12 @@ interface OrderLineItem {
|
|
|
292
292
|
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
293
293
|
*/
|
|
294
294
|
extendedFields?: ExtendedFields;
|
|
295
|
+
/**
|
|
296
|
+
* Modifier groups that were added to the item.
|
|
297
|
+
* @readonly
|
|
298
|
+
* @maxSize 10
|
|
299
|
+
*/
|
|
300
|
+
modifierGroups?: ModifierGroup[];
|
|
295
301
|
}
|
|
296
302
|
interface ProductName {
|
|
297
303
|
/**
|
|
@@ -599,14 +605,11 @@ interface SubscriptionInfo {
|
|
|
599
605
|
* @format GUID
|
|
600
606
|
*/
|
|
601
607
|
id?: string | null;
|
|
602
|
-
/**
|
|
603
|
-
* Subscription cycle. For example, if this order is for the 3rd cycle of a subscription, value will be `3`.
|
|
604
|
-
* @min 1
|
|
605
|
-
*/
|
|
608
|
+
/** Subscription cycle. For example, if this order is for the 3rd cycle of a subscription, value will be `3`. */
|
|
606
609
|
cycleNumber?: number;
|
|
607
610
|
/**
|
|
608
611
|
* Subscription option title. For example, `"Monthly coffee Subscription"`.
|
|
609
|
-
* @maxLength
|
|
612
|
+
* @maxLength 150
|
|
610
613
|
* @deprecated Subscription option title. For example, `"Monthly coffee Subscription"`.
|
|
611
614
|
* @replacedBy title
|
|
612
615
|
* @targetRemovalDate 2025-10-01
|
|
@@ -614,7 +617,7 @@ interface SubscriptionInfo {
|
|
|
614
617
|
subscriptionOptionTitle?: string;
|
|
615
618
|
/**
|
|
616
619
|
* Subscription option description. For example, `"1kg of selected coffee, once a month"`.
|
|
617
|
-
* @maxLength
|
|
620
|
+
* @maxLength 500
|
|
618
621
|
* @deprecated Subscription option description. For example, `"1kg of selected coffee, once a month"`.
|
|
619
622
|
* @replacedBy description
|
|
620
623
|
* @targetRemovalDate 2025-10-01
|
|
@@ -742,6 +745,63 @@ interface ExtendedFields {
|
|
|
742
745
|
*/
|
|
743
746
|
namespaces?: Record<string, Record<string, any>>;
|
|
744
747
|
}
|
|
748
|
+
interface ModifierGroup {
|
|
749
|
+
/**
|
|
750
|
+
* Modifier group ID.
|
|
751
|
+
* @minLength 1
|
|
752
|
+
* @maxLength 36
|
|
753
|
+
*/
|
|
754
|
+
id?: string;
|
|
755
|
+
/** Modifier group name. */
|
|
756
|
+
name?: TranslatableString;
|
|
757
|
+
/**
|
|
758
|
+
* List of modifiers in this group.
|
|
759
|
+
* @minSize 1
|
|
760
|
+
* @maxSize 10
|
|
761
|
+
*/
|
|
762
|
+
modifiers?: ItemModifier[];
|
|
763
|
+
}
|
|
764
|
+
interface TranslatableString {
|
|
765
|
+
/**
|
|
766
|
+
* __Required.__ String in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
767
|
+
*
|
|
768
|
+
* Min: 1 character.
|
|
769
|
+
* Max: 200 characters.
|
|
770
|
+
* @minLength 1
|
|
771
|
+
* @maxLength 200
|
|
772
|
+
*/
|
|
773
|
+
original?: string;
|
|
774
|
+
/**
|
|
775
|
+
* String translated into the buyer's language.
|
|
776
|
+
*
|
|
777
|
+
* Min: 1 character.
|
|
778
|
+
* Max: 400 characters.
|
|
779
|
+
* Default: Same as `original`.
|
|
780
|
+
* @minLength 1
|
|
781
|
+
* @maxLength 400
|
|
782
|
+
*/
|
|
783
|
+
translated?: string | null;
|
|
784
|
+
}
|
|
785
|
+
interface ItemModifier {
|
|
786
|
+
/**
|
|
787
|
+
* Modifier ID.
|
|
788
|
+
* @minLength 1
|
|
789
|
+
* @maxLength 36
|
|
790
|
+
*/
|
|
791
|
+
id?: string;
|
|
792
|
+
/**
|
|
793
|
+
* The quantity of this modifier.
|
|
794
|
+
* @min 1
|
|
795
|
+
* @max 100000
|
|
796
|
+
*/
|
|
797
|
+
quantity?: number | null;
|
|
798
|
+
/** Primary display label for the modifier. */
|
|
799
|
+
label?: TranslatableString;
|
|
800
|
+
/** Additional details. */
|
|
801
|
+
details?: TranslatableString;
|
|
802
|
+
/** The price of the modifier. */
|
|
803
|
+
price?: Price;
|
|
804
|
+
}
|
|
745
805
|
/** Buyer Info */
|
|
746
806
|
interface BuyerInfo extends BuyerInfoIdOneOf {
|
|
747
807
|
/**
|
|
@@ -3028,6 +3088,12 @@ interface OrderLineItemChangedDetails {
|
|
|
3028
3088
|
locations?: LocationAndQuantity[];
|
|
3029
3089
|
/** Subscription info. */
|
|
3030
3090
|
subscriptionInfo?: SubscriptionInfo;
|
|
3091
|
+
/**
|
|
3092
|
+
* Modifier groups that were added to the item.
|
|
3093
|
+
* @readonly
|
|
3094
|
+
* @maxSize 10
|
|
3095
|
+
*/
|
|
3096
|
+
modifierGroups?: ModifierGroup[];
|
|
3031
3097
|
}
|
|
3032
3098
|
/** Type of selected payment option for catalog item */
|
|
3033
3099
|
declare enum DeltaPaymentOptionType {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_orders",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.85",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.ecom.v1.order"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "49446cb0cb4a7a6c5e2528bda5c6368ca938729e78e0206180f90f78"
|
|
54
54
|
}
|