@goauthentik/api 2024.6.1-1720731051 → 2024.6.1-1720888668

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/dist/esm/models/AccessDeniedChallenge.d.ts +0 -7
  3. package/dist/esm/models/AccessDeniedChallenge.js +0 -4
  4. package/dist/esm/models/AppleLoginChallenge.d.ts +0 -7
  5. package/dist/esm/models/AppleLoginChallenge.js +0 -4
  6. package/dist/esm/models/AuthenticatorDuoChallenge.d.ts +0 -7
  7. package/dist/esm/models/AuthenticatorDuoChallenge.js +0 -4
  8. package/dist/esm/models/AuthenticatorSMSChallenge.d.ts +0 -7
  9. package/dist/esm/models/AuthenticatorSMSChallenge.js +0 -4
  10. package/dist/esm/models/AuthenticatorStaticChallenge.d.ts +0 -7
  11. package/dist/esm/models/AuthenticatorStaticChallenge.js +0 -4
  12. package/dist/esm/models/AuthenticatorTOTPChallenge.d.ts +0 -7
  13. package/dist/esm/models/AuthenticatorTOTPChallenge.js +0 -4
  14. package/dist/esm/models/AuthenticatorValidationChallenge.d.ts +0 -7
  15. package/dist/esm/models/AuthenticatorValidationChallenge.js +0 -4
  16. package/dist/esm/models/AuthenticatorWebAuthnChallenge.d.ts +0 -7
  17. package/dist/esm/models/AuthenticatorWebAuthnChallenge.js +0 -4
  18. package/dist/esm/models/AutosubmitChallenge.d.ts +0 -7
  19. package/dist/esm/models/AutosubmitChallenge.js +0 -4
  20. package/dist/esm/models/CaptchaChallenge.d.ts +0 -7
  21. package/dist/esm/models/CaptchaChallenge.js +0 -4
  22. package/dist/esm/models/ConsentChallenge.d.ts +0 -7
  23. package/dist/esm/models/ConsentChallenge.js +0 -4
  24. package/dist/esm/models/DummyChallenge.d.ts +0 -7
  25. package/dist/esm/models/DummyChallenge.js +0 -4
  26. package/dist/esm/models/EmailChallenge.d.ts +0 -7
  27. package/dist/esm/models/EmailChallenge.js +0 -4
  28. package/dist/esm/models/FlowErrorChallenge.d.ts +0 -6
  29. package/dist/esm/models/FlowErrorChallenge.js +0 -2
  30. package/dist/esm/models/IdentificationChallenge.d.ts +0 -7
  31. package/dist/esm/models/IdentificationChallenge.js +0 -4
  32. package/dist/esm/models/OAuthDeviceCodeChallenge.d.ts +0 -7
  33. package/dist/esm/models/OAuthDeviceCodeChallenge.js +0 -4
  34. package/dist/esm/models/OAuthDeviceCodeFinishChallenge.d.ts +0 -7
  35. package/dist/esm/models/OAuthDeviceCodeFinishChallenge.js +0 -4
  36. package/dist/esm/models/PasswordChallenge.d.ts +0 -7
  37. package/dist/esm/models/PasswordChallenge.js +0 -4
  38. package/dist/esm/models/PlexAuthenticationChallenge.d.ts +0 -7
  39. package/dist/esm/models/PlexAuthenticationChallenge.js +0 -4
  40. package/dist/esm/models/PromptChallenge.d.ts +0 -7
  41. package/dist/esm/models/PromptChallenge.js +0 -4
  42. package/dist/esm/models/RedirectChallenge.d.ts +0 -7
  43. package/dist/esm/models/RedirectChallenge.js +0 -4
  44. package/dist/esm/models/ShellChallenge.d.ts +0 -7
  45. package/dist/esm/models/ShellChallenge.js +0 -4
  46. package/dist/esm/models/UserLoginChallenge.d.ts +0 -7
  47. package/dist/esm/models/UserLoginChallenge.js +0 -4
  48. package/dist/esm/models/index.d.ts +0 -1
  49. package/dist/esm/models/index.js +0 -1
  50. package/dist/models/AccessDeniedChallenge.d.ts +0 -7
  51. package/dist/models/AccessDeniedChallenge.js +0 -4
  52. package/dist/models/AppleLoginChallenge.d.ts +0 -7
  53. package/dist/models/AppleLoginChallenge.js +0 -4
  54. package/dist/models/AuthenticatorDuoChallenge.d.ts +0 -7
  55. package/dist/models/AuthenticatorDuoChallenge.js +0 -4
  56. package/dist/models/AuthenticatorSMSChallenge.d.ts +0 -7
  57. package/dist/models/AuthenticatorSMSChallenge.js +0 -4
  58. package/dist/models/AuthenticatorStaticChallenge.d.ts +0 -7
  59. package/dist/models/AuthenticatorStaticChallenge.js +0 -4
  60. package/dist/models/AuthenticatorTOTPChallenge.d.ts +0 -7
  61. package/dist/models/AuthenticatorTOTPChallenge.js +0 -4
  62. package/dist/models/AuthenticatorValidationChallenge.d.ts +0 -7
  63. package/dist/models/AuthenticatorValidationChallenge.js +0 -4
  64. package/dist/models/AuthenticatorWebAuthnChallenge.d.ts +0 -7
  65. package/dist/models/AuthenticatorWebAuthnChallenge.js +0 -4
  66. package/dist/models/AutosubmitChallenge.d.ts +0 -7
  67. package/dist/models/AutosubmitChallenge.js +0 -4
  68. package/dist/models/CaptchaChallenge.d.ts +0 -7
  69. package/dist/models/CaptchaChallenge.js +0 -4
  70. package/dist/models/ConsentChallenge.d.ts +0 -7
  71. package/dist/models/ConsentChallenge.js +0 -4
  72. package/dist/models/DummyChallenge.d.ts +0 -7
  73. package/dist/models/DummyChallenge.js +0 -4
  74. package/dist/models/EmailChallenge.d.ts +0 -7
  75. package/dist/models/EmailChallenge.js +0 -4
  76. package/dist/models/FlowErrorChallenge.d.ts +0 -6
  77. package/dist/models/FlowErrorChallenge.js +0 -2
  78. package/dist/models/IdentificationChallenge.d.ts +0 -7
  79. package/dist/models/IdentificationChallenge.js +0 -4
  80. package/dist/models/OAuthDeviceCodeChallenge.d.ts +0 -7
  81. package/dist/models/OAuthDeviceCodeChallenge.js +0 -4
  82. package/dist/models/OAuthDeviceCodeFinishChallenge.d.ts +0 -7
  83. package/dist/models/OAuthDeviceCodeFinishChallenge.js +0 -4
  84. package/dist/models/PasswordChallenge.d.ts +0 -7
  85. package/dist/models/PasswordChallenge.js +0 -4
  86. package/dist/models/PlexAuthenticationChallenge.d.ts +0 -7
  87. package/dist/models/PlexAuthenticationChallenge.js +0 -4
  88. package/dist/models/PromptChallenge.d.ts +0 -7
  89. package/dist/models/PromptChallenge.js +0 -4
  90. package/dist/models/RedirectChallenge.d.ts +0 -7
  91. package/dist/models/RedirectChallenge.js +0 -4
  92. package/dist/models/ShellChallenge.d.ts +0 -7
  93. package/dist/models/ShellChallenge.js +0 -4
  94. package/dist/models/UserLoginChallenge.d.ts +0 -7
  95. package/dist/models/UserLoginChallenge.js +0 -4
  96. package/dist/models/index.d.ts +0 -1
  97. package/dist/models/index.js +0 -1
  98. package/package.json +1 -1
  99. package/src/models/AccessDeniedChallenge.ts +0 -15
  100. package/src/models/AppleLoginChallenge.ts +0 -15
  101. package/src/models/AuthenticatorDuoChallenge.ts +0 -15
  102. package/src/models/AuthenticatorSMSChallenge.ts +0 -15
  103. package/src/models/AuthenticatorStaticChallenge.ts +0 -15
  104. package/src/models/AuthenticatorTOTPChallenge.ts +0 -15
  105. package/src/models/AuthenticatorValidationChallenge.ts +0 -15
  106. package/src/models/AuthenticatorWebAuthnChallenge.ts +0 -15
  107. package/src/models/AutosubmitChallenge.ts +0 -15
  108. package/src/models/CaptchaChallenge.ts +0 -15
  109. package/src/models/ConsentChallenge.ts +0 -15
  110. package/src/models/DummyChallenge.ts +0 -15
  111. package/src/models/EmailChallenge.ts +0 -15
  112. package/src/models/FlowErrorChallenge.ts +0 -8
  113. package/src/models/IdentificationChallenge.ts +0 -15
  114. package/src/models/OAuthDeviceCodeChallenge.ts +0 -15
  115. package/src/models/OAuthDeviceCodeFinishChallenge.ts +0 -15
  116. package/src/models/PasswordChallenge.ts +0 -15
  117. package/src/models/PlexAuthenticationChallenge.ts +0 -15
  118. package/src/models/PromptChallenge.ts +0 -15
  119. package/src/models/RedirectChallenge.ts +0 -15
  120. package/src/models/ShellChallenge.ts +0 -15
  121. package/src/models/UserLoginChallenge.ts +0 -15
  122. package/src/models/index.ts +0 -1
  123. package/dist/esm/models/ChallengeChoices.d.ts +0 -25
  124. package/dist/esm/models/ChallengeChoices.js +0 -32
  125. package/dist/models/ChallengeChoices.d.ts +0 -25
  126. package/dist/models/ChallengeChoices.js +0 -38
  127. package/src/models/ChallengeChoices.ts +0 -40
