@goauthentik/api 2023.8.3-1696335052 → 2023.8.3-1696847703

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.
@@ -202,6 +202,7 @@ export interface ProvidersSamlListRequest {
202
202
  authenticationFlow?: string;
203
203
  authorizationFlow?: string;
204
204
  backchannelApplication?: string;
205
+ defaultRelayState?: string;
205
206
  digestAlgorithm?: ProvidersSamlListDigestAlgorithmEnum;
206
207
  isBackchannel?: boolean;
207
208
  issuer?: string;
@@ -1479,6 +1479,9 @@ class ProvidersApi extends runtime.BaseAPI {
1479
1479
  if (requestParameters.backchannelApplication !== undefined) {
1480
1480
  queryParameters['backchannel_application'] = requestParameters.backchannelApplication;
1481
1481
  }
1482
+ if (requestParameters.defaultRelayState !== undefined) {
1483
+ queryParameters['default_relay_state'] = requestParameters.defaultRelayState;
1484
+ }
1482
1485
  if (requestParameters.digestAlgorithm !== undefined) {
1483
1486
  queryParameters['digest_algorithm'] = requestParameters.digestAlgorithm;
1484
1487
  }
@@ -202,6 +202,7 @@ export interface ProvidersSamlListRequest {
202
202
  authenticationFlow?: string;
203
203
  authorizationFlow?: string;
204
204
  backchannelApplication?: string;
205
+ defaultRelayState?: string;
205
206
  digestAlgorithm?: ProvidersSamlListDigestAlgorithmEnum;
206
207
  isBackchannel?: boolean;
207
208
  issuer?: string;
@@ -1476,6 +1476,9 @@ export class ProvidersApi extends runtime.BaseAPI {
1476
1476
  if (requestParameters.backchannelApplication !== undefined) {
1477
1477
  queryParameters['backchannel_application'] = requestParameters.backchannelApplication;
1478
1478
  }
1479
+ if (requestParameters.defaultRelayState !== undefined) {
1480
+ queryParameters['default_relay_state'] = requestParameters.defaultRelayState;
1481
+ }
1479
1482
  if (requestParameters.digestAlgorithm !== undefined) {
1480
1483
  queryParameters['digest_algorithm'] = requestParameters.digestAlgorithm;
1481
1484
  }
@@ -114,6 +114,12 @@ export interface PatchedSAMLProviderRequest {
114
114
  * @memberof PatchedSAMLProviderRequest
115
115
  */
116
116
  spBinding?: SpBindingEnum;
117
+ /**
118
+ * Default relay_state value for IDP-initiated logins
119
+ * @type {string}
120
+ * @memberof PatchedSAMLProviderRequest
121
+ */
122
+ defaultRelayState?: string;
117
123
  }
118
124
  /**
119
125
  * Check if a given object implements the PatchedSAMLProviderRequest interface.
@@ -46,6 +46,7 @@ export function PatchedSAMLProviderRequestFromJSONTyped(json, ignoreDiscriminato
46
46
  'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
47
47
  'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
48
48
  'spBinding': !exists(json, 'sp_binding') ? undefined : SpBindingEnumFromJSON(json['sp_binding']),
49
+ 'defaultRelayState': !exists(json, 'default_relay_state') ? undefined : json['default_relay_state'],
49
50
  };
50
51
  }
51
52
  export function PatchedSAMLProviderRequestToJSON(value) {
@@ -72,5 +73,6 @@ export function PatchedSAMLProviderRequestToJSON(value) {
72
73
  'signing_kp': value.signingKp,
73
74
  'verification_kp': value.verificationKp,
74
75
  'sp_binding': SpBindingEnumToJSON(value.spBinding),
76
+ 'default_relay_state': value.defaultRelayState,
75
77
  };
76
78
  }
@@ -168,6 +168,12 @@ export interface SAMLProvider {
168
168
  * @memberof SAMLProvider
169
169
  */
170
170
  spBinding?: SpBindingEnum;
171
+ /**
172
+ * Default relay_state value for IDP-initiated logins
173
+ * @type {string}
174
+ * @memberof SAMLProvider
175
+ */
176
+ defaultRelayState?: string;
171
177
  /**
172
178
  * Get metadata download URL
173
179
  * @type {string}
@@ -73,6 +73,7 @@ export function SAMLProviderFromJSONTyped(json, ignoreDiscriminator) {
73
73
  'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
74
74
  'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
75
75
  'spBinding': !exists(json, 'sp_binding') ? undefined : SpBindingEnumFromJSON(json['sp_binding']),
76
+ 'defaultRelayState': !exists(json, 'default_relay_state') ? undefined : json['default_relay_state'],
76
77
  'urlDownloadMetadata': json['url_download_metadata'],
77
78
  'urlSsoPost': json['url_sso_post'],
78
79
  'urlSsoRedirect': json['url_sso_redirect'],
@@ -105,5 +106,6 @@ export function SAMLProviderToJSON(value) {
105
106
  'signing_kp': value.signingKp,
106
107
  'verification_kp': value.verificationKp,
107
108
  'sp_binding': SpBindingEnumToJSON(value.spBinding),
109
+ 'default_relay_state': value.defaultRelayState,
108
110
  };
109
111
  }
@@ -114,6 +114,12 @@ export interface SAMLProviderRequest {
114
114
  * @memberof SAMLProviderRequest
115
115
  */
116
116
  spBinding?: SpBindingEnum;
117
+ /**
118
+ * Default relay_state value for IDP-initiated logins
119
+ * @type {string}
120
+ * @memberof SAMLProviderRequest
121
+ */
122
+ defaultRelayState?: string;
117
123
  }
118
124
  /**
119
125
  * Check if a given object implements the SAMLProviderRequest interface.
@@ -49,6 +49,7 @@ export function SAMLProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
49
49
  'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
50
50
  'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
51
51
  'spBinding': !exists(json, 'sp_binding') ? undefined : SpBindingEnumFromJSON(json['sp_binding']),
52
+ 'defaultRelayState': !exists(json, 'default_relay_state') ? undefined : json['default_relay_state'],
52
53
  };
53
54
  }
54
55
  export function SAMLProviderRequestToJSON(value) {
@@ -75,5 +76,6 @@ export function SAMLProviderRequestToJSON(value) {
75
76
  'signing_kp': value.signingKp,
76
77
  'verification_kp': value.verificationKp,
77
78
  'sp_binding': SpBindingEnumToJSON(value.spBinding),
79
+ 'default_relay_state': value.defaultRelayState,
78
80
  };
79
81
  }
@@ -103,6 +103,12 @@ export interface User {
103
103
  * @memberof User
104
104
  */
105
105
  type?: UserTypeEnum;
106
+ /**
107
+ *
108
+ * @type {string}
109
+ * @memberof User
110
+ */
111
+ readonly uuid: string;
106
112
  }
107
113
  /**
108
114
  * Check if a given object implements the User interface.
@@ -26,6 +26,7 @@ export function instanceOfUser(value) {
26
26
  isInstance = isInstance && "groupsObj" in value;
27
27
  isInstance = isInstance && "avatar" in value;
28
28
  isInstance = isInstance && "uid" in value;
29
+ isInstance = isInstance && "uuid" in value;
29
30
  return isInstance;
30
31
  }
31
32
  export function UserFromJSON(json) {
@@ -50,6 +51,7 @@ export function UserFromJSONTyped(json, ignoreDiscriminator) {
50
51
  'uid': json['uid'],
51
52
  'path': !exists(json, 'path') ? undefined : json['path'],
52
53
  'type': !exists(json, 'type') ? undefined : UserTypeEnumFromJSON(json['type']),
54
+ 'uuid': json['uuid'],
53
55
  };
54
56
  }
55
57
  export function UserToJSON(value) {
@@ -114,6 +114,12 @@ export interface PatchedSAMLProviderRequest {
114
114
  * @memberof PatchedSAMLProviderRequest
115
115
  */
116
116
  spBinding?: SpBindingEnum;
117
+ /**
118
+ * Default relay_state value for IDP-initiated logins
119
+ * @type {string}
120
+ * @memberof PatchedSAMLProviderRequest
121
+ */
122
+ defaultRelayState?: string;
117
123
  }
118
124
  /**
119
125
  * Check if a given object implements the PatchedSAMLProviderRequest interface.
@@ -51,6 +51,7 @@ function PatchedSAMLProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
51
51
  'signingKp': !(0, runtime_1.exists)(json, 'signing_kp') ? undefined : json['signing_kp'],
52
52
  'verificationKp': !(0, runtime_1.exists)(json, 'verification_kp') ? undefined : json['verification_kp'],
53
53
  'spBinding': !(0, runtime_1.exists)(json, 'sp_binding') ? undefined : (0, SpBindingEnum_1.SpBindingEnumFromJSON)(json['sp_binding']),
54
+ 'defaultRelayState': !(0, runtime_1.exists)(json, 'default_relay_state') ? undefined : json['default_relay_state'],
54
55
  };
55
56
  }
56
57
  exports.PatchedSAMLProviderRequestFromJSONTyped = PatchedSAMLProviderRequestFromJSONTyped;
@@ -78,6 +79,7 @@ function PatchedSAMLProviderRequestToJSON(value) {
78
79
  'signing_kp': value.signingKp,
79
80
  'verification_kp': value.verificationKp,
80
81
  'sp_binding': (0, SpBindingEnum_1.SpBindingEnumToJSON)(value.spBinding),
82
+ 'default_relay_state': value.defaultRelayState,
81
83
  };
82
84
  }
83
85
  exports.PatchedSAMLProviderRequestToJSON = PatchedSAMLProviderRequestToJSON;
@@ -168,6 +168,12 @@ export interface SAMLProvider {
168
168
  * @memberof SAMLProvider
169
169
  */
170
170
  spBinding?: SpBindingEnum;
171
+ /**
172
+ * Default relay_state value for IDP-initiated logins
173
+ * @type {string}
174
+ * @memberof SAMLProvider
175
+ */
176
+ defaultRelayState?: string;
171
177
  /**
172
178
  * Get metadata download URL
173
179
  * @type {string}
@@ -78,6 +78,7 @@ function SAMLProviderFromJSONTyped(json, ignoreDiscriminator) {
78
78
  'signingKp': !(0, runtime_1.exists)(json, 'signing_kp') ? undefined : json['signing_kp'],
79
79
  'verificationKp': !(0, runtime_1.exists)(json, 'verification_kp') ? undefined : json['verification_kp'],
80
80
  'spBinding': !(0, runtime_1.exists)(json, 'sp_binding') ? undefined : (0, SpBindingEnum_1.SpBindingEnumFromJSON)(json['sp_binding']),
81
+ 'defaultRelayState': !(0, runtime_1.exists)(json, 'default_relay_state') ? undefined : json['default_relay_state'],
81
82
  'urlDownloadMetadata': json['url_download_metadata'],
82
83
  'urlSsoPost': json['url_sso_post'],
83
84
  'urlSsoRedirect': json['url_sso_redirect'],
@@ -111,6 +112,7 @@ function SAMLProviderToJSON(value) {
111
112
  'signing_kp': value.signingKp,
112
113
  'verification_kp': value.verificationKp,
113
114
  'sp_binding': (0, SpBindingEnum_1.SpBindingEnumToJSON)(value.spBinding),
115
+ 'default_relay_state': value.defaultRelayState,
114
116
  };
115
117
  }
116
118
  exports.SAMLProviderToJSON = SAMLProviderToJSON;
@@ -114,6 +114,12 @@ export interface SAMLProviderRequest {
114
114
  * @memberof SAMLProviderRequest
115
115
  */
116
116
  spBinding?: SpBindingEnum;
117
+ /**
118
+ * Default relay_state value for IDP-initiated logins
119
+ * @type {string}
120
+ * @memberof SAMLProviderRequest
121
+ */
122
+ defaultRelayState?: string;
117
123
  }
