@goauthentik/api 2024.10.1-1730834993 → 2024.10.1-1731327664

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.
@@ -61,6 +61,12 @@ export interface CaptchaChallenge {
61
61
  * @memberof CaptchaChallenge
62
62
  */
63
63
  jsUrl: string;
64
+ /**
65
+ *
66
+ * @type {boolean}
67
+ * @memberof CaptchaChallenge
68
+ */
69
+ interactive: boolean;
64
70
  }
65
71
  /**
66
72
  * Check if a given object implements the CaptchaChallenge interface.
@@ -22,6 +22,7 @@ export function instanceOfCaptchaChallenge(value) {
22
22
  isInstance = isInstance && "pendingUserAvatar" in value;
23
23
  isInstance = isInstance && "siteKey" in value;
24
24
  isInstance = isInstance && "jsUrl" in value;
25
+ isInstance = isInstance && "interactive" in value;
25
26
  return isInstance;
26
27
  }
27
28
  export function CaptchaChallengeFromJSON(json) {
@@ -39,6 +40,7 @@ export function CaptchaChallengeFromJSONTyped(json, ignoreDiscriminator) {
39
40
  'pendingUserAvatar': json['pending_user_avatar'],
40
41
  'siteKey': json['site_key'],
41
42
  'jsUrl': json['js_url'],
43
+ 'interactive': json['interactive'],
42
44
  };
43
45
  }
44
46
  export function CaptchaChallengeToJSON(value) {
@@ -56,5 +58,6 @@ export function CaptchaChallengeToJSON(value) {
56
58
  'pending_user_avatar': value.pendingUserAvatar,
57
59
  'site_key': value.siteKey,
58
60
  'js_url': value.jsUrl,
61
+ 'interactive': value.interactive,
59
62
  };
60
63
  }
@@ -76,6 +76,12 @@ export interface CaptchaStage {
76
76
  * @memberof CaptchaStage
77
77
  */
78
78
  apiUrl?: string;
79
+ /**
80
+ *
81
+ * @type {boolean}
82
+ * @memberof CaptchaStage
83
+ */
84
+ interactive?: boolean;
79
85
  /**
80
86
  *
81
87
  * @type {number}
@@ -45,6 +45,7 @@ export function CaptchaStageFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'publicKey': json['public_key'],
46
46
  'jsUrl': !exists(json, 'js_url') ? undefined : json['js_url'],
47
47
  'apiUrl': !exists(json, 'api_url') ? undefined : json['api_url'],
48
+ 'interactive': !exists(json, 'interactive') ? undefined : json['interactive'],
48
49
  'scoreMinThreshold': !exists(json, 'score_min_threshold') ? undefined : json['score_min_threshold'],
49
50
  'scoreMaxThreshold': !exists(json, 'score_max_threshold') ? undefined : json['score_max_threshold'],
50
51
  'errorOnInvalidScore': !exists(json, 'error_on_invalid_score') ? undefined : json['error_on_invalid_score'],
@@ -63,6 +64,7 @@ export function CaptchaStageToJSON(value) {
63
64
  'public_key': value.publicKey,
64
65
  'js_url': value.jsUrl,
65
66
  'api_url': value.apiUrl,
67
+ 'interactive': value.interactive,
66
68
  'score_min_threshold': value.scoreMinThreshold,
67
69
  'score_max_threshold': value.scoreMaxThreshold,
68
70
  'error_on_invalid_score': value.errorOnInvalidScore,
@@ -52,6 +52,12 @@ export interface CaptchaStageRequest {
52
52
  * @memberof CaptchaStageRequest
53
53
  */
54
54
  apiUrl?: string;
