@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
|
|
@@ -144,6 +144,12 @@ function resolveComWixpressBillingSubscriptionsApiV1SubscriptionHistoryServiceUr
|
|
|
144
144
|
srcPath: "/_api/billing-subscriptions",
|
|
145
145
|
destPath: ""
|
|
146
146
|
}
|
|
147
|
+
],
|
|
148
|
+
"payments.base44.com": [
|
|
149
|
+
{
|
|
150
|
+
srcPath: "/_api/billing-subscriptions",
|
|
151
|
+
destPath: ""
|
|
152
|
+
}
|
|
147
153
|
]
|
|
148
154
|
};
|
|
149
155
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
@@ -179,6 +185,12 @@ function resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl(opts
|
|
|
179
185
|
srcPath: "/_api/billing-subscriptions",
|
|
180
186
|
destPath: ""
|
|
181
187
|
}
|
|
188
|
+
],
|
|
189
|
+
"payments.base44.com": [
|
|
190
|
+
{
|
|
191
|
+
srcPath: "/_api/billing-subscriptions",
|
|
192
|
+
destPath: ""
|
|
193
|
+
}
|
|
182
194
|
]
|
|
183
195
|
};
|
|
184
196
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
@@ -214,6 +226,12 @@ function resolveComWixpressBillingSubscriptionsApiV1SubscriptionsBackOfficeServi
|
|
|
214
226
|
srcPath: "/_api/billing-subscriptions",
|
|
215
227
|
destPath: ""
|
|
216
228
|
}
|
|
229
|
+
],
|
|
230
|
+
"payments.base44.com": [
|
|
231
|
+
{
|
|
232
|
+
srcPath: "/_api/billing-subscriptions",
|
|
233
|
+
destPath: ""
|
|
234
|
+
}
|
|
217
235
|
]
|
|
218
236
|
};
|
|
219
237
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
@@ -249,6 +267,12 @@ function resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsService
|
|
|
249
267
|
srcPath: "/_api/billing-subscriptions",
|
|
250
268
|
destPath: ""
|
|
251
269
|
}
|
|
270
|
+
],
|
|
271
|
+
"payments.base44.com": [
|
|
272
|
+
{
|
|
273
|
+
srcPath: "/_api/billing-subscriptions",
|
|
274
|
+
destPath: ""
|
|
275
|
+
}
|
|
252
276
|
]
|
|
253
277
|
};
|
|
254
278
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
@@ -3751,7 +3775,6 @@ var UpdateAction = /* @__PURE__ */ ((UpdateAction2) => {
|
|
|
3751
3775
|
return UpdateAction2;
|
|
3752
3776
|
})(UpdateAction || {});
|
|
3753
3777
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
3754
|
-
RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
3755
3778
|
RequestedFields2["UNSUPPORTED_ACTION"] = "UNSUPPORTED_ACTION";
|
|
3756
3779
|
return RequestedFields2;
|
|
3757
3780
|
})(RequestedFields || {});
|
|
@@ -3802,7 +3825,6 @@ var PriceAdjustmentReason = /* @__PURE__ */ ((PriceAdjustmentReason2) => {
|
|
|
3802
3825
|
return PriceAdjustmentReason2;
|
|
3803
3826
|
})(PriceAdjustmentReason || {});
|
|
3804
3827
|
var RefundReason = /* @__PURE__ */ ((RefundReason2) => {
|
|
3805
|
-
RefundReason2["UNKNOWN_REFUND_REASON"] = "UNKNOWN_REFUND_REASON";
|
|
3806
3828
|
RefundReason2["DUPLICATE_CHARGE"] = "DUPLICATE_CHARGE";
|
|
3807
3829
|
RefundReason2["FRAUDULENT"] = "FRAUDULENT";
|
|
3808
3830
|
RefundReason2["CUSTOMER_REQUEST"] = "CUSTOMER_REQUEST";
|