@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
|
@@ -3193,12 +3193,11 @@ interface AllowedActionsRequest {
|
|
|
3193
3193
|
fields?: RequestedFieldsWithLiterals[];
|
|
3194
3194
|
}
|
|
3195
3195
|
declare enum RequestedFields {
|
|
3196
|
-
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
3197
3196
|
/** Include unsupported action list, including the reasons for the lack of support */
|
|
3198
3197
|
UNSUPPORTED_ACTION = "UNSUPPORTED_ACTION"
|
|
3199
3198
|
}
|
|
3200
3199
|
/** @enumType */
|
|
3201
|
-
type RequestedFieldsWithLiterals = RequestedFields | '
|
|
3200
|
+
type RequestedFieldsWithLiterals = RequestedFields | 'UNSUPPORTED_ACTION';
|
|
3202
3201
|
interface AllowedActionsResponse {
|
|
3203
3202
|
/** List of actions that are allowed. */
|
|
3204
3203
|
actions?: Action[];
|
|
@@ -3746,7 +3745,6 @@ interface Refund {
|
|
|
3746
3745
|
description?: string | null;
|
|
3747
3746
|
}
|
|
3748
3747
|
declare enum RefundReason {
|
|
3749
|
-
UNKNOWN_REFUND_REASON = "UNKNOWN_REFUND_REASON",
|
|
3750
3748
|
DUPLICATE_CHARGE = "DUPLICATE_CHARGE",
|
|
3751
3749
|
FRAUDULENT = "FRAUDULENT",
|
|
3752
3750
|
CUSTOMER_REQUEST = "CUSTOMER_REQUEST",
|
|
@@ -3754,7 +3752,7 @@ declare enum RefundReason {
|
|
|
3754
3752
|
OTHER = "OTHER"
|
|
3755
3753
|
}
|
|
3756
3754
|
/** @enumType */
|
|
3757
|
-
type RefundReasonWithLiterals = RefundReason | '
|
|
3755
|
+
type RefundReasonWithLiterals = RefundReason | 'DUPLICATE_CHARGE' | 'FRAUDULENT' | 'CUSTOMER_REQUEST' | 'PROVISION_FAILED' | 'OTHER';
|
|
3758
3756
|
interface ChangeSubscriptionRequest {
|
|
3759
3757
|
/**
|
|
3760
3758
|
* ID of the subscription to change
|
|
@@ -35,6 +35,12 @@ function resolveComWixpressBillingSubscriptionsApiV1SubscriptionHistoryServiceUr
|
|
|
35
35
|
srcPath: "/_api/billing-subscriptions",
|
|
36
36
|
destPath: ""
|
|
37
37
|
}
|
|
38
|
+
],
|
|
39
|
+
"payments.base44.com": [
|
|
40
|
+
{
|
|
41
|
+
srcPath: "/_api/billing-subscriptions",
|
|
42
|
+
destPath: ""
|
|
43
|
+
}
|
|
38
44
|
]
|
|
39
45
|
};
|
|
40
46
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
@@ -70,6 +76,12 @@ function resolveComWixpressBillingSubscriptionsApiV1SubscriptionsServiceUrl(opts
|
|
|
70
76
|
srcPath: "/_api/billing-subscriptions",
|
|
71
77
|
destPath: ""
|
|
72
78
|
}
|
|
79
|
+
],
|
|
80
|
+
"payments.base44.com": [
|
|
81
|
+
{
|
|
82
|
+
srcPath: "/_api/billing-subscriptions",
|
|
83
|
+
destPath: ""
|
|
84
|
+
}
|
|
73
85
|
]
|
|
74
86
|
};
|
|
75
87
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
@@ -105,6 +117,12 @@ function resolveComWixpressBillingSubscriptionsApiV1SubscriptionsBackOfficeServi
|
|
|
105
117
|
srcPath: "/_api/billing-subscriptions",
|
|
106
118
|
destPath: ""
|
|
107
119
|
}
|
|
120
|
+
],
|
|
121
|
+
"payments.base44.com": [
|
|
122
|
+
{
|
|
123
|
+
srcPath: "/_api/billing-subscriptions",
|
|
124
|
+
destPath: ""
|
|
125
|
+
}
|
|
108
126
|
]
|
|
109
127
|
};
|
|
110
128
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
@@ -140,6 +158,12 @@ function resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsService
|
|
|
140
158
|
srcPath: "/_api/billing-subscriptions",
|
|
141
159
|
destPath: ""
|
|
142
160
|
}
|
|
161
|
+
],
|
|
162
|
+
"payments.base44.com": [
|
|
163
|
+
{
|
|
164
|
+
srcPath: "/_api/billing-subscriptions",
|
|
165
|
+
destPath: ""
|
|
166
|
+
}
|
|
143
167
|
]
|
|
144
168
|
};
|
|
145
169
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
@@ -3639,7 +3663,6 @@ var UpdateAction = /* @__PURE__ */ ((UpdateAction2) => {
|
|
|
3639
3663
|
return UpdateAction2;
|
|
3640
3664
|
})(UpdateAction || {});
|
|
3641
3665
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
3642
|
-
RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
3643
3666
|
RequestedFields2["UNSUPPORTED_ACTION"] = "UNSUPPORTED_ACTION";
|
|
3644
3667
|
return RequestedFields2;
|
|
3645
3668
|
})(RequestedFields || {});
|
|
@@ -3690,7 +3713,6 @@ var PriceAdjustmentReason = /* @__PURE__ */ ((PriceAdjustmentReason2) => {
|
|
|
3690
3713
|
return PriceAdjustmentReason2;
|
|
3691
3714
|
})(PriceAdjustmentReason || {});
|
|
3692
3715
|
var RefundReason = /* @__PURE__ */ ((RefundReason2) => {
|
|
3693
|
-
RefundReason2["UNKNOWN_REFUND_REASON"] = "UNKNOWN_REFUND_REASON";
|
|
3694
3716
|
RefundReason2["DUPLICATE_CHARGE"] = "DUPLICATE_CHARGE";
|
|
3695
3717
|
RefundReason2["FRAUDULENT"] = "FRAUDULENT";
|
|
3696
3718
|
RefundReason2["CUSTOMER_REQUEST"] = "CUSTOMER_REQUEST";
|