55
+ /**
56
+ *
57
+ * @type {boolean}
58
+ * @memberof CaptchaStageRequest
59
+ */
60
+ interactive?: boolean;
55
61
  /**
56
62
  *
57
63
  * @type {number}
@@ -37,6 +37,7 @@ export function CaptchaStageRequestFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'privateKey': json['private_key'],
38
38
  'jsUrl': !exists(json, 'js_url') ? undefined : json['js_url'],
39
39
  'apiUrl': !exists(json, 'api_url') ? undefined : json['api_url'],
40
+ 'interactive': !exists(json, 'interactive') ? undefined : json['interactive'],
40
41
  'scoreMinThreshold': !exists(json, 'score_min_threshold') ? undefined : json['score_min_threshold'],
41
42
  'scoreMaxThreshold': !exists(json, 'score_max_threshold') ? undefined : json['score_max_threshold'],
42
43
  'errorOnInvalidScore': !exists(json, 'error_on_invalid_score') ? undefined : json['error_on_invalid_score'],
@@ -56,6 +57,7 @@ export function CaptchaStageRequestToJSON(value) {
56
57
  'private_key': value.privateKey,
57
58
  'js_url': value.jsUrl,
58
59
  'api_url': value.apiUrl,
60
+ 'interactive': value.interactive,
59
61
  'score_min_threshold': value.scoreMinThreshold,
60
62
  'score_max_threshold': value.scoreMaxThreshold,
61
63
  'error_on_invalid_score': value.errorOnInvalidScore,
@@ -52,6 +52,12 @@ export interface PatchedCaptchaStageRequest {
52
52
  * @memberof PatchedCaptchaStageRequest
53
53
  */
54
54
  apiUrl?: string;
55
+ /**
56
+ *
57
+ * @type {boolean}
58
+ * @memberof PatchedCaptchaStageRequest
59
+ */
60
+ interactive?: boolean;
55
61
  /**
56
62
  *
57
63
  * @type {number}
@@ -34,6 +34,7 @@ export function PatchedCaptchaStageRequestFromJSONTyped(json, ignoreDiscriminato
34
34
  'privateKey': !exists(json, 'private_key') ? undefined : json['private_key'],
35
35
  'jsUrl': !exists(json, 'js_url') ? undefined : json['js_url'],
36
36
  'apiUrl': !exists(json, 'api_url') ? undefined : json['api_url'],
37
+ 'interactive': !exists(json, 'interactive') ? undefined : json['interactive'],
37
38
  'scoreMinThreshold': !exists(json, 'score_min_threshold') ? undefined : json['score_min_threshold'],
38
39
  'scoreMaxThreshold': !exists(json, 'score_max_threshold') ? undefined : json['score_max_threshold'],
39
40
  'errorOnInvalidScore': !exists(json, 'error_on_invalid_score') ? undefined : json['error_on_invalid_score'],
@@ -53,6 +54,7 @@ export function PatchedCaptchaStageRequestToJSON(value) {
53
54
  'private_key': value.privateKey,
54
55
  'js_url': value.jsUrl,
55
56
  'api_url': value.apiUrl,
57
+ 'interactive': value.interactive,
56
58
  'score_min_threshold': value.scoreMinThreshold,
57
59
  'score_max_threshold': value.scoreMaxThreshold,
58
60
  'error_on_invalid_score': value.errorOnInvalidScore,
@@ -61,6 +61,12 @@ export interface CaptchaChallenge {
61
61
  * @memberof CaptchaChallenge
62
62
  */
63
63
  jsUrl: string;
64
+ /**
65
+ *
66
+ * @type {boolean}
67
+ * @memberof CaptchaChallenge
68
+ */
69
+ interactive: boolean;
64
70
  }
65
71
  /**
66
72
  * Check if a given object implements the CaptchaChallenge interface.
@@ -25,6 +25,7 @@ function instanceOfCaptchaChallenge(value) {
25
25
  isInstance = isInstance && "pendingUserAvatar" in value;
26
26
  isInstance = isInstance && "siteKey" in value;
27
27
  isInstance = isInstance && "jsUrl" in value;
28
+ isInstance = isInstance && "interactive" in value;
28
29
  return isInstance;
29
30
  }
30
31
  exports.instanceOfCaptchaChallenge = instanceOfCaptchaChallenge;
@@ -44,6 +45,7 @@ function CaptchaChallengeFromJSONTyped(json, ignoreDiscriminator) {
44
45
  'pendingUserAvatar': json['pending_user_avatar'],
45
46
  'siteKey': json['site_key'],
46
47
  'jsUrl': json['js_url'],
48
+ 'interactive': json['interactive'],
47
49
  };
48
50
  }
49
51
  exports.CaptchaChallengeFromJSONTyped = CaptchaChallengeFromJSONTyped;
@@ -62,6 +64,7 @@ function CaptchaChallengeToJSON(value) {
62
64
  'pending_user_avatar': value.pendingUserAvatar,
63
65
  'site_key': value.siteKey,
64
66
  'js_url': value.jsUrl,
67
+ 'interactive': value.interactive,
65
68
  };
66
69
  }
67
70
  exports.CaptchaChallengeToJSON = CaptchaChallengeToJSON;
@@ -76,6 +76,12 @@ export interface CaptchaStage {
76
76
  * @memberof CaptchaStage
77
77
  */
