@goauthentik/api 2024.6.3-1724337552 → 2024.6.3-1724414734
Sign up to get free protection for your applications and to get access to all the features.
@@ -31,6 +31,9 @@ export interface EnterpriseLicensePartialUpdateRequest {
|
|
31
31
|
export interface EnterpriseLicenseRetrieveRequest {
|
32
32
|
licenseUuid: string;
|
33
33
|
}
|
34
|
+
export interface EnterpriseLicenseSummaryRetrieveRequest {
|
35
|
+
cached?: boolean;
|
36
|
+
}
|
34
37
|
export interface EnterpriseLicenseUpdateRequest {
|
35
38
|
licenseUuid: string;
|
36
39
|
licenseRequest: LicenseRequest;
|
@@ -69,11 +72,11 @@ export declare class EnterpriseApi extends runtime.BaseAPI {
|
|
69
72
|
/**
|
70
73
|
* Get install_id
|
71
74
|
*/
|
72
|
-
|
75
|
+
enterpriseLicenseInstallIdRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InstallID>>;
|
73
76
|
/**
|
74
77
|
* Get install_id
|
75
78
|
*/
|
76
|
-
|
79
|
+
enterpriseLicenseInstallIdRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InstallID>;
|
77
80
|
/**
|
78
81
|
* License Viewset
|
79
82
|
*/
|
@@ -101,11 +104,11 @@ export declare class EnterpriseApi extends runtime.BaseAPI {
|
|
101
104
|
/**
|
102
105
|
* Get the total license status
|
103
106
|
*/
|
104
|
-
enterpriseLicenseSummaryRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LicenseSummary>>;
|
107
|
+
enterpriseLicenseSummaryRetrieveRaw(requestParameters: EnterpriseLicenseSummaryRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LicenseSummary>>;
|
105
108
|
/**
|
106
109
|
* Get the total license status
|
107
110
|
*/
|
108
|
-
enterpriseLicenseSummaryRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LicenseSummary>;
|
111
|
+
enterpriseLicenseSummaryRetrieve(requestParameters?: EnterpriseLicenseSummaryRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LicenseSummary>;
|
109
112
|
/**
|
110
113
|
* License Viewset
|
111
114
|
*/
|
@@ -135,7 +135,7 @@ class EnterpriseApi extends runtime.BaseAPI {
|
|
135
135
|
/**
|
136
136
|
* Get install_id
|
137
137
|
*/
|
138
|
-
|
138
|
+
enterpriseLicenseInstallIdRetrieveRaw(initOverrides) {
|
139
139
|
return __awaiter(this, void 0, void 0, function* () {
|
140
140
|
const queryParameters = {};
|
141
141
|
const headerParameters = {};
|
@@ -147,7 +147,7 @@ class EnterpriseApi extends runtime.BaseAPI {
|
|
147
147
|
}
|
148
148
|
}
|
149
149
|
const response = yield this.request({
|
150
|
-
path: `/enterprise/license/
|
150
|
+
path: `/enterprise/license/install_id/`,
|
151
151
|
method: 'GET',
|
152
152
|
headers: headerParameters,
|
153
153
|
query: queryParameters,
|
@@ -158,9 +158,9 @@ class EnterpriseApi extends runtime.BaseAPI {
|
|
158
158
|
/**
|
159
159
|
* Get install_id
|
160
160
|
*/
|
161
|
-
|
161
|
+
enterpriseLicenseInstallIdRetrieve(initOverrides) {
|
162
162
|
return __awaiter(this, void 0, void 0, function* () {
|
163
|
-
const response = yield this.
|
163
|
+
const response = yield this.enterpriseLicenseInstallIdRetrieveRaw(initOverrides);
|
164
164
|
return yield response.value();
|
165
165
|
});
|
166
166
|
}
|
@@ -286,9 +286,12 @@ class EnterpriseApi extends runtime.BaseAPI {
|
|
286
286
|
/**
|
287
287
|
* Get the total license status
|
288
288
|
*/
|
289
|
-
enterpriseLicenseSummaryRetrieveRaw(initOverrides) {
|
289
|
+
enterpriseLicenseSummaryRetrieveRaw(requestParameters, initOverrides) {
|
290
290
|
return __awaiter(this, void 0, void 0, function* () {
|
291
291
|
const queryParameters = {};
|
292
|
+
if (requestParameters.cached !== undefined) {
|
293
|
+
queryParameters['cached'] = requestParameters.cached;
|
294
|
+
}
|
292
295
|
const headerParameters = {};
|
293
296
|
if (this.configuration && this.configuration.accessToken) {
|
294
297
|
const token = this.configuration.accessToken;
|
@@ -309,9 +312,9 @@ class EnterpriseApi extends runtime.BaseAPI {
|
|
309
312
|
/**
|
310
313
|
* Get the total license status
|
311
314
|
*/
|
312
|
-
enterpriseLicenseSummaryRetrieve(initOverrides) {
|
315
|
+
enterpriseLicenseSummaryRetrieve(requestParameters = {}, initOverrides) {
|
313
316
|
return __awaiter(this, void 0, void 0, function* () {
|
314
|
-
const response = yield this.enterpriseLicenseSummaryRetrieveRaw(initOverrides);
|
317
|
+
const response = yield this.enterpriseLicenseSummaryRetrieveRaw(requestParameters, initOverrides);
|
315
318
|
return yield response.value();
|
316
319
|
});
|
317
320
|
}
|
@@ -31,6 +31,9 @@ export interface EnterpriseLicensePartialUpdateRequest {
|
|
31
31
|
export interface EnterpriseLicenseRetrieveRequest {
|
32
32
|
licenseUuid: string;
|
33
33
|
}
|
34
|
+
export interface EnterpriseLicenseSummaryRetrieveRequest {
|
35
|
+
cached?: boolean;
|
36
|
+
}
|
34
37
|
export interface EnterpriseLicenseUpdateRequest {
|
35
38
|
licenseUuid: string;
|
36
39
|
licenseRequest: LicenseRequest;
|
@@ -69,11 +72,11 @@ export declare class EnterpriseApi extends runtime.BaseAPI {
|
|
69
72
|
/**
|
70
73
|
* Get install_id
|
71
74
|
*/
|
72
|
-
|
75
|
+
enterpriseLicenseInstallIdRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InstallID>>;
|
73
76
|
/**
|
74
77
|
* Get install_id
|
75
78
|
*/
|
76
|
-
|
79
|
+
enterpriseLicenseInstallIdRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InstallID>;
|
77
80
|
/**
|
78
81
|
* License Viewset
|
79
82
|
*/
|
@@ -101,11 +104,11 @@ export declare class EnterpriseApi extends runtime.BaseAPI {
|
|
101
104
|
/**
|
102
105
|
* Get the total license status
|
103
106
|
*/
|
104
|
-
enterpriseLicenseSummaryRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LicenseSummary>>;
|
107
|
+
enterpriseLicenseSummaryRetrieveRaw(requestParameters: EnterpriseLicenseSummaryRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LicenseSummary>>;
|
105
108
|
/**
|
106
109
|
* Get the total license status
|
107
110
|
*/
|
108
|
-
enterpriseLicenseSummaryRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LicenseSummary>;
|
111
|
+
enterpriseLicenseSummaryRetrieve(requestParameters?: EnterpriseLicenseSummaryRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LicenseSummary>;
|
109
112
|
/**
|
110
113
|
* License Viewset
|
111
114
|
*/
|
@@ -132,7 +132,7 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
132
132
|
/**
|
133
133
|
* Get install_id
|
134
134
|
*/
|
135
|
-
|
135
|
+
enterpriseLicenseInstallIdRetrieveRaw(initOverrides) {
|
136
136
|
return __awaiter(this, void 0, void 0, function* () {
|
137
137
|
const queryParameters = {};
|
138
138
|
const headerParameters = {};
|
@@ -144,7 +144,7 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
144
144
|
}
|
145
145
|
}
|
146
146
|
const response = yield this.request({
|
147
|
-
path: `/enterprise/license/
|
147
|
+
path: `/enterprise/license/install_id/`,
|
148
148
|
method: 'GET',
|
149
149
|
headers: headerParameters,
|
150
150
|
query: queryParameters,
|
@@ -155,9 +155,9 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
155
155
|
/**
|
156
156
|
* Get install_id
|
157
157
|
*/
|
158
|
-
|
158
|
+
enterpriseLicenseInstallIdRetrieve(initOverrides) {
|
159
159
|
return __awaiter(this, void 0, void 0, function* () {
|
160
|
-
const response = yield this.
|
160
|
+
const response = yield this.enterpriseLicenseInstallIdRetrieveRaw(initOverrides);
|
161
161
|
return yield response.value();
|
162
162
|
});
|
163
163
|
}
|
@@ -283,9 +283,12 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
283
283
|
/**
|
284
284
|
* Get the total license status
|
285
285
|
*/
|
286
|
-
enterpriseLicenseSummaryRetrieveRaw(initOverrides) {
|
286
|
+
enterpriseLicenseSummaryRetrieveRaw(requestParameters, initOverrides) {
|
287
287
|
return __awaiter(this, void 0, void 0, function* () {
|
288
288
|
const queryParameters = {};
|
289
|
+
if (requestParameters.cached !== undefined) {
|
290
|
+
queryParameters['cached'] = requestParameters.cached;
|
291
|
+
}
|
289
292
|
const headerParameters = {};
|
290
293
|
if (this.configuration && this.configuration.accessToken) {
|
291
294
|
const token = this.configuration.accessToken;
|
@@ -306,9 +309,9 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
306
309
|
/**
|
307
310
|
* Get the total license status
|
308
311
|
*/
|
309
|
-
enterpriseLicenseSummaryRetrieve(initOverrides) {
|
312
|
+
enterpriseLicenseSummaryRetrieve(requestParameters = {}, initOverrides) {
|
310
313
|
return __awaiter(this, void 0, void 0, function* () {
|
311
|
-
const response = yield this.enterpriseLicenseSummaryRetrieveRaw(initOverrides);
|
314
|
+
const response = yield this.enterpriseLicenseSummaryRetrieveRaw(requestParameters, initOverrides);
|
312
315
|
return yield response.value();
|
313
316
|
});
|
314
317
|
}
|
package/package.json
CHANGED
@@ -74,6 +74,10 @@ export interface EnterpriseLicenseRetrieveRequest {
|
|
74
74
|
licenseUuid: string;
|
75
75
|
}
|
76
76
|
|
77
|
+
export interface EnterpriseLicenseSummaryRetrieveRequest {
|
78
|
+
cached?: boolean;
|
79
|
+
}
|
80
|
+
|
77
81
|
export interface EnterpriseLicenseUpdateRequest {
|
78
82
|
licenseUuid: string;
|
79
83
|
licenseRequest: LicenseRequest;
|
@@ -203,7 +207,7 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
203
207
|
/**
|
204
208
|
* Get install_id
|
205
209
|
*/
|
206
|
-
async
|
210
|
+
async enterpriseLicenseInstallIdRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InstallID>> {
|
207
211
|
const queryParameters: any = {};
|
208
212
|
|
209
213
|
const headerParameters: runtime.HTTPHeaders = {};
|
@@ -217,7 +221,7 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
217
221
|
}
|
218
222
|
}
|
219
223
|
const response = await this.request({
|
220
|
-
path: `/enterprise/license/
|
224
|
+
path: `/enterprise/license/install_id/`,
|
221
225
|
method: 'GET',
|
222
226
|
headers: headerParameters,
|
223
227
|
query: queryParameters,
|
@@ -229,8 +233,8 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
229
233
|
/**
|
230
234
|
* Get install_id
|
231
235
|
*/
|
232
|
-
async
|
233
|
-
const response = await this.
|
236
|
+
async enterpriseLicenseInstallIdRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InstallID> {
|
237
|
+
const response = await this.enterpriseLicenseInstallIdRetrieveRaw(initOverrides);
|
234
238
|
return await response.value();
|
235
239
|
}
|
236
240
|
|
@@ -370,9 +374,13 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
370
374
|
/**
|
371
375
|
* Get the total license status
|
372
376
|
*/
|
373
|
-
async enterpriseLicenseSummaryRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LicenseSummary>> {
|
377
|
+
async enterpriseLicenseSummaryRetrieveRaw(requestParameters: EnterpriseLicenseSummaryRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LicenseSummary>> {
|
374
378
|
const queryParameters: any = {};
|
375
379
|
|
380
|
+
if (requestParameters.cached !== undefined) {
|
381
|
+
queryParameters['cached'] = requestParameters.cached;
|
382
|
+
}
|
383
|
+
|
376
384
|
const headerParameters: runtime.HTTPHeaders = {};
|
377
385
|
|
378
386
|
if (this.configuration && this.configuration.accessToken) {
|
@@ -396,8 +404,8 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
396
404
|
/**
|
397
405
|
* Get the total license status
|
398
406
|
*/
|
399
|
-
async enterpriseLicenseSummaryRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LicenseSummary> {
|
400
|
-
const response = await this.enterpriseLicenseSummaryRetrieveRaw(initOverrides);
|
407
|
+
async enterpriseLicenseSummaryRetrieve(requestParameters: EnterpriseLicenseSummaryRetrieveRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LicenseSummary> {
|
408
|
+
const response = await this.enterpriseLicenseSummaryRetrieveRaw(requestParameters, initOverrides);
|
401
409
|
return await response.value();
|
402
410
|
}
|
403
411
|
|