@wix/auto_sdk_ecom_subscription-contracts 1.0.128 → 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.
@@ -2136,6 +2136,13 @@ interface SubscriptionContractChangesCommitted {
2136
2136
  * @readonly
2137
2137
  */
2138
2138
  commitDate?: Date | null;
2139
+ /** Side-effects requested by the caller when the changes were committed. */
2140
+ commitSettings?: SubscriptionCommitSettings;
2141
+ /**
2142
+ * Reason for the edit, provided by the merchant.
2143
+ * @maxLength 200
2144
+ */
2145
+ reason?: string | null;
2139
2146
  }
2140
2147
  interface SubscriptionContractDiffs {
2141
2148
  /**
@@ -2232,6 +2239,12 @@ interface AdditionalFeeDeltaDeltaDetailsOneOf {
2232
2239
  /** Additional fee content after the change. */
2233
2240
  changed?: AdditionalFee;
2234
2241
  }
2242
+ interface SubscriptionCommitSettings {
2243
+ /** If false, do not send notifications to buyer. Default is true. */
2244
+ sendNotificationsToBuyer?: boolean | null;
2245
+ /** If false, do not send notifications to business. Default is true. */
2246
+ sendNotificationsToBusiness?: boolean | null;
2247
+ }
2235
2248
  interface CreateSubscriptionContractRequest {
2236
2249
  /** SubscriptionContract to be created. */
2237
2250
  subscriptionContract?: SubscriptionContract;
@@ -2528,12 +2541,6 @@ interface CommitSubscriptionContractChangesRequest {
2528
2541
  /** Side-effects to happen after contract is updated */
2529
2542
  settings?: SubscriptionCommitSettings;
2530
2543
  }
2531
- interface SubscriptionCommitSettings {
2532
- /** If false, do not send notifications to buyer. Default is true. */
2533
- sendNotificationsToBuyer?: boolean | null;
2534
- /** If false, do not send notifications to business. Default is true. */
2535
- sendNotificationsToBusiness?: boolean | null;
2536
- }
2537
2544
  interface CommitSubscriptionContractChangesResponse {
2538
2545
  /** Updated SubscriptionContract. */
2539
2546
  subscriptionContract?: SubscriptionContract;