@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.
@@ -2309,6 +2309,7 @@ interface PriceUndeterminedBeforeChange {
2309
2309
  }
2310
2310
  /** Describes the type of change applied to an element. */
2311
2311
  declare enum ChangeType {
2312
+ UNKNOWN_CHANGE_TYPE = "UNKNOWN_CHANGE_TYPE",
2312
2313
  /** Element was added (absent in the original contract). */
2313
2314
  ADDED = "ADDED",
2314
2315
  /** Element was modified from the original contract. */
@@ -2317,7 +2318,7 @@ declare enum ChangeType {
2317
2318
  REMOVED = "REMOVED"
2318
2319
  }
2319
2320
  /** @enumType */
2320
- type ChangeTypeWithLiterals = ChangeType | 'ADDED' | 'CHANGED' | 'REMOVED';
2321
+ type ChangeTypeWithLiterals = ChangeType | 'UNKNOWN_CHANGE_TYPE' | 'ADDED' | 'CHANGED' | 'REMOVED';
2321
2322
  interface ItemChangedDetails {
2322
2323
  /**
2323
2324
  * The quantity before the change.
@@ -2357,6 +2358,7 @@ interface ItemChangedDetails {
2357
2358
  interface AppliedDiscountDelta extends AppliedDiscountDeltaDeltaDetailsOneOf {
2358
2359
  /** Discount content after the change. */
2359
2360
  changed?: AppliedDiscount;
2361
+ added?: AppliedDiscount;
2360
2362
  /**
2361
2363
  * Discount ID.
2362
2364
  * @format GUID
@@ -2369,10 +2371,12 @@ interface AppliedDiscountDelta extends AppliedDiscountDeltaDeltaDetailsOneOf {
2369
2371
  interface AppliedDiscountDeltaDeltaDetailsOneOf {
2370
2372
  /** Discount content after the change. */
2371
2373
  changed?: AppliedDiscount;
2374
+ added?: AppliedDiscount;
2372
2375
  }
2373
2376
  interface AdditionalFeeDelta extends AdditionalFeeDeltaDeltaDetailsOneOf {
2374
2377
  /** Additional fee content after the change. */
2375
2378
  changed?: AdditionalFee;
2379
+ added?: AdditionalFee;
2376
2380
  /**
2377
2381
  * Additional fee ID.
2378
2382
  * @format GUID
@@ -2385,6 +2389,7 @@ interface AdditionalFeeDelta extends AdditionalFeeDeltaDeltaDetailsOneOf {
2385
2389
  interface AdditionalFeeDeltaDeltaDetailsOneOf {
2386
2390
  /** Additional fee content after the change. */
2387
2391
  changed?: AdditionalFee;
2392
+ added?: AdditionalFee;
2388
2393
  }
2389
2394
  interface SubscriptionCommitSettings {
2390
2395
  /** If false, do not send notifications to buyer. Default is true. */
@@ -483,6 +483,7 @@ var ActionInitiator = /* @__PURE__ */ ((ActionInitiator2) => {
483
483
  return ActionInitiator2;
484
484
  })(ActionInitiator || {});
485
485
  var ChangeType = /* @__PURE__ */ ((ChangeType2) => {
486
+ ChangeType2["UNKNOWN_CHANGE_TYPE"] = "UNKNOWN_CHANGE_TYPE";
486
487
  ChangeType2["ADDED"] = "ADDED";
487
488
  ChangeType2["CHANGED"] = "CHANGED";
488
489
  ChangeType2["REMOVED"] = "REMOVED";