@goauthentik/api 2024.4.2-1716209237 → 2024.4.2-1716338508

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 (48) hide show
  1. package/dist/apis/OutpostsApi.d.ts +2 -2
  2. package/dist/apis/OutpostsApi.js +2 -2
  3. package/dist/apis/PoliciesApi.d.ts +2 -2
  4. package/dist/apis/PoliciesApi.js +2 -2
  5. package/dist/apis/PropertymappingsApi.d.ts +2 -2
  6. package/dist/apis/PropertymappingsApi.js +2 -2
  7. package/dist/apis/ProvidersApi.d.ts +2 -2
  8. package/dist/apis/ProvidersApi.js +2 -2
  9. package/dist/apis/SourcesApi.d.ts +2 -2
  10. package/dist/apis/SourcesApi.js +2 -2
  11. package/dist/apis/StagesApi.d.ts +2 -2
  12. package/dist/apis/StagesApi.js +2 -2
  13. package/dist/esm/apis/OutpostsApi.d.ts +2 -2
  14. package/dist/esm/apis/OutpostsApi.js +2 -2
  15. package/dist/esm/apis/PoliciesApi.d.ts +2 -2
  16. package/dist/esm/apis/PoliciesApi.js +2 -2
  17. package/dist/esm/apis/PropertymappingsApi.d.ts +2 -2
  18. package/dist/esm/apis/PropertymappingsApi.js +2 -2
  19. package/dist/esm/apis/ProvidersApi.d.ts +2 -2
  20. package/dist/esm/apis/ProvidersApi.js +2 -2
  21. package/dist/esm/apis/SourcesApi.d.ts +2 -2
  22. package/dist/esm/apis/SourcesApi.js +2 -2
  23. package/dist/esm/apis/StagesApi.d.ts +2 -2
  24. package/dist/esm/apis/StagesApi.js +2 -2
  25. package/dist/esm/models/LDAPSource.d.ts +2 -3
  26. package/dist/esm/models/OAuthSource.d.ts +1 -2
  27. package/dist/esm/models/PlexSource.d.ts +2 -3
  28. package/dist/esm/models/SAMLSource.d.ts +2 -3
  29. package/dist/esm/models/TypeCreate.d.ts +6 -0
  30. package/dist/esm/models/TypeCreate.js +2 -0
  31. package/dist/models/LDAPSource.d.ts +2 -3
  32. package/dist/models/OAuthSource.d.ts +1 -2
  33. package/dist/models/PlexSource.d.ts +2 -3
  34. package/dist/models/SAMLSource.d.ts +2 -3
  35. package/dist/models/TypeCreate.d.ts +6 -0
  36. package/dist/models/TypeCreate.js +2 -0
  37. package/package.json +1 -1
  38. package/src/apis/OutpostsApi.ts +2 -2
  39. package/src/apis/PoliciesApi.ts +2 -2
  40. package/src/apis/PropertymappingsApi.ts +2 -2
  41. package/src/apis/ProvidersApi.ts +2 -2
  42. package/src/apis/SourcesApi.ts +2 -2
  43. package/src/apis/StagesApi.ts +2 -2
  44. package/src/models/LDAPSource.ts +2 -3
  45. package/src/models/OAuthSource.ts +1 -2
  46. package/src/models/PlexSource.ts +2 -3
  47. package/src/models/SAMLSource.ts +2 -3
  48. package/src/models/TypeCreate.ts +8 -0
