@dynamic-labs/sdk-api 0.0.123 → 0.0.125
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/package.json +1 -1
- package/src/apis/OrganizationsApi.d.ts +23 -13
- package/src/apis/OrganizationsApi.js +65 -35
- package/src/apis/OrganizationsApi.js.map +1 -1
- package/src/models/BillingSubscription.d.ts +76 -0
- package/src/models/BillingSubscription.js +60 -0
- package/src/models/BillingSubscription.js.map +1 -0
- package/src/models/BillingSubscriptionPlanTypeEnum.d.ts +24 -0
- package/src/models/BillingSubscriptionPlanTypeEnum.js +40 -0
- package/src/models/BillingSubscriptionPlanTypeEnum.js.map +1 -0
- package/src/models/SubscriptionAdvancedScopeEnum.d.ts +30 -0
- package/src/models/SubscriptionAdvancedScopeEnum.js +46 -0
- package/src/models/SubscriptionAdvancedScopeEnum.js.map +1 -0
- package/src/models/SubscriptionFreeScopeEnum.d.ts +31 -0
- package/src/models/SubscriptionFreeScopeEnum.js +47 -0
- package/src/models/SubscriptionFreeScopeEnum.js.map +1 -0
- package/src/models/UpdateSelfResponse.d.ts +3 -3
- package/src/models/UpdateSelfResponse.js +3 -3
- package/src/models/UpdateSelfResponse.js.map +1 -1
- package/src/models/index.d.ts +4 -2
- package/src/models/index.js +4 -2
- package/src/models/index.js.map +1 -1
- package/src/models/BillingSession.d.ts +0 -33
- package/src/models/BillingSession.js +0 -44
- package/src/models/BillingSession.js.map +0 -1
- package/src/models/BillingSessionRequest.d.ts +0 -27
- package/src/models/BillingSessionRequest.js +0 -42
- package/src/models/BillingSessionRequest.js.map +0 -1
package/package.json
CHANGED
|
@@ -10,17 +10,16 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import {
|
|
14
|
-
export interface CreateBillingSessionRequest {
|
|
15
|
-
organizationId: string;
|
|
16
|
-
billingSessionRequest: BillingSessionRequest;
|
|
17
|
-
}
|
|
13
|
+
import { BillingSubscription, Organization, OrganizationFields, OrganizationRequest, OrganizationResponse, OrganizationsResponse } from '../models';
|
|
18
14
|
export interface CreateOrganizationRequest {
|
|
19
15
|
organizationRequest: OrganizationRequest;
|
|
20
16
|
}
|
|
21
17
|
export interface DeleteOrganizationByIdRequest {
|
|
22
18
|
organizationId: string;
|
|
23
19
|
}
|
|
20
|
+
export interface GetBillingSubscriptionByOrganizationRequest {
|
|
21
|
+
organizationId: string;
|
|
22
|
+
}
|
|
24
23
|
export interface GetOrganizationByIdRequest {
|
|
25
24
|
organizationId: string;
|
|
26
25
|
}
|
|
@@ -28,18 +27,13 @@ export interface UpdateOrganizationByIdRequest {
|
|
|
28
27
|
organizationId: string;
|
|
29
28
|
organizationFields: OrganizationFields;
|
|
30
29
|
}
|
|
30
|
+
export interface UpgradeSubscriptionForOrganizationRequest {
|
|
31
|
+
organizationId: string;
|
|
32
|
+
}
|
|
31
33
|
/**
|
|
32
34
|
*
|
|
33
35
|
*/
|
|
34
36
|
export declare class OrganizationsApi extends runtime.BaseAPI {
|
|
35
|
-
/**
|
|
36
|
-
* Create a new billing session url
|
|
37
|
-
*/
|
|
38
|
-
createBillingSessionRaw(requestParameters: CreateBillingSessionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BillingSession>>;
|
|
39
|
-
/**
|
|
40
|
-
* Create a new billing session url
|
|
41
|
-
*/
|
|
42
|
-
createBillingSession(requestParameters: CreateBillingSessionRequest, initOverrides?: RequestInit): Promise<BillingSession>;
|
|
43
37
|
/**
|
|
44
38
|
* Creates organization
|
|
45
39
|
*/
|
|
@@ -56,6 +50,14 @@ export declare class OrganizationsApi extends runtime.BaseAPI {
|
|
|
56
50
|
* Deletes an organization by ID
|
|
57
51
|
*/
|
|
58
52
|
deleteOrganizationById(requestParameters: DeleteOrganizationByIdRequest, initOverrides?: RequestInit): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Find the subscription of an organization using its ID
|
|
55
|
+
*/
|
|
56
|
+
getBillingSubscriptionByOrganizationRaw(requestParameters: GetBillingSubscriptionByOrganizationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BillingSubscription>>;
|
|
57
|
+
/**
|
|
58
|
+
* Find the subscription of an organization using its ID
|
|
59
|
+
*/
|
|
60
|
+
getBillingSubscriptionByOrganization(requestParameters: GetBillingSubscriptionByOrganizationRequest, initOverrides?: RequestInit): Promise<BillingSubscription>;
|
|
59
61
|
/**
|
|
60
62
|
* Find an organization by ID
|
|
61
63
|
*/
|
|
@@ -80,4 +82,12 @@ export declare class OrganizationsApi extends runtime.BaseAPI {
|
|
|
80
82
|
* Update an organization by ID
|
|
81
83
|
*/
|
|
82
84
|
updateOrganizationById(requestParameters: UpdateOrganizationByIdRequest, initOverrides?: RequestInit): Promise<OrganizationResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* Upgrade organziation to advanced plan
|
|
87
|
+
*/
|
|
88
|
+
upgradeSubscriptionForOrganizationRaw(requestParameters: UpgradeSubscriptionForOrganizationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BillingSubscription>>;
|
|
89
|
+
/**
|
|
90
|
+
* Upgrade organziation to advanced plan
|
|
91
|
+
*/
|
|
92
|
+
upgradeSubscriptionForOrganization(requestParameters: UpgradeSubscriptionForOrganizationRequest, initOverrides?: RequestInit): Promise<BillingSubscription>;
|
|
83
93
|
}
|
|
@@ -53,15 +53,12 @@ const models_1 = require("../models");
|
|
|
53
53
|
*/
|
|
54
54
|
class OrganizationsApi extends runtime.BaseAPI {
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Creates organization
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
createOrganizationRaw(requestParameters, initOverrides) {
|
|
59
59
|
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
-
if (requestParameters.
|
|
61
|
-
throw new runtime.RequiredError('
|
|
62
|
-
}
|
|
63
|
-
if (requestParameters.billingSessionRequest === null || requestParameters.billingSessionRequest === undefined) {
|
|
64
|
-
throw new runtime.RequiredError('billingSessionRequest', 'Required parameter requestParameters.billingSessionRequest was null or undefined when calling createBillingSession.');
|
|
60
|
+
if (requestParameters.organizationRequest === null || requestParameters.organizationRequest === undefined) {
|
|
61
|
+
throw new runtime.RequiredError('organizationRequest', 'Required parameter requestParameters.organizationRequest was null or undefined when calling createOrganization.');
|
|
65
62
|
}
|
|
66
63
|
const queryParameters = {};
|
|
67
64
|
const headerParameters = {};
|
|
@@ -74,35 +71,34 @@ class OrganizationsApi extends runtime.BaseAPI {
|
|
|
74
71
|
}
|
|
75
72
|
}
|
|
76
73
|
const response = yield this.request({
|
|
77
|
-
path: `/organizations
|
|
74
|
+
path: `/organizations`,
|
|
78
75
|
method: 'POST',
|
|
79
76
|
headers: headerParameters,
|
|
80
77
|
query: queryParameters,
|
|
81
|
-
body: (0, models_1.
|
|
78
|
+
body: (0, models_1.OrganizationRequestToJSON)(requestParameters.organizationRequest),
|
|
82
79
|
}, initOverrides);
|
|
83
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.
|
|
80
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.OrganizationResponseFromJSON)(jsonValue));
|
|
84
81
|
});
|
|
85
82
|
}
|
|
86
83
|
/**
|
|
87
|
-
*
|
|
84
|
+
* Creates organization
|
|
88
85
|
*/
|
|
89
|
-
|
|
86
|
+
createOrganization(requestParameters, initOverrides) {
|
|
90
87
|
return __awaiter(this, void 0, void 0, function* () {
|
|
91
|
-
const response = yield this.
|
|
88
|
+
const response = yield this.createOrganizationRaw(requestParameters, initOverrides);
|
|
92
89
|
return yield response.value();
|
|
93
90
|
});
|
|
94
91
|
}
|
|
95
92
|
/**
|
|
96
|
-
*
|
|
93
|
+
* Deletes an organization by ID
|
|
97
94
|
*/
|
|
98
|
-
|
|
95
|
+
deleteOrganizationByIdRaw(requestParameters, initOverrides) {
|
|
99
96
|
return __awaiter(this, void 0, void 0, function* () {
|
|
100
|
-
if (requestParameters.
|
|
101
|
-
throw new runtime.RequiredError('
|
|
97
|
+
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
98
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling deleteOrganizationById.');
|
|
102
99
|
}
|
|
103
100
|
const queryParameters = {};
|
|
104
101
|
const headerParameters = {};
|
|
105
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
106
102
|
if (this.configuration && this.configuration.accessToken) {
|
|
107
103
|
const token = this.configuration.accessToken;
|
|
108
104
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -111,31 +107,29 @@ class OrganizationsApi extends runtime.BaseAPI {
|
|
|
111
107
|
}
|
|
112
108
|
}
|
|
113
109
|
const response = yield this.request({
|
|
114
|
-
path: `/organizations`,
|
|
115
|
-
method: '
|
|
110
|
+
path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
111
|
+
method: 'DELETE',
|
|
116
112
|
headers: headerParameters,
|
|
117
113
|
query: queryParameters,
|
|
118
|
-
body: (0, models_1.OrganizationRequestToJSON)(requestParameters.organizationRequest),
|
|
119
114
|
}, initOverrides);
|
|
120
|
-
return new runtime.
|
|
115
|
+
return new runtime.VoidApiResponse(response);
|
|
121
116
|
});
|
|
122
117
|
}
|
|
123
118
|
/**
|
|
124
|
-
*
|
|
119
|
+
* Deletes an organization by ID
|
|
125
120
|
*/
|
|
126
|
-
|
|
121
|
+
deleteOrganizationById(requestParameters, initOverrides) {
|
|
127
122
|
return __awaiter(this, void 0, void 0, function* () {
|
|
128
|
-
|
|
129
|
-
return yield response.value();
|
|
123
|
+
yield this.deleteOrganizationByIdRaw(requestParameters, initOverrides);
|
|
130
124
|
});
|
|
131
125
|
}
|
|
132
126
|
/**
|
|
133
|
-
*
|
|
127
|
+
* Find the subscription of an organization using its ID
|
|
134
128
|
*/
|
|
135
|
-
|
|
129
|
+
getBillingSubscriptionByOrganizationRaw(requestParameters, initOverrides) {
|
|
136
130
|
return __awaiter(this, void 0, void 0, function* () {
|
|
137
131
|
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
138
|
-
throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling
|
|
132
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling getBillingSubscriptionByOrganization.');
|
|
139
133
|
}
|
|
140
134
|
const queryParameters = {};
|
|
141
135
|
const headerParameters = {};
|
|
@@ -147,20 +141,21 @@ class OrganizationsApi extends runtime.BaseAPI {
|
|
|
147
141
|
}
|
|
148
142
|
}
|
|
149
143
|
const response = yield this.request({
|
|
150
|
-
path: `/organizations/{organizationId}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
151
|
-
method: '
|
|
144
|
+
path: `/organizations/{organizationId}/billing/subscription`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
145
|
+
method: 'GET',
|
|
152
146
|
headers: headerParameters,
|
|
153
147
|
query: queryParameters,
|
|
154
148
|
}, initOverrides);
|
|
155
|
-
return new runtime.
|
|
149
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.BillingSubscriptionFromJSON)(jsonValue));
|
|
156
150
|
});
|
|
157
151
|
}
|
|
158
152
|
/**
|
|
159
|
-
*
|
|
153
|
+
* Find the subscription of an organization using its ID
|
|
160
154
|
*/
|
|
161
|
-
|
|
155
|
+
getBillingSubscriptionByOrganization(requestParameters, initOverrides) {
|
|
162
156
|
return __awaiter(this, void 0, void 0, function* () {
|
|
163
|
-
yield this.
|
|
157
|
+
const response = yield this.getBillingSubscriptionByOrganizationRaw(requestParameters, initOverrides);
|
|
158
|
+
return yield response.value();
|
|
164
159
|
});
|
|
165
160
|
}
|
|
166
161
|
/**
|
|
@@ -270,6 +265,41 @@ class OrganizationsApi extends runtime.BaseAPI {
|
|
|
270
265
|
return yield response.value();
|
|
271
266
|
});
|
|
272
267
|
}
|
|
268
|
+
/**
|
|
269
|
+
* Upgrade organziation to advanced plan
|
|
270
|
+
*/
|
|
271
|
+
upgradeSubscriptionForOrganizationRaw(requestParameters, initOverrides) {
|
|
272
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
273
|
+
if (requestParameters.organizationId === null || requestParameters.organizationId === undefined) {
|
|
274
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter requestParameters.organizationId was null or undefined when calling upgradeSubscriptionForOrganization.');
|
|
275
|
+
}
|
|
276
|
+
const queryParameters = {};
|
|
277
|
+
const headerParameters = {};
|
|
278
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
279
|
+
const token = this.configuration.accessToken;
|
|
280
|
+
const tokenString = yield token("bearerAuth", []);
|
|
281
|
+
if (tokenString) {
|
|
282
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
const response = yield this.request({
|
|
286
|
+
path: `/organizations/{organizationId}/billing/upgrade`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters.organizationId))),
|
|
287
|
+
method: 'PUT',
|
|
288
|
+
headers: headerParameters,
|
|
289
|
+
query: queryParameters,
|
|
290
|
+
}, initOverrides);
|
|
291
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.BillingSubscriptionFromJSON)(jsonValue));
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Upgrade organziation to advanced plan
|
|
296
|
+
*/
|
|
297
|
+
upgradeSubscriptionForOrganization(requestParameters, initOverrides) {
|
|
298
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
299
|
+
const response = yield this.upgradeSubscriptionForOrganizationRaw(requestParameters, initOverrides);
|
|
300
|
+
return yield response.value();
|
|
301
|
+
});
|
|
302
|
+
}
|
|
273
303
|
}
|
|
274
304
|
exports.OrganizationsApi = OrganizationsApi;
|
|
275
305
|
//# sourceMappingURL=OrganizationsApi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrganizationsApi.js","sourceRoot":"","sources":["../../../../../libs/sdk-api/src/apis/OrganizationsApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,oDAAsC;AACtC,sCAqCmB;
|
|
1
|
+
{"version":3,"file":"OrganizationsApi.js","sourceRoot":"","sources":["../../../../../libs/sdk-api/src/apis/OrganizationsApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,oDAAsC;AACtC,sCAqCmB;AA2BnB;;GAEG;AACH,MAAa,gBAAiB,SAAQ,OAAO,CAAC,OAAO;IAEjD;;OAEG;IACG,qBAAqB,CAAC,iBAA4C,EAAE,aAA2B;;YACjG,IAAI,iBAAiB,CAAC,mBAAmB,KAAK,IAAI,IAAI,iBAAiB,CAAC,mBAAmB,KAAK,SAAS,EAAE;gBACvG,MAAM,IAAI,OAAO,CAAC,aAAa,CAAC,qBAAqB,EAAC,iHAAiH,CAAC,CAAC;aAC5K;YAED,MAAM,eAAe,GAAQ,EAAE,CAAC;YAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;YAEjD,gBAAgB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;YAEtD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE;gBACtD,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC;gBAC7C,MAAM,WAAW,GAAG,MAAM,KAAK,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;gBAElD,IAAI,WAAW,EAAE;oBACb,gBAAgB,CAAC,eAAe,CAAC,GAAG,UAAU,WAAW,EAAE,CAAC;iBAC/D;aACJ;YACD,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AC,eAAe,CAAC,GAAG,UAAU,WAAW,EAAE,CAAC;iBAC/D;aACJ;YACD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;gBAChC,IAAI,EAAE,iDAAiD,CAAC,OAAO,CAAC,IAAI,gBAAgB,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC;gBACtJ,MAAM,EAAE,KAAK;gBACb,OAAO,EAAE,gBAAgB;gBACzB,KAAK,EAAE,eAAe;aACzB,EAAE,aAAa,CAAC,CAAC;YAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,oCAA2B,EAAC,SAAS,CAAC,CAAC,CAAC;QACxG,CAAC;KAAA;IAED;;OAEG;IACG,kCAAkC,CAAC,iBAA4D,EAAE,aAA2B;;YAC9H,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qCAAqC,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;YACpG,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;QAClC,CAAC;KAAA;CAEJ;AAjRD,4CAiRC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { BillingSubscriptionPlanTypeEnum } from './BillingSubscriptionPlanTypeEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BillingSubscription
|
|
17
|
+
*/
|
|
18
|
+
export interface BillingSubscription {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof BillingSubscription
|
|
23
|
+
*/
|
|
24
|
+
billingPortalUrl?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BillingSubscription
|
|
29
|
+
*/
|
|
30
|
+
billingPortalAddPaymentMethodUrl?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof BillingSubscription
|
|
35
|
+
*/
|
|
36
|
+
hasPaymentMethod: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {BillingSubscriptionPlanTypeEnum}
|
|
40
|
+
* @memberof BillingSubscription
|
|
41
|
+
*/
|
|
42
|
+
planType: BillingSubscriptionPlanTypeEnum;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof BillingSubscription
|
|
47
|
+
*/
|
|
48
|
+
inTrial: boolean;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Array<string>}
|
|
52
|
+
* @memberof BillingSubscription
|
|
53
|
+
*/
|
|
54
|
+
scope: Array<string>;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof BillingSubscription
|
|
59
|
+
*/
|
|
60
|
+
trialStart?: Date;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Date}
|
|
64
|
+
* @memberof BillingSubscription
|
|
65
|
+
*/
|
|
66
|
+
trialEnd?: Date;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof BillingSubscription
|
|
71
|
+
*/
|
|
72
|
+
trialDaysLeft?: number;
|
|
73
|
+
}
|
|
74
|
+
export declare function BillingSubscriptionFromJSON(json: any): BillingSubscription;
|
|
75
|
+
export declare function BillingSubscriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingSubscription;
|
|
76
|
+
export declare function BillingSubscriptionToJSON(value?: BillingSubscription | null): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Dashboard API
|
|
6
|
+
* Dashboard API documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.BillingSubscriptionToJSON = exports.BillingSubscriptionFromJSONTyped = exports.BillingSubscriptionFromJSON = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
const BillingSubscriptionPlanTypeEnum_1 = require("./BillingSubscriptionPlanTypeEnum");
|
|
19
|
+
function BillingSubscriptionFromJSON(json) {
|
|
20
|
+
return BillingSubscriptionFromJSONTyped(json, false);
|
|
21
|
+
}
|
|
22
|
+
exports.BillingSubscriptionFromJSON = BillingSubscriptionFromJSON;
|
|
23
|
+
function BillingSubscriptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if ((json === undefined) || (json === null)) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'billingPortalUrl': !(0, runtime_1.exists)(json, 'billingPortalUrl') ? undefined : json['billingPortalUrl'],
|
|
29
|
+
'billingPortalAddPaymentMethodUrl': !(0, runtime_1.exists)(json, 'billingPortalAddPaymentMethodUrl') ? undefined : json['billingPortalAddPaymentMethodUrl'],
|
|
30
|
+
'hasPaymentMethod': json['hasPaymentMethod'],
|
|
31
|
+
'planType': (0, BillingSubscriptionPlanTypeEnum_1.BillingSubscriptionPlanTypeEnumFromJSON)(json['planType']),
|
|
32
|
+
'inTrial': json['inTrial'],
|
|
33
|
+
'scope': json['scope'],
|
|
34
|
+
'trialStart': !(0, runtime_1.exists)(json, 'trialStart') ? undefined : (new Date(json['trialStart'])),
|
|
35
|
+
'trialEnd': !(0, runtime_1.exists)(json, 'trialEnd') ? undefined : (new Date(json['trialEnd'])),
|
|
36
|
+
'trialDaysLeft': !(0, runtime_1.exists)(json, 'trialDaysLeft') ? undefined : json['trialDaysLeft'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.BillingSubscriptionFromJSONTyped = BillingSubscriptionFromJSONTyped;
|
|
40
|
+
function BillingSubscriptionToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'billingPortalUrl': value.billingPortalUrl,
|
|
49
|
+
'billingPortalAddPaymentMethodUrl': value.billingPortalAddPaymentMethodUrl,
|
|
50
|
+
'hasPaymentMethod': value.hasPaymentMethod,
|
|
51
|
+
'planType': (0, BillingSubscriptionPlanTypeEnum_1.BillingSubscriptionPlanTypeEnumToJSON)(value.planType),
|
|
52
|
+
'inTrial': value.inTrial,
|
|
53
|
+
'scope': value.scope,
|
|
54
|
+
'trialStart': value.trialStart === undefined ? undefined : (value.trialStart.toISOString()),
|
|
55
|
+
'trialEnd': value.trialEnd === undefined ? undefined : (value.trialEnd.toISOString()),
|
|
56
|
+
'trialDaysLeft': value.trialDaysLeft,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.BillingSubscriptionToJSON = BillingSubscriptionToJSON;
|
|
60
|
+
//# sourceMappingURL=BillingSubscription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingSubscription.js","sourceRoot":"","sources":["../../../../../libs/sdk-api/src/models/BillingSubscription.ts"],"names":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IAAA,gBAAM,EAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;KACtF,CAAC;AACN,CAAC;AAhBD,4EAgBC;AAED,SAAgB,yBAAyB,CAAC,KAAkC;IACxE,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,kBAAkB,EAAE,KAAK,CAAC,gBAAgB;QAC1C,kCAAkC,EAAE,KAAK,CAAC,gCAAgC;QAC1E,kBAAkB,EAAE,KAAK,CAAC,gBAAgB;QAC1C,UAAU,EAAE,IAAA,uEAAqC,EAAC,KAAK,CAAC,QAAQ,CAAC;QACjE,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,YAAY,EAAE,KAAK,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;QAC3F,UAAU,EAAE,KAAK,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC;QACrF,eAAe,EAAE,KAAK,CAAC,aAAa;KACvC,CAAC;AACN,CAAC;AAnBD,8DAmBC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum BillingSubscriptionPlanTypeEnum {
|
|
18
|
+
Free = "free",
|
|
19
|
+
Advanced = "advanced",
|
|
20
|
+
Enterprise = "enterprise"
|
|
21
|
+
}
|
|
22
|
+
export declare function BillingSubscriptionPlanTypeEnumFromJSON(json: any): BillingSubscriptionPlanTypeEnum;
|
|
23
|
+
export declare function BillingSubscriptionPlanTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingSubscriptionPlanTypeEnum;
|
|
24
|
+
export declare function BillingSubscriptionPlanTypeEnumToJSON(value?: BillingSubscriptionPlanTypeEnum | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Dashboard API
|
|
6
|
+
* Dashboard API documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.BillingSubscriptionPlanTypeEnumToJSON = exports.BillingSubscriptionPlanTypeEnumFromJSONTyped = exports.BillingSubscriptionPlanTypeEnumFromJSON = exports.BillingSubscriptionPlanTypeEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var BillingSubscriptionPlanTypeEnum;
|
|
23
|
+
(function (BillingSubscriptionPlanTypeEnum) {
|
|
24
|
+
BillingSubscriptionPlanTypeEnum["Free"] = "free";
|
|
25
|
+
BillingSubscriptionPlanTypeEnum["Advanced"] = "advanced";
|
|
26
|
+
BillingSubscriptionPlanTypeEnum["Enterprise"] = "enterprise";
|
|
27
|
+
})(BillingSubscriptionPlanTypeEnum = exports.BillingSubscriptionPlanTypeEnum || (exports.BillingSubscriptionPlanTypeEnum = {}));
|
|
28
|
+
function BillingSubscriptionPlanTypeEnumFromJSON(json) {
|
|
29
|
+
return BillingSubscriptionPlanTypeEnumFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.BillingSubscriptionPlanTypeEnumFromJSON = BillingSubscriptionPlanTypeEnumFromJSON;
|
|
32
|
+
function BillingSubscriptionPlanTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
exports.BillingSubscriptionPlanTypeEnumFromJSONTyped = BillingSubscriptionPlanTypeEnumFromJSONTyped;
|
|
36
|
+
function BillingSubscriptionPlanTypeEnumToJSON(value) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
exports.BillingSubscriptionPlanTypeEnumToJSON = BillingSubscriptionPlanTypeEnumToJSON;
|
|
40
|
+
//# sourceMappingURL=BillingSubscriptionPlanTypeEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingSubscriptionPlanTypeEnum.js","sourceRoot":"","sources":["../../../../../libs/sdk-api/src/models/BillingSubscriptionPlanTypeEnum.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH;;;;GAIG;AACH,IAAY,+BAIX;AAJD,WAAY,+BAA+B;IACvC,gDAAa,CAAA;IACb,wDAAqB,CAAA;IACrB,4DAAyB,CAAA;AAC7B,CAAC,EAJW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAI1C;AAED,SAAgB,uCAAuC,CAAC,IAAS;IAC7D,OAAO,4CAA4C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrE,CAAC;AAFD,0FAEC;AAED,SAAgB,4CAA4C,CAAC,IAAS,EAAE,mBAA4B;IAChG,OAAO,IAAuC,CAAC;AACnD,CAAC;AAFD,oGAEC;AAED,SAAgB,qCAAqC,CAAC,KAA8C;IAChG,OAAO,KAAY,CAAC;AACxB,CAAC;AAFD,sFAEC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum SubscriptionAdvancedScopeEnum {
|
|
18
|
+
ConnectAndSign = "connect_and_sign",
|
|
19
|
+
MultiWallet = "multi_wallet",
|
|
20
|
+
ApiTokens = "api_tokens",
|
|
21
|
+
InfoCapture = "info_capture",
|
|
22
|
+
AccessList = "access_list",
|
|
23
|
+
Chainalysis = "chainalysis",
|
|
24
|
+
UserManagement = "user_management",
|
|
25
|
+
AnalyticsUsers = "analytics_users",
|
|
26
|
+
AnalyticsVisits = "analytics_visits"
|
|
27
|
+
}
|
|
28
|
+
export declare function SubscriptionAdvancedScopeEnumFromJSON(json: any): SubscriptionAdvancedScopeEnum;
|
|
29
|
+
export declare function SubscriptionAdvancedScopeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionAdvancedScopeEnum;
|
|
30
|
+
export declare function SubscriptionAdvancedScopeEnumToJSON(value?: SubscriptionAdvancedScopeEnum | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Dashboard API
|
|
6
|
+
* Dashboard API documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SubscriptionAdvancedScopeEnumToJSON = exports.SubscriptionAdvancedScopeEnumFromJSONTyped = exports.SubscriptionAdvancedScopeEnumFromJSON = exports.SubscriptionAdvancedScopeEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var SubscriptionAdvancedScopeEnum;
|
|
23
|
+
(function (SubscriptionAdvancedScopeEnum) {
|
|
24
|
+
SubscriptionAdvancedScopeEnum["ConnectAndSign"] = "connect_and_sign";
|
|
25
|
+
SubscriptionAdvancedScopeEnum["MultiWallet"] = "multi_wallet";
|
|
26
|
+
SubscriptionAdvancedScopeEnum["ApiTokens"] = "api_tokens";
|
|
27
|
+
SubscriptionAdvancedScopeEnum["InfoCapture"] = "info_capture";
|
|
28
|
+
SubscriptionAdvancedScopeEnum["AccessList"] = "access_list";
|
|
29
|
+
SubscriptionAdvancedScopeEnum["Chainalysis"] = "chainalysis";
|
|
30
|
+
SubscriptionAdvancedScopeEnum["UserManagement"] = "user_management";
|
|
31
|
+
SubscriptionAdvancedScopeEnum["AnalyticsUsers"] = "analytics_users";
|
|
32
|
+
SubscriptionAdvancedScopeEnum["AnalyticsVisits"] = "analytics_visits";
|
|
33
|
+
})(SubscriptionAdvancedScopeEnum = exports.SubscriptionAdvancedScopeEnum || (exports.SubscriptionAdvancedScopeEnum = {}));
|
|
34
|
+
function SubscriptionAdvancedScopeEnumFromJSON(json) {
|
|
35
|
+
return SubscriptionAdvancedScopeEnumFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
exports.SubscriptionAdvancedScopeEnumFromJSON = SubscriptionAdvancedScopeEnumFromJSON;
|
|
38
|
+
function SubscriptionAdvancedScopeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
exports.SubscriptionAdvancedScopeEnumFromJSONTyped = SubscriptionAdvancedScopeEnumFromJSONTyped;
|
|
42
|
+
function SubscriptionAdvancedScopeEnumToJSON(value) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
exports.SubscriptionAdvancedScopeEnumToJSON = SubscriptionAdvancedScopeEnumToJSON;
|
|
46
|
+
//# sourceMappingURL=SubscriptionAdvancedScopeEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionAdvancedScopeEnum.js","sourceRoot":"","sources":["../../../../../libs/sdk-api/src/models/SubscriptionAdvancedScopeEnum.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH;;;;GAIG;AACH,IAAY,6BAUX;AAVD,WAAY,6BAA6B;IACrC,oEAAmC,CAAA;IACnC,6DAA4B,CAAA;IAC5B,yDAAwB,CAAA;IACxB,6DAA4B,CAAA;IAC5B,2DAA0B,CAAA;IAC1B,4DAA2B,CAAA;IAC3B,mEAAkC,CAAA;IAClC,mEAAkC,CAAA;IAClC,qEAAoC,CAAA;AACxC,CAAC,EAVW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAUxC;AAED,SAAgB,qCAAqC,CAAC,IAAS;IAC3D,OAAO,0CAA0C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnE,CAAC;AAFD,sFAEC;AAED,SAAgB,0CAA0C,CAAC,IAAS,EAAE,mBAA4B;IAC9F,OAAO,IAAqC,CAAC;AACjD,CAAC;AAFD,gGAEC;AAED,SAAgB,mCAAmC,CAAC,KAA4C;IAC5F,OAAO,KAAY,CAAC;AACxB,CAAC;AAFD,kFAEC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum SubscriptionFreeScopeEnum {
|
|
18
|
+
ConnectOnly = "connect_only",
|
|
19
|
+
Design = "design",
|
|
20
|
+
ApiKeys = "api_keys",
|
|
21
|
+
VisitManagement = "visit_management",
|
|
22
|
+
SettingsGeneral = "settings_general",
|
|
23
|
+
SettingsSecurity = "settings_security",
|
|
24
|
+
SettingsPrivacy = "settings_privacy",
|
|
25
|
+
AdminOrgs = "admin_orgs",
|
|
26
|
+
AdminBilling = "admin_billing",
|
|
27
|
+
AdminMembers = "admin_members"
|
|
28
|
+
}
|
|
29
|
+
export declare function SubscriptionFreeScopeEnumFromJSON(json: any): SubscriptionFreeScopeEnum;
|
|
30
|
+
export declare function SubscriptionFreeScopeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionFreeScopeEnum;
|
|
31
|
+
export declare function SubscriptionFreeScopeEnumToJSON(value?: SubscriptionFreeScopeEnum | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Dashboard API
|
|
6
|
+
* Dashboard API documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SubscriptionFreeScopeEnumToJSON = exports.SubscriptionFreeScopeEnumFromJSONTyped = exports.SubscriptionFreeScopeEnumFromJSON = exports.SubscriptionFreeScopeEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var SubscriptionFreeScopeEnum;
|
|
23
|
+
(function (SubscriptionFreeScopeEnum) {
|
|
24
|
+
SubscriptionFreeScopeEnum["ConnectOnly"] = "connect_only";
|
|
25
|
+
SubscriptionFreeScopeEnum["Design"] = "design";
|
|
26
|
+
SubscriptionFreeScopeEnum["ApiKeys"] = "api_keys";
|
|
27
|
+
SubscriptionFreeScopeEnum["VisitManagement"] = "visit_management";
|
|
28
|
+
SubscriptionFreeScopeEnum["SettingsGeneral"] = "settings_general";
|
|
29
|
+
SubscriptionFreeScopeEnum["SettingsSecurity"] = "settings_security";
|
|
30
|
+
SubscriptionFreeScopeEnum["SettingsPrivacy"] = "settings_privacy";
|
|
31
|
+
SubscriptionFreeScopeEnum["AdminOrgs"] = "admin_orgs";
|
|
32
|
+
SubscriptionFreeScopeEnum["AdminBilling"] = "admin_billing";
|
|
33
|
+
SubscriptionFreeScopeEnum["AdminMembers"] = "admin_members";
|
|
34
|
+
})(SubscriptionFreeScopeEnum = exports.SubscriptionFreeScopeEnum || (exports.SubscriptionFreeScopeEnum = {}));
|
|
35
|
+
function SubscriptionFreeScopeEnumFromJSON(json) {
|
|
36
|
+
return SubscriptionFreeScopeEnumFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
exports.SubscriptionFreeScopeEnumFromJSON = SubscriptionFreeScopeEnumFromJSON;
|
|
39
|
+
function SubscriptionFreeScopeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
exports.SubscriptionFreeScopeEnumFromJSONTyped = SubscriptionFreeScopeEnumFromJSONTyped;
|
|
43
|
+
function SubscriptionFreeScopeEnumToJSON(value) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
exports.SubscriptionFreeScopeEnumToJSON = SubscriptionFreeScopeEnumToJSON;
|
|
47
|
+
//# sourceMappingURL=SubscriptionFreeScopeEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionFreeScopeEnum.js","sourceRoot":"","sources":["../../../../../libs/sdk-api/src/models/SubscriptionFreeScopeEnum.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH;;;;GAIG;AACH,IAAY,yBAWX;AAXD,WAAY,yBAAyB;IACjC,yDAA4B,CAAA;IAC5B,8CAAiB,CAAA;IACjB,iDAAoB,CAAA;IACpB,iEAAoC,CAAA;IACpC,iEAAoC,CAAA;IACpC,mEAAsC,CAAA;IACtC,iEAAoC,CAAA;IACpC,qDAAwB,CAAA;IACxB,2DAA8B,CAAA;IAC9B,2DAA8B,CAAA;AAClC,CAAC,EAXW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWpC;AAED,SAAgB,iCAAiC,CAAC,IAAS;IACvD,OAAO,sCAAsC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC;AAFD,8EAEC;AAED,SAAgB,sCAAsC,CAAC,IAAS,EAAE,mBAA4B;IAC1F,OAAO,IAAiC,CAAC;AAC7C,CAAC;AAFD,wFAEC;AAED,SAAgB,+BAA+B,CAAC,KAAwC;IACpF,OAAO,KAAY,CAAC;AACxB,CAAC;AAFD,0EAEC"}
|
|
@@ -23,13 +23,13 @@ export interface UpdateSelfResponse {
|
|
|
23
23
|
* @type {BasicUserResponse}
|
|
24
24
|
* @memberof UpdateSelfResponse
|
|
25
25
|
*/
|
|
26
|
-
user
|
|
26
|
+
user: BasicUserResponse;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {NextViewEnum}
|
|
30
30
|
* @memberof UpdateSelfResponse
|
|
31
31
|
*/
|
|
32
|
-
nextView
|
|
32
|
+
nextView: NextViewEnum;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @type {EmailVerificationCreateResponse}
|
|
@@ -41,7 +41,7 @@ export interface UpdateSelfResponse {
|
|
|
41
41
|
* @type {string}
|
|
42
42
|
* @memberof UpdateSelfResponse
|
|
43
43
|
*/
|
|
44
|
-
jwt
|
|
44
|
+
jwt: string;
|
|
45
45
|
}
|
|
46
46
|
export declare function UpdateSelfResponseFromJSON(json: any): UpdateSelfResponse;
|
|
47
47
|
export declare function UpdateSelfResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSelfResponse;
|
|
@@ -27,10 +27,10 @@ function UpdateSelfResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
return json;
|
|
28
28
|
}
|
|
29
29
|
return {
|
|
30
|
-
'user':
|
|
31
|
-
'nextView':
|
|
30
|
+
'user': (0, BasicUserResponse_1.BasicUserResponseFromJSON)(json['user']),
|
|
31
|
+
'nextView': (0, NextViewEnum_1.NextViewEnumFromJSON)(json['nextView']),
|
|
32
32
|
'emailVerification': !(0, runtime_1.exists)(json, 'emailVerification') ? undefined : (0, EmailVerificationCreateResponse_1.EmailVerificationCreateResponseFromJSON)(json['emailVerification']),
|
|
33
|
-
'jwt':
|
|
33
|
+
'jwt': json['jwt'],
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateSelfResponseFromJSONTyped = UpdateSelfResponseFromJSONTyped;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateSelfResponse.js","sourceRoot":"","sources":["../../../../../libs/sdk-api/src/models/UpdateSelfResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAC/C,2DAK6B;AAC7B,uFAK2C;AAC3C,iDAKwB;AAkCxB,SAAgB,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAFD,gEAEC;AAED,SAAgB,+BAA+B,CAAC,IAAS,EAAE,mBAA4B;IACnF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"UpdateSelfResponse.js","sourceRoot":"","sources":["../../../../../libs/sdk-api/src/models/UpdateSelfResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAC/C,2DAK6B;AAC7B,uFAK2C;AAC3C,iDAKwB;AAkCxB,SAAgB,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAFD,gEAEC;AAED,SAAgB,+BAA+B,CAAC,IAAS,EAAE,mBAA4B;IACnF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,IAAA,6CAAyB,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC/C,UAAU,EAAE,IAAA,mCAAoB,EAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAClD,mBAAmB,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,yEAAuC,EAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACxI,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;KACrB,CAAC;AACN,CAAC;AAXD,0EAWC;AAED,SAAgB,wBAAwB,CAAC,KAAiC;IACtE,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,IAAA,2CAAuB,EAAC,KAAK,CAAC,IAAI,CAAC;QAC3C,UAAU,EAAE,IAAA,iCAAkB,EAAC,KAAK,CAAC,QAAQ,CAAC;QAC9C,mBAAmB,EAAE,IAAA,uEAAqC,EAAC,KAAK,CAAC,iBAAiB,CAAC;QACnF,KAAK,EAAE,KAAK,CAAC,GAAG;KACnB,CAAC;AACN,CAAC;AAdD,4DAcC"}
|
package/src/models/index.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ export * from './AnalyticsVisitResponseSessions';
|
|
|
6
6
|
export * from './AuthModeEnum';
|
|
7
7
|
export * from './BadRequest';
|
|
8
8
|
export * from './BasicUserResponse';
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
9
|
+
export * from './BillingSubscription';
|
|
10
|
+
export * from './BillingSubscriptionPlanTypeEnum';
|
|
11
11
|
export * from './ChainEnum';
|
|
12
12
|
export * from './ChainalysisCheck';
|
|
13
13
|
export * from './ChainalysisCheckResultEnum';
|
|
@@ -92,6 +92,8 @@ export * from './PublishEvents';
|
|
|
92
92
|
export * from './PublishEventsEvents';
|
|
93
93
|
export * from './RoleEnum';
|
|
94
94
|
export * from './Session';
|
|
95
|
+
export * from './SubscriptionAdvancedScopeEnum';
|
|
96
|
+
export * from './SubscriptionFreeScopeEnum';
|
|
95
97
|
export * from './TimeUnitEnum';
|
|
96
98
|
export * from './Token';
|
|
97
99
|
export * from './TokenCreatedBy';
|
package/src/models/index.js
CHANGED
|
@@ -24,8 +24,8 @@ __exportStar(require("./AnalyticsVisitResponseSessions"), exports);
|
|
|
24
24
|
__exportStar(require("./AuthModeEnum"), exports);
|
|
25
25
|
__exportStar(require("./BadRequest"), exports);
|
|
26
26
|
__exportStar(require("./BasicUserResponse"), exports);
|
|
27
|
-
__exportStar(require("./
|
|
28
|
-
__exportStar(require("./
|
|
27
|
+
__exportStar(require("./BillingSubscription"), exports);
|
|
28
|
+
__exportStar(require("./BillingSubscriptionPlanTypeEnum"), exports);
|
|
29
29
|
__exportStar(require("./ChainEnum"), exports);
|
|
30
30
|
__exportStar(require("./ChainalysisCheck"), exports);
|
|
31
31
|
__exportStar(require("./ChainalysisCheckResultEnum"), exports);
|
|
@@ -110,6 +110,8 @@ __exportStar(require("./PublishEvents"), exports);
|
|
|
110
110
|
__exportStar(require("./PublishEventsEvents"), exports);
|
|
111
111
|
__exportStar(require("./RoleEnum"), exports);
|
|
112
112
|
__exportStar(require("./Session"), exports);
|
|
113
|
+
__exportStar(require("./SubscriptionAdvancedScopeEnum"), exports);
|
|
114
|
+
__exportStar(require("./SubscriptionFreeScopeEnum"), exports);
|
|
113
115
|
__exportStar(require("./TimeUnitEnum"), exports);
|
|
114
116
|
__exportStar(require("./Token"), exports);
|
|
115
117
|
__exportStar(require("./TokenCreatedBy"), exports);
|
package/src/models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/sdk-api/src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,8CAA4B;AAC5B,6DAA2C;AAC3C,mDAAiC;AACjC,2DAAyC;AACzC,mEAAiD;AACjD,iDAA+B;AAC/B,+CAA6B;AAC7B,sDAAoC;AACpC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../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,mDAAiC;AACjC,oDAAkC;AAClC,0DAAwC;AACxC,0DAAwC;AACxC,gEAA8C;AAC9C,+DAA6C;AAC7C,gEAA8C;AAC9C,2DAAyC;AACzC,uDAAqC;AACrC,2DAAyC;AACzC,uDAAqC;AACrC,4DAA0C;AAC1C,qDAAmC;AACnC,kDAAgC;AAChC,wDAAsC;AACtC,6CAA2B;AAC3B,4CAA0B;AAC1B,kEAAgD;AAChD,8DAA4C;AAC5C,iDAA+B;AAC/B,0CAAwB;AACxB,mDAAiC;AACjC,iDAA+B;AAC/B,mEAAiD;AACjD,mDAAiC;AACjC,iDAA+B;AAC/B,wDAAsC;AACtC,iEAA+C;AAC/C,yDAAuC;AACvC,0DAAwC;AACxC,uDAAqC;AACrC,yCAAuB;AACvB,+CAA6B;AAC7B,6DAA2C;AAC3C,iDAA+B;AAC/B,2DAAyC;AACzC,wDAAsC;AACtC,kDAAgC;AAChC,kDAAgC;AAChC,mDAAiC;AACjC,wDAAsC;AACtC,4CAA0B;AAC1B,gEAA8C;AAC9C,8DAA4C;AAC5C,qDAAmC;AACnC,2CAAyB;AACzB,uDAAqC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dashboard API
|
|
3
|
-
* Dashboard API documentation
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface BillingSession
|
|
16
|
-
*/
|
|
17
|
-
export interface BillingSession {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof BillingSession
|
|
22
|
-
*/
|
|
23
|
-
billingPortalSessionId: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof BillingSession
|
|
28
|
-
*/
|
|
29
|
-
url: string;
|
|
30
|
-
}
|
|
31
|
-
export declare function BillingSessionFromJSON(json: any): BillingSession;
|
|
32
|
-
export declare function BillingSessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingSession;
|
|
33
|
-
export declare function BillingSessionToJSON(value?: BillingSession | null): any;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Dashboard API
|
|
6
|
-
* Dashboard API documentation
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.BillingSessionToJSON = exports.BillingSessionFromJSONTyped = exports.BillingSessionFromJSON = void 0;
|
|
17
|
-
function BillingSessionFromJSON(json) {
|
|
18
|
-
return BillingSessionFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.BillingSessionFromJSON = BillingSessionFromJSON;
|
|
21
|
-
function BillingSessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'billingPortalSessionId': json['billingPortalSessionId'],
|
|
27
|
-
'url': json['url'],
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
exports.BillingSessionFromJSONTyped = BillingSessionFromJSONTyped;
|
|
31
|
-
function BillingSessionToJSON(value) {
|
|
32
|
-
if (value === undefined) {
|
|
33
|
-
return undefined;
|
|
34
|
-
}
|
|
35
|
-
if (value === null) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'billingPortalSessionId': value.billingPortalSessionId,
|
|
40
|
-
'url': value.url,
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.BillingSessionToJSON = BillingSessionToJSON;
|
|
44
|
-
//# sourceMappingURL=BillingSession.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BillingSession.js","sourceRoot":"","sources":["../../../../../libs/sdk-api/src/models/BillingSession.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAuBH,SAAgB,sBAAsB,CAAC,IAAS;IAC5C,OAAO,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAFD,wDAEC;AAED,SAAgB,2BAA2B,CAAC,IAAS,EAAE,mBAA4B;IAC/E,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,CAAC;QACxD,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;KACrB,CAAC;AACN,CAAC;AATD,kEASC;AAED,SAAgB,oBAAoB,CAAC,KAA6B;IAC9D,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,wBAAwB,EAAE,KAAK,CAAC,sBAAsB;QACtD,KAAK,EAAE,KAAK,CAAC,GAAG;KACnB,CAAC;AACN,CAAC;AAZD,oDAYC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dashboard API
|
|
3
|
-
* Dashboard API documentation
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface BillingSessionRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface BillingSessionRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof BillingSessionRequest
|
|
22
|
-
*/
|
|
23
|
-
returnUrl: string;
|
|
24
|
-
}
|
|
25
|
-
export declare function BillingSessionRequestFromJSON(json: any): BillingSessionRequest;
|
|
26
|
-
export declare function BillingSessionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingSessionRequest;
|
|
27
|
-
export declare function BillingSessionRequestToJSON(value?: BillingSessionRequest | null): any;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Dashboard API
|
|
6
|
-
* Dashboard API documentation
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.BillingSessionRequestToJSON = exports.BillingSessionRequestFromJSONTyped = exports.BillingSessionRequestFromJSON = void 0;
|
|
17
|
-
function BillingSessionRequestFromJSON(json) {
|
|
18
|
-
return BillingSessionRequestFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.BillingSessionRequestFromJSON = BillingSessionRequestFromJSON;
|
|
21
|
-
function BillingSessionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'returnUrl': json['returnUrl'],
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
exports.BillingSessionRequestFromJSONTyped = BillingSessionRequestFromJSONTyped;
|
|
30
|
-
function BillingSessionRequestToJSON(value) {
|
|
31
|
-
if (value === undefined) {
|
|
32
|
-
return undefined;
|
|
33
|
-
}
|
|
34
|
-
if (value === null) {
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'returnUrl': value.returnUrl,
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.BillingSessionRequestToJSON = BillingSessionRequestToJSON;
|
|
42
|
-
//# sourceMappingURL=BillingSessionRequest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BillingSessionRequest.js","sourceRoot":"","sources":["../../../../../libs/sdk-api/src/models/BillingSessionRequest.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiBH,SAAgB,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAFD,sEAEC;AAED,SAAgB,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;KACjC,CAAC;AACN,CAAC;AARD,gFAQC;AAED,SAAgB,2BAA2B,CAAC,KAAoC;IAC5E,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,SAAS;KAC/B,CAAC;AACN,CAAC;AAXD,kEAWC"}
|