@goauthentik/api 2023.10.6-1704825130 → 2023.10.6-1705072854
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.
|
@@ -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
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
|
}
|