@goauthentik/api 2023.8.3-1694462695 → 2023.8.3-1694716726
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/PatchedPolicyBindingRequest.d.ts +6 -0
- package/dist/esm/models/PatchedPolicyBindingRequest.js +2 -0
- package/dist/esm/models/PolicyBinding.d.ts +6 -0
- package/dist/esm/models/PolicyBinding.js +2 -0
- package/dist/esm/models/PolicyBindingRequest.d.ts +6 -0
- package/dist/esm/models/PolicyBindingRequest.js +2 -0
- package/dist/models/PatchedPolicyBindingRequest.d.ts +6 -0
- package/dist/models/PatchedPolicyBindingRequest.js +2 -0
- package/dist/models/PolicyBinding.d.ts +6 -0
- package/dist/models/PolicyBinding.js +2 -0
- package/dist/models/PolicyBindingRequest.d.ts +6 -0
- package/dist/models/PolicyBindingRequest.js +2 -0
- package/package.json +1 -1
- package/src/models/PatchedPolicyBindingRequest.ts +8 -0
- package/src/models/PolicyBinding.ts +8 -0
- package/src/models/PolicyBindingRequest.ts +8 -0
|
@@ -63,6 +63,12 @@ export interface PatchedPolicyBindingRequest {
|
|
|
63
63
|
* @memberof PatchedPolicyBindingRequest
|
|
64
64
|
*/
|
|
65
65
|
timeout?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Result if the Policy execution fails.
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof PatchedPolicyBindingRequest
|
|
70
|
+
*/
|
|
71
|
+
failureResult?: boolean;
|
|
66
72
|
}
|
|
67
73
|
/**
|
|
68
74
|
* Check if a given object implements the PatchedPolicyBindingRequest interface.
|
|
@@ -35,6 +35,7 @@ export function PatchedPolicyBindingRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
35
35
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
36
36
|
'order': !exists(json, 'order') ? undefined : json['order'],
|
|
37
37
|
'timeout': !exists(json, 'timeout') ? undefined : json['timeout'],
|
|
38
|
+
'failureResult': !exists(json, 'failure_result') ? undefined : json['failure_result'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
export function PatchedPolicyBindingRequestToJSON(value) {
|
|
@@ -53,5 +54,6 @@ export function PatchedPolicyBindingRequestToJSON(value) {
|
|
|
53
54
|
'enabled': value.enabled,
|
|
54
55
|
'order': value.order,
|
|
55
56
|
'timeout': value.timeout,
|
|
57
|
+
'failure_result': value.failureResult,
|
|
56
58
|
};
|
|
57
59
|
}
|
|
@@ -90,6 +90,12 @@ export interface PolicyBinding {
|
|
|
90
90
|
* @memberof PolicyBinding
|
|
91
91
|
*/
|
|
92
92
|
timeout?: number;
|
|
93
|
+
/**
|
|
94
|
+
* Result if the Policy execution fails.
|
|
95
|
+
* @type {boolean}
|
|
96
|
+
* @memberof PolicyBinding
|
|
97
|
+
*/
|
|
98
|
+
failureResult?: boolean;
|
|
93
99
|
}
|
|
94
100
|
/**
|
|
95
101
|
* Check if a given object implements the PolicyBinding interface.
|
|
@@ -48,6 +48,7 @@ export function PolicyBindingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
48
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
49
49
|
'order': json['order'],
|
|
50
50
|
'timeout': !exists(json, 'timeout') ? undefined : json['timeout'],
|
|
51
|
+
'failureResult': !exists(json, 'failure_result') ? undefined : json['failure_result'],
|
|
51
52
|
};
|
|
52
53
|
}
|
|
53
54
|
export function PolicyBindingToJSON(value) {
|
|
@@ -66,5 +67,6 @@ export function PolicyBindingToJSON(value) {
|
|
|
66
67
|
'enabled': value.enabled,
|
|
67
68
|
'order': value.order,
|
|
68
69
|
'timeout': value.timeout,
|
|
70
|
+
'failure_result': value.failureResult,
|
|
69
71
|
};
|
|
70
72
|
}
|
|
@@ -63,6 +63,12 @@ export interface PolicyBindingRequest {
|
|
|
63
63
|
* @memberof PolicyBindingRequest
|
|
64
64
|
*/
|
|
65
65
|
timeout?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Result if the Policy execution fails.
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof PolicyBindingRequest
|
|
70
|
+
*/
|
|
71
|
+
failureResult?: boolean;
|
|
66
72
|
}
|
|
67
73
|
/**
|
|
68
74
|
* Check if a given object implements the PolicyBindingRequest interface.
|
|
@@ -37,6 +37,7 @@ export function PolicyBindingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
38
38
|
'order': json['order'],
|
|
39
39
|
'timeout': !exists(json, 'timeout') ? undefined : json['timeout'],
|
|
40
|
+
'failureResult': !exists(json, 'failure_result') ? undefined : json['failure_result'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
export function PolicyBindingRequestToJSON(value) {
|
|
@@ -55,5 +56,6 @@ export function PolicyBindingRequestToJSON(value) {
|
|
|
55
56
|
'enabled': value.enabled,
|
|
56
57
|
'order': value.order,
|
|
57
58
|
'timeout': value.timeout,
|
|
59
|
+
'failure_result': value.failureResult,
|
|
58
60
|
};
|
|
59
61
|
}
|
|
@@ -63,6 +63,12 @@ export interface PatchedPolicyBindingRequest {
|
|
|
63
63
|
* @memberof PatchedPolicyBindingRequest
|
|
64
64
|
*/
|
|
65
65
|
timeout?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Result if the Policy execution fails.
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof PatchedPolicyBindingRequest
|
|
70
|
+
*/
|
|
71
|
+
failureResult?: boolean;
|
|
66
72
|
}
|
|
67
73
|
/**
|
|
68
74
|
* Check if a given object implements the PatchedPolicyBindingRequest interface.
|
|
@@ -40,6 +40,7 @@ function PatchedPolicyBindingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
|
41
41
|
'order': !(0, runtime_1.exists)(json, 'order') ? undefined : json['order'],
|
|
42
42
|
'timeout': !(0, runtime_1.exists)(json, 'timeout') ? undefined : json['timeout'],
|
|
43
|
+
'failureResult': !(0, runtime_1.exists)(json, 'failure_result') ? undefined : json['failure_result'],
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
exports.PatchedPolicyBindingRequestFromJSONTyped = PatchedPolicyBindingRequestFromJSONTyped;
|
|
@@ -59,6 +60,7 @@ function PatchedPolicyBindingRequestToJSON(value) {
|
|
|
59
60
|
'enabled': value.enabled,
|
|
60
61
|
'order': value.order,
|
|
61
62
|
'timeout': value.timeout,
|
|
63
|
+
'failure_result': value.failureResult,
|
|
62
64
|
};
|
|
63
65
|
}
|
|
64
66
|
exports.PatchedPolicyBindingRequestToJSON = PatchedPolicyBindingRequestToJSON;
|
|
@@ -90,6 +90,12 @@ export interface PolicyBinding {
|
|
|
90
90
|
* @memberof PolicyBinding
|
|
91
91
|
*/
|
|
92
92
|
timeout?: number;
|
|
93
|
+
/**
|
|
94
|
+
* Result if the Policy execution fails.
|
|
95
|
+
* @type {boolean}
|
|
96
|
+
* @memberof PolicyBinding
|
|
97
|
+
*/
|
|
98
|
+
failureResult?: boolean;
|
|
93
99
|
}
|
|
94
100
|
/**
|
|
95
101
|
* Check if a given object implements the PolicyBinding interface.
|
|
@@ -53,6 +53,7 @@ function PolicyBindingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
53
|
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
|
54
54
|
'order': json['order'],
|
|
55
55
|
'timeout': !(0, runtime_1.exists)(json, 'timeout') ? undefined : json['timeout'],
|
|
56
|
+
'failureResult': !(0, runtime_1.exists)(json, 'failure_result') ? undefined : json['failure_result'],
|
|
56
57
|
};
|
|
57
58
|
}
|
|
58
59
|
exports.PolicyBindingFromJSONTyped = PolicyBindingFromJSONTyped;
|
|
@@ -72,6 +73,7 @@ function PolicyBindingToJSON(value) {
|
|
|
72
73
|
'enabled': value.enabled,
|
|
73
74
|
'order': value.order,
|
|
74
75
|
'timeout': value.timeout,
|
|
76
|
+
'failure_result': value.failureResult,
|
|
75
77
|
};
|
|
76
78
|
}
|
|
77
79
|
exports.PolicyBindingToJSON = PolicyBindingToJSON;
|
|
@@ -63,6 +63,12 @@ export interface PolicyBindingRequest {
|
|
|
63
63
|
* @memberof PolicyBindingRequest
|
|
64
64
|
*/
|
|
65
65
|
timeout?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Result if the Policy execution fails.
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof PolicyBindingRequest
|
|
70
|
+
*/
|
|
71
|
+
failureResult?: boolean;
|
|
66
72
|
}
|
|
67
73
|
/**
|
|
68
74
|
* Check if a given object implements the PolicyBindingRequest interface.
|
|
@@ -42,6 +42,7 @@ function PolicyBindingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
|
43
43
|
'order': json['order'],
|
|
44
44
|
'timeout': !(0, runtime_1.exists)(json, 'timeout') ? undefined : json['timeout'],
|
|
45
|
+
'failureResult': !(0, runtime_1.exists)(json, 'failure_result') ? undefined : json['failure_result'],
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
exports.PolicyBindingRequestFromJSONTyped = PolicyBindingRequestFromJSONTyped;
|
|
@@ -61,6 +62,7 @@ function PolicyBindingRequestToJSON(value) {
|
|
|
61
62
|
'enabled': value.enabled,
|
|
62
63
|
'order': value.order,
|
|
63
64
|
'timeout': value.timeout,
|
|
65
|
+
'failure_result': value.failureResult,
|
|
64
66
|
};
|
|
65
67
|
}
|
|
66
68
|
exports.PolicyBindingRequestToJSON = PolicyBindingRequestToJSON;
|
package/package.json
CHANGED
|
@@ -67,6 +67,12 @@ export interface PatchedPolicyBindingRequest {
|
|
|
67
67
|
* @memberof PatchedPolicyBindingRequest
|
|
68
68
|
*/
|
|
69
69
|
timeout?: number;
|
|
70
|
+
/**
|
|
71
|
+
* Result if the Policy execution fails.
|
|
72
|
+
* @type {boolean}
|
|
73
|
+
* @memberof PatchedPolicyBindingRequest
|
|
74
|
+
*/
|
|
75
|
+
failureResult?: boolean;
|
|
70
76
|
}
|
|
71
77
|
|
|
72
78
|
/**
|
|
@@ -96,6 +102,7 @@ export function PatchedPolicyBindingRequestFromJSONTyped(json: any, ignoreDiscri
|
|
|
96
102
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
97
103
|
'order': !exists(json, 'order') ? undefined : json['order'],
|
|
98
104
|
'timeout': !exists(json, 'timeout') ? undefined : json['timeout'],
|
|
105
|
+
'failureResult': !exists(json, 'failure_result') ? undefined : json['failure_result'],
|
|
99
106
|
};
|
|
100
107
|
}
|
|
101
108
|
|
|
@@ -116,6 +123,7 @@ export function PatchedPolicyBindingRequestToJSON(value?: PatchedPolicyBindingRe
|
|
|
116
123
|
'enabled': value.enabled,
|
|
117
124
|
'order': value.order,
|
|
118
125
|
'timeout': value.timeout,
|
|
126
|
+
'failure_result': value.failureResult,
|
|
119
127
|
};
|
|
120
128
|
}
|
|
121
129
|
|
|
@@ -110,6 +110,12 @@ export interface PolicyBinding {
|
|
|
110
110
|
* @memberof PolicyBinding
|
|
111
111
|
*/
|
|
112
112
|
timeout?: number;
|
|
113
|
+
/**
|
|
114
|
+
* Result if the Policy execution fails.
|
|
115
|
+
* @type {boolean}
|
|
116
|
+
* @memberof PolicyBinding
|
|
117
|
+
*/
|
|
118
|
+
failureResult?: boolean;
|
|
113
119
|
}
|
|
114
120
|
|
|
115
121
|
/**
|
|
@@ -149,6 +155,7 @@ export function PolicyBindingFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
149
155
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
150
156
|
'order': json['order'],
|
|
151
157
|
'timeout': !exists(json, 'timeout') ? undefined : json['timeout'],
|
|
158
|
+
'failureResult': !exists(json, 'failure_result') ? undefined : json['failure_result'],
|
|
152
159
|
};
|
|
153
160
|
}
|
|
154
161
|
|
|
@@ -169,6 +176,7 @@ export function PolicyBindingToJSON(value?: PolicyBinding | null): any {
|
|
|
169
176
|
'enabled': value.enabled,
|
|
170
177
|
'order': value.order,
|
|
171
178
|
'timeout': value.timeout,
|
|
179
|
+
'failure_result': value.failureResult,
|
|
172
180
|
};
|
|
173
181
|
}
|
|
174
182
|
|
|
@@ -67,6 +67,12 @@ export interface PolicyBindingRequest {
|
|
|
67
67
|
* @memberof PolicyBindingRequest
|
|
68
68
|
*/
|
|
69
69
|
timeout?: number;
|
|
70
|
+
/**
|
|
71
|
+
* Result if the Policy execution fails.
|
|
72
|
+
* @type {boolean}
|
|
73
|
+
* @memberof PolicyBindingRequest
|
|
74
|
+
*/
|
|
75
|
+
failureResult?: boolean;
|
|
70
76
|
}
|
|
71
77
|
|
|
72
78
|
/**
|
|
@@ -98,6 +104,7 @@ export function PolicyBindingRequestFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
98
104
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
99
105
|
'order': json['order'],
|
|
100
106
|
'timeout': !exists(json, 'timeout') ? undefined : json['timeout'],
|
|
107
|
+
'failureResult': !exists(json, 'failure_result') ? undefined : json['failure_result'],
|
|
101
108
|
};
|
|
102
109
|
}
|
|
103
110
|
|
|
@@ -118,6 +125,7 @@ export function PolicyBindingRequestToJSON(value?: PolicyBindingRequest | null):
|
|
|
118
125
|
'enabled': value.enabled,
|
|
119
126
|
'order': value.order,
|
|
120
127
|
'timeout': value.timeout,
|
|
128
|
+
'failure_result': value.failureResult,
|
|
121
129
|
};
|
|
122
130
|
}
|
|
123
131
|
|