78
78
  apiUrl?: string;
79
+ /**
80
+ *
81
+ * @type {boolean}
82
+ * @memberof CaptchaStage
83
+ */
84
+ interactive?: boolean;
79
85
  /**
80
86
  *
81
87
  * @type {number}
@@ -50,6 +50,7 @@ function CaptchaStageFromJSONTyped(json, ignoreDiscriminator) {
50
50
  'publicKey': json['public_key'],
51
51
  'jsUrl': !(0, runtime_1.exists)(json, 'js_url') ? undefined : json['js_url'],
52
52
  'apiUrl': !(0, runtime_1.exists)(json, 'api_url') ? undefined : json['api_url'],
53
+ 'interactive': !(0, runtime_1.exists)(json, 'interactive') ? undefined : json['interactive'],
53
54
  'scoreMinThreshold': !(0, runtime_1.exists)(json, 'score_min_threshold') ? undefined : json['score_min_threshold'],
54
55
  'scoreMaxThreshold': !(0, runtime_1.exists)(json, 'score_max_threshold') ? undefined : json['score_max_threshold'],
55
56
  'errorOnInvalidScore': !(0, runtime_1.exists)(json, 'error_on_invalid_score') ? undefined : json['error_on_invalid_score'],
@@ -69,6 +70,7 @@ function CaptchaStageToJSON(value) {
69
70
  'public_key': value.publicKey,
70
71
  'js_url': value.jsUrl,
71
72
  'api_url': value.apiUrl,
73
+ 'interactive': value.interactive,
72
74
  'score_min_threshold': value.scoreMinThreshold,
73
75
  'score_max_threshold': value.scoreMaxThreshold,
74
76
  'error_on_invalid_score': value.errorOnInvalidScore,
@@ -52,6 +52,12 @@ export interface CaptchaStageRequest {
52
52
  * @memberof CaptchaStageRequest
53
53
  */
54
54
  apiUrl?: string;
55
+ /**
56
+ *
57
+ * @type {boolean}
58
+ * @memberof CaptchaStageRequest
59
+ */
60
+ interactive?: boolean;
55
61
  /**
56
62
  *
57
63
  * @type {number}
@@ -42,6 +42,7 @@ function CaptchaStageRequestFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'privateKey': json['private_key'],
43
43
  'jsUrl': !(0, runtime_1.exists)(json, 'js_url') ? undefined : json['js_url'],
44
44
  'apiUrl': !(0, runtime_1.exists)(json, 'api_url') ? undefined : json['api_url'],
45
+ 'interactive': !(0, runtime_1.exists)(json, 'interactive') ? undefined : json['interactive'],
45
46
  'scoreMinThreshold': !(0, runtime_1.exists)(json, 'score_min_threshold') ? undefined : json['score_min_threshold'],
46
47
  'scoreMaxThreshold': !(0, runtime_1.exists)(json, 'score_max_threshold') ? undefined : json['score_max_threshold'],
47
48
  'errorOnInvalidScore': !(0, runtime_1.exists)(json, 'error_on_invalid_score') ? undefined : json['error_on_invalid_score'],
@@ -62,6 +63,7 @@ function CaptchaStageRequestToJSON(value) {
62
63
  'private_key': value.privateKey,
63
64
  'js_url': value.jsUrl,
64
65
  'api_url': value.apiUrl,
66
+ 'interactive': value.interactive,
65
67
  'score_min_threshold': value.scoreMinThreshold,
66
68
  'score_max_threshold': value.scoreMaxThreshold,
67
69
  'error_on_invalid_score': value.errorOnInvalidScore,
@@ -52,6 +52,12 @@ export interface PatchedCaptchaStageRequest {
52
52
  * @memberof PatchedCaptchaStageRequest
53
53
  */
54
54
  apiUrl?: string;