118
124
  /**
119
125
  * Check if a given object implements the SAMLProviderRequest interface.
@@ -54,6 +54,7 @@ function SAMLProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
54
54
  'signingKp': !(0, runtime_1.exists)(json, 'signing_kp') ? undefined : json['signing_kp'],
55
55
  'verificationKp': !(0, runtime_1.exists)(json, 'verification_kp') ? undefined : json['verification_kp'],
56
56
  'spBinding': !(0, runtime_1.exists)(json, 'sp_binding') ? undefined : (0, SpBindingEnum_1.SpBindingEnumFromJSON)(json['sp_binding']),
57
+ 'defaultRelayState': !(0, runtime_1.exists)(json, 'default_relay_state') ? undefined : json['default_relay_state'],
57
58
  };
58
59
  }
59
60
  exports.SAMLProviderRequestFromJSONTyped = SAMLProviderRequestFromJSONTyped;
@@ -81,6 +82,7 @@ function SAMLProviderRequestToJSON(value) {
81
82
  'signing_kp': value.signingKp,
82
83
  'verification_kp': value.verificationKp,
83
84
  'sp_binding': (0, SpBindingEnum_1.SpBindingEnumToJSON)(value.spBinding),
85
+ 'default_relay_state': value.defaultRelayState,
84
86
  };
85
87
  }
86
88
  exports.SAMLProviderRequestToJSON = SAMLProviderRequestToJSON;
@@ -103,6 +103,12 @@ export interface User {
103
103
  * @memberof User
104
104
  */
