@wix/auto_sdk_subscription_subscriptions 1.0.43 → 1.0.45
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.
- package/build/cjs/index.js +24 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -4
- package/build/cjs/index.typings.js +24 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -4
- package/build/cjs/meta.js +24 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +24 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -4
- package/build/es/index.typings.mjs +24 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -4
- package/build/es/meta.mjs +24 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +24 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +11 -4
- package/build/internal/cjs/index.typings.js +24 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2 -4
- package/build/internal/cjs/meta.js +24 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +24 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +11 -4
- package/build/internal/es/index.typings.mjs +24 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2 -4
- package/build/internal/es/meta.mjs +24 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -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 | '
|
|
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 | '
|
|
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
|
|
@@ -42,6 +42,12 @@ function resolveComWixpressBillingSubscriptionsApiV1SubscriptionHistoryServiceUr
|
|
|
42
42
|
srcPath: "/_api/billing-subscriptions",
|
|
43
43
|
destPath: ""
|
|
44
44
|
}
|
|
45
|
+
],
|
|
46
|
+
"payments.base44.com": [
|
|
47
|
+
{
|
|
48
|
+
srcPath: "/_api/billing-subscriptions",
|
|
49
|
+
destPath: ""
|
|
50
|
+
}
|
|
45
51
|
]
|
|
46
52
|
};
|
|
47
53
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
@@ -77,6 +83,12 @@ function resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl(opts
|
|
|
77
83
|
srcPath: "/_api/billing-subscriptions",
|
|
78
84
|
destPath: ""
|
|
79
85
|
}
|
|
86
|
+
],
|
|
87
|
+
"payments.base44.com": [
|
|
88
|
+
{
|
|
89
|
+
srcPath: "/_api/billing-subscriptions",
|
|
90
|
+
destPath: ""
|
|
91
|
+
}
|
|
80
92
|
]
|
|
81
93
|
};
|
|
82
94
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
@@ -112,6 +124,12 @@ function resolveComWixpressBillingSubscriptionsApiV1SubscriptionsBackOfficeServi
|
|
|
112
124
|
srcPath: "/_api/billing-subscriptions",
|
|
113
125
|
destPath: ""
|
|
114
126
|
}
|
|
127
|
+
],
|
|
128
|
+
"payments.base44.com": [
|
|
129
|
+
{
|
|
130
|
+
srcPath: "/_api/billing-subscriptions",
|
|
131
|
+
destPath: ""
|
|
132
|
+
}
|
|
115
133
|
]
|
|
116
134
|
};
|
|
117
135
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
@@ -147,6 +165,12 @@ function resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsService
|
|
|
147
165
|
srcPath: "/_api/billing-subscriptions",
|
|
148
166
|
destPath: ""
|
|
149
167
|
}
|
|
168
|
+
],
|
|
169
|
+
"payments.base44.com": [
|
|
170
|
+
{
|
|
171
|
+
srcPath: "/_api/billing-subscriptions",
|
|
172
|
+
destPath: ""
|
|
173
|
+
}
|
|
150
174
|
]
|
|
151
175
|
};
|
|
152
176
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
@@ -3649,7 +3673,6 @@ var UpdateAction = /* @__PURE__ */ ((UpdateAction2) => {
|
|
|
3649
3673
|
return UpdateAction2;
|
|
3650
3674
|
})(UpdateAction || {});
|
|
3651
3675
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
3652
|
-
RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
3653
3676
|
RequestedFields2["UNSUPPORTED_ACTION"] = "UNSUPPORTED_ACTION";
|
|
3654
3677
|
return RequestedFields2;
|
|
3655
3678
|
})(RequestedFields || {});
|
|
@@ -3700,7 +3723,6 @@ var PriceAdjustmentReason = /* @__PURE__ */ ((PriceAdjustmentReason2) => {
|
|
|
3700
3723
|
return PriceAdjustmentReason2;
|
|
3701
3724
|
})(PriceAdjustmentReason || {});
|
|
3702
3725
|
var RefundReason = /* @__PURE__ */ ((RefundReason2) => {
|
|
3703
|
-
RefundReason2["UNKNOWN_REFUND_REASON"] = "UNKNOWN_REFUND_REASON";
|
|
3704
3726
|
RefundReason2["DUPLICATE_CHARGE"] = "DUPLICATE_CHARGE";
|
|
3705
3727
|
RefundReason2["FRAUDULENT"] = "FRAUDULENT";
|
|
3706
3728
|
RefundReason2["CUSTOMER_REQUEST"] = "CUSTOMER_REQUEST";
|