@wix/auto_sdk_ecom_subscription-contracts 1.0.101 → 1.0.102
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 +0 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -14
- package/build/cjs/index.typings.js +0 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -10
- package/build/cjs/meta.js +0 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +0 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -14
- package/build/es/index.typings.mjs +0 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +5 -10
- package/build/es/meta.mjs +0 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +0 -5
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +6 -14
- package/build/internal/cjs/index.typings.js +0 -5
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +5 -10
- package/build/internal/cjs/meta.js +0 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +0 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +6 -14
- package/build/internal/es/index.typings.mjs +0 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +5 -10
- package/build/internal/es/meta.mjs +0 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -764,14 +764,13 @@ interface BillingAdjustment {
|
|
|
764
764
|
priceSummary?: BillingAdjustmentPriceSummary;
|
|
765
765
|
}
|
|
766
766
|
declare enum AdjustmentType {
|
|
767
|
-
UNKNOWN_ADJUSTMENT_TYPE = "UNKNOWN_ADJUSTMENT_TYPE",
|
|
768
767
|
/** Adjustment increases the total amount due to changes like covering extra billing days. Typically results in an additional fee. */
|
|
769
768
|
EXTRA_CHARGE = "EXTRA_CHARGE",
|
|
770
769
|
/** Adjustment reduces the total amount due to changes like covering fewer billing days. Typically results in a credit or discount. */
|
|
771
770
|
CREDIT = "CREDIT"
|
|
772
771
|
}
|
|
773
772
|
/** @enumType */
|
|
774
|
-
type AdjustmentTypeWithLiterals = AdjustmentType | '
|
|
773
|
+
type AdjustmentTypeWithLiterals = AdjustmentType | 'EXTRA_CHARGE' | 'CREDIT';
|
|
775
774
|
interface BillingAdjustmentPriceSummary {
|
|
776
775
|
/** Subtotal of adjustment, before tax. */
|
|
777
776
|
subtotal?: Price;
|
|
@@ -832,13 +831,12 @@ interface TaxableAddressTaxableAddressDataOneOf {
|
|
|
832
831
|
addressType?: TaxableAddressTypeWithLiterals;
|
|
833
832
|
}
|
|
834
833
|
declare enum TaxableAddressType {
|
|
835
|
-
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
836
834
|
BUSINESS = "BUSINESS",
|
|
837
835
|
BILLING = "BILLING",
|
|
838
836
|
SHIPPING = "SHIPPING"
|
|
839
837
|
}
|
|
840
838
|
/** @enumType */
|
|
841
|
-
type TaxableAddressTypeWithLiterals = TaxableAddressType | '
|
|
839
|
+
type TaxableAddressTypeWithLiterals = TaxableAddressType | 'BUSINESS' | 'BILLING' | 'SHIPPING';
|
|
842
840
|
interface ExtendedFields {
|
|
843
841
|
/**
|
|
844
842
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -1019,7 +1017,6 @@ interface PlatformFee {
|
|
|
1019
1017
|
percentageRate?: string;
|
|
1020
1018
|
}
|
|
1021
1019
|
declare enum ChargeType {
|
|
1022
|
-
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
1023
1020
|
/**
|
|
1024
1021
|
* Platform fee passed on to buyer.
|
|
1025
1022
|
*
|
|
@@ -1034,7 +1031,7 @@ declare enum ChargeType {
|
|
|
1034
1031
|
ABSORBED = "ABSORBED"
|
|
1035
1032
|
}
|
|
1036
1033
|
/** @enumType */
|
|
1037
|
-
type ChargeTypeWithLiterals = ChargeType | '
|
|
1034
|
+
type ChargeTypeWithLiterals = ChargeType | 'PASS_ON' | 'ABSORBED';
|
|
1038
1035
|
/** Billing Info and shipping details */
|
|
1039
1036
|
interface AddressWithContact {
|
|
1040
1037
|
/** Address. */
|
|
@@ -1256,12 +1253,11 @@ interface PickupAddress {
|
|
|
1256
1253
|
subdivisionFullname?: string | null;
|
|
1257
1254
|
}
|
|
1258
1255
|
declare enum PickupMethod {
|
|
1259
|
-
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
1260
1256
|
STORE_PICKUP = "STORE_PICKUP",
|
|
1261
1257
|
PICKUP_POINT = "PICKUP_POINT"
|
|
1262
1258
|
}
|
|
1263
1259
|
/** @enumType */
|
|
1264
|
-
type PickupMethodWithLiterals = PickupMethod | '
|
|
1260
|
+
type PickupMethodWithLiterals = PickupMethod | 'STORE_PICKUP' | 'PICKUP_POINT';
|
|
1265
1261
|
interface DeliveryTimeSlot {
|
|
1266
1262
|
/** Delivery slot starting time. */
|
|
1267
1263
|
from?: Date | null;
|
|
@@ -1647,7 +1643,6 @@ interface AdditionalFee {
|
|
|
1647
1643
|
lineItemIds?: string[];
|
|
1648
1644
|
}
|
|
1649
1645
|
declare enum AdditionalFeeSource {
|
|
1650
|
-
UNKNOWN_ADDITIONAL_FEE_SOURCE = "UNKNOWN_ADDITIONAL_FEE_SOURCE",
|
|
1651
1646
|
/** The additional fee was added by an additional fee service plugin. */
|
|
1652
1647
|
SERVICE_PLUGIN = "SERVICE_PLUGIN",
|
|
1653
1648
|
/** The additional fee was added to the item by a catalog or custom line item. */
|
|
@@ -1660,7 +1655,7 @@ declare enum AdditionalFeeSource {
|
|
|
1660
1655
|
PLATFORM = "PLATFORM"
|
|
1661
1656
|
}
|
|
1662
1657
|
/** @enumType */
|
|
1663
|
-
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | '
|
|
1658
|
+
type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM';
|
|
1664
1659
|
interface Location {
|
|
1665
1660
|
/**
|
|
1666
1661
|
* Location ID.
|
|
@@ -2326,10 +2321,7 @@ declare const utils: {
|
|
|
2326
2321
|
query: {
|
|
2327
2322
|
QueryBuilder: () => _wix_sdk_types.QueryBuilder<SubscriptionContract, SubscriptionContractQuerySpec, SubscriptionContractQuery>;
|
|
2328
2323
|
Filter: _wix_sdk_types.FilterFactory<SubscriptionContract, SubscriptionContractQuerySpec>;
|
|
2329
|
-
Sort: _wix_sdk_types.SortFactory<SubscriptionContractQuerySpec>;
|
|
2330
|
-
* The name of the jurisdiction in which this tax detail applies.
|
|
2331
|
-
* @maxLength 200
|
|
2332
|
-
*/
|
|
2324
|
+
Sort: _wix_sdk_types.SortFactory<SubscriptionContractQuerySpec>;
|
|
2333
2325
|
};
|
|
2334
2326
|
};
|
|
2335
2327
|
|
|
@@ -290,13 +290,11 @@ var V2SubscriptionFrequency = /* @__PURE__ */ ((V2SubscriptionFrequency2) => {
|
|
|
290
290
|
return V2SubscriptionFrequency2;
|
|
291
291
|
})(V2SubscriptionFrequency || {});
|
|
292
292
|
var AdjustmentType = /* @__PURE__ */ ((AdjustmentType2) => {
|
|
293
|
-
AdjustmentType2["UNKNOWN_ADJUSTMENT_TYPE"] = "UNKNOWN_ADJUSTMENT_TYPE";
|
|
294
293
|
AdjustmentType2["EXTRA_CHARGE"] = "EXTRA_CHARGE";
|
|
295
294
|
AdjustmentType2["CREDIT"] = "CREDIT";
|
|
296
295
|
return AdjustmentType2;
|
|
297
296
|
})(AdjustmentType || {});
|
|
298
297
|
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
299
|
-
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
300
298
|
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
301
299
|
TaxableAddressType2["BILLING"] = "BILLING";
|
|
302
300
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
@@ -309,7 +307,6 @@ var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
|
|
|
309
307
|
return WeightUnit2;
|
|
310
308
|
})(WeightUnit || {});
|
|
311
309
|
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
312
|
-
ChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
313
310
|
ChargeType2["PASS_ON"] = "PASS_ON";
|
|
314
311
|
ChargeType2["ABSORBED"] = "ABSORBED";
|
|
315
312
|
return ChargeType2;
|
|
@@ -321,7 +318,6 @@ var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
|
321
318
|
return VatType2;
|
|
322
319
|
})(VatType || {});
|
|
323
320
|
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
324
|
-
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
325
321
|
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
326
322
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
327
323
|
return PickupMethod2;
|
|
@@ -360,7 +356,6 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
|
360
356
|
return ChannelType2;
|
|
361
357
|
})(ChannelType || {});
|
|
362
358
|
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
363
|
-
AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
364
359
|
AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
365
360
|
AdditionalFeeSource2["ITEM"] = "ITEM";
|
|
366
361
|
AdditionalFeeSource2["MANUAL"] = "MANUAL";
|