@goauthentik/api 2024.6.1-1720888668 → 2024.6.1-1721092506

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 (40) hide show
  1. package/dist/apis/StagesApi.d.ts +1 -0
  2. package/dist/apis/StagesApi.js +3 -0
  3. package/dist/esm/apis/StagesApi.d.ts +1 -0
  4. package/dist/esm/apis/StagesApi.js +3 -0
  5. package/dist/esm/models/IdentificationChallenge.d.ts +6 -0
  6. package/dist/esm/models/IdentificationChallenge.js +2 -0
  7. package/dist/esm/models/IdentificationStage.d.ts +1 -1
  8. package/dist/esm/models/IdentificationStageRequest.d.ts +1 -1
  9. package/dist/esm/models/PasswordChallenge.d.ts +6 -0
  10. package/dist/esm/models/PasswordChallenge.js +2 -0
  11. package/dist/esm/models/PasswordStage.d.ts +6 -0
  12. package/dist/esm/models/PasswordStage.js +2 -0
  13. package/dist/esm/models/PasswordStageRequest.d.ts +6 -0
  14. package/dist/esm/models/PasswordStageRequest.js +2 -0
  15. package/dist/esm/models/PatchedIdentificationStageRequest.d.ts +1 -1
  16. package/dist/esm/models/PatchedPasswordStageRequest.d.ts +6 -0
  17. package/dist/esm/models/PatchedPasswordStageRequest.js +2 -0
  18. package/dist/models/IdentificationChallenge.d.ts +6 -0
  19. package/dist/models/IdentificationChallenge.js +2 -0
  20. package/dist/models/IdentificationStage.d.ts +1 -1
  21. package/dist/models/IdentificationStageRequest.d.ts +1 -1
  22. package/dist/models/PasswordChallenge.d.ts +6 -0
  23. package/dist/models/PasswordChallenge.js +2 -0
  24. package/dist/models/PasswordStage.d.ts +6 -0
  25. package/dist/models/PasswordStage.js +2 -0
  26. package/dist/models/PasswordStageRequest.d.ts +6 -0
  27. package/dist/models/PasswordStageRequest.js +2 -0
  28. package/dist/models/PatchedIdentificationStageRequest.d.ts +1 -1
  29. package/dist/models/PatchedPasswordStageRequest.d.ts +6 -0
  30. package/dist/models/PatchedPasswordStageRequest.js +2 -0
  31. package/package.json +1 -1
  32. package/src/apis/StagesApi.ts +5 -0
  33. package/src/models/IdentificationChallenge.ts +8 -0
  34. package/src/models/IdentificationStage.ts +1 -1
  35. package/src/models/IdentificationStageRequest.ts +1 -1
  36. package/src/models/PasswordChallenge.ts +8 -0
  37. package/src/models/PasswordStage.ts +8 -0
  38. package/src/models/PasswordStageRequest.ts +8 -0
  39. package/src/models/PatchedIdentificationStageRequest.ts +1 -1
  40. package/src/models/PatchedPasswordStageRequest.ts +8 -0
@@ -499,6 +499,7 @@ export interface StagesPasswordDestroyRequest {
499
499
  stageUuid: string;
500
500
  }
