@lumeweb/portal-sdk 0.1.0 → 0.1.1
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/dist/esm/account/generated/accountAPI.schemas.d.ts +427 -20
- package/dist/esm/account/generated/billing.d.ts +688 -0
- package/dist/esm/account/generated/billing.js +444 -0
- package/dist/esm/account/generated/billing.js.map +1 -0
- package/dist/esm/account/generated/default.d.ts +118 -97
- package/dist/esm/account/generated/default.js +181 -41
- package/dist/esm/account/generated/default.js.map +1 -1
- package/dist/esm/account/generated/index.d.ts +3 -3
- package/dist/esm/account/generated/index.js +2 -2
- package/dist/esm/account/generated/quota.d.ts +35 -0
- package/dist/esm/account/generated/quota.js +28 -0
- package/dist/esm/account/generated/quota.js.map +1 -0
- package/dist/esm/account.d.ts +0 -1
- package/dist/esm/account.js.map +1 -1
- package/dist/esm/http-utils.d.ts +0 -1
- package/dist/esm/http-utils.js.map +1 -1
- package/dist/esm/index.d.ts +5 -3
- package/dist/esm/index.js +4 -2
- package/dist/esm/openapi.d.ts +3 -3
- package/dist/esm/openapi.js +2 -2
- package/dist/esm/query-utils.d.ts +0 -1
- package/dist/esm/types.js.map +1 -1
- package/package.json +5 -5
- package/dist/cjs/account/generated/accountAPI.schemas.cjs +0 -0
- package/dist/cjs/account/generated/accountAPI.schemas.d.cts +0 -239
- package/dist/cjs/account/generated/default.cjs +0 -676
- package/dist/cjs/account/generated/default.cjs.map +0 -1
- package/dist/cjs/account/generated/default.d.cts +0 -923
- package/dist/cjs/account/generated/index.cjs +0 -58
- package/dist/cjs/account/generated/index.d.cts +0 -3
- package/dist/cjs/account.cjs +0 -348
- package/dist/cjs/account.cjs.map +0 -1
- package/dist/cjs/account.d.cts +0 -200
- package/dist/cjs/http-utils.cjs +0 -87
- package/dist/cjs/http-utils.cjs.map +0 -1
- package/dist/cjs/http-utils.d.cts +0 -54
- package/dist/cjs/index.cjs +0 -75
- package/dist/cjs/index.d.cts +0 -8
- package/dist/cjs/openapi.cjs +0 -58
- package/dist/cjs/openapi.d.cts +0 -3
- package/dist/cjs/query-utils.cjs +0 -44
- package/dist/cjs/query-utils.cjs.map +0 -1
- package/dist/cjs/query-utils.d.cts +0 -65
- package/dist/cjs/sdk.cjs +0 -20
- package/dist/cjs/sdk.cjs.map +0 -1
- package/dist/cjs/sdk.d.cts +0 -12
- package/dist/cjs/types.cjs +0 -116
- package/dist/cjs/types.cjs.map +0 -1
- package/dist/cjs/types.d.cts +0 -58
|
@@ -0,0 +1,688 @@
|
|
|
1
|
+
import { BalanceResponse, ChangePlanRequest, CheckoutSessionStatusResponse, CheckoutUIResponse, ErrorResponse, GatewayListResponse, GetApiAccountBillingCheckoutSessionSessionIdStatusParams, GetApiAccountBillingCheckoutUiPlanIdParams, ManagementCapabilitiesResponse, ManagementRequest, ManagementResultResponse, PostApiAccountBillingWebhooksGatewayTypeBody, PublicPricingPlansListResponse, SubscriptionStatusResponse, UserCreditsListResponse } from "./accountAPI.schemas.js";
|
|
2
|
+
|
|
3
|
+
//#region src/account/generated/billing.d.ts
|
|
4
|
+
type getApiAccountBillingBalanceResponse200 = {
|
|
5
|
+
data: BalanceResponse;
|
|
6
|
+
status: 200;
|
|
7
|
+
};
|
|
8
|
+
type getApiAccountBillingBalanceResponse400 = {
|
|
9
|
+
data: ErrorResponse;
|
|
10
|
+
status: 400;
|
|
11
|
+
};
|
|
12
|
+
type getApiAccountBillingBalanceResponse401 = {
|
|
13
|
+
data: ErrorResponse;
|
|
14
|
+
status: 401;
|
|
15
|
+
};
|
|
16
|
+
type getApiAccountBillingBalanceResponse403 = {
|
|
17
|
+
data: ErrorResponse;
|
|
18
|
+
status: 403;
|
|
19
|
+
};
|
|
20
|
+
type getApiAccountBillingBalanceResponse404 = {
|
|
21
|
+
data: ErrorResponse;
|
|
22
|
+
status: 404;
|
|
23
|
+
};
|
|
24
|
+
type getApiAccountBillingBalanceResponse500 = {
|
|
25
|
+
data: ErrorResponse;
|
|
26
|
+
status: 500;
|
|
27
|
+
};
|
|
28
|
+
type getApiAccountBillingBalanceResponseSuccess = (getApiAccountBillingBalanceResponse200) & {
|
|
29
|
+
headers: Headers;
|
|
30
|
+
};
|
|
31
|
+
type getApiAccountBillingBalanceResponseError = (getApiAccountBillingBalanceResponse400 | getApiAccountBillingBalanceResponse401 | getApiAccountBillingBalanceResponse403 | getApiAccountBillingBalanceResponse404 | getApiAccountBillingBalanceResponse500) & {
|
|
32
|
+
headers: Headers;
|
|
33
|
+
};
|
|
34
|
+
type getApiAccountBillingBalanceResponse = (getApiAccountBillingBalanceResponseSuccess | getApiAccountBillingBalanceResponseError);
|
|
35
|
+
declare const getGetApiAccountBillingBalanceUrl: () => string;
|
|
36
|
+
/**
|
|
37
|
+
* Returns the authenticated user's current credit balance. Positive balance indicates available credits, negative balance indicates outstanding dues.
|
|
38
|
+
* @summary Get Current User's Credit Balance
|
|
39
|
+
*/
|
|
40
|
+
declare const getApiAccountBillingBalance: (options?: RequestInit) => Promise<getApiAccountBillingBalanceResponse>;
|
|
41
|
+
type postApiAccountBillingCancelResponse200 = {
|
|
42
|
+
data: ManagementResultResponse;
|
|
43
|
+
status: 200;
|
|
44
|
+
};
|
|
45
|
+
type postApiAccountBillingCancelResponse400 = {
|
|
46
|
+
data: ErrorResponse;
|
|
47
|
+
status: 400;
|
|
48
|
+
};
|
|
49
|
+
type postApiAccountBillingCancelResponse401 = {
|
|
50
|
+
data: ErrorResponse;
|
|
51
|
+
status: 401;
|
|
52
|
+
};
|
|
53
|
+
type postApiAccountBillingCancelResponse403 = {
|
|
54
|
+
data: ErrorResponse;
|
|
55
|
+
status: 403;
|
|
56
|
+
};
|
|
57
|
+
type postApiAccountBillingCancelResponse404 = {
|
|
58
|
+
data: ErrorResponse;
|
|
59
|
+
status: 404;
|
|
60
|
+
};
|
|
61
|
+
type postApiAccountBillingCancelResponse500 = {
|
|
62
|
+
data: ErrorResponse;
|
|
63
|
+
status: 500;
|
|
64
|
+
};
|
|
65
|
+
type postApiAccountBillingCancelResponseSuccess = (postApiAccountBillingCancelResponse200) & {
|
|
66
|
+
headers: Headers;
|
|
67
|
+
};
|
|
68
|
+
type postApiAccountBillingCancelResponseError = (postApiAccountBillingCancelResponse400 | postApiAccountBillingCancelResponse401 | postApiAccountBillingCancelResponse403 | postApiAccountBillingCancelResponse404 | postApiAccountBillingCancelResponse500) & {
|
|
69
|
+
headers: Headers;
|
|
70
|
+
};
|
|
71
|
+
type postApiAccountBillingCancelResponse = (postApiAccountBillingCancelResponseSuccess | postApiAccountBillingCancelResponseError);
|
|
72
|
+
declare const getPostApiAccountBillingCancelUrl: () => string;
|
|
73
|
+
/**
|
|
74
|
+
* Executes the cancel operation on the current subscription. Validates that the gateway supports cancellation and returns the appropriate action
|
|
75
|
+
* @summary Cancel subscription
|
|
76
|
+
*/
|
|
77
|
+
declare const postApiAccountBillingCancel: (options?: RequestInit) => Promise<postApiAccountBillingCancelResponse>;
|
|
78
|
+
type postApiAccountBillingCancelAbortResponse200 = {
|
|
79
|
+
data: ManagementResultResponse;
|
|
80
|
+
status: 200;
|
|
81
|
+
};
|
|
82
|
+
type postApiAccountBillingCancelAbortResponse400 = {
|
|
83
|
+
data: ErrorResponse;
|
|
84
|
+
status: 400;
|
|
85
|
+
};
|
|
86
|
+
type postApiAccountBillingCancelAbortResponse401 = {
|
|
87
|
+
data: ErrorResponse;
|
|
88
|
+
status: 401;
|
|
89
|
+
};
|
|
90
|
+
type postApiAccountBillingCancelAbortResponse403 = {
|
|
91
|
+
data: ErrorResponse;
|
|
92
|
+
status: 403;
|
|
93
|
+
};
|
|
94
|
+
type postApiAccountBillingCancelAbortResponse404 = {
|
|
95
|
+
data: ErrorResponse;
|
|
96
|
+
status: 404;
|
|
97
|
+
};
|
|
98
|
+
type postApiAccountBillingCancelAbortResponse500 = {
|
|
99
|
+
data: ErrorResponse;
|
|
100
|
+
status: 500;
|
|
101
|
+
};
|
|
102
|
+
type postApiAccountBillingCancelAbortResponseSuccess = (postApiAccountBillingCancelAbortResponse200) & {
|
|
103
|
+
headers: Headers;
|
|
104
|
+
};
|
|
105
|
+
type postApiAccountBillingCancelAbortResponseError = (postApiAccountBillingCancelAbortResponse400 | postApiAccountBillingCancelAbortResponse401 | postApiAccountBillingCancelAbortResponse403 | postApiAccountBillingCancelAbortResponse404 | postApiAccountBillingCancelAbortResponse500) & {
|
|
106
|
+
headers: Headers;
|
|
107
|
+
};
|
|
108
|
+
type postApiAccountBillingCancelAbortResponse = (postApiAccountBillingCancelAbortResponseSuccess | postApiAccountBillingCancelAbortResponseError);
|
|
109
|
+
declare const getPostApiAccountBillingCancelAbortUrl: () => string;
|
|
110
|
+
/**
|
|
111
|
+
* Cancels a scheduled subscription cancellation, restoring the subscription to active status
|
|
112
|
+
* @summary Abort scheduled cancellation
|
|
113
|
+
*/
|
|
114
|
+
declare const postApiAccountBillingCancelAbort: (options?: RequestInit) => Promise<postApiAccountBillingCancelAbortResponse>;
|
|
115
|
+
type postApiAccountBillingChangePlanResponse200 = {
|
|
116
|
+
data: ManagementResultResponse;
|
|
117
|
+
status: 200;
|
|
118
|
+
};
|
|
119
|
+
type postApiAccountBillingChangePlanResponse400 = {
|
|
120
|
+
data: ErrorResponse;
|
|
121
|
+
status: 400;
|
|
122
|
+
};
|
|
123
|
+
type postApiAccountBillingChangePlanResponse401 = {
|
|
124
|
+
data: ErrorResponse;
|
|
125
|
+
status: 401;
|
|
126
|
+
};
|
|
127
|
+
type postApiAccountBillingChangePlanResponse403 = {
|
|
128
|
+
data: ErrorResponse;
|
|
129
|
+
status: 403;
|
|
130
|
+
};
|
|
131
|
+
type postApiAccountBillingChangePlanResponse404 = {
|
|
132
|
+
data: ErrorResponse;
|
|
133
|
+
status: 404;
|
|
134
|
+
};
|
|
135
|
+
type postApiAccountBillingChangePlanResponse500 = {
|
|
136
|
+
data: ErrorResponse;
|
|
137
|
+
status: 500;
|
|
138
|
+
};
|
|
139
|
+
type postApiAccountBillingChangePlanResponseSuccess = (postApiAccountBillingChangePlanResponse200) & {
|
|
140
|
+
headers: Headers;
|
|
141
|
+
};
|
|
142
|
+
type postApiAccountBillingChangePlanResponseError = (postApiAccountBillingChangePlanResponse400 | postApiAccountBillingChangePlanResponse401 | postApiAccountBillingChangePlanResponse403 | postApiAccountBillingChangePlanResponse404 | postApiAccountBillingChangePlanResponse500) & {
|
|
143
|
+
headers: Headers;
|
|
144
|
+
};
|
|
145
|
+
type postApiAccountBillingChangePlanResponse = (postApiAccountBillingChangePlanResponseSuccess | postApiAccountBillingChangePlanResponseError);
|
|
146
|
+
declare const getPostApiAccountBillingChangePlanUrl: () => string;
|
|
147
|
+
/**
|
|
148
|
+
* Executes the change plan operation on the current subscription. Validates that the gateway supports plan changes and returns the appropriate action
|
|
149
|
+
* @summary Change subscription plan
|
|
150
|
+
*/
|
|
151
|
+
declare const postApiAccountBillingChangePlan: (changePlanRequest: ChangePlanRequest, options?: RequestInit) => Promise<postApiAccountBillingChangePlanResponse>;
|
|
152
|
+
type getApiAccountBillingCheckoutSessionSessionIdStatusResponse200 = {
|
|
153
|
+
data: CheckoutSessionStatusResponse;
|
|
154
|
+
status: 200;
|
|
155
|
+
};
|
|
156
|
+
type getApiAccountBillingCheckoutSessionSessionIdStatusResponse400 = {
|
|
157
|
+
data: ErrorResponse;
|
|
158
|
+
status: 400;
|
|
159
|
+
};
|
|
160
|
+
type getApiAccountBillingCheckoutSessionSessionIdStatusResponse401 = {
|
|
161
|
+
data: ErrorResponse;
|
|
162
|
+
status: 401;
|
|
163
|
+
};
|
|
164
|
+
type getApiAccountBillingCheckoutSessionSessionIdStatusResponse403 = {
|
|
165
|
+
data: ErrorResponse;
|
|
166
|
+
status: 403;
|
|
167
|
+
};
|
|
168
|
+
type getApiAccountBillingCheckoutSessionSessionIdStatusResponse404 = {
|
|
169
|
+
data: ErrorResponse;
|
|
170
|
+
status: 404;
|
|
171
|
+
};
|
|
172
|
+
type getApiAccountBillingCheckoutSessionSessionIdStatusResponse500 = {
|
|
173
|
+
data: ErrorResponse;
|
|
174
|
+
status: 500;
|
|
175
|
+
};
|
|
176
|
+
type getApiAccountBillingCheckoutSessionSessionIdStatusResponse501 = {
|
|
177
|
+
data: ErrorResponse;
|
|
178
|
+
status: 501;
|
|
179
|
+
};
|
|
180
|
+
type getApiAccountBillingCheckoutSessionSessionIdStatusResponseSuccess = (getApiAccountBillingCheckoutSessionSessionIdStatusResponse200) & {
|
|
181
|
+
headers: Headers;
|
|
182
|
+
};
|
|
183
|
+
type getApiAccountBillingCheckoutSessionSessionIdStatusResponseError = (getApiAccountBillingCheckoutSessionSessionIdStatusResponse400 | getApiAccountBillingCheckoutSessionSessionIdStatusResponse401 | getApiAccountBillingCheckoutSessionSessionIdStatusResponse403 | getApiAccountBillingCheckoutSessionSessionIdStatusResponse404 | getApiAccountBillingCheckoutSessionSessionIdStatusResponse500 | getApiAccountBillingCheckoutSessionSessionIdStatusResponse501) & {
|
|
184
|
+
headers: Headers;
|
|
185
|
+
};
|
|
186
|
+
type getApiAccountBillingCheckoutSessionSessionIdStatusResponse = (getApiAccountBillingCheckoutSessionSessionIdStatusResponseSuccess | getApiAccountBillingCheckoutSessionSessionIdStatusResponseError);
|
|
187
|
+
declare const getGetApiAccountBillingCheckoutSessionSessionIdStatusUrl: (sessionId: string, params?: GetApiAccountBillingCheckoutSessionSessionIdStatusParams) => string;
|
|
188
|
+
/**
|
|
189
|
+
* Returns the status of a checkout session. Used by embedded checkout return pages to verify payment completion and retrieve customer information. Returns 501 if the gateway does not support session status retrieval.
|
|
190
|
+
* @summary Get Checkout Session Status
|
|
191
|
+
*/
|
|
192
|
+
declare const getApiAccountBillingCheckoutSessionSessionIdStatus: (sessionId: string, params?: GetApiAccountBillingCheckoutSessionSessionIdStatusParams, options?: RequestInit) => Promise<getApiAccountBillingCheckoutSessionSessionIdStatusResponse>;
|
|
193
|
+
type getApiAccountBillingCheckoutUiPlanIdResponse200 = {
|
|
194
|
+
data: CheckoutUIResponse;
|
|
195
|
+
status: 200;
|
|
196
|
+
};
|
|
197
|
+
type getApiAccountBillingCheckoutUiPlanIdResponse400 = {
|
|
198
|
+
data: ErrorResponse;
|
|
199
|
+
status: 400;
|
|
200
|
+
};
|
|
201
|
+
type getApiAccountBillingCheckoutUiPlanIdResponse401 = {
|
|
202
|
+
data: ErrorResponse;
|
|
203
|
+
status: 401;
|
|
204
|
+
};
|
|
205
|
+
type getApiAccountBillingCheckoutUiPlanIdResponse403 = {
|
|
206
|
+
data: ErrorResponse;
|
|
207
|
+
status: 403;
|
|
208
|
+
};
|
|
209
|
+
type getApiAccountBillingCheckoutUiPlanIdResponse404 = {
|
|
210
|
+
data: ErrorResponse;
|
|
211
|
+
status: 404;
|
|
212
|
+
};
|
|
213
|
+
type getApiAccountBillingCheckoutUiPlanIdResponse409 = {
|
|
214
|
+
data: ErrorResponse;
|
|
215
|
+
status: 409;
|
|
216
|
+
};
|
|
217
|
+
type getApiAccountBillingCheckoutUiPlanIdResponse500 = {
|
|
218
|
+
data: ErrorResponse;
|
|
219
|
+
status: 500;
|
|
220
|
+
};
|
|
221
|
+
type getApiAccountBillingCheckoutUiPlanIdResponseSuccess = (getApiAccountBillingCheckoutUiPlanIdResponse200) & {
|
|
222
|
+
headers: Headers;
|
|
223
|
+
};
|
|
224
|
+
type getApiAccountBillingCheckoutUiPlanIdResponseError = (getApiAccountBillingCheckoutUiPlanIdResponse400 | getApiAccountBillingCheckoutUiPlanIdResponse401 | getApiAccountBillingCheckoutUiPlanIdResponse403 | getApiAccountBillingCheckoutUiPlanIdResponse404 | getApiAccountBillingCheckoutUiPlanIdResponse409 | getApiAccountBillingCheckoutUiPlanIdResponse500) & {
|
|
225
|
+
headers: Headers;
|
|
226
|
+
};
|
|
227
|
+
type getApiAccountBillingCheckoutUiPlanIdResponse = (getApiAccountBillingCheckoutUiPlanIdResponseSuccess | getApiAccountBillingCheckoutUiPlanIdResponseError);
|
|
228
|
+
declare const getGetApiAccountBillingCheckoutUiPlanIdUrl: (planId: string, params?: GetApiAccountBillingCheckoutUiPlanIdParams) => string;
|
|
229
|
+
/**
|
|
230
|
+
* Returns platform-agnostic UI fragments for checkout. Response format varies by gateway but always contains fragments of type link, html, script, iframe, modal, button, or form
|
|
231
|
+
* @summary Get Checkout UI Fragments
|
|
232
|
+
*/
|
|
233
|
+
declare const getApiAccountBillingCheckoutUiPlanId: (planId: string, params?: GetApiAccountBillingCheckoutUiPlanIdParams, options?: RequestInit) => Promise<getApiAccountBillingCheckoutUiPlanIdResponse>;
|
|
234
|
+
type getApiAccountBillingCreditsResponse200 = {
|
|
235
|
+
data: UserCreditsListResponse;
|
|
236
|
+
status: 200;
|
|
237
|
+
};
|
|
238
|
+
type getApiAccountBillingCreditsResponse400 = {
|
|
239
|
+
data: ErrorResponse;
|
|
240
|
+
status: 400;
|
|
241
|
+
};
|
|
242
|
+
type getApiAccountBillingCreditsResponse401 = {
|
|
243
|
+
data: ErrorResponse;
|
|
244
|
+
status: 401;
|
|
245
|
+
};
|
|
246
|
+
type getApiAccountBillingCreditsResponse403 = {
|
|
247
|
+
data: ErrorResponse;
|
|
248
|
+
status: 403;
|
|
249
|
+
};
|
|
250
|
+
type getApiAccountBillingCreditsResponse404 = {
|
|
251
|
+
data: ErrorResponse;
|
|
252
|
+
status: 404;
|
|
253
|
+
};
|
|
254
|
+
type getApiAccountBillingCreditsResponse500 = {
|
|
255
|
+
data: ErrorResponse;
|
|
256
|
+
status: 500;
|
|
257
|
+
};
|
|
258
|
+
type getApiAccountBillingCreditsResponseSuccess = (getApiAccountBillingCreditsResponse200) & {
|
|
259
|
+
headers: Headers;
|
|
260
|
+
};
|
|
261
|
+
type getApiAccountBillingCreditsResponseError = (getApiAccountBillingCreditsResponse400 | getApiAccountBillingCreditsResponse401 | getApiAccountBillingCreditsResponse403 | getApiAccountBillingCreditsResponse404 | getApiAccountBillingCreditsResponse500) & {
|
|
262
|
+
headers: Headers;
|
|
263
|
+
};
|
|
264
|
+
type getApiAccountBillingCreditsResponse = (getApiAccountBillingCreditsResponseSuccess | getApiAccountBillingCreditsResponseError);
|
|
265
|
+
declare const getGetApiAccountBillingCreditsUrl: () => string;
|
|
266
|
+
/**
|
|
267
|
+
* Returns the authenticated user's credit transaction history with support for filtering by transaction type, direction, and date range. Results are paginated.
|
|
268
|
+
* @summary Get Current User's Credit History
|
|
269
|
+
*/
|
|
270
|
+
declare const getApiAccountBillingCredits: (options?: RequestInit) => Promise<getApiAccountBillingCreditsResponse>;
|
|
271
|
+
type postApiAccountBillingCustomerPortalResponse200 = {
|
|
272
|
+
data: ManagementResultResponse;
|
|
273
|
+
status: 200;
|
|
274
|
+
};
|
|
275
|
+
type postApiAccountBillingCustomerPortalResponse400 = {
|
|
276
|
+
data: ErrorResponse;
|
|
277
|
+
status: 400;
|
|
278
|
+
};
|
|
279
|
+
type postApiAccountBillingCustomerPortalResponse401 = {
|
|
280
|
+
data: ErrorResponse;
|
|
281
|
+
status: 401;
|
|
282
|
+
};
|
|
283
|
+
type postApiAccountBillingCustomerPortalResponse403 = {
|
|
284
|
+
data: ErrorResponse;
|
|
285
|
+
status: 403;
|
|
286
|
+
};
|
|
287
|
+
type postApiAccountBillingCustomerPortalResponse404 = {
|
|
288
|
+
data: ErrorResponse;
|
|
289
|
+
status: 404;
|
|
290
|
+
};
|
|
291
|
+
type postApiAccountBillingCustomerPortalResponse500 = {
|
|
292
|
+
data: ErrorResponse;
|
|
293
|
+
status: 500;
|
|
294
|
+
};
|
|
295
|
+
type postApiAccountBillingCustomerPortalResponseSuccess = (postApiAccountBillingCustomerPortalResponse200) & {
|
|
296
|
+
headers: Headers;
|
|
297
|
+
};
|
|
298
|
+
type postApiAccountBillingCustomerPortalResponseError = (postApiAccountBillingCustomerPortalResponse400 | postApiAccountBillingCustomerPortalResponse401 | postApiAccountBillingCustomerPortalResponse403 | postApiAccountBillingCustomerPortalResponse404 | postApiAccountBillingCustomerPortalResponse500) & {
|
|
299
|
+
headers: Headers;
|
|
300
|
+
};
|
|
301
|
+
type postApiAccountBillingCustomerPortalResponse = (postApiAccountBillingCustomerPortalResponseSuccess | postApiAccountBillingCustomerPortalResponseError);
|
|
302
|
+
declare const getPostApiAccountBillingCustomerPortalUrl: () => string;
|
|
303
|
+
/**
|
|
304
|
+
* Returns a URL to access the generic customer portal for managing subscription
|
|
305
|
+
* @summary Access Customer Portal
|
|
306
|
+
*/
|
|
307
|
+
declare const postApiAccountBillingCustomerPortal: (options?: RequestInit) => Promise<postApiAccountBillingCustomerPortalResponse>;
|
|
308
|
+
type postApiAccountBillingManagementResponse200 = {
|
|
309
|
+
data: ManagementResultResponse;
|
|
310
|
+
status: 200;
|
|
311
|
+
};
|
|
312
|
+
type postApiAccountBillingManagementResponse400 = {
|
|
313
|
+
data: ErrorResponse;
|
|
314
|
+
status: 400;
|
|
315
|
+
};
|
|
316
|
+
type postApiAccountBillingManagementResponse401 = {
|
|
317
|
+
data: ErrorResponse;
|
|
318
|
+
status: 401;
|
|
319
|
+
};
|
|
320
|
+
type postApiAccountBillingManagementResponse403 = {
|
|
321
|
+
data: ErrorResponse;
|
|
322
|
+
status: 403;
|
|
323
|
+
};
|
|
324
|
+
type postApiAccountBillingManagementResponse404 = {
|
|
325
|
+
data: ErrorResponse;
|
|
326
|
+
status: 404;
|
|
327
|
+
};
|
|
328
|
+
type postApiAccountBillingManagementResponse500 = {
|
|
329
|
+
data: ErrorResponse;
|
|
330
|
+
status: 500;
|
|
331
|
+
};
|
|
332
|
+
type postApiAccountBillingManagementResponseSuccess = (postApiAccountBillingManagementResponse200) & {
|
|
333
|
+
headers: Headers;
|
|
334
|
+
};
|
|
335
|
+
type postApiAccountBillingManagementResponseError = (postApiAccountBillingManagementResponse400 | postApiAccountBillingManagementResponse401 | postApiAccountBillingManagementResponse403 | postApiAccountBillingManagementResponse404 | postApiAccountBillingManagementResponse500) & {
|
|
336
|
+
headers: Headers;
|
|
337
|
+
};
|
|
338
|
+
type postApiAccountBillingManagementResponse = (postApiAccountBillingManagementResponseSuccess | postApiAccountBillingManagementResponseError);
|
|
339
|
+
declare const getPostApiAccountBillingManagementUrl: () => string;
|
|
340
|
+
/**
|
|
341
|
+
* Returns the action and configuration for a specific management operation
|
|
342
|
+
* @summary Get subscription management operation details
|
|
343
|
+
*/
|
|
344
|
+
declare const postApiAccountBillingManagement: (managementRequest: ManagementRequest, options?: RequestInit) => Promise<postApiAccountBillingManagementResponse>;
|
|
345
|
+
type getApiAccountBillingManagementCapabilitiesResponse200 = {
|
|
346
|
+
data: ManagementCapabilitiesResponse;
|
|
347
|
+
status: 200;
|
|
348
|
+
};
|
|
349
|
+
type getApiAccountBillingManagementCapabilitiesResponse400 = {
|
|
350
|
+
data: ErrorResponse;
|
|
351
|
+
status: 400;
|
|
352
|
+
};
|
|
353
|
+
type getApiAccountBillingManagementCapabilitiesResponse401 = {
|
|
354
|
+
data: ErrorResponse;
|
|
355
|
+
status: 401;
|
|
356
|
+
};
|
|
357
|
+
type getApiAccountBillingManagementCapabilitiesResponse403 = {
|
|
358
|
+
data: ErrorResponse;
|
|
359
|
+
status: 403;
|
|
360
|
+
};
|
|
361
|
+
type getApiAccountBillingManagementCapabilitiesResponse404 = {
|
|
362
|
+
data: ErrorResponse;
|
|
363
|
+
status: 404;
|
|
364
|
+
};
|
|
365
|
+
type getApiAccountBillingManagementCapabilitiesResponse500 = {
|
|
366
|
+
data: ErrorResponse;
|
|
367
|
+
status: 500;
|
|
368
|
+
};
|
|
369
|
+
type getApiAccountBillingManagementCapabilitiesResponseSuccess = (getApiAccountBillingManagementCapabilitiesResponse200) & {
|
|
370
|
+
headers: Headers;
|
|
371
|
+
};
|
|
372
|
+
type getApiAccountBillingManagementCapabilitiesResponseError = (getApiAccountBillingManagementCapabilitiesResponse400 | getApiAccountBillingManagementCapabilitiesResponse401 | getApiAccountBillingManagementCapabilitiesResponse403 | getApiAccountBillingManagementCapabilitiesResponse404 | getApiAccountBillingManagementCapabilitiesResponse500) & {
|
|
373
|
+
headers: Headers;
|
|
374
|
+
};
|
|
375
|
+
type getApiAccountBillingManagementCapabilitiesResponse = (getApiAccountBillingManagementCapabilitiesResponseSuccess | getApiAccountBillingManagementCapabilitiesResponseError);
|
|
376
|
+
declare const getGetApiAccountBillingManagementCapabilitiesUrl: () => string;
|
|
377
|
+
/**
|
|
378
|
+
* Returns the subscription management capabilities for the current user's gateway
|
|
379
|
+
* @summary Get subscription management capabilities
|
|
380
|
+
*/
|
|
381
|
+
declare const getApiAccountBillingManagementCapabilities: (options?: RequestInit) => Promise<getApiAccountBillingManagementCapabilitiesResponse>;
|
|
382
|
+
type postApiAccountBillingPauseResponse200 = {
|
|
383
|
+
data: ManagementResultResponse;
|
|
384
|
+
status: 200;
|
|
385
|
+
};
|
|
386
|
+
type postApiAccountBillingPauseResponse400 = {
|
|
387
|
+
data: ErrorResponse;
|
|
388
|
+
status: 400;
|
|
389
|
+
};
|
|
390
|
+
type postApiAccountBillingPauseResponse401 = {
|
|
391
|
+
data: ErrorResponse;
|
|
392
|
+
status: 401;
|
|
393
|
+
};
|
|
394
|
+
type postApiAccountBillingPauseResponse403 = {
|
|
395
|
+
data: ErrorResponse;
|
|
396
|
+
status: 403;
|
|
397
|
+
};
|
|
398
|
+
type postApiAccountBillingPauseResponse404 = {
|
|
399
|
+
data: ErrorResponse;
|
|
400
|
+
status: 404;
|
|
401
|
+
};
|
|
402
|
+
type postApiAccountBillingPauseResponse500 = {
|
|
403
|
+
data: ErrorResponse;
|
|
404
|
+
status: 500;
|
|
405
|
+
};
|
|
406
|
+
type postApiAccountBillingPauseResponseSuccess = (postApiAccountBillingPauseResponse200) & {
|
|
407
|
+
headers: Headers;
|
|
408
|
+
};
|
|
409
|
+
type postApiAccountBillingPauseResponseError = (postApiAccountBillingPauseResponse400 | postApiAccountBillingPauseResponse401 | postApiAccountBillingPauseResponse403 | postApiAccountBillingPauseResponse404 | postApiAccountBillingPauseResponse500) & {
|
|
410
|
+
headers: Headers;
|
|
411
|
+
};
|
|
412
|
+
type postApiAccountBillingPauseResponse = (postApiAccountBillingPauseResponseSuccess | postApiAccountBillingPauseResponseError);
|
|
413
|
+
declare const getPostApiAccountBillingPauseUrl: () => string;
|
|
414
|
+
/**
|
|
415
|
+
* Executes the pause operation on the current subscription. Validates that the gateway supports pausing and returns the appropriate action
|
|
416
|
+
* @summary Pause subscription
|
|
417
|
+
*/
|
|
418
|
+
declare const postApiAccountBillingPause: (options?: RequestInit) => Promise<postApiAccountBillingPauseResponse>;
|
|
419
|
+
type postApiAccountBillingResumeResponse200 = {
|
|
420
|
+
data: ManagementResultResponse;
|
|
421
|
+
status: 200;
|
|
422
|
+
};
|
|
423
|
+
type postApiAccountBillingResumeResponse400 = {
|
|
424
|
+
data: ErrorResponse;
|
|
425
|
+
status: 400;
|
|
426
|
+
};
|
|
427
|
+
type postApiAccountBillingResumeResponse401 = {
|
|
428
|
+
data: ErrorResponse;
|
|
429
|
+
status: 401;
|
|
430
|
+
};
|
|
431
|
+
type postApiAccountBillingResumeResponse403 = {
|
|
432
|
+
data: ErrorResponse;
|
|
433
|
+
status: 403;
|
|
434
|
+
};
|
|
435
|
+
type postApiAccountBillingResumeResponse404 = {
|
|
436
|
+
data: ErrorResponse;
|
|
437
|
+
status: 404;
|
|
438
|
+
};
|
|
439
|
+
type postApiAccountBillingResumeResponse500 = {
|
|
440
|
+
data: ErrorResponse;
|
|
441
|
+
status: 500;
|
|
442
|
+
};
|
|
443
|
+
type postApiAccountBillingResumeResponseSuccess = (postApiAccountBillingResumeResponse200) & {
|
|
444
|
+
headers: Headers;
|
|
445
|
+
};
|
|
446
|
+
type postApiAccountBillingResumeResponseError = (postApiAccountBillingResumeResponse400 | postApiAccountBillingResumeResponse401 | postApiAccountBillingResumeResponse403 | postApiAccountBillingResumeResponse404 | postApiAccountBillingResumeResponse500) & {
|
|
447
|
+
headers: Headers;
|
|
448
|
+
};
|
|
449
|
+
type postApiAccountBillingResumeResponse = (postApiAccountBillingResumeResponseSuccess | postApiAccountBillingResumeResponseError);
|
|
450
|
+
declare const getPostApiAccountBillingResumeUrl: () => string;
|
|
451
|
+
/**
|
|
452
|
+
* Executes the resume operation on the current subscription. Validates that the gateway supports resuming and returns the appropriate action
|
|
453
|
+
* @summary Resume subscription
|
|
454
|
+
*/
|
|
455
|
+
declare const postApiAccountBillingResume: (options?: RequestInit) => Promise<postApiAccountBillingResumeResponse>;
|
|
456
|
+
type getApiAccountBillingSubscriptionResponse200 = {
|
|
457
|
+
data: SubscriptionStatusResponse;
|
|
458
|
+
status: 200;
|
|
459
|
+
};
|
|
460
|
+
type getApiAccountBillingSubscriptionResponse400 = {
|
|
461
|
+
data: ErrorResponse;
|
|
462
|
+
status: 400;
|
|
463
|
+
};
|
|
464
|
+
type getApiAccountBillingSubscriptionResponse401 = {
|
|
465
|
+
data: ErrorResponse;
|
|
466
|
+
status: 401;
|
|
467
|
+
};
|
|
468
|
+
type getApiAccountBillingSubscriptionResponse403 = {
|
|
469
|
+
data: ErrorResponse;
|
|
470
|
+
status: 403;
|
|
471
|
+
};
|
|
472
|
+
type getApiAccountBillingSubscriptionResponse404 = {
|
|
473
|
+
data: ErrorResponse;
|
|
474
|
+
status: 404;
|
|
475
|
+
};
|
|
476
|
+
type getApiAccountBillingSubscriptionResponse500 = {
|
|
477
|
+
data: ErrorResponse;
|
|
478
|
+
status: 500;
|
|
479
|
+
};
|
|
480
|
+
type getApiAccountBillingSubscriptionResponseSuccess = (getApiAccountBillingSubscriptionResponse200) & {
|
|
481
|
+
headers: Headers;
|
|
482
|
+
};
|
|
483
|
+
type getApiAccountBillingSubscriptionResponseError = (getApiAccountBillingSubscriptionResponse400 | getApiAccountBillingSubscriptionResponse401 | getApiAccountBillingSubscriptionResponse403 | getApiAccountBillingSubscriptionResponse404 | getApiAccountBillingSubscriptionResponse500) & {
|
|
484
|
+
headers: Headers;
|
|
485
|
+
};
|
|
486
|
+
type getApiAccountBillingSubscriptionResponse = (getApiAccountBillingSubscriptionResponseSuccess | getApiAccountBillingSubscriptionResponseError);
|
|
487
|
+
declare const getGetApiAccountBillingSubscriptionUrl: () => string;
|
|
488
|
+
/**
|
|
489
|
+
* Returns the subscription status for the authenticated user
|
|
490
|
+
* @summary Get subscription status
|
|
491
|
+
*/
|
|
492
|
+
declare const getApiAccountBillingSubscription: (options?: RequestInit) => Promise<getApiAccountBillingSubscriptionResponse>;
|
|
493
|
+
type getApiAccountBillingSubscriptionEventsResponse200 = {
|
|
494
|
+
data: void;
|
|
495
|
+
status: 200;
|
|
496
|
+
};
|
|
497
|
+
type getApiAccountBillingSubscriptionEventsResponse400 = {
|
|
498
|
+
data: ErrorResponse;
|
|
499
|
+
status: 400;
|
|
500
|
+
};
|
|
501
|
+
type getApiAccountBillingSubscriptionEventsResponse401 = {
|
|
502
|
+
data: ErrorResponse;
|
|
503
|
+
status: 401;
|
|
504
|
+
};
|
|
505
|
+
type getApiAccountBillingSubscriptionEventsResponse403 = {
|
|
506
|
+
data: ErrorResponse;
|
|
507
|
+
status: 403;
|
|
508
|
+
};
|
|
509
|
+
type getApiAccountBillingSubscriptionEventsResponse404 = {
|
|
510
|
+
data: ErrorResponse;
|
|
511
|
+
status: 404;
|
|
512
|
+
};
|
|
513
|
+
type getApiAccountBillingSubscriptionEventsResponse500 = {
|
|
514
|
+
data: ErrorResponse;
|
|
515
|
+
status: 500;
|
|
516
|
+
};
|
|
517
|
+
type getApiAccountBillingSubscriptionEventsResponseSuccess = (getApiAccountBillingSubscriptionEventsResponse200) & {
|
|
518
|
+
headers: Headers;
|
|
519
|
+
};
|
|
520
|
+
type getApiAccountBillingSubscriptionEventsResponseError = (getApiAccountBillingSubscriptionEventsResponse400 | getApiAccountBillingSubscriptionEventsResponse401 | getApiAccountBillingSubscriptionEventsResponse403 | getApiAccountBillingSubscriptionEventsResponse404 | getApiAccountBillingSubscriptionEventsResponse500) & {
|
|
521
|
+
headers: Headers;
|
|
522
|
+
};
|
|
523
|
+
type getApiAccountBillingSubscriptionEventsResponse = (getApiAccountBillingSubscriptionEventsResponseSuccess | getApiAccountBillingSubscriptionEventsResponseError);
|
|
524
|
+
declare const getGetApiAccountBillingSubscriptionEventsUrl: () => string;
|
|
525
|
+
/**
|
|
526
|
+
* Establishes a Server-Sent Events (SSE) connection for real-time subscription updates including payment completions, subscription activations, and plan changes
|
|
527
|
+
* @summary Subscribe to subscription events via SSE
|
|
528
|
+
*/
|
|
529
|
+
declare const getApiAccountBillingSubscriptionEvents: (options?: RequestInit) => Promise<getApiAccountBillingSubscriptionEventsResponse>;
|
|
530
|
+
type postApiAccountBillingWebhooksGatewayTypeResponse200 = {
|
|
531
|
+
data: ErrorResponse;
|
|
532
|
+
status: 200;
|
|
533
|
+
};
|
|
534
|
+
type postApiAccountBillingWebhooksGatewayTypeResponse204 = {
|
|
535
|
+
data: void;
|
|
536
|
+
status: 204;
|
|
537
|
+
};
|
|
538
|
+
type postApiAccountBillingWebhooksGatewayTypeResponse400 = {
|
|
539
|
+
data: ErrorResponse;
|
|
540
|
+
status: 400;
|
|
541
|
+
};
|
|
542
|
+
type postApiAccountBillingWebhooksGatewayTypeResponse401 = {
|
|
543
|
+
data: ErrorResponse;
|
|
544
|
+
status: 401;
|
|
545
|
+
};
|
|
546
|
+
type postApiAccountBillingWebhooksGatewayTypeResponse403 = {
|
|
547
|
+
data: ErrorResponse;
|
|
548
|
+
status: 403;
|
|
549
|
+
};
|
|
550
|
+
type postApiAccountBillingWebhooksGatewayTypeResponse404 = {
|
|
551
|
+
data: ErrorResponse;
|
|
552
|
+
status: 404;
|
|
553
|
+
};
|
|
554
|
+
type postApiAccountBillingWebhooksGatewayTypeResponse413 = {
|
|
555
|
+
data: ErrorResponse;
|
|
556
|
+
status: 413;
|
|
557
|
+
};
|
|
558
|
+
type postApiAccountBillingWebhooksGatewayTypeResponse500 = {
|
|
559
|
+
data: ErrorResponse;
|
|
560
|
+
status: 500;
|
|
561
|
+
};
|
|
562
|
+
type postApiAccountBillingWebhooksGatewayTypeResponseSuccess = (postApiAccountBillingWebhooksGatewayTypeResponse200 | postApiAccountBillingWebhooksGatewayTypeResponse204) & {
|
|
563
|
+
headers: Headers;
|
|
564
|
+
};
|
|
565
|
+
type postApiAccountBillingWebhooksGatewayTypeResponseError = (postApiAccountBillingWebhooksGatewayTypeResponse400 | postApiAccountBillingWebhooksGatewayTypeResponse401 | postApiAccountBillingWebhooksGatewayTypeResponse403 | postApiAccountBillingWebhooksGatewayTypeResponse404 | postApiAccountBillingWebhooksGatewayTypeResponse413 | postApiAccountBillingWebhooksGatewayTypeResponse500) & {
|
|
566
|
+
headers: Headers;
|
|
567
|
+
};
|
|
568
|
+
type postApiAccountBillingWebhooksGatewayTypeResponse = (postApiAccountBillingWebhooksGatewayTypeResponseSuccess | postApiAccountBillingWebhooksGatewayTypeResponseError);
|
|
569
|
+
declare const getPostApiAccountBillingWebhooksGatewayTypeUrl: (gatewayType: string) => string;
|
|
570
|
+
/**
|
|
571
|
+
* Handles incoming webhooks from payment gateways such as Stripe, PayPal, etc.
|
|
572
|
+
* @summary Process payment gateway webhook
|
|
573
|
+
*/
|
|
574
|
+
declare const postApiAccountBillingWebhooksGatewayType: (gatewayType: string, postApiAccountBillingWebhooksGatewayTypeBody: PostApiAccountBillingWebhooksGatewayTypeBody, options?: RequestInit) => Promise<postApiAccountBillingWebhooksGatewayTypeResponse>;
|
|
575
|
+
type getApiBillingGatewaysResponse200 = {
|
|
576
|
+
data: GatewayListResponse;
|
|
577
|
+
status: 200;
|
|
578
|
+
};
|
|
579
|
+
type getApiBillingGatewaysResponse400 = {
|
|
580
|
+
data: ErrorResponse;
|
|
581
|
+
status: 400;
|
|
582
|
+
};
|
|
583
|
+
type getApiBillingGatewaysResponse401 = {
|
|
584
|
+
data: ErrorResponse;
|
|
585
|
+
status: 401;
|
|
586
|
+
};
|
|
587
|
+
type getApiBillingGatewaysResponse403 = {
|
|
588
|
+
data: ErrorResponse;
|
|
589
|
+
status: 403;
|
|
590
|
+
};
|
|
591
|
+
type getApiBillingGatewaysResponse404 = {
|
|
592
|
+
data: ErrorResponse;
|
|
593
|
+
status: 404;
|
|
594
|
+
};
|
|
595
|
+
type getApiBillingGatewaysResponse500 = {
|
|
596
|
+
data: ErrorResponse;
|
|
597
|
+
status: 500;
|
|
598
|
+
};
|
|
599
|
+
type getApiBillingGatewaysResponseSuccess = (getApiBillingGatewaysResponse200) & {
|
|
600
|
+
headers: Headers;
|
|
601
|
+
};
|
|
602
|
+
type getApiBillingGatewaysResponseError = (getApiBillingGatewaysResponse400 | getApiBillingGatewaysResponse401 | getApiBillingGatewaysResponse403 | getApiBillingGatewaysResponse404 | getApiBillingGatewaysResponse500) & {
|
|
603
|
+
headers: Headers;
|
|
604
|
+
};
|
|
605
|
+
type getApiBillingGatewaysResponse = (getApiBillingGatewaysResponseSuccess | getApiBillingGatewaysResponseError);
|
|
606
|
+
declare const getGetApiBillingGatewaysUrl: () => string;
|
|
607
|
+
/**
|
|
608
|
+
* Returns list of available payment gateways with metadata
|
|
609
|
+
* @summary List Available Payment Gateways
|
|
610
|
+
*/
|
|
611
|
+
declare const getApiBillingGateways: (options?: RequestInit) => Promise<getApiBillingGatewaysResponse>;
|
|
612
|
+
type getApiBillingGatewaysIdLogoResponse200 = {
|
|
613
|
+
data: void;
|
|
614
|
+
status: 200;
|
|
615
|
+
};
|
|
616
|
+
type getApiBillingGatewaysIdLogoResponse400 = {
|
|
617
|
+
data: ErrorResponse;
|
|
618
|
+
status: 400;
|
|
619
|
+
};
|
|
620
|
+
type getApiBillingGatewaysIdLogoResponse401 = {
|
|
621
|
+
data: ErrorResponse;
|
|
622
|
+
status: 401;
|
|
623
|
+
};
|
|
624
|
+
type getApiBillingGatewaysIdLogoResponse403 = {
|
|
625
|
+
data: ErrorResponse;
|
|
626
|
+
status: 403;
|
|
627
|
+
};
|
|
628
|
+
type getApiBillingGatewaysIdLogoResponse404 = {
|
|
629
|
+
data: ErrorResponse;
|
|
630
|
+
status: 404;
|
|
631
|
+
};
|
|
632
|
+
type getApiBillingGatewaysIdLogoResponse500 = {
|
|
633
|
+
data: ErrorResponse;
|
|
634
|
+
status: 500;
|
|
635
|
+
};
|
|
636
|
+
type getApiBillingGatewaysIdLogoResponseSuccess = (getApiBillingGatewaysIdLogoResponse200) & {
|
|
637
|
+
headers: Headers;
|
|
638
|
+
};
|
|
639
|
+
type getApiBillingGatewaysIdLogoResponseError = (getApiBillingGatewaysIdLogoResponse400 | getApiBillingGatewaysIdLogoResponse401 | getApiBillingGatewaysIdLogoResponse403 | getApiBillingGatewaysIdLogoResponse404 | getApiBillingGatewaysIdLogoResponse500) & {
|
|
640
|
+
headers: Headers;
|
|
641
|
+
};
|
|
642
|
+
type getApiBillingGatewaysIdLogoResponse = (getApiBillingGatewaysIdLogoResponseSuccess | getApiBillingGatewaysIdLogoResponseError);
|
|
643
|
+
declare const getGetApiBillingGatewaysIdLogoUrl: (id: string) => string;
|
|
644
|
+
/**
|
|
645
|
+
* Returns embedded logo image for payment gateway
|
|
646
|
+
* @summary Get Gateway Logo
|
|
647
|
+
*/
|
|
648
|
+
declare const getApiBillingGatewaysIdLogo: (id: string, options?: RequestInit) => Promise<getApiBillingGatewaysIdLogoResponse>;
|
|
649
|
+
type getApiBillingPlansResponse200 = {
|
|
650
|
+
data: PublicPricingPlansListResponse;
|
|
651
|
+
status: 200;
|
|
652
|
+
};
|
|
653
|
+
type getApiBillingPlansResponse400 = {
|
|
654
|
+
data: ErrorResponse;
|
|
655
|
+
status: 400;
|
|
656
|
+
};
|
|
657
|
+
type getApiBillingPlansResponse401 = {
|
|
658
|
+
data: ErrorResponse;
|
|
659
|
+
status: 401;
|
|
660
|
+
};
|
|
661
|
+
type getApiBillingPlansResponse403 = {
|
|
662
|
+
data: ErrorResponse;
|
|
663
|
+
status: 403;
|
|
664
|
+
};
|
|
665
|
+
type getApiBillingPlansResponse404 = {
|
|
666
|
+
data: ErrorResponse;
|
|
667
|
+
status: 404;
|
|
668
|
+
};
|
|
669
|
+
type getApiBillingPlansResponse500 = {
|
|
670
|
+
data: ErrorResponse;
|
|
671
|
+
status: 500;
|
|
672
|
+
};
|
|
673
|
+
type getApiBillingPlansResponseSuccess = (getApiBillingPlansResponse200) & {
|
|
674
|
+
headers: Headers;
|
|
675
|
+
};
|
|
676
|
+
type getApiBillingPlansResponseError = (getApiBillingPlansResponse400 | getApiBillingPlansResponse401 | getApiBillingPlansResponse403 | getApiBillingPlansResponse404 | getApiBillingPlansResponse500) & {
|
|
677
|
+
headers: Headers;
|
|
678
|
+
};
|
|
679
|
+
type getApiBillingPlansResponse = (getApiBillingPlansResponseSuccess | getApiBillingPlansResponseError);
|
|
680
|
+
declare const getGetApiBillingPlansUrl: () => string;
|
|
681
|
+
/**
|
|
682
|
+
* Returns pricing plans with their periods for user's effective price line
|
|
683
|
+
* @summary List Pricing Plans
|
|
684
|
+
*/
|
|
685
|
+
declare const getApiBillingPlans: (options?: RequestInit) => Promise<getApiBillingPlansResponse>;
|
|
686
|
+
//#endregion
|
|
687
|
+
export { getApiAccountBillingBalance, getApiAccountBillingBalanceResponse, getApiAccountBillingBalanceResponse200, getApiAccountBillingBalanceResponse400, getApiAccountBillingBalanceResponse401, getApiAccountBillingBalanceResponse403, getApiAccountBillingBalanceResponse404, getApiAccountBillingBalanceResponse500, getApiAccountBillingBalanceResponseError, getApiAccountBillingBalanceResponseSuccess, getApiAccountBillingCheckoutSessionSessionIdStatus, getApiAccountBillingCheckoutSessionSessionIdStatusResponse, getApiAccountBillingCheckoutSessionSessionIdStatusResponse200, getApiAccountBillingCheckoutSessionSessionIdStatusResponse400, getApiAccountBillingCheckoutSessionSessionIdStatusResponse401, getApiAccountBillingCheckoutSessionSessionIdStatusResponse403, getApiAccountBillingCheckoutSessionSessionIdStatusResponse404, getApiAccountBillingCheckoutSessionSessionIdStatusResponse500, getApiAccountBillingCheckoutSessionSessionIdStatusResponse501, getApiAccountBillingCheckoutSessionSessionIdStatusResponseError, getApiAccountBillingCheckoutSessionSessionIdStatusResponseSuccess, getApiAccountBillingCheckoutUiPlanId, getApiAccountBillingCheckoutUiPlanIdResponse, getApiAccountBillingCheckoutUiPlanIdResponse200, getApiAccountBillingCheckoutUiPlanIdResponse400, getApiAccountBillingCheckoutUiPlanIdResponse401, getApiAccountBillingCheckoutUiPlanIdResponse403, getApiAccountBillingCheckoutUiPlanIdResponse404, getApiAccountBillingCheckoutUiPlanIdResponse409, getApiAccountBillingCheckoutUiPlanIdResponse500, getApiAccountBillingCheckoutUiPlanIdResponseError, getApiAccountBillingCheckoutUiPlanIdResponseSuccess, getApiAccountBillingCredits, getApiAccountBillingCreditsResponse, getApiAccountBillingCreditsResponse200, getApiAccountBillingCreditsResponse400, getApiAccountBillingCreditsResponse401, getApiAccountBillingCreditsResponse403, getApiAccountBillingCreditsResponse404, getApiAccountBillingCreditsResponse500, getApiAccountBillingCreditsResponseError, getApiAccountBillingCreditsResponseSuccess, getApiAccountBillingManagementCapabilities, getApiAccountBillingManagementCapabilitiesResponse, getApiAccountBillingManagementCapabilitiesResponse200, getApiAccountBillingManagementCapabilitiesResponse400, getApiAccountBillingManagementCapabilitiesResponse401, getApiAccountBillingManagementCapabilitiesResponse403, getApiAccountBillingManagementCapabilitiesResponse404, getApiAccountBillingManagementCapabilitiesResponse500, getApiAccountBillingManagementCapabilitiesResponseError, getApiAccountBillingManagementCapabilitiesResponseSuccess, getApiAccountBillingSubscription, getApiAccountBillingSubscriptionEvents, getApiAccountBillingSubscriptionEventsResponse, getApiAccountBillingSubscriptionEventsResponse200, getApiAccountBillingSubscriptionEventsResponse400, getApiAccountBillingSubscriptionEventsResponse401, getApiAccountBillingSubscriptionEventsResponse403, getApiAccountBillingSubscriptionEventsResponse404, getApiAccountBillingSubscriptionEventsResponse500, getApiAccountBillingSubscriptionEventsResponseError, getApiAccountBillingSubscriptionEventsResponseSuccess, getApiAccountBillingSubscriptionResponse, getApiAccountBillingSubscriptionResponse200, getApiAccountBillingSubscriptionResponse400, getApiAccountBillingSubscriptionResponse401, getApiAccountBillingSubscriptionResponse403, getApiAccountBillingSubscriptionResponse404, getApiAccountBillingSubscriptionResponse500, getApiAccountBillingSubscriptionResponseError, getApiAccountBillingSubscriptionResponseSuccess, getApiBillingGateways, getApiBillingGatewaysIdLogo, getApiBillingGatewaysIdLogoResponse, getApiBillingGatewaysIdLogoResponse200, getApiBillingGatewaysIdLogoResponse400, getApiBillingGatewaysIdLogoResponse401, getApiBillingGatewaysIdLogoResponse403, getApiBillingGatewaysIdLogoResponse404, getApiBillingGatewaysIdLogoResponse500, getApiBillingGatewaysIdLogoResponseError, getApiBillingGatewaysIdLogoResponseSuccess, getApiBillingGatewaysResponse, getApiBillingGatewaysResponse200, getApiBillingGatewaysResponse400, getApiBillingGatewaysResponse401, getApiBillingGatewaysResponse403, getApiBillingGatewaysResponse404, getApiBillingGatewaysResponse500, getApiBillingGatewaysResponseError, getApiBillingGatewaysResponseSuccess, getApiBillingPlans, getApiBillingPlansResponse, getApiBillingPlansResponse200, getApiBillingPlansResponse400, getApiBillingPlansResponse401, getApiBillingPlansResponse403, getApiBillingPlansResponse404, getApiBillingPlansResponse500, getApiBillingPlansResponseError, getApiBillingPlansResponseSuccess, getGetApiAccountBillingBalanceUrl, getGetApiAccountBillingCheckoutSessionSessionIdStatusUrl, getGetApiAccountBillingCheckoutUiPlanIdUrl, getGetApiAccountBillingCreditsUrl, getGetApiAccountBillingManagementCapabilitiesUrl, getGetApiAccountBillingSubscriptionEventsUrl, getGetApiAccountBillingSubscriptionUrl, getGetApiBillingGatewaysIdLogoUrl, getGetApiBillingGatewaysUrl, getGetApiBillingPlansUrl, getPostApiAccountBillingCancelAbortUrl, getPostApiAccountBillingCancelUrl, getPostApiAccountBillingChangePlanUrl, getPostApiAccountBillingCustomerPortalUrl, getPostApiAccountBillingManagementUrl, getPostApiAccountBillingPauseUrl, getPostApiAccountBillingResumeUrl, getPostApiAccountBillingWebhooksGatewayTypeUrl, postApiAccountBillingCancel, postApiAccountBillingCancelAbort, postApiAccountBillingCancelAbortResponse, postApiAccountBillingCancelAbortResponse200, postApiAccountBillingCancelAbortResponse400, postApiAccountBillingCancelAbortResponse401, postApiAccountBillingCancelAbortResponse403, postApiAccountBillingCancelAbortResponse404, postApiAccountBillingCancelAbortResponse500, postApiAccountBillingCancelAbortResponseError, postApiAccountBillingCancelAbortResponseSuccess, postApiAccountBillingCancelResponse, postApiAccountBillingCancelResponse200, postApiAccountBillingCancelResponse400, postApiAccountBillingCancelResponse401, postApiAccountBillingCancelResponse403, postApiAccountBillingCancelResponse404, postApiAccountBillingCancelResponse500, postApiAccountBillingCancelResponseError, postApiAccountBillingCancelResponseSuccess, postApiAccountBillingChangePlan, postApiAccountBillingChangePlanResponse, postApiAccountBillingChangePlanResponse200, postApiAccountBillingChangePlanResponse400, postApiAccountBillingChangePlanResponse401, postApiAccountBillingChangePlanResponse403, postApiAccountBillingChangePlanResponse404, postApiAccountBillingChangePlanResponse500, postApiAccountBillingChangePlanResponseError, postApiAccountBillingChangePlanResponseSuccess, postApiAccountBillingCustomerPortal, postApiAccountBillingCustomerPortalResponse, postApiAccountBillingCustomerPortalResponse200, postApiAccountBillingCustomerPortalResponse400, postApiAccountBillingCustomerPortalResponse401, postApiAccountBillingCustomerPortalResponse403, postApiAccountBillingCustomerPortalResponse404, postApiAccountBillingCustomerPortalResponse500, postApiAccountBillingCustomerPortalResponseError, postApiAccountBillingCustomerPortalResponseSuccess, postApiAccountBillingManagement, postApiAccountBillingManagementResponse, postApiAccountBillingManagementResponse200, postApiAccountBillingManagementResponse400, postApiAccountBillingManagementResponse401, postApiAccountBillingManagementResponse403, postApiAccountBillingManagementResponse404, postApiAccountBillingManagementResponse500, postApiAccountBillingManagementResponseError, postApiAccountBillingManagementResponseSuccess, postApiAccountBillingPause, postApiAccountBillingPauseResponse, postApiAccountBillingPauseResponse200, postApiAccountBillingPauseResponse400, postApiAccountBillingPauseResponse401, postApiAccountBillingPauseResponse403, postApiAccountBillingPauseResponse404, postApiAccountBillingPauseResponse500, postApiAccountBillingPauseResponseError, postApiAccountBillingPauseResponseSuccess, postApiAccountBillingResume, postApiAccountBillingResumeResponse, postApiAccountBillingResumeResponse200, postApiAccountBillingResumeResponse400, postApiAccountBillingResumeResponse401, postApiAccountBillingResumeResponse403, postApiAccountBillingResumeResponse404, postApiAccountBillingResumeResponse500, postApiAccountBillingResumeResponseError, postApiAccountBillingResumeResponseSuccess, postApiAccountBillingWebhooksGatewayType, postApiAccountBillingWebhooksGatewayTypeResponse, postApiAccountBillingWebhooksGatewayTypeResponse200, postApiAccountBillingWebhooksGatewayTypeResponse204, postApiAccountBillingWebhooksGatewayTypeResponse400, postApiAccountBillingWebhooksGatewayTypeResponse401, postApiAccountBillingWebhooksGatewayTypeResponse403, postApiAccountBillingWebhooksGatewayTypeResponse404, postApiAccountBillingWebhooksGatewayTypeResponse413, postApiAccountBillingWebhooksGatewayTypeResponse500, postApiAccountBillingWebhooksGatewayTypeResponseError, postApiAccountBillingWebhooksGatewayTypeResponseSuccess };
|
|
688
|
+
//# sourceMappingURL=billing.d.ts.map
|