@lumeweb/portal-sdk 0.0.2 → 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.
@@ -0,0 +1,444 @@
1
+ //#region src/account/generated/billing.ts
2
+ const getGetApiAccountBillingBalanceUrl = () => {
3
+ return `/api/account/billing/balance`;
4
+ };
5
+ /**
6
+ * Returns the authenticated user's current credit balance. Positive balance indicates available credits, negative balance indicates outstanding dues.
7
+ * @summary Get Current User's Credit Balance
8
+ */
9
+ const getApiAccountBillingBalance = async (options) => {
10
+ const res = await fetch(getGetApiAccountBillingBalanceUrl(), {
11
+ ...options,
12
+ method: "GET"
13
+ });
14
+ const body = [
15
+ 204,
16
+ 205,
17
+ 304
18
+ ].includes(res.status) ? null : await res.text();
19
+ return {
20
+ data: body ? JSON.parse(body) : {},
21
+ status: res.status,
22
+ headers: res.headers
23
+ };
24
+ };
25
+ const getPostApiAccountBillingCancelUrl = () => {
26
+ return `/api/account/billing/cancel`;
27
+ };
28
+ /**
29
+ * Executes the cancel operation on the current subscription. Validates that the gateway supports cancellation and returns the appropriate action
30
+ * @summary Cancel subscription
31
+ */
32
+ const postApiAccountBillingCancel = async (options) => {
33
+ const res = await fetch(getPostApiAccountBillingCancelUrl(), {
34
+ ...options,
35
+ method: "POST"
36
+ });
37
+ const body = [
38
+ 204,
39
+ 205,
40
+ 304
41
+ ].includes(res.status) ? null : await res.text();
42
+ return {
43
+ data: body ? JSON.parse(body) : {},
44
+ status: res.status,
45
+ headers: res.headers
46
+ };
47
+ };
48
+ const getPostApiAccountBillingCancelAbortUrl = () => {
49
+ return `/api/account/billing/cancel/abort`;
50
+ };
51
+ /**
52
+ * Cancels a scheduled subscription cancellation, restoring the subscription to active status
53
+ * @summary Abort scheduled cancellation
54
+ */
55
+ const postApiAccountBillingCancelAbort = async (options) => {
56
+ const res = await fetch(getPostApiAccountBillingCancelAbortUrl(), {
57
+ ...options,
58
+ method: "POST"
59
+ });
60
+ const body = [
61
+ 204,
62
+ 205,
63
+ 304
64
+ ].includes(res.status) ? null : await res.text();
65
+ return {
66
+ data: body ? JSON.parse(body) : {},
67
+ status: res.status,
68
+ headers: res.headers
69
+ };
70
+ };
71
+ const getPostApiAccountBillingChangePlanUrl = () => {
72
+ return `/api/account/billing/change-plan`;
73
+ };
74
+ /**
75
+ * Executes the change plan operation on the current subscription. Validates that the gateway supports plan changes and returns the appropriate action
76
+ * @summary Change subscription plan
77
+ */
78
+ const postApiAccountBillingChangePlan = async (changePlanRequest, options) => {
79
+ const res = await fetch(getPostApiAccountBillingChangePlanUrl(), {
80
+ ...options,
81
+ method: "POST",
82
+ headers: {
83
+ "Content-Type": "application/json",
84
+ ...options?.headers
85
+ },
86
+ body: JSON.stringify(changePlanRequest)
87
+ });
88
+ const body = [
89
+ 204,
90
+ 205,
91
+ 304
92
+ ].includes(res.status) ? null : await res.text();
93
+ return {
94
+ data: body ? JSON.parse(body) : {},
95
+ status: res.status,
96
+ headers: res.headers
97
+ };
98
+ };
99
+ const getGetApiAccountBillingCheckoutSessionSessionIdStatusUrl = (sessionId, params) => {
100
+ const normalizedParams = new URLSearchParams();
101
+ Object.entries(params || {}).forEach(([key, value]) => {
102
+ if (value !== void 0) normalizedParams.append(key, value === null ? "null" : value.toString());
103
+ });
104
+ const stringifiedParams = normalizedParams.toString();
105
+ return stringifiedParams.length > 0 ? `/api/account/billing/checkout/session/${sessionId}/status?${stringifiedParams}` : `/api/account/billing/checkout/session/${sessionId}/status`;
106
+ };
107
+ /**
108
+ * 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.
109
+ * @summary Get Checkout Session Status
110
+ */
111
+ const getApiAccountBillingCheckoutSessionSessionIdStatus = async (sessionId, params, options) => {
112
+ const res = await fetch(getGetApiAccountBillingCheckoutSessionSessionIdStatusUrl(sessionId, params), {
113
+ ...options,
114
+ method: "GET"
115
+ });
116
+ const body = [
117
+ 204,
118
+ 205,
119
+ 304
120
+ ].includes(res.status) ? null : await res.text();
121
+ return {
122
+ data: body ? JSON.parse(body) : {},
123
+ status: res.status,
124
+ headers: res.headers
125
+ };
126
+ };
127
+ const getGetApiAccountBillingCheckoutUiPlanIdUrl = (planId, params) => {
128
+ const normalizedParams = new URLSearchParams();
129
+ Object.entries(params || {}).forEach(([key, value]) => {
130
+ if (value !== void 0) normalizedParams.append(key, value === null ? "null" : value.toString());
131
+ });
132
+ const stringifiedParams = normalizedParams.toString();
133
+ return stringifiedParams.length > 0 ? `/api/account/billing/checkout/ui/${planId}?${stringifiedParams}` : `/api/account/billing/checkout/ui/${planId}`;
134
+ };
135
+ /**
136
+ * 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
137
+ * @summary Get Checkout UI Fragments
138
+ */
139
+ const getApiAccountBillingCheckoutUiPlanId = async (planId, params, options) => {
140
+ const res = await fetch(getGetApiAccountBillingCheckoutUiPlanIdUrl(planId, params), {
141
+ ...options,
142
+ method: "GET"
143
+ });
144
+ const body = [
145
+ 204,
146
+ 205,
147
+ 304
148
+ ].includes(res.status) ? null : await res.text();
149
+ return {
150
+ data: body ? JSON.parse(body) : {},
151
+ status: res.status,
152
+ headers: res.headers
153
+ };
154
+ };
155
+ const getGetApiAccountBillingCreditsUrl = () => {
156
+ return `/api/account/billing/credits`;
157
+ };
158
+ /**
159
+ * Returns the authenticated user's credit transaction history with support for filtering by transaction type, direction, and date range. Results are paginated.
160
+ * @summary Get Current User's Credit History
161
+ */
162
+ const getApiAccountBillingCredits = async (options) => {
163
+ const res = await fetch(getGetApiAccountBillingCreditsUrl(), {
164
+ ...options,
165
+ method: "GET"
166
+ });
167
+ const body = [
168
+ 204,
169
+ 205,
170
+ 304
171
+ ].includes(res.status) ? null : await res.text();
172
+ return {
173
+ data: body ? JSON.parse(body) : {},
174
+ status: res.status,
175
+ headers: res.headers
176
+ };
177
+ };
178
+ const getPostApiAccountBillingCustomerPortalUrl = () => {
179
+ return `/api/account/billing/customer-portal`;
180
+ };
181
+ /**
182
+ * Returns a URL to access the generic customer portal for managing subscription
183
+ * @summary Access Customer Portal
184
+ */
185
+ const postApiAccountBillingCustomerPortal = async (options) => {
186
+ const res = await fetch(getPostApiAccountBillingCustomerPortalUrl(), {
187
+ ...options,
188
+ method: "POST"
189
+ });
190
+ const body = [
191
+ 204,
192
+ 205,
193
+ 304
194
+ ].includes(res.status) ? null : await res.text();
195
+ return {
196
+ data: body ? JSON.parse(body) : {},
197
+ status: res.status,
198
+ headers: res.headers
199
+ };
200
+ };
201
+ const getPostApiAccountBillingManagementUrl = () => {
202
+ return `/api/account/billing/management`;
203
+ };
204
+ /**
205
+ * Returns the action and configuration for a specific management operation
206
+ * @summary Get subscription management operation details
207
+ */
208
+ const postApiAccountBillingManagement = async (managementRequest, options) => {
209
+ const res = await fetch(getPostApiAccountBillingManagementUrl(), {
210
+ ...options,
211
+ method: "POST",
212
+ headers: {
213
+ "Content-Type": "application/json",
214
+ ...options?.headers
215
+ },
216
+ body: JSON.stringify(managementRequest)
217
+ });
218
+ const body = [
219
+ 204,
220
+ 205,
221
+ 304
222
+ ].includes(res.status) ? null : await res.text();
223
+ return {
224
+ data: body ? JSON.parse(body) : {},
225
+ status: res.status,
226
+ headers: res.headers
227
+ };
228
+ };
229
+ const getGetApiAccountBillingManagementCapabilitiesUrl = () => {
230
+ return `/api/account/billing/management/capabilities`;
231
+ };
232
+ /**
233
+ * Returns the subscription management capabilities for the current user's gateway
234
+ * @summary Get subscription management capabilities
235
+ */
236
+ const getApiAccountBillingManagementCapabilities = async (options) => {
237
+ const res = await fetch(getGetApiAccountBillingManagementCapabilitiesUrl(), {
238
+ ...options,
239
+ method: "GET"
240
+ });
241
+ const body = [
242
+ 204,
243
+ 205,
244
+ 304
245
+ ].includes(res.status) ? null : await res.text();
246
+ return {
247
+ data: body ? JSON.parse(body) : {},
248
+ status: res.status,
249
+ headers: res.headers
250
+ };
251
+ };
252
+ const getPostApiAccountBillingPauseUrl = () => {
253
+ return `/api/account/billing/pause`;
254
+ };
255
+ /**
256
+ * Executes the pause operation on the current subscription. Validates that the gateway supports pausing and returns the appropriate action
257
+ * @summary Pause subscription
258
+ */
259
+ const postApiAccountBillingPause = async (options) => {
260
+ const res = await fetch(getPostApiAccountBillingPauseUrl(), {
261
+ ...options,
262
+ method: "POST"
263
+ });
264
+ const body = [
265
+ 204,
266
+ 205,
267
+ 304
268
+ ].includes(res.status) ? null : await res.text();
269
+ return {
270
+ data: body ? JSON.parse(body) : {},
271
+ status: res.status,
272
+ headers: res.headers
273
+ };
274
+ };
275
+ const getPostApiAccountBillingResumeUrl = () => {
276
+ return `/api/account/billing/resume`;
277
+ };
278
+ /**
279
+ * Executes the resume operation on the current subscription. Validates that the gateway supports resuming and returns the appropriate action
280
+ * @summary Resume subscription
281
+ */
282
+ const postApiAccountBillingResume = async (options) => {
283
+ const res = await fetch(getPostApiAccountBillingResumeUrl(), {
284
+ ...options,
285
+ method: "POST"
286
+ });
287
+ const body = [
288
+ 204,
289
+ 205,
290
+ 304
291
+ ].includes(res.status) ? null : await res.text();
292
+ return {
293
+ data: body ? JSON.parse(body) : {},
294
+ status: res.status,
295
+ headers: res.headers
296
+ };
297
+ };
298
+ const getGetApiAccountBillingSubscriptionUrl = () => {
299
+ return `/api/account/billing/subscription`;
300
+ };
301
+ /**
302
+ * Returns the subscription status for the authenticated user
303
+ * @summary Get subscription status
304
+ */
305
+ const getApiAccountBillingSubscription = async (options) => {
306
+ const res = await fetch(getGetApiAccountBillingSubscriptionUrl(), {
307
+ ...options,
308
+ method: "GET"
309
+ });
310
+ const body = [
311
+ 204,
312
+ 205,
313
+ 304
314
+ ].includes(res.status) ? null : await res.text();
315
+ return {
316
+ data: body ? JSON.parse(body) : {},
317
+ status: res.status,
318
+ headers: res.headers
319
+ };
320
+ };
321
+ const getGetApiAccountBillingSubscriptionEventsUrl = () => {
322
+ return `/api/account/billing/subscription/events`;
323
+ };
324
+ /**
325
+ * Establishes a Server-Sent Events (SSE) connection for real-time subscription updates including payment completions, subscription activations, and plan changes
326
+ * @summary Subscribe to subscription events via SSE
327
+ */
328
+ const getApiAccountBillingSubscriptionEvents = async (options) => {
329
+ const res = await fetch(getGetApiAccountBillingSubscriptionEventsUrl(), {
330
+ ...options,
331
+ method: "GET"
332
+ });
333
+ const body = [
334
+ 204,
335
+ 205,
336
+ 304
337
+ ].includes(res.status) ? null : await res.text();
338
+ return {
339
+ data: body ? JSON.parse(body) : void 0,
340
+ status: res.status,
341
+ headers: res.headers
342
+ };
343
+ };
344
+ const getPostApiAccountBillingWebhooksGatewayTypeUrl = (gatewayType) => {
345
+ return `/api/account/billing/webhooks/${gatewayType}`;
346
+ };
347
+ /**
348
+ * Handles incoming webhooks from payment gateways such as Stripe, PayPal, etc.
349
+ * @summary Process payment gateway webhook
350
+ */
351
+ const postApiAccountBillingWebhooksGatewayType = async (gatewayType, postApiAccountBillingWebhooksGatewayTypeBody, options) => {
352
+ const res = await fetch(getPostApiAccountBillingWebhooksGatewayTypeUrl(gatewayType), {
353
+ ...options,
354
+ method: "POST",
355
+ headers: {
356
+ "Content-Type": "application/json",
357
+ ...options?.headers
358
+ },
359
+ body: JSON.stringify(postApiAccountBillingWebhooksGatewayTypeBody)
360
+ });
361
+ const body = [
362
+ 204,
363
+ 205,
364
+ 304
365
+ ].includes(res.status) ? null : await res.text();
366
+ return {
367
+ data: body ? JSON.parse(body) : {},
368
+ status: res.status,
369
+ headers: res.headers
370
+ };
371
+ };
372
+ const getGetApiBillingGatewaysUrl = () => {
373
+ return `/api/billing/gateways`;
374
+ };
375
+ /**
376
+ * Returns list of available payment gateways with metadata
377
+ * @summary List Available Payment Gateways
378
+ */
379
+ const getApiBillingGateways = async (options) => {
380
+ const res = await fetch(getGetApiBillingGatewaysUrl(), {
381
+ ...options,
382
+ method: "GET"
383
+ });
384
+ const body = [
385
+ 204,
386
+ 205,
387
+ 304
388
+ ].includes(res.status) ? null : await res.text();
389
+ return {
390
+ data: body ? JSON.parse(body) : {},
391
+ status: res.status,
392
+ headers: res.headers
393
+ };
394
+ };
395
+ const getGetApiBillingGatewaysIdLogoUrl = (id) => {
396
+ return `/api/billing/gateways/${id}/logo`;
397
+ };
398
+ /**
399
+ * Returns embedded logo image for payment gateway
400
+ * @summary Get Gateway Logo
401
+ */
402
+ const getApiBillingGatewaysIdLogo = async (id, options) => {
403
+ const res = await fetch(getGetApiBillingGatewaysIdLogoUrl(id), {
404
+ ...options,
405
+ method: "GET"
406
+ });
407
+ const body = [
408
+ 204,
409
+ 205,
410
+ 304
411
+ ].includes(res.status) ? null : await res.text();
412
+ return {
413
+ data: body ? JSON.parse(body) : void 0,
414
+ status: res.status,
415
+ headers: res.headers
416
+ };
417
+ };
418
+ const getGetApiBillingPlansUrl = () => {
419
+ return `/api/billing/plans`;
420
+ };
421
+ /**
422
+ * Returns pricing plans with their periods for user's effective price line
423
+ * @summary List Pricing Plans
424
+ */
425
+ const getApiBillingPlans = async (options) => {
426
+ const res = await fetch(getGetApiBillingPlansUrl(), {
427
+ ...options,
428
+ method: "GET"
429
+ });
430
+ const body = [
431
+ 204,
432
+ 205,
433
+ 304
434
+ ].includes(res.status) ? null : await res.text();
435
+ return {
436
+ data: body ? JSON.parse(body) : {},
437
+ status: res.status,
438
+ headers: res.headers
439
+ };
440
+ };
441
+
442
+ //#endregion
443
+ export { getApiAccountBillingBalance, getApiAccountBillingCheckoutSessionSessionIdStatus, getApiAccountBillingCheckoutUiPlanId, getApiAccountBillingCredits, getApiAccountBillingManagementCapabilities, getApiAccountBillingSubscription, getApiAccountBillingSubscriptionEvents, getApiBillingGateways, getApiBillingGatewaysIdLogo, getApiBillingPlans, getGetApiAccountBillingBalanceUrl, getGetApiAccountBillingCheckoutSessionSessionIdStatusUrl, getGetApiAccountBillingCheckoutUiPlanIdUrl, getGetApiAccountBillingCreditsUrl, getGetApiAccountBillingManagementCapabilitiesUrl, getGetApiAccountBillingSubscriptionEventsUrl, getGetApiAccountBillingSubscriptionUrl, getGetApiBillingGatewaysIdLogoUrl, getGetApiBillingGatewaysUrl, getGetApiBillingPlansUrl, getPostApiAccountBillingCancelAbortUrl, getPostApiAccountBillingCancelUrl, getPostApiAccountBillingChangePlanUrl, getPostApiAccountBillingCustomerPortalUrl, getPostApiAccountBillingManagementUrl, getPostApiAccountBillingPauseUrl, getPostApiAccountBillingResumeUrl, getPostApiAccountBillingWebhooksGatewayTypeUrl, postApiAccountBillingCancel, postApiAccountBillingCancelAbort, postApiAccountBillingChangePlan, postApiAccountBillingCustomerPortal, postApiAccountBillingManagement, postApiAccountBillingPause, postApiAccountBillingResume, postApiAccountBillingWebhooksGatewayType };
444
+ //# sourceMappingURL=billing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"billing.js","names":[],"sources":["../../../../src/account/generated/billing.ts"],"sourcesContent":["/**\n * Generated by orval v8.10.0 🍺\n * Do not edit manually.\n * Account API\n * API endpoints for managing user accounts, authentication, and API keys.\n * OpenAPI spec version: v0.2.7-0.20260418132608-572560c6efd0\n */\nimport type {\n BalanceResponse,\n ChangePlanRequest,\n CheckoutSessionStatusResponse,\n CheckoutUIResponse,\n ErrorResponse,\n GatewayListResponse,\n GetApiAccountBillingCheckoutSessionSessionIdStatusParams,\n GetApiAccountBillingCheckoutUiPlanIdParams,\n ManagementCapabilitiesResponse,\n ManagementRequest,\n ManagementResultResponse,\n PostApiAccountBillingWebhooksGatewayTypeBody,\n PublicPricingPlansListResponse,\n SubscriptionStatusResponse,\n UserCreditsListResponse\n} from './accountAPI.schemas';\n\n\n\nexport type getApiAccountBillingBalanceResponse200 = {\n data: BalanceResponse\n status: 200\n}\n\nexport type getApiAccountBillingBalanceResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountBillingBalanceResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type getApiAccountBillingBalanceResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type getApiAccountBillingBalanceResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountBillingBalanceResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiAccountBillingBalanceResponseSuccess = (getApiAccountBillingBalanceResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountBillingBalanceResponseError = (getApiAccountBillingBalanceResponse400 | getApiAccountBillingBalanceResponse401 | getApiAccountBillingBalanceResponse403 | getApiAccountBillingBalanceResponse404 | getApiAccountBillingBalanceResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountBillingBalanceResponse = (getApiAccountBillingBalanceResponseSuccess | getApiAccountBillingBalanceResponseError)\n\nexport const getGetApiAccountBillingBalanceUrl = () => {\n\n\n\n\n return `/api/account/billing/balance`\n}\n\n/**\n * Returns the authenticated user's current credit balance. Positive balance indicates available credits, negative balance indicates outstanding dues.\n * @summary Get Current User's Credit Balance\n */\nexport const getApiAccountBillingBalance = async ( options?: RequestInit): Promise<getApiAccountBillingBalanceResponse> => {\n\n const res = await fetch(getGetApiAccountBillingBalanceUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiAccountBillingBalanceResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiAccountBillingBalanceResponse\n}\n\n\nexport type postApiAccountBillingCancelResponse200 = {\n data: ManagementResultResponse\n status: 200\n}\n\nexport type postApiAccountBillingCancelResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountBillingCancelResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAccountBillingCancelResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAccountBillingCancelResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountBillingCancelResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountBillingCancelResponseSuccess = (postApiAccountBillingCancelResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountBillingCancelResponseError = (postApiAccountBillingCancelResponse400 | postApiAccountBillingCancelResponse401 | postApiAccountBillingCancelResponse403 | postApiAccountBillingCancelResponse404 | postApiAccountBillingCancelResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountBillingCancelResponse = (postApiAccountBillingCancelResponseSuccess | postApiAccountBillingCancelResponseError)\n\nexport const getPostApiAccountBillingCancelUrl = () => {\n\n\n\n\n return `/api/account/billing/cancel`\n}\n\n/**\n * Executes the cancel operation on the current subscription. Validates that the gateway supports cancellation and returns the appropriate action\n * @summary Cancel subscription\n */\nexport const postApiAccountBillingCancel = async ( options?: RequestInit): Promise<postApiAccountBillingCancelResponse> => {\n\n const res = await fetch(getPostApiAccountBillingCancelUrl(),\n {\n ...options,\n method: 'POST'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountBillingCancelResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountBillingCancelResponse\n}\n\n\nexport type postApiAccountBillingCancelAbortResponse200 = {\n data: ManagementResultResponse\n status: 200\n}\n\nexport type postApiAccountBillingCancelAbortResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountBillingCancelAbortResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAccountBillingCancelAbortResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAccountBillingCancelAbortResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountBillingCancelAbortResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountBillingCancelAbortResponseSuccess = (postApiAccountBillingCancelAbortResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountBillingCancelAbortResponseError = (postApiAccountBillingCancelAbortResponse400 | postApiAccountBillingCancelAbortResponse401 | postApiAccountBillingCancelAbortResponse403 | postApiAccountBillingCancelAbortResponse404 | postApiAccountBillingCancelAbortResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountBillingCancelAbortResponse = (postApiAccountBillingCancelAbortResponseSuccess | postApiAccountBillingCancelAbortResponseError)\n\nexport const getPostApiAccountBillingCancelAbortUrl = () => {\n\n\n\n\n return `/api/account/billing/cancel/abort`\n}\n\n/**\n * Cancels a scheduled subscription cancellation, restoring the subscription to active status\n * @summary Abort scheduled cancellation\n */\nexport const postApiAccountBillingCancelAbort = async ( options?: RequestInit): Promise<postApiAccountBillingCancelAbortResponse> => {\n\n const res = await fetch(getPostApiAccountBillingCancelAbortUrl(),\n {\n ...options,\n method: 'POST'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountBillingCancelAbortResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountBillingCancelAbortResponse\n}\n\n\nexport type postApiAccountBillingChangePlanResponse200 = {\n data: ManagementResultResponse\n status: 200\n}\n\nexport type postApiAccountBillingChangePlanResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountBillingChangePlanResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAccountBillingChangePlanResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAccountBillingChangePlanResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountBillingChangePlanResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountBillingChangePlanResponseSuccess = (postApiAccountBillingChangePlanResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountBillingChangePlanResponseError = (postApiAccountBillingChangePlanResponse400 | postApiAccountBillingChangePlanResponse401 | postApiAccountBillingChangePlanResponse403 | postApiAccountBillingChangePlanResponse404 | postApiAccountBillingChangePlanResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountBillingChangePlanResponse = (postApiAccountBillingChangePlanResponseSuccess | postApiAccountBillingChangePlanResponseError)\n\nexport const getPostApiAccountBillingChangePlanUrl = () => {\n\n\n\n\n return `/api/account/billing/change-plan`\n}\n\n/**\n * Executes the change plan operation on the current subscription. Validates that the gateway supports plan changes and returns the appropriate action\n * @summary Change subscription plan\n */\nexport const postApiAccountBillingChangePlan = async (changePlanRequest: ChangePlanRequest, options?: RequestInit): Promise<postApiAccountBillingChangePlanResponse> => {\n\n const res = await fetch(getPostApiAccountBillingChangePlanUrl(),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(changePlanRequest)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountBillingChangePlanResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountBillingChangePlanResponse\n}\n\n\nexport type getApiAccountBillingCheckoutSessionSessionIdStatusResponse200 = {\n data: CheckoutSessionStatusResponse\n status: 200\n}\n\nexport type getApiAccountBillingCheckoutSessionSessionIdStatusResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountBillingCheckoutSessionSessionIdStatusResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type getApiAccountBillingCheckoutSessionSessionIdStatusResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type getApiAccountBillingCheckoutSessionSessionIdStatusResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountBillingCheckoutSessionSessionIdStatusResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiAccountBillingCheckoutSessionSessionIdStatusResponse501 = {\n data: ErrorResponse\n status: 501\n}\n\nexport type getApiAccountBillingCheckoutSessionSessionIdStatusResponseSuccess = (getApiAccountBillingCheckoutSessionSessionIdStatusResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountBillingCheckoutSessionSessionIdStatusResponseError = (getApiAccountBillingCheckoutSessionSessionIdStatusResponse400 | getApiAccountBillingCheckoutSessionSessionIdStatusResponse401 | getApiAccountBillingCheckoutSessionSessionIdStatusResponse403 | getApiAccountBillingCheckoutSessionSessionIdStatusResponse404 | getApiAccountBillingCheckoutSessionSessionIdStatusResponse500 | getApiAccountBillingCheckoutSessionSessionIdStatusResponse501) & {\n headers: Headers;\n};\n\nexport type getApiAccountBillingCheckoutSessionSessionIdStatusResponse = (getApiAccountBillingCheckoutSessionSessionIdStatusResponseSuccess | getApiAccountBillingCheckoutSessionSessionIdStatusResponseError)\n\nexport const getGetApiAccountBillingCheckoutSessionSessionIdStatusUrl = (sessionId: string,\n params?: GetApiAccountBillingCheckoutSessionSessionIdStatusParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : value.toString())\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/api/account/billing/checkout/session/${sessionId}/status?${stringifiedParams}` : `/api/account/billing/checkout/session/${sessionId}/status`\n}\n\n/**\n * 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.\n * @summary Get Checkout Session Status\n */\nexport const getApiAccountBillingCheckoutSessionSessionIdStatus = async (sessionId: string,\n params?: GetApiAccountBillingCheckoutSessionSessionIdStatusParams, options?: RequestInit): Promise<getApiAccountBillingCheckoutSessionSessionIdStatusResponse> => {\n\n const res = await fetch(getGetApiAccountBillingCheckoutSessionSessionIdStatusUrl(sessionId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiAccountBillingCheckoutSessionSessionIdStatusResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiAccountBillingCheckoutSessionSessionIdStatusResponse\n}\n\n\nexport type getApiAccountBillingCheckoutUiPlanIdResponse200 = {\n data: CheckoutUIResponse\n status: 200\n}\n\nexport type getApiAccountBillingCheckoutUiPlanIdResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountBillingCheckoutUiPlanIdResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type getApiAccountBillingCheckoutUiPlanIdResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type getApiAccountBillingCheckoutUiPlanIdResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountBillingCheckoutUiPlanIdResponse409 = {\n data: ErrorResponse\n status: 409\n}\n\nexport type getApiAccountBillingCheckoutUiPlanIdResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiAccountBillingCheckoutUiPlanIdResponseSuccess = (getApiAccountBillingCheckoutUiPlanIdResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountBillingCheckoutUiPlanIdResponseError = (getApiAccountBillingCheckoutUiPlanIdResponse400 | getApiAccountBillingCheckoutUiPlanIdResponse401 | getApiAccountBillingCheckoutUiPlanIdResponse403 | getApiAccountBillingCheckoutUiPlanIdResponse404 | getApiAccountBillingCheckoutUiPlanIdResponse409 | getApiAccountBillingCheckoutUiPlanIdResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountBillingCheckoutUiPlanIdResponse = (getApiAccountBillingCheckoutUiPlanIdResponseSuccess | getApiAccountBillingCheckoutUiPlanIdResponseError)\n\nexport const getGetApiAccountBillingCheckoutUiPlanIdUrl = (planId: string,\n params?: GetApiAccountBillingCheckoutUiPlanIdParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : value.toString())\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/api/account/billing/checkout/ui/${planId}?${stringifiedParams}` : `/api/account/billing/checkout/ui/${planId}`\n}\n\n/**\n * 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\n * @summary Get Checkout UI Fragments\n */\nexport const getApiAccountBillingCheckoutUiPlanId = async (planId: string,\n params?: GetApiAccountBillingCheckoutUiPlanIdParams, options?: RequestInit): Promise<getApiAccountBillingCheckoutUiPlanIdResponse> => {\n\n const res = await fetch(getGetApiAccountBillingCheckoutUiPlanIdUrl(planId,params),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiAccountBillingCheckoutUiPlanIdResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiAccountBillingCheckoutUiPlanIdResponse\n}\n\n\nexport type getApiAccountBillingCreditsResponse200 = {\n data: UserCreditsListResponse\n status: 200\n}\n\nexport type getApiAccountBillingCreditsResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountBillingCreditsResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type getApiAccountBillingCreditsResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type getApiAccountBillingCreditsResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountBillingCreditsResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiAccountBillingCreditsResponseSuccess = (getApiAccountBillingCreditsResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountBillingCreditsResponseError = (getApiAccountBillingCreditsResponse400 | getApiAccountBillingCreditsResponse401 | getApiAccountBillingCreditsResponse403 | getApiAccountBillingCreditsResponse404 | getApiAccountBillingCreditsResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountBillingCreditsResponse = (getApiAccountBillingCreditsResponseSuccess | getApiAccountBillingCreditsResponseError)\n\nexport const getGetApiAccountBillingCreditsUrl = () => {\n\n\n\n\n return `/api/account/billing/credits`\n}\n\n/**\n * Returns the authenticated user's credit transaction history with support for filtering by transaction type, direction, and date range. Results are paginated.\n * @summary Get Current User's Credit History\n */\nexport const getApiAccountBillingCredits = async ( options?: RequestInit): Promise<getApiAccountBillingCreditsResponse> => {\n\n const res = await fetch(getGetApiAccountBillingCreditsUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiAccountBillingCreditsResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiAccountBillingCreditsResponse\n}\n\n\nexport type postApiAccountBillingCustomerPortalResponse200 = {\n data: ManagementResultResponse\n status: 200\n}\n\nexport type postApiAccountBillingCustomerPortalResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountBillingCustomerPortalResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAccountBillingCustomerPortalResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAccountBillingCustomerPortalResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountBillingCustomerPortalResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountBillingCustomerPortalResponseSuccess = (postApiAccountBillingCustomerPortalResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountBillingCustomerPortalResponseError = (postApiAccountBillingCustomerPortalResponse400 | postApiAccountBillingCustomerPortalResponse401 | postApiAccountBillingCustomerPortalResponse403 | postApiAccountBillingCustomerPortalResponse404 | postApiAccountBillingCustomerPortalResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountBillingCustomerPortalResponse = (postApiAccountBillingCustomerPortalResponseSuccess | postApiAccountBillingCustomerPortalResponseError)\n\nexport const getPostApiAccountBillingCustomerPortalUrl = () => {\n\n\n\n\n return `/api/account/billing/customer-portal`\n}\n\n/**\n * Returns a URL to access the generic customer portal for managing subscription\n * @summary Access Customer Portal\n */\nexport const postApiAccountBillingCustomerPortal = async ( options?: RequestInit): Promise<postApiAccountBillingCustomerPortalResponse> => {\n\n const res = await fetch(getPostApiAccountBillingCustomerPortalUrl(),\n {\n ...options,\n method: 'POST'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountBillingCustomerPortalResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountBillingCustomerPortalResponse\n}\n\n\nexport type postApiAccountBillingManagementResponse200 = {\n data: ManagementResultResponse\n status: 200\n}\n\nexport type postApiAccountBillingManagementResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountBillingManagementResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAccountBillingManagementResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAccountBillingManagementResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountBillingManagementResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountBillingManagementResponseSuccess = (postApiAccountBillingManagementResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountBillingManagementResponseError = (postApiAccountBillingManagementResponse400 | postApiAccountBillingManagementResponse401 | postApiAccountBillingManagementResponse403 | postApiAccountBillingManagementResponse404 | postApiAccountBillingManagementResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountBillingManagementResponse = (postApiAccountBillingManagementResponseSuccess | postApiAccountBillingManagementResponseError)\n\nexport const getPostApiAccountBillingManagementUrl = () => {\n\n\n\n\n return `/api/account/billing/management`\n}\n\n/**\n * Returns the action and configuration for a specific management operation\n * @summary Get subscription management operation details\n */\nexport const postApiAccountBillingManagement = async (managementRequest: ManagementRequest, options?: RequestInit): Promise<postApiAccountBillingManagementResponse> => {\n\n const res = await fetch(getPostApiAccountBillingManagementUrl(),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(managementRequest)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountBillingManagementResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountBillingManagementResponse\n}\n\n\nexport type getApiAccountBillingManagementCapabilitiesResponse200 = {\n data: ManagementCapabilitiesResponse\n status: 200\n}\n\nexport type getApiAccountBillingManagementCapabilitiesResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountBillingManagementCapabilitiesResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type getApiAccountBillingManagementCapabilitiesResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type getApiAccountBillingManagementCapabilitiesResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountBillingManagementCapabilitiesResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiAccountBillingManagementCapabilitiesResponseSuccess = (getApiAccountBillingManagementCapabilitiesResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountBillingManagementCapabilitiesResponseError = (getApiAccountBillingManagementCapabilitiesResponse400 | getApiAccountBillingManagementCapabilitiesResponse401 | getApiAccountBillingManagementCapabilitiesResponse403 | getApiAccountBillingManagementCapabilitiesResponse404 | getApiAccountBillingManagementCapabilitiesResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountBillingManagementCapabilitiesResponse = (getApiAccountBillingManagementCapabilitiesResponseSuccess | getApiAccountBillingManagementCapabilitiesResponseError)\n\nexport const getGetApiAccountBillingManagementCapabilitiesUrl = () => {\n\n\n\n\n return `/api/account/billing/management/capabilities`\n}\n\n/**\n * Returns the subscription management capabilities for the current user's gateway\n * @summary Get subscription management capabilities\n */\nexport const getApiAccountBillingManagementCapabilities = async ( options?: RequestInit): Promise<getApiAccountBillingManagementCapabilitiesResponse> => {\n\n const res = await fetch(getGetApiAccountBillingManagementCapabilitiesUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiAccountBillingManagementCapabilitiesResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiAccountBillingManagementCapabilitiesResponse\n}\n\n\nexport type postApiAccountBillingPauseResponse200 = {\n data: ManagementResultResponse\n status: 200\n}\n\nexport type postApiAccountBillingPauseResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountBillingPauseResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAccountBillingPauseResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAccountBillingPauseResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountBillingPauseResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountBillingPauseResponseSuccess = (postApiAccountBillingPauseResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountBillingPauseResponseError = (postApiAccountBillingPauseResponse400 | postApiAccountBillingPauseResponse401 | postApiAccountBillingPauseResponse403 | postApiAccountBillingPauseResponse404 | postApiAccountBillingPauseResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountBillingPauseResponse = (postApiAccountBillingPauseResponseSuccess | postApiAccountBillingPauseResponseError)\n\nexport const getPostApiAccountBillingPauseUrl = () => {\n\n\n\n\n return `/api/account/billing/pause`\n}\n\n/**\n * Executes the pause operation on the current subscription. Validates that the gateway supports pausing and returns the appropriate action\n * @summary Pause subscription\n */\nexport const postApiAccountBillingPause = async ( options?: RequestInit): Promise<postApiAccountBillingPauseResponse> => {\n\n const res = await fetch(getPostApiAccountBillingPauseUrl(),\n {\n ...options,\n method: 'POST'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountBillingPauseResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountBillingPauseResponse\n}\n\n\nexport type postApiAccountBillingResumeResponse200 = {\n data: ManagementResultResponse\n status: 200\n}\n\nexport type postApiAccountBillingResumeResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountBillingResumeResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAccountBillingResumeResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAccountBillingResumeResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountBillingResumeResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountBillingResumeResponseSuccess = (postApiAccountBillingResumeResponse200) & {\n headers: Headers;\n};\nexport type postApiAccountBillingResumeResponseError = (postApiAccountBillingResumeResponse400 | postApiAccountBillingResumeResponse401 | postApiAccountBillingResumeResponse403 | postApiAccountBillingResumeResponse404 | postApiAccountBillingResumeResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountBillingResumeResponse = (postApiAccountBillingResumeResponseSuccess | postApiAccountBillingResumeResponseError)\n\nexport const getPostApiAccountBillingResumeUrl = () => {\n\n\n\n\n return `/api/account/billing/resume`\n}\n\n/**\n * Executes the resume operation on the current subscription. Validates that the gateway supports resuming and returns the appropriate action\n * @summary Resume subscription\n */\nexport const postApiAccountBillingResume = async ( options?: RequestInit): Promise<postApiAccountBillingResumeResponse> => {\n\n const res = await fetch(getPostApiAccountBillingResumeUrl(),\n {\n ...options,\n method: 'POST'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountBillingResumeResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountBillingResumeResponse\n}\n\n\nexport type getApiAccountBillingSubscriptionResponse200 = {\n data: SubscriptionStatusResponse\n status: 200\n}\n\nexport type getApiAccountBillingSubscriptionResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountBillingSubscriptionResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type getApiAccountBillingSubscriptionResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type getApiAccountBillingSubscriptionResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountBillingSubscriptionResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiAccountBillingSubscriptionResponseSuccess = (getApiAccountBillingSubscriptionResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountBillingSubscriptionResponseError = (getApiAccountBillingSubscriptionResponse400 | getApiAccountBillingSubscriptionResponse401 | getApiAccountBillingSubscriptionResponse403 | getApiAccountBillingSubscriptionResponse404 | getApiAccountBillingSubscriptionResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountBillingSubscriptionResponse = (getApiAccountBillingSubscriptionResponseSuccess | getApiAccountBillingSubscriptionResponseError)\n\nexport const getGetApiAccountBillingSubscriptionUrl = () => {\n\n\n\n\n return `/api/account/billing/subscription`\n}\n\n/**\n * Returns the subscription status for the authenticated user\n * @summary Get subscription status\n */\nexport const getApiAccountBillingSubscription = async ( options?: RequestInit): Promise<getApiAccountBillingSubscriptionResponse> => {\n\n const res = await fetch(getGetApiAccountBillingSubscriptionUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiAccountBillingSubscriptionResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiAccountBillingSubscriptionResponse\n}\n\n\nexport type getApiAccountBillingSubscriptionEventsResponse200 = {\n data: void\n status: 200\n}\n\nexport type getApiAccountBillingSubscriptionEventsResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiAccountBillingSubscriptionEventsResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type getApiAccountBillingSubscriptionEventsResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type getApiAccountBillingSubscriptionEventsResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiAccountBillingSubscriptionEventsResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiAccountBillingSubscriptionEventsResponseSuccess = (getApiAccountBillingSubscriptionEventsResponse200) & {\n headers: Headers;\n};\nexport type getApiAccountBillingSubscriptionEventsResponseError = (getApiAccountBillingSubscriptionEventsResponse400 | getApiAccountBillingSubscriptionEventsResponse401 | getApiAccountBillingSubscriptionEventsResponse403 | getApiAccountBillingSubscriptionEventsResponse404 | getApiAccountBillingSubscriptionEventsResponse500) & {\n headers: Headers;\n};\n\nexport type getApiAccountBillingSubscriptionEventsResponse = (getApiAccountBillingSubscriptionEventsResponseSuccess | getApiAccountBillingSubscriptionEventsResponseError)\n\nexport const getGetApiAccountBillingSubscriptionEventsUrl = () => {\n\n\n\n\n return `/api/account/billing/subscription/events`\n}\n\n/**\n * Establishes a Server-Sent Events (SSE) connection for real-time subscription updates including payment completions, subscription activations, and plan changes\n * @summary Subscribe to subscription events via SSE\n */\nexport const getApiAccountBillingSubscriptionEvents = async ( options?: RequestInit): Promise<getApiAccountBillingSubscriptionEventsResponse> => {\n\n const res = await fetch(getGetApiAccountBillingSubscriptionEventsUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiAccountBillingSubscriptionEventsResponse['data'] = body ? JSON.parse(body) : undefined\n return { data, status: res.status, headers: res.headers } as getApiAccountBillingSubscriptionEventsResponse\n}\n\n\nexport type postApiAccountBillingWebhooksGatewayTypeResponse200 = {\n data: ErrorResponse\n status: 200\n}\n\nexport type postApiAccountBillingWebhooksGatewayTypeResponse204 = {\n data: void\n status: 204\n}\n\nexport type postApiAccountBillingWebhooksGatewayTypeResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type postApiAccountBillingWebhooksGatewayTypeResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type postApiAccountBillingWebhooksGatewayTypeResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type postApiAccountBillingWebhooksGatewayTypeResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type postApiAccountBillingWebhooksGatewayTypeResponse413 = {\n data: ErrorResponse\n status: 413\n}\n\nexport type postApiAccountBillingWebhooksGatewayTypeResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type postApiAccountBillingWebhooksGatewayTypeResponseSuccess = (postApiAccountBillingWebhooksGatewayTypeResponse200 | postApiAccountBillingWebhooksGatewayTypeResponse204) & {\n headers: Headers;\n};\nexport type postApiAccountBillingWebhooksGatewayTypeResponseError = (postApiAccountBillingWebhooksGatewayTypeResponse400 | postApiAccountBillingWebhooksGatewayTypeResponse401 | postApiAccountBillingWebhooksGatewayTypeResponse403 | postApiAccountBillingWebhooksGatewayTypeResponse404 | postApiAccountBillingWebhooksGatewayTypeResponse413 | postApiAccountBillingWebhooksGatewayTypeResponse500) & {\n headers: Headers;\n};\n\nexport type postApiAccountBillingWebhooksGatewayTypeResponse = (postApiAccountBillingWebhooksGatewayTypeResponseSuccess | postApiAccountBillingWebhooksGatewayTypeResponseError)\n\nexport const getPostApiAccountBillingWebhooksGatewayTypeUrl = (gatewayType: string,) => {\n\n\n\n\n return `/api/account/billing/webhooks/${gatewayType}`\n}\n\n/**\n * Handles incoming webhooks from payment gateways such as Stripe, PayPal, etc.\n * @summary Process payment gateway webhook\n */\nexport const postApiAccountBillingWebhooksGatewayType = async (gatewayType: string,\n postApiAccountBillingWebhooksGatewayTypeBody: PostApiAccountBillingWebhooksGatewayTypeBody, options?: RequestInit): Promise<postApiAccountBillingWebhooksGatewayTypeResponse> => {\n\n const res = await fetch(getPostApiAccountBillingWebhooksGatewayTypeUrl(gatewayType),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...options?.headers },\n body: JSON.stringify(postApiAccountBillingWebhooksGatewayTypeBody)\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: postApiAccountBillingWebhooksGatewayTypeResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as postApiAccountBillingWebhooksGatewayTypeResponse\n}\n\n\nexport type getApiBillingGatewaysResponse200 = {\n data: GatewayListResponse\n status: 200\n}\n\nexport type getApiBillingGatewaysResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiBillingGatewaysResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type getApiBillingGatewaysResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type getApiBillingGatewaysResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiBillingGatewaysResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiBillingGatewaysResponseSuccess = (getApiBillingGatewaysResponse200) & {\n headers: Headers;\n};\nexport type getApiBillingGatewaysResponseError = (getApiBillingGatewaysResponse400 | getApiBillingGatewaysResponse401 | getApiBillingGatewaysResponse403 | getApiBillingGatewaysResponse404 | getApiBillingGatewaysResponse500) & {\n headers: Headers;\n};\n\nexport type getApiBillingGatewaysResponse = (getApiBillingGatewaysResponseSuccess | getApiBillingGatewaysResponseError)\n\nexport const getGetApiBillingGatewaysUrl = () => {\n\n\n\n\n return `/api/billing/gateways`\n}\n\n/**\n * Returns list of available payment gateways with metadata\n * @summary List Available Payment Gateways\n */\nexport const getApiBillingGateways = async ( options?: RequestInit): Promise<getApiBillingGatewaysResponse> => {\n\n const res = await fetch(getGetApiBillingGatewaysUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiBillingGatewaysResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiBillingGatewaysResponse\n}\n\n\nexport type getApiBillingGatewaysIdLogoResponse200 = {\n data: void\n status: 200\n}\n\nexport type getApiBillingGatewaysIdLogoResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiBillingGatewaysIdLogoResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type getApiBillingGatewaysIdLogoResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type getApiBillingGatewaysIdLogoResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiBillingGatewaysIdLogoResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiBillingGatewaysIdLogoResponseSuccess = (getApiBillingGatewaysIdLogoResponse200) & {\n headers: Headers;\n};\nexport type getApiBillingGatewaysIdLogoResponseError = (getApiBillingGatewaysIdLogoResponse400 | getApiBillingGatewaysIdLogoResponse401 | getApiBillingGatewaysIdLogoResponse403 | getApiBillingGatewaysIdLogoResponse404 | getApiBillingGatewaysIdLogoResponse500) & {\n headers: Headers;\n};\n\nexport type getApiBillingGatewaysIdLogoResponse = (getApiBillingGatewaysIdLogoResponseSuccess | getApiBillingGatewaysIdLogoResponseError)\n\nexport const getGetApiBillingGatewaysIdLogoUrl = (id: string,) => {\n\n\n\n\n return `/api/billing/gateways/${id}/logo`\n}\n\n/**\n * Returns embedded logo image for payment gateway\n * @summary Get Gateway Logo\n */\nexport const getApiBillingGatewaysIdLogo = async (id: string, options?: RequestInit): Promise<getApiBillingGatewaysIdLogoResponse> => {\n\n const res = await fetch(getGetApiBillingGatewaysIdLogoUrl(id),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiBillingGatewaysIdLogoResponse['data'] = body ? JSON.parse(body) : undefined\n return { data, status: res.status, headers: res.headers } as getApiBillingGatewaysIdLogoResponse\n}\n\n\nexport type getApiBillingPlansResponse200 = {\n data: PublicPricingPlansListResponse\n status: 200\n}\n\nexport type getApiBillingPlansResponse400 = {\n data: ErrorResponse\n status: 400\n}\n\nexport type getApiBillingPlansResponse401 = {\n data: ErrorResponse\n status: 401\n}\n\nexport type getApiBillingPlansResponse403 = {\n data: ErrorResponse\n status: 403\n}\n\nexport type getApiBillingPlansResponse404 = {\n data: ErrorResponse\n status: 404\n}\n\nexport type getApiBillingPlansResponse500 = {\n data: ErrorResponse\n status: 500\n}\n\nexport type getApiBillingPlansResponseSuccess = (getApiBillingPlansResponse200) & {\n headers: Headers;\n};\nexport type getApiBillingPlansResponseError = (getApiBillingPlansResponse400 | getApiBillingPlansResponse401 | getApiBillingPlansResponse403 | getApiBillingPlansResponse404 | getApiBillingPlansResponse500) & {\n headers: Headers;\n};\n\nexport type getApiBillingPlansResponse = (getApiBillingPlansResponseSuccess | getApiBillingPlansResponseError)\n\nexport const getGetApiBillingPlansUrl = () => {\n\n\n\n\n return `/api/billing/plans`\n}\n\n/**\n * Returns pricing plans with their periods for user's effective price line\n * @summary List Pricing Plans\n */\nexport const getApiBillingPlans = async ( options?: RequestInit): Promise<getApiBillingPlansResponse> => {\n\n const res = await fetch(getGetApiBillingPlansUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n)\n\n\n const body = [204, 205, 304].includes(res.status) ? null : await res.text();\n\n const data: getApiBillingPlansResponse['data'] = body ? JSON.parse(body) : {}\n return { data, status: res.status, headers: res.headers } as getApiBillingPlansResponse\n}\n\n\n"],"mappings":";AAkEA,MAAa,0CAA0C;AAKrD,QAAO;;;;;;AAOT,MAAa,8BAA8B,OAAQ,YAAwE;CAEzH,MAAM,MAAM,MAAM,MAAM,mCAAmC,EAC3D;EACE,GAAG;EACH,QAAQ;EAGT,CACF;CAGC,MAAM,OAAO;EAAC;EAAK;EAAK;EAAI,CAAC,SAAS,IAAI,OAAO,GAAG,OAAO,MAAM,IAAI,MAAM;AAG3E,QAAO;EAAE,MADiD,OAAO,KAAK,MAAM,KAAK,GAAG,EAAE;EACvE,QAAQ,IAAI;EAAQ,SAAS,IAAI;EAAS;;AA2C3D,MAAa,0CAA0C;AAKrD,QAAO;;;;;;AAOT,MAAa,8BAA8B,OAAQ,YAAwE;CAEzH,MAAM,MAAM,MAAM,MAAM,mCAAmC,EAC3D;EACE,GAAG;EACH,QAAQ;EAGT,CACF;CAGC,MAAM,OAAO;EAAC;EAAK;EAAK;EAAI,CAAC,SAAS,IAAI,OAAO,GAAG,OAAO,MAAM,IAAI,MAAM;AAG3E,QAAO;EAAE,MADiD,OAAO,KAAK,MAAM,KAAK,GAAG,EAAE;EACvE,QAAQ,IAAI;EAAQ,SAAS,IAAI;EAAS;;AA2C3D,MAAa,+CAA+C;AAK1D,QAAO;;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