55
+ /**
56
+ *
57
+ * @type {boolean}
58
+ * @memberof PatchedCaptchaStageRequest
59
+ */
60
+ interactive?: boolean;
55
61
  /**
56
62
  *
57
63
  * @type {number}
@@ -39,6 +39,7 @@ function PatchedCaptchaStageRequestFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'privateKey': !(0, runtime_1.exists)(json, 'private_key') ? undefined : json['private_key'],
40
40
  'jsUrl': !(0, runtime_1.exists)(json, 'js_url') ? undefined : json['js_url'],
41
41
  'apiUrl': !(0, runtime_1.exists)(json, 'api_url') ? undefined : json['api_url'],
42
+ 'interactive': !(0, runtime_1.exists)(json, 'interactive') ? undefined : json['interactive'],
42
43
  'scoreMinThreshold': !(0, runtime_1.exists)(json, 'score_min_threshold') ? undefined : json['score_min_threshold'],
43
44
  'scoreMaxThreshold': !(0, runtime_1.exists)(json, 'score_max_threshold') ? undefined : json['score_max_threshold'],
44
45
  'errorOnInvalidScore': !(0, runtime_1.exists)(json, 'error_on_invalid_score') ? undefined : json['error_on_invalid_score'],
@@ -59,6 +60,7 @@ function PatchedCaptchaStageRequestToJSON(value) {
59
60
  'private_key': value.privateKey,
60
61
  'js_url': value.jsUrl,
61
62
  'api_url': value.apiUrl,
63
+ 'interactive': value.interactive,
62
64
  'score_min_threshold': value.scoreMinThreshold,
63
65
  'score_max_threshold': value.scoreMaxThreshold,
64
66
  'error_on_invalid_score': value.errorOnInvalidScore,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2024.10.1-1730834993",
3
+ "version": "2024.10.1-1731327664",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -74,6 +74,12 @@ export interface CaptchaChallenge {
74
74
  * @memberof CaptchaChallenge
75
75
  */
76
76
  jsUrl: string;
77
+ /**
78
+ *
79
+ * @type {boolean}
80
+ * @memberof CaptchaChallenge
81
+ */
82
+ interactive: boolean;
77
83
  }
78
84
 
79
85
  /**
@@ -85,6 +91,7 @@ export function instanceOfCaptchaChallenge(value: object): boolean {
85
91
  isInstance = isInstance && "pendingUserAvatar" in value;
86
92
  isInstance = isInstance && "siteKey" in value;
87
93
  isInstance = isInstance && "jsUrl" in value;
94
+ isInstance = isInstance && "interactive" in value;
88
95
 
89
96
  return isInstance;
90
97
  }
@@ -106,6 +113,7 @@ export function CaptchaChallengeFromJSONTyped(json: any, ignoreDiscriminator: bo
106
113
  'pendingUserAvatar': json['pending_user_avatar'],
107
114
  'siteKey': json['site_key'],
108
115
  'jsUrl': json['js_url'],
116
+ 'interactive': json['interactive'],
109
117
  };
110
118
  }
111
119
 
@@ -125,6 +133,7 @@ export function CaptchaChallengeToJSON(value?: CaptchaChallenge | null): any {
125
133
  'pending_user_avatar': value.pendingUserAvatar,
126
134
  'site_key': value.siteKey,
127
135
  'js_url': value.jsUrl,
136
+ 'interactive': value.interactive,
128
137
  };
129
138
  }
130
139
 
@@ -86,6 +86,12 @@ export interface CaptchaStage {
86
86
  * @memberof CaptchaStage
87
87
  */
88
88
  apiUrl?: string;
89
+ /**
90
+ *
91
+ * @type {boolean}
92
+ * @memberof CaptchaStage
93
+ */
94
+ interactive?: boolean;
89
95
  /**
90
96
  *
91
97
  * @type {number}
@@ -142,6 +148,7 @@ export function CaptchaStageFromJSONTyped(json: any, ignoreDiscriminator: boolea
142
148
  'publicKey': json['public_key'],
143
149
  'jsUrl': !exists(json, 'js_url') ? undefined : json['js_url'],
144
150
  'apiUrl': !exists(json, 'api_url') ? undefined : json['api_url'],
151
+ 'interactive': !exists(json, 'interactive') ? undefined : json['interactive'],
145
152
  'scoreMinThreshold': !exists(json, 'score_min_threshold') ? undefined : json['score_min_threshold'],
146
153
  'scoreMaxThreshold': !exists(json, 'score_max_threshold') ? undefined : json['score_max_threshold'],
147
154
  'errorOnInvalidScore': !exists(json, 'error_on_invalid_score') ? undefined : json['error_on_invalid_score'],
@@ -162,6 +169,7 @@ export function CaptchaStageToJSON(value?: CaptchaStage | null): any {
162
169
  'public_key': value.publicKey,
163
170
  'js_url': value.jsUrl,
164
171
  'api_url': value.apiUrl,
172
+ 'interactive': value.interactive,
165
173
  'score_min_threshold': value.scoreMinThreshold,
166
174
  'score_max_threshold': value.scoreMaxThreshold,
167
175
  'error_on_invalid_score': value.errorOnInvalidScore,
@@ -62,6 +62,12 @@ export interface CaptchaStageRequest {
62
62
  * @memberof CaptchaStageRequest
63
63
  */
