@wix/auto_sdk_ecom_draft-orders 1.0.145 → 1.0.146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +6 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +13 -13
- package/build/cjs/index.typings.js +6 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +13 -13
- package/build/cjs/meta.js +6 -6
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +6 -6
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +13 -13
- package/build/es/index.typings.mjs +6 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +13 -13
- package/build/es/meta.mjs +6 -6
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +6 -6
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +19 -13
- package/build/internal/cjs/index.typings.js +6 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +13 -13
- package/build/internal/cjs/meta.js +6 -6
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +6 -6
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +19 -13
- package/build/internal/es/index.typings.mjs +6 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +13 -13
- package/build/internal/es/meta.mjs +6 -6
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -1961,6 +1961,19 @@ declare enum ChargeType {
|
|
|
1961
1961
|
}
|
|
1962
1962
|
/** @enumType */
|
|
1963
1963
|
type ChargeTypeWithLiterals = ChargeType | 'PASS_ON' | 'ABSORBED';
|
|
1964
|
+
declare enum SpecificItemsCouponBehavior {
|
|
1965
|
+
/** Coupon calculation behavior was not specified. */
|
|
1966
|
+
UNDEFINED_COUPON_BEHAVIOR = "UNDEFINED_COUPON_BEHAVIOR",
|
|
1967
|
+
/** Item subtotal includes coupon discount. */
|
|
1968
|
+
ITEM_SUBTOTAL_INCLUDES_DISCOUNT = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT",
|
|
1969
|
+
/**
|
|
1970
|
+
* Legacy flow.
|
|
1971
|
+
* Discount is applied as to specific items after subtotal calculation.
|
|
1972
|
+
*/
|
|
1973
|
+
LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"
|
|
1974
|
+
}
|
|
1975
|
+
/** @enumType */
|
|
1976
|
+
type SpecificItemsCouponBehaviorWithLiterals = SpecificItemsCouponBehavior | 'UNDEFINED_COUPON_BEHAVIOR' | 'ITEM_SUBTOTAL_INCLUDES_DISCOUNT' | 'LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT';
|
|
1964
1977
|
interface CreateDraftOrderRequest extends CreateDraftOrderRequestSourceOneOf {
|
|
1965
1978
|
/**
|
|
1966
1979
|
* ID of the order to create a draft for.
|
|
@@ -4433,19 +4446,6 @@ interface OwnerApps {
|
|
|
4433
4446
|
*/
|
|
4434
4447
|
appIds?: string[];
|
|
4435
4448
|
}
|
|
4436
|
-
declare enum SpecificItemsCouponBehavior {
|
|
4437
|
-
/** Coupon calculation behavior was not specified. */
|
|
4438
|
-
UNDEFINED_COUPON_BEHAVIOR = "UNDEFINED_COUPON_BEHAVIOR",
|
|
4439
|
-
/** Item subtotal includes coupon discount. */
|
|
4440
|
-
ITEM_SUBTOTAL_INCLUDES_DISCOUNT = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT",
|
|
4441
|
-
/**
|
|
4442
|
-
* Legacy flow.
|
|
4443
|
-
* Discount is applied as to specific items after subtotal calculation.
|
|
4444
|
-
*/
|
|
4445
|
-
LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"
|
|
4446
|
-
}
|
|
4447
|
-
/** @enumType */
|
|
4448
|
-
type SpecificItemsCouponBehaviorWithLiterals = SpecificItemsCouponBehavior | 'UNDEFINED_COUPON_BEHAVIOR' | 'ITEM_SUBTOTAL_INCLUDES_DISCOUNT' | 'LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT';
|
|
4449
4449
|
interface FormInfo {
|
|
4450
4450
|
/**
|
|
4451
4451
|
* The identifier of the form schema.
|
package/build/es/meta.mjs
CHANGED
|
@@ -3345,6 +3345,12 @@ var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
|
3345
3345
|
ChargeType2["ABSORBED"] = "ABSORBED";
|
|
3346
3346
|
return ChargeType2;
|
|
3347
3347
|
})(ChargeType || {});
|
|
3348
|
+
var SpecificItemsCouponBehavior = /* @__PURE__ */ ((SpecificItemsCouponBehavior2) => {
|
|
3349
|
+
SpecificItemsCouponBehavior2["UNDEFINED_COUPON_BEHAVIOR"] = "UNDEFINED_COUPON_BEHAVIOR";
|
|
3350
|
+
SpecificItemsCouponBehavior2["ITEM_SUBTOTAL_INCLUDES_DISCOUNT"] = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT";
|
|
3351
|
+
SpecificItemsCouponBehavior2["LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"] = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT";
|
|
3352
|
+
return SpecificItemsCouponBehavior2;
|
|
3353
|
+
})(SpecificItemsCouponBehavior || {});
|
|
3348
3354
|
var FileType = /* @__PURE__ */ ((FileType2) => {
|
|
3349
3355
|
FileType2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
3350
3356
|
FileType2["SECURE_PICTURE"] = "SECURE_PICTURE";
|
|
@@ -3559,12 +3565,6 @@ var OrderActionType = /* @__PURE__ */ ((OrderActionType2) => {
|
|
|
3559
3565
|
OrderActionType2["MODIFY_INVENTORY"] = "MODIFY_INVENTORY";
|
|
3560
3566
|
return OrderActionType2;
|
|
3561
3567
|
})(OrderActionType || {});
|
|
3562
|
-
var SpecificItemsCouponBehavior = /* @__PURE__ */ ((SpecificItemsCouponBehavior2) => {
|
|
3563
|
-
SpecificItemsCouponBehavior2["UNDEFINED_COUPON_BEHAVIOR"] = "UNDEFINED_COUPON_BEHAVIOR";
|
|
3564
|
-
SpecificItemsCouponBehavior2["ITEM_SUBTOTAL_INCLUDES_DISCOUNT"] = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT";
|
|
3565
|
-
SpecificItemsCouponBehavior2["LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"] = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT";
|
|
3566
|
-
return SpecificItemsCouponBehavior2;
|
|
3567
|
-
})(SpecificItemsCouponBehavior || {});
|
|
3568
3568
|
var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => {
|
|
3569
3569
|
OrderStatus2["UNKNOWN_ORDER_STATUS"] = "UNKNOWN_ORDER_STATUS";
|
|
3570
3570
|
OrderStatus2["INITIALIZED"] = "INITIALIZED";
|