@wix/auto_sdk_app-management_billing 1.0.0
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.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.context.d.ts +6 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.context.js +14 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.context.js.map +1 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.http.d.ts +35 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.http.js +184 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.http.js.map +1 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.meta.d.ts +15 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.meta.js +85 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.meta.js.map +1 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.public.d.ts +37 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.public.js +29 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.public.js.map +1 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.types.d.ts +227 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.types.js +32 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.types.js.map +1 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.d.ts +314 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.js +201 -0
- package/build/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.context.d.ts +6 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.context.js +8 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.context.js.map +1 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.http.d.ts +35 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.http.js +178 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.http.js.map +1 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.meta.d.ts +15 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.meta.js +56 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.meta.js.map +1 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.public.d.ts +37 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.public.js +20 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.public.js.map +1 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.types.d.ts +227 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.types.js +29 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.types.js.map +1 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.universal.d.ts +314 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.universal.js +172 -0
- package/build/es/src/devcenter-checkout-v1-purchased-item-billing.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.context.d.ts +8 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.context.js +14 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.context.js.map +1 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.http.d.ts +35 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.http.js +184 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.http.js.map +1 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.meta.d.ts +15 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.meta.js +85 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.meta.js.map +1 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.public.d.ts +52 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.public.js +29 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.public.js.map +1 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.types.d.ts +227 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.types.js +32 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.types.js.map +1 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.d.ts +332 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.js +201 -0
- package/build/internal/cjs/src/devcenter-checkout-v1-purchased-item-billing.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.context.d.ts +8 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.context.js +8 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.context.js.map +1 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.http.d.ts +35 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.http.js +178 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.http.js.map +1 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.meta.d.ts +15 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.meta.js +56 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.meta.js.map +1 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.public.d.ts +52 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.public.js +20 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.public.js.map +1 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.types.d.ts +227 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.types.js +29 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.types.js.map +1 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.universal.d.ts +332 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.universal.js +172 -0
- package/build/internal/es/src/devcenter-checkout-v1-purchased-item-billing.universal.js.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +52 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.getMeteredBillingCharges = exports.getPurchaseHistory = exports.getUrl = exports.WebhookIdentityType = exports.InvoiceStatus = exports.PaymentCycle = void 0;
|
|
27
|
+
const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
28
|
+
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
29
|
+
const ambassadorWixDevcenterCheckoutV1PurchasedItem = __importStar(require("./devcenter-checkout-v1-purchased-item-billing.http.js"));
|
|
30
|
+
var PaymentCycle;
|
|
31
|
+
(function (PaymentCycle) {
|
|
32
|
+
PaymentCycle["NO_CYCLE"] = "NO_CYCLE";
|
|
33
|
+
PaymentCycle["MONTHLY"] = "MONTHLY";
|
|
34
|
+
PaymentCycle["YEARLY"] = "YEARLY";
|
|
35
|
+
PaymentCycle["ONE_TIME"] = "ONE_TIME";
|
|
36
|
+
PaymentCycle["TWO_YEARS"] = "TWO_YEARS";
|
|
37
|
+
PaymentCycle["THREE_YEARS"] = "THREE_YEARS";
|
|
38
|
+
PaymentCycle["FOUR_YEARS"] = "FOUR_YEARS";
|
|
39
|
+
PaymentCycle["FIVE_YEARS"] = "FIVE_YEARS";
|
|
40
|
+
})(PaymentCycle || (exports.PaymentCycle = PaymentCycle = {}));
|
|
41
|
+
var InvoiceStatus;
|
|
42
|
+
(function (InvoiceStatus) {
|
|
43
|
+
InvoiceStatus["UNKNOWN_INVOICE_STATUS"] = "UNKNOWN_INVOICE_STATUS";
|
|
44
|
+
InvoiceStatus["PAYMENT_FAILED"] = "PAYMENT_FAILED";
|
|
45
|
+
InvoiceStatus["PAID"] = "PAID";
|
|
46
|
+
InvoiceStatus["REFUNDED"] = "REFUNDED";
|
|
47
|
+
InvoiceStatus["VOIDED"] = "VOIDED";
|
|
48
|
+
InvoiceStatus["CHARGEDBACK"] = "CHARGEDBACK";
|
|
49
|
+
})(InvoiceStatus || (exports.InvoiceStatus = InvoiceStatus = {}));
|
|
50
|
+
var WebhookIdentityType;
|
|
51
|
+
(function (WebhookIdentityType) {
|
|
52
|
+
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
53
|
+
WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
54
|
+
WebhookIdentityType["MEMBER"] = "MEMBER";
|
|
55
|
+
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
56
|
+
WebhookIdentityType["APP"] = "APP";
|
|
57
|
+
})(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
|
|
58
|
+
/**
|
|
59
|
+
* Retrieves the URL for a Wix checkout page for the specified paid plan of your app.
|
|
60
|
+
*
|
|
61
|
+
*
|
|
62
|
+
* This call succeeds only in case you have previously
|
|
63
|
+
* [set up an external pricing page in your app's dashboard](https://dev.wix.com/docs/build-apps/build-your-app/pricing-plans/set-up-an-external-pricing-page).
|
|
64
|
+
*
|
|
65
|
+
* The returned checkout URL is valid for 48 hours.
|
|
66
|
+
*
|
|
67
|
+
* This API allows your app to manage your pricing page outside of Wix while
|
|
68
|
+
* still using the standard Wix checkout flow.
|
|
69
|
+
* @param productId - ID of your app's paid plan to retrieve the Wix checkout URL for. Check your app's dashboard
|
|
70
|
+
* for a list of your app's supported product IDs.
|
|
71
|
+
* @public
|
|
72
|
+
* @requiredField productId
|
|
73
|
+
* @permissionId WIX_DEVELOPERS.CREATE_CHECKOUT
|
|
74
|
+
* @permissionScope Manage Your App
|
|
75
|
+
* @permissionScopeId SCOPE.DC.MANAGE-YOUR-APP
|
|
76
|
+
* @applicableIdentity APP
|
|
77
|
+
* @fqn com.wixpress.market.aim.api.Checkout.GetUrl
|
|
78
|
+
*/
|
|
79
|
+
async function getUrl(productId, options) {
|
|
80
|
+
// @ts-ignore
|
|
81
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
82
|
+
const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
|
|
83
|
+
productId: productId,
|
|
84
|
+
successUrl: options?.successUrl,
|
|
85
|
+
testCheckout: options?.testCheckout,
|
|
86
|
+
billingCycle: options?.billingCycle,
|
|
87
|
+
countryCode: options?.countryCode,
|
|
88
|
+
languageCode: options?.languageCode,
|
|
89
|
+
couponCode: options?.couponCode,
|
|
90
|
+
});
|
|
91
|
+
const reqOpts = ambassadorWixDevcenterCheckoutV1PurchasedItem.getUrl(payload);
|
|
92
|
+
sideEffects?.onSiteCall?.();
|
|
93
|
+
try {
|
|
94
|
+
const result = await httpClient.request(reqOpts);
|
|
95
|
+
sideEffects?.onSuccess?.(result);
|
|
96
|
+
return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
97
|
+
}
|
|
98
|
+
catch (err) {
|
|
99
|
+
const transformedError = (0, transform_error_1.transformError)(err, {
|
|
100
|
+
spreadPathsToArguments: {},
|
|
101
|
+
explicitPathsToArguments: {
|
|
102
|
+
productId: '$[0]',
|
|
103
|
+
successUrl: '$[1].successUrl',
|
|
104
|
+
testCheckout: '$[1].testCheckout',
|
|
105
|
+
billingCycle: '$[1].billingCycle',
|
|
106
|
+
countryCode: '$[1].countryCode',
|
|
107
|
+
languageCode: '$[1].languageCode',
|
|
108
|
+
couponCode: '$[1].couponCode',
|
|
109
|
+
},
|
|
110
|
+
singleArgumentUnchanged: false,
|
|
111
|
+
}, ['productId', 'options']);
|
|
112
|
+
sideEffects?.onError?.(err);
|
|
113
|
+
throw transformedError;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
exports.getUrl = getUrl;
|
|
117
|
+
/**
|
|
118
|
+
* Retrieves a list of the site owner's past purchases for your app.
|
|
119
|
+
*
|
|
120
|
+
*
|
|
121
|
+
* You don't have to explicitly pass an identifier for the Wix site as part of
|
|
122
|
+
* the request, since this information is taken automatically from the context.
|
|
123
|
+
*
|
|
124
|
+
* The response doesn't include any details about cancellations.
|
|
125
|
+
* @public
|
|
126
|
+
* @permissionId WIX_DEVELOPERS.APP_PURCHASE_HISTORY
|
|
127
|
+
* @permissionScope Manage Your App
|
|
128
|
+
* @permissionScopeId SCOPE.DC.MANAGE-YOUR-APP
|
|
129
|
+
* @applicableIdentity APP
|
|
130
|
+
* @fqn com.wixpress.market.aim.api.Checkout.GetPurchaseHistory
|
|
131
|
+
*/
|
|
132
|
+
async function getPurchaseHistory() {
|
|
133
|
+
// @ts-ignore
|
|
134
|
+
const { httpClient, sideEffects } = arguments[0];
|
|
135
|
+
const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({});
|
|
136
|
+
const reqOpts = ambassadorWixDevcenterCheckoutV1PurchasedItem.getPurchaseHistory(payload);
|
|
137
|
+
sideEffects?.onSiteCall?.();
|
|
138
|
+
try {
|
|
139
|
+
const result = await httpClient.request(reqOpts);
|
|
140
|
+
sideEffects?.onSuccess?.(result);
|
|
141
|
+
return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
142
|
+
}
|
|
143
|
+
catch (err) {
|
|
144
|
+
const transformedError = (0, transform_error_1.transformError)(err, {
|
|
145
|
+
spreadPathsToArguments: {},
|
|
146
|
+
explicitPathsToArguments: {},
|
|
147
|
+
singleArgumentUnchanged: false,
|
|
148
|
+
}, []);
|
|
149
|
+
sideEffects?.onError?.(err);
|
|
150
|
+
throw transformedError;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
exports.getPurchaseHistory = getPurchaseHistory;
|
|
154
|
+
/**
|
|
155
|
+
* Triggers Wix to call the
|
|
156
|
+
* [List Custom Charges SPI](https://dev.wix.com/docs/rest/internal-only/premium/custom-charges-spi/custom-charges-provider-v1/list-charges).
|
|
157
|
+
*
|
|
158
|
+
*
|
|
159
|
+
* Wix doesn't use the response from _List Charges_ SPI to actually create an
|
|
160
|
+
* invoice that's sent to the customer. Instead, calling _Get Metered Billing Charges_
|
|
161
|
+
* allows you confirm that your integration with the Custom Charges SPI is
|
|
162
|
+
* working as intended.
|
|
163
|
+
* @internal
|
|
164
|
+
* @documentationMaturity preview
|
|
165
|
+
* @permissionId WIX_DEVELOPERS.METERED_BILLING_CHARGES_READ
|
|
166
|
+
* @permissionScope Manage Your App
|
|
167
|
+
* @permissionScopeId SCOPE.DC.MANAGE-YOUR-APP
|
|
168
|
+
* @applicableIdentity APP
|
|
169
|
+
* @fqn com.wixpress.market.aim.api.Checkout.GetMeteredBillingCharges
|
|
170
|
+
*/
|
|
171
|
+
async function getMeteredBillingCharges(options) {
|
|
172
|
+
// @ts-ignore
|
|
173
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
174
|
+
const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
|
|
175
|
+
currency: options?.currency,
|
|
176
|
+
startDate: options?.startDate,
|
|
177
|
+
endDate: options?.endDate,
|
|
178
|
+
});
|
|
179
|
+
const reqOpts = ambassadorWixDevcenterCheckoutV1PurchasedItem.getMeteredBillingCharges(payload);
|
|
180
|
+
sideEffects?.onSiteCall?.();
|
|
181
|
+
try {
|
|
182
|
+
const result = await httpClient.request(reqOpts);
|
|
183
|
+
sideEffects?.onSuccess?.(result);
|
|
184
|
+
return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
185
|
+
}
|
|
186
|
+
catch (err) {
|
|
187
|
+
const transformedError = (0, transform_error_1.transformError)(err, {
|
|
188
|
+
spreadPathsToArguments: {},
|
|
189
|
+
explicitPathsToArguments: {
|
|
190
|
+
currency: '$[0].currency',
|
|
191
|
+
startDate: '$[0].startDate',
|
|
192
|
+
endDate: '$[0].endDate',
|
|
193
|
+
},
|
|
194
|
+
singleArgumentUnchanged: false,
|
|
195
|
+
}, ['options']);
|
|
196
|
+
sideEffects?.onError?.(err);
|
|
197
|
+
throw transformedError;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
exports.getMeteredBillingCharges = getMeteredBillingCharges;
|
|
201
|
+
//# sourceMappingURL=devcenter-checkout-v1-purchased-item-billing.universal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.universal.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sIAAwH;AAqBxH,IAAY,YASX;AATD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,yCAAyB,CAAA;AAC3B,CAAC,EATW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C;AA/CD,4DA+CC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/devcenter-checkout-v1-purchased-item-billing.context.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../index.ts"],"names":[],"mappings":"AAAA,cAAc,+DAA+D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../../index.typings.ts"],"names":[],"mappings":"AAAA,cAAc,iEAAiE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/devcenter-checkout-v1-purchased-item-billing.meta.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../meta.ts"],"names":[],"mappings":"AAAA,cAAc,4DAA4D,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { getUrl as publicGetUrl, getPurchaseHistory as publicGetPurchaseHistory, getMeteredBillingCharges as publicGetMeteredBillingCharges } from './devcenter-checkout-v1-purchased-item-billing.public.js';
|
|
2
|
+
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
|
+
export declare const getUrl: MaybeContext<BuildRESTFunction<typeof publicGetUrl> & typeof publicGetUrl>;
|
|
4
|
+
export declare const getPurchaseHistory: MaybeContext<BuildRESTFunction<typeof publicGetPurchaseHistory> & typeof publicGetPurchaseHistory>;
|
|
5
|
+
/** @internal */
|
|
6
|
+
export declare const getMeteredBillingCharges: MaybeContext<BuildRESTFunction<typeof publicGetMeteredBillingCharges> & typeof publicGetMeteredBillingCharges>;
|
|
7
|
+
export { PaymentCycle, InvoiceStatus, WebhookIdentityType, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
8
|
+
export { PurchasedItem, InvoiceStatusUpdate, GetUrlRequest, ChargeOverride, GetUrlResponse, GetPurchaseHistoryRequest, GetPurchaseHistoryResponse, GetSitePaymentMethodsStatusRequest, GetSitePaymentMethodsStatusResponse, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse, Charge, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, GetUrlResponseNonNullableFields, GetPurchaseHistoryResponseNonNullableFields, GetMeteredBillingChargesResponseNonNullableFields, GetUrlOptions, GetMeteredBillingChargesOptions, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { getUrl as publicGetUrl, getPurchaseHistory as publicGetPurchaseHistory, getMeteredBillingCharges as publicGetMeteredBillingCharges, } from './devcenter-checkout-v1-purchased-item-billing.public.js';
|
|
2
|
+
import { createRESTModule } from '@wix/sdk-runtime/rest-modules';
|
|
3
|
+
export const getUrl = /*#__PURE__*/ createRESTModule(publicGetUrl);
|
|
4
|
+
export const getPurchaseHistory = /*#__PURE__*/ createRESTModule(publicGetPurchaseHistory);
|
|
5
|
+
/** @internal */
|
|
6
|
+
export const getMeteredBillingCharges = /*#__PURE__*/ createRESTModule(publicGetMeteredBillingCharges);
|
|
7
|
+
export { PaymentCycle, InvoiceStatus, WebhookIdentityType, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
8
|
+
//# sourceMappingURL=devcenter-checkout-v1-purchased-item-billing.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.context.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.context.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,IAAI,YAAY,EACtB,kBAAkB,IAAI,wBAAwB,EAC9C,wBAAwB,IAAI,8BAA8B,GAC3D,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,MAAM,CAAC,MAAM,MAAM,GAEf,aAAa,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;AACjD,MAAM,CAAC,MAAM,kBAAkB,GAG3B,aAAa,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;AAC7D,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB,GAGjC,aAAa,CAAC,gBAAgB,CAAC,8BAA8B,CAAC,CAAC;AAEnE,OAAO,EACL,YAAY,EACZ,aAAa,EACb,mBAAmB,GACpB,MAAM,6DAA6D,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
+
/**
|
|
3
|
+
* Retrieves the URL for a Wix checkout page for the specified paid plan of your app.
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* This call succeeds only in case you have previously
|
|
7
|
+
* [set up an external pricing page in your app's dashboard](https://dev.wix.com/docs/build-apps/build-your-app/pricing-plans/set-up-an-external-pricing-page).
|
|
8
|
+
*
|
|
9
|
+
* The returned checkout URL is valid for 48 hours.
|
|
10
|
+
*
|
|
11
|
+
* This API allows your app to manage your pricing page outside of Wix while
|
|
12
|
+
* still using the standard Wix checkout flow.
|
|
13
|
+
*/
|
|
14
|
+
export declare function getUrl(payload: object): RequestOptionsFactory<any>;
|
|
15
|
+
/**
|
|
16
|
+
* Retrieves a list of the site owner's past purchases for your app.
|
|
17
|
+
*
|
|
18
|
+
*
|
|
19
|
+
* You don't have to explicitly pass an identifier for the Wix site as part of
|
|
20
|
+
* the request, since this information is taken automatically from the context.
|
|
21
|
+
*
|
|
22
|
+
* The response doesn't include any details about cancellations.
|
|
23
|
+
*/
|
|
24
|
+
export declare function getPurchaseHistory(payload: object): RequestOptionsFactory<any>;
|
|
25
|
+
/**
|
|
26
|
+
* Triggers Wix to call the
|
|
27
|
+
* [List Custom Charges SPI](https://dev.wix.com/docs/rest/internal-only/premium/custom-charges-spi/custom-charges-provider-v1/list-charges).
|
|
28
|
+
*
|
|
29
|
+
*
|
|
30
|
+
* Wix doesn't use the response from _List Charges_ SPI to actually create an
|
|
31
|
+
* invoice that's sent to the customer. Instead, calling _Get Metered Billing Charges_
|
|
32
|
+
* allows you confirm that your integration with the Custom Charges SPI is
|
|
33
|
+
* working as intended.
|
|
34
|
+
*/
|
|
35
|
+
export declare function getMeteredBillingCharges(payload: object): RequestOptionsFactory<any>;
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';
|
|
2
|
+
import { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';
|
|
3
|
+
import { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';
|
|
4
|
+
import { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';
|
|
5
|
+
import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
|
|
6
|
+
import { resolveUrl } from '@wix/sdk-runtime/rest-modules';
|
|
7
|
+
function resolveComWixpressMarketAimApiCheckoutUrl(opts) {
|
|
8
|
+
const domainToMappings = {
|
|
9
|
+
'api._api_base_domain_': [
|
|
10
|
+
{
|
|
11
|
+
srcPath: '/app-instance-manager-webapp',
|
|
12
|
+
destPath: '',
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
'www.wixapis.com': [
|
|
16
|
+
{
|
|
17
|
+
srcPath: '/apps',
|
|
18
|
+
destPath: '',
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
'wixapis.com': [
|
|
22
|
+
{
|
|
23
|
+
srcPath: '/apps',
|
|
24
|
+
destPath: '',
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
'dev._base_domain_': [
|
|
28
|
+
{
|
|
29
|
+
srcPath: '/_api/app-instance-manager',
|
|
30
|
+
destPath: '',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
srcPath: '/api/v1/instance',
|
|
34
|
+
destPath: '/v1/instance',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
srcPath: '/api/v1/scripts',
|
|
38
|
+
destPath: '/v1/scripts',
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
'manage._base_domain_': [
|
|
42
|
+
{
|
|
43
|
+
srcPath: '/_api/app-instance-manager',
|
|
44
|
+
destPath: '',
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
'www._base_domain_': [
|
|
48
|
+
{
|
|
49
|
+
srcPath: '/_api/app-instance-manager',
|
|
50
|
+
destPath: '',
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
'editor._base_domain_': [
|
|
54
|
+
{
|
|
55
|
+
srcPath: '/_api/app-instance-manager',
|
|
56
|
+
destPath: '',
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
'blocks._base_domain_': [
|
|
60
|
+
{
|
|
61
|
+
srcPath: '/_api/app-instance-manager',
|
|
62
|
+
destPath: '',
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
'create.editorx': [
|
|
66
|
+
{
|
|
67
|
+
srcPath: '/_api/app-instance-manager',
|
|
68
|
+
destPath: '',
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
};
|
|
72
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
73
|
+
}
|
|
74
|
+
const PACKAGE_NAME = '@wix/auto_sdk_app-management_billing';
|
|
75
|
+
/**
|
|
76
|
+
* Retrieves the URL for a Wix checkout page for the specified paid plan of your app.
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* This call succeeds only in case you have previously
|
|
80
|
+
* [set up an external pricing page in your app's dashboard](https://dev.wix.com/docs/build-apps/build-your-app/pricing-plans/set-up-an-external-pricing-page).
|
|
81
|
+
*
|
|
82
|
+
* The returned checkout URL is valid for 48 hours.
|
|
83
|
+
*
|
|
84
|
+
* This API allows your app to manage your pricing page outside of Wix while
|
|
85
|
+
* still using the standard Wix checkout flow.
|
|
86
|
+
*/
|
|
87
|
+
export function getUrl(payload) {
|
|
88
|
+
function __getUrl({ host }) {
|
|
89
|
+
const serializedData = transformPaths(payload, [
|
|
90
|
+
{
|
|
91
|
+
transformFn: transformSDKFloatToRESTFloat,
|
|
92
|
+
paths: [{ path: 'chargeOverride.price' }],
|
|
93
|
+
},
|
|
94
|
+
]);
|
|
95
|
+
const metadata = {
|
|
96
|
+
entityFqdn: 'wix.devcenter.checkout.v1.purchased_item',
|
|
97
|
+
method: 'POST',
|
|
98
|
+
methodFqn: 'com.wixpress.market.aim.api.Checkout.GetUrl',
|
|
99
|
+
packageName: PACKAGE_NAME,
|
|
100
|
+
url: resolveComWixpressMarketAimApiCheckoutUrl({
|
|
101
|
+
protoPath: '/v1/checkout',
|
|
102
|
+
data: serializedData,
|
|
103
|
+
host,
|
|
104
|
+
}),
|
|
105
|
+
data: serializedData,
|
|
106
|
+
};
|
|
107
|
+
return metadata;
|
|
108
|
+
}
|
|
109
|
+
return __getUrl;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Retrieves a list of the site owner's past purchases for your app.
|
|
113
|
+
*
|
|
114
|
+
*
|
|
115
|
+
* You don't have to explicitly pass an identifier for the Wix site as part of
|
|
116
|
+
* the request, since this information is taken automatically from the context.
|
|
117
|
+
*
|
|
118
|
+
* The response doesn't include any details about cancellations.
|
|
119
|
+
*/
|
|
120
|
+
export function getPurchaseHistory(payload) {
|
|
121
|
+
function __getPurchaseHistory({ host }) {
|
|
122
|
+
const metadata = {
|
|
123
|
+
entityFqdn: 'wix.devcenter.checkout.v1.purchased_item',
|
|
124
|
+
method: 'GET',
|
|
125
|
+
methodFqn: 'com.wixpress.market.aim.api.Checkout.GetPurchaseHistory',
|
|
126
|
+
packageName: PACKAGE_NAME,
|
|
127
|
+
url: resolveComWixpressMarketAimApiCheckoutUrl({
|
|
128
|
+
protoPath: '/v1/checkout/history',
|
|
129
|
+
data: payload,
|
|
130
|
+
host,
|
|
131
|
+
}),
|
|
132
|
+
params: toURLSearchParams(payload),
|
|
133
|
+
transformResponse: (payload) => transformPaths(payload, [
|
|
134
|
+
{
|
|
135
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
136
|
+
paths: [{ path: 'purchases.dateCreated' }],
|
|
137
|
+
},
|
|
138
|
+
]),
|
|
139
|
+
};
|
|
140
|
+
return metadata;
|
|
141
|
+
}
|
|
142
|
+
return __getPurchaseHistory;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Triggers Wix to call the
|
|
146
|
+
* [List Custom Charges SPI](https://dev.wix.com/docs/rest/internal-only/premium/custom-charges-spi/custom-charges-provider-v1/list-charges).
|
|
147
|
+
*
|
|
148
|
+
*
|
|
149
|
+
* Wix doesn't use the response from _List Charges_ SPI to actually create an
|
|
150
|
+
* invoice that's sent to the customer. Instead, calling _Get Metered Billing Charges_
|
|
151
|
+
* allows you confirm that your integration with the Custom Charges SPI is
|
|
152
|
+
* working as intended.
|
|
153
|
+
*/
|
|
154
|
+
export function getMeteredBillingCharges(payload) {
|
|
155
|
+
function __getMeteredBillingCharges({ host }) {
|
|
156
|
+
const serializedData = transformPaths(payload, [
|
|
157
|
+
{
|
|
158
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
159
|
+
paths: [{ path: 'startDate' }, { path: 'endDate' }],
|
|
160
|
+
},
|
|
161
|
+
]);
|
|
162
|
+
const metadata = {
|
|
163
|
+
entityFqdn: 'wix.devcenter.checkout.v1.purchased_item',
|
|
164
|
+
method: 'GET',
|
|
165
|
+
methodFqn: 'com.wixpress.market.aim.api.Checkout.GetMeteredBillingCharges',
|
|
166
|
+
packageName: PACKAGE_NAME,
|
|
167
|
+
url: resolveComWixpressMarketAimApiCheckoutUrl({
|
|
168
|
+
protoPath: '/v1/metered-billing-charges',
|
|
169
|
+
data: serializedData,
|
|
170
|
+
host,
|
|
171
|
+
}),
|
|
172
|
+
params: toURLSearchParams(serializedData),
|
|
173
|
+
};
|
|
174
|
+
return metadata;
|
|
175
|
+
}
|
|
176
|
+
return __getMeteredBillingCharges;
|
|
177
|
+
}
|
|
178
|
+
//# sourceMappingURL=devcenter-checkout-v1-purchased-item-billing.http.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.http.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAI3D,SAAS,yCAAyC,CAChD,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,uBAAuB,EAAE;YACvB;gBACE,OAAO,EAAE,8BAA8B;gBACvC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,OAAO;gBAChB,QAAQ,EAAE,EAAE;aACb;SACF;QACD,aAAa,EAAE;YACb;gBACE,OAAO,EAAE,OAAO;gBAChB,QAAQ,EAAE,EAAE;aACb;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,kBAAkB;gBAC3B,QAAQ,EAAE,cAAc;aACzB;YACD;gBACE,OAAO,EAAE,iBAAiB;gBAC1B,QAAQ,EAAE,aAAa;aACxB;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,Q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edItemTypes from './devcenter-checkout-v1-purchased-item-billing.types.js';
|
|
2
|
+
import * as ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
3
|
+
export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4
|
+
getUrl: (context: any) => string;
|
|
5
|
+
httpMethod: K;
|
|
6
|
+
path: string;
|
|
7
|
+
pathParams: M;
|
|
8
|
+
__requestType: T;
|
|
9
|
+
__originalRequestType: S;
|
|
10
|
+
__responseType: Q;
|
|
11
|
+
__originalResponseType: R;
|
|
12
|
+
};
|
|
13
|
+
export declare function getUrl(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetUrlRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlResponse & ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetUrlResponseNonNullableFields, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetUrlResponse & ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetUrlResponseNonNullableFields>;
|
|
14
|
+
export declare function getPurchaseHistory(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetPurchaseHistoryRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryResponse & ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetPurchaseHistoryResponseNonNullableFields, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetPurchaseHistoryResponse & ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetPurchaseHistoryResponseNonNullableFields>;
|
|
15
|
+
export declare function getMeteredBillingCharges(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetMeteredBillingChargesRequest, ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesResponse & ambassadorWixDevcenterCheckoutV1PurchasedItemUniversalTypes.GetMeteredBillingChargesResponseNonNullableFields, ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetMeteredBillingChargesResponse & ambassadorWixDevcenterCheckoutV1PurchasedItemTypes.GetMeteredBillingChargesResponseNonNullableFields>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as ambassadorWixDevcenterCheckoutV1PurchasedItem from './devcenter-checkout-v1-purchased-item-billing.http.js';
|
|
2
|
+
export function getUrl() {
|
|
3
|
+
const payload = {};
|
|
4
|
+
const getRequestOptions = ambassadorWixDevcenterCheckoutV1PurchasedItem.getUrl(payload);
|
|
5
|
+
const getUrl = (context) => {
|
|
6
|
+
const { url } = getRequestOptions(context);
|
|
7
|
+
return url;
|
|
8
|
+
};
|
|
9
|
+
return {
|
|
10
|
+
getUrl,
|
|
11
|
+
httpMethod: 'POST',
|
|
12
|
+
path: '/v1/checkout',
|
|
13
|
+
pathParams: {},
|
|
14
|
+
__requestType: null,
|
|
15
|
+
__originalRequestType: null,
|
|
16
|
+
__responseType: null,
|
|
17
|
+
__originalResponseType: null,
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export function getPurchaseHistory() {
|
|
21
|
+
const payload = {};
|
|
22
|
+
const getRequestOptions = ambassadorWixDevcenterCheckoutV1PurchasedItem.getPurchaseHistory(payload);
|
|
23
|
+
const getUrl = (context) => {
|
|
24
|
+
const { url } = getRequestOptions(context);
|
|
25
|
+
return url;
|
|
26
|
+
};
|
|
27
|
+
return {
|
|
28
|
+
getUrl,
|
|
29
|
+
httpMethod: 'GET',
|
|
30
|
+
path: '/v1/checkout/history',
|
|
31
|
+
pathParams: {},
|
|
32
|
+
__requestType: null,
|
|
33
|
+
__originalRequestType: null,
|
|
34
|
+
__responseType: null,
|
|
35
|
+
__originalResponseType: null,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function getMeteredBillingCharges() {
|
|
39
|
+
const payload = {};
|
|
40
|
+
const getRequestOptions = ambassadorWixDevcenterCheckoutV1PurchasedItem.getMeteredBillingCharges(payload);
|
|
41
|
+
const getUrl = (context) => {
|
|
42
|
+
const { url } = getRequestOptions(context);
|
|
43
|
+
return url;
|
|
44
|
+
};
|
|
45
|
+
return {
|
|
46
|
+
getUrl,
|
|
47
|
+
httpMethod: 'GET',
|
|
48
|
+
path: '/v1/metered-billing-charges',
|
|
49
|
+
pathParams: {},
|
|
50
|
+
__requestType: null,
|
|
51
|
+
__originalRequestType: null,
|
|
52
|
+
__responseType: null,
|
|
53
|
+
__originalResponseType: null,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=devcenter-checkout-v1-purchased-item-billing.meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.meta.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,6CAA6C,MAAM,wDAAwD,CAAC;AAsBxH,MAAM,UAAU,MAAM;IAUpB,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,6CAA6C,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAEhE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,cAAc;QACpB,UAAU,EAAE,EAAE;QACd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
2
|
+
import { GetMeteredBillingChargesOptions, GetMeteredBillingChargesResponse, GetMeteredBillingChargesResponseNonNullableFields, GetPurchaseHistoryResponse, GetPurchaseHistoryResponseNonNullableFields, GetUrlOptions, GetUrlResponse, GetUrlResponseNonNullableFields } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
3
|
+
export declare const __metadata: {
|
|
4
|
+
PACKAGE_NAME: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function getUrl(httpClient: HttpClient): GetUrlSignature;
|
|
7
|
+
interface GetUrlSignature {
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves the URL for a Wix checkout page for the specified paid plan of your app.
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* This call succeeds only in case you have previously
|
|
13
|
+
* [set up an external pricing page in your app's dashboard](https://dev.wix.com/docs/build-apps/build-your-app/pricing-plans/set-up-an-external-pricing-page).
|
|
14
|
+
*
|
|
15
|
+
* The returned checkout URL is valid for 48 hours.
|
|
16
|
+
*
|
|
17
|
+
* This API allows your app to manage your pricing page outside of Wix while
|
|
18
|
+
* still using the standard Wix checkout flow.
|
|
19
|
+
* @param - ID of your app's paid plan to retrieve the Wix checkout URL for. Check your app's dashboard
|
|
20
|
+
* for a list of your app's supported product IDs.
|
|
21
|
+
*/
|
|
22
|
+
(productId: string, options?: GetUrlOptions | undefined): Promise<GetUrlResponse & GetUrlResponseNonNullableFields>;
|
|
23
|
+
}
|
|
24
|
+
export declare function getPurchaseHistory(httpClient: HttpClient): GetPurchaseHistorySignature;
|
|
25
|
+
interface GetPurchaseHistorySignature {
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves a list of the site owner's past purchases for your app.
|
|
28
|
+
*
|
|
29
|
+
*
|
|
30
|
+
* You don't have to explicitly pass an identifier for the Wix site as part of
|
|
31
|
+
* the request, since this information is taken automatically from the context.
|
|
32
|
+
*
|
|
33
|
+
* The response doesn't include any details about cancellations.
|
|
34
|
+
*/
|
|
35
|
+
(): Promise<GetPurchaseHistoryResponse & GetPurchaseHistoryResponseNonNullableFields>;
|
|
36
|
+
}
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare function getMeteredBillingCharges(httpClient: HttpClient): GetMeteredBillingChargesSignature;
|
|
39
|
+
interface GetMeteredBillingChargesSignature {
|
|
40
|
+
/**
|
|
41
|
+
* Triggers Wix to call the
|
|
42
|
+
* [List Custom Charges SPI](https://dev.wix.com/docs/rest/internal-only/premium/custom-charges-spi/custom-charges-provider-v1/list-charges).
|
|
43
|
+
*
|
|
44
|
+
*
|
|
45
|
+
* Wix doesn't use the response from _List Charges_ SPI to actually create an
|
|
46
|
+
* invoice that's sent to the customer. Instead, calling _Get Metered Billing Charges_
|
|
47
|
+
* allows you confirm that your integration with the Custom Charges SPI is
|
|
48
|
+
* working as intended.
|
|
49
|
+
*/
|
|
50
|
+
(options?: GetMeteredBillingChargesOptions | undefined): Promise<GetMeteredBillingChargesResponse & GetMeteredBillingChargesResponseNonNullableFields>;
|
|
51
|
+
}
|
|
52
|
+
export { Charge, ChargeOverride, GetMeteredBillingChargesOptions, GetMeteredBillingChargesRequest, GetMeteredBillingChargesResponse, GetMeteredBillingChargesResponseNonNullableFields, GetPurchaseHistoryRequest, GetPurchaseHistoryResponse, GetPurchaseHistoryResponseNonNullableFields, GetSitePaymentMethodsStatusRequest, GetSitePaymentMethodsStatusResponse, GetUrlOptions, GetUrlRequest, GetUrlResponse, GetUrlResponseNonNullableFields, IdentificationData, IdentificationDataIdOneOf, InvoiceStatus, InvoiceStatusUpdate, MessageEnvelope, PaymentCycle, PurchasedItem, WebhookIdentityType, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { getMeteredBillingCharges as universalGetMeteredBillingCharges, getPurchaseHistory as universalGetPurchaseHistory, getUrl as universalGetUrl, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
2
|
+
export const __metadata = { PACKAGE_NAME: '@wix/app-management' };
|
|
3
|
+
export function getUrl(httpClient) {
|
|
4
|
+
return (productId, options) => universalGetUrl(productId, options,
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
{ httpClient });
|
|
7
|
+
}
|
|
8
|
+
export function getPurchaseHistory(httpClient) {
|
|
9
|
+
return () => universalGetPurchaseHistory(
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
{ httpClient });
|
|
12
|
+
}
|
|
13
|
+
/** @internal */
|
|
14
|
+
export function getMeteredBillingCharges(httpClient) {
|
|
15
|
+
return (options) => universalGetMeteredBillingCharges(options,
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
{ httpClient });
|
|
18
|
+
}
|
|
19
|
+
export { InvoiceStatus, PaymentCycle, WebhookIdentityType, } from './devcenter-checkout-v1-purchased-item-billing.universal.js';
|
|
20
|
+
//# sourceMappingURL=devcenter-checkout-v1-purchased-item-billing.public.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devcenter-checkout-v1-purchased-item-billing.public.js","sourceRoot":"","sources":["../../../../src/devcenter-checkout-v1-purchased-item-billing.public.ts"],"names":[],"mappings":"AACA,OAAO,EASL,wBAAwB,IAAI,iCAAiC,EAC7D,kBAAkB,IAAI,2BAA2B,EACjD,MAAM,IAAI,eAAe,GAC1B,MAAM,6DAA6D,CAAC;AAErE,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC;AAElE,MAAM,UAAU,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,SAAiB,EAAE,OAAuB,EAAE,EAAE,CACpD,eAAe,CACb,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAsBD,MAAM,UAAU,kBAAkB,CAChC,UAAsB;IAEtB,OAAO,GAAG,EAAE,CACV,2BAA2B;IACzB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAiBD,gBAAgB;AAChB,MAAM,UAAU,wBAAwB,CACtC,UAAsB;IAEtB,OAAO,CAAC,OAAyC,EAAE,EAAE,CACnD,iCAAiC,CAC/B,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAmBD,OAAO,EAkBL,aAAa,EAGb,YAAY,EAEZ,mBAAmB,GACpB,MAAM,6DAA6D,CAAC"}
|