@keycloak/keycloak-admin-client 19.0.0-dev.4 → 19.0.0-dev.41
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/README.md +11 -11
- package/lib/client.d.ts +24 -22
- package/lib/client.js +68 -181
- package/lib/client.js.map +1 -1
- package/lib/defs/AccessTokenAccess.js +1 -2
- package/lib/defs/PermissonRepresentation.js +1 -2
- package/lib/defs/accessTokenCertConf.js +1 -2
- package/lib/defs/accessTokenRepresentation.d.ts +4 -4
- package/lib/defs/accessTokenRepresentation.js +1 -2
- package/lib/defs/addressClaimSet.js +1 -2
- package/lib/defs/adminEventRepresentation.d.ts +1 -1
- package/lib/defs/adminEventRepresentation.js +1 -2
- package/lib/defs/authDetailsRepresentation.js +1 -2
- package/lib/defs/authenticationExecutionExportRepresentation.js +1 -2
- package/lib/defs/authenticationExecutionInfoRepresentation.js +1 -2
- package/lib/defs/authenticationFlowRepresentation.d.ts +1 -1
- package/lib/defs/authenticationFlowRepresentation.js +1 -2
- package/lib/defs/authenticatorConfigInfoRepresentation.js +1 -2
- package/lib/defs/authenticatorConfigRepresentation.js +1 -2
- package/lib/defs/certificateRepresentation.js +1 -2
- package/lib/defs/clientInitialAccessPresentation.js +1 -2
- package/lib/defs/clientPoliciesRepresentation.d.ts +1 -1
- package/lib/defs/clientPoliciesRepresentation.js +1 -2
- package/lib/defs/clientPolicyConditionRepresentation.js +1 -2
- package/lib/defs/clientPolicyExecutorRepresentation.js +1 -2
- package/lib/defs/clientPolicyRepresentation.d.ts +1 -1
- package/lib/defs/clientPolicyRepresentation.js +1 -2
- package/lib/defs/clientProfileRepresentation.d.ts +1 -1
- package/lib/defs/clientProfileRepresentation.js +1 -2
- package/lib/defs/clientProfilesRepresentation.d.ts +1 -1
- package/lib/defs/clientProfilesRepresentation.js +1 -2
- package/lib/defs/clientRepresentation.d.ts +3 -2
- package/lib/defs/clientRepresentation.js +1 -2
- package/lib/defs/clientScopeRepresentation.d.ts +1 -1
- package/lib/defs/clientScopeRepresentation.js +1 -2
- package/lib/defs/componentExportRepresentation.js +1 -2
- package/lib/defs/componentRepresentation.js +1 -2
- package/lib/defs/componentTypeRepresentation.d.ts +1 -1
- package/lib/defs/componentTypeRepresentation.js +1 -2
- package/lib/defs/configPropertyRepresentation.js +1 -2
- package/lib/defs/credentialRepresentation.js +1 -2
- package/lib/defs/evaluationResultRepresentation.d.ts +4 -4
- package/lib/defs/evaluationResultRepresentation.js +1 -2
- package/lib/defs/eventRepresentation.d.ts +1 -1
- package/lib/defs/eventRepresentation.js +1 -2
- package/lib/defs/eventTypes.js +1 -2
- package/lib/defs/federatedIdentityRepresentation.js +1 -2
- package/lib/defs/globalRequestResult.js +1 -2
- package/lib/defs/groupRepresentation.js +1 -2
- package/lib/defs/identityProviderMapperRepresentation.js +1 -2
- package/lib/defs/identityProviderMapperTypeRepresentation.d.ts +1 -1
- package/lib/defs/identityProviderMapperTypeRepresentation.js +1 -2
- package/lib/defs/identityProviderRepresentation.js +1 -2
- package/lib/defs/keyMetadataRepresentation.js +1 -2
- package/lib/defs/keystoreConfig.js +1 -2
- package/lib/defs/managementPermissionReference.js +1 -2
- package/lib/defs/mappingsRepresentation.d.ts +1 -1
- package/lib/defs/mappingsRepresentation.js +1 -2
- package/lib/defs/passwordPolicyTypeRepresentation.js +1 -2
- package/lib/defs/policyEvaluationResponse.d.ts +3 -3
- package/lib/defs/policyEvaluationResponse.js +1 -2
- package/lib/defs/policyProviderRepresentation.js +1 -2
- package/lib/defs/policyRepresentation.js +6 -9
- package/lib/defs/policyRepresentation.js.map +1 -1
- package/lib/defs/policyResultRepresentation.d.ts +2 -1
- package/lib/defs/policyResultRepresentation.js +1 -2
- package/lib/defs/profileInfoRepresentation.js +1 -2
- package/lib/defs/protocolMapperRepresentation.js +1 -2
- package/lib/defs/realmEventsConfigRepresentation.js +1 -2
- package/lib/defs/realmRepresentation.d.ts +15 -10
- package/lib/defs/realmRepresentation.js +1 -2
- package/lib/defs/requiredActionProviderRepresentation.js +2 -5
- package/lib/defs/requiredActionProviderRepresentation.js.map +1 -1
- package/lib/defs/requiredActionProviderSimpleRepresentation.js +1 -2
- package/lib/defs/resourceEvaluation.d.ts +1 -1
- package/lib/defs/resourceEvaluation.js +1 -2
- package/lib/defs/resourceRepresentation.d.ts +2 -2
- package/lib/defs/resourceRepresentation.js +1 -2
- package/lib/defs/resourceServerRepresentation.d.ts +3 -3
- package/lib/defs/resourceServerRepresentation.js +1 -2
- package/lib/defs/roleRepresentation.js +1 -2
- package/lib/defs/rolesRepresentation.d.ts +1 -1
- package/lib/defs/rolesRepresentation.js +1 -2
- package/lib/defs/scopeRepresentation.d.ts +2 -2
- package/lib/defs/scopeRepresentation.js +1 -2
- package/lib/defs/serverInfoRepesentation.d.ts +7 -7
- package/lib/defs/serverInfoRepesentation.js +1 -2
- package/lib/defs/synchronizationResultRepresentation.js +1 -2
- package/lib/defs/systemInfoRepersantation.js +1 -2
- package/lib/defs/testLdapConnection.js +1 -2
- package/lib/defs/userConsentRepresentation.js +1 -2
- package/lib/defs/userProfileConfig.js +1 -2
- package/lib/defs/userRepresentation.d.ts +5 -5
- package/lib/defs/userRepresentation.js +1 -2
- package/lib/defs/userSessionRepresentation.js +1 -2
- package/lib/defs/whoAmIRepresentation.js +1 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +4 -7
- package/lib/index.js.map +1 -1
- package/lib/resources/agent.d.ts +2 -2
- package/lib/resources/agent.js +115 -193
- package/lib/resources/agent.js.map +1 -1
- package/lib/resources/attackDetection.d.ts +5 -5
- package/lib/resources/attackDetection.js +16 -41
- package/lib/resources/attackDetection.js.map +1 -1
- package/lib/resources/authenticationManagement.d.ts +36 -35
- package/lib/resources/authenticationManagement.js +72 -97
- package/lib/resources/authenticationManagement.js.map +1 -1
- package/lib/resources/cache.d.ts +3 -3
- package/lib/resources/cache.js +12 -37
- package/lib/resources/cache.js.map +1 -1
- package/lib/resources/clientPolicies.d.ts +9 -9
- package/lib/resources/clientPolicies.js +19 -44
- package/lib/resources/clientPolicies.js.map +1 -1
- package/lib/resources/clientScopes.d.ts +29 -27
- package/lib/resources/clientScopes.js +92 -185
- package/lib/resources/clientScopes.js.map +1 -1
- package/lib/resources/clients.d.ts +98 -92
- package/lib/resources/clients.js +228 -309
- package/lib/resources/clients.js.map +1 -1
- package/lib/resources/components.d.ts +9 -9
- package/lib/resources/components.js +22 -47
- package/lib/resources/components.js.map +1 -1
- package/lib/resources/groups.d.ts +26 -25
- package/lib/resources/groups.js +53 -78
- package/lib/resources/groups.js.map +1 -1
- package/lib/resources/identityProviders.d.ts +19 -19
- package/lib/resources/identityProviders.js +40 -65
- package/lib/resources/identityProviders.js.map +1 -1
- package/lib/resources/realms.d.ts +44 -39
- package/lib/resources/realms.js +78 -98
- package/lib/resources/realms.js.map +1 -1
- package/lib/resources/resource.d.ts +3 -3
- package/lib/resources/resource.js +12 -26
- package/lib/resources/resource.js.map +1 -1
- package/lib/resources/roles.d.ts +16 -16
- package/lib/resources/roles.js +42 -67
- package/lib/resources/roles.js.map +1 -1
- package/lib/resources/serverInfo.d.ts +4 -4
- package/lib/resources/serverInfo.js +9 -34
- package/lib/resources/serverInfo.js.map +1 -1
- package/lib/resources/sessions.d.ts +3 -3
- package/lib/resources/sessions.js +12 -37
- package/lib/resources/sessions.js.map +1 -1
- package/lib/resources/userStorageProvider.d.ts +8 -8
- package/lib/resources/userStorageProvider.js +20 -45
- package/lib/resources/userStorageProvider.js.map +1 -1
- package/lib/resources/users.d.ts +56 -51
- package/lib/resources/users.js +100 -120
- package/lib/resources/users.js.map +1 -1
- package/lib/resources/whoAmI.d.ts +4 -4
- package/lib/resources/whoAmI.js +12 -37
- package/lib/resources/whoAmI.js.map +1 -1
- package/lib/utils/auth.js +30 -82
- package/lib/utils/auth.js.map +1 -1
- package/lib/utils/constants.d.ts +1 -1
- package/lib/utils/constants.js +2 -5
- package/lib/utils/constants.js.map +1 -1
- package/lib/utils/stringifyQueryParams.d.ts +1 -0
- package/lib/utils/stringifyQueryParams.js +5 -0
- package/lib/utils/stringifyQueryParams.js.map +1 -0
- package/package.json +25 -19
- package/lib/defs/accessTokenAuthorization.d.ts +0 -4
- package/lib/defs/accessTokenAuthorization.js +0 -3
- package/lib/defs/accessTokenAuthorization.js.map +0 -1
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { KeycloakAdminClient } from '../client';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import ScopeRepresentation from '../defs/scopeRepresentation';
|
|
19
|
-
import
|
|
20
|
-
import
|
|
1
|
+
import type { KeycloakAdminClient } from '../client.js';
|
|
2
|
+
import type CertificateRepresentation from '../defs/certificateRepresentation.js';
|
|
3
|
+
import type ClientRepresentation from '../defs/clientRepresentation.js';
|
|
4
|
+
import type ClientScopeRepresentation from '../defs/clientScopeRepresentation.js';
|
|
5
|
+
import type CredentialRepresentation from '../defs/credentialRepresentation.js';
|
|
6
|
+
import type GlobalRequestResult from '../defs/globalRequestResult.js';
|
|
7
|
+
import type KeyStoreConfig from '../defs/keystoreConfig.js';
|
|
8
|
+
import type { ManagementPermissionReference } from '../defs/managementPermissionReference.js';
|
|
9
|
+
import type MappingsRepresentation from '../defs/mappingsRepresentation.js';
|
|
10
|
+
import type PolicyEvaluationResponse from '../defs/policyEvaluationResponse.js';
|
|
11
|
+
import type PolicyProviderRepresentation from '../defs/policyProviderRepresentation.js';
|
|
12
|
+
import type PolicyRepresentation from '../defs/policyRepresentation.js';
|
|
13
|
+
import type ProtocolMapperRepresentation from '../defs/protocolMapperRepresentation.js';
|
|
14
|
+
import type ResourceEvaluation from '../defs/resourceEvaluation.js';
|
|
15
|
+
import type ResourceRepresentation from '../defs/resourceRepresentation.js';
|
|
16
|
+
import type ResourceServerRepresentation from '../defs/resourceServerRepresentation.js';
|
|
17
|
+
import type RoleRepresentation from '../defs/roleRepresentation.js';
|
|
18
|
+
import type ScopeRepresentation from '../defs/scopeRepresentation.js';
|
|
19
|
+
import type UserRepresentation from '../defs/userRepresentation.js';
|
|
20
|
+
import type UserSessionRepresentation from '../defs/userSessionRepresentation.js';
|
|
21
|
+
import Resource from './resource.js';
|
|
21
22
|
export interface PaginatedQuery {
|
|
22
23
|
first?: number;
|
|
23
24
|
max?: number;
|
|
@@ -50,17 +51,17 @@ export declare class Clients extends Resource<{
|
|
|
50
51
|
}> {
|
|
51
52
|
find: (payload?: (ClientQuery & {
|
|
52
53
|
realm?: string | undefined;
|
|
53
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientRepresentation[]>;
|
|
54
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientRepresentation[]>;
|
|
54
55
|
create: (payload?: (ClientRepresentation & {
|
|
55
56
|
realm?: string | undefined;
|
|
56
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
57
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
57
58
|
id: string;
|
|
58
59
|
}>;
|
|
59
60
|
findOne: (payload?: ({
|
|
60
61
|
id: string;
|
|
61
62
|
} & {
|
|
62
63
|
realm?: string | undefined;
|
|
63
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientRepresentation | undefined>;
|
|
64
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientRepresentation | undefined>;
|
|
64
65
|
update: (query: {
|
|
65
66
|
id: string;
|
|
66
67
|
} & {
|
|
@@ -70,23 +71,23 @@ export declare class Clients extends Resource<{
|
|
|
70
71
|
id: string;
|
|
71
72
|
} & {
|
|
72
73
|
realm?: string | undefined;
|
|
73
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
74
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
74
75
|
createRole: (payload?: (RoleRepresentation & {
|
|
75
76
|
realm?: string | undefined;
|
|
76
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
77
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
77
78
|
roleName: string;
|
|
78
79
|
}>;
|
|
79
80
|
listRoles: (payload?: ({
|
|
80
81
|
id: string;
|
|
81
82
|
} & {
|
|
82
83
|
realm?: string | undefined;
|
|
83
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
84
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
84
85
|
findRole: (payload?: ({
|
|
85
86
|
id: string;
|
|
86
87
|
roleName: string;
|
|
87
88
|
} & {
|
|
88
89
|
realm?: string | undefined;
|
|
89
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation>;
|
|
90
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation>;
|
|
90
91
|
updateRole: (query: {
|
|
91
92
|
id: string;
|
|
92
93
|
roleName: string;
|
|
@@ -98,7 +99,7 @@ export declare class Clients extends Resource<{
|
|
|
98
99
|
roleName: string;
|
|
99
100
|
} & {
|
|
100
101
|
realm?: string | undefined;
|
|
101
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
102
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
102
103
|
findUsersWithRole: (payload?: ({
|
|
103
104
|
id: string;
|
|
104
105
|
roleName: string;
|
|
@@ -106,63 +107,68 @@ export declare class Clients extends Resource<{
|
|
|
106
107
|
max?: number | undefined;
|
|
107
108
|
} & {
|
|
108
109
|
realm?: string | undefined;
|
|
109
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<UserRepresentation[]>;
|
|
110
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<UserRepresentation[]>;
|
|
110
111
|
getServiceAccountUser: (payload?: ({
|
|
111
112
|
id: string;
|
|
112
113
|
} & {
|
|
113
114
|
realm?: string | undefined;
|
|
114
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<UserRepresentation>;
|
|
115
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<UserRepresentation>;
|
|
115
116
|
generateNewClientSecret: (payload?: ({
|
|
116
117
|
id: string;
|
|
117
118
|
} & {
|
|
118
119
|
realm?: string | undefined;
|
|
119
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<CredentialRepresentation>;
|
|
120
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<CredentialRepresentation>;
|
|
121
|
+
invalidateSecret: (payload?: ({
|
|
122
|
+
id: string;
|
|
123
|
+
} & {
|
|
124
|
+
realm?: string | undefined;
|
|
125
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
120
126
|
generateRegistrationAccessToken: (payload?: ({
|
|
121
127
|
id: string;
|
|
122
128
|
} & {
|
|
123
129
|
realm?: string | undefined;
|
|
124
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
130
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
125
131
|
registrationAccessToken: string;
|
|
126
132
|
}>;
|
|
127
133
|
getClientSecret: (payload?: ({
|
|
128
134
|
id: string;
|
|
129
135
|
} & {
|
|
130
136
|
realm?: string | undefined;
|
|
131
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<CredentialRepresentation>;
|
|
137
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<CredentialRepresentation>;
|
|
132
138
|
listDefaultClientScopes: (payload?: ({
|
|
133
139
|
id: string;
|
|
134
140
|
} & {
|
|
135
141
|
realm?: string | undefined;
|
|
136
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientScopeRepresentation[]>;
|
|
142
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientScopeRepresentation[]>;
|
|
137
143
|
addDefaultClientScope: (payload?: ({
|
|
138
144
|
id: string;
|
|
139
145
|
clientScopeId: string;
|
|
140
146
|
} & {
|
|
141
147
|
realm?: string | undefined;
|
|
142
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
148
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
143
149
|
delDefaultClientScope: (payload?: ({
|
|
144
150
|
id: string;
|
|
145
151
|
clientScopeId: string;
|
|
146
152
|
} & {
|
|
147
153
|
realm?: string | undefined;
|
|
148
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
154
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
149
155
|
listOptionalClientScopes: (payload?: ({
|
|
150
156
|
id: string;
|
|
151
157
|
} & {
|
|
152
158
|
realm?: string | undefined;
|
|
153
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientScopeRepresentation[]>;
|
|
159
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientScopeRepresentation[]>;
|
|
154
160
|
addOptionalClientScope: (payload?: ({
|
|
155
161
|
id: string;
|
|
156
162
|
clientScopeId: string;
|
|
157
163
|
} & {
|
|
158
164
|
realm?: string | undefined;
|
|
159
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
165
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
160
166
|
delOptionalClientScope: (payload?: ({
|
|
161
167
|
id: string;
|
|
162
168
|
clientScopeId: string;
|
|
163
169
|
} & {
|
|
164
170
|
realm?: string | undefined;
|
|
165
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
171
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
166
172
|
addMultipleProtocolMappers: (query: {
|
|
167
173
|
id: string;
|
|
168
174
|
} & {
|
|
@@ -177,19 +183,19 @@ export declare class Clients extends Resource<{
|
|
|
177
183
|
id: string;
|
|
178
184
|
} & {
|
|
179
185
|
realm?: string | undefined;
|
|
180
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
186
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
181
187
|
findProtocolMapperById: (payload?: ({
|
|
182
188
|
id: string;
|
|
183
189
|
mapperId: string;
|
|
184
190
|
} & {
|
|
185
191
|
realm?: string | undefined;
|
|
186
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation>;
|
|
192
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation>;
|
|
187
193
|
findProtocolMappersByProtocol: (payload?: ({
|
|
188
194
|
id: string;
|
|
189
195
|
protocol: string;
|
|
190
196
|
} & {
|
|
191
197
|
realm?: string | undefined;
|
|
192
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
198
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
193
199
|
updateProtocolMapper: (query: {
|
|
194
200
|
id: string;
|
|
195
201
|
mapperId: string;
|
|
@@ -201,12 +207,12 @@ export declare class Clients extends Resource<{
|
|
|
201
207
|
mapperId: string;
|
|
202
208
|
} & {
|
|
203
209
|
realm?: string | undefined;
|
|
204
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
210
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
205
211
|
listScopeMappings: (payload?: ({
|
|
206
212
|
id: string;
|
|
207
213
|
} & {
|
|
208
214
|
realm?: string | undefined;
|
|
209
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<MappingsRepresentation>;
|
|
215
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<MappingsRepresentation>;
|
|
210
216
|
addClientScopeMappings: (query: {
|
|
211
217
|
id: string;
|
|
212
218
|
client: string;
|
|
@@ -218,19 +224,19 @@ export declare class Clients extends Resource<{
|
|
|
218
224
|
client: string;
|
|
219
225
|
} & {
|
|
220
226
|
realm?: string | undefined;
|
|
221
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
227
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
222
228
|
listAvailableClientScopeMappings: (payload?: ({
|
|
223
229
|
id: string;
|
|
224
230
|
client: string;
|
|
225
231
|
} & {
|
|
226
232
|
realm?: string | undefined;
|
|
227
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
233
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
228
234
|
listCompositeClientScopeMappings: (payload?: ({
|
|
229
235
|
id: string;
|
|
230
236
|
client: string;
|
|
231
237
|
} & {
|
|
232
238
|
realm?: string | undefined;
|
|
233
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
239
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
234
240
|
delClientScopeMappings: (query: {
|
|
235
241
|
id: string;
|
|
236
242
|
client: string;
|
|
@@ -244,34 +250,34 @@ export declare class Clients extends Resource<{
|
|
|
244
250
|
scope: string;
|
|
245
251
|
} & {
|
|
246
252
|
realm?: string | undefined;
|
|
247
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
253
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
248
254
|
evaluateListProtocolMapper: (payload?: ({
|
|
249
255
|
id: string;
|
|
250
256
|
scope: string;
|
|
251
257
|
} & {
|
|
252
258
|
realm?: string | undefined;
|
|
253
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
259
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
254
260
|
evaluateGenerateAccessToken: (payload?: ({
|
|
255
261
|
id: string;
|
|
256
262
|
scope: string;
|
|
257
263
|
userId: string;
|
|
258
264
|
} & {
|
|
259
265
|
realm?: string | undefined;
|
|
260
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<Record<string, unknown>>;
|
|
266
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<Record<string, unknown>>;
|
|
261
267
|
evaluateGenerateUserInfo: (payload?: ({
|
|
262
268
|
id: string;
|
|
263
269
|
scope: string;
|
|
264
270
|
userId: string;
|
|
265
271
|
} & {
|
|
266
272
|
realm?: string | undefined;
|
|
267
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<Record<string, unknown>>;
|
|
273
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<Record<string, unknown>>;
|
|
268
274
|
evaluateGenerateIdToken: (payload?: ({
|
|
269
275
|
id: string;
|
|
270
276
|
scope: string;
|
|
271
277
|
userId: string;
|
|
272
278
|
} & {
|
|
273
279
|
realm?: string | undefined;
|
|
274
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<Record<string, unknown>>;
|
|
280
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<Record<string, unknown>>;
|
|
275
281
|
addRealmScopeMappings: (query: {
|
|
276
282
|
id: string;
|
|
277
283
|
} & {
|
|
@@ -281,17 +287,17 @@ export declare class Clients extends Resource<{
|
|
|
281
287
|
id: string;
|
|
282
288
|
} & {
|
|
283
289
|
realm?: string | undefined;
|
|
284
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
290
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
285
291
|
listAvailableRealmScopeMappings: (payload?: ({
|
|
286
292
|
id: string;
|
|
287
293
|
} & {
|
|
288
294
|
realm?: string | undefined;
|
|
289
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
295
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
290
296
|
listCompositeRealmScopeMappings: (payload?: ({
|
|
291
297
|
id: string;
|
|
292
298
|
} & {
|
|
293
299
|
realm?: string | undefined;
|
|
294
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
300
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
295
301
|
delRealmScopeMappings: (query: {
|
|
296
302
|
id: string;
|
|
297
303
|
} & {
|
|
@@ -303,26 +309,26 @@ export declare class Clients extends Resource<{
|
|
|
303
309
|
max?: number | undefined;
|
|
304
310
|
} & {
|
|
305
311
|
realm?: string | undefined;
|
|
306
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<UserSessionRepresentation[]>;
|
|
312
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<UserSessionRepresentation[]>;
|
|
307
313
|
listOfflineSessions: (payload?: ({
|
|
308
314
|
id: string;
|
|
309
315
|
first?: number | undefined;
|
|
310
316
|
max?: number | undefined;
|
|
311
317
|
} & {
|
|
312
318
|
realm?: string | undefined;
|
|
313
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<UserSessionRepresentation[]>;
|
|
319
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<UserSessionRepresentation[]>;
|
|
314
320
|
getSessionCount: (payload?: ({
|
|
315
321
|
id: string;
|
|
316
322
|
} & {
|
|
317
323
|
realm?: string | undefined;
|
|
318
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
324
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
319
325
|
count: number;
|
|
320
326
|
}>;
|
|
321
327
|
getResourceServer: (payload?: ({
|
|
322
328
|
id: string;
|
|
323
329
|
} & {
|
|
324
330
|
realm?: string | undefined;
|
|
325
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceServerRepresentation>;
|
|
331
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceServerRepresentation>;
|
|
326
332
|
updateResourceServer: (query: {
|
|
327
333
|
id: string;
|
|
328
334
|
} & {
|
|
@@ -330,7 +336,7 @@ export declare class Clients extends Resource<{
|
|
|
330
336
|
}, payload: ResourceServerRepresentation) => Promise<void>;
|
|
331
337
|
listResources: (payload?: (ResourceQuery & {
|
|
332
338
|
realm?: string | undefined;
|
|
333
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceRepresentation[]>;
|
|
339
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceRepresentation[]>;
|
|
334
340
|
createResource: (query: {
|
|
335
341
|
id: string;
|
|
336
342
|
} & {
|
|
@@ -341,7 +347,7 @@ export declare class Clients extends Resource<{
|
|
|
341
347
|
resourceId: string;
|
|
342
348
|
} & {
|
|
343
349
|
realm?: string | undefined;
|
|
344
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceRepresentation>;
|
|
350
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceRepresentation>;
|
|
345
351
|
updateResource: (query: {
|
|
346
352
|
id: string;
|
|
347
353
|
resourceId: string;
|
|
@@ -353,7 +359,7 @@ export declare class Clients extends Resource<{
|
|
|
353
359
|
resourceId: string;
|
|
354
360
|
} & {
|
|
355
361
|
realm?: string | undefined;
|
|
356
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
362
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
357
363
|
importResource: (query: {
|
|
358
364
|
id: string;
|
|
359
365
|
} & {
|
|
@@ -363,21 +369,21 @@ export declare class Clients extends Resource<{
|
|
|
363
369
|
id: string;
|
|
364
370
|
} & {
|
|
365
371
|
realm?: string | undefined;
|
|
366
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceServerRepresentation>;
|
|
372
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceServerRepresentation>;
|
|
367
373
|
evaluateResource: (query: {
|
|
368
374
|
id: string;
|
|
369
375
|
} & {
|
|
370
376
|
realm?: string | undefined;
|
|
371
|
-
}, payload: ResourceEvaluation) => Promise<
|
|
377
|
+
}, payload: ResourceEvaluation) => Promise<PolicyEvaluationResponse>;
|
|
372
378
|
listPolicies: (payload?: (PolicyQuery & {
|
|
373
379
|
realm?: string | undefined;
|
|
374
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
380
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
375
381
|
findPolicyByName: (payload?: ({
|
|
376
382
|
id: string;
|
|
377
383
|
name: string;
|
|
378
384
|
} & {
|
|
379
385
|
realm?: string | undefined;
|
|
380
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation>;
|
|
386
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation>;
|
|
381
387
|
updatePolicy: (query: {
|
|
382
388
|
id: string;
|
|
383
389
|
type: string;
|
|
@@ -397,24 +403,24 @@ export declare class Clients extends Resource<{
|
|
|
397
403
|
policyId: string;
|
|
398
404
|
} & {
|
|
399
405
|
realm?: string | undefined;
|
|
400
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
406
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
401
407
|
listDependentPolicies: (payload?: ({
|
|
402
408
|
id: string;
|
|
403
409
|
policyId: string;
|
|
404
410
|
} & {
|
|
405
411
|
realm?: string | undefined;
|
|
406
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
412
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
407
413
|
delPolicy: (payload?: ({
|
|
408
414
|
id: string;
|
|
409
415
|
policyId: string;
|
|
410
416
|
} & {
|
|
411
417
|
realm?: string | undefined;
|
|
412
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
418
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
413
419
|
listPolicyProviders: (payload?: ({
|
|
414
420
|
id: string;
|
|
415
421
|
} & {
|
|
416
422
|
realm?: string | undefined;
|
|
417
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyProviderRepresentation[]>;
|
|
423
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyProviderRepresentation[]>;
|
|
418
424
|
createOrUpdatePolicy(payload: {
|
|
419
425
|
id: string;
|
|
420
426
|
policyName: string;
|
|
@@ -426,31 +432,31 @@ export declare class Clients extends Resource<{
|
|
|
426
432
|
deep?: boolean | undefined;
|
|
427
433
|
} & PaginatedQuery & {
|
|
428
434
|
realm?: string | undefined;
|
|
429
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ScopeRepresentation[]>;
|
|
435
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ScopeRepresentation[]>;
|
|
430
436
|
listAllResourcesByScope: (payload?: ({
|
|
431
437
|
id: string;
|
|
432
438
|
scopeId: string;
|
|
433
439
|
} & {
|
|
434
440
|
realm?: string | undefined;
|
|
435
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceRepresentation[]>;
|
|
441
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceRepresentation[]>;
|
|
436
442
|
listAllPermissionsByScope: (payload?: ({
|
|
437
443
|
id: string;
|
|
438
444
|
scopeId: string;
|
|
439
445
|
} & {
|
|
440
446
|
realm?: string | undefined;
|
|
441
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
447
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
442
448
|
listPermissionsByResource: (payload?: ({
|
|
443
449
|
id: string;
|
|
444
450
|
resourceId: string;
|
|
445
451
|
} & {
|
|
446
452
|
realm?: string | undefined;
|
|
447
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceServerRepresentation[]>;
|
|
453
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceServerRepresentation[]>;
|
|
448
454
|
listScopesByResource: (payload?: ({
|
|
449
455
|
id: string;
|
|
450
456
|
resourceName: string;
|
|
451
457
|
} & {
|
|
452
458
|
realm?: string | undefined;
|
|
453
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
459
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
454
460
|
id: string;
|
|
455
461
|
name: string;
|
|
456
462
|
}[]>;
|
|
@@ -470,13 +476,13 @@ export declare class Clients extends Resource<{
|
|
|
470
476
|
scopeId: string;
|
|
471
477
|
} & {
|
|
472
478
|
realm?: string | undefined;
|
|
473
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ScopeRepresentation>;
|
|
479
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ScopeRepresentation>;
|
|
474
480
|
delAuthorizationScope: (payload?: ({
|
|
475
481
|
id: string;
|
|
476
482
|
scopeId: string;
|
|
477
483
|
} & {
|
|
478
484
|
realm?: string | undefined;
|
|
479
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
485
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
480
486
|
findPermissions: (payload?: ({
|
|
481
487
|
id: string;
|
|
482
488
|
name?: string | undefined;
|
|
@@ -484,7 +490,7 @@ export declare class Clients extends Resource<{
|
|
|
484
490
|
scope?: string | undefined;
|
|
485
491
|
} & PaginatedQuery & {
|
|
486
492
|
realm?: string | undefined;
|
|
487
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
493
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
488
494
|
createPermission: (query: {
|
|
489
495
|
id: string;
|
|
490
496
|
type: string;
|
|
@@ -504,20 +510,20 @@ export declare class Clients extends Resource<{
|
|
|
504
510
|
permissionId: string;
|
|
505
511
|
} & {
|
|
506
512
|
realm?: string | undefined;
|
|
507
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
513
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
508
514
|
findOnePermission: (payload?: ({
|
|
509
515
|
id: string;
|
|
510
516
|
type: string;
|
|
511
517
|
permissionId: string;
|
|
512
518
|
} & {
|
|
513
519
|
realm?: string | undefined;
|
|
514
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation | undefined>;
|
|
520
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation | undefined>;
|
|
515
521
|
getAssociatedScopes: (payload?: ({
|
|
516
522
|
id: string;
|
|
517
523
|
permissionId: string;
|
|
518
524
|
} & {
|
|
519
525
|
realm?: string | undefined;
|
|
520
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
526
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
521
527
|
id: string;
|
|
522
528
|
name: string;
|
|
523
529
|
}[]>;
|
|
@@ -526,7 +532,7 @@ export declare class Clients extends Resource<{
|
|
|
526
532
|
permissionId: string;
|
|
527
533
|
} & {
|
|
528
534
|
realm?: string | undefined;
|
|
529
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
535
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
530
536
|
_id: string;
|
|
531
537
|
name: string;
|
|
532
538
|
}[]>;
|
|
@@ -535,12 +541,12 @@ export declare class Clients extends Resource<{
|
|
|
535
541
|
permissionId: string;
|
|
536
542
|
} & {
|
|
537
543
|
realm?: string | undefined;
|
|
538
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
544
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
539
545
|
getOfflineSessionCount: (payload?: ({
|
|
540
546
|
id: string;
|
|
541
547
|
} & {
|
|
542
548
|
realm?: string | undefined;
|
|
543
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
549
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
544
550
|
count: number;
|
|
545
551
|
}>;
|
|
546
552
|
getInstallationProviders: (payload?: ({
|
|
@@ -548,41 +554,41 @@ export declare class Clients extends Resource<{
|
|
|
548
554
|
providerId: string;
|
|
549
555
|
} & {
|
|
550
556
|
realm?: string | undefined;
|
|
551
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<string>;
|
|
557
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<string>;
|
|
552
558
|
pushRevocation: (payload?: ({
|
|
553
559
|
id: string;
|
|
554
560
|
} & {
|
|
555
561
|
realm?: string | undefined;
|
|
556
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<GlobalRequestResult>;
|
|
562
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<GlobalRequestResult>;
|
|
557
563
|
addClusterNode: (payload?: ({
|
|
558
564
|
id: string;
|
|
559
565
|
node: string;
|
|
560
566
|
} & {
|
|
561
567
|
realm?: string | undefined;
|
|
562
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
568
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
563
569
|
deleteClusterNode: (payload?: ({
|
|
564
570
|
id: string;
|
|
565
571
|
node: string;
|
|
566
572
|
} & {
|
|
567
573
|
realm?: string | undefined;
|
|
568
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
574
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
569
575
|
testNodesAvailable: (payload?: ({
|
|
570
576
|
id: string;
|
|
571
577
|
} & {
|
|
572
578
|
realm?: string | undefined;
|
|
573
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<GlobalRequestResult>;
|
|
579
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<GlobalRequestResult>;
|
|
574
580
|
getKeyInfo: (payload?: ({
|
|
575
581
|
id: string;
|
|
576
582
|
attr: string;
|
|
577
583
|
} & {
|
|
578
584
|
realm?: string | undefined;
|
|
579
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<CertificateRepresentation>;
|
|
585
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<CertificateRepresentation>;
|
|
580
586
|
generateKey: (payload?: ({
|
|
581
587
|
id: string;
|
|
582
588
|
attr: string;
|
|
583
589
|
} & {
|
|
584
590
|
realm?: string | undefined;
|
|
585
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<CertificateRepresentation>;
|
|
591
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<CertificateRepresentation>;
|
|
586
592
|
downloadKey: (query: {
|
|
587
593
|
id: string;
|
|
588
594
|
attr: string;
|
|
@@ -616,7 +622,7 @@ export declare class Clients extends Resource<{
|
|
|
616
622
|
id: string;
|
|
617
623
|
} & {
|
|
618
624
|
realm?: string | undefined;
|
|
619
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ManagementPermissionReference>;
|
|
625
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ManagementPermissionReference>;
|
|
620
626
|
constructor(client: KeycloakAdminClient);
|
|
621
627
|
findProtocolMapperByName(payload: {
|
|
622
628
|
realm?: string;
|