@goauthentik/api 2024.10.2-1732196831 → 2024.10.2-1732206118

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.
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { ProxyMode } from './ProxyMode';
13
+ import type { RedirectURI } from './RedirectURI';
13
14
  /**
14
15
  * ProxyProvider Serializer
15
16
  * @export
@@ -168,10 +169,10 @@ export interface ProxyProvider {
168
169
  interceptHeaderAuth?: boolean;
169
170
  /**
170
171
  *
171
- * @type {string}
172
+ * @type {Array<RedirectURI>}
172
173
  * @memberof ProxyProvider
173
174
  */
174
- readonly redirectUris: string;
175
+ readonly redirectUris: Array<RedirectURI>;
175
176
  /**
176
177
  *
177
178
  * @type {string}
@@ -13,6 +13,7 @@
13
13
  */
14
14
  import { exists } from '../runtime';
15
15
  import { ProxyModeFromJSON, ProxyModeToJSON, } from './ProxyMode';
16
+ import { RedirectURIFromJSON, } from './RedirectURI';
16
17
  /**
17
18
  * Check if a given object implements the ProxyProvider interface.
18
19
  */
@@ -69,7 +70,7 @@ export function ProxyProviderFromJSONTyped(json, ignoreDiscriminator) {
69
70
  'basicAuthUserAttribute': !exists(json, 'basic_auth_user_attribute') ? undefined : json['basic_auth_user_attribute'],
70
71
  'mode': !exists(json, 'mode') ? undefined : ProxyModeFromJSON(json['mode']),
71
72
  'interceptHeaderAuth': !exists(json, 'intercept_header_auth') ? undefined : json['intercept_header_auth'],
72
- 'redirectUris': json['redirect_uris'],
73
+ 'redirectUris': (json['redirect_uris'].map(RedirectURIFromJSON)),
73
74
  'cookieDomain': !exists(json, 'cookie_domain') ? undefined : json['cookie_domain'],
74
75
  'jwksSources': !exists(json, 'jwks_sources') ? undefined : json['jwks_sources'],
75
76
  'accessTokenValidity': !exists(json, 'access_token_validity') ? undefined : json['access_token_validity'],
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { ProxyMode } from './ProxyMode';
13
+ import type { RedirectURI } from './RedirectURI';
13
14
  /**
14
15
  * ProxyProvider Serializer
15
16
  * @export
@@ -168,10 +169,10 @@ export interface ProxyProvider {
168
169
  interceptHeaderAuth?: boolean;
169
170
  /**
170
171
  *
171
- * @type {string}
172
+ * @type {Array<RedirectURI>}
172
173
  * @memberof ProxyProvider
173
174
  */
174
- readonly redirectUris: string;
175
+ readonly redirectUris: Array<RedirectURI>;
175
176
  /**
176
177
  *
177
178
  * @type {string}
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ProxyProviderToJSON = exports.ProxyProviderFromJSONTyped = exports.ProxyProviderFromJSON = exports.instanceOfProxyProvider = void 0;
17
17
  const runtime_1 = require("../runtime");
18
18
  const ProxyMode_1 = require("./ProxyMode");
19
+ const RedirectURI_1 = require("./RedirectURI");
19
20
  /**
20
21
  * Check if a given object implements the ProxyProvider interface.
21
22
  */
@@ -74,7 +75,7 @@ function ProxyProviderFromJSONTyped(json, ignoreDiscriminator) {
74
75
  'basicAuthUserAttribute': !(0, runtime_1.exists)(json, 'basic_auth_user_attribute') ? undefined : json['basic_auth_user_attribute'],
75
76
  'mode': !(0, runtime_1.exists)(json, 'mode') ? undefined : (0, ProxyMode_1.ProxyModeFromJSON)(json['mode']),
76
77
  'interceptHeaderAuth': !(0, runtime_1.exists)(json, 'intercept_header_auth') ? undefined : json['intercept_header_auth'],
77
- 'redirectUris': json['redirect_uris'],
78
+ 'redirectUris': (json['redirect_uris'].map(RedirectURI_1.RedirectURIFromJSON)),
78
79
  'cookieDomain': !(0, runtime_1.exists)(json, 'cookie_domain') ? undefined : json['cookie_domain'],
79
80
  'jwksSources': !(0, runtime_1.exists)(json, 'jwks_sources') ? undefined : json['jwks_sources'],
80
81
  'accessTokenValidity': !(0, runtime_1.exists)(json, 'access_token_validity') ? undefined : json['access_token_validity'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2024.10.2-1732196831",
3
+ "version": "2024.10.2-1732206118",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -19,6 +19,12 @@ import {
19
19
  ProxyModeFromJSONTyped,
20
20
  ProxyModeToJSON,
21
21
  } from './ProxyMode';
22
+ import type { RedirectURI } from './RedirectURI';
23
+ import {
24
+ RedirectURIFromJSON,
25
+ RedirectURIFromJSONTyped,
26
+ RedirectURIToJSON,
27
+ } from './RedirectURI';
22
28
 
23
29
  /**
24
30
  * ProxyProvider Serializer
@@ -178,10 +184,10 @@ export interface ProxyProvider {
178
184
  interceptHeaderAuth?: boolean;
179
185
  /**
180
186
  *
181
- * @type {string}
187
+ * @type {Array<RedirectURI>}
182
188
  * @memberof ProxyProvider
183
189
  */
184
- readonly redirectUris: string;
190
+ readonly redirectUris: Array<RedirectURI>;
185
191
  /**
186
192
  *
187
193
  * @type {string}
@@ -274,7 +280,7 @@ export function ProxyProviderFromJSONTyped(json: any, ignoreDiscriminator: boole
274
280
  'basicAuthUserAttribute': !exists(json, 'basic_auth_user_attribute') ? undefined : json['basic_auth_user_attribute'],
275
281
  'mode': !exists(json, 'mode') ? undefined : ProxyModeFromJSON(json['mode']),
276
282
  'interceptHeaderAuth': !exists(json, 'intercept_header_auth') ? undefined : json['intercept_header_auth'],
277
- 'redirectUris': json['redirect_uris'],
283
+ 'redirectUris': ((json['redirect_uris'] as Array<any>).map(RedirectURIFromJSON)),
278
284
  'cookieDomain': !exists(json, 'cookie_domain') ? undefined : json['cookie_domain'],
279
285
  'jwksSources': !exists(json, 'jwks_sources') ? undefined : json['jwks_sources'],
280
286
  'accessTokenValidity': !exists(json, 'access_token_validity') ? undefined : json['access_token_validity'],