@keycloak/keycloak-admin-client 17.0.0-dev.21 → 17.0.0-dev.25
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/lib/client.d.ts +4 -0
- package/lib/client.js +4 -0
- package/lib/client.js.map +1 -1
- package/lib/defs/policyRepresentation.d.ts +4 -0
- package/lib/defs/policyRepresentation.js +6 -1
- package/lib/defs/policyRepresentation.js.map +1 -1
- package/lib/defs/policyResultRepresentation.d.ts +7 -0
- package/lib/defs/policyResultRepresentation.js +3 -0
- package/lib/defs/policyResultRepresentation.js.map +1 -0
- package/lib/resources/agent.d.ts +1 -1
- package/lib/resources/agent.js +4 -14
- package/lib/resources/agent.js.map +1 -1
- package/lib/resources/attackDetection.d.ts +3 -3
- package/lib/resources/authenticationManagement.d.ts +27 -27
- package/lib/resources/cache.d.ts +1 -1
- package/lib/resources/clientPolicies.d.ts +4 -4
- package/lib/resources/clientScopes.d.ts +21 -21
- package/lib/resources/clients.d.ts +68 -68
- package/lib/resources/components.d.ts +5 -5
- package/lib/resources/groups.d.ts +18 -18
- package/lib/resources/identityProviders.d.ts +11 -11
- package/lib/resources/realms.d.ts +26 -26
- package/lib/resources/resource.d.ts +1 -1
- package/lib/resources/roles.d.ts +10 -10
- package/lib/resources/serverInfo.d.ts +1 -1
- package/lib/resources/sessions.d.ts +1 -1
- package/lib/resources/userStorageProvider.d.ts +5 -5
- package/lib/resources/users.d.ts +38 -38
- package/lib/resources/whoAmI.d.ts +1 -1
- package/package.json +1 -1
|
@@ -49,17 +49,17 @@ export declare class Clients extends Resource<{
|
|
|
49
49
|
}> {
|
|
50
50
|
find: (payload?: (ClientQuery & {
|
|
51
51
|
realm?: string | undefined;
|
|
52
|
-
}) | undefined) => Promise<ClientRepresentation[]>;
|
|
52
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientRepresentation[]>;
|
|
53
53
|
create: (payload?: (ClientRepresentation & {
|
|
54
54
|
realm?: string | undefined;
|
|
55
|
-
}) | undefined) => Promise<{
|
|
55
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
56
56
|
id: string;
|
|
57
57
|
}>;
|
|
58
58
|
findOne: (payload?: ({
|
|
59
59
|
id: string;
|
|
60
60
|
} & {
|
|
61
61
|
realm?: string | undefined;
|
|
62
|
-
}) | undefined) => Promise<ClientRepresentation | undefined>;
|
|
62
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientRepresentation | undefined>;
|
|
63
63
|
update: (query: {
|
|
64
64
|
id: string;
|
|
65
65
|
} & {
|
|
@@ -69,23 +69,23 @@ export declare class Clients extends Resource<{
|
|
|
69
69
|
id: string;
|
|
70
70
|
} & {
|
|
71
71
|
realm?: string | undefined;
|
|
72
|
-
}) | undefined) => Promise<void>;
|
|
72
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
73
73
|
createRole: (payload?: (RoleRepresentation & {
|
|
74
74
|
realm?: string | undefined;
|
|
75
|
-
}) | undefined) => Promise<{
|
|
75
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
76
76
|
roleName: string;
|
|
77
77
|
}>;
|
|
78
78
|
listRoles: (payload?: ({
|
|
79
79
|
id: string;
|
|
80
80
|
} & {
|
|
81
81
|
realm?: string | undefined;
|
|
82
|
-
}) | undefined) => Promise<RoleRepresentation[]>;
|
|
82
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
83
83
|
findRole: (payload?: ({
|
|
84
84
|
id: string;
|
|
85
85
|
roleName: string;
|
|
86
86
|
} & {
|
|
87
87
|
realm?: string | undefined;
|
|
88
|
-
}) | undefined) => Promise<RoleRepresentation>;
|
|
88
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation>;
|
|
89
89
|
updateRole: (query: {
|
|
90
90
|
id: string;
|
|
91
91
|
roleName: string;
|
|
@@ -97,7 +97,7 @@ export declare class Clients extends Resource<{
|
|
|
97
97
|
roleName: string;
|
|
98
98
|
} & {
|
|
99
99
|
realm?: string | undefined;
|
|
100
|
-
}) | undefined) => Promise<void>;
|
|
100
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
101
101
|
findUsersWithRole: (payload?: ({
|
|
102
102
|
id: string;
|
|
103
103
|
roleName: string;
|
|
@@ -105,63 +105,63 @@ export declare class Clients extends Resource<{
|
|
|
105
105
|
max?: number | undefined;
|
|
106
106
|
} & {
|
|
107
107
|
realm?: string | undefined;
|
|
108
|
-
}) | undefined) => Promise<UserRepresentation[]>;
|
|
108
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<UserRepresentation[]>;
|
|
109
109
|
getServiceAccountUser: (payload?: ({
|
|
110
110
|
id: string;
|
|
111
111
|
} & {
|
|
112
112
|
realm?: string | undefined;
|
|
113
|
-
}) | undefined) => Promise<UserRepresentation>;
|
|
113
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<UserRepresentation>;
|
|
114
114
|
generateNewClientSecret: (payload?: ({
|
|
115
115
|
id: string;
|
|
116
116
|
} & {
|
|
117
117
|
realm?: string | undefined;
|
|
118
|
-
}) | undefined) => Promise<CredentialRepresentation>;
|
|
118
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<CredentialRepresentation>;
|
|
119
119
|
generateRegistrationAccessToken: (payload?: ({
|
|
120
120
|
id: string;
|
|
121
121
|
} & {
|
|
122
122
|
realm?: string | undefined;
|
|
123
|
-
}) | undefined) => Promise<{
|
|
123
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
124
124
|
registrationAccessToken: string;
|
|
125
125
|
}>;
|
|
126
126
|
getClientSecret: (payload?: ({
|
|
127
127
|
id: string;
|
|
128
128
|
} & {
|
|
129
129
|
realm?: string | undefined;
|
|
130
|
-
}) | undefined) => Promise<CredentialRepresentation>;
|
|
130
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<CredentialRepresentation>;
|
|
131
131
|
listDefaultClientScopes: (payload?: ({
|
|
132
132
|
id: string;
|
|
133
133
|
} & {
|
|
134
134
|
realm?: string | undefined;
|
|
135
|
-
}) | undefined) => Promise<ClientScopeRepresentation[]>;
|
|
135
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientScopeRepresentation[]>;
|
|
136
136
|
addDefaultClientScope: (payload?: ({
|
|
137
137
|
id: string;
|
|
138
138
|
clientScopeId: string;
|
|
139
139
|
} & {
|
|
140
140
|
realm?: string | undefined;
|
|
141
|
-
}) | undefined) => Promise<void>;
|
|
141
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
142
142
|
delDefaultClientScope: (payload?: ({
|
|
143
143
|
id: string;
|
|
144
144
|
clientScopeId: string;
|
|
145
145
|
} & {
|
|
146
146
|
realm?: string | undefined;
|
|
147
|
-
}) | undefined) => Promise<void>;
|
|
147
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
148
148
|
listOptionalClientScopes: (payload?: ({
|
|
149
149
|
id: string;
|
|
150
150
|
} & {
|
|
151
151
|
realm?: string | undefined;
|
|
152
|
-
}) | undefined) => Promise<ClientScopeRepresentation[]>;
|
|
152
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientScopeRepresentation[]>;
|
|
153
153
|
addOptionalClientScope: (payload?: ({
|
|
154
154
|
id: string;
|
|
155
155
|
clientScopeId: string;
|
|
156
156
|
} & {
|
|
157
157
|
realm?: string | undefined;
|
|
158
|
-
}) | undefined) => Promise<void>;
|
|
158
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
159
159
|
delOptionalClientScope: (payload?: ({
|
|
160
160
|
id: string;
|
|
161
161
|
clientScopeId: string;
|
|
162
162
|
} & {
|
|
163
163
|
realm?: string | undefined;
|
|
164
|
-
}) | undefined) => Promise<void>;
|
|
164
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
165
165
|
addMultipleProtocolMappers: (query: {
|
|
166
166
|
id: string;
|
|
167
167
|
} & {
|
|
@@ -176,19 +176,19 @@ export declare class Clients extends Resource<{
|
|
|
176
176
|
id: string;
|
|
177
177
|
} & {
|
|
178
178
|
realm?: string | undefined;
|
|
179
|
-
}) | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
179
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
180
180
|
findProtocolMapperById: (payload?: ({
|
|
181
181
|
id: string;
|
|
182
182
|
mapperId: string;
|
|
183
183
|
} & {
|
|
184
184
|
realm?: string | undefined;
|
|
185
|
-
}) | undefined) => Promise<ProtocolMapperRepresentation>;
|
|
185
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation>;
|
|
186
186
|
findProtocolMappersByProtocol: (payload?: ({
|
|
187
187
|
id: string;
|
|
188
188
|
protocol: string;
|
|
189
189
|
} & {
|
|
190
190
|
realm?: string | undefined;
|
|
191
|
-
}) | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
191
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
192
192
|
updateProtocolMapper: (query: {
|
|
193
193
|
id: string;
|
|
194
194
|
mapperId: string;
|
|
@@ -200,12 +200,12 @@ export declare class Clients extends Resource<{
|
|
|
200
200
|
mapperId: string;
|
|
201
201
|
} & {
|
|
202
202
|
realm?: string | undefined;
|
|
203
|
-
}) | undefined) => Promise<void>;
|
|
203
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
204
204
|
listScopeMappings: (payload?: ({
|
|
205
205
|
id: string;
|
|
206
206
|
} & {
|
|
207
207
|
realm?: string | undefined;
|
|
208
|
-
}) | undefined) => Promise<MappingsRepresentation>;
|
|
208
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<MappingsRepresentation>;
|
|
209
209
|
addClientScopeMappings: (query: {
|
|
210
210
|
id: string;
|
|
211
211
|
client: string;
|
|
@@ -217,19 +217,19 @@ export declare class Clients extends Resource<{
|
|
|
217
217
|
client: string;
|
|
218
218
|
} & {
|
|
219
219
|
realm?: string | undefined;
|
|
220
|
-
}) | undefined) => Promise<RoleRepresentation[]>;
|
|
220
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
221
221
|
listAvailableClientScopeMappings: (payload?: ({
|
|
222
222
|
id: string;
|
|
223
223
|
client: string;
|
|
224
224
|
} & {
|
|
225
225
|
realm?: string | undefined;
|
|
226
|
-
}) | undefined) => Promise<RoleRepresentation[]>;
|
|
226
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
227
227
|
listCompositeClientScopeMappings: (payload?: ({
|
|
228
228
|
id: string;
|
|
229
229
|
client: string;
|
|
230
230
|
} & {
|
|
231
231
|
realm?: string | undefined;
|
|
232
|
-
}) | undefined) => Promise<RoleRepresentation[]>;
|
|
232
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
233
233
|
delClientScopeMappings: (query: {
|
|
234
234
|
id: string;
|
|
235
235
|
client: string;
|
|
@@ -243,20 +243,20 @@ export declare class Clients extends Resource<{
|
|
|
243
243
|
scope: string;
|
|
244
244
|
} & {
|
|
245
245
|
realm?: string | undefined;
|
|
246
|
-
}) | undefined) => Promise<RoleRepresentation[]>;
|
|
246
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
247
247
|
evaluateListProtocolMapper: (payload?: ({
|
|
248
248
|
id: string;
|
|
249
249
|
scope: string;
|
|
250
250
|
} & {
|
|
251
251
|
realm?: string | undefined;
|
|
252
|
-
}) | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
252
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
253
253
|
evaluateGenerateAccessToken: (payload?: ({
|
|
254
254
|
id: string;
|
|
255
255
|
scope: string;
|
|
256
256
|
userId: string;
|
|
257
257
|
} & {
|
|
258
258
|
realm?: string | undefined;
|
|
259
|
-
}) | undefined) => Promise<object>;
|
|
259
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<object>;
|
|
260
260
|
addRealmScopeMappings: (query: {
|
|
261
261
|
id: string;
|
|
262
262
|
} & {
|
|
@@ -266,17 +266,17 @@ export declare class Clients extends Resource<{
|
|
|
266
266
|
id: string;
|
|
267
267
|
} & {
|
|
268
268
|
realm?: string | undefined;
|
|
269
|
-
}) | undefined) => Promise<RoleRepresentation[]>;
|
|
269
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
270
270
|
listAvailableRealmScopeMappings: (payload?: ({
|
|
271
271
|
id: string;
|
|
272
272
|
} & {
|
|
273
273
|
realm?: string | undefined;
|
|
274
|
-
}) | undefined) => Promise<RoleRepresentation[]>;
|
|
274
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
275
275
|
listCompositeRealmScopeMappings: (payload?: ({
|
|
276
276
|
id: string;
|
|
277
277
|
} & {
|
|
278
278
|
realm?: string | undefined;
|
|
279
|
-
}) | undefined) => Promise<RoleRepresentation[]>;
|
|
279
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
280
280
|
delRealmScopeMappings: (query: {
|
|
281
281
|
id: string;
|
|
282
282
|
} & {
|
|
@@ -288,26 +288,26 @@ export declare class Clients extends Resource<{
|
|
|
288
288
|
max?: number | undefined;
|
|
289
289
|
} & {
|
|
290
290
|
realm?: string | undefined;
|
|
291
|
-
}) | undefined) => Promise<UserSessionRepresentation[]>;
|
|
291
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<UserSessionRepresentation[]>;
|
|
292
292
|
listOfflineSessions: (payload?: ({
|
|
293
293
|
id: string;
|
|
294
294
|
first?: number | undefined;
|
|
295
295
|
max?: number | undefined;
|
|
296
296
|
} & {
|
|
297
297
|
realm?: string | undefined;
|
|
298
|
-
}) | undefined) => Promise<UserSessionRepresentation[]>;
|
|
298
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<UserSessionRepresentation[]>;
|
|
299
299
|
getSessionCount: (payload?: ({
|
|
300
300
|
id: string;
|
|
301
301
|
} & {
|
|
302
302
|
realm?: string | undefined;
|
|
303
|
-
}) | undefined) => Promise<{
|
|
303
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
304
304
|
count: number;
|
|
305
305
|
}>;
|
|
306
306
|
getResourceServer: (payload?: ({
|
|
307
307
|
id: string;
|
|
308
308
|
} & {
|
|
309
309
|
realm?: string | undefined;
|
|
310
|
-
}) | undefined) => Promise<ResourceServerRepresentation>;
|
|
310
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceServerRepresentation>;
|
|
311
311
|
updateResourceServer: (query: {
|
|
312
312
|
id: string;
|
|
313
313
|
} & {
|
|
@@ -315,7 +315,7 @@ export declare class Clients extends Resource<{
|
|
|
315
315
|
}, payload: ResourceServerRepresentation) => Promise<void>;
|
|
316
316
|
listResources: (payload?: (ResourceQuery & {
|
|
317
317
|
realm?: string | undefined;
|
|
318
|
-
}) | undefined) => Promise<ResourceRepresentation[]>;
|
|
318
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceRepresentation[]>;
|
|
319
319
|
createResource: (query: {
|
|
320
320
|
id: string;
|
|
321
321
|
} & {
|
|
@@ -326,7 +326,7 @@ export declare class Clients extends Resource<{
|
|
|
326
326
|
resourceId: string;
|
|
327
327
|
} & {
|
|
328
328
|
realm?: string | undefined;
|
|
329
|
-
}) | undefined) => Promise<ResourceRepresentation>;
|
|
329
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceRepresentation>;
|
|
330
330
|
updateResource: (query: {
|
|
331
331
|
id: string;
|
|
332
332
|
resourceId: string;
|
|
@@ -338,7 +338,7 @@ export declare class Clients extends Resource<{
|
|
|
338
338
|
resourceId: string;
|
|
339
339
|
} & {
|
|
340
340
|
realm?: string | undefined;
|
|
341
|
-
}) | undefined) => Promise<void>;
|
|
341
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
342
342
|
importResource: (query: {
|
|
343
343
|
id: string;
|
|
344
344
|
} & {
|
|
@@ -348,7 +348,7 @@ export declare class Clients extends Resource<{
|
|
|
348
348
|
id: string;
|
|
349
349
|
} & {
|
|
350
350
|
realm?: string | undefined;
|
|
351
|
-
}) | undefined) => Promise<any>;
|
|
351
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<any>;
|
|
352
352
|
evaluateResource: (query: {
|
|
353
353
|
id: string;
|
|
354
354
|
} & {
|
|
@@ -356,13 +356,13 @@ export declare class Clients extends Resource<{
|
|
|
356
356
|
}, payload: ResourceEvaluation) => Promise<any>;
|
|
357
357
|
listPolicies: (payload?: (PolicyQuery & {
|
|
358
358
|
realm?: string | undefined;
|
|
359
|
-
}) | undefined) => Promise<PolicyRepresentation[]>;
|
|
359
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
360
360
|
findPolicyByName: (payload?: ({
|
|
361
361
|
id: string;
|
|
362
362
|
name: string;
|
|
363
363
|
} & {
|
|
364
364
|
realm?: string | undefined;
|
|
365
|
-
}) | undefined) => Promise<PolicyRepresentation>;
|
|
365
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation>;
|
|
366
366
|
updatePolicy: (query: {
|
|
367
367
|
id: string;
|
|
368
368
|
type: string;
|
|
@@ -382,24 +382,24 @@ export declare class Clients extends Resource<{
|
|
|
382
382
|
policyId: string;
|
|
383
383
|
} & {
|
|
384
384
|
realm?: string | undefined;
|
|
385
|
-
}) | undefined) => Promise<void>;
|
|
385
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
386
386
|
listDependentPolicies: (payload?: ({
|
|
387
387
|
id: string;
|
|
388
388
|
policyId: string;
|
|
389
389
|
} & {
|
|
390
390
|
realm?: string | undefined;
|
|
391
|
-
}) | undefined) => Promise<PolicyRepresentation[]>;
|
|
391
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
392
392
|
delPolicy: (payload?: ({
|
|
393
393
|
id: string;
|
|
394
394
|
policyId: string;
|
|
395
395
|
} & {
|
|
396
396
|
realm?: string | undefined;
|
|
397
|
-
}) | undefined) => Promise<void>;
|
|
397
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
398
398
|
listPolicyProviders: (payload?: ({
|
|
399
399
|
id: string;
|
|
400
400
|
} & {
|
|
401
401
|
realm?: string | undefined;
|
|
402
|
-
}) | undefined) => Promise<PolicyProviderRepresentation[]>;
|
|
402
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyProviderRepresentation[]>;
|
|
403
403
|
createOrUpdatePolicy(payload: {
|
|
404
404
|
id: string;
|
|
405
405
|
policyName: string;
|
|
@@ -411,31 +411,31 @@ export declare class Clients extends Resource<{
|
|
|
411
411
|
deep?: boolean | undefined;
|
|
412
412
|
} & PaginatedQuery & {
|
|
413
413
|
realm?: string | undefined;
|
|
414
|
-
}) | undefined) => Promise<ScopeRepresentation[]>;
|
|
414
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ScopeRepresentation[]>;
|
|
415
415
|
listAllResourcesByScope: (payload?: ({
|
|
416
416
|
id: string;
|
|
417
417
|
scopeId: string;
|
|
418
418
|
} & {
|
|
419
419
|
realm?: string | undefined;
|
|
420
|
-
}) | undefined) => Promise<ResourceRepresentation[]>;
|
|
420
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceRepresentation[]>;
|
|
421
421
|
listAllPermissionsByScope: (payload?: ({
|
|
422
422
|
id: string;
|
|
423
423
|
scopeId: string;
|
|
424
424
|
} & {
|
|
425
425
|
realm?: string | undefined;
|
|
426
|
-
}) | undefined) => Promise<PolicyRepresentation[]>;
|
|
426
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
427
427
|
listPermissionsByResource: (payload?: ({
|
|
428
428
|
id: string;
|
|
429
429
|
resourceId: string;
|
|
430
430
|
} & {
|
|
431
431
|
realm?: string | undefined;
|
|
432
|
-
}) | undefined) => Promise<ResourceServerRepresentation[]>;
|
|
432
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceServerRepresentation[]>;
|
|
433
433
|
listScopesByResource: (payload?: ({
|
|
434
434
|
id: string;
|
|
435
435
|
resourceName: string;
|
|
436
436
|
} & {
|
|
437
437
|
realm?: string | undefined;
|
|
438
|
-
}) | undefined) => Promise<{
|
|
438
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
439
439
|
id: string;
|
|
440
440
|
name: string;
|
|
441
441
|
}[]>;
|
|
@@ -455,13 +455,13 @@ export declare class Clients extends Resource<{
|
|
|
455
455
|
scopeId: string;
|
|
456
456
|
} & {
|
|
457
457
|
realm?: string | undefined;
|
|
458
|
-
}) | undefined) => Promise<ScopeRepresentation>;
|
|
458
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ScopeRepresentation>;
|
|
459
459
|
delAuthorizationScope: (payload?: ({
|
|
460
460
|
id: string;
|
|
461
461
|
scopeId: string;
|
|
462
462
|
} & {
|
|
463
463
|
realm?: string | undefined;
|
|
464
|
-
}) | undefined) => Promise<void>;
|
|
464
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
465
465
|
findPermissions: (payload?: ({
|
|
466
466
|
id: string;
|
|
467
467
|
name?: string | undefined;
|
|
@@ -469,7 +469,7 @@ export declare class Clients extends Resource<{
|
|
|
469
469
|
scope?: string | undefined;
|
|
470
470
|
} & PaginatedQuery & {
|
|
471
471
|
realm?: string | undefined;
|
|
472
|
-
}) | undefined) => Promise<PolicyRepresentation[]>;
|
|
472
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
473
473
|
createPermission: (query: {
|
|
474
474
|
id: string;
|
|
475
475
|
type: string;
|
|
@@ -489,20 +489,20 @@ export declare class Clients extends Resource<{
|
|
|
489
489
|
permissionId: string;
|
|
490
490
|
} & {
|
|
491
491
|
realm?: string | undefined;
|
|
492
|
-
}) | undefined) => Promise<void>;
|
|
492
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
493
493
|
findOnePermission: (payload?: ({
|
|
494
494
|
id: string;
|
|
495
495
|
type: string;
|
|
496
496
|
permissionId: string;
|
|
497
497
|
} & {
|
|
498
498
|
realm?: string | undefined;
|
|
499
|
-
}) | undefined) => Promise<PolicyRepresentation | undefined>;
|
|
499
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation | undefined>;
|
|
500
500
|
getAssociatedScopes: (payload?: ({
|
|
501
501
|
id: string;
|
|
502
502
|
permissionId: string;
|
|
503
503
|
} & {
|
|
504
504
|
realm?: string | undefined;
|
|
505
|
-
}) | undefined) => Promise<{
|
|
505
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
506
506
|
id: string;
|
|
507
507
|
name: string;
|
|
508
508
|
}[]>;
|
|
@@ -511,7 +511,7 @@ export declare class Clients extends Resource<{
|
|
|
511
511
|
permissionId: string;
|
|
512
512
|
} & {
|
|
513
513
|
realm?: string | undefined;
|
|
514
|
-
}) | undefined) => Promise<{
|
|
514
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
515
515
|
_id: string;
|
|
516
516
|
name: string;
|
|
517
517
|
}[]>;
|
|
@@ -520,12 +520,12 @@ export declare class Clients extends Resource<{
|
|
|
520
520
|
permissionId: string;
|
|
521
521
|
} & {
|
|
522
522
|
realm?: string | undefined;
|
|
523
|
-
}) | undefined) => Promise<PolicyRepresentation[]>;
|
|
523
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
524
524
|
getOfflineSessionCount: (payload?: ({
|
|
525
525
|
id: string;
|
|
526
526
|
} & {
|
|
527
527
|
realm?: string | undefined;
|
|
528
|
-
}) | undefined) => Promise<{
|
|
528
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
529
529
|
count: number;
|
|
530
530
|
}>;
|
|
531
531
|
getInstallationProviders: (payload?: ({
|
|
@@ -533,41 +533,41 @@ export declare class Clients extends Resource<{
|
|
|
533
533
|
providerId: string;
|
|
534
534
|
} & {
|
|
535
535
|
realm?: string | undefined;
|
|
536
|
-
}) | undefined) => Promise<string>;
|
|
536
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<string>;
|
|
537
537
|
pushRevocation: (payload?: ({
|
|
538
538
|
id: string;
|
|
539
539
|
} & {
|
|
540
540
|
realm?: string | undefined;
|
|
541
|
-
}) | undefined) => Promise<GlobalRequestResult>;
|
|
541
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<GlobalRequestResult>;
|
|
542
542
|
addClusterNode: (payload?: ({
|
|
543
543
|
id: string;
|
|
544
544
|
node: string;
|
|
545
545
|
} & {
|
|
546
546
|
realm?: string | undefined;
|
|
547
|
-
}) | undefined) => Promise<void>;
|
|
547
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
548
548
|
deleteClusterNode: (payload?: ({
|
|
549
549
|
id: string;
|
|
550
550
|
node: string;
|
|
551
551
|
} & {
|
|
552
552
|
realm?: string | undefined;
|
|
553
|
-
}) | undefined) => Promise<void>;
|
|
553
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
554
554
|
testNodesAvailable: (payload?: ({
|
|
555
555
|
id: string;
|
|
556
556
|
} & {
|
|
557
557
|
realm?: string | undefined;
|
|
558
|
-
}) | undefined) => Promise<GlobalRequestResult>;
|
|
558
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<GlobalRequestResult>;
|
|
559
559
|
getKeyInfo: (payload?: ({
|
|
560
560
|
id: string;
|
|
561
561
|
attr: string;
|
|
562
562
|
} & {
|
|
563
563
|
realm?: string | undefined;
|
|
564
|
-
}) | undefined) => Promise<CertificateRepresentation>;
|
|
564
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<CertificateRepresentation>;
|
|
565
565
|
generateKey: (payload?: ({
|
|
566
566
|
id: string;
|
|
567
567
|
attr: string;
|
|
568
568
|
} & {
|
|
569
569
|
realm?: string | undefined;
|
|
570
|
-
}) | undefined) => Promise<CertificateRepresentation>;
|
|
570
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<CertificateRepresentation>;
|
|
571
571
|
downloadKey: (query: {
|
|
572
572
|
id: string;
|
|
573
573
|
attr: string;
|
|
@@ -12,17 +12,17 @@ export declare class Components extends Resource<{
|
|
|
12
12
|
}> {
|
|
13
13
|
find: (payload?: (ComponentQuery & {
|
|
14
14
|
realm?: string | undefined;
|
|
15
|
-
}) | undefined) => Promise<ComponentRepresentation[]>;
|
|
15
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ComponentRepresentation[]>;
|
|
16
16
|
create: (payload?: (ComponentRepresentation & {
|
|
17
17
|
realm?: string | undefined;
|
|
18
|
-
}) | undefined) => Promise<{
|
|
18
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
19
19
|
id: string;
|
|
20
20
|
}>;
|
|
21
21
|
findOne: (payload?: ({
|
|
22
22
|
id: string;
|
|
23
23
|
} & {
|
|
24
24
|
realm?: string | undefined;
|
|
25
|
-
}) | undefined) => Promise<ComponentRepresentation | undefined>;
|
|
25
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ComponentRepresentation | undefined>;
|
|
26
26
|
update: (query: {
|
|
27
27
|
id: string;
|
|
28
28
|
} & {
|
|
@@ -32,12 +32,12 @@ export declare class Components extends Resource<{
|
|
|
32
32
|
id: string;
|
|
33
33
|
} & {
|
|
34
34
|
realm?: string | undefined;
|
|
35
|
-
}) | undefined) => Promise<void>;
|
|
35
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
36
36
|
listSubComponents: (payload?: ({
|
|
37
37
|
id: string;
|
|
38
38
|
type: string;
|
|
39
39
|
} & {
|
|
40
40
|
realm?: string | undefined;
|
|
41
|
-
}) | undefined) => Promise<ComponentTypeRepresentation[]>;
|
|
41
|
+
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ComponentTypeRepresentation[]>;
|
|
42
42
|
constructor(client: KeycloakAdminClient);
|
|
43
43
|
}
|