@wix/auto_sdk_ecom_subscription-contracts 1.0.127 → 1.0.129

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.
@@ -2113,6 +2113,13 @@ interface SubscriptionContractChangesCommitted {
2113
2113
  * @readonly
2114
2114
  */
2115
2115
  commitDate?: Date | null;
2116
+ /** Side-effects requested by the caller when the changes were committed. */
2117
+ commitSettings?: SubscriptionCommitSettings;
2118
+ /**
2119
+ * Reason for the edit, provided by the merchant.
2120
+ * @maxLength 200
2121
+ */
2122
+ reason?: string | null;
2116
2123
  }
2117
2124
  interface SubscriptionContractDiffs {
2118
2125
  /**
@@ -2209,6 +2216,12 @@ interface AdditionalFeeDeltaDeltaDetailsOneOf {
2209
2216
  /** Additional fee content after the change. */
2210
2217
  changed?: AdditionalFee;
2211
2218
  }
2219
+ interface SubscriptionCommitSettings {
2220
+ /** If false, do not send notifications to buyer. Default is true. */
2221
+ sendNotificationsToBuyer?: boolean | null;
2222
+ /** If false, do not send notifications to business. Default is true. */
2223
+ sendNotificationsToBusiness?: boolean | null;
2224
+ }
2212
2225
  interface CreateSubscriptionContractRequest {
2213
2226
  /** SubscriptionContract to be created. */
2214
2227
  subscriptionContract?: SubscriptionContract;
@@ -2503,12 +2516,6 @@ interface CommitSubscriptionContractChangesRequest {
2503
2516
  /** Side-effects to happen after contract is updated */
2504
2517
  settings?: SubscriptionCommitSettings;
2505
2518
  }
2506
- interface SubscriptionCommitSettings {
2507
- /** If false, do not send notifications to buyer. Default is true. */
2508
- sendNotificationsToBuyer?: boolean | null;
2509
- /** If false, do not send notifications to business. Default is true. */
2510
- sendNotificationsToBusiness?: boolean | null;
2511
- }
2512
2519
  interface CommitSubscriptionContractChangesResponse {
2513
2520
  /** Updated SubscriptionContract. */
2514
2521
  subscriptionContract?: SubscriptionContract;