@goauthentik/api 2022.3.3-1648679473 → 2022.3.3-1648933813
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/Application.d.ts +6 -0
- package/dist/esm/models/Application.js +2 -0
- package/dist/esm/models/ApplicationRequest.d.ts +6 -0
- package/dist/esm/models/ApplicationRequest.js +2 -0
- package/dist/esm/models/OAuth2Provider.d.ts +1 -1
- package/dist/esm/models/OAuth2Provider.js +1 -1
- package/dist/esm/models/OAuth2ProviderRequest.d.ts +1 -1
- package/dist/esm/models/OAuth2ProviderRequest.js +1 -1
- package/dist/esm/models/PatchedApplicationRequest.d.ts +6 -0
- package/dist/esm/models/PatchedApplicationRequest.js +2 -0
- package/dist/esm/models/PolicyTestResult.d.ts +8 -0
- package/dist/esm/models/PolicyTestResult.js +1 -0
- package/dist/models/Application.d.ts +6 -0
- package/dist/models/Application.js +2 -0
- package/dist/models/ApplicationRequest.d.ts +6 -0
- package/dist/models/ApplicationRequest.js +2 -0
- package/dist/models/OAuth2Provider.d.ts +1 -1
- package/dist/models/OAuth2Provider.js +1 -1
- package/dist/models/OAuth2ProviderRequest.d.ts +1 -1
- package/dist/models/OAuth2ProviderRequest.js +1 -1
- package/dist/models/PatchedApplicationRequest.d.ts +6 -0
- package/dist/models/PatchedApplicationRequest.js +2 -0
- package/dist/models/PolicyTestResult.d.ts +8 -0
- package/dist/models/PolicyTestResult.js +1 -0
- package/package.json +1 -1
- package/src/models/Application.ts +8 -0
- package/src/models/ApplicationRequest.ts +8 -0
- package/src/models/OAuth2Provider.ts +2 -2
- package/src/models/OAuth2ProviderRequest.ts +2 -2
- package/src/models/PatchedApplicationRequest.ts +8 -0
- package/src/models/PolicyTestResult.ts +7 -0
|
@@ -83,6 +83,12 @@ export interface Application {
|
|
|
83
83
|
* @memberof Application
|
|
84
84
|
*/
|
|
85
85
|
policyEngineMode?: PolicyEngineMode;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof Application
|
|
90
|
+
*/
|
|
91
|
+
group?: string;
|
|
86
92
|
}
|
|
87
93
|
export declare function ApplicationFromJSON(json: any): Application;
|
|
88
94
|
export declare function ApplicationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Application;
|
|
@@ -33,6 +33,7 @@ export function ApplicationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
34
34
|
'metaPublisher': !exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
35
35
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
36
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
export function ApplicationToJSON(value) {
|
|
@@ -51,5 +52,6 @@ export function ApplicationToJSON(value) {
|
|
|
51
52
|
'meta_description': value.metaDescription,
|
|
52
53
|
'meta_publisher': value.metaPublisher,
|
|
53
54
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
55
|
+
'group': value.group,
|
|
54
56
|
};
|
|
55
57
|
}
|
|
@@ -65,6 +65,12 @@ export interface ApplicationRequest {
|
|
|
65
65
|
* @memberof ApplicationRequest
|
|
66
66
|
*/
|
|
67
67
|
policyEngineMode?: PolicyEngineMode;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof ApplicationRequest
|
|
72
|
+
*/
|
|
73
|
+
group?: string;
|
|
68
74
|
}
|
|
69
75
|
export declare function ApplicationRequestFromJSON(json: any): ApplicationRequest;
|
|
70
76
|
export declare function ApplicationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationRequest;
|
|
@@ -30,6 +30,7 @@ export function ApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
31
31
|
'metaPublisher': !exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
32
32
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
33
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
33
34
|
};
|
|
34
35
|
}
|
|
35
36
|
export function ApplicationRequestToJSON(value) {
|
|
@@ -48,5 +49,6 @@ export function ApplicationRequestToJSON(value) {
|
|
|
48
49
|
'meta_description': value.metaDescription,
|
|
49
50
|
'meta_publisher': value.metaPublisher,
|
|
50
51
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
52
|
+
'group': value.group,
|
|
51
53
|
};
|
|
52
54
|
}
|
|
@@ -144,7 +144,7 @@ export interface OAuth2Provider {
|
|
|
144
144
|
* @type {Array<string>}
|
|
145
145
|
* @memberof OAuth2Provider
|
|
146
146
|
*/
|
|
147
|
-
verificationKeys
|
|
147
|
+
verificationKeys?: Array<string>;
|
|
148
148
|
}
|
|
149
149
|
export declare function OAuth2ProviderFromJSON(json: any): OAuth2Provider;
|
|
150
150
|
export declare function OAuth2ProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2Provider;
|
|
@@ -43,7 +43,7 @@ export function OAuth2ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'redirectUris': !exists(json, 'redirect_uris') ? undefined : json['redirect_uris'],
|
|
44
44
|
'subMode': !exists(json, 'sub_mode') ? undefined : SubModeEnumFromJSON(json['sub_mode']),
|
|
45
45
|
'issuerMode': !exists(json, 'issuer_mode') ? undefined : IssuerModeEnumFromJSON(json['issuer_mode']),
|
|
46
|
-
'verificationKeys': json['verification_keys'],
|
|
46
|
+
'verificationKeys': !exists(json, 'verification_keys') ? undefined : json['verification_keys'],
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
export function OAuth2ProviderToJSON(value) {
|
|
@@ -102,7 +102,7 @@ export interface OAuth2ProviderRequest {
|
|
|
102
102
|
* @type {Array<string>}
|
|
103
103
|
* @memberof OAuth2ProviderRequest
|
|
104
104
|
*/
|
|
105
|
-
verificationKeys
|
|
105
|
+
verificationKeys?: Array<string>;
|
|
106
106
|
}
|
|
107
107
|
export declare function OAuth2ProviderRequestFromJSON(json: any): OAuth2ProviderRequest;
|
|
108
108
|
export declare function OAuth2ProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2ProviderRequest;
|
|
@@ -36,7 +36,7 @@ export function OAuth2ProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'redirectUris': !exists(json, 'redirect_uris') ? undefined : json['redirect_uris'],
|
|
37
37
|
'subMode': !exists(json, 'sub_mode') ? undefined : SubModeEnumFromJSON(json['sub_mode']),
|
|
38
38
|
'issuerMode': !exists(json, 'issuer_mode') ? undefined : IssuerModeEnumFromJSON(json['issuer_mode']),
|
|
39
|
-
'verificationKeys': json['verification_keys'],
|
|
39
|
+
'verificationKeys': !exists(json, 'verification_keys') ? undefined : json['verification_keys'],
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
export function OAuth2ProviderRequestToJSON(value) {
|
|
@@ -65,6 +65,12 @@ export interface PatchedApplicationRequest {
|
|
|
65
65
|
* @memberof PatchedApplicationRequest
|
|
66
66
|
*/
|
|
67
67
|
policyEngineMode?: PolicyEngineMode;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof PatchedApplicationRequest
|
|
72
|
+
*/
|
|
73
|
+
group?: string;
|
|
68
74
|
}
|
|
69
75
|
export declare function PatchedApplicationRequestFromJSON(json: any): PatchedApplicationRequest;
|
|
70
76
|
export declare function PatchedApplicationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedApplicationRequest;
|
|
@@ -30,6 +30,7 @@ export function PatchedApplicationRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
30
30
|
'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
31
31
|
'metaPublisher': !exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
32
32
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
33
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
33
34
|
};
|
|
34
35
|
}
|
|
35
36
|
export function PatchedApplicationRequestToJSON(value) {
|
|
@@ -48,5 +49,6 @@ export function PatchedApplicationRequestToJSON(value) {
|
|
|
48
49
|
'meta_description': value.metaDescription,
|
|
49
50
|
'meta_publisher': value.metaPublisher,
|
|
50
51
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
52
|
+
'group': value.group,
|
|
51
53
|
};
|
|
52
54
|
}
|
|
@@ -27,6 +27,14 @@ export interface PolicyTestResult {
|
|
|
27
27
|
* @memberof PolicyTestResult
|
|
28
28
|
*/
|
|
29
29
|
readonly messages: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<{ [key: string]: any; }>}
|
|
33
|
+
* @memberof PolicyTestResult
|
|
34
|
+
*/
|
|
35
|
+
readonly logMessages: Array<{
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}>;
|
|
30
38
|
}
|
|
31
39
|
export declare function PolicyTestResultFromJSON(json: any): PolicyTestResult;
|
|
32
40
|
export declare function PolicyTestResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): PolicyTestResult;
|
|
@@ -83,6 +83,12 @@ export interface Application {
|
|
|
83
83
|
* @memberof Application
|
|
84
84
|
*/
|
|
85
85
|
policyEngineMode?: PolicyEngineMode;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof Application
|
|
90
|
+
*/
|
|
91
|
+
group?: string;
|
|
86
92
|
}
|
|
87
93
|
export declare function ApplicationFromJSON(json: any): Application;
|
|
88
94
|
export declare function ApplicationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Application;
|
|
@@ -37,6 +37,7 @@ function ApplicationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'metaDescription': !runtime_1.exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
38
38
|
'metaPublisher': !runtime_1.exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
39
39
|
'policyEngineMode': !runtime_1.exists(json, 'policy_engine_mode') ? undefined : PolicyEngineMode_1.PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
40
|
+
'group': !runtime_1.exists(json, 'group') ? undefined : json['group'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
exports.ApplicationFromJSONTyped = ApplicationFromJSONTyped;
|
|
@@ -56,6 +57,7 @@ function ApplicationToJSON(value) {
|
|
|
56
57
|
'meta_description': value.metaDescription,
|
|
57
58
|
'meta_publisher': value.metaPublisher,
|
|
58
59
|
'policy_engine_mode': PolicyEngineMode_1.PolicyEngineModeToJSON(value.policyEngineMode),
|
|
60
|
+
'group': value.group,
|
|
59
61
|
};
|
|
60
62
|
}
|
|
61
63
|
exports.ApplicationToJSON = ApplicationToJSON;
|
|
@@ -65,6 +65,12 @@ export interface ApplicationRequest {
|
|
|
65
65
|
* @memberof ApplicationRequest
|
|
66
66
|
*/
|
|
67
67
|
policyEngineMode?: PolicyEngineMode;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof ApplicationRequest
|
|
72
|
+
*/
|
|
73
|
+
group?: string;
|
|
68
74
|
}
|
|
69
75
|
export declare function ApplicationRequestFromJSON(json: any): ApplicationRequest;
|
|
70
76
|
export declare function ApplicationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApplicationRequest;
|
|
@@ -34,6 +34,7 @@ function ApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'metaDescription': !runtime_1.exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
35
35
|
'metaPublisher': !runtime_1.exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
36
36
|
'policyEngineMode': !runtime_1.exists(json, 'policy_engine_mode') ? undefined : PolicyEngineMode_1.PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
37
|
+
'group': !runtime_1.exists(json, 'group') ? undefined : json['group'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
40
|
exports.ApplicationRequestFromJSONTyped = ApplicationRequestFromJSONTyped;
|
|
@@ -53,6 +54,7 @@ function ApplicationRequestToJSON(value) {
|
|
|
53
54
|
'meta_description': value.metaDescription,
|
|
54
55
|
'meta_publisher': value.metaPublisher,
|
|
55
56
|
'policy_engine_mode': PolicyEngineMode_1.PolicyEngineModeToJSON(value.policyEngineMode),
|
|
57
|
+
'group': value.group,
|
|
56
58
|
};
|
|
57
59
|
}
|
|
58
60
|
exports.ApplicationRequestToJSON = ApplicationRequestToJSON;
|
|
@@ -144,7 +144,7 @@ export interface OAuth2Provider {
|
|
|
144
144
|
* @type {Array<string>}
|
|
145
145
|
* @memberof OAuth2Provider
|
|
146
146
|
*/
|
|
147
|
-
verificationKeys
|
|
147
|
+
verificationKeys?: Array<string>;
|
|
148
148
|
}
|
|
149
149
|
export declare function OAuth2ProviderFromJSON(json: any): OAuth2Provider;
|
|
150
150
|
export declare function OAuth2ProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2Provider;
|
|
@@ -47,7 +47,7 @@ function OAuth2ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'redirectUris': !runtime_1.exists(json, 'redirect_uris') ? undefined : json['redirect_uris'],
|
|
48
48
|
'subMode': !runtime_1.exists(json, 'sub_mode') ? undefined : SubModeEnum_1.SubModeEnumFromJSON(json['sub_mode']),
|
|
49
49
|
'issuerMode': !runtime_1.exists(json, 'issuer_mode') ? undefined : IssuerModeEnum_1.IssuerModeEnumFromJSON(json['issuer_mode']),
|
|
50
|
-
'verificationKeys': json['verification_keys'],
|
|
50
|
+
'verificationKeys': !runtime_1.exists(json, 'verification_keys') ? undefined : json['verification_keys'],
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
exports.OAuth2ProviderFromJSONTyped = OAuth2ProviderFromJSONTyped;
|
|
@@ -102,7 +102,7 @@ export interface OAuth2ProviderRequest {
|
|
|
102
102
|
* @type {Array<string>}
|
|
103
103
|
* @memberof OAuth2ProviderRequest
|
|
104
104
|
*/
|
|
105
|
-
verificationKeys
|
|
105
|
+
verificationKeys?: Array<string>;
|
|
106
106
|
}
|
|
107
107
|
export declare function OAuth2ProviderRequestFromJSON(json: any): OAuth2ProviderRequest;
|
|
108
108
|
export declare function OAuth2ProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2ProviderRequest;
|
|
@@ -40,7 +40,7 @@ function OAuth2ProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'redirectUris': !runtime_1.exists(json, 'redirect_uris') ? undefined : json['redirect_uris'],
|
|
41
41
|
'subMode': !runtime_1.exists(json, 'sub_mode') ? undefined : SubModeEnum_1.SubModeEnumFromJSON(json['sub_mode']),
|
|
42
42
|
'issuerMode': !runtime_1.exists(json, 'issuer_mode') ? undefined : IssuerModeEnum_1.IssuerModeEnumFromJSON(json['issuer_mode']),
|
|
43
|
-
'verificationKeys': json['verification_keys'],
|
|
43
|
+
'verificationKeys': !runtime_1.exists(json, 'verification_keys') ? undefined : json['verification_keys'],
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
exports.OAuth2ProviderRequestFromJSONTyped = OAuth2ProviderRequestFromJSONTyped;
|
|
@@ -65,6 +65,12 @@ export interface PatchedApplicationRequest {
|
|
|
65
65
|
* @memberof PatchedApplicationRequest
|
|
66
66
|
*/
|
|
67
67
|
policyEngineMode?: PolicyEngineMode;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof PatchedApplicationRequest
|
|
72
|
+
*/
|
|
73
|
+
group?: string;
|
|
68
74
|
}
|
|
69
75
|
export declare function PatchedApplicationRequestFromJSON(json: any): PatchedApplicationRequest;
|
|
70
76
|
export declare function PatchedApplicationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedApplicationRequest;
|
|
@@ -34,6 +34,7 @@ function PatchedApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'metaDescription': !runtime_1.exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
35
35
|
'metaPublisher': !runtime_1.exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
36
36
|
'policyEngineMode': !runtime_1.exists(json, 'policy_engine_mode') ? undefined : PolicyEngineMode_1.PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
37
|
+
'group': !runtime_1.exists(json, 'group') ? undefined : json['group'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
40
|
exports.PatchedApplicationRequestFromJSONTyped = PatchedApplicationRequestFromJSONTyped;
|
|
@@ -53,6 +54,7 @@ function PatchedApplicationRequestToJSON(value) {
|
|
|
53
54
|
'meta_description': value.metaDescription,
|
|
54
55
|
'meta_publisher': value.metaPublisher,
|
|
55
56
|
'policy_engine_mode': PolicyEngineMode_1.PolicyEngineModeToJSON(value.policyEngineMode),
|
|
57
|
+
'group': value.group,
|
|
56
58
|
};
|
|
57
59
|
}
|
|
58
60
|
exports.PatchedApplicationRequestToJSON = PatchedApplicationRequestToJSON;
|
|
@@ -27,6 +27,14 @@ export interface PolicyTestResult {
|
|
|
27
27
|
* @memberof PolicyTestResult
|
|
28
28
|
*/
|
|
29
29
|
readonly messages: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<{ [key: string]: any; }>}
|
|
33
|
+
* @memberof PolicyTestResult
|
|
34
|
+
*/
|
|
35
|
+
readonly logMessages: Array<{
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}>;
|
|
30
38
|
}
|
|
31
39
|
export declare function PolicyTestResultFromJSON(json: any): PolicyTestResult;
|
|
32
40
|
export declare function PolicyTestResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): PolicyTestResult;
|
|
@@ -25,6 +25,7 @@ function PolicyTestResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
return {
|
|
26
26
|
'passing': json['passing'],
|
|
27
27
|
'messages': json['messages'],
|
|
28
|
+
'logMessages': json['log_messages'],
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
31
|
exports.PolicyTestResultFromJSONTyped = PolicyTestResultFromJSONTyped;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@goauthentik/api", "version": "2022.3.3-
|
|
1
|
+
{"name": "@goauthentik/api", "version": "2022.3.3-1648933813", "description": "OpenAPI client for @goauthentik/api", "author": "OpenAPI-Generator", "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts": {"build": "tsc && tsc --project tsconfig.esm.json", "prepare": "npm run build"}, "devDependencies": {"typescript": "^3.9.5"}, "license": "GPL-3.0-only", "module": "./dist/esm/index.js", "sideEffects": false}
|
|
@@ -98,6 +98,12 @@ export interface Application {
|
|
|
98
98
|
* @memberof Application
|
|
99
99
|
*/
|
|
100
100
|
policyEngineMode?: PolicyEngineMode;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof Application
|
|
105
|
+
*/
|
|
106
|
+
group?: string;
|
|
101
107
|
}
|
|
102
108
|
|
|
103
109
|
export function ApplicationFromJSON(json: any): Application {
|
|
@@ -121,6 +127,7 @@ export function ApplicationFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
121
127
|
'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
122
128
|
'metaPublisher': !exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
123
129
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
130
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
124
131
|
};
|
|
125
132
|
}
|
|
126
133
|
|
|
@@ -141,6 +148,7 @@ export function ApplicationToJSON(value?: Application | null): any {
|
|
|
141
148
|
'meta_description': value.metaDescription,
|
|
142
149
|
'meta_publisher': value.metaPublisher,
|
|
143
150
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
151
|
+
'group': value.group,
|
|
144
152
|
};
|
|
145
153
|
}
|
|
146
154
|
|
|
@@ -80,6 +80,12 @@ export interface ApplicationRequest {
|
|
|
80
80
|
* @memberof ApplicationRequest
|
|
81
81
|
*/
|
|
82
82
|
policyEngineMode?: PolicyEngineMode;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof ApplicationRequest
|
|
87
|
+
*/
|
|
88
|
+
group?: string;
|
|
83
89
|
}
|
|
84
90
|
|
|
85
91
|
export function ApplicationRequestFromJSON(json: any): ApplicationRequest {
|
|
@@ -100,6 +106,7 @@ export function ApplicationRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
100
106
|
'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
101
107
|
'metaPublisher': !exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
102
108
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
109
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
103
110
|
};
|
|
104
111
|
}
|
|
105
112
|
|
|
@@ -120,6 +127,7 @@ export function ApplicationRequestToJSON(value?: ApplicationRequest | null): any
|
|
|
120
127
|
'meta_description': value.metaDescription,
|
|
121
128
|
'meta_publisher': value.metaPublisher,
|
|
122
129
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
130
|
+
'group': value.group,
|
|
123
131
|
};
|
|
124
132
|
}
|
|
125
133
|
|
|
@@ -164,7 +164,7 @@ export interface OAuth2Provider {
|
|
|
164
164
|
* @type {Array<string>}
|
|
165
165
|
* @memberof OAuth2Provider
|
|
166
166
|
*/
|
|
167
|
-
verificationKeys
|
|
167
|
+
verificationKeys?: Array<string>;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
export function OAuth2ProviderFromJSON(json: any): OAuth2Provider {
|
|
@@ -197,7 +197,7 @@ export function OAuth2ProviderFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
197
197
|
'redirectUris': !exists(json, 'redirect_uris') ? undefined : json['redirect_uris'],
|
|
198
198
|
'subMode': !exists(json, 'sub_mode') ? undefined : SubModeEnumFromJSON(json['sub_mode']),
|
|
199
199
|
'issuerMode': !exists(json, 'issuer_mode') ? undefined : IssuerModeEnumFromJSON(json['issuer_mode']),
|
|
200
|
-
'verificationKeys': json['verification_keys'],
|
|
200
|
+
'verificationKeys': !exists(json, 'verification_keys') ? undefined : json['verification_keys'],
|
|
201
201
|
};
|
|
202
202
|
}
|
|
203
203
|
|
|
@@ -122,7 +122,7 @@ export interface OAuth2ProviderRequest {
|
|
|
122
122
|
* @type {Array<string>}
|
|
123
123
|
* @memberof OAuth2ProviderRequest
|
|
124
124
|
*/
|
|
125
|
-
verificationKeys
|
|
125
|
+
verificationKeys?: Array<string>;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
export function OAuth2ProviderRequestFromJSON(json: any): OAuth2ProviderRequest {
|
|
@@ -148,7 +148,7 @@ export function OAuth2ProviderRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
148
148
|
'redirectUris': !exists(json, 'redirect_uris') ? undefined : json['redirect_uris'],
|
|
149
149
|
'subMode': !exists(json, 'sub_mode') ? undefined : SubModeEnumFromJSON(json['sub_mode']),
|
|
150
150
|
'issuerMode': !exists(json, 'issuer_mode') ? undefined : IssuerModeEnumFromJSON(json['issuer_mode']),
|
|
151
|
-
'verificationKeys': json['verification_keys'],
|
|
151
|
+
'verificationKeys': !exists(json, 'verification_keys') ? undefined : json['verification_keys'],
|
|
152
152
|
};
|
|
153
153
|
}
|
|
154
154
|
|
|
@@ -80,6 +80,12 @@ export interface PatchedApplicationRequest {
|
|
|
80
80
|
* @memberof PatchedApplicationRequest
|
|
81
81
|
*/
|
|
82
82
|
policyEngineMode?: PolicyEngineMode;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PatchedApplicationRequest
|
|
87
|
+
*/
|
|
88
|
+
group?: string;
|
|
83
89
|
}
|
|
84
90
|
|
|
85
91
|
export function PatchedApplicationRequestFromJSON(json: any): PatchedApplicationRequest {
|
|
@@ -100,6 +106,7 @@ export function PatchedApplicationRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
100
106
|
'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
101
107
|
'metaPublisher': !exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
102
108
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
109
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
103
110
|
};
|
|
104
111
|
}
|
|
105
112
|
|
|
@@ -120,6 +127,7 @@ export function PatchedApplicationRequestToJSON(value?: PatchedApplicationReques
|
|
|
120
127
|
'meta_description': value.metaDescription,
|
|
121
128
|
'meta_publisher': value.metaPublisher,
|
|
122
129
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
130
|
+
'group': value.group,
|
|
123
131
|
};
|
|
124
132
|
}
|
|
125
133
|
|
|
@@ -31,6 +31,12 @@ export interface PolicyTestResult {
|
|
|
31
31
|
* @memberof PolicyTestResult
|
|
32
32
|
*/
|
|
33
33
|
readonly messages: Array<string>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Array<{ [key: string]: any; }>}
|
|
37
|
+
* @memberof PolicyTestResult
|
|
38
|
+
*/
|
|
39
|
+
readonly logMessages: Array<{ [key: string]: any; }>;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
export function PolicyTestResultFromJSON(json: any): PolicyTestResult {
|
|
@@ -45,6 +51,7 @@ export function PolicyTestResultFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
45
51
|
|
|
46
52
|
'passing': json['passing'],
|
|
47
53
|
'messages': json['messages'],
|
|
54
|
+
'logMessages': json['log_messages'],
|
|
48
55
|
};
|
|
49
56
|
}
|
|
50
57
|
|