@wix/auto_sdk_subscription_subscriptions 1.0.43 → 1.0.44

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.
@@ -246,6 +246,15 @@ interface BillingSettings {
246
246
  * Only set when the collection_method is EXTERNAL.
247
247
  */
248
248
  externalCollectionDetails?: ExternalCollectionDetails;
249
+ /**
250
+ * Day of month (1-28) on which the first recurring billing date is anchored.
251
+ * Applies to monthly subscriptions only. Subsequent billing dates may shift
252
+ * if the subscription is modified (e.g. payment date update, pause/resume).
253
+ * @internal
254
+ * @min 1
255
+ * @max 28
256
+ */
257
+ billingAnchorDay?: number | null;
249
258
  }
250
259
  interface PaymentMethod {
251
260
  /**
@@ -3190,12 +3199,11 @@ interface AllowedActionsRequest {
3190
3199
  fields?: RequestedFieldsWithLiterals[];
3191
3200
  }
3192
3201
  declare enum RequestedFields {
3193
- UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
3194
3202
  /** Include unsupported action list, including the reasons for the lack of support */
3195
3203
  UNSUPPORTED_ACTION = "UNSUPPORTED_ACTION"
3196
3204
  }
3197
3205
  /** @enumType */
3198
- type RequestedFieldsWithLiterals = RequestedFields | 'UNKNOWN_REQUESTED_FIELD' | 'UNSUPPORTED_ACTION';
3206
+ type RequestedFieldsWithLiterals = RequestedFields | 'UNSUPPORTED_ACTION';
3199
3207
  interface AllowedActionsResponse {
3200
3208
  /** List of actions that are allowed. */
3201
3209
  actions?: Action[];
@@ -3743,7 +3751,6 @@ interface Refund {
3743
3751
  description?: string | null;
3744
3752
  }
3745
3753
  declare enum RefundReason {
3746
- UNKNOWN_REFUND_REASON = "UNKNOWN_REFUND_REASON",
3747
3754
  DUPLICATE_CHARGE = "DUPLICATE_CHARGE",
3748
3755
  FRAUDULENT = "FRAUDULENT",
3749
3756
  CUSTOMER_REQUEST = "CUSTOMER_REQUEST",
@@ -3751,7 +3758,7 @@ declare enum RefundReason {
3751
3758
  OTHER = "OTHER"
3752
3759
  }
3753
3760
  /** @enumType */
3754
- type RefundReasonWithLiterals = RefundReason | 'UNKNOWN_REFUND_REASON' | 'DUPLICATE_CHARGE' | 'FRAUDULENT' | 'CUSTOMER_REQUEST' | 'PROVISION_FAILED' | 'OTHER';
3761
+ type RefundReasonWithLiterals = RefundReason | 'DUPLICATE_CHARGE' | 'FRAUDULENT' | 'CUSTOMER_REQUEST' | 'PROVISION_FAILED' | 'OTHER';
3755
3762
  interface ChangeSubscriptionRequest {
3756
3763
  /**
3757
3764
  * ID of the subscription to change
@@ -3751,7 +3751,6 @@ var UpdateAction = /* @__PURE__ */ ((UpdateAction2) => {
3751
3751
  return UpdateAction2;
3752
3752
  })(UpdateAction || {});
3753
3753
  var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
3754
- RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
3755
3754
  RequestedFields2["UNSUPPORTED_ACTION"] = "UNSUPPORTED_ACTION";
3756
3755
  return RequestedFields2;
3757
3756
  })(RequestedFields || {});
@@ -3802,7 +3801,6 @@ var PriceAdjustmentReason = /* @__PURE__ */ ((PriceAdjustmentReason2) => {
3802
3801
  return PriceAdjustmentReason2;
3803
3802
  })(PriceAdjustmentReason || {});
3804
3803
  var RefundReason = /* @__PURE__ */ ((RefundReason2) => {
3805
- RefundReason2["UNKNOWN_REFUND_REASON"] = "UNKNOWN_REFUND_REASON";
3806
3804
  RefundReason2["DUPLICATE_CHARGE"] = "DUPLICATE_CHARGE";
3807
3805
  RefundReason2["FRAUDULENT"] = "FRAUDULENT";
3808
3806
  RefundReason2["CUSTOMER_REQUEST"] = "CUSTOMER_REQUEST";