@goauthentik/api 2021.10.4-1638781871 → 2021.10.4-1639472385

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 (72) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/dist/apis/CoreApi.d.ts +1 -0
  3. package/dist/apis/CoreApi.js +3 -0
  4. package/dist/apis/SchemaApi.d.ts +1 -0
  5. package/dist/apis/SchemaApi.js +1 -0
  6. package/dist/apis/StagesApi.d.ts +10 -0
  7. package/dist/apis/StagesApi.js +14 -1
  8. package/dist/esm/apis/CoreApi.d.ts +1 -0
  9. package/dist/esm/apis/CoreApi.js +3 -0
  10. package/dist/esm/apis/SchemaApi.d.ts +1 -0
  11. package/dist/esm/apis/SchemaApi.js +1 -0
  12. package/dist/esm/apis/StagesApi.d.ts +10 -0
  13. package/dist/esm/apis/StagesApi.js +13 -0
  14. package/dist/esm/models/AppleChallengeResponseRequest.d.ts +27 -0
  15. package/dist/esm/models/AppleChallengeResponseRequest.js +36 -0
  16. package/dist/esm/models/AppleLoginChallenge.d.ts +74 -0
  17. package/dist/esm/models/AppleLoginChallenge.js +52 -0
  18. package/dist/esm/models/AuthenticateWebAuthnStage.d.ts +7 -0
  19. package/dist/esm/models/AuthenticateWebAuthnStage.js +3 -0
  20. package/dist/esm/models/AuthenticateWebAuthnStageRequest.d.ts +7 -0
  21. package/dist/esm/models/AuthenticateWebAuthnStageRequest.js +3 -0
  22. package/dist/esm/models/ChallengeTypes.d.ts +3 -0
  23. package/dist/esm/models/ChallengeTypes.js +5 -0
  24. package/dist/esm/models/FlowChallengeResponseRequest.d.ts +3 -0
  25. package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
  26. package/dist/esm/models/LoginChallengeTypes.d.ts +3 -0
  27. package/dist/esm/models/LoginChallengeTypes.js +5 -0
  28. package/dist/esm/models/PatchedAuthenticateWebAuthnStageRequest.d.ts +7 -0
  29. package/dist/esm/models/PatchedAuthenticateWebAuthnStageRequest.js +3 -0
  30. package/dist/esm/models/ProviderTypeEnum.d.ts +1 -0
  31. package/dist/esm/models/ProviderTypeEnum.js +1 -0
  32. package/dist/esm/models/UserVerificationEnum.d.ts +24 -0
  33. package/dist/esm/models/UserVerificationEnum.js +33 -0
  34. package/dist/esm/models/index.d.ts +3 -0
  35. package/dist/esm/models/index.js +3 -0
  36. package/dist/models/AppleChallengeResponseRequest.d.ts +27 -0
  37. package/dist/models/AppleChallengeResponseRequest.js +42 -0
  38. package/dist/models/AppleLoginChallenge.d.ts +74 -0
  39. package/dist/models/AppleLoginChallenge.js +58 -0
  40. package/dist/models/AuthenticateWebAuthnStage.d.ts +7 -0
  41. package/dist/models/AuthenticateWebAuthnStage.js +3 -0
  42. package/dist/models/AuthenticateWebAuthnStageRequest.d.ts +7 -0
  43. package/dist/models/AuthenticateWebAuthnStageRequest.js +3 -0
  44. package/dist/models/ChallengeTypes.d.ts +3 -0
  45. package/dist/models/ChallengeTypes.js +5 -0
  46. package/dist/models/FlowChallengeResponseRequest.d.ts +3 -0
  47. package/dist/models/FlowChallengeResponseRequest.js +5 -0
  48. package/dist/models/LoginChallengeTypes.d.ts +3 -0
  49. package/dist/models/LoginChallengeTypes.js +5 -0
  50. package/dist/models/PatchedAuthenticateWebAuthnStageRequest.d.ts +7 -0
  51. package/dist/models/PatchedAuthenticateWebAuthnStageRequest.js +3 -0
  52. package/dist/models/ProviderTypeEnum.d.ts +1 -0
  53. package/dist/models/ProviderTypeEnum.js +1 -0
  54. package/dist/models/UserVerificationEnum.d.ts +24 -0
  55. package/dist/models/UserVerificationEnum.js +39 -0
  56. package/dist/models/index.d.ts +3 -0
  57. package/dist/models/index.js +3 -0
  58. package/package.json +1 -1
  59. package/src/apis/CoreApi.ts +5 -0
  60. package/src/apis/SchemaApi.ts +1 -0
  61. package/src/apis/StagesApi.ts +14 -0
  62. package/src/models/AppleChallengeResponseRequest.ts +56 -0
  63. package/src/models/AppleLoginChallenge.ts +131 -0
  64. package/src/models/AuthenticateWebAuthnStage.ts +14 -0
  65. package/src/models/AuthenticateWebAuthnStageRequest.ts +14 -0
  66. package/src/models/ChallengeTypes.ts +11 -1
  67. package/src/models/FlowChallengeResponseRequest.ts +11 -1
  68. package/src/models/LoginChallengeTypes.ts +11 -1
  69. package/src/models/PatchedAuthenticateWebAuthnStageRequest.ts +14 -0
  70. package/src/models/ProviderTypeEnum.ts +1 -0
  71. package/src/models/UserVerificationEnum.ts +37 -0
  72. package/src/models/index.ts +3 -0
