@goauthentik/api 2023.10.6-1704825130 → 2023.10.6-1705263684

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.
@@ -97,7 +97,7 @@ export interface PropertymappingsRacDestroyRequest {
97
97
  pmUuid: string;
98
98
  }
99
99
  export interface PropertymappingsRacListRequest {
100
- managed?: string;
100
+ managed?: Array<string>;
101
101
  name?: string;
102
102
  ordering?: string;
103
103
  page?: number;
@@ -786,7 +786,7 @@ class PropertymappingsApi extends runtime.BaseAPI {
786
786
  propertymappingsRacListRaw(requestParameters, initOverrides) {
787
787
  return __awaiter(this, void 0, void 0, function* () {
788
788
  const queryParameters = {};
789
- if (requestParameters.managed !== undefined) {
789
+ if (requestParameters.managed) {
790
790
  queryParameters['managed'] = requestParameters.managed;
791
791
  }
792
792
  if (requestParameters.name !== undefined) {
@@ -97,7 +97,7 @@ export interface PropertymappingsRacDestroyRequest {
97
97
  pmUuid: string;
98
98
  }
99
99
  export interface PropertymappingsRacListRequest {
100
- managed?: string;
100
+ managed?: Array<string>;
101
101
  name?: string;
102
102
  ordering?: string;
103
103
  page?: number;
@@ -783,7 +783,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
783
783
  propertymappingsRacListRaw(requestParameters, initOverrides) {
784
784
  return __awaiter(this, void 0, void 0, function* () {
785
785
  const queryParameters = {};
786
- if (requestParameters.managed !== undefined) {
786
+ if (requestParameters.managed) {
787
787
  queryParameters['managed'] = requestParameters.managed;
788
788
  }
789
789
  if (requestParameters.name !== undefined) {
@@ -26,7 +26,7 @@ export interface SourceType {
26
26
  * @type {string}
27
27
  * @memberof SourceType
28
28
  */
29
- slug: string;
29
+ verboseName: string;
30
30
  /**
31
31
  *
32
32
  * @type {boolean}
@@ -17,7 +17,7 @@
17
17
  export function instanceOfSourceType(value) {
18
18
  let isInstance = true;
19
19
  isInstance = isInstance && "name" in value;
20
- isInstance = isInstance && "slug" in value;
20
+ isInstance = isInstance && "verboseName" in value;
21
21
  isInstance = isInstance && "urlsCustomizable" in value;
22
22
  isInstance = isInstance && "requestTokenUrl" in value;
23
23
  isInstance = isInstance && "authorizationUrl" in value;
@@ -36,7 +36,7 @@ export function SourceTypeFromJSONTyped(json, ignoreDiscriminator) {
36
36
  }
37
37
  return {
38
38
  'name': json['name'],
39
- 'slug': json['slug'],
39
+ 'verboseName': json['verbose_name'],
40
40
  'urlsCustomizable': json['urls_customizable'],
41
41
  'requestTokenUrl': json['request_token_url'],
42
42
  'authorizationUrl': json['authorization_url'],
@@ -55,7 +55,7 @@ export function SourceTypeToJSON(value) {
55
55
  }
56
56
  return {
57
57
  'name': value.name,
58
- 'slug': value.slug,
58
+ 'verbose_name': value.verboseName,
59
59
  'urls_customizable': value.urlsCustomizable,
60
60
  };
61
61
  }
@@ -26,7 +26,7 @@ export interface SourceType {
26
26
  * @type {string}
27
27
  * @memberof SourceType
28
28
  */
29
- slug: string;
29
+ verboseName: string;
30
30
  /**
31
31
  *
32
32
  * @type {boolean}
@@ -20,7 +20,7 @@ exports.SourceTypeToJSON = exports.SourceTypeFromJSONTyped = exports.SourceTypeF
20
20
  function instanceOfSourceType(value) {
21
21
  let isInstance = true;
22
22
  isInstance = isInstance && "name" in value;
23
- isInstance = isInstance && "slug" in value;
23
+ isInstance = isInstance && "verboseName" in value;
24
24
  isInstance = isInstance && "urlsCustomizable" in value;
25
25
  isInstance = isInstance && "requestTokenUrl" in value;
26
26
  isInstance = isInstance && "authorizationUrl" in value;
@@ -41,7 +41,7 @@ function SourceTypeFromJSONTyped(json, ignoreDiscriminator) {
41
41
  }
42
42
  return {
43
43
  'name': json['name'],
44
- 'slug': json['slug'],
44
+ 'verboseName': json['verbose_name'],
45
45
  'urlsCustomizable': json['urls_customizable'],
46
46
  'requestTokenUrl': json['request_token_url'],
47
47
  'authorizationUrl': json['authorization_url'],
@@ -61,7 +61,7 @@ function SourceTypeToJSON(value) {
61
61
  }
62
62
  return {
63
63
  'name': value.name,
64
- 'slug': value.slug,
64
+ 'verbose_name': value.verboseName,
65
65
  'urls_customizable': value.urlsCustomizable,
66
66
  };
67
67
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2023.10.6-1704825130",
3
+ "version": "2023.10.6-1705263684",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -222,7 +222,7 @@ export interface PropertymappingsRacDestroyRequest {
222
222
  }
223
223
 
224
224
  export interface PropertymappingsRacListRequest {
225
- managed?: string;
225
+ managed?: Array<string>;
226
226
  name?: string;
227
227
  ordering?: string;
228
228
  page?: number;
@@ -1215,7 +1215,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
1215
1215
  async propertymappingsRacListRaw(requestParameters: PropertymappingsRacListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedRACPropertyMappingList>> {
1216
1216
  const queryParameters: any = {};
1217
1217
 
1218
- if (requestParameters.managed !== undefined) {
1218
+ if (requestParameters.managed) {
1219
1219
  queryParameters['managed'] = requestParameters.managed;
1220
1220
  }
1221
1221
 
@@ -30,7 +30,7 @@ export interface SourceType {
30
30
  * @type {string}
31
31
  * @memberof SourceType
32
32
  */
33
- slug: string;
33
+ verboseName: string;
34
34
  /**
35
35
  *
36
36
  * @type {boolean}
@@ -81,7 +81,7 @@ export interface SourceType {
81
81
  export function instanceOfSourceType(value: object): boolean {
82
82
  let isInstance = true;
83
83
  isInstance = isInstance && "name" in value;
84
- isInstance = isInstance && "slug" in value;
84
+ isInstance = isInstance && "verboseName" in value;
85
85
  isInstance = isInstance && "urlsCustomizable" in value;
86
86
  isInstance = isInstance && "requestTokenUrl" in value;
87
87
  isInstance = isInstance && "authorizationUrl" in value;
@@ -104,7 +104,7 @@ export function SourceTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean)
104
104
  return {
105
105
 
106
106
  'name': json['name'],
107
- 'slug': json['slug'],
107
+ 'verboseName': json['verbose_name'],
108
108
  'urlsCustomizable': json['urls_customizable'],
109
109
  'requestTokenUrl': json['request_token_url'],
110
110
  'authorizationUrl': json['authorization_url'],
@@ -125,7 +125,7 @@ export function SourceTypeToJSON(value?: SourceType | null): any {
125
125
  return {
126
126
 
127
127
  'name': value.name,
128
- 'slug': value.slug,
128
+ 'verbose_name': value.verboseName,
129
129
  'urls_customizable': value.urlsCustomizable,
130
130
  };
131
131
  }