@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.
@@ -787,14 +787,13 @@ interface BillingAdjustment {
787
787
  priceSummary?: BillingAdjustmentPriceSummary;
788
788
  }
789
789
  declare enum AdjustmentType {
790
- UNKNOWN_ADJUSTMENT_TYPE = "UNKNOWN_ADJUSTMENT_TYPE",
791
790
  /** Adjustment increases the total amount due to changes like covering extra billing days. Typically results in an additional fee. */
792
791
  EXTRA_CHARGE = "EXTRA_CHARGE",
793
792
  /** Adjustment reduces the total amount due to changes like covering fewer billing days. Typically results in a credit or discount. */
794
793
  CREDIT = "CREDIT"
795
794
  }
796
795
  /** @enumType */
797
- type AdjustmentTypeWithLiterals = AdjustmentType | 'UNKNOWN_ADJUSTMENT_TYPE' | 'EXTRA_CHARGE' | 'CREDIT';
796
+ type AdjustmentTypeWithLiterals = AdjustmentType | 'EXTRA_CHARGE' | 'CREDIT';
798
797
  interface BillingAdjustmentPriceSummary {
799
798
  /** Subtotal of adjustment, before tax. */
800
799
  subtotal?: Price;
@@ -855,13 +854,12 @@ interface TaxableAddressTaxableAddressDataOneOf {
855
854
  addressType?: TaxableAddressTypeWithLiterals;
856
855
  }
857
856
  declare enum TaxableAddressType {
858
- UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
859
857
  BUSINESS = "BUSINESS",
860
858
  BILLING = "BILLING",
861
859
  SHIPPING = "SHIPPING"
862
860
  }
863
861
  /** @enumType */
864
- type TaxableAddressTypeWithLiterals = TaxableAddressType | 'UNKNOWN_TAXABLE_ADDRESS' | 'BUSINESS' | 'BILLING' | 'SHIPPING';
862
+ type TaxableAddressTypeWithLiterals = TaxableAddressType | 'BUSINESS' | 'BILLING' | 'SHIPPING';
865
863
  interface ExtendedFields {
866
864
  /**
867
865
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
@@ -1042,7 +1040,6 @@ interface PlatformFee {
1042
1040
  percentageRate?: string;
1043
1041
  }
1044
1042
  declare enum ChargeType {
1045
- UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
1046
1043
  /**
1047
1044
  * Platform fee passed on to buyer.
1048
1045
  *
@@ -1057,7 +1054,7 @@ declare enum ChargeType {
1057
1054
  ABSORBED = "ABSORBED"
1058
1055
  }
1059
1056
  /** @enumType */
1060
- type ChargeTypeWithLiterals = ChargeType | 'UNKNOWN_CHARGE_TYPE' | 'PASS_ON' | 'ABSORBED';
1057
+ type ChargeTypeWithLiterals = ChargeType | 'PASS_ON' | 'ABSORBED';
1061
1058
  /** Billing Info and shipping details */
1062
1059
  interface AddressWithContact {
1063
1060
  /** Address. */
@@ -1279,12 +1276,11 @@ interface PickupAddress {
1279
1276
  subdivisionFullname?: string | null;
1280
1277
  }
1281
1278
  declare enum PickupMethod {
1282
- UNKNOWN_METHOD = "UNKNOWN_METHOD",
1283
1279
  STORE_PICKUP = "STORE_PICKUP",
1284
1280
  PICKUP_POINT = "PICKUP_POINT"
1285
1281
  }
1286
1282
  /** @enumType */
1287
- type PickupMethodWithLiterals = PickupMethod | 'UNKNOWN_METHOD' | 'STORE_PICKUP' | 'PICKUP_POINT';
1283
+ type PickupMethodWithLiterals = PickupMethod | 'STORE_PICKUP' | 'PICKUP_POINT';
1288
1284
  interface DeliveryTimeSlot {
1289
1285
  /** Delivery slot starting time. */
1290
1286
  from?: Date | null;
@@ -1670,7 +1666,6 @@ interface AdditionalFee {
1670
1666
  lineItemIds?: string[];
1671
1667
  }
1672
1668
  declare enum AdditionalFeeSource {
1673
- UNKNOWN_ADDITIONAL_FEE_SOURCE = "UNKNOWN_ADDITIONAL_FEE_SOURCE",
1674
1669
  /** The additional fee was added by an additional fee service plugin. */
1675
1670
  SERVICE_PLUGIN = "SERVICE_PLUGIN",
1676
1671
  /** The additional fee was added to the item by a catalog or custom line item. */
@@ -1683,7 +1678,7 @@ declare enum AdditionalFeeSource {
1683
1678
  PLATFORM = "PLATFORM"
1684
1679
  }
1685
1680
  /** @enumType */
1686
- type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM';
1681
+ type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM';
1687
1682
  interface Location {
1688
1683
  /**
1689
1684
  * Location ID.
package/build/es/meta.mjs CHANGED
@@ -278,13 +278,11 @@ var V2SubscriptionFrequency = /* @__PURE__ */ ((V2SubscriptionFrequency2) => {
278
278
  return V2SubscriptionFrequency2;
279
279
  })(V2SubscriptionFrequency || {});
280
280
  var AdjustmentType = /* @__PURE__ */ ((AdjustmentType2) => {
281
- AdjustmentType2["UNKNOWN_ADJUSTMENT_TYPE"] = "UNKNOWN_ADJUSTMENT_TYPE";
282
281
  AdjustmentType2["EXTRA_CHARGE"] = "EXTRA_CHARGE";
283
282
  AdjustmentType2["CREDIT"] = "CREDIT";
284
283
  return AdjustmentType2;
285
284
  })(AdjustmentType || {});
286
285
  var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
287
- TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
288
286
  TaxableAddressType2["BUSINESS"] = "BUSINESS";
289
287
  TaxableAddressType2["BILLING"] = "BILLING";
290
288
  TaxableAddressType2["SHIPPING"] = "SHIPPING";
@@ -297,7 +295,6 @@ var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
297
295
  return WeightUnit2;
298
296
  })(WeightUnit || {});
299
297
  var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
300
- ChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
301
298
  ChargeType2["PASS_ON"] = "PASS_ON";
302
299
  ChargeType2["ABSORBED"] = "ABSORBED";
303
300
  return ChargeType2;
@@ -309,7 +306,6 @@ var VatType = /* @__PURE__ */ ((VatType2) => {
309
306
  return VatType2;
310
307
  })(VatType || {});
311
308
  var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
312
- PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
313
309
  PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
314
310
  PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
315
311
  return PickupMethod2;
@@ -348,7 +344,6 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
348
344
  return ChannelType2;
349
345
  })(ChannelType || {});
350
346
  var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
351
- AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
352
347
  AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
353
348
  AdditionalFeeSource2["ITEM"] = "ITEM";
354
349
  AdditionalFeeSource2["MANUAL"] = "MANUAL";