@wix/auto_sdk_ecom_subscription-contracts 1.0.143 → 1.0.144

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.
@@ -2365,6 +2365,7 @@ interface PriceUndeterminedBeforeChange {
2365
2365
  }
2366
2366
  /** Describes the type of change applied to an element. */
2367
2367
  declare enum ChangeType {
2368
+ UNKNOWN_CHANGE_TYPE = "UNKNOWN_CHANGE_TYPE",
2368
2369
  /** Element was added (absent in the original contract). */
2369
2370
  ADDED = "ADDED",
2370
2371
  /** Element was modified from the original contract. */
@@ -2373,7 +2374,7 @@ declare enum ChangeType {
2373
2374
  REMOVED = "REMOVED"
2374
2375
  }
2375
2376
  /** @enumType */
2376
- type ChangeTypeWithLiterals = ChangeType | 'ADDED' | 'CHANGED' | 'REMOVED';
2377
+ type ChangeTypeWithLiterals = ChangeType | 'UNKNOWN_CHANGE_TYPE' | 'ADDED' | 'CHANGED' | 'REMOVED';
2377
2378
  interface ItemChangedDetails {
2378
2379
  /**
2379
2380
  * The quantity before the change.
@@ -2413,6 +2414,7 @@ interface ItemChangedDetails {
2413
2414
  interface AppliedDiscountDelta extends AppliedDiscountDeltaDeltaDetailsOneOf {
2414
2415
  /** Discount content after the change. */
2415
2416
  changed?: AppliedDiscount;
2417
+ added?: AppliedDiscount;
2416
2418
  /**
2417
2419
  * Discount ID.
2418
2420
  * @format GUID
@@ -2425,10 +2427,12 @@ interface AppliedDiscountDelta extends AppliedDiscountDeltaDeltaDetailsOneOf {
2425
2427
  interface AppliedDiscountDeltaDeltaDetailsOneOf {
2426
2428
  /** Discount content after the change. */
2427
2429
  changed?: AppliedDiscount;
2430
+ added?: AppliedDiscount;
2428
2431
  }
2429
2432
  interface AdditionalFeeDelta extends AdditionalFeeDeltaDeltaDetailsOneOf {
2430
2433
  /** Additional fee content after the change. */
2431
2434
  changed?: AdditionalFee;
2435
+ added?: AdditionalFee;
2432
2436
  /**
2433
2437
  * Additional fee ID.
2434
2438
  * @format GUID
@@ -2441,6 +2445,7 @@ interface AdditionalFeeDelta extends AdditionalFeeDeltaDeltaDetailsOneOf {
2441
2445
  interface AdditionalFeeDeltaDeltaDetailsOneOf {
2442
2446
  /** Additional fee content after the change. */
2443
2447
  changed?: AdditionalFee;
2448
+ added?: AdditionalFee;
2444
2449
  }
2445
2450
  interface SubscriptionCommitSettings {
2446
2451
  /** If false, do not send notifications to buyer. Default is true. */
package/build/es/meta.mjs CHANGED
@@ -398,6 +398,7 @@ var ActionInitiator = /* @__PURE__ */ ((ActionInitiator2) => {
398
398
  return ActionInitiator2;
399
399
  })(ActionInitiator || {});
400
400
  var ChangeType = /* @__PURE__ */ ((ChangeType2) => {
401
+ ChangeType2["UNKNOWN_CHANGE_TYPE"] = "UNKNOWN_CHANGE_TYPE";
401
402
  ChangeType2["ADDED"] = "ADDED";
402
403
  ChangeType2["CHANGED"] = "CHANGED";
403
404
  ChangeType2["REMOVED"] = "REMOVED";