@@ -323,11 +323,11 @@ export declare class OutpostsApi extends runtime.BaseAPI {
323
323
  */
324
324
  outpostsServiceConnectionsAllStateRetrieve(requestParameters: OutpostsServiceConnectionsAllStateRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ServiceConnectionState>;
325
325
  /**
326
- * Get all creatable service connection types
326
+ * Get all creatable types
327
327
  */
328
328
  outpostsServiceConnectionsAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>>;
329
329
  /**
330
- * Get all creatable service connection types
330
+ * Get all creatable types
331
331
  */
332
332
  outpostsServiceConnectionsAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>>;
333
333
  /**
@@ -810,7 +810,7 @@ class OutpostsApi extends runtime.BaseAPI {
810
810
  });
811
811
  }
812
812
  /**
813
- * Get all creatable service connection types
813
+ * Get all creatable types
814
814
  */
815
815
  outpostsServiceConnectionsAllTypesListRaw(initOverrides) {
816
816
  return __awaiter(this, void 0, void 0, function* () {
@@ -833,7 +833,7 @@ class OutpostsApi extends runtime.BaseAPI {
833
833
  });
834
834
  }
835
835
  /**
836
- * Get all creatable service connection types
836
+ * Get all creatable types
837
837
  */
838
838
  outpostsServiceConnectionsAllTypesList(initOverrides) {
839
839
  return __awaiter(this, void 0, void 0, function* () {
@@ -348,11 +348,11 @@ export declare class PoliciesApi extends runtime.BaseAPI {
348
348
  */
349
349
  policiesAllTestCreate(requestParameters: PoliciesAllTestCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PolicyTestResult>;
350
350
  /**
351
- * Get all creatable policy types
351
+ * Get all creatable types
352
352
  */
353
353
  policiesAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>>;
354
354
  /**
355
- * Get all creatable policy types
355
+ * Get all creatable types
356
356
  */
357
357
  policiesAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>>;
358
358
  /**
@@ -252,7 +252,7 @@ class PoliciesApi extends runtime.BaseAPI {
252
252
  });
253
253
  }
254
254
  /**
255
- * Get all creatable policy types
255
+ * Get all creatable types
256
256
  */
257
257
  policiesAllTypesListRaw(initOverrides) {
258
258
  return __awaiter(this, void 0, void 0, function* () {
@@ -275,7 +275,7 @@ class PoliciesApi extends runtime.BaseAPI {
275
275
  });
276
276
  }
277
277
  /**
278
- * Get all creatable policy types
278
+ * Get all creatable types
279
279
  */
280
280
  policiesAllTypesList(initOverrides) {
281
281
  return __awaiter(this, void 0, void 0, function* () {
@@ -306,11 +306,11 @@ export declare class PropertymappingsApi extends runtime.BaseAPI {
306
306
  */
307
307
  propertymappingsAllTestCreate(requestParameters: PropertymappingsAllTestCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PropertyMappingTestResult>;
308
308
  /**
309
- * Get all creatable property-mapping types
309
+ * Get all creatable types
310
310
  */
311
311
  propertymappingsAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>>;
312
312
  /**
313
- * Get all creatable property-mapping types
313
+ * Get all creatable types
314
314
  */
315
315
  propertymappingsAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>>;
316
316
  /**
@@ -189,7 +189,7 @@ class PropertymappingsApi extends runtime.BaseAPI {
189
189
  });
190
190
  }
191
191
  /**
192
- * Get all creatable property-mapping types
192
+ * Get all creatable types
193
193
  */
194
194
  propertymappingsAllTypesListRaw(initOverrides) {
195
195
  return __awaiter(this, void 0, void 0, function* () {
@@ -212,7 +212,7 @@ class PropertymappingsApi extends runtime.BaseAPI {
212
212
  });
213
213
  }
214
214
  /**
215
- * Get all creatable property-mapping types
215
+ * Get all creatable types
216
216
  */
217
217
  propertymappingsAllTypesList(initOverrides) {
218
218
  return __awaiter(this, void 0, void 0, function* () {
@@ -514,11 +514,11 @@ export declare class ProvidersApi extends runtime.BaseAPI {
514
514
  */
515
515
  providersAllRetrieve(requestParameters: ProvidersAllRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Provider>;
516
516
  /**
517
- * Get all creatable provider types
517
+ * Get all creatable types
518
518
  */
519
519
  providersAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>>;
520
520
  /**
521
- * Get all creatable provider types
521
+ * Get all creatable types
522
522
  */
523
523
  providersAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>>;
524
524
  /**
@@ -149,7 +149,7 @@ class ProvidersApi extends runtime.BaseAPI {
149
149
  });
150
150
  }
151
151
  /**
152
- * Get all creatable provider types
152
+ * Get all creatable types
153
153
  */
154
154
  providersAllTypesListRaw(initOverrides) {
155
155
  return __awaiter(this, void 0, void 0, function* () {
@@ -172,7 +172,7 @@ class ProvidersApi extends runtime.BaseAPI {
172
172
  });
173
173
  }
174
174
  /**
175
- * Get all creatable provider types
175
+ * Get all creatable types
176
176
  */
177
177
  providersAllTypesList(initOverrides) {
178
178
  return __awaiter(this, void 0, void 0, function* () {
@@ -463,11 +463,11 @@ export declare class SourcesApi extends runtime.BaseAPI {
463
463
  */
464
464
  sourcesAllSetIconUrlCreate(requestParameters: SourcesAllSetIconUrlCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
465
465
  /**
466
- * Get all creatable source types
466
+ * Get all creatable types
467
467
  */
468
468
  sourcesAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>>;
469
469
  /**
470
- * Get all creatable source types
470
+ * Get all creatable types
471
471
  */
472
472
  sourcesAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>>;
473
473
  /**
@@ -247,7 +247,7 @@ class SourcesApi extends runtime.BaseAPI {
247
247
  });
248
248
  }
249
249
  /**
250
- * Get all creatable source types
250
+ * Get all creatable types
251
251
  */
252
252
  sourcesAllTypesListRaw(initOverrides) {
253
253
  return __awaiter(this, void 0, void 0, function* () {
@@ -270,7 +270,7 @@ class SourcesApi extends runtime.BaseAPI {
270
270
  });
271
271
  }
272
272
  /**
273
- * Get all creatable source types
273
+ * Get all creatable types
274
274
  */
275
275
  sourcesAllTypesList(initOverrides) {
276
276
  return __awaiter(this, void 0, void 0, function* () {
@@ -766,11 +766,11 @@ export declare class StagesApi extends runtime.BaseAPI {
766
766
  */
767
767
  stagesAllRetrieve(requestParameters: StagesAllRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Stage>;
768
768
  /**
769
- * Get all creatable stage types
769
+ * Get all creatable types
770
770
  */
771
771
  stagesAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>>;
772
772
  /**
773
- * Get all creatable stage types
773
+ * Get all creatable types
774
774
  */
775
775
  stagesAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>>;
776
776
  /**
@@ -146,7 +146,7 @@ class StagesApi extends runtime.BaseAPI {
146
146
  });
147
147
  }
148
148
  /**
149
- * Get all creatable stage types
149
+ * Get all creatable types
150
150
  */
151
151
  stagesAllTypesListRaw(initOverrides) {
152
152
  return __awaiter(this, void 0, void 0, function* () {
@@ -169,7 +169,7 @@ class StagesApi extends runtime.BaseAPI {
169
169
  });
170
170
  }
171
171
  /**
172
- * Get all creatable stage types
172
+ * Get all creatable types
173
173
  */
174
174
  stagesAllTypesList(initOverrides) {
175
175
  return __awaiter(this, void 0, void 0, function* () {
@@ -323,11 +323,11 @@ export declare class OutpostsApi extends runtime.BaseAPI {
323
323
  */
324
324
  outpostsServiceConnectionsAllStateRetrieve(requestParameters: OutpostsServiceConnectionsAllStateRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ServiceConnectionState>;
325
325
  /**
326
- * Get all creatable service connection types
326
+ * Get all creatable types
327
327
  */
328
328
  outpostsServiceConnectionsAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>>;
329
329
  /**
330
- * Get all creatable service connection types
330
+ * Get all creatable types
331
331
  */
332
332
  outpostsServiceConnectionsAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>>;
333
333
  /**
@@ -807,7 +807,7 @@ export class OutpostsApi extends runtime.BaseAPI {
807
807
  });
808
808
  }
809
809
  /**
810
- * Get all creatable service connection types
810
+ * Get all creatable types
811
811
  */
812
812
  outpostsServiceConnectionsAllTypesListRaw(initOverrides) {
813
813
  return __awaiter(this, void 0, void 0, function* () {
@@ -830,7 +830,7 @@ export class OutpostsApi extends runtime.BaseAPI {
830
830
  });
831
831
  }
832
832
  /**
833
- * Get all creatable service connection types
833
+ * Get all creatable types
834
834
  */
835
835
  outpostsServiceConnectionsAllTypesList(initOverrides) {
836
836
  return __awaiter(this, void 0, void 0, function* () {
@@ -348,11 +348,11 @@ export declare class PoliciesApi extends runtime.BaseAPI {
348
348
  */
349
349
  policiesAllTestCreate(requestParameters: PoliciesAllTestCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PolicyTestResult>;
350
350
  /**
351
- * Get all creatable policy types
351
+ * Get all creatable types
352
352
  */
353
353
  policiesAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>>;
354
354
  /**
355
- * Get all creatable policy types
355
+ * Get all creatable types
356
356
  */
357
357
  policiesAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>>;
358
358
  /**
@@ -249,7 +249,7 @@ export class PoliciesApi extends runtime.BaseAPI {
249
249
  });
250
250
  }
251
251
  /**
252
- * Get all creatable policy types
252
+ * Get all creatable types
253
253
  */
254
254
  policiesAllTypesListRaw(initOverrides) {
255
255
  return __awaiter(this, void 0, void 0, function* () {
@@ -272,7 +272,7 @@ export class PoliciesApi extends runtime.BaseAPI {
272
272
  });
273
273
  }
274
274
  /**
275
- * Get all creatable policy types
275
+ * Get all creatable types
276
276
  */
277
277
  policiesAllTypesList(initOverrides) {
278
278
  return __awaiter(this, void 0, void 0, function* () {
@@ -306,11 +306,11 @@ export declare class PropertymappingsApi extends runtime.BaseAPI {
306
306
  */
307
307
  propertymappingsAllTestCreate(requestParameters: PropertymappingsAllTestCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PropertyMappingTestResult>;
308
308
  /**
309
- * Get all creatable property-mapping types
309
+ * Get all creatable types
310
310
  */
311
311
  propertymappingsAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>>;
312
312
  /**
313
- * Get all creatable property-mapping types
313
+ * Get all creatable types
314
314
  */
315
315
  propertymappingsAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>>;
316
316
  /**
@@ -186,7 +186,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
186
186
  });
187
187
  }
188
188
  /**
189
- * Get all creatable property-mapping types
189
+ * Get all creatable types
190
190
  */
191
191
  propertymappingsAllTypesListRaw(initOverrides) {
192
192
  return __awaiter(this, void 0, void 0, function* () {
@@ -209,7 +209,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
209
209
  });
210
210
  }
211
211
  /**
212
- * Get all creatable property-mapping types
212
+ * Get all creatable types
213
213
  */
214
214
  propertymappingsAllTypesList(initOverrides) {
215
215
  return __awaiter(this, void 0, void 0, function* () {
@@ -514,11 +514,11 @@ export declare class ProvidersApi extends runtime.BaseAPI {
514
514
  */
515
515
  providersAllRetrieve(requestParameters: ProvidersAllRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Provider>;
516
516
  /**
517
- * Get all creatable provider types
517
+ * Get all creatable types
518
518
  */
519
519
  providersAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>>;
520
520
  /**
521
- * Get all creatable provider types
521
+ * Get all creatable types
522
522
  */
523
523
  providersAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>>;
524
524
  /**
@@ -146,7 +146,7 @@ export class ProvidersApi extends runtime.BaseAPI {
146
146
  });
147
147
  }
148
148
  /**
149
- * Get all creatable provider types
149
+ * Get all creatable types
150
150
  */
151
151
  providersAllTypesListRaw(initOverrides) {
152
152
  return __awaiter(this, void 0, void 0, function* () {
@@ -169,7 +169,7 @@ export class ProvidersApi extends runtime.BaseAPI {
169
169
  });
170
170
  }
171
171
  /**
172
- * Get all creatable provider types
172
+ * Get all creatable types
173
173
  */
174
174
  providersAllTypesList(initOverrides) {
175
175
  return __awaiter(this, void 0, void 0, function* () {
@@ -463,11 +463,11 @@ export declare class SourcesApi extends runtime.BaseAPI {
463
463
  */
464
464
  sourcesAllSetIconUrlCreate(requestParameters: SourcesAllSetIconUrlCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
465
465
  /**
466
- * Get all creatable source types
466
+ * Get all creatable types
467
467
  */
468
468
  sourcesAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>>;
469
469
  /**
470
- * Get all creatable source types
470
+ * Get all creatable types
471
471
  */
472
472
  sourcesAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>>;
473
473
  /**
@@ -244,7 +244,7 @@ export class SourcesApi extends runtime.BaseAPI {
244
244
  });
245
245
  }
246
246
  /**
247
- * Get all creatable source types
247
+ * Get all creatable types
248
248
  */
249
249
  sourcesAllTypesListRaw(initOverrides) {
250
250
  return __awaiter(this, void 0, void 0, function* () {
@@ -267,7 +267,7 @@ export class SourcesApi extends runtime.BaseAPI {
267
267
  });
268
268
  }
269
269
  /**
270
- * Get all creatable source types
270
+ * Get all creatable types
271
271
  */
272
272
  sourcesAllTypesList(initOverrides) {
273
273
  return __awaiter(this, void 0, void 0, function* () {
@@ -766,11 +766,11 @@ export declare class StagesApi extends runtime.BaseAPI {
766
766
  */
767
767
  stagesAllRetrieve(requestParameters: StagesAllRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Stage>;
768
768
  /**
769
- * Get all creatable stage types
769
+ * Get all creatable types
770
770
  */
771
771
  stagesAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>>;
772
772
  /**
773
- * Get all creatable stage types
773
+ * Get all creatable types
774
774
  */
775
775
  stagesAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>>;
776
776
  /**
@@ -143,7 +143,7 @@ export class StagesApi extends runtime.BaseAPI {
143
143
  });
144
144
  }
145
145
  /**
146
- * Get all creatable stage types
146
+ * Get all creatable types
147
147
  */
148
148
  stagesAllTypesListRaw(initOverrides) {
149
149
  return __awaiter(this, void 0, void 0, function* () {
@@ -166,7 +166,7 @@ export class StagesApi extends runtime.BaseAPI {
166
166
  });
167
167
  }
168
168
  /**
169
- * Get all creatable stage types
169
+ * Get all creatable types
170
170
  */
171
171
  stagesAllTypesList(initOverrides) {
172
172
  return __awaiter(this, void 0, void 0, function* () {
@@ -102,12 +102,11 @@ export interface LDAPSource {
102
102
  */
103
103
  userPathTemplate?: string;
104
104
  /**
105
- * Get the URL to the Icon. If the name is /static or
106
- * starts with http it is returned as-is
105
+ *
107
106
  * @type {string}
108
107
  * @memberof LDAPSource
109
108
  */
110
- readonly icon: string | null;
109
+ readonly icon: string;
111
110
  /**
112
111
  *
113
112
  * @type {string}
@@ -104,8 +104,7 @@ export interface OAuthSource {
104
104
  */
105
105
  userPathTemplate?: string;
106
106
  /**
107
- * Get the URL to the Icon. If the name is /static or
108
- * starts with http it is returned as-is
107
+ *
109
108
  * @type {string}
110
109
  * @memberof OAuthSource
111
110
  */
@@ -102,12 +102,11 @@ export interface PlexSource {
102
102
  */
103
103
  userPathTemplate?: string;
104
104
  /**
105
- * Get the URL to the Icon. If the name is /static or
106
- * starts with http it is returned as-is
105
+ *
107
106
  * @type {string}
108
107
  * @memberof PlexSource
109
108
  */
110
- readonly icon: string | null;
109
+ readonly icon: string;
111
110
  /**
112
111
  * Client identifier used to talk to Plex.
113
112
  * @type {string}
@@ -106,12 +106,11 @@ export interface SAMLSource {
106
106
  */
107
107
  userPathTemplate?: string;
108
108
  /**
109
- * Get the URL to the Icon. If the name is /static or
110
- * starts with http it is returned as-is
109
+ *
111
110
  * @type {string}
112
111
  * @memberof SAMLSource
113
112
  */
114
- readonly icon: string | null;
113
+ readonly icon: string;
115
114
  /**
116
115
  * Flow used before authentication.
117
116
  * @type {string}
@@ -39,6 +39,12 @@ export interface TypeCreate {
39
39
  * @memberof TypeCreate
40
40
  */
41
41
  modelName: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof TypeCreate
46
+ */
47
+ iconUrl?: string;
42
48
  /**
43
49
  *
44
50
  * @type {boolean}
@@ -35,6 +35,7 @@ export function TypeCreateFromJSONTyped(json, ignoreDiscriminator) {
35
35
  'description': json['description'],
36
36
  'component': json['component'],
37
37
  'modelName': json['model_name'],
38
+ 'iconUrl': !exists(json, 'icon_url') ? undefined : json['icon_url'],
38
39
  'requiresEnterprise': !exists(json, 'requires_enterprise') ? undefined : json['requires_enterprise'],
39
40
  };
40
41
  }
@@ -50,6 +51,7 @@ export function TypeCreateToJSON(value) {
50
51
  'description': value.description,
51
52
  'component': value.component,
52
53
  'model_name': value.modelName,
54
+ 'icon_url': value.iconUrl,
53
55
  'requires_enterprise': value.requiresEnterprise,
54
56
  };
55
57
  }
@@ -102,12 +102,11 @@ export interface LDAPSource {
102
102
  */
103
103
  userPathTemplate?: string;
104
104
  /**
105
- * Get the URL to the Icon. If the name is /static or
106
- * starts with http it is returned as-is
105
+ *
107
106
  * @type {string}
108
107
  * @memberof LDAPSource
109
108
  */
110
- readonly icon: string | null;
109
+ readonly icon: string;
111
110
  /**
112
111
  *
113
112
  * @type {string}
@@ -104,8 +104,7 @@ export interface OAuthSource {
104
104
  */
105
105
  userPathTemplate?: string;
106
106
  /**
107
- * Get the URL to the Icon. If the name is /static or
108
- * starts with http it is returned as-is
107
+ *
109
108
  * @type {string}
110
109
  * @memberof OAuthSource
111
110
  */
@@ -102,12 +102,11 @@ export interface PlexSource {
102
102
  */
103
103
  userPathTemplate?: string;
104
104
  /**
105
- * Get the URL to the Icon. If the name is /static or
106
- * starts with http it is returned as-is
105
+ *
107
106
  * @type {string}
108
107
  * @memberof PlexSource
109
108
  */
110
- readonly icon: string | null;
109
+ readonly icon: string;
111
110
  /**
112
111
  * Client identifier used to talk to Plex.
113
112
  * @type {string}
@@ -106,12 +106,11 @@ export interface SAMLSource {
106
106
  */
107
107
  userPathTemplate?: string;
108
108
  /**
109
- * Get the URL to the Icon. If the name is /static or
110
- * starts with http it is returned as-is
109
+ *
111
110
  * @type {string}
112
111
  * @memberof SAMLSource
113
112
  */
114
- readonly icon: string | null;
113
+ readonly icon: string;
115
114
  /**
116
115
  * Flow used before authentication.
117
116
  * @type {string}
@@ -39,6 +39,12 @@ export interface TypeCreate {
39
39
  * @memberof TypeCreate
40
40
  */
41
41
  modelName: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof TypeCreate
46
+ */
47
+ iconUrl?: string;
42
48
  /**
43
49
  *
44
50
  * @type {boolean}
@@ -40,6 +40,7 @@ function TypeCreateFromJSONTyped(json, ignoreDiscriminator) {
40
40
  'description': json['description'],
41
41
  'component': json['component'],
42
42
  'modelName': json['model_name'],
43
+ 'iconUrl': !(0, runtime_1.exists)(json, 'icon_url') ? undefined : json['icon_url'],
43
44
  'requiresEnterprise': !(0, runtime_1.exists)(json, 'requires_enterprise') ? undefined : json['requires_enterprise'],
44
45
  };
45
46
  }
@@ -56,6 +57,7 @@ function TypeCreateToJSON(value) {
56
57
  'description': value.description,
57
58
  'component': value.component,
58
59
  'model_name': value.modelName,
60
+ 'icon_url': value.iconUrl,
59
61
  'requires_enterprise': value.requiresEnterprise,
60
62
  };
61
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2024.4.2-1716209237",
3
+ "version": "2024.4.2-1716338508",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -1171,7 +1171,7 @@ export class OutpostsApi extends runtime.BaseAPI {
1171
1171
  }
1172
1172
 
1173
1173
  /**
1174
- * Get all creatable service connection types
1174
+ * Get all creatable types
1175
1175
  */
1176
1176
  async outpostsServiceConnectionsAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>> {
1177
1177
  const queryParameters: any = {};
@@ -1197,7 +1197,7 @@ export class OutpostsApi extends runtime.BaseAPI {
1197
1197
  }
1198
1198
 
1199
1199
  /**
1200
- * Get all creatable service connection types
1200
+ * Get all creatable types
1201
1201
  */
1202
1202
  async outpostsServiceConnectionsAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>> {
1203
1203
  const response = await this.outpostsServiceConnectionsAllTypesListRaw(initOverrides);
@@ -729,7 +729,7 @@ export class PoliciesApi extends runtime.BaseAPI {
729
729
  }
730
730
 
731
731
  /**
732
- * Get all creatable policy types
732
+ * Get all creatable types
733
733
  */
734
734
  async policiesAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>> {
735
735
  const queryParameters: any = {};
@@ -755,7 +755,7 @@ export class PoliciesApi extends runtime.BaseAPI {
755
755
  }
756
756
 
757
757
  /**
758
- * Get all creatable policy types
758
+ * Get all creatable types
759
759
  */
760
760
  async policiesAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>> {
761
761
  const response = await this.policiesAllTypesListRaw(initOverrides);
@@ -642,7 +642,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
642
642
  }
643
643
 
644
644
  /**
645
- * Get all creatable property-mapping types
645
+ * Get all creatable types
646
646
  */
647
647
  async propertymappingsAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>> {
648
648
  const queryParameters: any = {};
@@ -668,7 +668,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
668
668
  }
669
669
 
670
670
  /**
671
- * Get all creatable property-mapping types
671
+ * Get all creatable types
672
672
  */
673
673
  async propertymappingsAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>> {
674
674
  const response = await this.propertymappingsAllTypesListRaw(initOverrides);
@@ -921,7 +921,7 @@ export class ProvidersApi extends runtime.BaseAPI {
921
921
  }
922
922
 
923
923
  /**
924
- * Get all creatable provider types
924
+ * Get all creatable types
925
925
  */
926
926
  async providersAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>> {
927
927
  const queryParameters: any = {};
@@ -947,7 +947,7 @@ export class ProvidersApi extends runtime.BaseAPI {
947
947
  }
948
948
 
949
949
  /**
950
- * Get all creatable provider types
950
+ * Get all creatable types
951
951
  */
952
952
  async providersAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>> {
953
953
  const response = await this.providersAllTypesListRaw(initOverrides);
@@ -931,7 +931,7 @@ export class SourcesApi extends runtime.BaseAPI {
931
931
  }
932
932
 
933
933
  /**
934
- * Get all creatable source types
934
+ * Get all creatable types
935
935
  */
936
936
  async sourcesAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>> {
937
937
  const queryParameters: any = {};
@@ -957,7 +957,7 @@ export class SourcesApi extends runtime.BaseAPI {
957
957
  }
958
958
 
959
959
  /**
960
- * Get all creatable source types
960
+ * Get all creatable types
961
961
  */
962
962
  async sourcesAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>> {
963
963
  const response = await this.sourcesAllTypesListRaw(initOverrides);
@@ -1347,7 +1347,7 @@ export class StagesApi extends runtime.BaseAPI {
1347
1347
  }
1348
1348
 
1349
1349
  /**
1350
- * Get all creatable stage types
1350
+ * Get all creatable types
1351
1351
  */
1352
1352
  async stagesAllTypesListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TypeCreate>>> {
1353
1353
  const queryParameters: any = {};
@@ -1373,7 +1373,7 @@ export class StagesApi extends runtime.BaseAPI {
1373
1373
  }
1374
1374
 
1375
1375
  /**
1376
- * Get all creatable stage types
1376
+ * Get all creatable types
1377
1377
  */
1378
1378
  async stagesAllTypesList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TypeCreate>> {
1379
1379
  const response = await this.stagesAllTypesListRaw(initOverrides);
@@ -117,12 +117,11 @@ export interface LDAPSource {
117
117
  */
118
118
  userPathTemplate?: string;
119
119
  /**
120
- * Get the URL to the Icon. If the name is /static or
121
- * starts with http it is returned as-is
120
+ *
122
121
  * @type {string}
123
122
  * @memberof LDAPSource
124
123
  */
125
- readonly icon: string | null;
124
+ readonly icon: string;
126
125
  /**
127
126
  *
128
127
  * @type {string}
@@ -129,8 +129,7 @@ export interface OAuthSource {
129
129
  */
130
130
  userPathTemplate?: string;
131
131
  /**
132
- * Get the URL to the Icon. If the name is /static or
133
- * starts with http it is returned as-is
132
+ *
134
133
  * @type {string}
135
134
  * @memberof OAuthSource
136
135
  */
@@ -117,12 +117,11 @@ export interface PlexSource {
117
117
  */
118
118
  userPathTemplate?: string;
119
119
  /**
120
- * Get the URL to the Icon. If the name is /static or
121
- * starts with http it is returned as-is
120
+ *
122
121
  * @type {string}
123
122
  * @memberof PlexSource
124
123
  */
125
- readonly icon: string | null;
124
+ readonly icon: string;
126
125
  /**
127
126
  * Client identifier used to talk to Plex.
128
127
  * @type {string}
@@ -141,12 +141,11 @@ export interface SAMLSource {
141
141
  */
142
142
  userPathTemplate?: string;
143
143
  /**
144
- * Get the URL to the Icon. If the name is /static or
145
- * starts with http it is returned as-is
144
+ *
146
145
  * @type {string}
147
146
  * @memberof SAMLSource
148
147
  */
149
- readonly icon: string | null;
148
+ readonly icon: string;
150
149
  /**
151
150
  * Flow used before authentication.
152
151
  * @type {string}
@@ -43,6 +43,12 @@ export interface TypeCreate {
43
43
  * @memberof TypeCreate
44
44
  */
45
45
  modelName: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof TypeCreate
50
+ */
51
+ iconUrl?: string;
46
52
  /**
47
53
  *
48
54
  * @type {boolean}
@@ -78,6 +84,7 @@ export function TypeCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean)
78
84
  'description': json['description'],
79
85
  'component': json['component'],
80
86
  'modelName': json['model_name'],
87
+ 'iconUrl': !exists(json, 'icon_url') ? undefined : json['icon_url'],
81
88
  'requiresEnterprise': !exists(json, 'requires_enterprise') ? undefined : json['requires_enterprise'],
82
89
  };
83
90
  }
@@ -95,6 +102,7 @@ export function TypeCreateToJSON(value?: TypeCreate | null): any {
95
102
  'description': value.description,
96
103
  'component': value.component,
97
104
  'model_name': value.modelName,
105
+ 'icon_url': value.iconUrl,
98
106
  'requires_enterprise': value.requiresEnterprise,
99
107
  };
100
108
  }