64
64
  apiUrl?: string;
65
+ /**
66
+ *
67
+ * @type {boolean}
68
+ * @memberof CaptchaStageRequest
69
+ */
70
+ interactive?: boolean;
65
71
  /**
66
72
  *
67
73
  * @type {number}
@@ -110,6 +116,7 @@ export function CaptchaStageRequestFromJSONTyped(json: any, ignoreDiscriminator:
110
116
  'privateKey': json['private_key'],
111
117
  'jsUrl': !exists(json, 'js_url') ? undefined : json['js_url'],
112
118
  'apiUrl': !exists(json, 'api_url') ? undefined : json['api_url'],
119
+ 'interactive': !exists(json, 'interactive') ? undefined : json['interactive'],
113
120
  'scoreMinThreshold': !exists(json, 'score_min_threshold') ? undefined : json['score_min_threshold'],
114
121
  'scoreMaxThreshold': !exists(json, 'score_max_threshold') ? undefined : json['score_max_threshold'],
115
122
  'errorOnInvalidScore': !exists(json, 'error_on_invalid_score') ? undefined : json['error_on_invalid_score'],
@@ -131,6 +138,7 @@ export function CaptchaStageRequestToJSON(value?: CaptchaStageRequest | null): a
131
138
  'private_key': value.privateKey,
132
139
  'js_url': value.jsUrl,
133
140
  'api_url': value.apiUrl,
141
+ 'interactive': value.interactive,
134
142
  'score_min_threshold': value.scoreMinThreshold,
135
143
  'score_max_threshold': value.scoreMaxThreshold,
136
144
  'error_on_invalid_score': value.errorOnInvalidScore,
@@ -62,6 +62,12 @@ export interface PatchedCaptchaStageRequest {
62
62
  * @memberof PatchedCaptchaStageRequest
63
63
  */
64
64
  apiUrl?: string;
65
+ /**
66
+ *
67
+ * @type {boolean}
68
+ * @memberof PatchedCaptchaStageRequest
69
+ */
70
+ interactive?: boolean;
65
71
  /**
66
72
  *
67
73
  * @type {number}
@@ -107,6 +113,7 @@ export function PatchedCaptchaStageRequestFromJSONTyped(json: any, ignoreDiscrim
107
113
  'privateKey': !exists(json, 'private_key') ? undefined : json['private_key'],
108
114
  'jsUrl': !exists(json, 'js_url') ? undefined : json['js_url'],
109
115
  'apiUrl': !exists(json, 'api_url') ? undefined : json['api_url'],
116
+ 'interactive': !exists(json, 'interactive') ? undefined : json['interactive'],
110
117
  'scoreMinThreshold': !exists(json, 'score_min_threshold') ? undefined : json['score_min_threshold'],
111
118
  'scoreMaxThreshold': !exists(json, 'score_max_threshold') ? undefined : json['score_max_threshold'],
112
119
  'errorOnInvalidScore': !exists(json, 'error_on_invalid_score') ? undefined : json['error_on_invalid_score'],
@@ -128,6 +135,7 @@ export function PatchedCaptchaStageRequestToJSON(value?: PatchedCaptchaStageRequ
128
135
  'private_key': value.privateKey,
129
136
  'js_url': value.jsUrl,
130
137
  'api_url': value.apiUrl,
138
+ 'interactive': value.interactive,
131
139
  'score_min_threshold': value.scoreMinThreshold,
132
140
  'score_max_threshold': value.scoreMaxThreshold,
133
141
  'error_on_invalid_score': value.errorOnInvalidScore,