@goauthentik/api 2022.8.2-1660923164 → 2022.8.2-1662409170
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/apis/StagesApi.d.ts
CHANGED
|
@@ -38,7 +38,6 @@ export interface StagesAuthenticatorDuoEnrollmentStatusCreateRequest {
|
|
|
38
38
|
}
|
|
39
39
|
export interface StagesAuthenticatorDuoImportDevicesCreateRequest {
|
|
40
40
|
stageUuid: string;
|
|
41
|
-
authenticatorDuoStageRequest: AuthenticatorDuoStageRequest;
|
|
42
41
|
duoUserId?: string;
|
|
43
42
|
username?: string;
|
|
44
43
|
}
|
package/dist/apis/StagesApi.js
CHANGED
|
@@ -322,9 +322,6 @@ class StagesApi extends runtime.BaseAPI {
|
|
|
322
322
|
if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
|
|
323
323
|
throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesAuthenticatorDuoImportDevicesCreate.');
|
|
324
324
|
}
|
|
325
|
-
if (requestParameters.authenticatorDuoStageRequest === null || requestParameters.authenticatorDuoStageRequest === undefined) {
|
|
326
|
-
throw new runtime.RequiredError('authenticatorDuoStageRequest', 'Required parameter requestParameters.authenticatorDuoStageRequest was null or undefined when calling stagesAuthenticatorDuoImportDevicesCreate.');
|
|
327
|
-
}
|
|
328
325
|
const queryParameters = {};
|
|
329
326
|
if (requestParameters.duoUserId !== undefined) {
|
|
330
327
|
queryParameters['duo_user_id'] = requestParameters.duoUserId;
|
|
@@ -333,7 +330,6 @@ class StagesApi extends runtime.BaseAPI {
|
|
|
333
330
|
queryParameters['username'] = requestParameters.username;
|
|
334
331
|
}
|
|
335
332
|
const headerParameters = {};
|
|
336
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
337
333
|
if (this.configuration && this.configuration.apiKey) {
|
|
338
334
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
339
335
|
}
|
|
@@ -342,7 +338,6 @@ class StagesApi extends runtime.BaseAPI {
|
|
|
342
338
|
method: 'POST',
|
|
343
339
|
headers: headerParameters,
|
|
344
340
|
query: queryParameters,
|
|
345
|
-
body: (0, models_1.AuthenticatorDuoStageRequestToJSON)(requestParameters.authenticatorDuoStageRequest),
|
|
346
341
|
}, initOverrides);
|
|
347
342
|
return new runtime.VoidApiResponse(response);
|
|
348
343
|
});
|
|
@@ -38,7 +38,6 @@ export interface StagesAuthenticatorDuoEnrollmentStatusCreateRequest {
|
|
|
38
38
|
}
|
|
39
39
|
export interface StagesAuthenticatorDuoImportDevicesCreateRequest {
|
|
40
40
|
stageUuid: string;
|
|
41
|
-
authenticatorDuoStageRequest: AuthenticatorDuoStageRequest;
|
|
42
41
|
duoUserId?: string;
|
|
43
42
|
username?: string;
|
|
44
43
|
}
|
|
@@ -319,9 +319,6 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
319
319
|
if (requestParameters.stageUuid === null || requestParameters.stageUuid === undefined) {
|
|
320
320
|
throw new runtime.RequiredError('stageUuid', 'Required parameter requestParameters.stageUuid was null or undefined when calling stagesAuthenticatorDuoImportDevicesCreate.');
|
|
321
321
|
}
|
|
322
|
-
if (requestParameters.authenticatorDuoStageRequest === null || requestParameters.authenticatorDuoStageRequest === undefined) {
|
|
323
|
-
throw new runtime.RequiredError('authenticatorDuoStageRequest', 'Required parameter requestParameters.authenticatorDuoStageRequest was null or undefined when calling stagesAuthenticatorDuoImportDevicesCreate.');
|
|
324
|
-
}
|
|
325
322
|
const queryParameters = {};
|
|
326
323
|
if (requestParameters.duoUserId !== undefined) {
|
|
327
324
|
queryParameters['duo_user_id'] = requestParameters.duoUserId;
|
|
@@ -330,7 +327,6 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
330
327
|
queryParameters['username'] = requestParameters.username;
|
|
331
328
|
}
|
|
332
329
|
const headerParameters = {};
|
|
333
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
334
330
|
if (this.configuration && this.configuration.apiKey) {
|
|
335
331
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
336
332
|
}
|
|
@@ -339,7 +335,6 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
339
335
|
method: 'POST',
|
|
340
336
|
headers: headerParameters,
|
|
341
337
|
query: queryParameters,
|
|
342
|
-
body: AuthenticatorDuoStageRequestToJSON(requestParameters.authenticatorDuoStageRequest),
|
|
343
338
|
}, initOverrides);
|
|
344
339
|
return new runtime.VoidApiResponse(response);
|
|
345
340
|
});
|
package/package.json
CHANGED
package/src/apis/StagesApi.ts
CHANGED
|
@@ -321,7 +321,6 @@ export interface StagesAuthenticatorDuoEnrollmentStatusCreateRequest {
|
|
|
321
321
|
|
|
322
322
|
export interface StagesAuthenticatorDuoImportDevicesCreateRequest {
|
|
323
323
|
stageUuid: string;
|
|
324
|
-
authenticatorDuoStageRequest: AuthenticatorDuoStageRequest;
|
|
325
324
|
duoUserId?: string;
|
|
326
325
|
username?: string;
|
|
327
326
|
}
|
|
@@ -1431,10 +1430,6 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
1431
1430
|
throw new runtime.RequiredError('stageUuid','Required parameter requestParameters.stageUuid was null or undefined when calling stagesAuthenticatorDuoImportDevicesCreate.');
|
|
1432
1431
|
}
|
|
1433
1432
|
|
|
1434
|
-
if (requestParameters.authenticatorDuoStageRequest === null || requestParameters.authenticatorDuoStageRequest === undefined) {
|
|
1435
|
-
throw new runtime.RequiredError('authenticatorDuoStageRequest','Required parameter requestParameters.authenticatorDuoStageRequest was null or undefined when calling stagesAuthenticatorDuoImportDevicesCreate.');
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
1433
|
const queryParameters: any = {};
|
|
1439
1434
|
|
|
1440
1435
|
if (requestParameters.duoUserId !== undefined) {
|
|
@@ -1447,8 +1442,6 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
1447
1442
|
|
|
1448
1443
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1449
1444
|
|
|
1450
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
1451
|
-
|
|
1452
1445
|
if (this.configuration && this.configuration.apiKey) {
|
|
1453
1446
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
1454
1447
|
}
|
|
@@ -1458,7 +1451,6 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
1458
1451
|
method: 'POST',
|
|
1459
1452
|
headers: headerParameters,
|
|
1460
1453
|
query: queryParameters,
|
|
1461
|
-
body: AuthenticatorDuoStageRequestToJSON(requestParameters.authenticatorDuoStageRequest),
|
|
1462
1454
|
}, initOverrides);
|
|
1463
1455
|
|
|
1464
1456
|
return new runtime.VoidApiResponse(response);
|