@goauthentik/api 2023.10.3-1700176062 → 2023.10.3-1700268969

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.
@@ -113,6 +113,12 @@ export interface IdentificationStage {
113
113
  * @memberof IdentificationStage
114
114
  */
115
115
  showSourceLabels?: boolean;
116
+ /**
117
+ * When enabled, the stage will succeed and continue even when incorrect user info is entered.
118
+ * @type {boolean}
119
+ * @memberof IdentificationStage
120
+ */
121
+ pretendUserExists?: boolean;
116
122
  }
117
123
  /**
118
124
  * Check if a given object implements the IdentificationStage interface.
@@ -51,6 +51,7 @@ export function IdentificationStageFromJSONTyped(json, ignoreDiscriminator) {
51
51
  'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
52
52
  'sources': !exists(json, 'sources') ? undefined : json['sources'],
53
53
  'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
54
+ 'pretendUserExists': !exists(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
54
55
  };
55
56
  }
56
57
  export function IdentificationStageToJSON(value) {
@@ -72,5 +73,6 @@ export function IdentificationStageToJSON(value) {
72
73
  'passwordless_flow': value.passwordlessFlow,
73
74
  'sources': value.sources,
74
75
  'show_source_labels': value.showSourceLabels,
76
+ 'pretend_user_exists': value.pretendUserExists,
75
77
  };
76
78
  }
@@ -83,6 +83,12 @@ export interface IdentificationStageRequest {
83
83
  * @memberof IdentificationStageRequest
84
84
  */
85
85
  showSourceLabels?: boolean;
86
+ /**
87
+ * When enabled, the stage will succeed and continue even when incorrect user info is entered.
88
+ * @type {boolean}
89
+ * @memberof IdentificationStageRequest
90
+ */
91
+ pretendUserExists?: boolean;
86
92
  }
87
93
  /**
88
94
  * Check if a given object implements the IdentificationStageRequest interface.
@@ -41,6 +41,7 @@ export function IdentificationStageRequestFromJSONTyped(json, ignoreDiscriminato
41
41
  'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
42
42
  'sources': !exists(json, 'sources') ? undefined : json['sources'],
43
43
  'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
44
+ 'pretendUserExists': !exists(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
44
45
  };
45
46
  }
46
47
  export function IdentificationStageRequestToJSON(value) {
@@ -62,5 +63,6 @@ export function IdentificationStageRequestToJSON(value) {
62
63
  'passwordless_flow': value.passwordlessFlow,
63
64
  'sources': value.sources,
64
65
  'show_source_labels': value.showSourceLabels,
66
+ 'pretend_user_exists': value.pretendUserExists,
65
67
  };
66
68
  }
@@ -83,6 +83,12 @@ export interface PatchedIdentificationStageRequest {
83
83
  * @memberof PatchedIdentificationStageRequest
84
84
  */
85
85
  showSourceLabels?: boolean;
86
+ /**
87
+ * When enabled, the stage will succeed and continue even when incorrect user info is entered.
88
+ * @type {boolean}
89
+ * @memberof PatchedIdentificationStageRequest
90
+ */
91
+ pretendUserExists?: boolean;
86
92
  }
87
93
  /**
88
94
  * Check if a given object implements the PatchedIdentificationStageRequest interface.
@@ -40,6 +40,7 @@ export function PatchedIdentificationStageRequestFromJSONTyped(json, ignoreDiscr
40
40
  'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
41
41
  'sources': !exists(json, 'sources') ? undefined : json['sources'],
42
42
  'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
43
+ 'pretendUserExists': !exists(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
43
44
  };
44
45
  }
45
46
  export function PatchedIdentificationStageRequestToJSON(value) {
@@ -61,5 +62,6 @@ export function PatchedIdentificationStageRequestToJSON(value) {
61
62
  'passwordless_flow': value.passwordlessFlow,
62
63
  'sources': value.sources,
63
64
  'show_source_labels': value.showSourceLabels,
65
+ 'pretend_user_exists': value.pretendUserExists,
64
66
  };
65
67
  }
@@ -113,6 +113,12 @@ export interface IdentificationStage {
113
113
  * @memberof IdentificationStage
114
114
  */
115
115
  showSourceLabels?: boolean;
