@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
|
|
|
@@ -335,13 +335,11 @@ var V2SubscriptionFrequency = /* @__PURE__ */ ((V2SubscriptionFrequency2) => {
|
|
|
335
335
|
return V2SubscriptionFrequency2;
|
|
336
336
|
})(V2SubscriptionFrequency || {});
|
|
337
337
|
var AdjustmentType = /* @__PURE__ */ ((AdjustmentType2) => {
|
|
338
|
-
AdjustmentType2["UNKNOWN_ADJUSTMENT_TYPE"] = "UNKNOWN_ADJUSTMENT_TYPE";
|
|
339
338
|
AdjustmentType2["EXTRA_CHARGE"] = "EXTRA_CHARGE";
|
|
340
339
|
AdjustmentType2["CREDIT"] = "CREDIT";
|
|
341
340
|
return AdjustmentType2;
|
|
342
341
|
})(AdjustmentType || {});
|
|
343
342
|
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
344
|
-
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
345
343
|
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
346
344
|
TaxableAddressType2["BILLING"] = "BILLING";
|
|
347
345
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
@@ -354,7 +352,6 @@ var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
|
|
|
354
352
|
return WeightUnit2;
|
|
355
353
|
})(WeightUnit || {});
|
|
356
354
|
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
357
|
-
ChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
358
355
|
ChargeType2["PASS_ON"] = "PASS_ON";
|
|
359
356
|
ChargeType2["ABSORBED"] = "ABSORBED";
|
|
360
357
|
return ChargeType2;
|
|
@@ -366,7 +363,6 @@ var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
|
366
363
|
return VatType2;
|
|
367
364
|
})(VatType || {});
|
|
368
365
|
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
369
|
-
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
370
366
|
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
371
367
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
372
368
|
return PickupMethod2;
|
|
@@ -405,7 +401,6 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
|
405
401
|
return ChannelType2;
|
|
406
402
|
})(ChannelType || {});
|
|
407
403
|
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
408
|
-
AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
409
404
|
AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
410
405
|
AdditionalFeeSource2["ITEM"] = "ITEM";
|
|
411
406
|
AdditionalFeeSource2["MANUAL"] = "MANUAL";
|