@@ -15,14 +15,12 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AppleLoginChallengeToJSON = exports.AppleLoginChallengeFromJSONTyped = exports.AppleLoginChallengeFromJSON = exports.instanceOfAppleLoginChallenge = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const ChallengeChoices_1 = require("./ChallengeChoices");
19
18
  const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
20
19
  /**
21
20
  * Check if a given object implements the AppleLoginChallenge interface.
22
21
  */
23
22
  function instanceOfAppleLoginChallenge(value) {
24
23
  let isInstance = true;
25
- isInstance = isInstance && "type" in value;
26
24
  isInstance = isInstance && "clientId" in value;
27
25
  isInstance = isInstance && "scope" in value;
28
26
  isInstance = isInstance && "redirectUri" in value;
@@ -39,7 +37,6 @@ function AppleLoginChallengeFromJSONTyped(json, ignoreDiscriminator) {
39
37
  return json;
40
38
  }
41
39
  return {
42
- 'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
43
40
  'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
44
41
  'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
45
42
  'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
@@ -58,7 +55,6 @@ function AppleLoginChallengeToJSON(value) {
58
55
  return null;
59
56
  }
60
57
  return {
61
- 'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
62
58
  'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
63
59
  'component': value.component,
64
60
  'response_errors': value.responseErrors,
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ChallengeChoices } from './ChallengeChoices';
13
12
  import type { ContextualFlowInfo } from './ContextualFlowInfo';
14
13
  import type { ErrorDetail } from './ErrorDetail';
15
14
  /**
@@ -18,12 +17,6 @@ import type { ErrorDetail } from './ErrorDetail';
18
17
  * @interface AuthenticatorDuoChallenge
19
18
  */
20
19
  export interface AuthenticatorDuoChallenge {
21
- /**
22
- *
23
- * @type {ChallengeChoices}
24
- * @memberof AuthenticatorDuoChallenge
25
- */
26
- type: ChallengeChoices;
27
20
  /**
28
21
  *
29
22
  * @type {ContextualFlowInfo}
@@ -15,14 +15,12 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AuthenticatorDuoChallengeToJSON = exports.AuthenticatorDuoChallengeFromJSONTyped = exports.AuthenticatorDuoChallengeFromJSON = exports.instanceOfAuthenticatorDuoChallenge = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const ChallengeChoices_1 = require("./ChallengeChoices");
19
18
  const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
20
19
  /**
21
20
  * Check if a given object implements the AuthenticatorDuoChallenge interface.
22
21
  */
23
22
  function instanceOfAuthenticatorDuoChallenge(value) {
24
23
  let isInstance = true;
25
- isInstance = isInstance && "type" in value;
26
24
  isInstance = isInstance && "pendingUser" in value;
27
25
  isInstance = isInstance && "pendingUserAvatar" in value;
28
26
  isInstance = isInstance && "activationBarcode" in value;
@@ -40,7 +38,6 @@ function AuthenticatorDuoChallengeFromJSONTyped(json, ignoreDiscriminator) {
40
38
  return json;
41
39
  }
42
40
  return {
43
- 'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
44
41
  'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
45
42
  'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
46
43
  'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
@@ -60,7 +57,6 @@ function AuthenticatorDuoChallengeToJSON(value) {
60
57
  return null;
61
58
  }
62
59
  return {
63
- 'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
64
60
  'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
65
61
  'component': value.component,
66
62
  'response_errors': value.responseErrors,
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ChallengeChoices } from './ChallengeChoices';
13
12
  import type { ContextualFlowInfo } from './ContextualFlowInfo';
14
13
  import type { ErrorDetail } from './ErrorDetail';
15
14
  /**
@@ -18,12 +17,6 @@ import type { ErrorDetail } from './ErrorDetail';
18
17
  * @interface AuthenticatorSMSChallenge
19
18
  */
20
19
  export interface AuthenticatorSMSChallenge {
21
- /**
22
- *
23
- * @type {ChallengeChoices}
24
- * @memberof AuthenticatorSMSChallenge
25
- */
26
- type: ChallengeChoices;
27
20
  /**
28
21
  *
29
22
  * @type {ContextualFlowInfo}
@@ -15,14 +15,12 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AuthenticatorSMSChallengeToJSON = exports.AuthenticatorSMSChallengeFromJSONTyped = exports.AuthenticatorSMSChallengeFromJSON = exports.instanceOfAuthenticatorSMSChallenge = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const ChallengeChoices_1 = require("./ChallengeChoices");
19
18
  const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
20
19
  /**
21
20
  * Check if a given object implements the AuthenticatorSMSChallenge interface.
22
21
  */
23
22
  function instanceOfAuthenticatorSMSChallenge(value) {
24
23
  let isInstance = true;
25
- isInstance = isInstance && "type" in value;
26
24
  isInstance = isInstance && "pendingUser" in value;
27
25
  isInstance = isInstance && "pendingUserAvatar" in value;
28
26
  return isInstance;
@@ -37,7 +35,6 @@ function AuthenticatorSMSChallengeFromJSONTyped(json, ignoreDiscriminator) {
37
35
  return json;
38
36
  }
39
37
  return {
40
- 'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
41
38
  'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
42
39
  'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
43
40
  'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
@@ -55,7 +52,6 @@ function AuthenticatorSMSChallengeToJSON(value) {
55
52
  return null;
56
53
  }
57
54
  return {
58
- 'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
59
55
  'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
60
56
  'component': value.component,
61
57
  'response_errors': value.responseErrors,
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ChallengeChoices } from './ChallengeChoices';
13
12
  import type { ContextualFlowInfo } from './ContextualFlowInfo';
14
13
  import type { ErrorDetail } from './ErrorDetail';
15
14
  /**
@@ -18,12 +17,6 @@ import type { ErrorDetail } from './ErrorDetail';
18
17
  * @interface AuthenticatorStaticChallenge
19
18
  */
20
19
  export interface AuthenticatorStaticChallenge {
21
- /**
22
- *
23
- * @type {ChallengeChoices}
24
- * @memberof AuthenticatorStaticChallenge
25
- */
26
- type: ChallengeChoices;
27
20
  /**
28
21
  *
29
22
  * @type {ContextualFlowInfo}
@@ -15,14 +15,12 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AuthenticatorStaticChallengeToJSON = exports.AuthenticatorStaticChallengeFromJSONTyped = exports.AuthenticatorStaticChallengeFromJSON = exports.instanceOfAuthenticatorStaticChallenge = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const ChallengeChoices_1 = require("./ChallengeChoices");
19
18
  const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
20
19
  /**
21
20
  * Check if a given object implements the AuthenticatorStaticChallenge interface.
22
21
  */
23
22
  function instanceOfAuthenticatorStaticChallenge(value) {
24
23
  let isInstance = true;
25
- isInstance = isInstance && "type" in value;
26
24
  isInstance = isInstance && "pendingUser" in value;
27
25
  isInstance = isInstance && "pendingUserAvatar" in value;
28
26
  isInstance = isInstance && "codes" in value;
@@ -38,7 +36,6 @@ function AuthenticatorStaticChallengeFromJSONTyped(json, ignoreDiscriminator) {
38
36
  return json;
39
37
  }
40
38
  return {
41
- 'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
42
39
  'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
43
40
  'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
44
41
  'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
@@ -56,7 +53,6 @@ function AuthenticatorStaticChallengeToJSON(value) {
56
53
  return null;
57
54
  }
58
55
  return {
59
- 'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
60
56
  'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
61
57
  'component': value.component,
62
58
  'response_errors': value.responseErrors,
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ChallengeChoices } from './ChallengeChoices';
13
12
  import type { ContextualFlowInfo } from './ContextualFlowInfo';
14
13
  import type { ErrorDetail } from './ErrorDetail';
15
14
  /**
@@ -18,12 +17,6 @@ import type { ErrorDetail } from './ErrorDetail';
18
17
  * @interface AuthenticatorTOTPChallenge
19
18
  */
20
19
  export interface AuthenticatorTOTPChallenge {
21
- /**
22
- *
23
- * @type {ChallengeChoices}
24
- * @memberof AuthenticatorTOTPChallenge
25
- */
26
- type: ChallengeChoices;
27
20
  /**
28
21
  *
29
22
  * @type {ContextualFlowInfo}
@@ -15,14 +15,12 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AuthenticatorTOTPChallengeToJSON = exports.AuthenticatorTOTPChallengeFromJSONTyped = exports.AuthenticatorTOTPChallengeFromJSON = exports.instanceOfAuthenticatorTOTPChallenge = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const ChallengeChoices_1 = require("./ChallengeChoices");
19
18
  const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
20
19
  /**
21
20
  * Check if a given object implements the AuthenticatorTOTPChallenge interface.
22
21
  */
23
22
  function instanceOfAuthenticatorTOTPChallenge(value) {
24
23
  let isInstance = true;
25
- isInstance = isInstance && "type" in value;
26
24
  isInstance = isInstance && "pendingUser" in value;
27
25
  isInstance = isInstance && "pendingUserAvatar" in value;
28
26
  isInstance = isInstance && "configUrl" in value;
@@ -38,7 +36,6 @@ function AuthenticatorTOTPChallengeFromJSONTyped(json, ignoreDiscriminator) {
38
36
  return json;
39
37
  }
40
38
  return {
41
- 'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
42
39
  'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
43
40
  'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
44
41
  'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
@@ -56,7 +53,6 @@ function AuthenticatorTOTPChallengeToJSON(value) {
56
53
  return null;
57
54
  }
58
55
  return {
59
- 'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
60
56
  'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
61
57
  'component': value.component,
62
58
  'response_errors': value.responseErrors,
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ChallengeChoices } from './ChallengeChoices';
13
12
  import type { ContextualFlowInfo } from './ContextualFlowInfo';
14
13
  import type { DeviceChallenge } from './DeviceChallenge';
15
14
  import type { ErrorDetail } from './ErrorDetail';
@@ -20,12 +19,6 @@ import type { SelectableStage } from './SelectableStage';
20
19
  * @interface AuthenticatorValidationChallenge
21
20
  */
22
21
  export interface AuthenticatorValidationChallenge {
23
- /**
24
- *
25
- * @type {ChallengeChoices}
26
- * @memberof AuthenticatorValidationChallenge
27
- */
28
- type: ChallengeChoices;
29
22
  /**
30
23
  *
31
24
  * @type {ContextualFlowInfo}
@@ -15,7 +15,6 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AuthenticatorValidationChallengeToJSON = exports.AuthenticatorValidationChallengeFromJSONTyped = exports.AuthenticatorValidationChallengeFromJSON = exports.instanceOfAuthenticatorValidationChallenge = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const ChallengeChoices_1 = require("./ChallengeChoices");
19
18
  const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
20
19
  const DeviceChallenge_1 = require("./DeviceChallenge");
21
20
  const SelectableStage_1 = require("./SelectableStage");
@@ -24,7 +23,6 @@ const SelectableStage_1 = require("./SelectableStage");
24
23
  */
25
24
  function instanceOfAuthenticatorValidationChallenge(value) {
26
25
  let isInstance = true;
27
- isInstance = isInstance && "type" in value;
28
26
  isInstance = isInstance && "pendingUser" in value;
29
27
  isInstance = isInstance && "pendingUserAvatar" in value;
30
28
  isInstance = isInstance && "deviceChallenges" in value;
@@ -41,7 +39,6 @@ function AuthenticatorValidationChallengeFromJSONTyped(json, ignoreDiscriminator
41
39
  return json;
42
40
  }
43
41
  return {
44
- 'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
45
42
  'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
46
43
  'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
47
44
  'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
@@ -60,7 +57,6 @@ function AuthenticatorValidationChallengeToJSON(value) {
60
57
  return null;
61
58
  }
62
59
  return {
63
- 'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
64
60
  'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
65
61
  'component': value.component,
66
62
  'response_errors': value.responseErrors,
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ChallengeChoices } from './ChallengeChoices';
13
12
  import type { ContextualFlowInfo } from './ContextualFlowInfo';
14
13
  import type { ErrorDetail } from './ErrorDetail';
15
14
  /**
@@ -18,12 +17,6 @@ import type { ErrorDetail } from './ErrorDetail';
18
17
  * @interface AuthenticatorWebAuthnChallenge
19
18
  */
20
19
  export interface AuthenticatorWebAuthnChallenge {
21
- /**
22
- *
23
- * @type {ChallengeChoices}
24
- * @memberof AuthenticatorWebAuthnChallenge
25
- */
26
- type: ChallengeChoices;
27
20
  /**
28
21
  *
29
22
  * @type {ContextualFlowInfo}
@@ -15,14 +15,12 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AuthenticatorWebAuthnChallengeToJSON = exports.AuthenticatorWebAuthnChallengeFromJSONTyped = exports.AuthenticatorWebAuthnChallengeFromJSON = exports.instanceOfAuthenticatorWebAuthnChallenge = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const ChallengeChoices_1 = require("./ChallengeChoices");
19
18
  const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
20
19
  /**
21
20
  * Check if a given object implements the AuthenticatorWebAuthnChallenge interface.
22
21
  */
23
22
  function instanceOfAuthenticatorWebAuthnChallenge(value) {
24
23
  let isInstance = true;
25
- isInstance = isInstance && "type" in value;
26
24
  isInstance = isInstance && "pendingUser" in value;
27
25
  isInstance = isInstance && "pendingUserAvatar" in value;
28
26
  isInstance = isInstance && "registration" in value;
@@ -38,7 +36,6 @@ function AuthenticatorWebAuthnChallengeFromJSONTyped(json, ignoreDiscriminator)
38
36
  return json;
39
37
  }
40
38
  return {
41
- 'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
42
39
  'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
43
40
  'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
44
41
  'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
@@ -56,7 +53,6 @@ function AuthenticatorWebAuthnChallengeToJSON(value) {
56
53
  return null;
57
54
  }
58
55
  return {
59
- 'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
60
56
  'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
61
57
  'component': value.component,
62
58
  'response_errors': value.responseErrors,
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ChallengeChoices } from './ChallengeChoices';
13
12
  import type { ContextualFlowInfo } from './ContextualFlowInfo';
14
13
  import type { ErrorDetail } from './ErrorDetail';
15
14
  /**
@@ -18,12 +17,6 @@ import type { ErrorDetail } from './ErrorDetail';
18
17
  * @interface AutosubmitChallenge
19
18
  */
20
19
  export interface AutosubmitChallenge {
21
- /**
22
- *
23
- * @type {ChallengeChoices}
24
- * @memberof AutosubmitChallenge
25
- */
26
- type: ChallengeChoices;
27
20
  /**
28
21
  *
29
22
  * @type {ContextualFlowInfo}
@@ -15,14 +15,12 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AutosubmitChallengeToJSON = exports.AutosubmitChallengeFromJSONTyped = exports.AutosubmitChallengeFromJSON = exports.instanceOfAutosubmitChallenge = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const ChallengeChoices_1 = require("./ChallengeChoices");
19
18
  const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
20
19
  /**
21
20
  * Check if a given object implements the AutosubmitChallenge interface.
22
21
  */
23
22
  function instanceOfAutosubmitChallenge(value) {
24
23
  let isInstance = true;
25
- isInstance = isInstance && "type" in value;
26
24
  isInstance = isInstance && "url" in value;
27
25
  isInstance = isInstance && "attrs" in value;
28
26
  return isInstance;
@@ -37,7 +35,6 @@ function AutosubmitChallengeFromJSONTyped(json, ignoreDiscriminator) {
37
35
  return json;
38
36
  }
39
37
  return {
40
- 'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
41
38
  'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
42
39
  'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
43
40
  'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
@@ -55,7 +52,6 @@ function AutosubmitChallengeToJSON(value) {
55
52
  return null;
56
53
  }
57
54
  return {
58
- 'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
59
55
  'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
60
56
  'component': value.component,
61
57
  'response_errors': value.responseErrors,
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ChallengeChoices } from './ChallengeChoices';
13
12
  import type { ContextualFlowInfo } from './ContextualFlowInfo';
14
13
  import type { ErrorDetail } from './ErrorDetail';
15
14
  /**
@@ -18,12 +17,6 @@ import type { ErrorDetail } from './ErrorDetail';
18
17
  * @interface CaptchaChallenge
19
18
  */
20
19
  export interface CaptchaChallenge {
21
- /**
22
- *
23
- * @type {ChallengeChoices}
24
- * @memberof CaptchaChallenge
25
- */
26
- type: ChallengeChoices;
27
20
  /**
28
21
  *
29
22
  * @type {ContextualFlowInfo}
@@ -15,14 +15,12 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CaptchaChallengeToJSON = exports.CaptchaChallengeFromJSONTyped = exports.CaptchaChallengeFromJSON = exports.instanceOfCaptchaChallenge = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const ChallengeChoices_1 = require("./ChallengeChoices");
19
18
  const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
20
19
  /**
21
20
  * Check if a given object implements the CaptchaChallenge interface.
22
21
  */
23
22
  function instanceOfCaptchaChallenge(value) {
24
23
  let isInstance = true;
25
- isInstance = isInstance && "type" in value;
26
24
  isInstance = isInstance && "pendingUser" in value;
27
25
  isInstance = isInstance && "pendingUserAvatar" in value;
28
26
  isInstance = isInstance && "siteKey" in value;
@@ -39,7 +37,6 @@ function CaptchaChallengeFromJSONTyped(json, ignoreDiscriminator) {
39
37
  return json;
40
38
  }
41
39
  return {
42
- 'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
43
40
  'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
44
41
  'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
45
42
  'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
@@ -58,7 +55,6 @@ function CaptchaChallengeToJSON(value) {
58
55
  return null;
59
56
  }
60
57
  return {
61
- 'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
62
58
  'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
63
59
  'component': value.component,
64
60
  'response_errors': value.responseErrors,
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ChallengeChoices } from './ChallengeChoices';
13
12
  import type { ConsentPermission } from './ConsentPermission';
14
13
  import type { ContextualFlowInfo } from './ContextualFlowInfo';
15
14
  import type { ErrorDetail } from './ErrorDetail';
@@ -19,12 +18,6 @@ import type { ErrorDetail } from './ErrorDetail';
19
18
  * @interface ConsentChallenge
20
19
  */
21
20
  export interface ConsentChallenge {
22
- /**
23
- *
24
- * @type {ChallengeChoices}
25
- * @memberof ConsentChallenge
26
- */
27
- type: ChallengeChoices;
28
21
  /**
29
22
  *
30
23
  * @type {ContextualFlowInfo}
@@ -15,7 +15,6 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ConsentChallengeToJSON = exports.ConsentChallengeFromJSONTyped = exports.ConsentChallengeFromJSON = exports.instanceOfConsentChallenge = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const ChallengeChoices_1 = require("./ChallengeChoices");
19
18
  const ConsentPermission_1 = require("./ConsentPermission");
20
19
  const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
21
20
  /**
@@ -23,7 +22,6 @@ const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
23
22
  */
24
23
  function instanceOfConsentChallenge(value) {
25
24
  let isInstance = true;
26
- isInstance = isInstance && "type" in value;
27
25
  isInstance = isInstance && "pendingUser" in value;
28
26
  isInstance = isInstance && "pendingUserAvatar" in value;
29
27
  isInstance = isInstance && "permissions" in value;
@@ -41,7 +39,6 @@ function ConsentChallengeFromJSONTyped(json, ignoreDiscriminator) {
41
39
  return json;
42
40
  }
43
41
  return {
44
- 'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
45
42
  'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
46
43
  'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
47
44
  'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
@@ -62,7 +59,6 @@ function ConsentChallengeToJSON(value) {
62
59
  return null;
63
60
  }
64
61
  return {
65
- 'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
66
62
  'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
67
63
  'component': value.component,
68
64
  'response_errors': value.responseErrors,
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ChallengeChoices } from './ChallengeChoices';
13
12
  import type { ContextualFlowInfo } from './ContextualFlowInfo';
14
13
  import type { ErrorDetail } from './ErrorDetail';
15
14
  /**
@@ -18,12 +17,6 @@ import type { ErrorDetail } from './ErrorDetail';
18
17
  * @interface DummyChallenge
19
18
  */
20
19
  export interface DummyChallenge {
21
- /**
22
- *
23
- * @type {ChallengeChoices}
24
- * @memberof DummyChallenge
25
- */
26
- type: ChallengeChoices;
27
20
  /**
28
21
  *
29
22
  * @type {ContextualFlowInfo}
@@ -15,14 +15,12 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.DummyChallengeToJSON = exports.DummyChallengeFromJSONTyped = exports.DummyChallengeFromJSON = exports.instanceOfDummyChallenge = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const ChallengeChoices_1 = require("./ChallengeChoices");
19
18
  const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
20
19
  /**
21
20
  * Check if a given object implements the DummyChallenge interface.
22
21
  */
23
22
  function instanceOfDummyChallenge(value) {
24
23
  let isInstance = true;
25
- isInstance = isInstance && "type" in value;
26
24
  isInstance = isInstance && "name" in value;
27
25
  return isInstance;
28
26
  }
@@ -36,7 +34,6 @@ function DummyChallengeFromJSONTyped(json, ignoreDiscriminator) {
36
34
  return json;
37
35
  }
38
36
  return {
39
- 'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
40
37
  'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
41
38
  'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
42
39
  'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
@@ -52,7 +49,6 @@ function DummyChallengeToJSON(value) {
52
49
  return null;
53
50
  }
54
51
  return {
55
- 'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
56
52
  'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
57
53
  'component': value.component,
58
54
  'response_errors': value.responseErrors,
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ChallengeChoices } from './ChallengeChoices';
13
12
  import type { ContextualFlowInfo } from './ContextualFlowInfo';
14
13
  import type { ErrorDetail } from './ErrorDetail';
15
14
  /**
@@ -18,12 +17,6 @@ import type { ErrorDetail } from './ErrorDetail';
18
17
  * @interface EmailChallenge
19
18
  */
20
19
  export interface EmailChallenge {
21
- /**
22
- *
23
- * @type {ChallengeChoices}
24
- * @memberof EmailChallenge
25
- */
26
- type: ChallengeChoices;
27
20
  /**
28
21
  *
29
22
  * @type {ContextualFlowInfo}
@@ -15,14 +15,12 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.EmailChallengeToJSON = exports.EmailChallengeFromJSONTyped = exports.EmailChallengeFromJSON = exports.instanceOfEmailChallenge = void 0;
17
17
  const runtime_1 = require("../runtime");
18
- const ChallengeChoices_1 = require("./ChallengeChoices");
19
18
  const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
20
19
  /**
21
20
  * Check if a given object implements the EmailChallenge interface.
22
21
  */
23
22
  function instanceOfEmailChallenge(value) {
24
23
  let isInstance = true;
25
- isInstance = isInstance && "type" in value;
26
24
  return isInstance;
27
25
  }
28
26
  exports.instanceOfEmailChallenge = instanceOfEmailChallenge;
@@ -35,7 +33,6 @@ function EmailChallengeFromJSONTyped(json, ignoreDiscriminator) {
35
33
  return json;
36
34
  }
37
35
  return {
38
- 'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
39
36
  'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
40
37
  'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
41
38
  'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
@@ -50,7 +47,6 @@ function EmailChallengeToJSON(value) {
50
47
  return null;
51
48
  }
52
49
  return {
53
- 'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
54
50
  'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
55
51
  'component': value.component,
56
52
  'response_errors': value.responseErrors,
@@ -18,12 +18,6 @@ import type { ErrorDetail } from './ErrorDetail';
18
18
  * @interface FlowErrorChallenge
19
19
  */
20
20
  export interface FlowErrorChallenge {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof FlowErrorChallenge
25
- */
26
- type?: string;
27
21
  /**
28
22
  *
29
23
  * @type {ContextualFlowInfo}
@@ -34,7 +34,6 @@ function FlowErrorChallengeFromJSONTyped(json, ignoreDiscriminator) {
34
34
  return json;
35
35
  }
36
36
  return {
37
- 'type': !(0, runtime_1.exists)(json, 'type') ? undefined : json['type'],
38
37
  'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
39
38
  'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
40
39
  'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
@@ -52,7 +51,6 @@ function FlowErrorChallengeToJSON(value) {
52
51
  return null;
53
52
  }
54
53
  return {
55
- 'type': value.type,
56
54
  'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
57
55
  'component': value.component,
58
56
  'response_errors': value.responseErrors,