@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.
- package/dist/apis/PropertymappingsApi.d.ts +1 -1
- package/dist/apis/PropertymappingsApi.js +1 -1
- package/dist/esm/apis/PropertymappingsApi.d.ts +1 -1
- package/dist/esm/apis/PropertymappingsApi.js +1 -1
- package/dist/esm/models/SourceType.d.ts +1 -1
- package/dist/esm/models/SourceType.js +3 -3
- package/dist/models/SourceType.d.ts +1 -1
- package/dist/models/SourceType.js +3 -3
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +2 -2
- package/src/models/SourceType.ts +4 -4
|
@@ -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
|
|
789
|
+
if (requestParameters.managed) {
|
|
790
790
|
queryParameters['managed'] = requestParameters.managed;
|
|
791
791
|
}
|
|
792
792
|
if (requestParameters.name !== undefined) {
|
|
@@ -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
|
|
786
|
+
if (requestParameters.managed) {
|
|
787
787
|
queryParameters['managed'] = requestParameters.managed;
|
|
788
788
|
}
|
|
789
789
|
if (requestParameters.name !== undefined) {
|
|
@@ -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 && "
|
|
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
|
-
'
|
|
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
|
-
'
|
|
58
|
+
'verbose_name': value.verboseName,
|
|
59
59
|
'urls_customizable': value.urlsCustomizable,
|
|
60
60
|
};
|
|
61
61
|
}
|
|
@@ -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 && "
|
|
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
|
-
'
|
|
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
|
-
'
|
|
64
|
+
'verbose_name': value.verboseName,
|
|
65
65
|
'urls_customizable': value.urlsCustomizable,
|
|
66
66
|
};
|
|
67
67
|
}
|
package/package.json
CHANGED
|
@@ -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
|
|
1218
|
+
if (requestParameters.managed) {
|
|
1219
1219
|
queryParameters['managed'] = requestParameters.managed;
|
|
1220
1220
|
}
|
|
1221
1221
|
|
package/src/models/SourceType.ts
CHANGED
|
@@ -30,7 +30,7 @@ export interface SourceType {
|
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof SourceType
|
|
32
32
|
*/
|
|
33
|
-
|
|
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 && "
|
|
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
|
-
'
|
|
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
|
-
'
|
|
128
|
+
'verbose_name': value.verboseName,
|
|
129
129
|
'urls_customizable': value.urlsCustomizable,
|
|
130
130
|
};
|
|
131
131
|
}
|