116
+ /**
117
+ * When enabled, the stage will succeed and continue even when incorrect user info is entered.
118
+ * @type {boolean}
119
+ * @memberof IdentificationStage
120
+ */
121
+ pretendUserExists?: boolean;
116
122
  }
117
123
  /**
118
124
  * Check if a given object implements the IdentificationStage interface.
@@ -56,6 +56,7 @@ function IdentificationStageFromJSONTyped(json, ignoreDiscriminator) {
56
56
  'passwordlessFlow': !(0, runtime_1.exists)(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
57
57
  'sources': !(0, runtime_1.exists)(json, 'sources') ? undefined : json['sources'],
58
58
  'showSourceLabels': !(0, runtime_1.exists)(json, 'show_source_labels') ? undefined : json['show_source_labels'],
59
+ 'pretendUserExists': !(0, runtime_1.exists)(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
59
60
  };
60
61
  }
61
62
  exports.IdentificationStageFromJSONTyped = IdentificationStageFromJSONTyped;
@@ -78,6 +79,7 @@ function IdentificationStageToJSON(value) {
78
79
  'passwordless_flow': value.passwordlessFlow,
79
80
  'sources': value.sources,
80
81
  'show_source_labels': value.showSourceLabels,
82
+ 'pretend_user_exists': value.pretendUserExists,
81
83
  };
82
84
  }
83
85
  exports.IdentificationStageToJSON = IdentificationStageToJSON;
@@ -83,6 +83,12 @@ export interface IdentificationStageRequest {
83
83
  * @memberof IdentificationStageRequest
84
84
  */
85
85
  showSourceLabels?: boolean;
86
+ /**
87
+ * When enabled, the stage will succeed and continue even when incorrect user info is entered.
88
+ * @type {boolean}
89
+ * @memberof IdentificationStageRequest
90
+ */
91
+ pretendUserExists?: boolean;
86
92
  }
87
93
  /**
88
94
  * Check if a given object implements the IdentificationStageRequest interface.
@@ -46,6 +46,7 @@ function IdentificationStageRequestFromJSONTyped(json, ignoreDiscriminator) {
46
46
  'passwordlessFlow': !(0, runtime_1.exists)(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
47
47
  'sources': !(0, runtime_1.exists)(json, 'sources') ? undefined : json['sources'],
48
48
  'showSourceLabels': !(0, runtime_1.exists)(json, 'show_source_labels') ? undefined : json['show_source_labels'],
49
+ 'pretendUserExists': !(0, runtime_1.exists)(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
49
50
  };
50
51
  }
51
52
  exports.IdentificationStageRequestFromJSONTyped = IdentificationStageRequestFromJSONTyped;
@@ -68,6 +69,7 @@ function IdentificationStageRequestToJSON(value) {
68
69
  'passwordless_flow': value.passwordlessFlow,
69
70
  'sources': value.sources,
70
71
  'show_source_labels': value.showSourceLabels,
72
+ 'pretend_user_exists': value.pretendUserExists,
71
73
  };
72
74
  }
73
75
  exports.IdentificationStageRequestToJSON = IdentificationStageRequestToJSON;
@@ -83,6 +83,12 @@ export interface PatchedIdentificationStageRequest {
83
83
  * @memberof PatchedIdentificationStageRequest
84
84
  */
85
85
  showSourceLabels?: boolean;
86
+ /**
87
+ * When enabled, the stage will succeed and continue even when incorrect user info is entered.
88
+ * @type {boolean}
89
+ * @memberof PatchedIdentificationStageRequest
90
+ */
91
+ pretendUserExists?: boolean;
86
92
  }
87
93
  /**
88
94
  * Check if a given object implements the PatchedIdentificationStageRequest interface.
@@ -45,6 +45,7 @@ function PatchedIdentificationStageRequestFromJSONTyped(json, ignoreDiscriminato
45
45
  'passwordlessFlow': !(0, runtime_1.exists)(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
46
46
  'sources': !(0, runtime_1.exists)(json, 'sources') ? undefined : json['sources'],
47
47
  'showSourceLabels': !(0, runtime_1.exists)(json, 'show_source_labels') ? undefined : json['show_source_labels'],
48
+ 'pretendUserExists': !(0, runtime_1.exists)(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
48
49
  };
49
50
  }
50
51
  exports.PatchedIdentificationStageRequestFromJSONTyped = PatchedIdentificationStageRequestFromJSONTyped;
@@ -67,6 +68,7 @@ function PatchedIdentificationStageRequestToJSON(value) {
67
68
  'passwordless_flow': value.passwordlessFlow,
68
69
  'sources': value.sources,
69
70
  'show_source_labels': value.showSourceLabels,
71
+ 'pretend_user_exists': value.pretendUserExists,
70
72
  };
71
73
  }
72
74
  exports.PatchedIdentificationStageRequestToJSON = PatchedIdentificationStageRequestToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2023.10.3-1700176062",
3
+ "version": "2023.10.3-1700268969",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -128,6 +128,12 @@ export interface IdentificationStage {
128
128
  * @memberof IdentificationStage
129
129
  */