105
105
  type?: UserTypeEnum;
106
+ /**
107
+ *
108
+ * @type {string}
109
+ * @memberof User
110
+ */
111
+ readonly uuid: string;
106
112
  }
107
113
  /**
108
114
  * Check if a given object implements the User interface.
@@ -29,6 +29,7 @@ function instanceOfUser(value) {
29
29
  isInstance = isInstance && "groupsObj" in value;
30
30
  isInstance = isInstance && "avatar" in value;
31
31
  isInstance = isInstance && "uid" in value;
32
+ isInstance = isInstance && "uuid" in value;
32
33
  return isInstance;
33
34
  }
34
35
  exports.instanceOfUser = instanceOfUser;
@@ -55,6 +56,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
55
56
  'uid': json['uid'],
56
57
  'path': !(0, runtime_1.exists)(json, 'path') ? undefined : json['path'],
57
58
  'type': !(0, runtime_1.exists)(json, 'type') ? undefined : (0, UserTypeEnum_1.UserTypeEnumFromJSON)(json['type']),
59
+ 'uuid': json['uuid'],
58
60
  };
59
61
  }
60
62
  exports.UserFromJSONTyped = UserFromJSONTyped;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2023.8.3-1696335052",
3
+ "version": "2023.8.3-1696847703",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -349,6 +349,7 @@ export interface ProvidersSamlListRequest {
349
349
  authenticationFlow?: string;
350
350
  authorizationFlow?: string;
351
351
  backchannelApplication?: string;
352
+ defaultRelayState?: string;
352
353
  digestAlgorithm?: ProvidersSamlListDigestAlgorithmEnum;
353
354
  isBackchannel?: boolean;
354
355
  issuer?: string;
@@ -2095,6 +2096,10 @@ export class ProvidersApi extends runtime.BaseAPI {
2095
2096
  queryParameters['backchannel_application'] = requestParameters.backchannelApplication;
2096
2097
  }
2097
2098
 
2099
+ if (requestParameters.defaultRelayState !== undefined) {
2100
+ queryParameters['default_relay_state'] = requestParameters.defaultRelayState;
2101
+ }
2102
+
2098
2103
  if (requestParameters.digestAlgorithm !== undefined) {
2099
2104
  queryParameters['digest_algorithm'] = requestParameters.digestAlgorithm;
2100
2105
  }
@@ -134,6 +134,12 @@ export interface PatchedSAMLProviderRequest {
134
134
  * @memberof PatchedSAMLProviderRequest
135
135
  */
