@goauthentik/api 2024.2.2-1712238004 → 2024.2.2-1712687985

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.
Files changed (65) hide show
  1. package/.openapi-generator/FILES +7 -4
  2. package/dist/apis/RbacApi.d.ts +2 -2
  3. package/dist/apis/RbacApi.js +2 -2
  4. package/dist/apis/StagesApi.d.ts +55 -26
  5. package/dist/apis/StagesApi.js +107 -24
  6. package/dist/esm/apis/RbacApi.d.ts +2 -2
  7. package/dist/esm/apis/RbacApi.js +2 -2
  8. package/dist/esm/apis/StagesApi.d.ts +55 -26
  9. package/dist/esm/apis/StagesApi.js +108 -25
  10. package/dist/esm/models/{AuthenticateWebAuthnStage.d.ts → AuthenticatorWebAuthnStage.d.ts} +33 -20
  11. package/dist/esm/models/{AuthenticateWebAuthnStage.js → AuthenticatorWebAuthnStage.js} +11 -6
  12. package/dist/{models/AuthenticateWebAuthnStageRequest.d.ts → esm/models/AuthenticatorWebAuthnStageRequest.d.ts} +21 -15
  13. package/dist/esm/models/{AuthenticateWebAuthnStageRequest.js → AuthenticatorWebAuthnStageRequest.js} +8 -6
  14. package/dist/esm/models/ModelEnum.d.ts +1 -1
  15. package/dist/esm/models/ModelEnum.js +1 -1
  16. package/dist/esm/models/PaginatedAuthenticatorWebAuthnStageList.d.ts +39 -0
  17. package/dist/esm/models/PaginatedAuthenticatorWebAuthnStageList.js +48 -0
  18. package/dist/esm/models/PaginatedWebAuthnDeviceTypeList.d.ts +39 -0
  19. package/dist/esm/models/{PaginatedAuthenticateWebAuthnStageList.js → PaginatedWebAuthnDeviceTypeList.js} +9 -9
  20. package/dist/{models/PatchedAuthenticateWebAuthnStageRequest.d.ts → esm/models/PatchedAuthenticatorWebAuthnStageRequest.d.ts} +21 -15
  21. package/dist/esm/models/{PatchedAuthenticateWebAuthnStageRequest.js → PatchedAuthenticatorWebAuthnStageRequest.js} +8 -6
  22. package/dist/esm/models/WebAuthnDevice.d.ts +7 -0
  23. package/dist/esm/models/WebAuthnDevice.js +3 -0
  24. package/dist/esm/models/WebAuthnDeviceType.d.ts +37 -0
  25. package/dist/esm/models/WebAuthnDeviceType.js +46 -0
  26. package/dist/esm/models/WebAuthnDeviceTypeRequest.d.ts +37 -0
  27. package/dist/esm/models/WebAuthnDeviceTypeRequest.js +46 -0
  28. package/dist/esm/models/index.d.ts +7 -4
  29. package/dist/esm/models/index.js +7 -4
  30. package/dist/models/{AuthenticateWebAuthnStage.d.ts → AuthenticatorWebAuthnStage.d.ts} +33 -20
  31. package/dist/models/{AuthenticateWebAuthnStage.js → AuthenticatorWebAuthnStage.js} +16 -11
  32. package/dist/{esm/models/AuthenticateWebAuthnStageRequest.d.ts → models/AuthenticatorWebAuthnStageRequest.d.ts} +21 -15
  33. package/dist/models/{AuthenticateWebAuthnStageRequest.js → AuthenticatorWebAuthnStageRequest.js} +13 -11
  34. package/dist/models/ModelEnum.d.ts +1 -1
  35. package/dist/models/ModelEnum.js +1 -1
  36. package/dist/models/PaginatedAuthenticatorWebAuthnStageList.d.ts +39 -0
  37. package/dist/models/PaginatedAuthenticatorWebAuthnStageList.js +55 -0
  38. package/dist/models/PaginatedWebAuthnDeviceTypeList.d.ts +39 -0
  39. package/dist/models/PaginatedWebAuthnDeviceTypeList.js +55 -0
  40. package/dist/{esm/models/PatchedAuthenticateWebAuthnStageRequest.d.ts → models/PatchedAuthenticatorWebAuthnStageRequest.d.ts} +21 -15
  41. package/dist/models/{PatchedAuthenticateWebAuthnStageRequest.js → PatchedAuthenticatorWebAuthnStageRequest.js} +13 -11
  42. package/dist/models/WebAuthnDevice.d.ts +7 -0
  43. package/dist/models/WebAuthnDevice.js +3 -0
  44. package/dist/models/WebAuthnDeviceType.d.ts +37 -0
  45. package/dist/models/WebAuthnDeviceType.js +53 -0
  46. package/dist/models/WebAuthnDeviceTypeRequest.d.ts +37 -0
  47. package/dist/models/WebAuthnDeviceTypeRequest.js +53 -0
  48. package/dist/models/index.d.ts +7 -4
  49. package/dist/models/index.js +7 -4
  50. package/package.json +1 -1
  51. package/src/apis/RbacApi.ts +2 -2
  52. package/src/apis/StagesApi.ts +166 -49
  53. package/src/models/{AuthenticateWebAuthnStage.ts → AuthenticatorWebAuthnStage.ts} +43 -21
  54. package/src/models/{AuthenticateWebAuthnStageRequest.ts → AuthenticatorWebAuthnStageRequest.ts} +24 -16
  55. package/src/models/ModelEnum.ts +1 -1
  56. package/src/models/{PaginatedAuthenticateWebAuthnStageList.ts → PaginatedAuthenticatorWebAuthnStageList.ts} +19 -19
  57. package/src/models/PaginatedWebAuthnDeviceTypeList.ts +88 -0
  58. package/src/models/{PatchedAuthenticateWebAuthnStageRequest.ts → PatchedAuthenticatorWebAuthnStageRequest.ts} +24 -16
  59. package/src/models/WebAuthnDevice.ts +15 -0
  60. package/src/models/WebAuthnDeviceType.ts +75 -0
  61. package/src/models/WebAuthnDeviceTypeRequest.ts +75 -0
  62. package/src/models/index.ts +7 -4
  63. package/dist/esm/models/PaginatedAuthenticateWebAuthnStageList.d.ts +0 -39
  64. package/dist/models/PaginatedAuthenticateWebAuthnStageList.d.ts +0 -39
  65. package/dist/models/PaginatedAuthenticateWebAuthnStageList.js +0 -55
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.2.2
9
+ * Contact: hello@goauthentik.io
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.PaginatedWebAuthnDeviceTypeListToJSON = exports.PaginatedWebAuthnDeviceTypeListFromJSONTyped = exports.PaginatedWebAuthnDeviceTypeListFromJSON = exports.instanceOfPaginatedWebAuthnDeviceTypeList = void 0;
17
+ const Pagination_1 = require("./Pagination");
18
+ const WebAuthnDeviceType_1 = require("./WebAuthnDeviceType");
19
+ /**
20
+ * Check if a given object implements the PaginatedWebAuthnDeviceTypeList interface.
21
+ */
22
+ function instanceOfPaginatedWebAuthnDeviceTypeList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedWebAuthnDeviceTypeList = instanceOfPaginatedWebAuthnDeviceTypeList;
29
+ function PaginatedWebAuthnDeviceTypeListFromJSON(json) {
30
+ return PaginatedWebAuthnDeviceTypeListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedWebAuthnDeviceTypeListFromJSON = PaginatedWebAuthnDeviceTypeListFromJSON;
33
+ function PaginatedWebAuthnDeviceTypeListFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
39
+ 'results': (json['results'].map(WebAuthnDeviceType_1.WebAuthnDeviceTypeFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedWebAuthnDeviceTypeListFromJSONTyped = PaginatedWebAuthnDeviceTypeListFromJSONTyped;
43
+ function PaginatedWebAuthnDeviceTypeListToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
52
+ 'results': (value.results.map(WebAuthnDeviceType_1.WebAuthnDeviceTypeToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedWebAuthnDeviceTypeListToJSON = PaginatedWebAuthnDeviceTypeListToJSON;
@@ -14,58 +14,64 @@ import type { FlowSetRequest } from './FlowSetRequest';
14
14
  import type { ResidentKeyRequirementEnum } from './ResidentKeyRequirementEnum';
15
15
  import type { UserVerificationEnum } from './UserVerificationEnum';
16
16
  /**
17
- * AuthenticateWebAuthnStage Serializer
17
+ * AuthenticatorWebAuthnStage Serializer
18
18
  * @export
19
- * @interface PatchedAuthenticateWebAuthnStageRequest
19
+ * @interface PatchedAuthenticatorWebAuthnStageRequest
20
20
  */
21
- export interface PatchedAuthenticateWebAuthnStageRequest {
21
+ export interface PatchedAuthenticatorWebAuthnStageRequest {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof PatchedAuthenticateWebAuthnStageRequest
25
+ * @memberof PatchedAuthenticatorWebAuthnStageRequest
26
26
  */
27
27
  name?: string;
28
28
  /**
29
29
  *
30
30
  * @type {Array<FlowSetRequest>}
31
- * @memberof PatchedAuthenticateWebAuthnStageRequest
31
+ * @memberof PatchedAuthenticatorWebAuthnStageRequest
32
32
  */
33
33
  flowSet?: Array<FlowSetRequest>;
34
34
  /**
35
35
  * Flow used by an authenticated user to configure this Stage. If empty, user will not be able to configure this stage.
36
36
  * @type {string}
37
- * @memberof PatchedAuthenticateWebAuthnStageRequest
37
+ * @memberof PatchedAuthenticatorWebAuthnStageRequest
38
38
  */
39
39
  configureFlow?: string | null;
40
40
  /**
41
41
  *
42
42
  * @type {string}
43
- * @memberof PatchedAuthenticateWebAuthnStageRequest
43
+ * @memberof PatchedAuthenticatorWebAuthnStageRequest
44
44
  */
45
45
  friendlyName?: string | null;
46
46
  /**
47
47
  *
48
48
  * @type {UserVerificationEnum}
49
- * @memberof PatchedAuthenticateWebAuthnStageRequest
49
+ * @memberof PatchedAuthenticatorWebAuthnStageRequest
50
50
  */
51
51
  userVerification?: UserVerificationEnum;
52
52
  /**
53
53
  *
54
54
  * @type {AuthenticatorAttachmentEnum}
55
- * @memberof PatchedAuthenticateWebAuthnStageRequest
55
+ * @memberof PatchedAuthenticatorWebAuthnStageRequest
56
56
  */
57
57
  authenticatorAttachment?: AuthenticatorAttachmentEnum | null;
58
58
  /**
59
59
  *
60
60
  * @type {ResidentKeyRequirementEnum}
61
- * @memberof PatchedAuthenticateWebAuthnStageRequest
61
+ * @memberof PatchedAuthenticatorWebAuthnStageRequest
62
62
  */
63
63
  residentKeyRequirement?: ResidentKeyRequirementEnum;
64
+ /**
65
+ *
66
+ * @type {Array<string>}
67
+ * @memberof PatchedAuthenticatorWebAuthnStageRequest
68
+ */
69
+ deviceTypeRestrictions?: Array<string>;
64
70
  }
65
71
  /**
66
- * Check if a given object implements the PatchedAuthenticateWebAuthnStageRequest interface.
72
+ * Check if a given object implements the PatchedAuthenticatorWebAuthnStageRequest interface.
67
73
  */
68
- export declare function instanceOfPatchedAuthenticateWebAuthnStageRequest(value: object): boolean;
69
- export declare function PatchedAuthenticateWebAuthnStageRequestFromJSON(json: any): PatchedAuthenticateWebAuthnStageRequest;
70
- export declare function PatchedAuthenticateWebAuthnStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedAuthenticateWebAuthnStageRequest;
71
- export declare function PatchedAuthenticateWebAuthnStageRequestToJSON(value?: PatchedAuthenticateWebAuthnStageRequest | null): any;
74
+ export declare function instanceOfPatchedAuthenticatorWebAuthnStageRequest(value: object): boolean;
75
+ export declare function PatchedAuthenticatorWebAuthnStageRequestFromJSON(json: any): PatchedAuthenticatorWebAuthnStageRequest;
76
+ export declare function PatchedAuthenticatorWebAuthnStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedAuthenticatorWebAuthnStageRequest;
77
+ export declare function PatchedAuthenticatorWebAuthnStageRequestToJSON(value?: PatchedAuthenticatorWebAuthnStageRequest | null): any;
@@ -13,25 +13,25 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PatchedAuthenticateWebAuthnStageRequestToJSON = exports.PatchedAuthenticateWebAuthnStageRequestFromJSONTyped = exports.PatchedAuthenticateWebAuthnStageRequestFromJSON = exports.instanceOfPatchedAuthenticateWebAuthnStageRequest = void 0;
16
+ exports.PatchedAuthenticatorWebAuthnStageRequestToJSON = exports.PatchedAuthenticatorWebAuthnStageRequestFromJSONTyped = exports.PatchedAuthenticatorWebAuthnStageRequestFromJSON = exports.instanceOfPatchedAuthenticatorWebAuthnStageRequest = void 0;
17
17
  const runtime_1 = require("../runtime");
18
18
  const AuthenticatorAttachmentEnum_1 = require("./AuthenticatorAttachmentEnum");
19
19
  const FlowSetRequest_1 = require("./FlowSetRequest");
20
20
  const ResidentKeyRequirementEnum_1 = require("./ResidentKeyRequirementEnum");
21
21
  const UserVerificationEnum_1 = require("./UserVerificationEnum");
22
22
  /**
23
- * Check if a given object implements the PatchedAuthenticateWebAuthnStageRequest interface.
23
+ * Check if a given object implements the PatchedAuthenticatorWebAuthnStageRequest interface.
24
24
  */
25
- function instanceOfPatchedAuthenticateWebAuthnStageRequest(value) {
25
+ function instanceOfPatchedAuthenticatorWebAuthnStageRequest(value) {
26
26
  let isInstance = true;
27
27
  return isInstance;
28
28
  }
29
- exports.instanceOfPatchedAuthenticateWebAuthnStageRequest = instanceOfPatchedAuthenticateWebAuthnStageRequest;
30
- function PatchedAuthenticateWebAuthnStageRequestFromJSON(json) {
31
- return PatchedAuthenticateWebAuthnStageRequestFromJSONTyped(json, false);
29
+ exports.instanceOfPatchedAuthenticatorWebAuthnStageRequest = instanceOfPatchedAuthenticatorWebAuthnStageRequest;
30
+ function PatchedAuthenticatorWebAuthnStageRequestFromJSON(json) {
31
+ return PatchedAuthenticatorWebAuthnStageRequestFromJSONTyped(json, false);
32
32
  }
33
- exports.PatchedAuthenticateWebAuthnStageRequestFromJSON = PatchedAuthenticateWebAuthnStageRequestFromJSON;
34
- function PatchedAuthenticateWebAuthnStageRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ exports.PatchedAuthenticatorWebAuthnStageRequestFromJSON = PatchedAuthenticatorWebAuthnStageRequestFromJSON;
34
+ function PatchedAuthenticatorWebAuthnStageRequestFromJSONTyped(json, ignoreDiscriminator) {
35
35
  if ((json === undefined) || (json === null)) {
36
36
  return json;
37
37
  }
@@ -43,10 +43,11 @@ function PatchedAuthenticateWebAuthnStageRequestFromJSONTyped(json, ignoreDiscri
43
43
  'userVerification': !(0, runtime_1.exists)(json, 'user_verification') ? undefined : (0, UserVerificationEnum_1.UserVerificationEnumFromJSON)(json['user_verification']),
44
44
  'authenticatorAttachment': !(0, runtime_1.exists)(json, 'authenticator_attachment') ? undefined : (0, AuthenticatorAttachmentEnum_1.AuthenticatorAttachmentEnumFromJSON)(json['authenticator_attachment']),
45
45
  'residentKeyRequirement': !(0, runtime_1.exists)(json, 'resident_key_requirement') ? undefined : (0, ResidentKeyRequirementEnum_1.ResidentKeyRequirementEnumFromJSON)(json['resident_key_requirement']),
46
+ 'deviceTypeRestrictions': !(0, runtime_1.exists)(json, 'device_type_restrictions') ? undefined : json['device_type_restrictions'],
46
47
  };
47
48
  }
48
- exports.PatchedAuthenticateWebAuthnStageRequestFromJSONTyped = PatchedAuthenticateWebAuthnStageRequestFromJSONTyped;
49
- function PatchedAuthenticateWebAuthnStageRequestToJSON(value) {
49
+ exports.PatchedAuthenticatorWebAuthnStageRequestFromJSONTyped = PatchedAuthenticatorWebAuthnStageRequestFromJSONTyped;
50
+ function PatchedAuthenticatorWebAuthnStageRequestToJSON(value) {
50
51
  if (value === undefined) {
51
52
  return undefined;
52
53
  }
@@ -61,6 +62,7 @@ function PatchedAuthenticateWebAuthnStageRequestToJSON(value) {
61
62
  'user_verification': (0, UserVerificationEnum_1.UserVerificationEnumToJSON)(value.userVerification),
62
63
  'authenticator_attachment': (0, AuthenticatorAttachmentEnum_1.AuthenticatorAttachmentEnumToJSON)(value.authenticatorAttachment),
63
64
  'resident_key_requirement': (0, ResidentKeyRequirementEnum_1.ResidentKeyRequirementEnumToJSON)(value.residentKeyRequirement),
65
+ 'device_type_restrictions': value.deviceTypeRestrictions,
64
66
  };
65
67
  }
66
- exports.PatchedAuthenticateWebAuthnStageRequestToJSON = PatchedAuthenticateWebAuthnStageRequestToJSON;
68
+ exports.PatchedAuthenticatorWebAuthnStageRequestToJSON = PatchedAuthenticatorWebAuthnStageRequestToJSON;
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { WebAuthnDeviceType } from './WebAuthnDeviceType';
12
13
  /**
13
14
  * Serializer for WebAuthn authenticator devices
14
15
  * @export
@@ -33,6 +34,12 @@ export interface WebAuthnDevice {
33
34
  * @memberof WebAuthnDevice
34
35
  */
35
36
  readonly createdOn: Date;
37
+ /**
38
+ *
39
+ * @type {WebAuthnDeviceType}
40
+ * @memberof WebAuthnDevice
41
+ */
42
+ readonly deviceType: WebAuthnDeviceType | null;
36
43
  }
37
44
  /**
38
45
  * Check if a given object implements the WebAuthnDevice interface.
@@ -14,6 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.WebAuthnDeviceToJSON = exports.WebAuthnDeviceFromJSONTyped = exports.WebAuthnDeviceFromJSON = exports.instanceOfWebAuthnDevice = void 0;
17
+ const WebAuthnDeviceType_1 = require("./WebAuthnDeviceType");
17
18
  /**
18
19
  * Check if a given object implements the WebAuthnDevice interface.
19
20
  */
@@ -22,6 +23,7 @@ function instanceOfWebAuthnDevice(value) {
22
23
  isInstance = isInstance && "pk" in value;
23
24
  isInstance = isInstance && "name" in value;
24
25
  isInstance = isInstance && "createdOn" in value;
26
+ isInstance = isInstance && "deviceType" in value;
25
27
  return isInstance;
26
28
  }
27
29
  exports.instanceOfWebAuthnDevice = instanceOfWebAuthnDevice;
@@ -37,6 +39,7 @@ function WebAuthnDeviceFromJSONTyped(json, ignoreDiscriminator) {
37
39
  'pk': json['pk'],
38
40
  'name': json['name'],
39
41
  'createdOn': (new Date(json['created_on'])),
42
+ 'deviceType': (0, WebAuthnDeviceType_1.WebAuthnDeviceTypeFromJSON)(json['device_type']),
40
43
  };
41
44
  }
42
45
  exports.WebAuthnDeviceFromJSONTyped = WebAuthnDeviceFromJSONTyped;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.2.2
6
+ * Contact: hello@goauthentik.io
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
+ * WebAuthnDeviceType Serializer
14
+ * @export
15
+ * @interface WebAuthnDeviceType
16
+ */
17
+ export interface WebAuthnDeviceType {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof WebAuthnDeviceType
22
+ */
23
+ aaguid: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof WebAuthnDeviceType
28
+ */
29
+ description: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the WebAuthnDeviceType interface.
33
+ */
34
+ export declare function instanceOfWebAuthnDeviceType(value: object): boolean;
35
+ export declare function WebAuthnDeviceTypeFromJSON(json: any): WebAuthnDeviceType;
36
+ export declare function WebAuthnDeviceTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebAuthnDeviceType;
37
+ export declare function WebAuthnDeviceTypeToJSON(value?: WebAuthnDeviceType | null): any;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.2.2
9
+ * Contact: hello@goauthentik.io
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.WebAuthnDeviceTypeToJSON = exports.WebAuthnDeviceTypeFromJSONTyped = exports.WebAuthnDeviceTypeFromJSON = exports.instanceOfWebAuthnDeviceType = void 0;
17
+ /**
18
+ * Check if a given object implements the WebAuthnDeviceType interface.
19
+ */
20
+ function instanceOfWebAuthnDeviceType(value) {
21
+ let isInstance = true;
22
+ isInstance = isInstance && "aaguid" in value;
23
+ isInstance = isInstance && "description" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfWebAuthnDeviceType = instanceOfWebAuthnDeviceType;
27
+ function WebAuthnDeviceTypeFromJSON(json) {
28
+ return WebAuthnDeviceTypeFromJSONTyped(json, false);
29
+ }
30
+ exports.WebAuthnDeviceTypeFromJSON = WebAuthnDeviceTypeFromJSON;
31
+ function WebAuthnDeviceTypeFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'aaguid': json['aaguid'],
37
+ 'description': json['description'],
38
+ };
39
+ }
40
+ exports.WebAuthnDeviceTypeFromJSONTyped = WebAuthnDeviceTypeFromJSONTyped;
41
+ function WebAuthnDeviceTypeToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'aaguid': value.aaguid,
50
+ 'description': value.description,
51
+ };
52
+ }
53
+ exports.WebAuthnDeviceTypeToJSON = WebAuthnDeviceTypeToJSON;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.2.2
6
+ * Contact: hello@goauthentik.io
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
+ * WebAuthnDeviceType Serializer
14
+ * @export
15
+ * @interface WebAuthnDeviceTypeRequest
16
+ */
17
+ export interface WebAuthnDeviceTypeRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof WebAuthnDeviceTypeRequest
22
+ */
23
+ aaguid: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof WebAuthnDeviceTypeRequest
28
+ */
29
+ description: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the WebAuthnDeviceTypeRequest interface.
33
+ */
34
+ export declare function instanceOfWebAuthnDeviceTypeRequest(value: object): boolean;
35
+ export declare function WebAuthnDeviceTypeRequestFromJSON(json: any): WebAuthnDeviceTypeRequest;
36
+ export declare function WebAuthnDeviceTypeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebAuthnDeviceTypeRequest;
37
+ export declare function WebAuthnDeviceTypeRequestToJSON(value?: WebAuthnDeviceTypeRequest | null): any;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.2.2
9
+ * Contact: hello@goauthentik.io
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.WebAuthnDeviceTypeRequestToJSON = exports.WebAuthnDeviceTypeRequestFromJSONTyped = exports.WebAuthnDeviceTypeRequestFromJSON = exports.instanceOfWebAuthnDeviceTypeRequest = void 0;
17
+ /**
18
+ * Check if a given object implements the WebAuthnDeviceTypeRequest interface.
19
+ */
20
+ function instanceOfWebAuthnDeviceTypeRequest(value) {
21
+ let isInstance = true;
22
+ isInstance = isInstance && "aaguid" in value;
23
+ isInstance = isInstance && "description" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfWebAuthnDeviceTypeRequest = instanceOfWebAuthnDeviceTypeRequest;
27
+ function WebAuthnDeviceTypeRequestFromJSON(json) {
28
+ return WebAuthnDeviceTypeRequestFromJSONTyped(json, false);
29
+ }
30
+ exports.WebAuthnDeviceTypeRequestFromJSON = WebAuthnDeviceTypeRequestFromJSON;
31
+ function WebAuthnDeviceTypeRequestFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'aaguid': json['aaguid'],
37
+ 'description': json['description'],
38
+ };
39
+ }
40
+ exports.WebAuthnDeviceTypeRequestFromJSONTyped = WebAuthnDeviceTypeRequestFromJSONTyped;
41
+ function WebAuthnDeviceTypeRequestToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'aaguid': value.aaguid,
50
+ 'description': value.description,
51
+ };
52
+ }
53
+ exports.WebAuthnDeviceTypeRequestToJSON = WebAuthnDeviceTypeRequestToJSON;
@@ -7,8 +7,6 @@ export * from './Application';
7
7
  export * from './ApplicationRequest';
8
8
  export * from './AuthModeEnum';
9
9
  export * from './AuthTypeEnum';
10
- export * from './AuthenticateWebAuthnStage';
11
- export * from './AuthenticateWebAuthnStageRequest';
12
10
  export * from './AuthenticatedSession';
13
11
  export * from './AuthenticatedSessionAsn';
14
12
  export * from './AuthenticatedSessionGeoIp';
@@ -42,6 +40,8 @@ export * from './AuthenticatorValidationChallenge';
42
40
  export * from './AuthenticatorValidationChallengeResponseRequest';
43
41
  export * from './AuthenticatorWebAuthnChallenge';
44
42
  export * from './AuthenticatorWebAuthnChallengeResponseRequest';
43
+ export * from './AuthenticatorWebAuthnStage';
44
+ export * from './AuthenticatorWebAuthnStageRequest';
45
45
  export * from './AutoSubmitChallengeResponseRequest';
46
46
  export * from './AutosubmitChallenge';
47
47
  export * from './BackendsEnum';
@@ -208,13 +208,13 @@ export * from './OutpostHealth';
208
208
  export * from './OutpostRequest';
209
209
  export * from './OutpostTypeEnum';
210
210
  export * from './PaginatedApplicationList';
211
- export * from './PaginatedAuthenticateWebAuthnStageList';
212
211
  export * from './PaginatedAuthenticatedSessionList';
213
212
  export * from './PaginatedAuthenticatorDuoStageList';
214
213
  export * from './PaginatedAuthenticatorSMSStageList';
215
214
  export * from './PaginatedAuthenticatorStaticStageList';
216
215
  export * from './PaginatedAuthenticatorTOTPStageList';
217
216
  export * from './PaginatedAuthenticatorValidateStageList';
217
+ export * from './PaginatedAuthenticatorWebAuthnStageList';
218
218
  export * from './PaginatedBlueprintInstanceList';
219
219
  export * from './PaginatedBrandList';
220
220
  export * from './PaginatedCaptchaStageList';
@@ -304,6 +304,7 @@ export * from './PaginatedUserSAMLSourceConnectionList';
304
304
  export * from './PaginatedUserSourceConnectionList';
305
305
  export * from './PaginatedUserWriteStageList';
306
306
  export * from './PaginatedWebAuthnDeviceList';
307
+ export * from './PaginatedWebAuthnDeviceTypeList';
307
308
  export * from './Pagination';
308
309
  export * from './PasswordChallenge';
309
310
  export * from './PasswordChallengeResponseRequest';
@@ -314,12 +315,12 @@ export * from './PasswordPolicyRequest';
314
315
  export * from './PasswordStage';
315
316
  export * from './PasswordStageRequest';
316
317
  export * from './PatchedApplicationRequest';
317
- export * from './PatchedAuthenticateWebAuthnStageRequest';
318
318
  export * from './PatchedAuthenticatorDuoStageRequest';
319
319
  export * from './PatchedAuthenticatorSMSStageRequest';
320
320
  export * from './PatchedAuthenticatorStaticStageRequest';
321
321
  export * from './PatchedAuthenticatorTOTPStageRequest';
322
322
  export * from './PatchedAuthenticatorValidateStageRequest';
323
+ export * from './PatchedAuthenticatorWebAuthnStageRequest';
323
324
  export * from './PatchedBlueprintInstanceRequest';
324
325
  export * from './PatchedBrandRequest';
325
326
  export * from './PatchedCaptchaStageRequest';
@@ -545,4 +546,6 @@ export * from './ValidationError';
545
546
  export * from './Version';
546
547
  export * from './WebAuthnDevice';
547
548
  export * from './WebAuthnDeviceRequest';
549
+ export * from './WebAuthnDeviceType';
550
+ export * from './WebAuthnDeviceTypeRequest';
548
551
  export * from './Workers';
@@ -25,8 +25,6 @@ __exportStar(require("./Application"), exports);
25
25
  __exportStar(require("./ApplicationRequest"), exports);
26
26
  __exportStar(require("./AuthModeEnum"), exports);
27
27
  __exportStar(require("./AuthTypeEnum"), exports);
28
- __exportStar(require("./AuthenticateWebAuthnStage"), exports);
29
- __exportStar(require("./AuthenticateWebAuthnStageRequest"), exports);
30
28
  __exportStar(require("./AuthenticatedSession"), exports);
31
29
  __exportStar(require("./AuthenticatedSessionAsn"), exports);
32
30
  __exportStar(require("./AuthenticatedSessionGeoIp"), exports);
@@ -60,6 +58,8 @@ __exportStar(require("./AuthenticatorValidationChallenge"), exports);
60
58
  __exportStar(require("./AuthenticatorValidationChallengeResponseRequest"), exports);
61
59
  __exportStar(require("./AuthenticatorWebAuthnChallenge"), exports);
62
60
  __exportStar(require("./AuthenticatorWebAuthnChallengeResponseRequest"), exports);
61
+ __exportStar(require("./AuthenticatorWebAuthnStage"), exports);
62
+ __exportStar(require("./AuthenticatorWebAuthnStageRequest"), exports);
63
63
  __exportStar(require("./AutoSubmitChallengeResponseRequest"), exports);
64
64
  __exportStar(require("./AutosubmitChallenge"), exports);
65
65
  __exportStar(require("./BackendsEnum"), exports);
@@ -226,13 +226,13 @@ __exportStar(require("./OutpostHealth"), exports);
226
226
  __exportStar(require("./OutpostRequest"), exports);
227
227
  __exportStar(require("./OutpostTypeEnum"), exports);
228
228
  __exportStar(require("./PaginatedApplicationList"), exports);
229
- __exportStar(require("./PaginatedAuthenticateWebAuthnStageList"), exports);
230
229
  __exportStar(require("./PaginatedAuthenticatedSessionList"), exports);
231
230
  __exportStar(require("./PaginatedAuthenticatorDuoStageList"), exports);
232
231
  __exportStar(require("./PaginatedAuthenticatorSMSStageList"), exports);
233
232
  __exportStar(require("./PaginatedAuthenticatorStaticStageList"), exports);
234
233
  __exportStar(require("./PaginatedAuthenticatorTOTPStageList"), exports);
235
234
  __exportStar(require("./PaginatedAuthenticatorValidateStageList"), exports);
235
+ __exportStar(require("./PaginatedAuthenticatorWebAuthnStageList"), exports);
236
236
  __exportStar(require("./PaginatedBlueprintInstanceList"), exports);
237
237
  __exportStar(require("./PaginatedBrandList"), exports);
238
238
  __exportStar(require("./PaginatedCaptchaStageList"), exports);
@@ -322,6 +322,7 @@ __exportStar(require("./PaginatedUserSAMLSourceConnectionList"), exports);
322
322
  __exportStar(require("./PaginatedUserSourceConnectionList"), exports);
323
323
  __exportStar(require("./PaginatedUserWriteStageList"), exports);
324
324
  __exportStar(require("./PaginatedWebAuthnDeviceList"), exports);
325
+ __exportStar(require("./PaginatedWebAuthnDeviceTypeList"), exports);
325
326
  __exportStar(require("./Pagination"), exports);
326
327
  __exportStar(require("./PasswordChallenge"), exports);
327
328
  __exportStar(require("./PasswordChallengeResponseRequest"), exports);
@@ -332,12 +333,12 @@ __exportStar(require("./PasswordPolicyRequest"), exports);
332
333
  __exportStar(require("./PasswordStage"), exports);
333
334
  __exportStar(require("./PasswordStageRequest"), exports);
334
335
  __exportStar(require("./PatchedApplicationRequest"), exports);
335
- __exportStar(require("./PatchedAuthenticateWebAuthnStageRequest"), exports);
336
336
  __exportStar(require("./PatchedAuthenticatorDuoStageRequest"), exports);
337
337
  __exportStar(require("./PatchedAuthenticatorSMSStageRequest"), exports);
338
338
  __exportStar(require("./PatchedAuthenticatorStaticStageRequest"), exports);
339
339
  __exportStar(require("./PatchedAuthenticatorTOTPStageRequest"), exports);
340
340
  __exportStar(require("./PatchedAuthenticatorValidateStageRequest"), exports);
341
+ __exportStar(require("./PatchedAuthenticatorWebAuthnStageRequest"), exports);
341
342
  __exportStar(require("./PatchedBlueprintInstanceRequest"), exports);
342
343
  __exportStar(require("./PatchedBrandRequest"), exports);
343
344
  __exportStar(require("./PatchedCaptchaStageRequest"), exports);
@@ -563,4 +564,6 @@ __exportStar(require("./ValidationError"), exports);
563
564
  __exportStar(require("./Version"), exports);
564
565
  __exportStar(require("./WebAuthnDevice"), exports);
565
566
  __exportStar(require("./WebAuthnDeviceRequest"), exports);
567
+ __exportStar(require("./WebAuthnDeviceType"), exports);
568
+ __exportStar(require("./WebAuthnDeviceTypeRequest"), exports);
566
569
  __exportStar(require("./Workers"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2024.2.2-1712238004",
3
+ "version": "2024.2.2-1712687985",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -976,7 +976,7 @@ export const RbacPermissionsAssignedByRolesListModelEnum = {
976
976
  StagesAuthenticatorTotpAuthenticatortotpstage: 'authentik_stages_authenticator_totp.authenticatortotpstage',
977
977
  StagesAuthenticatorTotpTotpdevice: 'authentik_stages_authenticator_totp.totpdevice',
978
978
  StagesAuthenticatorValidateAuthenticatorvalidatestage: 'authentik_stages_authenticator_validate.authenticatorvalidatestage',
979
- StagesAuthenticatorWebauthnAuthenticatewebauthnstage: 'authentik_stages_authenticator_webauthn.authenticatewebauthnstage',
979
+ StagesAuthenticatorWebauthnAuthenticatorwebauthnstage: 'authentik_stages_authenticator_webauthn.authenticatorwebauthnstage',
980
980
  StagesAuthenticatorWebauthnWebauthndevice: 'authentik_stages_authenticator_webauthn.webauthndevice',
981
981
  StagesCaptchaCaptchastage: 'authentik_stages_captcha.captchastage',
982
982
  StagesConsentConsentstage: 'authentik_stages_consent.consentstage',
@@ -1058,7 +1058,7 @@ export const RbacPermissionsAssignedByUsersListModelEnum = {
1058
1058
  StagesAuthenticatorTotpAuthenticatortotpstage: 'authentik_stages_authenticator_totp.authenticatortotpstage',
1059
1059
  StagesAuthenticatorTotpTotpdevice: 'authentik_stages_authenticator_totp.totpdevice',
1060
1060
  StagesAuthenticatorValidateAuthenticatorvalidatestage: 'authentik_stages_authenticator_validate.authenticatorvalidatestage',
1061
- StagesAuthenticatorWebauthnAuthenticatewebauthnstage: 'authentik_stages_authenticator_webauthn.authenticatewebauthnstage',
1061
+ StagesAuthenticatorWebauthnAuthenticatorwebauthnstage: 'authentik_stages_authenticator_webauthn.authenticatorwebauthnstage',
1062
1062
  StagesAuthenticatorWebauthnWebauthndevice: 'authentik_stages_authenticator_webauthn.webauthndevice',
1063
1063
  StagesCaptchaCaptchastage: 'authentik_stages_captcha.captchastage',
1064
1064
  StagesConsentConsentstage: 'authentik_stages_consent.consentstage',