@@ -23,6 +23,8 @@ src/index.ts
23
23
  src/models/AccessDeniedChallenge.ts
24
24
  src/models/App.ts
25
25
  src/models/AppEnum.ts
26
+ src/models/AppleChallengeResponseRequest.ts
27
+ src/models/AppleLoginChallenge.ts
26
28
  src/models/Application.ts
27
29
  src/models/ApplicationRequest.ts
28
30
  src/models/AuthTypeEnum.ts
@@ -435,6 +437,7 @@ src/models/UserServiceAccountRequest.ts
435
437
  src/models/UserServiceAccountResponse.ts
436
438
  src/models/UserSetting.ts
437
439
  src/models/UserSourceConnection.ts
440
+ src/models/UserVerificationEnum.ts
438
441
  src/models/UserWriteStage.ts
439
442
  src/models/UserWriteStageRequest.ts
440
443
  src/models/ValidationError.ts
@@ -79,6 +79,7 @@ export interface CoreGroupsDestroyRequest {
79
79
  groupUuid: string;
80
80
  }
81
81
  export interface CoreGroupsListRequest {
82
+ attributes?: string;
82
83
  isSuperuser?: boolean;
83
84
  membersByPk?: Array<number>;
84
85
  membersByUsername?: Array<string>;
@@ -628,6 +628,9 @@ class CoreApi extends runtime.BaseAPI {
628
628
  coreGroupsListRaw(requestParameters, initOverrides) {
629
629
  return __awaiter(this, void 0, void 0, function* () {
630
630
  const queryParameters = {};
631
+ if (requestParameters.attributes !== undefined) {
632
+ queryParameters['attributes'] = requestParameters.attributes;
633
+ }
631
634
  if (requestParameters.isSuperuser !== undefined) {
632
635
  queryParameters['is_superuser'] = requestParameters.isSuperuser;
633
636
  }
@@ -107,6 +107,7 @@ export declare enum SchemaRetrieveLangEnum {
107
107
  Ml = "ml",
108
108
  Mn = "mn",
109
109
  Mr = "mr",
110
+ Ms = "ms",
110
111
  My = "my",
111
112
  Nb = "nb",
112
113
  Ne = "ne",
@@ -142,6 +142,7 @@ var SchemaRetrieveLangEnum;
142
142
  SchemaRetrieveLangEnum["Ml"] = "ml";
143
143
  SchemaRetrieveLangEnum["Mn"] = "mn";
144
144
  SchemaRetrieveLangEnum["Mr"] = "mr";
145
+ SchemaRetrieveLangEnum["Ms"] = "ms";
145
146
  SchemaRetrieveLangEnum["My"] = "my";
146
147
  SchemaRetrieveLangEnum["Nb"] = "nb";
147
148
  SchemaRetrieveLangEnum["Ne"] = "ne";
@@ -204,6 +204,7 @@ export interface StagesAuthenticatorWebauthnListRequest {
204
204
  pageSize?: number;
205
205
  search?: string;
206
206
  stageUuid?: string;
207
+ userVerification?: StagesAuthenticatorWebauthnListUserVerificationEnum;
207
208
  }
208
209
  export interface StagesAuthenticatorWebauthnPartialUpdateRequest {
209
210
  stageUuid: string;
@@ -1953,6 +1954,15 @@ export declare enum StagesAuthenticatorValidateListNotConfiguredActionEnum {
1953
1954
  Deny = "deny",
1954
1955
  Skip = "skip"
1955
1956
  }
1957
+ /**
1958
+ * @export
1959
+ * @enum {string}
1960
+ */
1961
+ export declare enum StagesAuthenticatorWebauthnListUserVerificationEnum {
1962
+ Discouraged = "discouraged",
1963
+ Preferred = "preferred",
1964
+ Required = "required"
1965
+ }
1956
1966
  /**
1957
1967
  * @export
1958
1968
  * @enum {string}
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.StagesPromptPromptsListTypeEnum = exports.StagesConsentListModeEnum = exports.StagesAuthenticatorValidateListNotConfiguredActionEnum = exports.StagesAuthenticatorTotpListDigitsEnum = exports.StagesAuthenticatorSmsListProviderEnum = exports.StagesAuthenticatorSmsListAuthTypeEnum = exports.StagesApi = void 0;
25
+ exports.StagesPromptPromptsListTypeEnum = exports.StagesConsentListModeEnum = exports.StagesAuthenticatorWebauthnListUserVerificationEnum = exports.StagesAuthenticatorValidateListNotConfiguredActionEnum = exports.StagesAuthenticatorTotpListDigitsEnum = exports.StagesAuthenticatorSmsListProviderEnum = exports.StagesAuthenticatorSmsListAuthTypeEnum = exports.StagesApi = void 0;
26
26
  const runtime = require("../runtime");
27
27
  const models_1 = require("../models");
28
28
  /**
@@ -1623,6 +1623,9 @@ class StagesApi extends runtime.BaseAPI {
1623
1623
  if (requestParameters.stageUuid !== undefined) {
1624
1624
  queryParameters['stage_uuid'] = requestParameters.stageUuid;
1625
1625
  }
1626
+ if (requestParameters.userVerification !== undefined) {
1627
+ queryParameters['user_verification'] = requestParameters.userVerification;
1628
+ }
1626
1629
  const headerParameters = {};
1627
1630
  if (this.configuration && this.configuration.apiKey) {
1628
1631
  headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
@@ -5521,6 +5524,16 @@ var StagesAuthenticatorValidateListNotConfiguredActionEnum;
5521
5524
  StagesAuthenticatorValidateListNotConfiguredActionEnum["Deny"] = "deny";
5522
5525
  StagesAuthenticatorValidateListNotConfiguredActionEnum["Skip"] = "skip";
5523
5526
  })(StagesAuthenticatorValidateListNotConfiguredActionEnum = exports.StagesAuthenticatorValidateListNotConfiguredActionEnum || (exports.StagesAuthenticatorValidateListNotConfiguredActionEnum = {}));
5527
+ /**
5528
+ * @export
5529
+ * @enum {string}
5530
+ */
5531
+ var StagesAuthenticatorWebauthnListUserVerificationEnum;
5532
+ (function (StagesAuthenticatorWebauthnListUserVerificationEnum) {
5533
+ StagesAuthenticatorWebauthnListUserVerificationEnum["Discouraged"] = "discouraged";
5534
+ StagesAuthenticatorWebauthnListUserVerificationEnum["Preferred"] = "preferred";
5535
+ StagesAuthenticatorWebauthnListUserVerificationEnum["Required"] = "required";
5536
+ })(StagesAuthenticatorWebauthnListUserVerificationEnum = exports.StagesAuthenticatorWebauthnListUserVerificationEnum || (exports.StagesAuthenticatorWebauthnListUserVerificationEnum = {}));
5524
5537
  /**
5525
5538
  * @export
5526
5539
  * @enum {string}
@@ -79,6 +79,7 @@ export interface CoreGroupsDestroyRequest {
79
79
  groupUuid: string;
80
80
  }
81
81
  export interface CoreGroupsListRequest {
82
+ attributes?: string;
82
83
  isSuperuser?: boolean;
83
84
  membersByPk?: Array<number>;
84
85
  membersByUsername?: Array<string>;
@@ -625,6 +625,9 @@ export class CoreApi extends runtime.BaseAPI {
625
625
  coreGroupsListRaw(requestParameters, initOverrides) {
626
626
  return __awaiter(this, void 0, void 0, function* () {
627
627
  const queryParameters = {};
628
+ if (requestParameters.attributes !== undefined) {
629
+ queryParameters['attributes'] = requestParameters.attributes;
630
+ }
628
631
  if (requestParameters.isSuperuser !== undefined) {
629
632
  queryParameters['is_superuser'] = requestParameters.isSuperuser;
630
633
  }
@@ -107,6 +107,7 @@ export declare enum SchemaRetrieveLangEnum {
107
107
  Ml = "ml",
108
108
  Mn = "mn",
109
109
  Mr = "mr",
110
+ Ms = "ms",
110
111
  My = "my",
111
112
  Nb = "nb",
112
113
  Ne = "ne",
@@ -138,6 +138,7 @@ export var SchemaRetrieveLangEnum;
138
138
  SchemaRetrieveLangEnum["Ml"] = "ml";
139
139
  SchemaRetrieveLangEnum["Mn"] = "mn";
140
140
  SchemaRetrieveLangEnum["Mr"] = "mr";
141
+ SchemaRetrieveLangEnum["Ms"] = "ms";
141
142
  SchemaRetrieveLangEnum["My"] = "my";
142
143
  SchemaRetrieveLangEnum["Nb"] = "nb";
143
144
  SchemaRetrieveLangEnum["Ne"] = "ne";
@@ -204,6 +204,7 @@ export interface StagesAuthenticatorWebauthnListRequest {
204
204
  pageSize?: number;
205
205
  search?: string;
206
206
  stageUuid?: string;
207
+ userVerification?: StagesAuthenticatorWebauthnListUserVerificationEnum;
207
208
  }
208
209
  export interface StagesAuthenticatorWebauthnPartialUpdateRequest {
209
210
  stageUuid: string;
@@ -1953,6 +1954,15 @@ export declare enum StagesAuthenticatorValidateListNotConfiguredActionEnum {
1953
1954
  Deny = "deny",
1954
1955
  Skip = "skip"
1955
1956
  }
1957
+ /**
1958
+ * @export
1959
+ * @enum {string}
1960
+ */
1961
+ export declare enum StagesAuthenticatorWebauthnListUserVerificationEnum {
1962
+ Discouraged = "discouraged",
1963
+ Preferred = "preferred",
1964
+ Required = "required"
1965
+ }
1956
1966
  /**
1957
1967
  * @export
1958
1968
  * @enum {string}
@@ -1620,6 +1620,9 @@ export class StagesApi extends runtime.BaseAPI {
1620
1620
  if (requestParameters.stageUuid !== undefined) {
1621
1621
  queryParameters['stage_uuid'] = requestParameters.stageUuid;
1622
1622
  }
1623
+ if (requestParameters.userVerification !== undefined) {
1624
+ queryParameters['user_verification'] = requestParameters.userVerification;
1625
+ }
1623
1626
  const headerParameters = {};
1624
1627
  if (this.configuration && this.configuration.apiKey) {
1625
1628
  headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
@@ -5517,6 +5520,16 @@ export var StagesAuthenticatorValidateListNotConfiguredActionEnum;
5517
5520
  StagesAuthenticatorValidateListNotConfiguredActionEnum["Deny"] = "deny";
5518
5521
  StagesAuthenticatorValidateListNotConfiguredActionEnum["Skip"] = "skip";
5519
5522
  })(StagesAuthenticatorValidateListNotConfiguredActionEnum || (StagesAuthenticatorValidateListNotConfiguredActionEnum = {}));
5523
+ /**
5524
+ * @export
5525
+ * @enum {string}
5526
+ */
5527
+ export var StagesAuthenticatorWebauthnListUserVerificationEnum;
5528
+ (function (StagesAuthenticatorWebauthnListUserVerificationEnum) {
5529
+ StagesAuthenticatorWebauthnListUserVerificationEnum["Discouraged"] = "discouraged";
5530
+ StagesAuthenticatorWebauthnListUserVerificationEnum["Preferred"] = "preferred";
5531
+ StagesAuthenticatorWebauthnListUserVerificationEnum["Required"] = "required";
5532
+ })(StagesAuthenticatorWebauthnListUserVerificationEnum || (StagesAuthenticatorWebauthnListUserVerificationEnum = {}));
5520
5533
  /**
5521
5534
  * @export
5522
5535
  * @enum {string}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2021.10.4
6
+ * Contact: hello@beryju.org
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
+ * Pseudo class for plex response
14
+ * @export
15
+ * @interface AppleChallengeResponseRequest
16
+ */
17
+ export interface AppleChallengeResponseRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AppleChallengeResponseRequest
22
+ */
23
+ component?: string;
24
+ }
25
+ export declare function AppleChallengeResponseRequestFromJSON(json: any): AppleChallengeResponseRequest;
26
+ export declare function AppleChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppleChallengeResponseRequest;
27
+ export declare function AppleChallengeResponseRequestToJSON(value?: AppleChallengeResponseRequest | null): any;
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2021.10.4
8
+ * Contact: hello@beryju.org
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ export function AppleChallengeResponseRequestFromJSON(json) {
16
+ return AppleChallengeResponseRequestFromJSONTyped(json, false);
17
+ }
18
+ export function AppleChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'component': !exists(json, 'component') ? undefined : json['component'],
24
+ };
25
+ }
26
+ export function AppleChallengeResponseRequestToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'component': value.component,
35
+ };
36
+ }
@@ -0,0 +1,74 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2021.10.4
6
+ * Contact: hello@beryju.org
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 { ChallengeChoices } from './ChallengeChoices';
13
+ import { ContextualFlowInfo } from './ContextualFlowInfo';
14
+ import { ErrorDetail } from './ErrorDetail';
15
+ /**
16
+ * Special challenge for apple-native authentication flow, which happens on the client.
17
+ * @export
18
+ * @interface AppleLoginChallenge
19
+ */
20
+ export interface AppleLoginChallenge {
21
+ /**
22
+ *
23
+ * @type {ChallengeChoices}
24
+ * @memberof AppleLoginChallenge
25
+ */
26
+ type: ChallengeChoices;
27
+ /**
28
+ *
29
+ * @type {ContextualFlowInfo}
30
+ * @memberof AppleLoginChallenge
31
+ */
32
+ flowInfo?: ContextualFlowInfo;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof AppleLoginChallenge
37
+ */
38
+ component?: string;
39
+ /**
40
+ *
41
+ * @type {{ [key: string]: Array<ErrorDetail>; }}
42
+ * @memberof AppleLoginChallenge
43
+ */
44
+ responseErrors?: {
45
+ [key: string]: Array<ErrorDetail>;
46
+ };
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof AppleLoginChallenge
51
+ */
52
+ clientId: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof AppleLoginChallenge
57
+ */
58
+ scope: string;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof AppleLoginChallenge
63
+ */
64
+ redirectUri: string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof AppleLoginChallenge
69
+ */
70
+ state: string;
71
+ }
72
+ export declare function AppleLoginChallengeFromJSON(json: any): AppleLoginChallenge;
73
+ export declare function AppleLoginChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppleLoginChallenge;
74
+ export declare function AppleLoginChallengeToJSON(value?: AppleLoginChallenge | null): any;
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2021.10.4
8
+ * Contact: hello@beryju.org
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ import { ChallengeChoicesFromJSON, ChallengeChoicesToJSON, } from './ChallengeChoices';
16
+ import { ContextualFlowInfoFromJSON, ContextualFlowInfoToJSON, } from './ContextualFlowInfo';
17
+ export function AppleLoginChallengeFromJSON(json) {
18
+ return AppleLoginChallengeFromJSONTyped(json, false);
19
+ }
20
+ export function AppleLoginChallengeFromJSONTyped(json, ignoreDiscriminator) {
21
+ if ((json === undefined) || (json === null)) {
22
+ return json;
23
+ }
24
+ return {
25
+ 'type': ChallengeChoicesFromJSON(json['type']),
26
+ 'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
27
+ 'component': !exists(json, 'component') ? undefined : json['component'],
28
+ 'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
29
+ 'clientId': json['client_id'],
30
+ 'scope': json['scope'],
31
+ 'redirectUri': json['redirect_uri'],
32
+ 'state': json['state'],
33
+ };
34
+ }
35
+ export function AppleLoginChallengeToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'type': ChallengeChoicesToJSON(value.type),
44
+ 'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
45
+ 'component': value.component,
46
+ 'response_errors': value.responseErrors,
47
+ 'client_id': value.clientId,
48
+ 'scope': value.scope,
49
+ 'redirect_uri': value.redirectUri,
50
+ 'state': value.state,
51
+ };
52
+ }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { Flow } from './Flow';
13
+ import { UserVerificationEnum } from './UserVerificationEnum';
13
14
  /**
14
15
  * AuthenticateWebAuthnStage Serializer
15
16
  * @export
@@ -64,6 +65,12 @@ export interface AuthenticateWebAuthnStage {
64
65
  * @memberof AuthenticateWebAuthnStage
65
66
  */