501
501
  export interface StagesPasswordListRequest {
502
+ allowShowPassword?: boolean;
502
503
  configureFlow?: string;
503
504
  failedAttemptsBeforeCancel?: number;
504
505
  name?: string;
@@ -4455,6 +4455,9 @@ class StagesApi extends runtime.BaseAPI {
4455
4455
  stagesPasswordListRaw(requestParameters, initOverrides) {
4456
4456
  return __awaiter(this, void 0, void 0, function* () {
4457
4457
  const queryParameters = {};
4458
+ if (requestParameters.allowShowPassword !== undefined) {
4459
+ queryParameters['allow_show_password'] = requestParameters.allowShowPassword;
4460
+ }
4458
4461
  if (requestParameters.configureFlow !== undefined) {
4459
4462
  queryParameters['configure_flow'] = requestParameters.configureFlow;
4460
4463
  }
@@ -499,6 +499,7 @@ export interface StagesPasswordDestroyRequest {
499
499
  stageUuid: string;
500
500
  }
501
501
  export interface StagesPasswordListRequest {
502
+ allowShowPassword?: boolean;
502
503
  configureFlow?: string;
503
504
  failedAttemptsBeforeCancel?: number;
504
505
  name?: string;
@@ -4452,6 +4452,9 @@ export class StagesApi extends runtime.BaseAPI {
4452
4452
  stagesPasswordListRaw(requestParameters, initOverrides) {
4453
4453
  return __awaiter(this, void 0, void 0, function* () {
4454
4454
  const queryParameters = {};
4455
+ if (requestParameters.allowShowPassword !== undefined) {
4456
+ queryParameters['allow_show_password'] = requestParameters.allowShowPassword;
4457
+ }
4455
4458
  if (requestParameters.configureFlow !== undefined) {
4456
4459
  queryParameters['configure_flow'] = requestParameters.configureFlow;
4457
4460
  }
@@ -51,6 +51,12 @@ export interface IdentificationChallenge {
51
51
  * @memberof IdentificationChallenge
52
52
  */
53
53
  passwordFields: boolean;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof IdentificationChallenge
58
+ */
59
+ allowShowPassword?: boolean;
54
60
  /**
55
61
  *
56
62
  * @type {string}
@@ -40,6 +40,7 @@ export function IdentificationChallengeFromJSONTyped(json, ignoreDiscriminator)
40
40
  'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
41
41
  'userFields': json['user_fields'],
42
42
  'passwordFields': json['password_fields'],
43
+ 'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
43
44
  'applicationPre': !exists(json, 'application_pre') ? undefined : json['application_pre'],
44
45
  'flowDesignation': FlowDesignationEnumFromJSON(json['flow_designation']),
45
46
  'enrollUrl': !exists(json, 'enroll_url') ? undefined : json['enroll_url'],
@@ -63,6 +64,7 @@ export function IdentificationChallengeToJSON(value) {
63
64
  'response_errors': value.responseErrors,
64
65
  'user_fields': value.userFields,
65
66
  'password_fields': value.passwordFields,
67
+ 'allow_show_password': value.allowShowPassword,
66
68
  'application_pre': value.applicationPre,
67
69
  'flow_designation': FlowDesignationEnumToJSON(value.flowDesignation),
68
70
  'enroll_url': value.enrollUrl,
@@ -66,7 +66,7 @@ export interface IdentificationStage {
66
66
  */
67
67
  userFields?: Array<UserFieldsEnum>;
68
68
  /**
69
- * When set, shows a password field, instead of showing the password field as seaprate step.
69
+ * When set, shows a password field, instead of showing the password field as separate step.
70
70
  * @type {string}
71
71
  * @memberof IdentificationStage
72
72
  */
@@ -36,7 +36,7 @@ export interface IdentificationStageRequest {
36
36
  */
37
37
  userFields?: Array<UserFieldsEnum>;
38
38
  /**
39
- * When set, shows a password field, instead of showing the password field as seaprate step.
39
+ * When set, shows a password field, instead of showing the password field as separate step.
40
40
  * @type {string}
41
41
  * @memberof IdentificationStageRequest
42
42
  */
@@ -55,6 +55,12 @@ export interface PasswordChallenge {
55
55
  * @memberof PasswordChallenge
56
56
  */
57
57
  recoveryUrl?: string;
58
+ /**
59
+ *
60
+ * @type {boolean}
61
+ * @memberof PasswordChallenge
62
+ */
63
+ allowShowPassword?: boolean;
58
64
  }
59
65
  /**
60
66
  * Check if a given object implements the PasswordChallenge interface.
@@ -36,6 +36,7 @@ export function PasswordChallengeFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'pendingUser': json['pending_user'],
37
37
  'pendingUserAvatar': json['pending_user_avatar'],
38
38
  'recoveryUrl': !exists(json, 'recovery_url') ? undefined : json['recovery_url'],
39
+ 'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
39
40
  };
40
41
  }
41
42
  export function PasswordChallengeToJSON(value) {
@@ -52,5 +53,6 @@ export function PasswordChallengeToJSON(value) {
52
53
  'pending_user': value.pendingUser,
53
54
  'pending_user_avatar': value.pendingUserAvatar,
54
55
  'recovery_url': value.recoveryUrl,
56
+ 'allow_show_password': value.allowShowPassword,
55
57
  };
56
58
  }
@@ -77,6 +77,12 @@ export interface PasswordStage {
77
77
  * @memberof PasswordStage
78
78
  */
79
79
  failedAttemptsBeforeCancel?: number;
80
+ /**
81
+ * When enabled, provides a 'show password' button with the password input field.
82
+ * @type {boolean}
83
+ * @memberof PasswordStage
84
+ */
85
+ allowShowPassword?: boolean;
80
86
  }
81
87
  /**
82
88
  * Check if a given object implements the PasswordStage interface.
@@ -46,6 +46,7 @@ export function PasswordStageFromJSONTyped(json, ignoreDiscriminator) {
46
46
  'backends': (json['backends'].map(BackendsEnumFromJSON)),
47
47
  'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
48
48
  'failedAttemptsBeforeCancel': !exists(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
49
+ 'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
49
50
  };
50
51
  }
51
52
  export function PasswordStageToJSON(value) {
@@ -61,5 +62,6 @@ export function PasswordStageToJSON(value) {
61
62
  'backends': (value.backends.map(BackendsEnumToJSON)),
62
63
  'configure_flow': value.configureFlow,
63
64
  'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
65
+ 'allow_show_password': value.allowShowPassword,
64
66
  };
65
67
  }
@@ -47,6 +47,12 @@ export interface PasswordStageRequest {
47
47
  * @memberof PasswordStageRequest
48
48
  */
49
49
  failedAttemptsBeforeCancel?: number;
50
+ /**
51
+ * When enabled, provides a 'show password' button with the password input field.
52
+ * @type {boolean}
53
+ * @memberof PasswordStageRequest
54
+ */
55
+ allowShowPassword?: boolean;
50
56
  }
51
57
  /**
52
58
  * Check if a given object implements the PasswordStageRequest interface.
@@ -36,6 +36,7 @@ export function PasswordStageRequestFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'backends': (json['backends'].map(BackendsEnumFromJSON)),
37
37
  'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
38
38
  'failedAttemptsBeforeCancel': !exists(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
39
+ 'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
39
40
  };
40
41
  }
41
42
  export function PasswordStageRequestToJSON(value) {
@@ -51,5 +52,6 @@ export function PasswordStageRequestToJSON(value) {
51
52
  'backends': (value.backends.map(BackendsEnumToJSON)),
52
53
  'configure_flow': value.configureFlow,
53
54
  'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
55
+ 'allow_show_password': value.allowShowPassword,
54
56
  };
55
57
  }
@@ -36,7 +36,7 @@ export interface PatchedIdentificationStageRequest {
36
36
  */
37
37
  userFields?: Array<UserFieldsEnum>;
38
38
  /**
39
- * When set, shows a password field, instead of showing the password field as seaprate step.
39
+ * When set, shows a password field, instead of showing the password field as separate step.
40
40
  * @type {string}
41
41
  * @memberof PatchedIdentificationStageRequest
42
42
  */
@@ -47,6 +47,12 @@ export interface PatchedPasswordStageRequest {
47
47
  * @memberof PatchedPasswordStageRequest
48
48
  */
49
49
  failedAttemptsBeforeCancel?: number;
50
+ /**
51
+ * When enabled, provides a 'show password' button with the password input field.
52
+ * @type {boolean}
53
+ * @memberof PatchedPasswordStageRequest
54
+ */
55
+ allowShowPassword?: boolean;
50
56
  }
51
57
  /**
52
58
  * Check if a given object implements the PatchedPasswordStageRequest interface.
@@ -34,6 +34,7 @@ export function PatchedPasswordStageRequestFromJSONTyped(json, ignoreDiscriminat
34
34
  'backends': !exists(json, 'backends') ? undefined : (json['backends'].map(BackendsEnumFromJSON)),
35
35
  'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
36
36
  'failedAttemptsBeforeCancel': !exists(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
37
+ 'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
37
38
  };
38
39
  }
39
40
  export function PatchedPasswordStageRequestToJSON(value) {
@@ -49,5 +50,6 @@ export function PatchedPasswordStageRequestToJSON(value) {
49
50
  'backends': value.backends === undefined ? undefined : (value.backends.map(BackendsEnumToJSON)),
50
51
  'configure_flow': value.configureFlow,
51
52
  'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
53
+ 'allow_show_password': value.allowShowPassword,
52
54
  };
53
55
  }
@@ -51,6 +51,12 @@ export interface IdentificationChallenge {
51
51
  * @memberof IdentificationChallenge
52
52
  */
53
53
  passwordFields: boolean;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof IdentificationChallenge
58
+ */
59
+ allowShowPassword?: boolean;
54
60
  /**
55
61
  *
56
62
  * @type {string}
@@ -45,6 +45,7 @@ function IdentificationChallengeFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
46
46
  'userFields': json['user_fields'],
47
47
  'passwordFields': json['password_fields'],
48
+ 'allowShowPassword': !(0, runtime_1.exists)(json, 'allow_show_password') ? undefined : json['allow_show_password'],
48
49
  'applicationPre': !(0, runtime_1.exists)(json, 'application_pre') ? undefined : json['application_pre'],
49
50
  'flowDesignation': (0, FlowDesignationEnum_1.FlowDesignationEnumFromJSON)(json['flow_designation']),
50
51
  'enrollUrl': !(0, runtime_1.exists)(json, 'enroll_url') ? undefined : json['enroll_url'],
@@ -69,6 +70,7 @@ function IdentificationChallengeToJSON(value) {
69
70
  'response_errors': value.responseErrors,
70
71
  'user_fields': value.userFields,
71
72
  'password_fields': value.passwordFields,
73
+ 'allow_show_password': value.allowShowPassword,
72
74
  'application_pre': value.applicationPre,
73
75
  'flow_designation': (0, FlowDesignationEnum_1.FlowDesignationEnumToJSON)(value.flowDesignation),
74
76
  'enroll_url': value.enrollUrl,
@@ -66,7 +66,7 @@ export interface IdentificationStage {
66
66
  */
67
67
  userFields?: Array<UserFieldsEnum>;
68
68
  /**
69
- * When set, shows a password field, instead of showing the password field as seaprate step.
69
+ * When set, shows a password field, instead of showing the password field as separate step.
70
70
  * @type {string}
71
71
  * @memberof IdentificationStage
72
72
  */
@@ -36,7 +36,7 @@ export interface IdentificationStageRequest {
36
36
  */
37
37
  userFields?: Array<UserFieldsEnum>;
38
38
  /**
39
- * When set, shows a password field, instead of showing the password field as seaprate step.
39
+ * When set, shows a password field, instead of showing the password field as separate step.
40
40
  * @type {string}
41
41
  * @memberof IdentificationStageRequest
42
42
  */
@@ -55,6 +55,12 @@ export interface PasswordChallenge {
55
55
  * @memberof PasswordChallenge
56
56
  */
57
57
  recoveryUrl?: string;
58
+ /**
59
+ *
60
+ * @type {boolean}
61
+ * @memberof PasswordChallenge
62
+ */
63
+ allowShowPassword?: boolean;
58
64
  }
59
65
  /**
60
66
  * Check if a given object implements the PasswordChallenge interface.
@@ -41,6 +41,7 @@ function PasswordChallengeFromJSONTyped(json, ignoreDiscriminator) {
41
41
  'pendingUser': json['pending_user'],
42
42
  'pendingUserAvatar': json['pending_user_avatar'],
43
43
  'recoveryUrl': !(0, runtime_1.exists)(json, 'recovery_url') ? undefined : json['recovery_url'],
44
+ 'allowShowPassword': !(0, runtime_1.exists)(json, 'allow_show_password') ? undefined : json['allow_show_password'],
44
45
  };
45
46
  }
46
47
  exports.PasswordChallengeFromJSONTyped = PasswordChallengeFromJSONTyped;
@@ -58,6 +59,7 @@ function PasswordChallengeToJSON(value) {
58
59
  'pending_user': value.pendingUser,
59
60
  'pending_user_avatar': value.pendingUserAvatar,
60
61
  'recovery_url': value.recoveryUrl,
62
+ 'allow_show_password': value.allowShowPassword,
61
63
  };
62
64
  }
63
65
  exports.PasswordChallengeToJSON = PasswordChallengeToJSON;
@@ -77,6 +77,12 @@ export interface PasswordStage {
77
77
  * @memberof PasswordStage
78
78
  */
79
79
  failedAttemptsBeforeCancel?: number;
80
+ /**
81
+ * When enabled, provides a 'show password' button with the password input field.
82
+ * @type {boolean}
83
+ * @memberof PasswordStage
84
+ */
85
+ allowShowPassword?: boolean;
80
86
  }
81
87
  /**
82
88
  * Check if a given object implements the PasswordStage interface.
@@ -51,6 +51,7 @@ function PasswordStageFromJSONTyped(json, ignoreDiscriminator) {
51
51
  'backends': (json['backends'].map(BackendsEnum_1.BackendsEnumFromJSON)),
52
52
  'configureFlow': !(0, runtime_1.exists)(json, 'configure_flow') ? undefined : json['configure_flow'],
53
53
  'failedAttemptsBeforeCancel': !(0, runtime_1.exists)(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
54
+ 'allowShowPassword': !(0, runtime_1.exists)(json, 'allow_show_password') ? undefined : json['allow_show_password'],
54
55
  };
55
56
  }
56
57
  exports.PasswordStageFromJSONTyped = PasswordStageFromJSONTyped;
@@ -67,6 +68,7 @@ function PasswordStageToJSON(value) {
67
68
  'backends': (value.backends.map(BackendsEnum_1.BackendsEnumToJSON)),
68
69
  'configure_flow': value.configureFlow,
69
70
  'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
71
+ 'allow_show_password': value.allowShowPassword,
70
72
  };
71
73
  }
72
74
  exports.PasswordStageToJSON = PasswordStageToJSON;
@@ -47,6 +47,12 @@ export interface PasswordStageRequest {
47
47
  * @memberof PasswordStageRequest
48
48
  */
49
49
  failedAttemptsBeforeCancel?: number;
50
+ /**
51
+ * When enabled, provides a 'show password' button with the password input field.
52
+ * @type {boolean}
53
+ * @memberof PasswordStageRequest
54
+ */
55
+ allowShowPassword?: boolean;
50
56
  }
51
57
  /**
52
58
  * Check if a given object implements the PasswordStageRequest interface.
@@ -41,6 +41,7 @@ function PasswordStageRequestFromJSONTyped(json, ignoreDiscriminator) {
41
41
  'backends': (json['backends'].map(BackendsEnum_1.BackendsEnumFromJSON)),
42
42
  'configureFlow': !(0, runtime_1.exists)(json, 'configure_flow') ? undefined : json['configure_flow'],
43
43
  'failedAttemptsBeforeCancel': !(0, runtime_1.exists)(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
44
+ 'allowShowPassword': !(0, runtime_1.exists)(json, 'allow_show_password') ? undefined : json['allow_show_password'],
44
45
  };
45
46
  }
46
47
  exports.PasswordStageRequestFromJSONTyped = PasswordStageRequestFromJSONTyped;
@@ -57,6 +58,7 @@ function PasswordStageRequestToJSON(value) {
57
58
  'backends': (value.backends.map(BackendsEnum_1.BackendsEnumToJSON)),
58
59
  'configure_flow': value.configureFlow,
59
60
  'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
61
+ 'allow_show_password': value.allowShowPassword,
60
62
  };
61
63
  }
62
64
  exports.PasswordStageRequestToJSON = PasswordStageRequestToJSON;
@@ -36,7 +36,7 @@ export interface PatchedIdentificationStageRequest {
36
36
  */
37
37
  userFields?: Array<UserFieldsEnum>;
38
38
  /**
39
- * When set, shows a password field, instead of showing the password field as seaprate step.
39
+ * When set, shows a password field, instead of showing the password field as separate step.
40
40
  * @type {string}
41
41
  * @memberof PatchedIdentificationStageRequest
42
42
  */
@@ -47,6 +47,12 @@ export interface PatchedPasswordStageRequest {
47
47
  * @memberof PatchedPasswordStageRequest
48
48
  */
49
49
  failedAttemptsBeforeCancel?: number;
50
+ /**
51
+ * When enabled, provides a 'show password' button with the password input field.
52
+ * @type {boolean}
53
+ * @memberof PatchedPasswordStageRequest
54
+ */
55
+ allowShowPassword?: boolean;
50
56
  }
51
57
  /**
52
58
  * Check if a given object implements the PatchedPasswordStageRequest interface.
@@ -39,6 +39,7 @@ function PatchedPasswordStageRequestFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'backends': !(0, runtime_1.exists)(json, 'backends') ? undefined : (json['backends'].map(BackendsEnum_1.BackendsEnumFromJSON)),
40
40
  'configureFlow': !(0, runtime_1.exists)(json, 'configure_flow') ? undefined : json['configure_flow'],
41
41
  'failedAttemptsBeforeCancel': !(0, runtime_1.exists)(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
42
+ 'allowShowPassword': !(0, runtime_1.exists)(json, 'allow_show_password') ? undefined : json['allow_show_password'],
42
43
  };
43
44
  }
44
45
  exports.PatchedPasswordStageRequestFromJSONTyped = PatchedPasswordStageRequestFromJSONTyped;
@@ -55,6 +56,7 @@ function PatchedPasswordStageRequestToJSON(value) {
55
56
  'backends': value.backends === undefined ? undefined : (value.backends.map(BackendsEnum_1.BackendsEnumToJSON)),
56
57
  'configure_flow': value.configureFlow,
57
58
  'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
59
+ 'allow_show_password': value.allowShowPassword,
58
60
  };
59
61
  }
60
62
  exports.PatchedPasswordStageRequestToJSON = PatchedPasswordStageRequestToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2024.6.1-1720888668",
3
+ "version": "2024.6.1-1721092506",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -919,6 +919,7 @@ export interface StagesPasswordDestroyRequest {
919
919
  }
920
920
 
921
921
  export interface StagesPasswordListRequest {
922
+ allowShowPassword?: boolean;
922
923
  configureFlow?: string;
923
924
  failedAttemptsBeforeCancel?: number;
924
925
  name?: string;
@@ -6166,6 +6167,10 @@ export class StagesApi extends runtime.BaseAPI {
6166
6167
  async stagesPasswordListRaw(requestParameters: StagesPasswordListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedPasswordStageList>> {
6167
6168
  const queryParameters: any = {};
6168
6169
 
6170
+ if (requestParameters.allowShowPassword !== undefined) {
6171
+ queryParameters['allow_show_password'] = requestParameters.allowShowPassword;
6172
+ }
6173
+
6169
6174
  if (requestParameters.configureFlow !== undefined) {
6170
6175
  queryParameters['configure_flow'] = requestParameters.configureFlow;
6171
6176
  }
@@ -74,6 +74,12 @@ export interface IdentificationChallenge {
74
74
  * @memberof IdentificationChallenge
75
75
  */
76
76
  passwordFields: boolean;
77
+ /**
78
+ *
79
+ * @type {boolean}
80
+ * @memberof IdentificationChallenge
81
+ */
82
+ allowShowPassword?: boolean;
77
83
  /**
78
84
  *
79
85
  * @type {string}
@@ -153,6 +159,7 @@ export function IdentificationChallengeFromJSONTyped(json: any, ignoreDiscrimina
153
159
  'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
154
160
  'userFields': json['user_fields'],
155
161
  'passwordFields': json['password_fields'],
162
+ 'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
156
163
  'applicationPre': !exists(json, 'application_pre') ? undefined : json['application_pre'],
157
164
  'flowDesignation': FlowDesignationEnumFromJSON(json['flow_designation']),
158
165
  'enrollUrl': !exists(json, 'enroll_url') ? undefined : json['enroll_url'],
@@ -178,6 +185,7 @@ export function IdentificationChallengeToJSON(value?: IdentificationChallenge |
178
185
  'response_errors': value.responseErrors,
179
186
  'user_fields': value.userFields,
180
187
  'password_fields': value.passwordFields,
188
+ 'allow_show_password': value.allowShowPassword,
181
189
  'application_pre': value.applicationPre,
182
190
  'flow_designation': FlowDesignationEnumToJSON(value.flowDesignation),
183
191
  'enroll_url': value.enrollUrl,
@@ -81,7 +81,7 @@ export interface IdentificationStage {
81
81
  */
82
82
  userFields?: Array<UserFieldsEnum>;
83
83
  /**
84
- * When set, shows a password field, instead of showing the password field as seaprate step.
84
+ * When set, shows a password field, instead of showing the password field as separate step.
85
85
  * @type {string}
86
86
  * @memberof IdentificationStage
87
87
  */
@@ -51,7 +51,7 @@ export interface IdentificationStageRequest {
51
51
  */
52
52
  userFields?: Array<UserFieldsEnum>;
53
53
  /**
54
- * When set, shows a password field, instead of showing the password field as seaprate step.
54
+ * When set, shows a password field, instead of showing the password field as separate step.
55
55
  * @type {string}
56
56
  * @memberof IdentificationStageRequest
57
57
  */
@@ -68,6 +68,12 @@ export interface PasswordChallenge {
68
68
  * @memberof PasswordChallenge
69
69
  */
70
70
  recoveryUrl?: string;
71
+ /**
72
+ *
73
+ * @type {boolean}
74
+ * @memberof PasswordChallenge
75
+ */
76
+ allowShowPassword?: boolean;
71
77
  }
72
78
 
73
79
  /**
@@ -97,6 +103,7 @@ export function PasswordChallengeFromJSONTyped(json: any, ignoreDiscriminator: b
97
103
  'pendingUser': json['pending_user'],
98
104
  'pendingUserAvatar': json['pending_user_avatar'],
99
105
  'recoveryUrl': !exists(json, 'recovery_url') ? undefined : json['recovery_url'],
106
+ 'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
100
107
  };
101
108
  }
102
109
 
@@ -115,6 +122,7 @@ export function PasswordChallengeToJSON(value?: PasswordChallenge | null): any {
115
122
  'pending_user': value.pendingUser,
116
123
  'pending_user_avatar': value.pendingUserAvatar,
117
124
  'recovery_url': value.recoveryUrl,
125
+ 'allow_show_password': value.allowShowPassword,
118
126
  };
119
127
  }
120
128
 
@@ -92,6 +92,12 @@ export interface PasswordStage {
92
92
  * @memberof PasswordStage
93
93
  */
94
94
  failedAttemptsBeforeCancel?: number;
95
+ /**
96
+ * When enabled, provides a 'show password' button with the password input field.
97
+ * @type {boolean}
98
+ * @memberof PasswordStage
99
+ */
100
+ allowShowPassword?: boolean;
95
101
  }
96
102
 
97
103
  /**
@@ -130,6 +136,7 @@ export function PasswordStageFromJSONTyped(json: any, ignoreDiscriminator: boole
130
136
  'backends': ((json['backends'] as Array<any>).map(BackendsEnumFromJSON)),
131
137
  'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
132
138
  'failedAttemptsBeforeCancel': !exists(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
139
+ 'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
133
140
  };
134
141
  }
135
142
 
@@ -147,6 +154,7 @@ export function PasswordStageToJSON(value?: PasswordStage | null): any {
147
154
  'backends': ((value.backends as Array<any>).map(BackendsEnumToJSON)),
148
155
  'configure_flow': value.configureFlow,
149
156
  'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
157
+ 'allow_show_password': value.allowShowPassword,
150
158
  };
151
159
  }
152
160
 
@@ -62,6 +62,12 @@ export interface PasswordStageRequest {
62
62
  * @memberof PasswordStageRequest
63
63
  */
64
64
  failedAttemptsBeforeCancel?: number;
65
+ /**
66
+ * When enabled, provides a 'show password' button with the password input field.
67
+ * @type {boolean}
68
+ * @memberof PasswordStageRequest
69
+ */
70
+ allowShowPassword?: boolean;
65
71
  }
66
72
 
67
73
  /**
@@ -90,6 +96,7 @@ export function PasswordStageRequestFromJSONTyped(json: any, ignoreDiscriminator
90
96
  'backends': ((json['backends'] as Array<any>).map(BackendsEnumFromJSON)),
91
97
  'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
92
98
  'failedAttemptsBeforeCancel': !exists(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
99
+ 'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
93
100
  };
94
101
  }
95
102
 
@@ -107,6 +114,7 @@ export function PasswordStageRequestToJSON(value?: PasswordStageRequest | null):
107
114
  'backends': ((value.backends as Array<any>).map(BackendsEnumToJSON)),
108
115
  'configure_flow': value.configureFlow,
109
116
  'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
117
+ 'allow_show_password': value.allowShowPassword,
110
118
  };
111
119
  }
112
120
 
@@ -51,7 +51,7 @@ export interface PatchedIdentificationStageRequest {
51
51
  */
52
52
  userFields?: Array<UserFieldsEnum>;
53
53
  /**
54
- * When set, shows a password field, instead of showing the password field as seaprate step.
54
+ * When set, shows a password field, instead of showing the password field as separate step.
55
55
  * @type {string}
56
56
  * @memberof PatchedIdentificationStageRequest
57
57
  */
@@ -62,6 +62,12 @@ export interface PatchedPasswordStageRequest {
62
62
  * @memberof PatchedPasswordStageRequest
63
63
  */
64
64
  failedAttemptsBeforeCancel?: number;
65
+ /**
66
+ * When enabled, provides a 'show password' button with the password input field.
67
+ * @type {boolean}
68
+ * @memberof PatchedPasswordStageRequest
69
+ */
70
+ allowShowPassword?: boolean;
65
71
  }
66
72
 
67
73
  /**
@@ -88,6 +94,7 @@ export function PatchedPasswordStageRequestFromJSONTyped(json: any, ignoreDiscri
88
94
  'backends': !exists(json, 'backends') ? undefined : ((json['backends'] as Array<any>).map(BackendsEnumFromJSON)),
89
95
  'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
90
96
  'failedAttemptsBeforeCancel': !exists(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
97
+ 'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
91
98
  };
92
99
  }
93
100
 
@@ -105,6 +112,7 @@ export function PatchedPasswordStageRequestToJSON(value?: PatchedPasswordStageRe
105
112
  'backends': value.backends === undefined ? undefined : ((value.backends as Array<any>).map(BackendsEnumToJSON)),
106
113
  'configure_flow': value.configureFlow,
107
114
  'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
115
+ 'allow_show_password': value.allowShowPassword,
108
116
  };
109
117
  }
110
118