@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,4 +1,4 @@
|
|
|
1
|
-
import ProtocolMapperRepresentation from './protocolMapperRepresentation';
|
|
1
|
+
import type ProtocolMapperRepresentation from './protocolMapperRepresentation.js';
|
|
2
2
|
export default interface ClientScopeRepresentation {
|
|
3
3
|
attributes?: Record<string, any>;
|
|
4
4
|
description?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DecisionEffect } from './policyRepresentation';
|
|
2
|
-
import PolicyResultRepresentation from './policyResultRepresentation';
|
|
3
|
-
import ResourceRepresentation from './resourceRepresentation';
|
|
4
|
-
import ScopeRepresentation from './scopeRepresentation';
|
|
1
|
+
import type { DecisionEffect } from './policyRepresentation.js';
|
|
2
|
+
import type PolicyResultRepresentation from './policyResultRepresentation.js';
|
|
3
|
+
import type ResourceRepresentation from './resourceRepresentation.js';
|
|
4
|
+
import type ScopeRepresentation from './scopeRepresentation.js';
|
|
5
5
|
export default interface EvaluationResultRepresentation {
|
|
6
6
|
resource?: ResourceRepresentation;
|
|
7
7
|
scopes?: ScopeRepresentation[];
|
package/lib/defs/eventTypes.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import AccessTokenRepresentation from './accessTokenRepresentation';
|
|
2
|
-
import EvaluationResultRepresentation from './evaluationResultRepresentation';
|
|
3
|
-
import { DecisionEffect } from './policyRepresentation';
|
|
1
|
+
import type AccessTokenRepresentation from './accessTokenRepresentation.js';
|
|
2
|
+
import type EvaluationResultRepresentation from './evaluationResultRepresentation.js';
|
|
3
|
+
import type { DecisionEffect } from './policyRepresentation.js';
|
|
4
4
|
export default interface PolicyEvaluationResponse {
|
|
5
5
|
results?: EvaluationResultRepresentation[];
|
|
6
6
|
entitlements?: boolean;
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
exports.Logic = exports.DecisionEffect = exports.DecisionStrategy = void 0;
|
|
4
|
-
var DecisionStrategy;
|
|
1
|
+
export var DecisionStrategy;
|
|
5
2
|
(function (DecisionStrategy) {
|
|
6
3
|
DecisionStrategy["AFFIRMATIVE"] = "AFFIRMATIVE";
|
|
7
4
|
DecisionStrategy["UNANIMOUS"] = "UNANIMOUS";
|
|
8
5
|
DecisionStrategy["CONSENSUS"] = "CONSENSUS";
|
|
9
|
-
})(DecisionStrategy =
|
|
10
|
-
var DecisionEffect;
|
|
6
|
+
})(DecisionStrategy = DecisionStrategy || (DecisionStrategy = {}));
|
|
7
|
+
export var DecisionEffect;
|
|
11
8
|
(function (DecisionEffect) {
|
|
12
9
|
DecisionEffect["Permit"] = "PERMIT";
|
|
13
10
|
DecisionEffect["Deny"] = "DENY";
|
|
14
|
-
})(DecisionEffect =
|
|
15
|
-
var Logic;
|
|
11
|
+
})(DecisionEffect = DecisionEffect || (DecisionEffect = {}));
|
|
12
|
+
export var Logic;
|
|
16
13
|
(function (Logic) {
|
|
17
14
|
Logic["POSITIVE"] = "POSITIVE";
|
|
18
15
|
Logic["NEGATIVE"] = "NEGATIVE";
|
|
19
|
-
})(Logic =
|
|
16
|
+
})(Logic = Logic || (Logic = {}));
|
|
20
17
|
//# sourceMappingURL=policyRepresentation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policyRepresentation.js","sourceRoot":"","sources":["../../src/defs/policyRepresentation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"policyRepresentation.js","sourceRoot":"","sources":["../../src/defs/policyRepresentation.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,2CAAuB,CAAA;AACzB,CAAC,EAJW,gBAAgB,GAAhB,gBAAgB,KAAhB,gBAAgB,QAI3B;AAED,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,mCAAiB,CAAA;IACjB,+BAAa,CAAA;AACf,CAAC,EAHW,cAAc,GAAd,cAAc,KAAd,cAAc,QAGzB;AAED,MAAM,CAAN,IAAY,KAGX;AAHD,WAAY,KAAK;IACf,8BAAqB,CAAA;IACrB,8BAAqB,CAAA;AACvB,CAAC,EAHW,KAAK,GAAL,KAAK,KAAL,KAAK,QAGhB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import PolicyRepresentation
|
|
1
|
+
import type PolicyRepresentation from './policyRepresentation.js';
|
|
2
|
+
import type { DecisionEffect } from './policyRepresentation.js';
|
|
2
3
|
export default interface PolicyResultRepresentation {
|
|
3
4
|
policy?: PolicyRepresentation;
|
|
4
5
|
status?: DecisionEffect;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import ClientRepresentation from './clientRepresentation';
|
|
2
|
-
import ComponentExportRepresentation from './componentExportRepresentation';
|
|
3
|
-
import UserRepresentation from './userRepresentation';
|
|
4
|
-
import GroupRepresentation from './groupRepresentation';
|
|
5
|
-
import IdentityProviderRepresentation from './identityProviderRepresentation';
|
|
6
|
-
import RequiredActionProviderRepresentation from './requiredActionProviderRepresentation';
|
|
7
|
-
import RolesRepresentation from './rolesRepresentation';
|
|
8
|
-
import ClientProfilesRepresentation from './clientProfilesRepresentation';
|
|
9
|
-
import ClientPoliciesRepresentation from './clientPoliciesRepresentation';
|
|
10
|
-
import RoleRepresentation from './roleRepresentation';
|
|
1
|
+
import type ClientRepresentation from './clientRepresentation.js';
|
|
2
|
+
import type ComponentExportRepresentation from './componentExportRepresentation.js';
|
|
3
|
+
import type UserRepresentation from './userRepresentation.js';
|
|
4
|
+
import type GroupRepresentation from './groupRepresentation.js';
|
|
5
|
+
import type IdentityProviderRepresentation from './identityProviderRepresentation.js';
|
|
6
|
+
import type RequiredActionProviderRepresentation from './requiredActionProviderRepresentation.js';
|
|
7
|
+
import type RolesRepresentation from './rolesRepresentation.js';
|
|
8
|
+
import type ClientProfilesRepresentation from './clientProfilesRepresentation.js';
|
|
9
|
+
import type ClientPoliciesRepresentation from './clientPoliciesRepresentation.js';
|
|
10
|
+
import type RoleRepresentation from './roleRepresentation.js';
|
|
11
11
|
export default interface RealmRepresentation {
|
|
12
12
|
accessCodeLifespan?: number;
|
|
13
13
|
accessCodeLifespanLogin?: number;
|
|
@@ -41,6 +41,7 @@ export default interface RealmRepresentation {
|
|
|
41
41
|
defaultOptionalClientScopes?: string[];
|
|
42
42
|
defaultRoles?: string[];
|
|
43
43
|
defaultRole?: RoleRepresentation;
|
|
44
|
+
defaultSignatureAlgorithm?: string;
|
|
44
45
|
directGrantFlow?: string;
|
|
45
46
|
displayName?: string;
|
|
46
47
|
displayNameHtml?: string;
|
|
@@ -96,7 +97,11 @@ export default interface RealmRepresentation {
|
|
|
96
97
|
smtpServer?: Record<string, any>;
|
|
97
98
|
sslRequired?: string;
|
|
98
99
|
ssoSessionIdleTimeout?: number;
|
|
100
|
+
ssoSessionIdleTimeoutRememberMe?: number;
|
|
99
101
|
ssoSessionMaxLifespan?: number;
|
|
102
|
+
ssoSessionMaxLifespanRememberMe?: number;
|
|
103
|
+
clientSessionIdleTimeout?: number;
|
|
104
|
+
clientSessionMaxLifespan?: number;
|
|
100
105
|
supportedLocales?: string[];
|
|
101
106
|
userFederationMappers?: any[];
|
|
102
107
|
userFederationProviders?: any[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
exports.RequiredActionAlias = void 0;
|
|
4
|
-
var RequiredActionAlias;
|
|
1
|
+
export var RequiredActionAlias;
|
|
5
2
|
(function (RequiredActionAlias) {
|
|
6
3
|
RequiredActionAlias["VERIFY_EMAIL"] = "VERIFY_EMAIL";
|
|
7
4
|
RequiredActionAlias["UPDATE_PROFILE"] = "UPDATE_PROFILE";
|
|
8
5
|
RequiredActionAlias["CONFIGURE_TOTP"] = "CONFIGURE_TOTP";
|
|
9
6
|
RequiredActionAlias["UPDATE_PASSWORD"] = "UPDATE_PASSWORD";
|
|
10
7
|
RequiredActionAlias["terms_and_conditions"] = "terms_and_conditions";
|
|
11
|
-
})(RequiredActionAlias =
|
|
8
|
+
})(RequiredActionAlias = RequiredActionAlias || (RequiredActionAlias = {}));
|
|
12
9
|
//# sourceMappingURL=requiredActionProviderRepresentation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requiredActionProviderRepresentation.js","sourceRoot":"","sources":["../../src/defs/requiredActionProviderRepresentation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"requiredActionProviderRepresentation.js","sourceRoot":"","sources":["../../src/defs/requiredActionProviderRepresentation.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,oDAA6B,CAAA;IAC7B,wDAAiC,CAAA;IACjC,wDAAiC,CAAA;IACjC,0DAAmC,CAAA;IACnC,oEAA6C,CAAA;AAC/C,CAAC,EANW,mBAAmB,GAAnB,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ResourceOwnerRepresentation } from './resourceServerRepresentation';
|
|
2
|
-
import ScopeRepresentation from './scopeRepresentation';
|
|
1
|
+
import type { ResourceOwnerRepresentation } from './resourceServerRepresentation.js';
|
|
2
|
+
import type ScopeRepresentation from './scopeRepresentation.js';
|
|
3
3
|
export default interface ResourceRepresentation {
|
|
4
4
|
name?: string;
|
|
5
5
|
type?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import PolicyRepresentation from './policyRepresentation';
|
|
2
|
-
import ResourceRepresentation from './resourceRepresentation';
|
|
3
|
-
import ScopeRepresentation from './scopeRepresentation';
|
|
1
|
+
import type PolicyRepresentation from './policyRepresentation.js';
|
|
2
|
+
import type ResourceRepresentation from './resourceRepresentation.js';
|
|
3
|
+
import type ScopeRepresentation from './scopeRepresentation.js';
|
|
4
4
|
export default interface ResourceServerRepresentation {
|
|
5
5
|
id?: string;
|
|
6
6
|
clientId?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import PolicyRepresentation from './policyRepresentation';
|
|
2
|
-
import ResourceRepresentation from './resourceRepresentation';
|
|
1
|
+
import type PolicyRepresentation from './policyRepresentation.js';
|
|
2
|
+
import type ResourceRepresentation from './resourceRepresentation.js';
|
|
3
3
|
export default interface ScopeRepresentation {
|
|
4
4
|
displayName?: string;
|
|
5
5
|
iconUri?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import ComponentTypeRepresentation from './componentTypeRepresentation';
|
|
2
|
-
import { ConfigPropertyRepresentation } from './configPropertyRepresentation';
|
|
3
|
-
import PasswordPolicyTypeRepresentation from './passwordPolicyTypeRepresentation';
|
|
4
|
-
import ProfileInfoRepresentation from './profileInfoRepresentation';
|
|
5
|
-
import ProtocolMapperRepresentation from './protocolMapperRepresentation';
|
|
6
|
-
import SystemInfoRepresentation from './systemInfoRepersantation';
|
|
1
|
+
import type ComponentTypeRepresentation from './componentTypeRepresentation.js';
|
|
2
|
+
import type { ConfigPropertyRepresentation } from './configPropertyRepresentation.js';
|
|
3
|
+
import type PasswordPolicyTypeRepresentation from './passwordPolicyTypeRepresentation.js';
|
|
4
|
+
import type ProfileInfoRepresentation from './profileInfoRepresentation.js';
|
|
5
|
+
import type ProtocolMapperRepresentation from './protocolMapperRepresentation.js';
|
|
6
|
+
import type SystemInfoRepresentation from './systemInfoRepersantation.js';
|
|
7
7
|
export interface ServerInfoRepresentation {
|
|
8
8
|
systemInfo?: SystemInfoRepresentation;
|
|
9
9
|
memoryInfo?: MemoryInfoRepresentation;
|
|
@@ -42,7 +42,7 @@ export interface ServerInfoRepresentation {
|
|
|
42
42
|
}
|
|
43
43
|
export interface ThemeInfoRepresentation {
|
|
44
44
|
name: string;
|
|
45
|
-
locales
|
|
45
|
+
locales?: string[];
|
|
46
46
|
}
|
|
47
47
|
export interface SpiInfoRepresentation {
|
|
48
48
|
internal: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import UserConsentRepresentation from './userConsentRepresentation';
|
|
2
|
-
import CredentialRepresentation from './credentialRepresentation';
|
|
3
|
-
import FederatedIdentityRepresentation from './federatedIdentityRepresentation';
|
|
4
|
-
import { RequiredActionAlias } from './requiredActionProviderRepresentation';
|
|
1
|
+
import type UserConsentRepresentation from './userConsentRepresentation.js';
|
|
2
|
+
import type CredentialRepresentation from './credentialRepresentation.js';
|
|
3
|
+
import type FederatedIdentityRepresentation from './federatedIdentityRepresentation.js';
|
|
4
|
+
import type { RequiredActionAlias } from './requiredActionProviderRepresentation.js';
|
|
5
5
|
export default interface UserRepresentation {
|
|
6
6
|
id?: string;
|
|
7
7
|
createdTimestamp?: number;
|
|
@@ -10,7 +10,7 @@ export default interface UserRepresentation {
|
|
|
10
10
|
totp?: boolean;
|
|
11
11
|
emailVerified?: boolean;
|
|
12
12
|
disableableCredentialTypes?: string[];
|
|
13
|
-
requiredActions?: RequiredActionAlias[];
|
|
13
|
+
requiredActions?: (RequiredActionAlias | string)[];
|
|
14
14
|
notBefore?: number;
|
|
15
15
|
access?: Record<string, boolean>;
|
|
16
16
|
attributes?: Record<string, any>;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RequiredActionAlias } from './defs/requiredActionProviderRepresentation';
|
|
2
|
-
import { KeycloakAdminClient } from './client';
|
|
1
|
+
import { RequiredActionAlias } from './defs/requiredActionProviderRepresentation.js';
|
|
2
|
+
import { KeycloakAdminClient } from './client.js';
|
|
3
3
|
export declare const requiredAction: typeof RequiredActionAlias;
|
|
4
4
|
export default KeycloakAdminClient;
|
package/lib/index.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var client_1 = require("./client");
|
|
6
|
-
exports.requiredAction = requiredActionProviderRepresentation_1.RequiredActionAlias;
|
|
7
|
-
exports["default"] = client_1.KeycloakAdminClient;
|
|
1
|
+
import { RequiredActionAlias } from './defs/requiredActionProviderRepresentation.js';
|
|
2
|
+
import { KeycloakAdminClient } from './client.js';
|
|
3
|
+
export const requiredAction = RequiredActionAlias;
|
|
4
|
+
export default KeycloakAdminClient;
|
|
8
5
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAC,MAAM,gDAAgD,CAAC;AACnF,OAAO,EAAC,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAEhD,MAAM,CAAC,MAAM,cAAc,GAAG,mBAAmB,CAAC;AAClD,eAAe,mBAAmB,CAAC"}
|
package/lib/resources/agent.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxiosRequestHeaders, Method } from 'axios';
|
|
2
|
-
import { KeycloakAdminClient } from '../client';
|
|
2
|
+
import type { KeycloakAdminClient } from '../client.js';
|
|
3
3
|
export interface RequestArgs {
|
|
4
4
|
method: Method;
|
|
5
5
|
path?: string;
|
|
@@ -25,7 +25,7 @@ export declare class Agent {
|
|
|
25
25
|
getUrlParams?: () => Record<string, any>;
|
|
26
26
|
getBaseUrl?: () => string;
|
|
27
27
|
});
|
|
28
|
-
request({ method, path, urlParamKeys, queryParamKeys, catchNotFound, keyTransform, payloadKey, returnResourceIdInLocationHeader, ignoredKeys, headers, }: RequestArgs): (payload?: any, options?: Pick<RequestArgs,
|
|
28
|
+
request({ method, path, urlParamKeys, queryParamKeys, catchNotFound, keyTransform, payloadKey, returnResourceIdInLocationHeader, ignoredKeys, headers, }: RequestArgs): (payload?: any, options?: Pick<RequestArgs, 'catchNotFound'>) => Promise<any>;
|
|
29
29
|
updateRequest({ method, path, urlParamKeys, queryParamKeys, catchNotFound, keyTransform, payloadKey, returnResourceIdInLocationHeader, headers }: RequestArgs): (query?: any, payload?: any) => Promise<any>;
|
|
30
30
|
private requestWithParams;
|
|
31
31
|
private transformKey;
|