66
67
  configureFlow?: string | null;
68
+ /**
69
+ *
70
+ * @type {UserVerificationEnum}
71
+ * @memberof AuthenticateWebAuthnStage
72
+ */
73
+ userVerification?: UserVerificationEnum;
67
74
  }
68
75
  export declare function AuthenticateWebAuthnStageFromJSON(json: any): AuthenticateWebAuthnStage;
69
76
  export declare function AuthenticateWebAuthnStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticateWebAuthnStage;
@@ -13,6 +13,7 @@
13
13
  */
14
14
  import { exists } from '../runtime';
15
15
  import { FlowFromJSON, FlowToJSON, } from './Flow';
16
+ import { UserVerificationEnumFromJSON, UserVerificationEnumToJSON, } from './UserVerificationEnum';
16
17
  export function AuthenticateWebAuthnStageFromJSON(json) {
17
18
  return AuthenticateWebAuthnStageFromJSONTyped(json, false);
18
19
  }
@@ -29,6 +30,7 @@ export function AuthenticateWebAuthnStageFromJSONTyped(json, ignoreDiscriminator
29
30
  'metaModelName': json['meta_model_name'],
30
31
  'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowFromJSON)),
31
32
  'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
33
+ 'userVerification': !exists(json, 'user_verification') ? undefined : UserVerificationEnumFromJSON(json['user_verification']),
32
34
  };