130
130
  showSourceLabels?: boolean;
131
+ /**
132
+ * When enabled, the stage will succeed and continue even when incorrect user info is entered.
133
+ * @type {boolean}
134
+ * @memberof IdentificationStage
135
+ */
136
+ pretendUserExists?: boolean;
131
137
  }
132
138
 
133
139
  /**
@@ -171,6 +177,7 @@ export function IdentificationStageFromJSONTyped(json: any, ignoreDiscriminator:
171
177
  'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
172
178
  'sources': !exists(json, 'sources') ? undefined : json['sources'],
173
179
  'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
180
+ 'pretendUserExists': !exists(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
174
181
  };
175
182
  }
176
183
 
@@ -194,6 +201,7 @@ export function IdentificationStageToJSON(value?: IdentificationStage | null): a
194
201
  'passwordless_flow': value.passwordlessFlow,
195
202
  'sources': value.sources,
196
203
  'show_source_labels': value.showSourceLabels,
204
+ 'pretend_user_exists': value.pretendUserExists,
197
205
  };
198
206
  }
199
207
 
@@ -98,6 +98,12 @@ export interface IdentificationStageRequest {
98
98
  * @memberof IdentificationStageRequest
99
99
  */
100
100
  showSourceLabels?: boolean;
101
+ /**
102
+ * When enabled, the stage will succeed and continue even when incorrect user info is entered.
103
+ * @type {boolean}
104
+ * @memberof IdentificationStageRequest
105
+ */
106
+ pretendUserExists?: boolean;
101
107
  }
102
108
 
103
109
  /**
@@ -131,6 +137,7 @@ export function IdentificationStageRequestFromJSONTyped(json: any, ignoreDiscrim
131
137
  'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
132
138
  'sources': !exists(json, 'sources') ? undefined : json['sources'],
133
139
  'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
140
+ 'pretendUserExists': !exists(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
134
141
  };
135
142
  }
136
143
 
@@ -154,6 +161,7 @@ export function IdentificationStageRequestToJSON(value?: IdentificationStageRequ
154
161
  'passwordless_flow': value.passwordlessFlow,
155
162
  'sources': value.sources,
156
163
  'show_source_labels': value.showSourceLabels,
164
+ 'pretend_user_exists': value.pretendUserExists,
157
165
  };
158
166
  }
159
167
 
@@ -98,6 +98,12 @@ export interface PatchedIdentificationStageRequest {
98
98
  * @memberof PatchedIdentificationStageRequest
99
99
  */
100
100
  showSourceLabels?: boolean;
101
+ /**
102
+ * When enabled, the stage will succeed and continue even when incorrect user info is entered.
103
+ * @type {boolean}
104
+ * @memberof PatchedIdentificationStageRequest
105
+ */
106
+ pretendUserExists?: boolean;
101
107
  }
102
108
 
103
109
  /**
@@ -130,6 +136,7 @@ export function PatchedIdentificationStageRequestFromJSONTyped(json: any, ignore
130
136
  'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
131
137
  'sources': !exists(json, 'sources') ? undefined : json['sources'],
132
138
  'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
139
+ 'pretendUserExists': !exists(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
133
140
  };
134
141
  }
135
142
 
@@ -153,6 +160,7 @@ export function PatchedIdentificationStageRequestToJSON(value?: PatchedIdentific
153
160
  'passwordless_flow': value.passwordlessFlow,
154
161
  'sources': value.sources,
155
162
  'show_source_labels': value.showSourceLabels,
163
+ 'pretend_user_exists': value.pretendUserExists,
156
164
  };
157
165
  }
158
166