@goauthentik/api 2022.7.3-1659280330 → 2022.7.3-1659304078
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/esm/models/ConsentChallenge.d.ts +6 -0
- package/dist/esm/models/ConsentChallenge.js +2 -0
- package/dist/esm/models/ConsentChallengeResponseRequest.d.ts +6 -0
- package/dist/esm/models/ConsentChallengeResponseRequest.js +2 -0
- package/dist/models/ConsentChallenge.d.ts +6 -0
- package/dist/models/ConsentChallenge.js +2 -0
- package/dist/models/ConsentChallengeResponseRequest.d.ts +6 -0
- package/dist/models/ConsentChallengeResponseRequest.js +2 -0
- package/package.json +1 -1
- package/src/models/ConsentChallenge.ts +8 -0
- package/src/models/ConsentChallengeResponseRequest.ts +8 -0
|
@@ -75,6 +75,12 @@ export interface ConsentChallenge {
|
|
|
75
75
|
* @memberof ConsentChallenge
|
|
76
76
|
*/
|
|
77
77
|
additionalPermissions: Array<Permission>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof ConsentChallenge
|
|
82
|
+
*/
|
|
83
|
+
token: string;
|
|
78
84
|
}
|
|
79
85
|
export declare function ConsentChallengeFromJSON(json: any): ConsentChallenge;
|
|
80
86
|
export declare function ConsentChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConsentChallenge;
|
|
@@ -32,6 +32,7 @@ export function ConsentChallengeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
'headerText': !exists(json, 'header_text') ? undefined : json['header_text'],
|
|
33
33
|
'permissions': (json['permissions'].map(PermissionFromJSON)),
|
|
34
34
|
'additionalPermissions': (json['additional_permissions'].map(PermissionFromJSON)),
|
|
35
|
+
'token': json['token'],
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
38
|
export function ConsentChallengeToJSON(value) {
|
|
@@ -51,5 +52,6 @@ export function ConsentChallengeToJSON(value) {
|
|
|
51
52
|
'header_text': value.headerText,
|
|
52
53
|
'permissions': (value.permissions.map(PermissionToJSON)),
|
|
53
54
|
'additional_permissions': (value.additionalPermissions.map(PermissionToJSON)),
|
|
55
|
+
'token': value.token,
|
|
54
56
|
};
|
|
55
57
|
}
|
|
@@ -21,6 +21,12 @@ export interface ConsentChallengeResponseRequest {
|
|
|
21
21
|
* @memberof ConsentChallengeResponseRequest
|
|
22
22
|
*/
|
|
23
23
|
component?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ConsentChallengeResponseRequest
|
|
28
|
+
*/
|
|
29
|
+
token: string;
|
|
24
30
|
}
|
|
25
31
|
export declare function ConsentChallengeResponseRequestFromJSON(json: any): ConsentChallengeResponseRequest;
|
|
26
32
|
export declare function ConsentChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConsentChallengeResponseRequest;
|
|
@@ -21,6 +21,7 @@ export function ConsentChallengeResponseRequestFromJSONTyped(json, ignoreDiscrim
|
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
23
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
|
24
|
+
'token': json['token'],
|
|
24
25
|
};
|
|
25
26
|
}
|
|
26
27
|
export function ConsentChallengeResponseRequestToJSON(value) {
|
|
@@ -32,5 +33,6 @@ export function ConsentChallengeResponseRequestToJSON(value) {
|
|
|
32
33
|
}
|
|
33
34
|
return {
|
|
34
35
|
'component': value.component,
|
|
36
|
+
'token': value.token,
|
|
35
37
|
};
|
|
36
38
|
}
|
|
@@ -75,6 +75,12 @@ export interface ConsentChallenge {
|
|
|
75
75
|
* @memberof ConsentChallenge
|
|
76
76
|
*/
|
|
77
77
|
additionalPermissions: Array<Permission>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof ConsentChallenge
|
|
82
|
+
*/
|
|
83
|
+
token: string;
|
|
78
84
|
}
|
|
79
85
|
export declare function ConsentChallengeFromJSON(json: any): ConsentChallenge;
|
|
80
86
|
export declare function ConsentChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConsentChallenge;
|
|
@@ -36,6 +36,7 @@ function ConsentChallengeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'headerText': !(0, runtime_1.exists)(json, 'header_text') ? undefined : json['header_text'],
|
|
37
37
|
'permissions': (json['permissions'].map(Permission_1.PermissionFromJSON)),
|
|
38
38
|
'additionalPermissions': (json['additional_permissions'].map(Permission_1.PermissionFromJSON)),
|
|
39
|
+
'token': json['token'],
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
exports.ConsentChallengeFromJSONTyped = ConsentChallengeFromJSONTyped;
|
|
@@ -56,6 +57,7 @@ function ConsentChallengeToJSON(value) {
|
|
|
56
57
|
'header_text': value.headerText,
|
|
57
58
|
'permissions': (value.permissions.map(Permission_1.PermissionToJSON)),
|
|
58
59
|
'additional_permissions': (value.additionalPermissions.map(Permission_1.PermissionToJSON)),
|
|
60
|
+
'token': value.token,
|
|
59
61
|
};
|
|
60
62
|
}
|
|
61
63
|
exports.ConsentChallengeToJSON = ConsentChallengeToJSON;
|
|
@@ -21,6 +21,12 @@ export interface ConsentChallengeResponseRequest {
|
|
|
21
21
|
* @memberof ConsentChallengeResponseRequest
|
|
22
22
|
*/
|
|
23
23
|
component?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ConsentChallengeResponseRequest
|
|
28
|
+
*/
|
|
29
|
+
token: string;
|
|
24
30
|
}
|
|
25
31
|
export declare function ConsentChallengeResponseRequestFromJSON(json: any): ConsentChallengeResponseRequest;
|
|
26
32
|
export declare function ConsentChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConsentChallengeResponseRequest;
|
|
@@ -25,6 +25,7 @@ function ConsentChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
|
|
28
|
+
'token': json['token'],
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
31
|
exports.ConsentChallengeResponseRequestFromJSONTyped = ConsentChallengeResponseRequestFromJSONTyped;
|
|
@@ -37,6 +38,7 @@ function ConsentChallengeResponseRequestToJSON(value) {
|
|
|
37
38
|
}
|
|
38
39
|
return {
|
|
39
40
|
'component': value.component,
|
|
41
|
+
'token': value.token,
|
|
40
42
|
};
|
|
41
43
|
}
|
|
42
44
|
exports.ConsentChallengeResponseRequestToJSON = ConsentChallengeResponseRequestToJSON;
|
package/package.json
CHANGED
|
@@ -98,6 +98,12 @@ export interface ConsentChallenge {
|
|
|
98
98
|
* @memberof ConsentChallenge
|
|
99
99
|
*/
|
|
100
100
|
additionalPermissions: Array<Permission>;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof ConsentChallenge
|
|
105
|
+
*/
|
|
106
|
+
token: string;
|
|
101
107
|
}
|
|
102
108
|
|
|
103
109
|
export function ConsentChallengeFromJSON(json: any): ConsentChallenge {
|
|
@@ -119,6 +125,7 @@ export function ConsentChallengeFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
119
125
|
'headerText': !exists(json, 'header_text') ? undefined : json['header_text'],
|
|
120
126
|
'permissions': ((json['permissions'] as Array<any>).map(PermissionFromJSON)),
|
|
121
127
|
'additionalPermissions': ((json['additional_permissions'] as Array<any>).map(PermissionFromJSON)),
|
|
128
|
+
'token': json['token'],
|
|
122
129
|
};
|
|
123
130
|
}
|
|
124
131
|
|
|
@@ -140,6 +147,7 @@ export function ConsentChallengeToJSON(value?: ConsentChallenge | null): any {
|
|
|
140
147
|
'header_text': value.headerText,
|
|
141
148
|
'permissions': ((value.permissions as Array<any>).map(PermissionToJSON)),
|
|
142
149
|
'additional_permissions': ((value.additionalPermissions as Array<any>).map(PermissionToJSON)),
|
|
150
|
+
'token': value.token,
|
|
143
151
|
};
|
|
144
152
|
}
|
|
145
153
|
|
|
@@ -25,6 +25,12 @@ export interface ConsentChallengeResponseRequest {
|
|
|
25
25
|
* @memberof ConsentChallengeResponseRequest
|
|
26
26
|
*/
|
|
27
27
|
component?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ConsentChallengeResponseRequest
|
|
32
|
+
*/
|
|
33
|
+
token: string;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
export function ConsentChallengeResponseRequestFromJSON(json: any): ConsentChallengeResponseRequest {
|
|
@@ -38,6 +44,7 @@ export function ConsentChallengeResponseRequestFromJSONTyped(json: any, ignoreDi
|
|
|
38
44
|
return {
|
|
39
45
|
|
|
40
46
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
|
47
|
+
'token': json['token'],
|
|
41
48
|
};
|
|
42
49
|
}
|
|
43
50
|
|
|
@@ -51,6 +58,7 @@ export function ConsentChallengeResponseRequestToJSON(value?: ConsentChallengeRe
|
|
|
51
58
|
return {
|
|
52
59
|
|
|
53
60
|
'component': value.component,
|
|
61
|
+
'token': value.token,
|
|
54
62
|
};
|
|
55
63
|
}
|
|
56
64
|
|