@keycloak/keycloak-admin-client 19.0.0-dev.9 → 19.0.0
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 +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 +2 -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 +10 -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 +6 -6
- 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 +4 -4
- 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 +1 -1
- 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 +8 -8
- package/lib/resources/clientPolicies.js +19 -44
- package/lib/resources/clientPolicies.js.map +1 -1
- package/lib/resources/clientScopes.d.ts +27 -27
- package/lib/resources/clientScopes.js +91 -185
- package/lib/resources/clientScopes.js.map +1 -1
- package/lib/resources/clients.d.ts +94 -93
- package/lib/resources/clients.js +225 -311
- 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 +18 -18
- package/lib/resources/identityProviders.js +40 -65
- package/lib/resources/identityProviders.js.map +1 -1
- package/lib/resources/realms.d.ts +40 -39
- package/lib/resources/realms.js +73 -98
- package/lib/resources/realms.js.map +1 -1
- package/lib/resources/resource.d.ts +2 -2
- 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 +51 -50
- package/lib/resources/users.js +95 -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.js +2 -5
- package/lib/utils/constants.js.map +1 -1
- package/package.json +17 -16
- 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,68 +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>;
|
|
120
121
|
invalidateSecret: (payload?: ({
|
|
121
122
|
id: string;
|
|
122
123
|
} & {
|
|
123
124
|
realm?: string | undefined;
|
|
124
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
125
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
125
126
|
generateRegistrationAccessToken: (payload?: ({
|
|
126
127
|
id: string;
|
|
127
128
|
} & {
|
|
128
129
|
realm?: string | undefined;
|
|
129
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
130
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
130
131
|
registrationAccessToken: string;
|
|
131
132
|
}>;
|
|
132
133
|
getClientSecret: (payload?: ({
|
|
133
134
|
id: string;
|
|
134
135
|
} & {
|
|
135
136
|
realm?: string | undefined;
|
|
136
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<CredentialRepresentation>;
|
|
137
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<CredentialRepresentation>;
|
|
137
138
|
listDefaultClientScopes: (payload?: ({
|
|
138
139
|
id: string;
|
|
139
140
|
} & {
|
|
140
141
|
realm?: string | undefined;
|
|
141
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientScopeRepresentation[]>;
|
|
142
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientScopeRepresentation[]>;
|
|
142
143
|
addDefaultClientScope: (payload?: ({
|
|
143
144
|
id: string;
|
|
144
145
|
clientScopeId: string;
|
|
145
146
|
} & {
|
|
146
147
|
realm?: string | undefined;
|
|
147
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
148
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
148
149
|
delDefaultClientScope: (payload?: ({
|
|
149
150
|
id: string;
|
|
150
151
|
clientScopeId: string;
|
|
151
152
|
} & {
|
|
152
153
|
realm?: string | undefined;
|
|
153
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
154
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
154
155
|
listOptionalClientScopes: (payload?: ({
|
|
155
156
|
id: string;
|
|
156
157
|
} & {
|
|
157
158
|
realm?: string | undefined;
|
|
158
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientScopeRepresentation[]>;
|
|
159
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ClientScopeRepresentation[]>;
|
|
159
160
|
addOptionalClientScope: (payload?: ({
|
|
160
161
|
id: string;
|
|
161
162
|
clientScopeId: string;
|
|
162
163
|
} & {
|
|
163
164
|
realm?: string | undefined;
|
|
164
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
165
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
165
166
|
delOptionalClientScope: (payload?: ({
|
|
166
167
|
id: string;
|
|
167
168
|
clientScopeId: string;
|
|
168
169
|
} & {
|
|
169
170
|
realm?: string | undefined;
|
|
170
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
171
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
171
172
|
addMultipleProtocolMappers: (query: {
|
|
172
173
|
id: string;
|
|
173
174
|
} & {
|
|
@@ -182,19 +183,19 @@ export declare class Clients extends Resource<{
|
|
|
182
183
|
id: string;
|
|
183
184
|
} & {
|
|
184
185
|
realm?: string | undefined;
|
|
185
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
186
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
186
187
|
findProtocolMapperById: (payload?: ({
|
|
187
188
|
id: string;
|
|
188
189
|
mapperId: string;
|
|
189
190
|
} & {
|
|
190
191
|
realm?: string | undefined;
|
|
191
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation>;
|
|
192
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation>;
|
|
192
193
|
findProtocolMappersByProtocol: (payload?: ({
|
|
193
194
|
id: string;
|
|
194
195
|
protocol: string;
|
|
195
196
|
} & {
|
|
196
197
|
realm?: string | undefined;
|
|
197
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
198
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
198
199
|
updateProtocolMapper: (query: {
|
|
199
200
|
id: string;
|
|
200
201
|
mapperId: string;
|
|
@@ -206,12 +207,12 @@ export declare class Clients extends Resource<{
|
|
|
206
207
|
mapperId: string;
|
|
207
208
|
} & {
|
|
208
209
|
realm?: string | undefined;
|
|
209
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
210
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
210
211
|
listScopeMappings: (payload?: ({
|
|
211
212
|
id: string;
|
|
212
213
|
} & {
|
|
213
214
|
realm?: string | undefined;
|
|
214
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<MappingsRepresentation>;
|
|
215
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<MappingsRepresentation>;
|
|
215
216
|
addClientScopeMappings: (query: {
|
|
216
217
|
id: string;
|
|
217
218
|
client: string;
|
|
@@ -223,19 +224,19 @@ export declare class Clients extends Resource<{
|
|
|
223
224
|
client: string;
|
|
224
225
|
} & {
|
|
225
226
|
realm?: string | undefined;
|
|
226
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
227
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
227
228
|
listAvailableClientScopeMappings: (payload?: ({
|
|
228
229
|
id: string;
|
|
229
230
|
client: string;
|
|
230
231
|
} & {
|
|
231
232
|
realm?: string | undefined;
|
|
232
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
233
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
233
234
|
listCompositeClientScopeMappings: (payload?: ({
|
|
234
235
|
id: string;
|
|
235
236
|
client: string;
|
|
236
237
|
} & {
|
|
237
238
|
realm?: string | undefined;
|
|
238
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
239
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
239
240
|
delClientScopeMappings: (query: {
|
|
240
241
|
id: string;
|
|
241
242
|
client: string;
|
|
@@ -249,34 +250,34 @@ export declare class Clients extends Resource<{
|
|
|
249
250
|
scope: string;
|
|
250
251
|
} & {
|
|
251
252
|
realm?: string | undefined;
|
|
252
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
253
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
253
254
|
evaluateListProtocolMapper: (payload?: ({
|
|
254
255
|
id: string;
|
|
255
256
|
scope: string;
|
|
256
257
|
} & {
|
|
257
258
|
realm?: string | undefined;
|
|
258
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
259
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ProtocolMapperRepresentation[]>;
|
|
259
260
|
evaluateGenerateAccessToken: (payload?: ({
|
|
260
261
|
id: string;
|
|
261
262
|
scope: string;
|
|
262
263
|
userId: string;
|
|
263
264
|
} & {
|
|
264
265
|
realm?: string | undefined;
|
|
265
|
-
}) | 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>>;
|
|
266
267
|
evaluateGenerateUserInfo: (payload?: ({
|
|
267
268
|
id: string;
|
|
268
269
|
scope: string;
|
|
269
270
|
userId: string;
|
|
270
271
|
} & {
|
|
271
272
|
realm?: string | undefined;
|
|
272
|
-
}) | 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>>;
|
|
273
274
|
evaluateGenerateIdToken: (payload?: ({
|
|
274
275
|
id: string;
|
|
275
276
|
scope: string;
|
|
276
277
|
userId: string;
|
|
277
278
|
} & {
|
|
278
279
|
realm?: string | undefined;
|
|
279
|
-
}) | 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>>;
|
|
280
281
|
addRealmScopeMappings: (query: {
|
|
281
282
|
id: string;
|
|
282
283
|
} & {
|
|
@@ -286,17 +287,17 @@ export declare class Clients extends Resource<{
|
|
|
286
287
|
id: string;
|
|
287
288
|
} & {
|
|
288
289
|
realm?: string | undefined;
|
|
289
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
290
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
290
291
|
listAvailableRealmScopeMappings: (payload?: ({
|
|
291
292
|
id: string;
|
|
292
293
|
} & {
|
|
293
294
|
realm?: string | undefined;
|
|
294
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
295
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
295
296
|
listCompositeRealmScopeMappings: (payload?: ({
|
|
296
297
|
id: string;
|
|
297
298
|
} & {
|
|
298
299
|
realm?: string | undefined;
|
|
299
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
300
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<RoleRepresentation[]>;
|
|
300
301
|
delRealmScopeMappings: (query: {
|
|
301
302
|
id: string;
|
|
302
303
|
} & {
|
|
@@ -308,26 +309,26 @@ export declare class Clients extends Resource<{
|
|
|
308
309
|
max?: number | undefined;
|
|
309
310
|
} & {
|
|
310
311
|
realm?: string | undefined;
|
|
311
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<UserSessionRepresentation[]>;
|
|
312
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<UserSessionRepresentation[]>;
|
|
312
313
|
listOfflineSessions: (payload?: ({
|
|
313
314
|
id: string;
|
|
314
315
|
first?: number | undefined;
|
|
315
316
|
max?: number | undefined;
|
|
316
317
|
} & {
|
|
317
318
|
realm?: string | undefined;
|
|
318
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<UserSessionRepresentation[]>;
|
|
319
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<UserSessionRepresentation[]>;
|
|
319
320
|
getSessionCount: (payload?: ({
|
|
320
321
|
id: string;
|
|
321
322
|
} & {
|
|
322
323
|
realm?: string | undefined;
|
|
323
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
324
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
324
325
|
count: number;
|
|
325
326
|
}>;
|
|
326
327
|
getResourceServer: (payload?: ({
|
|
327
328
|
id: string;
|
|
328
329
|
} & {
|
|
329
330
|
realm?: string | undefined;
|
|
330
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceServerRepresentation>;
|
|
331
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceServerRepresentation>;
|
|
331
332
|
updateResourceServer: (query: {
|
|
332
333
|
id: string;
|
|
333
334
|
} & {
|
|
@@ -335,7 +336,7 @@ export declare class Clients extends Resource<{
|
|
|
335
336
|
}, payload: ResourceServerRepresentation) => Promise<void>;
|
|
336
337
|
listResources: (payload?: (ResourceQuery & {
|
|
337
338
|
realm?: string | undefined;
|
|
338
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceRepresentation[]>;
|
|
339
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceRepresentation[]>;
|
|
339
340
|
createResource: (query: {
|
|
340
341
|
id: string;
|
|
341
342
|
} & {
|
|
@@ -346,7 +347,7 @@ export declare class Clients extends Resource<{
|
|
|
346
347
|
resourceId: string;
|
|
347
348
|
} & {
|
|
348
349
|
realm?: string | undefined;
|
|
349
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceRepresentation>;
|
|
350
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceRepresentation>;
|
|
350
351
|
updateResource: (query: {
|
|
351
352
|
id: string;
|
|
352
353
|
resourceId: string;
|
|
@@ -358,7 +359,7 @@ export declare class Clients extends Resource<{
|
|
|
358
359
|
resourceId: string;
|
|
359
360
|
} & {
|
|
360
361
|
realm?: string | undefined;
|
|
361
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
362
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
362
363
|
importResource: (query: {
|
|
363
364
|
id: string;
|
|
364
365
|
} & {
|
|
@@ -368,21 +369,21 @@ export declare class Clients extends Resource<{
|
|
|
368
369
|
id: string;
|
|
369
370
|
} & {
|
|
370
371
|
realm?: string | undefined;
|
|
371
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceServerRepresentation>;
|
|
372
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceServerRepresentation>;
|
|
372
373
|
evaluateResource: (query: {
|
|
373
374
|
id: string;
|
|
374
375
|
} & {
|
|
375
376
|
realm?: string | undefined;
|
|
376
|
-
}, payload: ResourceEvaluation) => Promise<
|
|
377
|
+
}, payload: ResourceEvaluation) => Promise<PolicyEvaluationResponse>;
|
|
377
378
|
listPolicies: (payload?: (PolicyQuery & {
|
|
378
379
|
realm?: string | undefined;
|
|
379
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
380
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
380
381
|
findPolicyByName: (payload?: ({
|
|
381
382
|
id: string;
|
|
382
383
|
name: string;
|
|
383
384
|
} & {
|
|
384
385
|
realm?: string | undefined;
|
|
385
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation>;
|
|
386
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation>;
|
|
386
387
|
updatePolicy: (query: {
|
|
387
388
|
id: string;
|
|
388
389
|
type: string;
|
|
@@ -402,24 +403,24 @@ export declare class Clients extends Resource<{
|
|
|
402
403
|
policyId: string;
|
|
403
404
|
} & {
|
|
404
405
|
realm?: string | undefined;
|
|
405
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
406
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
406
407
|
listDependentPolicies: (payload?: ({
|
|
407
408
|
id: string;
|
|
408
409
|
policyId: string;
|
|
409
410
|
} & {
|
|
410
411
|
realm?: string | undefined;
|
|
411
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
412
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
412
413
|
delPolicy: (payload?: ({
|
|
413
414
|
id: string;
|
|
414
415
|
policyId: string;
|
|
415
416
|
} & {
|
|
416
417
|
realm?: string | undefined;
|
|
417
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
418
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
418
419
|
listPolicyProviders: (payload?: ({
|
|
419
420
|
id: string;
|
|
420
421
|
} & {
|
|
421
422
|
realm?: string | undefined;
|
|
422
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyProviderRepresentation[]>;
|
|
423
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyProviderRepresentation[]>;
|
|
423
424
|
createOrUpdatePolicy(payload: {
|
|
424
425
|
id: string;
|
|
425
426
|
policyName: string;
|
|
@@ -431,31 +432,31 @@ export declare class Clients extends Resource<{
|
|
|
431
432
|
deep?: boolean | undefined;
|
|
432
433
|
} & PaginatedQuery & {
|
|
433
434
|
realm?: string | undefined;
|
|
434
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ScopeRepresentation[]>;
|
|
435
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ScopeRepresentation[]>;
|
|
435
436
|
listAllResourcesByScope: (payload?: ({
|
|
436
437
|
id: string;
|
|
437
438
|
scopeId: string;
|
|
438
439
|
} & {
|
|
439
440
|
realm?: string | undefined;
|
|
440
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceRepresentation[]>;
|
|
441
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceRepresentation[]>;
|
|
441
442
|
listAllPermissionsByScope: (payload?: ({
|
|
442
443
|
id: string;
|
|
443
444
|
scopeId: string;
|
|
444
445
|
} & {
|
|
445
446
|
realm?: string | undefined;
|
|
446
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
447
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
447
448
|
listPermissionsByResource: (payload?: ({
|
|
448
449
|
id: string;
|
|
449
450
|
resourceId: string;
|
|
450
451
|
} & {
|
|
451
452
|
realm?: string | undefined;
|
|
452
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceServerRepresentation[]>;
|
|
453
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ResourceServerRepresentation[]>;
|
|
453
454
|
listScopesByResource: (payload?: ({
|
|
454
455
|
id: string;
|
|
455
456
|
resourceName: string;
|
|
456
457
|
} & {
|
|
457
458
|
realm?: string | undefined;
|
|
458
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
459
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
459
460
|
id: string;
|
|
460
461
|
name: string;
|
|
461
462
|
}[]>;
|
|
@@ -475,13 +476,13 @@ export declare class Clients extends Resource<{
|
|
|
475
476
|
scopeId: string;
|
|
476
477
|
} & {
|
|
477
478
|
realm?: string | undefined;
|
|
478
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ScopeRepresentation>;
|
|
479
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ScopeRepresentation>;
|
|
479
480
|
delAuthorizationScope: (payload?: ({
|
|
480
481
|
id: string;
|
|
481
482
|
scopeId: string;
|
|
482
483
|
} & {
|
|
483
484
|
realm?: string | undefined;
|
|
484
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
485
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
485
486
|
findPermissions: (payload?: ({
|
|
486
487
|
id: string;
|
|
487
488
|
name?: string | undefined;
|
|
@@ -489,7 +490,7 @@ export declare class Clients extends Resource<{
|
|
|
489
490
|
scope?: string | undefined;
|
|
490
491
|
} & PaginatedQuery & {
|
|
491
492
|
realm?: string | undefined;
|
|
492
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
493
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
493
494
|
createPermission: (query: {
|
|
494
495
|
id: string;
|
|
495
496
|
type: string;
|
|
@@ -509,20 +510,20 @@ export declare class Clients extends Resource<{
|
|
|
509
510
|
permissionId: string;
|
|
510
511
|
} & {
|
|
511
512
|
realm?: string | undefined;
|
|
512
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
513
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
513
514
|
findOnePermission: (payload?: ({
|
|
514
515
|
id: string;
|
|
515
516
|
type: string;
|
|
516
517
|
permissionId: string;
|
|
517
518
|
} & {
|
|
518
519
|
realm?: string | undefined;
|
|
519
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation | undefined>;
|
|
520
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation | undefined>;
|
|
520
521
|
getAssociatedScopes: (payload?: ({
|
|
521
522
|
id: string;
|
|
522
523
|
permissionId: string;
|
|
523
524
|
} & {
|
|
524
525
|
realm?: string | undefined;
|
|
525
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
526
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
526
527
|
id: string;
|
|
527
528
|
name: string;
|
|
528
529
|
}[]>;
|
|
@@ -531,7 +532,7 @@ export declare class Clients extends Resource<{
|
|
|
531
532
|
permissionId: string;
|
|
532
533
|
} & {
|
|
533
534
|
realm?: string | undefined;
|
|
534
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
535
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
535
536
|
_id: string;
|
|
536
537
|
name: string;
|
|
537
538
|
}[]>;
|
|
@@ -540,12 +541,12 @@ export declare class Clients extends Resource<{
|
|
|
540
541
|
permissionId: string;
|
|
541
542
|
} & {
|
|
542
543
|
realm?: string | undefined;
|
|
543
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
544
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<PolicyRepresentation[]>;
|
|
544
545
|
getOfflineSessionCount: (payload?: ({
|
|
545
546
|
id: string;
|
|
546
547
|
} & {
|
|
547
548
|
realm?: string | undefined;
|
|
548
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
549
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<{
|
|
549
550
|
count: number;
|
|
550
551
|
}>;
|
|
551
552
|
getInstallationProviders: (payload?: ({
|
|
@@ -553,41 +554,41 @@ export declare class Clients extends Resource<{
|
|
|
553
554
|
providerId: string;
|
|
554
555
|
} & {
|
|
555
556
|
realm?: string | undefined;
|
|
556
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<string>;
|
|
557
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<string>;
|
|
557
558
|
pushRevocation: (payload?: ({
|
|
558
559
|
id: string;
|
|
559
560
|
} & {
|
|
560
561
|
realm?: string | undefined;
|
|
561
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<GlobalRequestResult>;
|
|
562
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<GlobalRequestResult>;
|
|
562
563
|
addClusterNode: (payload?: ({
|
|
563
564
|
id: string;
|
|
564
565
|
node: string;
|
|
565
566
|
} & {
|
|
566
567
|
realm?: string | undefined;
|
|
567
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
568
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
568
569
|
deleteClusterNode: (payload?: ({
|
|
569
570
|
id: string;
|
|
570
571
|
node: string;
|
|
571
572
|
} & {
|
|
572
573
|
realm?: string | undefined;
|
|
573
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
574
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<void>;
|
|
574
575
|
testNodesAvailable: (payload?: ({
|
|
575
576
|
id: string;
|
|
576
577
|
} & {
|
|
577
578
|
realm?: string | undefined;
|
|
578
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<GlobalRequestResult>;
|
|
579
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<GlobalRequestResult>;
|
|
579
580
|
getKeyInfo: (payload?: ({
|
|
580
581
|
id: string;
|
|
581
582
|
attr: string;
|
|
582
583
|
} & {
|
|
583
584
|
realm?: string | undefined;
|
|
584
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<CertificateRepresentation>;
|
|
585
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<CertificateRepresentation>;
|
|
585
586
|
generateKey: (payload?: ({
|
|
586
587
|
id: string;
|
|
587
588
|
attr: string;
|
|
588
589
|
} & {
|
|
589
590
|
realm?: string | undefined;
|
|
590
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<CertificateRepresentation>;
|
|
591
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<CertificateRepresentation>;
|
|
591
592
|
downloadKey: (query: {
|
|
592
593
|
id: string;
|
|
593
594
|
attr: string;
|
|
@@ -621,7 +622,7 @@ export declare class Clients extends Resource<{
|
|
|
621
622
|
id: string;
|
|
622
623
|
} & {
|
|
623
624
|
realm?: string | undefined;
|
|
624
|
-
}) | undefined, options?: Pick<import("./agent").RequestArgs, "catchNotFound"> | undefined) => Promise<ManagementPermissionReference>;
|
|
625
|
+
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<ManagementPermissionReference>;
|
|
625
626
|
constructor(client: KeycloakAdminClient);
|
|
626
627
|
findProtocolMapperByName(payload: {
|
|
627
628
|
realm?: string;
|