136
136
  spBinding?: SpBindingEnum;
137
+ /**
138
+ * Default relay_state value for IDP-initiated logins
139
+ * @type {string}
140
+ * @memberof PatchedSAMLProviderRequest
141
+ */
142
+ defaultRelayState?: string;
137
143
  }
138
144
 
139
145
  /**
@@ -171,6 +177,7 @@ export function PatchedSAMLProviderRequestFromJSONTyped(json: any, ignoreDiscrim
171
177
  'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
172
178
  'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
173
179
  'spBinding': !exists(json, 'sp_binding') ? undefined : SpBindingEnumFromJSON(json['sp_binding']),
180
+ 'defaultRelayState': !exists(json, 'default_relay_state') ? undefined : json['default_relay_state'],
174
181
  };
175
182
  }
176
183
 
@@ -199,6 +206,7 @@ export function PatchedSAMLProviderRequestToJSON(value?: PatchedSAMLProviderRequ
199
206
  'signing_kp': value.signingKp,
200
207
  'verification_kp': value.verificationKp,
201
208
  'sp_binding': SpBindingEnumToJSON(value.spBinding),
209
+ 'default_relay_state': value.defaultRelayState,
202
210
  };
203
211
  }
204
212
 
@@ -188,6 +188,12 @@ export interface SAMLProvider {
188
188
  * @memberof SAMLProvider
189
189
  */
