@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
@@ -3649,7 +3649,6 @@ var UpdateAction = /* @__PURE__ */ ((UpdateAction2) => {
3649
3649
  return UpdateAction2;
3650
3650
  })(UpdateAction || {});
3651
3651
  var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
3652
- RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
3653
3652
  RequestedFields2["UNSUPPORTED_ACTION"] = "UNSUPPORTED_ACTION";
3654
3653
  return RequestedFields2;
3655
3654
  })(RequestedFields || {});
@@ -3700,7 +3699,6 @@ var PriceAdjustmentReason = /* @__PURE__ */ ((PriceAdjustmentReason2) => {
3700
3699
  return PriceAdjustmentReason2;
3701
3700
  })(PriceAdjustmentReason || {});
3702
3701
  var RefundReason = /* @__PURE__ */ ((RefundReason2) => {
3703
- RefundReason2["UNKNOWN_REFUND_REASON"] = "UNKNOWN_REFUND_REASON";
3704
3702
  RefundReason2["DUPLICATE_CHARGE"] = "DUPLICATE_CHARGE";
3705
3703
  RefundReason2["FRAUDULENT"] = "FRAUDULENT";
3706
3704
  RefundReason2["CUSTOMER_REQUEST"] = "CUSTOMER_REQUEST";