@goauthentik/api 2026.2.0-rc1-1770744803 → 2026.2.0-rc1
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/.github/dependabot.yml +17 -0
- package/.github/workflows/main.yml +41 -0
- package/.github/workflows/release.yml +115 -0
- package/.openapi-generator/FILES +0 -1
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +0 -22
- package/LICENSE +21 -0
- package/Makefile +19 -0
- package/compose.yml +8 -0
- package/config.yaml +9 -0
- package/dist/apis/AdminApi.d.ts +56 -0
- package/dist/apis/AdminApi.d.ts.map +1 -1
- package/dist/apis/AdminApi.js +153 -55
- package/dist/apis/AdminApi.js.map +1 -1
- package/dist/apis/AuthenticatorsApi.d.ts +332 -0
- package/dist/apis/AuthenticatorsApi.d.ts.map +1 -1
- package/dist/apis/AuthenticatorsApi.js +913 -332
- package/dist/apis/AuthenticatorsApi.js.map +1 -1
- package/dist/apis/CoreApi.d.ts +268 -0
- package/dist/apis/CoreApi.d.ts.map +1 -1
- package/dist/apis/CoreApi.js +737 -268
- package/dist/apis/CoreApi.js.map +1 -1
- package/dist/apis/CryptoApi.d.ts +40 -0
- package/dist/apis/CryptoApi.d.ts.map +1 -1
- package/dist/apis/CryptoApi.js +110 -40
- package/dist/apis/CryptoApi.js.map +1 -1
- package/dist/apis/EndpointsApi.d.ts +224 -0
- package/dist/apis/EndpointsApi.d.ts.map +1 -1
- package/dist/apis/EndpointsApi.js +614 -222
- package/dist/apis/EndpointsApi.js.map +1 -1
- package/dist/apis/EnterpriseApi.d.ts +40 -0
- package/dist/apis/EnterpriseApi.d.ts.map +1 -1
- package/dist/apis/EnterpriseApi.js +110 -40
- package/dist/apis/EnterpriseApi.js.map +1 -1
- package/dist/apis/EventsApi.d.ts +128 -0
- package/dist/apis/EventsApi.d.ts.map +1 -1
- package/dist/apis/EventsApi.js +352 -128
- package/dist/apis/EventsApi.js.map +1 -1
- package/dist/apis/FlowsApi.d.ts +92 -0
- package/dist/apis/FlowsApi.d.ts.map +1 -1
- package/dist/apis/FlowsApi.js +253 -92
- package/dist/apis/FlowsApi.js.map +1 -1
- package/dist/apis/LifecycleApi.d.ts +40 -0
- package/dist/apis/LifecycleApi.d.ts.map +1 -1
- package/dist/apis/LifecycleApi.js +104 -34
- package/dist/apis/LifecycleApi.js.map +1 -1
- package/dist/apis/ManagedApi.d.ts +36 -0
- package/dist/apis/ManagedApi.d.ts.map +1 -1
- package/dist/apis/ManagedApi.js +99 -36
- package/dist/apis/ManagedApi.js.map +1 -1
- package/dist/apis/Oauth2Api.d.ts +48 -0
- package/dist/apis/Oauth2Api.d.ts.map +1 -1
- package/dist/apis/Oauth2Api.js +132 -48
- package/dist/apis/Oauth2Api.js.map +1 -1
- package/dist/apis/OutpostsApi.d.ts +136 -0
- package/dist/apis/OutpostsApi.d.ts.map +1 -1
- package/dist/apis/OutpostsApi.js +374 -136
- package/dist/apis/OutpostsApi.js.map +1 -1
- package/dist/apis/PoliciesApi.d.ts +304 -0
- package/dist/apis/PoliciesApi.d.ts.map +1 -1
- package/dist/apis/PoliciesApi.js +836 -304
- package/dist/apis/PoliciesApi.js.map +1 -1
- package/dist/apis/PropertymappingsApi.d.ts +444 -0
- package/dist/apis/PropertymappingsApi.d.ts.map +1 -1
- package/dist/apis/PropertymappingsApi.js +1221 -444
- package/dist/apis/PropertymappingsApi.js.map +1 -1
- package/dist/apis/ProvidersApi.d.ts +500 -0
- package/dist/apis/ProvidersApi.d.ts.map +1 -1
- package/dist/apis/ProvidersApi.js +1375 -500
- package/dist/apis/ProvidersApi.js.map +1 -1
- package/dist/apis/RacApi.d.ts +52 -0
- package/dist/apis/RacApi.d.ts.map +1 -1
- package/dist/apis/RacApi.js +143 -52
- package/dist/apis/RacApi.js.map +1 -1
- package/dist/apis/RbacApi.d.ts +88 -0
- package/dist/apis/RbacApi.d.ts.map +1 -1
- package/dist/apis/RbacApi.js +242 -88
- package/dist/apis/RbacApi.js.map +1 -1
- package/dist/apis/ReportsApi.d.ts +12 -0
- package/dist/apis/ReportsApi.d.ts.map +1 -1
- package/dist/apis/ReportsApi.js +30 -9
- package/dist/apis/ReportsApi.js.map +1 -1
- package/dist/apis/RootApi.d.ts +4 -0
- package/dist/apis/RootApi.d.ts.map +1 -1
- package/dist/apis/RootApi.js +11 -4
- package/dist/apis/RootApi.js.map +1 -1
- package/dist/apis/SchemaApi.d.ts +4 -0
- package/dist/apis/SchemaApi.d.ts.map +1 -1
- package/dist/apis/SchemaApi.js +11 -4
- package/dist/apis/SchemaApi.js.map +1 -1
- package/dist/apis/SourcesApi.d.ts +692 -0
- package/dist/apis/SourcesApi.d.ts.map +1 -1
- package/dist/apis/SourcesApi.js +1903 -692
- package/dist/apis/SourcesApi.js.map +1 -1
- package/dist/apis/SsfApi.d.ts +8 -0
- package/dist/apis/SsfApi.d.ts.map +1 -1
- package/dist/apis/SsfApi.js +22 -8
- package/dist/apis/SsfApi.js.map +1 -1
- package/dist/apis/StagesApi.d.ts +808 -0
- package/dist/apis/StagesApi.d.ts.map +1 -1
- package/dist/apis/StagesApi.js +2222 -808
- package/dist/apis/StagesApi.js.map +1 -1
- package/dist/apis/TasksApi.d.ts +40 -0
- package/dist/apis/TasksApi.d.ts.map +1 -1
- package/dist/apis/TasksApi.js +104 -34
- package/dist/apis/TasksApi.js.map +1 -1
- package/dist/apis/TenantsApi.d.ts +56 -0
- package/dist/apis/TenantsApi.d.ts.map +1 -1
- package/dist/apis/TenantsApi.js +154 -56
- package/dist/apis/TenantsApi.js.map +1 -1
- package/dist/esm/apis/AdminApi.d.ts +56 -0
- package/dist/esm/apis/AdminApi.d.ts.map +1 -1
- package/dist/esm/apis/AdminApi.js +153 -55
- package/dist/esm/apis/AdminApi.js.map +1 -1
- package/dist/esm/apis/AuthenticatorsApi.d.ts +332 -0
- package/dist/esm/apis/AuthenticatorsApi.d.ts.map +1 -1
- package/dist/esm/apis/AuthenticatorsApi.js +913 -332
- package/dist/esm/apis/AuthenticatorsApi.js.map +1 -1
- package/dist/esm/apis/CoreApi.d.ts +268 -0
- package/dist/esm/apis/CoreApi.d.ts.map +1 -1
- package/dist/esm/apis/CoreApi.js +737 -268
- package/dist/esm/apis/CoreApi.js.map +1 -1
- package/dist/esm/apis/CryptoApi.d.ts +40 -0
- package/dist/esm/apis/CryptoApi.d.ts.map +1 -1
- package/dist/esm/apis/CryptoApi.js +110 -40
- package/dist/esm/apis/CryptoApi.js.map +1 -1
- package/dist/esm/apis/EndpointsApi.d.ts +224 -0
- package/dist/esm/apis/EndpointsApi.d.ts.map +1 -1
- package/dist/esm/apis/EndpointsApi.js +614 -222
- package/dist/esm/apis/EndpointsApi.js.map +1 -1
- package/dist/esm/apis/EnterpriseApi.d.ts +40 -0
- package/dist/esm/apis/EnterpriseApi.d.ts.map +1 -1
- package/dist/esm/apis/EnterpriseApi.js +110 -40
- package/dist/esm/apis/EnterpriseApi.js.map +1 -1
- package/dist/esm/apis/EventsApi.d.ts +128 -0
- package/dist/esm/apis/EventsApi.d.ts.map +1 -1
- package/dist/esm/apis/EventsApi.js +352 -128
- package/dist/esm/apis/EventsApi.js.map +1 -1
- package/dist/esm/apis/FlowsApi.d.ts +92 -0
- package/dist/esm/apis/FlowsApi.d.ts.map +1 -1
- package/dist/esm/apis/FlowsApi.js +253 -92
- package/dist/esm/apis/FlowsApi.js.map +1 -1
- package/dist/esm/apis/LifecycleApi.d.ts +40 -0
- package/dist/esm/apis/LifecycleApi.d.ts.map +1 -1
- package/dist/esm/apis/LifecycleApi.js +104 -34
- package/dist/esm/apis/LifecycleApi.js.map +1 -1
- package/dist/esm/apis/ManagedApi.d.ts +36 -0
- package/dist/esm/apis/ManagedApi.d.ts.map +1 -1
- package/dist/esm/apis/ManagedApi.js +99 -36
- package/dist/esm/apis/ManagedApi.js.map +1 -1
- package/dist/esm/apis/Oauth2Api.d.ts +48 -0
- package/dist/esm/apis/Oauth2Api.d.ts.map +1 -1
- package/dist/esm/apis/Oauth2Api.js +132 -48
- package/dist/esm/apis/Oauth2Api.js.map +1 -1
- package/dist/esm/apis/OutpostsApi.d.ts +136 -0
- package/dist/esm/apis/OutpostsApi.d.ts.map +1 -1
- package/dist/esm/apis/OutpostsApi.js +374 -136
- package/dist/esm/apis/OutpostsApi.js.map +1 -1
- package/dist/esm/apis/PoliciesApi.d.ts +304 -0
- package/dist/esm/apis/PoliciesApi.d.ts.map +1 -1
- package/dist/esm/apis/PoliciesApi.js +836 -304
- package/dist/esm/apis/PoliciesApi.js.map +1 -1
- package/dist/esm/apis/PropertymappingsApi.d.ts +444 -0
- package/dist/esm/apis/PropertymappingsApi.d.ts.map +1 -1
- package/dist/esm/apis/PropertymappingsApi.js +1221 -444
- package/dist/esm/apis/PropertymappingsApi.js.map +1 -1
- package/dist/esm/apis/ProvidersApi.d.ts +500 -0
- package/dist/esm/apis/ProvidersApi.d.ts.map +1 -1
- package/dist/esm/apis/ProvidersApi.js +1375 -500
- package/dist/esm/apis/ProvidersApi.js.map +1 -1
- package/dist/esm/apis/RacApi.d.ts +52 -0
- package/dist/esm/apis/RacApi.d.ts.map +1 -1
- package/dist/esm/apis/RacApi.js +143 -52
- package/dist/esm/apis/RacApi.js.map +1 -1
- package/dist/esm/apis/RbacApi.d.ts +88 -0
- package/dist/esm/apis/RbacApi.d.ts.map +1 -1
- package/dist/esm/apis/RbacApi.js +242 -88
- package/dist/esm/apis/RbacApi.js.map +1 -1
- package/dist/esm/apis/ReportsApi.d.ts +12 -0
- package/dist/esm/apis/ReportsApi.d.ts.map +1 -1
- package/dist/esm/apis/ReportsApi.js +30 -9
- package/dist/esm/apis/ReportsApi.js.map +1 -1
- package/dist/esm/apis/RootApi.d.ts +4 -0
- package/dist/esm/apis/RootApi.d.ts.map +1 -1
- package/dist/esm/apis/RootApi.js +11 -4
- package/dist/esm/apis/RootApi.js.map +1 -1
- package/dist/esm/apis/SchemaApi.d.ts +4 -0
- package/dist/esm/apis/SchemaApi.d.ts.map +1 -1
- package/dist/esm/apis/SchemaApi.js +11 -4
- package/dist/esm/apis/SchemaApi.js.map +1 -1
- package/dist/esm/apis/SourcesApi.d.ts +692 -0
- package/dist/esm/apis/SourcesApi.d.ts.map +1 -1
- package/dist/esm/apis/SourcesApi.js +1903 -692
- package/dist/esm/apis/SourcesApi.js.map +1 -1
- package/dist/esm/apis/SsfApi.d.ts +8 -0
- package/dist/esm/apis/SsfApi.d.ts.map +1 -1
- package/dist/esm/apis/SsfApi.js +22 -8
- package/dist/esm/apis/SsfApi.js.map +1 -1
- package/dist/esm/apis/StagesApi.d.ts +808 -0
- package/dist/esm/apis/StagesApi.d.ts.map +1 -1
- package/dist/esm/apis/StagesApi.js +2222 -808
- package/dist/esm/apis/StagesApi.js.map +1 -1
- package/dist/esm/apis/TasksApi.d.ts +40 -0
- package/dist/esm/apis/TasksApi.d.ts.map +1 -1
- package/dist/esm/apis/TasksApi.js +104 -34
- package/dist/esm/apis/TasksApi.js.map +1 -1
- package/dist/esm/apis/TenantsApi.d.ts +56 -0
- package/dist/esm/apis/TenantsApi.d.ts.map +1 -1
- package/dist/esm/apis/TenantsApi.js +154 -56
- package/dist/esm/apis/TenantsApi.js.map +1 -1
- package/dist/esm/runtime.d.ts.map +1 -1
- package/dist/esm/runtime.js +15 -0
- package/dist/esm/runtime.js.map +1 -1
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +15 -0
- package/dist/runtime.js.map +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/schema.yml +58078 -0
- package/src/apis/AdminApi.ts +167 -55
- package/src/apis/AuthenticatorsApi.ts +996 -332
- package/src/apis/CoreApi.ts +804 -268
- package/src/apis/CryptoApi.ts +120 -40
- package/src/apis/EndpointsApi.ts +670 -222
- package/src/apis/EnterpriseApi.ts +120 -40
- package/src/apis/EventsApi.ts +384 -128
- package/src/apis/FlowsApi.ts +276 -92
- package/src/apis/LifecycleApi.ts +114 -34
- package/src/apis/ManagedApi.ts +108 -36
- package/src/apis/Oauth2Api.ts +144 -48
- package/src/apis/OutpostsApi.ts +408 -136
- package/src/apis/PoliciesApi.ts +912 -304
- package/src/apis/PropertymappingsApi.ts +1332 -444
- package/src/apis/ProvidersApi.ts +1500 -500
- package/src/apis/RacApi.ts +156 -52
- package/src/apis/RbacApi.ts +264 -88
- package/src/apis/ReportsApi.ts +33 -9
- package/src/apis/RootApi.ts +12 -4
- package/src/apis/SchemaApi.ts +12 -4
- package/src/apis/SourcesApi.ts +2076 -692
- package/src/apis/SsfApi.ts +24 -8
- package/src/apis/StagesApi.ts +2424 -808
- package/src/apis/TasksApi.ts +114 -34
- package/src/apis/TenantsApi.ts +168 -56
- package/src/runtime.ts +18 -0
- package/templates/README.mustache +38 -0
- package/templates/tsconfig.esm.mustache +7 -0
- package/templates/tsconfig.mustache +23 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -93,9 +93,9 @@ export interface EnterpriseLicenseUsedByListRequest {
|
|
|
93
93
|
export class EnterpriseApi extends runtime.BaseAPI {
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* Creates request options for enterpriseLicenseCreate without sending the request
|
|
97
97
|
*/
|
|
98
|
-
async
|
|
98
|
+
async enterpriseLicenseCreateRequestOpts(requestParameters: EnterpriseLicenseCreateRequest): Promise<runtime.RequestOpts> {
|
|
99
99
|
if (requestParameters['licenseRequest'] == null) {
|
|
100
100
|
throw new runtime.RequiredError(
|
|
101
101
|
'licenseRequest',
|
|
@@ -120,13 +120,21 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
120
120
|
|
|
121
121
|
let urlPath = `/enterprise/license/`;
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
return {
|
|
124
124
|
path: urlPath,
|
|
125
125
|
method: 'POST',
|
|
126
126
|
headers: headerParameters,
|
|
127
127
|
query: queryParameters,
|
|
128
128
|
body: LicenseRequestToJSON(requestParameters['licenseRequest']),
|
|
129
|
-
}
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* License Viewset
|
|
134
|
+
*/
|
|
135
|
+
async enterpriseLicenseCreateRaw(requestParameters: EnterpriseLicenseCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<License>> {
|
|
136
|
+
const requestOptions = await this.enterpriseLicenseCreateRequestOpts(requestParameters);
|
|
137
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
130
138
|
|
|
131
139
|
return new runtime.JSONApiResponse(response, (jsonValue) => LicenseFromJSON(jsonValue));
|
|
132
140
|
}
|
|
@@ -140,9 +148,9 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
140
148
|
}
|
|
141
149
|
|
|
142
150
|
/**
|
|
143
|
-
*
|
|
151
|
+
* Creates request options for enterpriseLicenseDestroy without sending the request
|
|
144
152
|
*/
|
|
145
|
-
async
|
|
153
|
+
async enterpriseLicenseDestroyRequestOpts(requestParameters: EnterpriseLicenseDestroyRequest): Promise<runtime.RequestOpts> {
|
|
146
154
|
if (requestParameters['licenseUuid'] == null) {
|
|
147
155
|
throw new runtime.RequiredError(
|
|
148
156
|
'licenseUuid',
|
|
@@ -166,12 +174,20 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
166
174
|
let urlPath = `/enterprise/license/{license_uuid}/`;
|
|
167
175
|
urlPath = urlPath.replace(`{${"license_uuid"}}`, encodeURIComponent(String(requestParameters['licenseUuid'])));
|
|
168
176
|
|
|
169
|
-
|
|
177
|
+
return {
|
|
170
178
|
path: urlPath,
|
|
171
179
|
method: 'DELETE',
|
|
172
180
|
headers: headerParameters,
|
|
173
181
|
query: queryParameters,
|
|
174
|
-
}
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* License Viewset
|
|
187
|
+
*/
|
|
188
|
+
async enterpriseLicenseDestroyRaw(requestParameters: EnterpriseLicenseDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
189
|
+
const requestOptions = await this.enterpriseLicenseDestroyRequestOpts(requestParameters);
|
|
190
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
175
191
|
|
|
176
192
|
return new runtime.VoidApiResponse(response);
|
|
177
193
|
}
|
|
@@ -184,9 +200,9 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
184
200
|
}
|
|
185
201
|
|
|
186
202
|
/**
|
|
187
|
-
*
|
|
203
|
+
* Creates request options for enterpriseLicenseForecastRetrieve without sending the request
|
|
188
204
|
*/
|
|
189
|
-
async
|
|
205
|
+
async enterpriseLicenseForecastRetrieveRequestOpts(): Promise<runtime.RequestOpts> {
|
|
190
206
|
const queryParameters: any = {};
|
|
191
207
|
|
|
192
208
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -202,12 +218,20 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
202
218
|
|
|
203
219
|
let urlPath = `/enterprise/license/forecast/`;
|
|
204
220
|
|
|
205
|
-
|
|
221
|
+
return {
|
|
206
222
|
path: urlPath,
|
|
207
223
|
method: 'GET',
|
|
208
224
|
headers: headerParameters,
|
|
209
225
|
query: queryParameters,
|
|
210
|
-
}
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Forecast how many users will be required in a year
|
|
231
|
+
*/
|
|
232
|
+
async enterpriseLicenseForecastRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LicenseForecast>> {
|
|
233
|
+
const requestOptions = await this.enterpriseLicenseForecastRetrieveRequestOpts();
|
|
234
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
211
235
|
|
|
212
236
|
return new runtime.JSONApiResponse(response, (jsonValue) => LicenseForecastFromJSON(jsonValue));
|
|
213
237
|
}
|
|
@@ -221,9 +245,9 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
221
245
|
}
|
|
222
246
|
|
|
223
247
|
/**
|
|
224
|
-
*
|
|
248
|
+
* Creates request options for enterpriseLicenseInstallIdRetrieve without sending the request
|
|
225
249
|
*/
|
|
226
|
-
async
|
|
250
|
+
async enterpriseLicenseInstallIdRetrieveRequestOpts(): Promise<runtime.RequestOpts> {
|
|
227
251
|
const queryParameters: any = {};
|
|
228
252
|
|
|
229
253
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -239,12 +263,20 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
239
263
|
|
|
240
264
|
let urlPath = `/enterprise/license/install_id/`;
|
|
241
265
|
|
|
242
|
-
|
|
266
|
+
return {
|
|
243
267
|
path: urlPath,
|
|
244
268
|
method: 'GET',
|
|
245
269
|
headers: headerParameters,
|
|
246
270
|
query: queryParameters,
|
|
247
|
-
}
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Get install_id
|
|
276
|
+
*/
|
|
277
|
+
async enterpriseLicenseInstallIdRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InstallID>> {
|
|
278
|
+
const requestOptions = await this.enterpriseLicenseInstallIdRetrieveRequestOpts();
|
|
279
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
248
280
|
|
|
249
281
|
return new runtime.JSONApiResponse(response, (jsonValue) => InstallIDFromJSON(jsonValue));
|
|
250
282
|
}
|
|
@@ -258,9 +290,9 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
258
290
|
}
|
|
259
291
|
|
|
260
292
|
/**
|
|
261
|
-
*
|
|
293
|
+
* Creates request options for enterpriseLicenseList without sending the request
|
|
262
294
|
*/
|
|
263
|
-
async
|
|
295
|
+
async enterpriseLicenseListRequestOpts(requestParameters: EnterpriseLicenseListRequest): Promise<runtime.RequestOpts> {
|
|
264
296
|
const queryParameters: any = {};
|
|
265
297
|
|
|
266
298
|
if (requestParameters['name'] != null) {
|
|
@@ -296,12 +328,20 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
296
328
|
|
|
297
329
|
let urlPath = `/enterprise/license/`;
|
|
298
330
|
|
|
299
|
-
|
|
331
|
+
return {
|
|
300
332
|
path: urlPath,
|
|
301
333
|
method: 'GET',
|
|
302
334
|
headers: headerParameters,
|
|
303
335
|
query: queryParameters,
|
|
304
|
-
}
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* License Viewset
|
|
341
|
+
*/
|
|
342
|
+
async enterpriseLicenseListRaw(requestParameters: EnterpriseLicenseListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedLicenseList>> {
|
|
343
|
+
const requestOptions = await this.enterpriseLicenseListRequestOpts(requestParameters);
|
|
344
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
305
345
|
|
|
306
346
|
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedLicenseListFromJSON(jsonValue));
|
|
307
347
|
}
|
|
@@ -315,9 +355,9 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
315
355
|
}
|
|
316
356
|
|
|
317
357
|
/**
|
|
318
|
-
*
|
|
358
|
+
* Creates request options for enterpriseLicensePartialUpdate without sending the request
|
|
319
359
|
*/
|
|
320
|
-
async
|
|
360
|
+
async enterpriseLicensePartialUpdateRequestOpts(requestParameters: EnterpriseLicensePartialUpdateRequest): Promise<runtime.RequestOpts> {
|
|
321
361
|
if (requestParameters['licenseUuid'] == null) {
|
|
322
362
|
throw new runtime.RequiredError(
|
|
323
363
|
'licenseUuid',
|
|
@@ -343,13 +383,21 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
343
383
|
let urlPath = `/enterprise/license/{license_uuid}/`;
|
|
344
384
|
urlPath = urlPath.replace(`{${"license_uuid"}}`, encodeURIComponent(String(requestParameters['licenseUuid'])));
|
|
345
385
|
|
|
346
|
-
|
|
386
|
+
return {
|
|
347
387
|
path: urlPath,
|
|
348
388
|
method: 'PATCH',
|
|
349
389
|
headers: headerParameters,
|
|
350
390
|
query: queryParameters,
|
|
351
391
|
body: PatchedLicenseRequestToJSON(requestParameters['patchedLicenseRequest']),
|
|
352
|
-
}
|
|
392
|
+
};
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* License Viewset
|
|
397
|
+
*/
|
|
398
|
+
async enterpriseLicensePartialUpdateRaw(requestParameters: EnterpriseLicensePartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<License>> {
|
|
399
|
+
const requestOptions = await this.enterpriseLicensePartialUpdateRequestOpts(requestParameters);
|
|
400
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
353
401
|
|
|
354
402
|
return new runtime.JSONApiResponse(response, (jsonValue) => LicenseFromJSON(jsonValue));
|
|
355
403
|
}
|
|
@@ -363,9 +411,9 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
363
411
|
}
|
|
364
412
|
|
|
365
413
|
/**
|
|
366
|
-
*
|
|
414
|
+
* Creates request options for enterpriseLicenseRetrieve without sending the request
|
|
367
415
|
*/
|
|
368
|
-
async
|
|
416
|
+
async enterpriseLicenseRetrieveRequestOpts(requestParameters: EnterpriseLicenseRetrieveRequest): Promise<runtime.RequestOpts> {
|
|
369
417
|
if (requestParameters['licenseUuid'] == null) {
|
|
370
418
|
throw new runtime.RequiredError(
|
|
371
419
|
'licenseUuid',
|
|
@@ -389,12 +437,20 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
389
437
|
let urlPath = `/enterprise/license/{license_uuid}/`;
|
|
390
438
|
urlPath = urlPath.replace(`{${"license_uuid"}}`, encodeURIComponent(String(requestParameters['licenseUuid'])));
|
|
391
439
|
|
|
392
|
-
|
|
440
|
+
return {
|
|
393
441
|
path: urlPath,
|
|
394
442
|
method: 'GET',
|
|
395
443
|
headers: headerParameters,
|
|
396
444
|
query: queryParameters,
|
|
397
|
-
}
|
|
445
|
+
};
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* License Viewset
|
|
450
|
+
*/
|
|
451
|
+
async enterpriseLicenseRetrieveRaw(requestParameters: EnterpriseLicenseRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<License>> {
|
|
452
|
+
const requestOptions = await this.enterpriseLicenseRetrieveRequestOpts(requestParameters);
|
|
453
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
398
454
|
|
|
399
455
|
return new runtime.JSONApiResponse(response, (jsonValue) => LicenseFromJSON(jsonValue));
|
|
400
456
|
}
|
|
@@ -408,9 +464,9 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
408
464
|
}
|
|
409
465
|
|
|
410
466
|
/**
|
|
411
|
-
*
|
|
467
|
+
* Creates request options for enterpriseLicenseSummaryRetrieve without sending the request
|
|
412
468
|
*/
|
|
413
|
-
async
|
|
469
|
+
async enterpriseLicenseSummaryRetrieveRequestOpts(requestParameters: EnterpriseLicenseSummaryRetrieveRequest): Promise<runtime.RequestOpts> {
|
|
414
470
|
const queryParameters: any = {};
|
|
415
471
|
|
|
416
472
|
if (requestParameters['cached'] != null) {
|
|
@@ -430,12 +486,20 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
430
486
|
|
|
431
487
|
let urlPath = `/enterprise/license/summary/`;
|
|
432
488
|
|
|
433
|
-
|
|
489
|
+
return {
|
|
434
490
|
path: urlPath,
|
|
435
491
|
method: 'GET',
|
|
436
492
|
headers: headerParameters,
|
|
437
493
|
query: queryParameters,
|
|
438
|
-
}
|
|
494
|
+
};
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Get the total license status
|
|
499
|
+
*/
|
|
500
|
+
async enterpriseLicenseSummaryRetrieveRaw(requestParameters: EnterpriseLicenseSummaryRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LicenseSummary>> {
|
|
501
|
+
const requestOptions = await this.enterpriseLicenseSummaryRetrieveRequestOpts(requestParameters);
|
|
502
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
439
503
|
|
|
440
504
|
return new runtime.JSONApiResponse(response, (jsonValue) => LicenseSummaryFromJSON(jsonValue));
|
|
441
505
|
}
|
|
@@ -449,9 +513,9 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
449
513
|
}
|
|
450
514
|
|
|
451
515
|
/**
|
|
452
|
-
*
|
|
516
|
+
* Creates request options for enterpriseLicenseUpdate without sending the request
|
|
453
517
|
*/
|
|
454
|
-
async
|
|
518
|
+
async enterpriseLicenseUpdateRequestOpts(requestParameters: EnterpriseLicenseUpdateRequest): Promise<runtime.RequestOpts> {
|
|
455
519
|
if (requestParameters['licenseUuid'] == null) {
|
|
456
520
|
throw new runtime.RequiredError(
|
|
457
521
|
'licenseUuid',
|
|
@@ -484,13 +548,21 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
484
548
|
let urlPath = `/enterprise/license/{license_uuid}/`;
|
|
485
549
|
urlPath = urlPath.replace(`{${"license_uuid"}}`, encodeURIComponent(String(requestParameters['licenseUuid'])));
|
|
486
550
|
|
|
487
|
-
|
|
551
|
+
return {
|
|
488
552
|
path: urlPath,
|
|
489
553
|
method: 'PUT',
|
|
490
554
|
headers: headerParameters,
|
|
491
555
|
query: queryParameters,
|
|
492
556
|
body: LicenseRequestToJSON(requestParameters['licenseRequest']),
|
|
493
|
-
}
|
|
557
|
+
};
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* License Viewset
|
|
562
|
+
*/
|
|
563
|
+
async enterpriseLicenseUpdateRaw(requestParameters: EnterpriseLicenseUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<License>> {
|
|
564
|
+
const requestOptions = await this.enterpriseLicenseUpdateRequestOpts(requestParameters);
|
|
565
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
494
566
|
|
|
495
567
|
return new runtime.JSONApiResponse(response, (jsonValue) => LicenseFromJSON(jsonValue));
|
|
496
568
|
}
|
|
@@ -504,9 +576,9 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
504
576
|
}
|
|
505
577
|
|
|
506
578
|
/**
|
|
507
|
-
*
|
|
579
|
+
* Creates request options for enterpriseLicenseUsedByList without sending the request
|
|
508
580
|
*/
|
|
509
|
-
async
|
|
581
|
+
async enterpriseLicenseUsedByListRequestOpts(requestParameters: EnterpriseLicenseUsedByListRequest): Promise<runtime.RequestOpts> {
|
|
510
582
|
if (requestParameters['licenseUuid'] == null) {
|
|
511
583
|
throw new runtime.RequiredError(
|
|
512
584
|
'licenseUuid',
|
|
@@ -530,12 +602,20 @@ export class EnterpriseApi extends runtime.BaseAPI {
|
|
|
530
602
|
let urlPath = `/enterprise/license/{license_uuid}/used_by/`;
|
|
531
603
|
urlPath = urlPath.replace(`{${"license_uuid"}}`, encodeURIComponent(String(requestParameters['licenseUuid'])));
|
|
532
604
|
|
|
533
|
-
|
|
605
|
+
return {
|
|
534
606
|
path: urlPath,
|
|
535
607
|
method: 'GET',
|
|
536
608
|
headers: headerParameters,
|
|
537
609
|
query: queryParameters,
|
|
538
|
-
}
|
|
610
|
+
};
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Get a list of all objects that use this object
|
|
615
|
+
*/
|
|
616
|
+
async enterpriseLicenseUsedByListRaw(requestParameters: EnterpriseLicenseUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
|
617
|
+
const requestOptions = await this.enterpriseLicenseUsedByListRequestOpts(requestParameters);
|
|
618
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
539
619
|
|
|
540
620
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UsedByFromJSON));
|
|
541
621
|
}
|