@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/cjs/meta.js CHANGED
@@ -324,13 +324,11 @@ var V2SubscriptionFrequency = /* @__PURE__ */ ((V2SubscriptionFrequency2) => {
324
324
  return V2SubscriptionFrequency2;
325
325
  })(V2SubscriptionFrequency || {});
326
326
  var AdjustmentType = /* @__PURE__ */ ((AdjustmentType2) => {
327
- AdjustmentType2["UNKNOWN_ADJUSTMENT_TYPE"] = "UNKNOWN_ADJUSTMENT_TYPE";
328
327
  AdjustmentType2["EXTRA_CHARGE"] = "EXTRA_CHARGE";
329
328
  AdjustmentType2["CREDIT"] = "CREDIT";
330
329
  return AdjustmentType2;
331
330
  })(AdjustmentType || {});
332
331
  var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
333
- TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
334
332
  TaxableAddressType2["BUSINESS"] = "BUSINESS";
335
333
  TaxableAddressType2["BILLING"] = "BILLING";
336
334
  TaxableAddressType2["SHIPPING"] = "SHIPPING";
@@ -343,7 +341,6 @@ var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
343
341
  return WeightUnit2;
344
342
  })(WeightUnit || {});
345
343
  var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
346
- ChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
347
344
  ChargeType2["PASS_ON"] = "PASS_ON";
348
345
  ChargeType2["ABSORBED"] = "ABSORBED";
349
346
  return ChargeType2;
@@ -355,7 +352,6 @@ var VatType = /* @__PURE__ */ ((VatType2) => {
355
352
  return VatType2;
356
353
  })(VatType || {});
357
354
  var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
358
- PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
359
355
  PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
360
356
  PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
361
357
  return PickupMethod2;
@@ -394,7 +390,6 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
394
390
  return ChannelType2;
395
391
  })(ChannelType || {});
396
392
  var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
397
- AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
398
393
  AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
399
394
  AdditionalFeeSource2["ITEM"] = "ITEM";
400
395
  AdditionalFeeSource2["MANUAL"] = "MANUAL";