190
190
  spBinding?: SpBindingEnum;
191
+ /**
192
+ * Default relay_state value for IDP-initiated logins
193
+ * @type {string}
194
+ * @memberof SAMLProvider
195
+ */
196
+ defaultRelayState?: string;
191
197
  /**
192
198
  * Get metadata download URL
193
199
  * @type {string}
@@ -288,6 +294,7 @@ export function SAMLProviderFromJSONTyped(json: any, ignoreDiscriminator: boolea
288
294
  'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
289
295
  'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
290
296
  'spBinding': !exists(json, 'sp_binding') ? undefined : SpBindingEnumFromJSON(json['sp_binding']),
297
+ 'defaultRelayState': !exists(json, 'default_relay_state') ? undefined : json['default_relay_state'],
291
298
  'urlDownloadMetadata': json['url_download_metadata'],
292
299
  'urlSsoPost': json['url_sso_post'],
293
300
  'urlSsoRedirect': json['url_sso_redirect'],
@@ -322,6 +329,7 @@ export function SAMLProviderToJSON(value?: SAMLProvider | null): any {
322
329
  'signing_kp': value.signingKp,
323
330
  'verification_kp': value.verificationKp,
324
331
  'sp_binding': SpBindingEnumToJSON(value.spBinding),
332
+ 'default_relay_state': value.defaultRelayState,
325
333
  };
326
334
  }
327
335
 
@@ -134,6 +134,12 @@ export interface SAMLProviderRequest {
134
134
  * @memberof SAMLProviderRequest
135
135
  */
136
136
  spBinding?: SpBindingEnum;
137
+ /**
138
+ * Default relay_state value for IDP-initiated logins
139
+ * @type {string}
140
+ * @memberof SAMLProviderRequest
141
+ */
142
+ defaultRelayState?: string;
137
143
  }
138
144
 
139
145
  /**
@@ -174,6 +180,7 @@ export function SAMLProviderRequestFromJSONTyped(json: any, ignoreDiscriminator:
174
180
  'signingKp': !exists(json, 'signing_kp') ? undefined : json['signing_kp'],
175
181
  'verificationKp': !exists(json, 'verification_kp') ? undefined : json['verification_kp'],
176
182
  'spBinding': !exists(json, 'sp_binding') ? undefined : SpBindingEnumFromJSON(json['sp_binding']),
183
+ 'defaultRelayState': !exists(json, 'default_relay_state') ? undefined : json['default_relay_state'],
177
184
  };
178
185
  }
179
186
 
@@ -202,6 +209,7 @@ export function SAMLProviderRequestToJSON(value?: SAMLProviderRequest | null): a
202
209
  'signing_kp': value.signingKp,
203
210
  'verification_kp': value.verificationKp,
204
211
  'sp_binding': SpBindingEnumToJSON(value.spBinding),
212
+ 'default_relay_state': value.defaultRelayState,
205
213
  };
206
214
  }
207
215
 
@@ -116,6 +116,12 @@ export interface User {
116
116
  * @memberof User
117
117
  */
118
118
  type?: UserTypeEnum;
119
+ /**
120
+ *
121
+ * @type {string}
122
+ * @memberof User
123
+ */
124
+ readonly uuid: string;
119
125
  }
120
126
 
121
127
  /**
@@ -130,6 +136,7 @@ export function instanceOfUser(value: object): boolean {
130
136
  isInstance = isInstance && "groupsObj" in value;
131
137
  isInstance = isInstance && "avatar" in value;
132
138
  isInstance = isInstance && "uid" in value;
139
+ isInstance = isInstance && "uuid" in value;
133
140
 
134
141
  return isInstance;
135
142
  }
@@ -158,6 +165,7 @@ export function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User
158
165
  'uid': json['uid'],
159
166
  'path': !exists(json, 'path') ? undefined : json['path'],
160
167
  'type': !exists(json, 'type') ? undefined : UserTypeEnumFromJSON(json['type']),
168
+ 'uuid': json['uuid'],
161
169
  };
162
170
  }
163
171