@dazl/internal-api-client 1.0.1-alpha.1 → 1.0.1-alpha.2
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/client/client.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +229 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +7 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +118 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +34 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +232 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +13 -0
- package/dist/client.gen.d.ts.map +1 -0
- package/dist/client.gen.js +4 -0
- package/dist/client.gen.js.map +1 -0
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +15 -0
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +58 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +101 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +115 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +100 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +136 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/sdk.gen.d.ts +28 -0
- package/dist/sdk.gen.d.ts.map +1 -0
- package/dist/sdk.gen.js +56 -0
- package/dist/sdk.gen.js.map +1 -0
- package/dist/types.gen.d.ts +446 -0
- package/dist/types.gen.d.ts.map +1 -0
- package/dist/types.gen.js +3 -0
- package/dist/types.gen.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
import { serializeArrayParam, serializeObjectParam, serializePrimitiveParam, } from "./pathSerializer.gen.js";
|
|
3
|
+
export const PATH_PARAM_RE = /\{[^{}]+\}/g;
|
|
4
|
+
export const defaultPathSerializer = ({ path, url: _url }) => {
|
|
5
|
+
let url = _url;
|
|
6
|
+
const matches = _url.match(PATH_PARAM_RE);
|
|
7
|
+
if (matches) {
|
|
8
|
+
for (const match of matches) {
|
|
9
|
+
let explode = false;
|
|
10
|
+
let name = match.substring(1, match.length - 1);
|
|
11
|
+
let style = 'simple';
|
|
12
|
+
if (name.endsWith('*')) {
|
|
13
|
+
explode = true;
|
|
14
|
+
name = name.substring(0, name.length - 1);
|
|
15
|
+
}
|
|
16
|
+
if (name.startsWith('.')) {
|
|
17
|
+
name = name.substring(1);
|
|
18
|
+
style = 'label';
|
|
19
|
+
}
|
|
20
|
+
else if (name.startsWith(';')) {
|
|
21
|
+
name = name.substring(1);
|
|
22
|
+
style = 'matrix';
|
|
23
|
+
}
|
|
24
|
+
const value = path[name];
|
|
25
|
+
if (value === undefined || value === null) {
|
|
26
|
+
continue;
|
|
27
|
+
}
|
|
28
|
+
if (Array.isArray(value)) {
|
|
29
|
+
url = url.replace(match, serializeArrayParam({ explode, name, style, value }));
|
|
30
|
+
continue;
|
|
31
|
+
}
|
|
32
|
+
if (typeof value === 'object') {
|
|
33
|
+
url = url.replace(match, serializeObjectParam({
|
|
34
|
+
explode,
|
|
35
|
+
name,
|
|
36
|
+
style,
|
|
37
|
+
value: value,
|
|
38
|
+
valueOnly: true,
|
|
39
|
+
}));
|
|
40
|
+
continue;
|
|
41
|
+
}
|
|
42
|
+
if (style === 'matrix') {
|
|
43
|
+
url = url.replace(match, `;${serializePrimitiveParam({
|
|
44
|
+
name,
|
|
45
|
+
value: value,
|
|
46
|
+
})}`);
|
|
47
|
+
continue;
|
|
48
|
+
}
|
|
49
|
+
const replaceValue = encodeURIComponent(style === 'label' ? `.${value}` : value);
|
|
50
|
+
url = url.replace(match, replaceValue);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return url;
|
|
54
|
+
};
|
|
55
|
+
export const getUrl = ({ baseUrl, path, query, querySerializer, url: _url, }) => {
|
|
56
|
+
const pathUrl = _url.startsWith('/') ? _url : `/${_url}`;
|
|
57
|
+
let url = (baseUrl ?? '') + pathUrl;
|
|
58
|
+
if (path) {
|
|
59
|
+
url = defaultPathSerializer({ path, url });
|
|
60
|
+
}
|
|
61
|
+
let search = query ? querySerializer(query) : '';
|
|
62
|
+
if (search.startsWith('?')) {
|
|
63
|
+
search = search.substring(1);
|
|
64
|
+
}
|
|
65
|
+
if (search) {
|
|
66
|
+
url += `?${search}`;
|
|
67
|
+
}
|
|
68
|
+
return url;
|
|
69
|
+
};
|
|
70
|
+
export function getValidRequestBody(options) {
|
|
71
|
+
const hasBody = options.body !== undefined;
|
|
72
|
+
const isSerializedBody = hasBody && options.bodySerializer;
|
|
73
|
+
if (isSerializedBody) {
|
|
74
|
+
if ('serializedBody' in options) {
|
|
75
|
+
const hasSerializedBody = options.serializedBody !== undefined && options.serializedBody !== '';
|
|
76
|
+
return hasSerializedBody ? options.serializedBody : null;
|
|
77
|
+
}
|
|
78
|
+
// not all clients implement a serializedBody property (i.e. client-axios)
|
|
79
|
+
return options.body !== '' ? options.body : null;
|
|
80
|
+
}
|
|
81
|
+
// plain/text body
|
|
82
|
+
if (hasBody) {
|
|
83
|
+
return options.body;
|
|
84
|
+
}
|
|
85
|
+
// no body was provided
|
|
86
|
+
return undefined;
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=utils.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.gen.js","sourceRoot":"","sources":["../../src/core/utils.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAGrD,OAAO,EAEL,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,yBAAyB,CAAC;AAOjC,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC;AAE3C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAkB,EAAE,EAAE;IAC3E,IAAI,GAAG,GAAG,IAAI,CAAC;IACf,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IAC1C,IAAI,OAAO,EAAE,CAAC;QACZ,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE,CAAC;YAC5B,IAAI,OAAO,GAAG,KAAK,CAAC;YACpB,IAAI,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;YAChD,IAAI,KAAK,GAAwB,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,CAAC,OAInC;IACC,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,KAAK,SAAS,CAAC;IAC3C,MAAM,gBAAgB,GAAG,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC;IAE3D,IAAI,gBAAgB,EAAE,CAAC;QACrB,IAAI,gBAAgB,IAAI,OAAO,EAAE,CAAC;YAChC,MAAM,iBAAiB,GACrB,OAAO,CAAC,cAAc,KAAK,SAAS,IAAI,OAAO,CAAC,cAAc,KAAK,EAAE,CAAC;YAExE,OAAO,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC;QAC3D,CAAC;QAED,0EAA0E;QAC1E,OAAO,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACnD,CAAC;IAED,kBAAkB;IAClB,IAAI,OAAO,EAAE,CAAC;QACZ,OAAO,OAAO,CAAC,IAAI,CAAC;IACtB,CAAC;IAED,uBAAuB;IACvB,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,mBAAmB,gBAAgB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAGrD,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { Client, Options as Options2, TDataShape } from './client/index.ts';
|
|
2
|
+
import type { CancelScheduledUpdateByDazlIdData, CancelScheduledUpdateByDazlIdErrors, CancelScheduledUpdateByDazlIdResponses, CreateCustomerPortalSessionData, CreateCustomerPortalSessionErrors, CreateCustomerPortalSessionResponses, CreateCustomerWithDefaultSubscriptionData, CreateCustomerWithDefaultSubscriptionErrors, CreateCustomerWithDefaultSubscriptionResponses, GetAllProductsData, GetAllProductsErrors, GetAllProductsResponses, GetBalanceByDazlIdData, GetBalanceByDazlIdErrors, GetBalanceByDazlIdResponses, GetCustomerInfoByDazlIdData, GetCustomerInfoByDazlIdErrors, GetCustomerInfoByDazlIdResponses, GetHasSufficientCreditsByDazlIdData, GetHasSufficientCreditsByDazlIdErrors, GetHasSufficientCreditsByDazlIdResponses, GetMaxCreditsForDefaultFreeData, GetMaxCreditsForDefaultFreeResponses, GetPriceByPriceIdData, GetPriceByPriceIdErrors, GetPriceByPriceIdResponses, UpdateUserSubscriptionData, UpdateUserSubscriptionErrors, UpdateUserSubscriptionResponses } from './types.gen.ts';
|
|
3
|
+
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
|
+
/**
|
|
5
|
+
* You can provide a client instance returned by `createClient()` instead of
|
|
6
|
+
* individual options. This might be also useful if you want to implement a
|
|
7
|
+
* custom client.
|
|
8
|
+
*/
|
|
9
|
+
client?: Client;
|
|
10
|
+
/**
|
|
11
|
+
* You can pass arbitrary values through the `meta` object. This can be
|
|
12
|
+
* used to access values that aren't defined as part of the SDK function.
|
|
13
|
+
*/
|
|
14
|
+
meta?: Record<string, unknown>;
|
|
15
|
+
};
|
|
16
|
+
export declare class Billing {
|
|
17
|
+
static getBalanceByDazlId<ThrowOnError extends boolean = false>(options: Options<GetBalanceByDazlIdData, ThrowOnError>): import("./client/types.gen.ts").RequestResult<GetBalanceByDazlIdResponses, GetBalanceByDazlIdErrors, ThrowOnError, "fields">;
|
|
18
|
+
static getHasSufficientCreditsByDazlId<ThrowOnError extends boolean = false>(options: Options<GetHasSufficientCreditsByDazlIdData, ThrowOnError>): import("./client/types.gen.ts").RequestResult<GetHasSufficientCreditsByDazlIdResponses, GetHasSufficientCreditsByDazlIdErrors, ThrowOnError, "fields">;
|
|
19
|
+
static getAllProducts<ThrowOnError extends boolean = false>(options?: Options<GetAllProductsData, ThrowOnError>): import("./client/types.gen.ts").RequestResult<GetAllProductsResponses, GetAllProductsErrors, ThrowOnError, "fields">;
|
|
20
|
+
static getPriceByPriceId<ThrowOnError extends boolean = false>(options: Options<GetPriceByPriceIdData, ThrowOnError>): import("./client/types.gen.ts").RequestResult<GetPriceByPriceIdResponses, GetPriceByPriceIdErrors, ThrowOnError, "fields">;
|
|
21
|
+
static getMaxCreditsForDefaultFree<ThrowOnError extends boolean = false>(options?: Options<GetMaxCreditsForDefaultFreeData, ThrowOnError>): import("./client/types.gen.ts").RequestResult<GetMaxCreditsForDefaultFreeResponses, unknown, ThrowOnError, "fields">;
|
|
22
|
+
static getCustomerInfoByDazlId<ThrowOnError extends boolean = false>(options: Options<GetCustomerInfoByDazlIdData, ThrowOnError>): import("./client/types.gen.ts").RequestResult<GetCustomerInfoByDazlIdResponses, GetCustomerInfoByDazlIdErrors, ThrowOnError, "fields">;
|
|
23
|
+
static updateUserSubscription<ThrowOnError extends boolean = false>(options: Options<UpdateUserSubscriptionData, ThrowOnError>): import("./client/types.gen.ts").RequestResult<UpdateUserSubscriptionResponses, UpdateUserSubscriptionErrors, ThrowOnError, "fields">;
|
|
24
|
+
static cancelScheduledUpdateByDazlId<ThrowOnError extends boolean = false>(options: Options<CancelScheduledUpdateByDazlIdData, ThrowOnError>): import("./client/types.gen.ts").RequestResult<CancelScheduledUpdateByDazlIdResponses, CancelScheduledUpdateByDazlIdErrors, ThrowOnError, "fields">;
|
|
25
|
+
static createCustomerPortalSession<ThrowOnError extends boolean = false>(options: Options<CreateCustomerPortalSessionData, ThrowOnError>): import("./client/types.gen.ts").RequestResult<CreateCustomerPortalSessionResponses, CreateCustomerPortalSessionErrors, ThrowOnError, "fields">;
|
|
26
|
+
static createCustomerWithDefaultSubscription<ThrowOnError extends boolean = false>(options: Options<CreateCustomerWithDefaultSubscriptionData, ThrowOnError>): import("./client/types.gen.ts").RequestResult<CreateCustomerWithDefaultSubscriptionResponses, CreateCustomerWithDefaultSubscriptionErrors, ThrowOnError, "fields">;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=sdk.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdk.gen.d.ts","sourceRoot":"","sources":["../src/sdk.gen.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,IAAI,QAAQ,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACjF,OAAO,KAAK,EAAE,iCAAiC,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,+BAA+B,EAAE,iCAAiC,EAAE,oCAAoC,EAAE,yCAAyC,EAAE,2CAA2C,EAAE,8CAA8C,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,6BAA6B,EAAE,gCAAgC,EAAE,mCAAmC,EAAE,qCAAqC,EAAE,wCAAwC,EAAE,+BAA+B,EAAE,oCAAoC,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,+BAA+B,EAAE,MAAM,gBAAgB,CAAC;AAE39B,MAAM,MAAM,OAAO,CAAC,KAAK,SAAS,UAAU,GAAG,UAAU,EAAE,YAAY,SAAS,OAAO,GAAG,OAAO,IAAI,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAC,GAAG;IACjI;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC,CAAC;AAEF,qBAAa,OAAO;WACF,kBAAkB,CAAC,YAAY,SAAS,OAAO,GAAG,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,sBAAsB,EAAE,YAAY,CAAC;WAI/G,+BAA+B,CAAC,YAAY,SAAS,OAAO,GAAG,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,mCAAmC,EAAE,YAAY,CAAC;WAIzI,cAAc,CAAC,YAAY,SAAS,OAAO,GAAG,KAAK,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,kBAAkB,EAAE,YAAY,CAAC;WAIxG,iBAAiB,CAAC,YAAY,SAAS,OAAO,GAAG,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,qBAAqB,EAAE,YAAY,CAAC;WAI7G,2BAA2B,CAAC,YAAY,SAAS,OAAO,GAAG,KAAK,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,+BAA+B,EAAE,YAAY,CAAC;WAIlI,uBAAuB,CAAC,YAAY,SAAS,OAAO,GAAG,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,2BAA2B,EAAE,YAAY,CAAC;WAIzH,sBAAsB,CAAC,YAAY,SAAS,OAAO,GAAG,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,0BAA0B,EAAE,YAAY,CAAC;WAWvH,6BAA6B,CAAC,YAAY,SAAS,OAAO,GAAG,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,iCAAiC,EAAE,YAAY,CAAC;WAIrI,2BAA2B,CAAC,YAAY,SAAS,OAAO,GAAG,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,+BAA+B,EAAE,YAAY,CAAC;WAWjI,qCAAqC,CAAC,YAAY,SAAS,OAAO,GAAG,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,yCAAyC,EAAE,YAAY,CAAC;CAUtK"}
|
package/dist/sdk.gen.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
import { client } from "./client.gen.js";
|
|
3
|
+
export class Billing {
|
|
4
|
+
static getBalanceByDazlId(options) {
|
|
5
|
+
return (options.client ?? client).get({ url: '/billing/balance/{dazlId}', ...options });
|
|
6
|
+
}
|
|
7
|
+
static getHasSufficientCreditsByDazlId(options) {
|
|
8
|
+
return (options.client ?? client).get({ url: '/billing/has-sufficient-credits/{dazlId}', ...options });
|
|
9
|
+
}
|
|
10
|
+
static getAllProducts(options) {
|
|
11
|
+
return (options?.client ?? client).get({ url: '/billing/prices', ...options });
|
|
12
|
+
}
|
|
13
|
+
static getPriceByPriceId(options) {
|
|
14
|
+
return (options.client ?? client).get({ url: '/billing/price/{priceId}', ...options });
|
|
15
|
+
}
|
|
16
|
+
static getMaxCreditsForDefaultFree(options) {
|
|
17
|
+
return (options?.client ?? client).get({ url: '/billing/max-credits-for-default-free', ...options });
|
|
18
|
+
}
|
|
19
|
+
static getCustomerInfoByDazlId(options) {
|
|
20
|
+
return (options.client ?? client).get({ url: '/billing/customer-info/{dazlId}', ...options });
|
|
21
|
+
}
|
|
22
|
+
static updateUserSubscription(options) {
|
|
23
|
+
return (options.client ?? client).post({
|
|
24
|
+
url: '/billing/update-subscription',
|
|
25
|
+
...options,
|
|
26
|
+
headers: {
|
|
27
|
+
'Content-Type': 'application/json',
|
|
28
|
+
...options.headers
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
static cancelScheduledUpdateByDazlId(options) {
|
|
33
|
+
return (options.client ?? client).post({ url: '/billing/cancel-scheduled-update/{dazlId}', ...options });
|
|
34
|
+
}
|
|
35
|
+
static createCustomerPortalSession(options) {
|
|
36
|
+
return (options.client ?? client).post({
|
|
37
|
+
url: '/billing/create-portal-session',
|
|
38
|
+
...options,
|
|
39
|
+
headers: {
|
|
40
|
+
'Content-Type': 'application/json',
|
|
41
|
+
...options.headers
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
static createCustomerWithDefaultSubscription(options) {
|
|
46
|
+
return (options.client ?? client).put({
|
|
47
|
+
url: '/billing/create-customer-with-default-subscription',
|
|
48
|
+
...options,
|
|
49
|
+
headers: {
|
|
50
|
+
'Content-Type': 'application/json',
|
|
51
|
+
...options.headers
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=sdk.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdk.gen.js","sourceRoot":"","sources":["../src/sdk.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAErD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAkBzC,MAAM,OAAO,OAAO;IACT,MAAM,CAAC,kBAAkB,CAAuC,OAAsD;QACzH,OAAO,CAAC,OAAO,CAAC,MAAM,IAAI,MAAM,CAAC,CAAC,GAAG,CAAsE,EAAE,GAAG,EAAE,2BAA2B,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjK,CAAC;IAEM,MAAM,CAAC,+BAA+B,CAAuC,OAAmE;QACnJ,OAAO,CAAC,OAAO,CAAC,MAAM,IAAI,MAAM,CAAC,CAAC,GAAG,CAAgG,EAAE,GAAG,EAAE,0CAA0C,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1M,CAAC;IAEM,MAAM,CAAC,cAAc,CAAuC,OAAmD;QAClH,OAAO,CAAC,OAAO,EAAE,MAAM,IAAI,MAAM,CAAC,CAAC,GAAG,CAA8D,EAAE,GAAG,EAAE,iBAAiB,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChJ,CAAC;IAEM,MAAM,CAAC,iBAAiB,CAAuC,OAAqD;QACvH,OAAO,CAAC,OAAO,CAAC,MAAM,IAAI,MAAM,CAAC,CAAC,GAAG,CAAoE,EAAE,GAAG,EAAE,0BAA0B,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9J,CAAC;IAEM,MAAM,CAAC,2BAA2B,CAAuC,OAAgE;QAC5I,OAAO,CAAC,OAAO,EAAE,MAAM,IAAI,MAAM,CAAC,CAAC,GAAG,CAA8D,EAAE,GAAG,EAAE,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C;IACP,CAAC;CACJ"}
|
|
@@ -0,0 +1,446 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: `${string}://${string}` | (string & {});
|
|
3
|
+
};
|
|
4
|
+
export type BillingPrice = {
|
|
5
|
+
credits: number;
|
|
6
|
+
priceCents: number;
|
|
7
|
+
priceId: string;
|
|
8
|
+
productId: string;
|
|
9
|
+
lookup_key: string | null;
|
|
10
|
+
isDefaultFree: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type StripeProduct = {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
description: string | null;
|
|
16
|
+
active: boolean;
|
|
17
|
+
created: number;
|
|
18
|
+
updated: number;
|
|
19
|
+
images: Array<string>;
|
|
20
|
+
livemode: boolean;
|
|
21
|
+
default_price?: string | null;
|
|
22
|
+
marketing_features: Array<{
|
|
23
|
+
name?: string;
|
|
24
|
+
}>;
|
|
25
|
+
metadata: {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
};
|
|
28
|
+
object: 'product';
|
|
29
|
+
package_dimensions: null;
|
|
30
|
+
shippable: null;
|
|
31
|
+
tax_code: null;
|
|
32
|
+
type: 'service';
|
|
33
|
+
url: string | null;
|
|
34
|
+
};
|
|
35
|
+
export type BillingProduct = {
|
|
36
|
+
prices: Array<BillingPrice>;
|
|
37
|
+
product: StripeProduct;
|
|
38
|
+
isDefaultFree?: boolean;
|
|
39
|
+
};
|
|
40
|
+
export type ScheduledUpdate = {
|
|
41
|
+
type: 'downgrade';
|
|
42
|
+
scheduleId: string;
|
|
43
|
+
targetPriceId: string;
|
|
44
|
+
updateTime: number;
|
|
45
|
+
} | {
|
|
46
|
+
type: 'cancel';
|
|
47
|
+
updateTime: number;
|
|
48
|
+
};
|
|
49
|
+
export type CustomerInfo = {
|
|
50
|
+
productId: string;
|
|
51
|
+
credits: number;
|
|
52
|
+
isDefaultFree: boolean;
|
|
53
|
+
priceId: string;
|
|
54
|
+
subscriptionItemId: string;
|
|
55
|
+
subscriptionId: string;
|
|
56
|
+
currentCycle: {
|
|
57
|
+
start: number;
|
|
58
|
+
end: number;
|
|
59
|
+
};
|
|
60
|
+
scheduledUpdate?: ScheduledUpdate;
|
|
61
|
+
defaultFreePriceId?: string;
|
|
62
|
+
customerId: string;
|
|
63
|
+
hasEarlyAccessCoupon: boolean;
|
|
64
|
+
};
|
|
65
|
+
export type GetBalanceByDazlIdData = {
|
|
66
|
+
body?: never;
|
|
67
|
+
path: {
|
|
68
|
+
dazlId: string;
|
|
69
|
+
};
|
|
70
|
+
query?: never;
|
|
71
|
+
url: '/billing/balance/{dazlId}';
|
|
72
|
+
};
|
|
73
|
+
export type GetBalanceByDazlIdErrors = {
|
|
74
|
+
/**
|
|
75
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
76
|
+
*/
|
|
77
|
+
400: {
|
|
78
|
+
message: string;
|
|
79
|
+
issues: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Unauthorized
|
|
83
|
+
*/
|
|
84
|
+
401: {
|
|
85
|
+
message: string;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Internal server error
|
|
89
|
+
*/
|
|
90
|
+
500: {
|
|
91
|
+
message: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
export type GetBalanceByDazlIdError = GetBalanceByDazlIdErrors[keyof GetBalanceByDazlIdErrors];
|
|
95
|
+
export type GetBalanceByDazlIdResponses = {
|
|
96
|
+
/**
|
|
97
|
+
* Returns user credit balance
|
|
98
|
+
*/
|
|
99
|
+
200: {
|
|
100
|
+
balance: number;
|
|
101
|
+
productId?: string;
|
|
102
|
+
priceId?: string;
|
|
103
|
+
isSubscriptionFree?: boolean;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
export type GetBalanceByDazlIdResponse = GetBalanceByDazlIdResponses[keyof GetBalanceByDazlIdResponses];
|
|
107
|
+
export type GetHasSufficientCreditsByDazlIdData = {
|
|
108
|
+
body?: never;
|
|
109
|
+
path: {
|
|
110
|
+
dazlId: string;
|
|
111
|
+
};
|
|
112
|
+
query?: never;
|
|
113
|
+
url: '/billing/has-sufficient-credits/{dazlId}';
|
|
114
|
+
};
|
|
115
|
+
export type GetHasSufficientCreditsByDazlIdErrors = {
|
|
116
|
+
/**
|
|
117
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
118
|
+
*/
|
|
119
|
+
400: {
|
|
120
|
+
message: string;
|
|
121
|
+
issues: string;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Unauthorized
|
|
125
|
+
*/
|
|
126
|
+
401: {
|
|
127
|
+
message: string;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Internal server error
|
|
131
|
+
*/
|
|
132
|
+
500: {
|
|
133
|
+
message: string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
export type GetHasSufficientCreditsByDazlIdError = GetHasSufficientCreditsByDazlIdErrors[keyof GetHasSufficientCreditsByDazlIdErrors];
|
|
137
|
+
export type GetHasSufficientCreditsByDazlIdResponses = {
|
|
138
|
+
/**
|
|
139
|
+
* Returns whether user has sufficient credits
|
|
140
|
+
*/
|
|
141
|
+
200: {
|
|
142
|
+
hasSufficientCredits: boolean;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
export type GetHasSufficientCreditsByDazlIdResponse = GetHasSufficientCreditsByDazlIdResponses[keyof GetHasSufficientCreditsByDazlIdResponses];
|
|
146
|
+
export type GetAllProductsData = {
|
|
147
|
+
body?: never;
|
|
148
|
+
path?: never;
|
|
149
|
+
query?: never;
|
|
150
|
+
url: '/billing/prices';
|
|
151
|
+
};
|
|
152
|
+
export type GetAllProductsErrors = {
|
|
153
|
+
/**
|
|
154
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
155
|
+
*/
|
|
156
|
+
400: {
|
|
157
|
+
message: string;
|
|
158
|
+
issues: string;
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* Unauthorized
|
|
162
|
+
*/
|
|
163
|
+
401: {
|
|
164
|
+
message: string;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Internal server error
|
|
168
|
+
*/
|
|
169
|
+
500: {
|
|
170
|
+
message: string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
export type GetAllProductsError = GetAllProductsErrors[keyof GetAllProductsErrors];
|
|
174
|
+
export type GetAllProductsResponses = {
|
|
175
|
+
/**
|
|
176
|
+
* Returns all available products and prices
|
|
177
|
+
*/
|
|
178
|
+
200: {
|
|
179
|
+
[key: string]: BillingProduct;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
export type GetAllProductsResponse = GetAllProductsResponses[keyof GetAllProductsResponses];
|
|
183
|
+
export type GetPriceByPriceIdData = {
|
|
184
|
+
body?: never;
|
|
185
|
+
path: {
|
|
186
|
+
priceId: string;
|
|
187
|
+
};
|
|
188
|
+
query?: never;
|
|
189
|
+
url: '/billing/price/{priceId}';
|
|
190
|
+
};
|
|
191
|
+
export type GetPriceByPriceIdErrors = {
|
|
192
|
+
/**
|
|
193
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
194
|
+
*/
|
|
195
|
+
400: {
|
|
196
|
+
message: string;
|
|
197
|
+
issues: string;
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* Unauthorized
|
|
201
|
+
*/
|
|
202
|
+
401: {
|
|
203
|
+
message: string;
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* Internal server error
|
|
207
|
+
*/
|
|
208
|
+
500: {
|
|
209
|
+
message: string;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
export type GetPriceByPriceIdError = GetPriceByPriceIdErrors[keyof GetPriceByPriceIdErrors];
|
|
213
|
+
export type GetPriceByPriceIdResponses = {
|
|
214
|
+
/**
|
|
215
|
+
* Returns price details
|
|
216
|
+
*/
|
|
217
|
+
200: BillingPrice;
|
|
218
|
+
};
|
|
219
|
+
export type GetPriceByPriceIdResponse = GetPriceByPriceIdResponses[keyof GetPriceByPriceIdResponses];
|
|
220
|
+
export type GetMaxCreditsForDefaultFreeData = {
|
|
221
|
+
body?: never;
|
|
222
|
+
path?: never;
|
|
223
|
+
query?: never;
|
|
224
|
+
url: '/billing/max-credits-for-default-free';
|
|
225
|
+
};
|
|
226
|
+
export type GetMaxCreditsForDefaultFreeResponses = {
|
|
227
|
+
/**
|
|
228
|
+
* Returns maximum credits for free tier
|
|
229
|
+
*/
|
|
230
|
+
200: {
|
|
231
|
+
maxCreditsForDefaultFree: number;
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
export type GetMaxCreditsForDefaultFreeResponse = GetMaxCreditsForDefaultFreeResponses[keyof GetMaxCreditsForDefaultFreeResponses];
|
|
235
|
+
export type GetCustomerInfoByDazlIdData = {
|
|
236
|
+
body?: never;
|
|
237
|
+
path: {
|
|
238
|
+
dazlId: string;
|
|
239
|
+
};
|
|
240
|
+
query?: never;
|
|
241
|
+
url: '/billing/customer-info/{dazlId}';
|
|
242
|
+
};
|
|
243
|
+
export type GetCustomerInfoByDazlIdErrors = {
|
|
244
|
+
/**
|
|
245
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
246
|
+
*/
|
|
247
|
+
400: {
|
|
248
|
+
message: string;
|
|
249
|
+
issues: string;
|
|
250
|
+
};
|
|
251
|
+
/**
|
|
252
|
+
* Unauthorized
|
|
253
|
+
*/
|
|
254
|
+
401: {
|
|
255
|
+
message: string;
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* Internal server error
|
|
259
|
+
*/
|
|
260
|
+
500: {
|
|
261
|
+
message: string;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
export type GetCustomerInfoByDazlIdError = GetCustomerInfoByDazlIdErrors[keyof GetCustomerInfoByDazlIdErrors];
|
|
265
|
+
export type GetCustomerInfoByDazlIdResponses = {
|
|
266
|
+
/**
|
|
267
|
+
* Returns customer subscription information
|
|
268
|
+
*/
|
|
269
|
+
200: CustomerInfo;
|
|
270
|
+
};
|
|
271
|
+
export type GetCustomerInfoByDazlIdResponse = GetCustomerInfoByDazlIdResponses[keyof GetCustomerInfoByDazlIdResponses];
|
|
272
|
+
export type UpdateUserSubscriptionData = {
|
|
273
|
+
body: {
|
|
274
|
+
dazlId: string;
|
|
275
|
+
targetPriceId: string;
|
|
276
|
+
successUrl: string;
|
|
277
|
+
cancelUrl: string;
|
|
278
|
+
};
|
|
279
|
+
path?: never;
|
|
280
|
+
query?: never;
|
|
281
|
+
url: '/billing/update-subscription';
|
|
282
|
+
};
|
|
283
|
+
export type UpdateUserSubscriptionErrors = {
|
|
284
|
+
/**
|
|
285
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
286
|
+
*/
|
|
287
|
+
400: {
|
|
288
|
+
message: string;
|
|
289
|
+
issues: string;
|
|
290
|
+
};
|
|
291
|
+
/**
|
|
292
|
+
* Unauthorized
|
|
293
|
+
*/
|
|
294
|
+
401: {
|
|
295
|
+
message: string;
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* Internal server error
|
|
299
|
+
*/
|
|
300
|
+
500: {
|
|
301
|
+
message: string;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
export type UpdateUserSubscriptionError = UpdateUserSubscriptionErrors[keyof UpdateUserSubscriptionErrors];
|
|
305
|
+
export type UpdateUserSubscriptionResponses = {
|
|
306
|
+
/**
|
|
307
|
+
* Returns updated subscription details
|
|
308
|
+
*/
|
|
309
|
+
200: {
|
|
310
|
+
type: 'checkout';
|
|
311
|
+
session: string;
|
|
312
|
+
} | {
|
|
313
|
+
type: 'update';
|
|
314
|
+
newPrice: BillingPrice;
|
|
315
|
+
} | {
|
|
316
|
+
type: 'cancel';
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
export type UpdateUserSubscriptionResponse = UpdateUserSubscriptionResponses[keyof UpdateUserSubscriptionResponses];
|
|
320
|
+
export type CancelScheduledUpdateByDazlIdData = {
|
|
321
|
+
body?: never;
|
|
322
|
+
path: {
|
|
323
|
+
dazlId: string;
|
|
324
|
+
};
|
|
325
|
+
query?: never;
|
|
326
|
+
url: '/billing/cancel-scheduled-update/{dazlId}';
|
|
327
|
+
};
|
|
328
|
+
export type CancelScheduledUpdateByDazlIdErrors = {
|
|
329
|
+
/**
|
|
330
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
331
|
+
*/
|
|
332
|
+
400: {
|
|
333
|
+
message: string;
|
|
334
|
+
issues: string;
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* Unauthorized
|
|
338
|
+
*/
|
|
339
|
+
401: {
|
|
340
|
+
message: string;
|
|
341
|
+
};
|
|
342
|
+
/**
|
|
343
|
+
* Internal server error
|
|
344
|
+
*/
|
|
345
|
+
500: {
|
|
346
|
+
message: string;
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
export type CancelScheduledUpdateByDazlIdError = CancelScheduledUpdateByDazlIdErrors[keyof CancelScheduledUpdateByDazlIdErrors];
|
|
350
|
+
export type CancelScheduledUpdateByDazlIdResponses = {
|
|
351
|
+
/**
|
|
352
|
+
* Returns cancellation status
|
|
353
|
+
*/
|
|
354
|
+
200: {
|
|
355
|
+
success: boolean;
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
export type CancelScheduledUpdateByDazlIdResponse = CancelScheduledUpdateByDazlIdResponses[keyof CancelScheduledUpdateByDazlIdResponses];
|
|
359
|
+
export type CreateCustomerPortalSessionData = {
|
|
360
|
+
body: {
|
|
361
|
+
dazlId: string;
|
|
362
|
+
returnUrl?: string;
|
|
363
|
+
};
|
|
364
|
+
path?: never;
|
|
365
|
+
query?: never;
|
|
366
|
+
url: '/billing/create-portal-session';
|
|
367
|
+
};
|
|
368
|
+
export type CreateCustomerPortalSessionErrors = {
|
|
369
|
+
/**
|
|
370
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
371
|
+
*/
|
|
372
|
+
400: {
|
|
373
|
+
message: string;
|
|
374
|
+
issues: string;
|
|
375
|
+
};
|
|
376
|
+
/**
|
|
377
|
+
* Unauthorized
|
|
378
|
+
*/
|
|
379
|
+
401: {
|
|
380
|
+
message: string;
|
|
381
|
+
};
|
|
382
|
+
/**
|
|
383
|
+
* Internal server error
|
|
384
|
+
*/
|
|
385
|
+
500: {
|
|
386
|
+
message: string;
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
export type CreateCustomerPortalSessionError = CreateCustomerPortalSessionErrors[keyof CreateCustomerPortalSessionErrors];
|
|
390
|
+
export type CreateCustomerPortalSessionResponses = {
|
|
391
|
+
/**
|
|
392
|
+
* Returns billing portal session URL
|
|
393
|
+
*/
|
|
394
|
+
200: {
|
|
395
|
+
url: string;
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
export type CreateCustomerPortalSessionResponse = CreateCustomerPortalSessionResponses[keyof CreateCustomerPortalSessionResponses];
|
|
399
|
+
export type CreateCustomerWithDefaultSubscriptionData = {
|
|
400
|
+
body: {
|
|
401
|
+
email: string;
|
|
402
|
+
name?: string;
|
|
403
|
+
customerOptions?: {
|
|
404
|
+
idempotencyKey: string;
|
|
405
|
+
};
|
|
406
|
+
subscriptionOptions?: {
|
|
407
|
+
idempotencyKey: string;
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
path?: never;
|
|
411
|
+
query?: never;
|
|
412
|
+
url: '/billing/create-customer-with-default-subscription';
|
|
413
|
+
};
|
|
414
|
+
export type CreateCustomerWithDefaultSubscriptionErrors = {
|
|
415
|
+
/**
|
|
416
|
+
* Bad request - Invalid parameters or malformed JSON
|
|
417
|
+
*/
|
|
418
|
+
400: {
|
|
419
|
+
message: string;
|
|
420
|
+
issues: string;
|
|
421
|
+
};
|
|
422
|
+
/**
|
|
423
|
+
* Unauthorized
|
|
424
|
+
*/
|
|
425
|
+
401: {
|
|
426
|
+
message: string;
|
|
427
|
+
};
|
|
428
|
+
/**
|
|
429
|
+
* Internal server error
|
|
430
|
+
*/
|
|
431
|
+
500: {
|
|
432
|
+
message: string;
|
|
433
|
+
};
|
|
434
|
+
};
|
|
435
|
+
export type CreateCustomerWithDefaultSubscriptionError = CreateCustomerWithDefaultSubscriptionErrors[keyof CreateCustomerWithDefaultSubscriptionErrors];
|
|
436
|
+
export type CreateCustomerWithDefaultSubscriptionResponses = {
|
|
437
|
+
/**
|
|
438
|
+
* Returns created customer ID
|
|
439
|
+
*/
|
|
440
|
+
200: {
|
|
441
|
+
customerId: string;
|
|
442
|
+
noStripe: boolean;
|
|
443
|
+
};
|
|
444
|
+
};
|
|
445
|
+
export type CreateCustomerWithDefaultSubscriptionResponse = CreateCustomerWithDefaultSubscriptionResponses[keyof CreateCustomerWithDefaultSubscriptionResponses];
|
|
446
|
+
//# sourceMappingURL=types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../src/types.gen.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GAAG;IACxB,OAAO,EAAE,GAAG,MAAM,MAAM,MAAM,EAAE,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;CACpD,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,KAAK,CAAC,MAAM,C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