33
35
  }
34
36
  export function AuthenticateWebAuthnStageToJSON(value) {
@@ -42,5 +44,6 @@ export function AuthenticateWebAuthnStageToJSON(value) {
42
44
  'name': value.name,
43
45
  'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowToJSON)),
44
46
  'configure_flow': value.configureFlow,
47
+ 'user_verification': UserVerificationEnumToJSON(value.userVerification),
45
48
  };
46
49
  }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { FlowRequest } from './FlowRequest';
13
+ import { UserVerificationEnum } from './UserVerificationEnum';
13
14
  /**
14
15
  * AuthenticateWebAuthnStage Serializer
15
16
  * @export
@@ -34,6 +35,12 @@ export interface AuthenticateWebAuthnStageRequest {
34
35
  * @memberof AuthenticateWebAuthnStageRequest
35
36
  */
36
37
  configureFlow?: string | null;
38
+ /**
39
+ *
40
+ * @type {UserVerificationEnum}
41
+ * @memberof AuthenticateWebAuthnStageRequest
42
+ */
43
+ userVerification?: UserVerificationEnum;
37
44
  }
38
45
  export declare function AuthenticateWebAuthnStageRequestFromJSON(json: any): AuthenticateWebAuthnStageRequest;
39
46
  export declare function AuthenticateWebAuthnStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticateWebAuthnStageRequest;
@@ -13,6 +13,7 @@
13
13
  */
14
14
  import { exists } from '../runtime';
15
15
  import { FlowRequestFromJSON, FlowRequestToJSON, } from './FlowRequest';
16
+ import { UserVerificationEnumFromJSON, UserVerificationEnumToJSON, } from './UserVerificationEnum';
16
17
  export function AuthenticateWebAuthnStageRequestFromJSON(json) {
17
18
  return AuthenticateWebAuthnStageRequestFromJSONTyped(json, false);
18
19
  }
@@ -24,6 +25,7 @@ export function AuthenticateWebAuthnStageRequestFromJSONTyped(json, ignoreDiscri
24
25
  'name': json['name'],
25
26
  'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowRequestFromJSON)),
26
27
  'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
28
+ 'userVerification': !exists(json, 'user_verification') ? undefined : UserVerificationEnumFromJSON(json['user_verification']),
27
29
  };
28
30
  }
29
31
  export function AuthenticateWebAuthnStageRequestToJSON(value) {
@@ -37,5 +39,6 @@ export function AuthenticateWebAuthnStageRequestToJSON(value) {
37
39
  'name': value.name,
38
40
  'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowRequestToJSON)),
39
41
  'configure_flow': value.configureFlow,
42
+ 'user_verification': UserVerificationEnumToJSON(value.userVerification),
40
43
  };
41
44
  }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { AccessDeniedChallenge } from './AccessDeniedChallenge';
13
+ import { AppleLoginChallenge } from './AppleLoginChallenge';
13
14
  import { AuthenticatorDuoChallenge } from './AuthenticatorDuoChallenge';
14
15
  import { AuthenticatorSMSChallenge } from './AuthenticatorSMSChallenge';
15
16
  import { AuthenticatorStaticChallenge } from './AuthenticatorStaticChallenge';
@@ -33,6 +34,8 @@ import { ShellChallenge } from './ShellChallenge';
33
34
  * @export
34
35
  */
35
36
  export declare type ChallengeTypes = {
37
+ component: 'ak-flow-sources-oauth-apple';
38
+ } & AppleLoginChallenge | {
36
39
  component: 'ak-flow-sources-plex';
37
40
  } & PlexAuthenticationChallenge | {
38
41
  component: 'ak-stage-access-denied';
@@ -12,6 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { AccessDeniedChallengeFromJSONTyped, AccessDeniedChallengeToJSON, } from './AccessDeniedChallenge';
15
+ import { AppleLoginChallengeFromJSONTyped, AppleLoginChallengeToJSON, } from './AppleLoginChallenge';
15
16
  import { AuthenticatorDuoChallengeFromJSONTyped, AuthenticatorDuoChallengeToJSON, } from './AuthenticatorDuoChallenge';
16
17
  import { AuthenticatorSMSChallengeFromJSONTyped, AuthenticatorSMSChallengeToJSON, } from './AuthenticatorSMSChallenge';
17
18
  import { AuthenticatorStaticChallengeFromJSONTyped, AuthenticatorStaticChallengeToJSON, } from './AuthenticatorStaticChallenge';
@@ -37,6 +38,8 @@ export function ChallengeTypesFromJSONTyped(json, ignoreDiscriminator) {
37
38
  return json;
38
39
  }
39
40
  switch (json['component']) {
41
+ case 'ak-flow-sources-oauth-apple':
42
+ return Object.assign(Object.assign({}, AppleLoginChallengeFromJSONTyped(json, true)), { component: 'ak-flow-sources-oauth-apple' });
40
43
  case 'ak-flow-sources-plex':
41
44
  return Object.assign(Object.assign({}, PlexAuthenticationChallengeFromJSONTyped(json, true)), { component: 'ak-flow-sources-plex' });
42
45
  case 'ak-stage-access-denied':
@@ -85,6 +88,8 @@ export function ChallengeTypesToJSON(value) {
85
88
  return null;
86
89
  }
87
90
  switch (value['component']) {
91
+ case 'ak-flow-sources-oauth-apple':
92
+ return AppleLoginChallengeToJSON(value);
88
93
  case 'ak-flow-sources-plex':
89
94
  return PlexAuthenticationChallengeToJSON(value);
90
95
  case 'ak-stage-access-denied':
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { AppleChallengeResponseRequest } from './AppleChallengeResponseRequest';
12
13
  import { AuthenticatorDuoChallengeResponseRequest } from './AuthenticatorDuoChallengeResponseRequest';
13
14
  import { AuthenticatorSMSChallengeResponseRequest } from './AuthenticatorSMSChallengeResponseRequest';
14
15
  import { AuthenticatorStaticChallengeResponseRequest } from './AuthenticatorStaticChallengeResponseRequest';
@@ -30,6 +31,8 @@ import { PromptChallengeResponseRequest } from './PromptChallengeResponseRequest
30
31
  * @export
31
32
  */
32
33
  export declare type FlowChallengeResponseRequest = {
34
+ component: 'ak-flow-sources-oauth-apple';
35
+ } & AppleChallengeResponseRequest | {
33
36
  component: 'ak-flow-sources-plex';
34
37
  } & PlexAuthenticationChallengeResponseRequest | {
35
38
  component: 'ak-stage-authenticator-duo';
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { AppleChallengeResponseRequestFromJSONTyped, AppleChallengeResponseRequestToJSON, } from './AppleChallengeResponseRequest';
14
15
  import { AuthenticatorDuoChallengeResponseRequestFromJSONTyped, AuthenticatorDuoChallengeResponseRequestToJSON, } from './AuthenticatorDuoChallengeResponseRequest';
15
16
  import { AuthenticatorSMSChallengeResponseRequestFromJSONTyped, AuthenticatorSMSChallengeResponseRequestToJSON, } from './AuthenticatorSMSChallengeResponseRequest';
16
17
  import { AuthenticatorStaticChallengeResponseRequestFromJSONTyped, AuthenticatorStaticChallengeResponseRequestToJSON, } from './AuthenticatorStaticChallengeResponseRequest';
@@ -34,6 +35,8 @@ export function FlowChallengeResponseRequestFromJSONTyped(json, ignoreDiscrimina
34
35
  return json;
35
36
  }
36
37
  switch (json['component']) {
38
+ case 'ak-flow-sources-oauth-apple':
39
+ return Object.assign(Object.assign({}, AppleChallengeResponseRequestFromJSONTyped(json, true)), { component: 'ak-flow-sources-oauth-apple' });
37
40
  case 'ak-flow-sources-plex':
38
41
  return Object.assign(Object.assign({}, PlexAuthenticationChallengeResponseRequestFromJSONTyped(json, true)), { component: 'ak-flow-sources-plex' });
39
42
  case 'ak-stage-authenticator-duo':
@@ -76,6 +79,8 @@ export function FlowChallengeResponseRequestToJSON(value) {
76
79
  return null;
77
80
  }
78
81
  switch (value['component']) {
82
+ case 'ak-flow-sources-oauth-apple':
83
+ return AppleChallengeResponseRequestToJSON(value);
79
84
  case 'ak-flow-sources-plex':
80
85
  return PlexAuthenticationChallengeResponseRequestToJSON(value);
81
86
  case 'ak-stage-authenticator-duo':
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { AppleLoginChallenge } from './AppleLoginChallenge';
12
13
  import { PlexAuthenticationChallenge } from './PlexAuthenticationChallenge';
13
14
  import { RedirectChallenge } from './RedirectChallenge';
14
15
  /**
@@ -17,6 +18,8 @@ import { RedirectChallenge } from './RedirectChallenge';
17
18
  * @export
18
19
  */
19
20
  export declare type LoginChallengeTypes = {
21
+ component: 'ak-flow-sources-oauth-apple';
22
+ } & AppleLoginChallenge | {
20
23
  component: 'ak-flow-sources-plex';
21
24
  } & PlexAuthenticationChallenge | {
22
25
  component: 'xak-flow-redirect';
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { AppleLoginChallengeFromJSONTyped, AppleLoginChallengeToJSON, } from './AppleLoginChallenge';
14
15
  import { PlexAuthenticationChallengeFromJSONTyped, PlexAuthenticationChallengeToJSON, } from './PlexAuthenticationChallenge';
15
16
  import { RedirectChallengeFromJSONTyped, RedirectChallengeToJSON, } from './RedirectChallenge';
16
17
  export function LoginChallengeTypesFromJSON(json) {
@@ -21,6 +22,8 @@ export function LoginChallengeTypesFromJSONTyped(json, ignoreDiscriminator) {
21
22
  return json;
22
23
  }
23
24
  switch (json['component']) {
25
+ case 'ak-flow-sources-oauth-apple':
26
+ return Object.assign(Object.assign({}, AppleLoginChallengeFromJSONTyped(json, true)), { component: 'ak-flow-sources-oauth-apple' });
24
27
  case 'ak-flow-sources-plex':
25
28
  return Object.assign(Object.assign({}, PlexAuthenticationChallengeFromJSONTyped(json, true)), { component: 'ak-flow-sources-plex' });
26
29
  case 'xak-flow-redirect':
@@ -37,6 +40,8 @@ export function LoginChallengeTypesToJSON(value) {
37
40
  return null;
38
41
  }
39
42
  switch (value['component']) {
43
+ case 'ak-flow-sources-oauth-apple':
44
+ return AppleLoginChallengeToJSON(value);
40
45
  case 'ak-flow-sources-plex':
41
46
  return PlexAuthenticationChallengeToJSON(value);
42
47
  case 'xak-flow-redirect':
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { FlowRequest } from './FlowRequest';
13
+ import { UserVerificationEnum } from './UserVerificationEnum';
13
14
  /**
14
15
  * AuthenticateWebAuthnStage Serializer
15
16
  * @export
@@ -34,6 +35,12 @@ export interface PatchedAuthenticateWebAuthnStageRequest {
34
35
  * @memberof PatchedAuthenticateWebAuthnStageRequest
35
36
  */
36
37
  configureFlow?: string | null;
38
+ /**
39
+ *
40
+ * @type {UserVerificationEnum}
41
+ * @memberof PatchedAuthenticateWebAuthnStageRequest
42
+ */
43
+ userVerification?: UserVerificationEnum;
37
44
  }
38
45
  export declare function PatchedAuthenticateWebAuthnStageRequestFromJSON(json: any): PatchedAuthenticateWebAuthnStageRequest;
39
46
  export declare function PatchedAuthenticateWebAuthnStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedAuthenticateWebAuthnStageRequest;