@thunderid/javascript 1.7.0 → 1.8.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/dist/ThunderIDJavaScriptClient.d.ts.map +1 -1
- package/dist/api/management/administration/runAccountLifecycleAction.d.ts +31 -0
- package/dist/api/management/administration/runAccountLifecycleAction.d.ts.map +1 -0
- package/dist/cjs/index.cjs +472 -5
- package/dist/constants/AdministrationConstants.d.ts +20 -0
- package/dist/constants/AdministrationConstants.d.ts.map +1 -1
- package/dist/edge/index.js +464 -6
- package/dist/i18n/models/i18n.d.ts +26 -0
- package/dist/i18n/models/i18n.d.ts.map +1 -1
- package/dist/i18n/translations/en-US.d.ts.map +1 -1
- package/dist/i18n/translations/fr-FR.d.ts.map +1 -1
- package/dist/i18n/translations/hi-IN.d.ts.map +1 -1
- package/dist/i18n/translations/ja-JP.d.ts.map +1 -1
- package/dist/i18n/translations/pt-BR.d.ts.map +1 -1
- package/dist/i18n/translations/pt-PT.d.ts.map +1 -1
- package/dist/i18n/translations/si-LK.d.ts.map +1 -1
- package/dist/i18n/translations/ta-IN.d.ts.map +1 -1
- package/dist/i18n/translations/te-IN.d.ts.map +1 -1
- package/dist/index.d.ts +12 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +464 -6
- package/dist/models/access-status.d.ts +52 -0
- package/dist/models/access-status.d.ts.map +1 -0
- package/dist/models/administration.d.ts +8 -0
- package/dist/models/administration.d.ts.map +1 -1
- package/dist/models/agent-resource.d.ts +5 -0
- package/dist/models/agent-resource.d.ts.map +1 -1
- package/dist/models/ciba.d.ts +6 -0
- package/dist/models/ciba.d.ts.map +1 -1
- package/dist/models/config.d.ts +17 -0
- package/dist/models/config.d.ts.map +1 -1
- package/dist/models/embedded-flow.d.ts +62 -3
- package/dist/models/embedded-flow.d.ts.map +1 -1
- package/dist/models/managed-user.d.ts +5 -0
- package/dist/models/managed-user.d.ts.map +1 -1
- package/dist/models/oauth-request.d.ts +52 -1
- package/dist/models/oauth-request.d.ts.map +1 -1
- package/dist/models/session.d.ts +3 -0
- package/dist/models/session.d.ts.map +1 -1
- package/dist/models/token.d.ts +11 -0
- package/dist/models/token.d.ts.map +1 -1
- package/dist/utils/AuthenticationHelper.d.ts.map +1 -1
- package/dist/utils/getAccountLifecycleActions.d.ts +22 -0
- package/dist/utils/getAccountLifecycleActions.d.ts.map +1 -0
- package/dist/utils/getAuthorizeRequestUrlParams.d.ts +4 -3
- package/dist/utils/getAuthorizeRequestUrlParams.d.ts.map +1 -1
- package/dist/utils/getConsentElementDecision.d.ts +20 -0
- package/dist/utils/getConsentElementDecision.d.ts.map +1 -0
- package/dist/utils/getConsentInvalidKey.d.ts +21 -0
- package/dist/utils/getConsentInvalidKey.d.ts.map +1 -0
- package/dist/utils/getConsentModifiedKey.d.ts +21 -0
- package/dist/utils/getConsentModifiedKey.d.ts.map +1 -0
- package/dist/utils/getConsentModifiedValues.d.ts +20 -0
- package/dist/utils/getConsentModifiedValues.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -1949,6 +1949,26 @@ const AdministrationFlowConfigKey = {
|
|
|
1949
1949
|
USER_UNSUSPEND: "userUnsuspendFlow"
|
|
1950
1950
|
};
|
|
1951
1951
|
/**
|
|
1952
|
+
* The `flow` server-config key naming the flow of each account lifecycle action, by the kind of identity it
|
|
1953
|
+
* acts on. Applications are never locked, so they have no unlock.
|
|
1954
|
+
*/
|
|
1955
|
+
const AccountLifecycleFlowConfigKey = {
|
|
1956
|
+
agent: {
|
|
1957
|
+
suspend: AdministrationFlowConfigKey.AGENT_SUSPEND,
|
|
1958
|
+
unlock: AdministrationFlowConfigKey.AGENT_UNLOCK,
|
|
1959
|
+
unsuspend: AdministrationFlowConfigKey.AGENT_UNSUSPEND
|
|
1960
|
+
},
|
|
1961
|
+
application: {
|
|
1962
|
+
suspend: AdministrationFlowConfigKey.APPLICATION_SUSPEND,
|
|
1963
|
+
unsuspend: AdministrationFlowConfigKey.APPLICATION_UNSUSPEND
|
|
1964
|
+
},
|
|
1965
|
+
user: {
|
|
1966
|
+
suspend: AdministrationFlowConfigKey.USER_SUSPEND,
|
|
1967
|
+
unlock: AdministrationFlowConfigKey.USER_UNLOCK,
|
|
1968
|
+
unsuspend: AdministrationFlowConfigKey.USER_UNSUSPEND
|
|
1969
|
+
}
|
|
1970
|
+
};
|
|
1971
|
+
/**
|
|
1952
1972
|
* Names of the inputs an administration flow reads. They avoid the execution request's top-level names
|
|
1953
1973
|
* so a value cannot land in the wrong place.
|
|
1954
1974
|
*/
|
|
@@ -6596,6 +6616,73 @@ const unsuspendApplication = async ({ applicationId, operatorNote,...config }) =
|
|
|
6596
6616
|
});
|
|
6597
6617
|
var unsuspendApplication_default = unsuspendApplication;
|
|
6598
6618
|
|
|
6619
|
+
//#endregion
|
|
6620
|
+
//#region src/api/management/administration/runAccountLifecycleAction.ts
|
|
6621
|
+
/**
|
|
6622
|
+
* The operation behind each action, by the kind of identity. Applications are never locked.
|
|
6623
|
+
*/
|
|
6624
|
+
const OPERATIONS = {
|
|
6625
|
+
agent: {
|
|
6626
|
+
suspend: (config, agentId) => suspendAgent_default({
|
|
6627
|
+
...config,
|
|
6628
|
+
agentId
|
|
6629
|
+
}),
|
|
6630
|
+
unlock: (config, agentId) => unlockAgent_default({
|
|
6631
|
+
...config,
|
|
6632
|
+
agentId
|
|
6633
|
+
}),
|
|
6634
|
+
unsuspend: (config, agentId) => unsuspendAgent_default({
|
|
6635
|
+
...config,
|
|
6636
|
+
agentId
|
|
6637
|
+
})
|
|
6638
|
+
},
|
|
6639
|
+
application: {
|
|
6640
|
+
suspend: (config, applicationId) => suspendApplication_default({
|
|
6641
|
+
...config,
|
|
6642
|
+
applicationId
|
|
6643
|
+
}),
|
|
6644
|
+
unsuspend: (config, applicationId) => unsuspendApplication_default({
|
|
6645
|
+
...config,
|
|
6646
|
+
applicationId
|
|
6647
|
+
})
|
|
6648
|
+
},
|
|
6649
|
+
user: {
|
|
6650
|
+
suspend: (config, userId) => suspendUser_default({
|
|
6651
|
+
...config,
|
|
6652
|
+
userId
|
|
6653
|
+
}),
|
|
6654
|
+
unlock: (config, userId) => unlockUser_default({
|
|
6655
|
+
...config,
|
|
6656
|
+
userId
|
|
6657
|
+
}),
|
|
6658
|
+
unsuspend: (config, userId) => unsuspendUser_default({
|
|
6659
|
+
...config,
|
|
6660
|
+
userId
|
|
6661
|
+
})
|
|
6662
|
+
}
|
|
6663
|
+
};
|
|
6664
|
+
/**
|
|
6665
|
+
* Runs an account lifecycle action against a user, agent or application, through the operation for that
|
|
6666
|
+
* kind and action (for example `suspendUser`). Each raises its own errors, so a missing flow fails with
|
|
6667
|
+
* that operation's `NotConfiguredError`. An action that does not apply to the kind, such as unlocking an
|
|
6668
|
+
* application, is refused with `runAccountLifecycleAction-ValidationError-001`.
|
|
6669
|
+
*
|
|
6670
|
+
* @param config - Request configuration object. Running a flow needs `baseUrl`, and a token that may read
|
|
6671
|
+
* the server configuration and run administration flows.
|
|
6672
|
+
* @returns Whether the flow's email step sent its notification, absent when the flow has no email step.
|
|
6673
|
+
*
|
|
6674
|
+
* @example
|
|
6675
|
+
* ```typescript
|
|
6676
|
+
* await runAccountLifecycleAction({action: 'suspend', baseUrl, kind: 'user', operatorNote: 'Ticket 4521', subject: userId});
|
|
6677
|
+
* ```
|
|
6678
|
+
*/
|
|
6679
|
+
const runAccountLifecycleAction = async ({ action, kind, subject,...config }) => {
|
|
6680
|
+
const operation = OPERATIONS[kind]?.[action];
|
|
6681
|
+
if (!operation) throw new ThunderIDAPIError(`The ${action} action does not apply to ${kind} accounts.`, "runAccountLifecycleAction-ValidationError-001", "javascript", 400, `The ${action} action does not apply to the ${kind} kind.`);
|
|
6682
|
+
return operation(config, subject);
|
|
6683
|
+
};
|
|
6684
|
+
var runAccountLifecycleAction_default = runAccountLifecycleAction;
|
|
6685
|
+
|
|
6599
6686
|
//#endregion
|
|
6600
6687
|
//#region src/api/management/resource-servers/deleteAction.ts
|
|
6601
6688
|
/**
|
|
@@ -8034,6 +8121,7 @@ var AuthenticationHelper = class {
|
|
|
8034
8121
|
await this.storageManager.setSessionData(parsedResponse, userId);
|
|
8035
8122
|
return {
|
|
8036
8123
|
accessToken: parsedResponse.access_token,
|
|
8124
|
+
authorizationDetails: parsedResponse.authorization_details,
|
|
8037
8125
|
createdAt: parsedResponse.created_at,
|
|
8038
8126
|
expiresIn: parsedResponse.expires_in,
|
|
8039
8127
|
idToken: parsedResponse.id_token,
|
|
@@ -8045,6 +8133,7 @@ var AuthenticationHelper = class {
|
|
|
8045
8133
|
await this.storageManager.setSessionData(parsedResponse, userId);
|
|
8046
8134
|
return {
|
|
8047
8135
|
accessToken: parsedResponse.access_token,
|
|
8136
|
+
authorizationDetails: parsedResponse.authorization_details,
|
|
8048
8137
|
createdAt: parsedResponse.created_at,
|
|
8049
8138
|
expiresIn: parsedResponse.expires_in,
|
|
8050
8139
|
idToken: parsedResponse.id_token,
|
|
@@ -8210,9 +8299,10 @@ var generateStateParamForRequestCorrelation_default = generateStateParamForReque
|
|
|
8210
8299
|
* This utility ensures the `openid` scope is always included, handles both string and array forms of the `scope` parameter,
|
|
8211
8300
|
* and supports PKCE and custom parameters. Throws if a code challenge is provided without a code challenge method.
|
|
8212
8301
|
*
|
|
8213
|
-
* @param options - The main options for the authorization request, including redirectUri, clientId, scope, responseMode, codeChallenge, codeChallengeMethod, prompt, and randomState (a value generated from random bytes that makes the `state` unique to this request).
|
|
8302
|
+
* @param options - The main options for the authorization request, including redirectUri, clientId, scope, responseMode, codeChallenge, codeChallengeMethod, prompt, authorizationDetails, and randomState (a value generated from random bytes that makes the `state` unique to this request).
|
|
8214
8303
|
* @param pkceOptions - PKCE options, including the PKCE key for state correlation.
|
|
8215
8304
|
* @param customParams - Optional custom parameters to include in the request (excluding the `state` param, which is handled separately).
|
|
8305
|
+
* An object or array value, such as RFC 9396 `authorization_details`, is sent JSON-encoded.
|
|
8216
8306
|
* @returns A Map of key-value pairs representing the authorization request URL parameters.
|
|
8217
8307
|
*
|
|
8218
8308
|
* @throws {ThunderIDRuntimeError} If a code challenge is provided without a code challenge method.
|
|
@@ -8234,7 +8324,7 @@ var generateStateParamForRequestCorrelation_default = generateStateParamForReque
|
|
|
8234
8324
|
* // Returns a Map with all required OIDC params, PKCE, and custom params.
|
|
8235
8325
|
*/
|
|
8236
8326
|
const getAuthorizeRequestUrlParams = (options, pkceOptions, customParams) => {
|
|
8237
|
-
const { redirectUri, clientId, scopes, responseMode, codeChallenge, codeChallengeMethod, prompt } = options;
|
|
8327
|
+
const { authorizationDetails, redirectUri, clientId, scopes, responseMode, codeChallenge, codeChallengeMethod, prompt } = options;
|
|
8238
8328
|
const authorizeRequestParams = /* @__PURE__ */ new Map();
|
|
8239
8329
|
authorizeRequestParams.set("response_type", "code");
|
|
8240
8330
|
authorizeRequestParams.set("client_id", clientId);
|
|
@@ -8248,11 +8338,12 @@ const getAuthorizeRequestUrlParams = (options, pkceOptions, customParams) => {
|
|
|
8248
8338
|
else throw new ThunderIDRuntimeError("Code challenge method is required when code challenge is provided.", "getAuthorizeRequestUrlParams-ValidationError-001", "javascript", "When PKCE is enabled, the code challenge method must be provided along with the code challenge.");
|
|
8249
8339
|
}
|
|
8250
8340
|
if (prompt) authorizeRequestParams.set("prompt", prompt);
|
|
8341
|
+
if (authorizationDetails?.length) authorizeRequestParams.set("authorization_details", JSON.stringify(authorizationDetails));
|
|
8251
8342
|
if (customParams) Object.entries(customParams).forEach(([key, value]) => {
|
|
8252
|
-
if (key !== "" && value !== "" && key !== OIDCRequestConstants_default.Params.STATE) authorizeRequestParams.set(key, value.toString());
|
|
8343
|
+
if (key !== "" && value !== "" && key !== OIDCRequestConstants_default.Params.STATE) authorizeRequestParams.set(key, typeof value === "object" ? JSON.stringify(value) : value.toString());
|
|
8253
8344
|
});
|
|
8254
8345
|
const AUTH_INSTANCE_PREFIX = "instance_";
|
|
8255
|
-
const customState = customParams?.[OIDCRequestConstants_default.Params.STATE]?.toString() ?? "";
|
|
8346
|
+
const customState = (customParams?.[OIDCRequestConstants_default.Params.STATE])?.toString() ?? "";
|
|
8256
8347
|
let customStateValue = customState;
|
|
8257
8348
|
if (options.instanceId) customStateValue = AUTH_INSTANCE_PREFIX + options.instanceId + (customState ? `_${customState}` : "");
|
|
8258
8349
|
if (options.randomState) customStateValue = customStateValue ? `${customStateValue}_${options.randomState}` : options.randomState;
|
|
@@ -8556,6 +8647,7 @@ var ThunderIDJavaScriptClient = class {
|
|
|
8556
8647
|
async getSignInUrl(requestConfig, userId) {
|
|
8557
8648
|
const authRequestConfig = { ...requestConfig };
|
|
8558
8649
|
delete authRequestConfig?.forceInit;
|
|
8650
|
+
delete authRequestConfig?.authorizationDetails;
|
|
8559
8651
|
const buildSignInUrl = async () => {
|
|
8560
8652
|
const authorizeEndpoint = await this.storageManager.getOIDCProviderMetaDataParameter(OIDCDiscoveryConstants_default.Storage.StorageKeys.Endpoints.AUTHORIZATION);
|
|
8561
8653
|
if (!authorizeEndpoint || authorizeEndpoint.trim().length === 0) throw new ThunderIDAuthException("JS-AUTH_CORE-GAU-NF01", "No authorization endpoint found.", "No authorization endpoint was found in the OIDC provider meta data from the well-known endpoint or the authorization endpoint passed to the SDK is empty.");
|
|
@@ -8571,6 +8663,7 @@ var ThunderIDJavaScriptClient = class {
|
|
|
8571
8663
|
}
|
|
8572
8664
|
if (authRequestConfig["client_secret"]) authRequestConfig["client_secret"] = configData.clientSecret ?? "";
|
|
8573
8665
|
const authorizeRequestParams = getAuthorizeRequestUrlParams_default(Object.fromEntries(Object.entries({
|
|
8666
|
+
authorizationDetails: requestConfig?.authorizationDetails ?? configData.authorizationDetails,
|
|
8574
8667
|
clientId: configData.clientId ?? "",
|
|
8575
8668
|
codeChallenge,
|
|
8576
8669
|
codeChallengeMethod: PKCEConstants_default.DEFAULT_CODE_CHALLENGE_METHOD,
|
|
@@ -8688,7 +8781,11 @@ var ThunderIDJavaScriptClient = class {
|
|
|
8688
8781
|
return (await this.storageManager.getSessionData(userId))?.id_token;
|
|
8689
8782
|
}
|
|
8690
8783
|
async getUserSession(userId) {
|
|
8691
|
-
|
|
8784
|
+
const sessionData = await this.storageManager.getSessionData(userId);
|
|
8785
|
+
return {
|
|
8786
|
+
authorizationDetails: sessionData?.authorization_details,
|
|
8787
|
+
scopes: sessionData?.scope?.split(" ")
|
|
8788
|
+
};
|
|
8692
8789
|
}
|
|
8693
8790
|
async refreshAccessToken(userId) {
|
|
8694
8791
|
const tokenEndpoint = (await this.oidcProviderMetaDataProvider()).token_endpoint;
|
|
@@ -8737,6 +8834,7 @@ var ThunderIDJavaScriptClient = class {
|
|
|
8737
8834
|
if (hasSecret && tokenEndpointAuthMethod === "client_secret_post") body.set("client_secret", configData.clientSecret);
|
|
8738
8835
|
const scope = Array.isArray(configData.scopes) ? configData.scopes.join(" ") : configData.scopes;
|
|
8739
8836
|
if (scope) body.set("scope", scope);
|
|
8837
|
+
if (configData.authorizationDetails?.length) body.set("authorization_details", JSON.stringify(configData.authorizationDetails));
|
|
8740
8838
|
if (configData.tokenRequest?.params) Object.entries(configData.tokenRequest.params).forEach(([key, value]) => {
|
|
8741
8839
|
body.set(key, value);
|
|
8742
8840
|
});
|
|
@@ -8761,6 +8859,7 @@ var ThunderIDJavaScriptClient = class {
|
|
|
8761
8859
|
await this.storageManager.setSessionData(parsedResponse, sessionId);
|
|
8762
8860
|
return {
|
|
8763
8861
|
accessToken: parsedResponse.access_token,
|
|
8862
|
+
authorizationDetails: parsedResponse.authorization_details,
|
|
8764
8863
|
createdAt: parsedResponse.created_at,
|
|
8765
8864
|
expiresIn: parsedResponse.expires_in,
|
|
8766
8865
|
idToken: parsedResponse.id_token ?? "",
|
|
@@ -8832,6 +8931,8 @@ var ThunderIDJavaScriptClient = class {
|
|
|
8832
8931
|
if (options.bindingMessage) body.set("binding_message", options.bindingMessage);
|
|
8833
8932
|
if (options.acrValues) body.set("acr_values", options.acrValues);
|
|
8834
8933
|
if (options.requestedExpiry !== void 0) body.set("requested_expiry", String(options.requestedExpiry));
|
|
8934
|
+
const authorizationDetails = options.authorizationDetails ?? configData.authorizationDetails;
|
|
8935
|
+
if (authorizationDetails?.length) body.set("authorization_details", JSON.stringify(authorizationDetails));
|
|
8835
8936
|
const headers = {
|
|
8836
8937
|
Accept: "application/json",
|
|
8837
8938
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
@@ -9730,6 +9831,43 @@ const resolveManagedIdentityName = (identity) => {
|
|
|
9730
9831
|
};
|
|
9731
9832
|
var resolveManagedIdentityName_default = resolveManagedIdentityName;
|
|
9732
9833
|
|
|
9834
|
+
//#endregion
|
|
9835
|
+
//#region src/utils/getAccountLifecycleActions.ts
|
|
9836
|
+
/**
|
|
9837
|
+
* The actions each status offers, most expected first. A suspended identity offers no unlock, since a
|
|
9838
|
+
* read does not show a lock beneath the suspension: once unsuspended, a remaining lock shows as `LOCKED`.
|
|
9839
|
+
*/
|
|
9840
|
+
const ACTIONS_BY_STATUS = {
|
|
9841
|
+
ACTIVE: ["suspend"],
|
|
9842
|
+
LOCKED: ["unlock", "suspend"],
|
|
9843
|
+
SUSPENDED: ["unsuspend"]
|
|
9844
|
+
};
|
|
9845
|
+
/**
|
|
9846
|
+
* The account lifecycle actions to offer for an identity: those its status allows, that apply to its
|
|
9847
|
+
* kind, and whose administration flow is configured. These actions run only through their flows, so one
|
|
9848
|
+
* with no flow is never offered.
|
|
9849
|
+
*
|
|
9850
|
+
* @param kind - The kind of identity.
|
|
9851
|
+
* @param status - Its effective access status. An identity with none reads as `ACTIVE`.
|
|
9852
|
+
* @param configuredFlows - The flows the server configures, keyed by `flow` server-config key, as
|
|
9853
|
+
* `resolveAdministrationFlows` returns them.
|
|
9854
|
+
* @returns The actions to offer, most expected first.
|
|
9855
|
+
*
|
|
9856
|
+
* @example
|
|
9857
|
+
* ```typescript
|
|
9858
|
+
* const flows = await resolveAdministrationFlows(config, Object.values(AccountLifecycleFlowConfigKey.user));
|
|
9859
|
+
* getAccountLifecycleActions('user', user.status?.value, flows); // ['unlock', 'suspend'] for a locked user
|
|
9860
|
+
* ```
|
|
9861
|
+
*/
|
|
9862
|
+
const getAccountLifecycleActions = (kind, status, configuredFlows) => {
|
|
9863
|
+
const configKeys = AccountLifecycleFlowConfigKey[kind];
|
|
9864
|
+
return (ACTIONS_BY_STATUS[status ?? "ACTIVE"] ?? []).filter((action) => {
|
|
9865
|
+
const configKey = configKeys[action];
|
|
9866
|
+
return configKey !== void 0 && Boolean(configuredFlows[configKey]);
|
|
9867
|
+
});
|
|
9868
|
+
};
|
|
9869
|
+
var getAccountLifecycleActions_default = getAccountLifecycleActions;
|
|
9870
|
+
|
|
9733
9871
|
//#endregion
|
|
9734
9872
|
//#region src/utils/hasPermission.ts
|
|
9735
9873
|
/**
|
|
@@ -9984,6 +10122,118 @@ const getRedirectBasedSignUpUrl = (config) => {
|
|
|
9984
10122
|
};
|
|
9985
10123
|
var getRedirectBasedSignUpUrl_default = getRedirectBasedSignUpUrl;
|
|
9986
10124
|
|
|
10125
|
+
//#endregion
|
|
10126
|
+
//#region src/utils/getConsentModifiedKey.ts
|
|
10127
|
+
/**
|
|
10128
|
+
* Prefix of the form keys that hold the values a user modified on an authorization detail.
|
|
10129
|
+
*/
|
|
10130
|
+
const CONSENT_MODIFIED_KEY_PREFIX = "__consent_modified__";
|
|
10131
|
+
/**
|
|
10132
|
+
* Generates the form key that holds the value a user chose for one field of an authorization
|
|
10133
|
+
* detail. The stored value is the JSON text of the field's new value.
|
|
10134
|
+
*
|
|
10135
|
+
* @param purposeId - The identifier of the consent purpose the authorization detail belongs to.
|
|
10136
|
+
* @param detailId - The identifier of the authorization detail, its consent element name.
|
|
10137
|
+
* @param path - Dot-separated location of the field within the detail.
|
|
10138
|
+
* @returns A stable form key string.
|
|
10139
|
+
*
|
|
10140
|
+
* @example
|
|
10141
|
+
* ```typescript
|
|
10142
|
+
* getConsentModifiedKey('p1', 'd-1', 'instructedAmount.amount') // returns '__consent_modified__p1__d-1__instructedAmount.amount'
|
|
10143
|
+
* ```
|
|
10144
|
+
*/
|
|
10145
|
+
const getConsentModifiedKey = (purposeId, detailId, path) => `${CONSENT_MODIFIED_KEY_PREFIX}${purposeId}__${detailId}__${path}`;
|
|
10146
|
+
var getConsentModifiedKey_default = getConsentModifiedKey;
|
|
10147
|
+
|
|
10148
|
+
//#endregion
|
|
10149
|
+
//#region src/utils/getConsentInvalidKey.ts
|
|
10150
|
+
/**
|
|
10151
|
+
* Prefix of the form keys that mark an authorization detail field whose entered text cannot be submitted.
|
|
10152
|
+
*/
|
|
10153
|
+
const CONSENT_INVALID_KEY_PREFIX = "__consent_invalid__";
|
|
10154
|
+
/**
|
|
10155
|
+
* Generates the form key that marks one field of an authorization detail as holding text that cannot be
|
|
10156
|
+
* submitted. The stored value is `true` while the field shows such text, and empty otherwise.
|
|
10157
|
+
*
|
|
10158
|
+
* @param purposeId - The identifier of the consent purpose the authorization detail belongs to.
|
|
10159
|
+
* @param detailId - The identifier of the authorization detail, its consent element name.
|
|
10160
|
+
* @param path - Dot-separated location of the field within the detail.
|
|
10161
|
+
* @returns A stable form key string.
|
|
10162
|
+
*
|
|
10163
|
+
* @example
|
|
10164
|
+
* ```typescript
|
|
10165
|
+
* getConsentInvalidKey('p1', 'd-1', 'instructedAmount.amount') // returns '__consent_invalid__p1__d-1__instructedAmount.amount'
|
|
10166
|
+
* ```
|
|
10167
|
+
*/
|
|
10168
|
+
const getConsentInvalidKey = (purposeId, detailId, path) => `${CONSENT_INVALID_KEY_PREFIX}${purposeId}__${detailId}__${path}`;
|
|
10169
|
+
var getConsentInvalidKey_default = getConsentInvalidKey;
|
|
10170
|
+
|
|
10171
|
+
//#endregion
|
|
10172
|
+
//#region src/utils/getConsentModifiedValues.ts
|
|
10173
|
+
/**
|
|
10174
|
+
* Collects the values a user modified on an authorization detail element, for the `modified` member
|
|
10175
|
+
* of its consent decision. Only fields the element lets the user modify are read, and a field left at
|
|
10176
|
+
* the value that was shown, or marked as holding text that cannot be submitted, is left out.
|
|
10177
|
+
*
|
|
10178
|
+
* @param purposeId - The identifier of the consent purpose the element belongs to.
|
|
10179
|
+
* @param element - The authorization detail element.
|
|
10180
|
+
* @param inputs - Form values, holding the JSON text of each changed field under its modified key and its
|
|
10181
|
+
* invalid marker under its invalid key.
|
|
10182
|
+
* @returns The changed values keyed by field path, or `undefined` when nothing was changed.
|
|
10183
|
+
*
|
|
10184
|
+
* @example
|
|
10185
|
+
* ```typescript
|
|
10186
|
+
* getConsentModifiedValues('p1', element, {'__consent_modified__p1__d-1__amount': '20'}) // returns {amount: 20}
|
|
10187
|
+
* ```
|
|
10188
|
+
*/
|
|
10189
|
+
const getConsentModifiedValues = (purposeId, element, inputs) => {
|
|
10190
|
+
const modified = {};
|
|
10191
|
+
(element.rows ?? []).forEach((row) => {
|
|
10192
|
+
if (!row.modification) return;
|
|
10193
|
+
if (inputs[getConsentInvalidKey_default(purposeId, element.name, row.path)] === "true") return;
|
|
10194
|
+
const raw = inputs[getConsentModifiedKey_default(purposeId, element.name, row.path)];
|
|
10195
|
+
if (typeof raw !== "string" || raw === "") return;
|
|
10196
|
+
let value;
|
|
10197
|
+
try {
|
|
10198
|
+
value = JSON.parse(raw);
|
|
10199
|
+
} catch {
|
|
10200
|
+
return;
|
|
10201
|
+
}
|
|
10202
|
+
if (JSON.stringify(value) === JSON.stringify(row.value)) return;
|
|
10203
|
+
modified[row.path] = value;
|
|
10204
|
+
});
|
|
10205
|
+
return Object.keys(modified).length > 0 ? modified : void 0;
|
|
10206
|
+
};
|
|
10207
|
+
var getConsentModifiedValues_default = getConsentModifiedValues;
|
|
10208
|
+
|
|
10209
|
+
//#endregion
|
|
10210
|
+
//#region src/utils/getConsentElementDecision.ts
|
|
10211
|
+
/**
|
|
10212
|
+
* Builds the decision on one optional consent element. An approved authorization detail element carries
|
|
10213
|
+
* the values the user modified on it; any other element carries only its name and approval.
|
|
10214
|
+
*
|
|
10215
|
+
* @param purposeId - The identifier of the consent purpose the element belongs to.
|
|
10216
|
+
* @param element - The consent element.
|
|
10217
|
+
* @param approved - Whether the user approved the element.
|
|
10218
|
+
* @param inputs - Form values, holding the JSON text of each modified field under its modified key.
|
|
10219
|
+
* @returns The element decision.
|
|
10220
|
+
*
|
|
10221
|
+
* @example
|
|
10222
|
+
* ```typescript
|
|
10223
|
+
* getConsentElementDecision('p1', element, true, {'__consent_modified__p1__d-1__amount': '20'})
|
|
10224
|
+
* // returns {approved: true, name: 'd-1', modified: {amount: 20}}
|
|
10225
|
+
* ```
|
|
10226
|
+
*/
|
|
10227
|
+
const getConsentElementDecision = (purposeId, element, approved, inputs) => {
|
|
10228
|
+
const modified = approved ? getConsentModifiedValues_default(purposeId, element, inputs) : void 0;
|
|
10229
|
+
return {
|
|
10230
|
+
approved,
|
|
10231
|
+
name: element.name,
|
|
10232
|
+
...modified ? { modified } : {}
|
|
10233
|
+
};
|
|
10234
|
+
};
|
|
10235
|
+
var getConsentElementDecision_default = getConsentElementDecision;
|
|
10236
|
+
|
|
9987
10237
|
//#endregion
|
|
9988
10238
|
//#region src/utils/isEmpty.ts
|
|
9989
10239
|
/**
|
|
@@ -10664,6 +10914,20 @@ const en_US = {
|
|
|
10664
10914
|
"consent.essential_claims.info": "These attributes are required for the service to function properly.",
|
|
10665
10915
|
"consent.optional_claims.info": "These attributes are optional and can be provided at your discretion.",
|
|
10666
10916
|
"consent.authorize_scope.info": "These permissions allow the service to access additional features.",
|
|
10917
|
+
"consent.authorization_details.approve": "Approve",
|
|
10918
|
+
"consent.authorization_details.show_more": "Show more",
|
|
10919
|
+
"consent.authorization_details.show_less": "Show less",
|
|
10920
|
+
"consent.authorization_details.more_items": "+{count} more",
|
|
10921
|
+
"consent.authorization_details.invalid_number": "Enter a number.",
|
|
10922
|
+
"consent.authorization_details.number_max": "Enter {value} or less.",
|
|
10923
|
+
"consent.authorization_details.number_min": "Enter {value} or more.",
|
|
10924
|
+
"consent.authorization_details.invalid_date": "Enter a date.",
|
|
10925
|
+
"consent.authorization_details.date_max": "Choose {value} or earlier.",
|
|
10926
|
+
"consent.authorization_details.date_min": "Choose {value} or later.",
|
|
10927
|
+
"consent.authorization_details.remove_item": "{item}, remove",
|
|
10928
|
+
"consent.authorization_details.add_item": "{item}, add",
|
|
10929
|
+
"consent.authorization_details.add_back_item": "{item}, add back",
|
|
10930
|
+
"consent.authorization_details.new_item": "{label}, add",
|
|
10667
10931
|
"errors.heading": "Error",
|
|
10668
10932
|
"errors.signin.components.not.available": "Sign-in form is not available at the moment. Please try again later.",
|
|
10669
10933
|
"errors.signin.initialization": "An error occurred while initializing. Please try again later.",
|
|
@@ -10683,8 +10947,20 @@ const en_US = {
|
|
|
10683
10947
|
"admin.common.actions.cancel": "Cancel",
|
|
10684
10948
|
"admin.common.actions.confirm": "Confirm",
|
|
10685
10949
|
"admin.common.actions.remove": "Remove",
|
|
10950
|
+
"admin.common.status.active": "Active",
|
|
10951
|
+
"admin.common.status.locked": "Locked",
|
|
10952
|
+
"admin.common.status.suspended": "Suspended",
|
|
10953
|
+
"admin.common.lifecycle.suspend": "Suspend",
|
|
10954
|
+
"admin.common.lifecycle.unsuspend": "Unsuspend",
|
|
10955
|
+
"admin.common.lifecycle.unlock": "Unlock",
|
|
10956
|
+
"admin.common.lifecycle.suspend_confirm": "Suspend {name}? It can no longer sign in, and its sessions and tokens are revoked.",
|
|
10957
|
+
"admin.common.lifecycle.unsuspend_confirm": "Unsuspend {name}? Its access is restored, unless it is also locked.",
|
|
10958
|
+
"admin.common.lifecycle.operator_note": "Note (optional)",
|
|
10959
|
+
"admin.common.lifecycle.error": "The action could not be completed.",
|
|
10960
|
+
"admin.common.lifecycle.load_error": "The account actions could not be loaded.",
|
|
10686
10961
|
"admin.common.columns.actions": "Actions",
|
|
10687
10962
|
"admin.common.columns.organization_unit": "Organization unit",
|
|
10963
|
+
"admin.common.columns.status": "Status",
|
|
10688
10964
|
"admin.common.errors.forbidden": "You do not have permission to do this.",
|
|
10689
10965
|
"admin.common.errors.not_found": "This item could not be found.",
|
|
10690
10966
|
"admin.common.errors.no_ou": "Choose an organization unit before creating this item.",
|
|
@@ -10978,6 +11254,20 @@ const fr_FR = {
|
|
|
10978
11254
|
"consent.optional_claims.info": "Ces attributs sont facultatifs et peuvent être fournis à votre discrétion.",
|
|
10979
11255
|
"consent.authorize_scope.info": "Ces autorisations permettent au service d'accéder à des fonctionnalités supplémentaires.",
|
|
10980
11256
|
"errors.heading": "Erreur",
|
|
11257
|
+
"consent.authorization_details.approve": "Approuver",
|
|
11258
|
+
"consent.authorization_details.show_more": "Afficher plus",
|
|
11259
|
+
"consent.authorization_details.show_less": "Afficher moins",
|
|
11260
|
+
"consent.authorization_details.more_items": "+{count} de plus",
|
|
11261
|
+
"consent.authorization_details.invalid_number": "Saisissez un nombre.",
|
|
11262
|
+
"consent.authorization_details.number_max": "Saisissez {value} ou moins.",
|
|
11263
|
+
"consent.authorization_details.number_min": "Saisissez {value} ou plus.",
|
|
11264
|
+
"consent.authorization_details.invalid_date": "Saisissez une date.",
|
|
11265
|
+
"consent.authorization_details.date_max": "Choisissez le {value} ou une date antérieure.",
|
|
11266
|
+
"consent.authorization_details.date_min": "Choisissez le {value} ou une date ultérieure.",
|
|
11267
|
+
"consent.authorization_details.remove_item": "{item}, retirer",
|
|
11268
|
+
"consent.authorization_details.add_item": "{item}, ajouter",
|
|
11269
|
+
"consent.authorization_details.add_back_item": "{item}, rajouter",
|
|
11270
|
+
"consent.authorization_details.new_item": "{label}, ajouter",
|
|
10981
11271
|
"errors.signin.initialization": "Une erreur est survenue lors de l'initialisation. Veuillez réessayer plus tard.",
|
|
10982
11272
|
"errors.signin.flow.failure": "Une erreur est survenue lors du flux de connexion. Veuillez réessayer plus tard.",
|
|
10983
11273
|
"errors.signin.flow.completion.failure": "Une erreur est survenue lors de la finalisation du flux de connexion. Veuillez réessayer plus tard.",
|
|
@@ -10996,8 +11286,20 @@ const fr_FR = {
|
|
|
10996
11286
|
"admin.common.actions.cancel": "Annuler",
|
|
10997
11287
|
"admin.common.actions.confirm": "Confirmer",
|
|
10998
11288
|
"admin.common.actions.remove": "Retirer",
|
|
11289
|
+
"admin.common.status.active": "Actif",
|
|
11290
|
+
"admin.common.status.locked": "Verrouillé",
|
|
11291
|
+
"admin.common.status.suspended": "Suspendu",
|
|
11292
|
+
"admin.common.lifecycle.suspend": "Suspendre",
|
|
11293
|
+
"admin.common.lifecycle.unsuspend": "Lever la suspension",
|
|
11294
|
+
"admin.common.lifecycle.unlock": "Déverrouiller",
|
|
11295
|
+
"admin.common.lifecycle.suspend_confirm": "Suspendre {name} ? Il ne pourra plus se connecter, et ses sessions et jetons seront révoqués.",
|
|
11296
|
+
"admin.common.lifecycle.unsuspend_confirm": "Lever la suspension de {name} ? Son accès est rétabli, sauf s'il est aussi verrouillé.",
|
|
11297
|
+
"admin.common.lifecycle.operator_note": "Note (facultatif)",
|
|
11298
|
+
"admin.common.lifecycle.error": "L'action n'a pas pu être effectuée.",
|
|
11299
|
+
"admin.common.lifecycle.load_error": "Les actions du compte n'ont pas pu être chargées.",
|
|
10999
11300
|
"admin.common.columns.actions": "Actions",
|
|
11000
11301
|
"admin.common.columns.organization_unit": "Unité organisationnelle",
|
|
11302
|
+
"admin.common.columns.status": "Statut",
|
|
11001
11303
|
"admin.common.errors.forbidden": "Vous n'avez pas l'autorisation d'effectuer cette action.",
|
|
11002
11304
|
"admin.common.errors.not_found": "Cet élément est introuvable.",
|
|
11003
11305
|
"admin.common.errors.no_ou": "Choisissez une unité organisationnelle avant de créer cet élément.",
|
|
@@ -11290,6 +11592,20 @@ const te_IN = {
|
|
|
11290
11592
|
"consent.essential_claims.info": "సేవ సరిగ్గా పనిచేయడానికి ఈ లక్షణాలు అవసరం.",
|
|
11291
11593
|
"consent.optional_claims.info": "ఈ లక్షణాలు ఐచ్ఛికం మరియు మీ విచక్షణ మేరకు అందించవచ్చు.",
|
|
11292
11594
|
"consent.authorize_scope.info": "ఈ అనుమతులు సేవను అదనపు ఫీచర్లను యాక్సెస్ చేయడానికి అనుమతిస్తాయి.",
|
|
11595
|
+
"consent.authorization_details.approve": "ఆమోదించు",
|
|
11596
|
+
"consent.authorization_details.show_more": "మరిన్ని చూపించు",
|
|
11597
|
+
"consent.authorization_details.show_less": "తక్కువ చూపించు",
|
|
11598
|
+
"consent.authorization_details.more_items": "+{count} మరిన్ని",
|
|
11599
|
+
"consent.authorization_details.invalid_number": "ఒక సంఖ్యను నమోదు చేయండి.",
|
|
11600
|
+
"consent.authorization_details.number_max": "{value} లేదా అంతకంటే తక్కువ నమోదు చేయండి.",
|
|
11601
|
+
"consent.authorization_details.number_min": "{value} లేదా అంతకంటే ఎక్కువ నమోదు చేయండి.",
|
|
11602
|
+
"consent.authorization_details.invalid_date": "ఒక తేదీని నమోదు చేయండి.",
|
|
11603
|
+
"consent.authorization_details.date_max": "{value} లేదా అంతకు ముందు తేదీని ఎంచుకోండి.",
|
|
11604
|
+
"consent.authorization_details.date_min": "{value} లేదా ఆ తర్వాతి తేదీని ఎంచుకోండి.",
|
|
11605
|
+
"consent.authorization_details.remove_item": "{item}, తీసివేయి",
|
|
11606
|
+
"consent.authorization_details.add_item": "{item}, జోడించు",
|
|
11607
|
+
"consent.authorization_details.add_back_item": "{item}, మళ్లీ జోడించు",
|
|
11608
|
+
"consent.authorization_details.new_item": "{label}, జోడించు",
|
|
11293
11609
|
"errors.heading": "లోపం",
|
|
11294
11610
|
"errors.signin.initialization": "ప్రారంభించేటప్పుడు లోపం వచ్చింది. దయచేసి తరువాత మళ్లీ ప్రయత్నించండి.",
|
|
11295
11611
|
"errors.signin.flow.failure": "సైన్ ఇన్ ప్రక్రియలో లోపం వచ్చింది. దయచేసి తరువాత మళ్లీ ప్రయత్నించండి.",
|
|
@@ -11309,8 +11625,20 @@ const te_IN = {
|
|
|
11309
11625
|
"admin.common.actions.cancel": "రద్దు చేయి",
|
|
11310
11626
|
"admin.common.actions.confirm": "నిర్ధారించు",
|
|
11311
11627
|
"admin.common.actions.remove": "తొలగించు",
|
|
11628
|
+
"admin.common.status.active": "సక్రియం",
|
|
11629
|
+
"admin.common.status.locked": "లాక్ చేయబడింది",
|
|
11630
|
+
"admin.common.status.suspended": "నిలిపివేయబడింది",
|
|
11631
|
+
"admin.common.lifecycle.suspend": "నిలిపివేయి",
|
|
11632
|
+
"admin.common.lifecycle.unsuspend": "నిలిపివేతను తొలగించు",
|
|
11633
|
+
"admin.common.lifecycle.unlock": "అన్లాక్ చేయి",
|
|
11634
|
+
"admin.common.lifecycle.suspend_confirm": "{name} ను నిలిపివేయాలా? ఇకపై సైన్ ఇన్ చేయలేదు, దాని సెషన్లు మరియు టోకెన్లు రద్దు చేయబడతాయి.",
|
|
11635
|
+
"admin.common.lifecycle.unsuspend_confirm": "{name} నిలిపివేతను తొలగించాలా? లాక్ చేయబడకపోతే యాక్సెస్ పునరుద్ధరించబడుతుంది.",
|
|
11636
|
+
"admin.common.lifecycle.operator_note": "గమనిక (ఐచ్ఛికం)",
|
|
11637
|
+
"admin.common.lifecycle.error": "చర్యను పూర్తి చేయలేకపోయాము.",
|
|
11638
|
+
"admin.common.lifecycle.load_error": "ఖాతా చర్యలను లోడ్ చేయలేకపోయాము.",
|
|
11312
11639
|
"admin.common.columns.actions": "చర్యలు",
|
|
11313
11640
|
"admin.common.columns.organization_unit": "సంస్థ యూనిట్",
|
|
11641
|
+
"admin.common.columns.status": "స్థితి",
|
|
11314
11642
|
"admin.common.errors.forbidden": "దీన్ని చేయడానికి మీకు అనుమతి లేదు.",
|
|
11315
11643
|
"admin.common.errors.not_found": "ఈ అంశం కనుగొనబడలేదు.",
|
|
11316
11644
|
"admin.common.errors.no_ou": "ఈ అంశాన్ని సృష్టించే ముందు ఒక సంస్థ యూనిట్ను ఎంచుకోండి.",
|
|
@@ -11603,6 +11931,20 @@ const hi_IN = {
|
|
|
11603
11931
|
"consent.essential_claims.info": "सेवा के सही ढंग से कार्य करने के लिए ये विशेषताएँ आवश्यक हैं।",
|
|
11604
11932
|
"consent.optional_claims.info": "ये विशेषताएँ वैकल्पिक हैं और आपके विवेकानुसार प्रदान की जा सकती हैं।",
|
|
11605
11933
|
"consent.authorize_scope.info": "ये अनुमतियाँ सेवा को अतिरिक्त सुविधाओं तक पहुँचने की अनुमति देती हैं।",
|
|
11934
|
+
"consent.authorization_details.approve": "स्वीकृत करें",
|
|
11935
|
+
"consent.authorization_details.show_more": "और दिखाएँ",
|
|
11936
|
+
"consent.authorization_details.show_less": "कम दिखाएँ",
|
|
11937
|
+
"consent.authorization_details.more_items": "+{count} और",
|
|
11938
|
+
"consent.authorization_details.invalid_number": "एक संख्या दर्ज करें।",
|
|
11939
|
+
"consent.authorization_details.number_max": "{value} या उससे कम दर्ज करें।",
|
|
11940
|
+
"consent.authorization_details.number_min": "{value} या उससे अधिक दर्ज करें।",
|
|
11941
|
+
"consent.authorization_details.invalid_date": "एक तारीख दर्ज करें।",
|
|
11942
|
+
"consent.authorization_details.date_max": "{value} या उससे पहले की तारीख चुनें।",
|
|
11943
|
+
"consent.authorization_details.date_min": "{value} या उसके बाद की तारीख चुनें।",
|
|
11944
|
+
"consent.authorization_details.remove_item": "{item}, हटाएँ",
|
|
11945
|
+
"consent.authorization_details.add_item": "{item}, जोड़ें",
|
|
11946
|
+
"consent.authorization_details.add_back_item": "{item}, फिर से जोड़ें",
|
|
11947
|
+
"consent.authorization_details.new_item": "{label}, जोड़ें",
|
|
11606
11948
|
"errors.heading": "त्रुटि",
|
|
11607
11949
|
"errors.signin.initialization": "इनिशियलाइज़ेशन में त्रुटि हुई। कृपया बाद में पुनः प्रयास करें।",
|
|
11608
11950
|
"errors.signin.flow.failure": "साइन-इन प्रक्रिया में त्रुटि। कृपया बाद में पुनः प्रयास करें।",
|
|
@@ -11622,8 +11964,20 @@ const hi_IN = {
|
|
|
11622
11964
|
"admin.common.actions.cancel": "रद्द करें",
|
|
11623
11965
|
"admin.common.actions.confirm": "पुष्टि करें",
|
|
11624
11966
|
"admin.common.actions.remove": "हटाएं",
|
|
11967
|
+
"admin.common.status.active": "सक्रिय",
|
|
11968
|
+
"admin.common.status.locked": "लॉक किया गया",
|
|
11969
|
+
"admin.common.status.suspended": "निलंबित",
|
|
11970
|
+
"admin.common.lifecycle.suspend": "निलंबित करें",
|
|
11971
|
+
"admin.common.lifecycle.unsuspend": "निलंबन हटाएं",
|
|
11972
|
+
"admin.common.lifecycle.unlock": "अनलॉक करें",
|
|
11973
|
+
"admin.common.lifecycle.suspend_confirm": "{name} को निलंबित करें? यह अब साइन इन नहीं कर पाएगा, और इसके सत्र और टोकन रद्द कर दिए जाएंगे।",
|
|
11974
|
+
"admin.common.lifecycle.unsuspend_confirm": "{name} का निलंबन हटाएं? इसकी पहुंच बहाल हो जाएगी, जब तक कि यह लॉक भी न हो।",
|
|
11975
|
+
"admin.common.lifecycle.operator_note": "नोट (वैकल्पिक)",
|
|
11976
|
+
"admin.common.lifecycle.error": "कार्रवाई पूरी नहीं हो सकी।",
|
|
11977
|
+
"admin.common.lifecycle.load_error": "खाता कार्रवाइयां लोड नहीं हो सकीं।",
|
|
11625
11978
|
"admin.common.columns.actions": "कार्रवाइयाँ",
|
|
11626
11979
|
"admin.common.columns.organization_unit": "संगठन इकाई",
|
|
11980
|
+
"admin.common.columns.status": "स्थिति",
|
|
11627
11981
|
"admin.common.errors.forbidden": "आपको यह करने की अनुमति नहीं है।",
|
|
11628
11982
|
"admin.common.errors.not_found": "यह आइटम नहीं मिला।",
|
|
11629
11983
|
"admin.common.errors.no_ou": "यह आइटम बनाने से पहले एक संगठन इकाई चुनें।",
|
|
@@ -11916,6 +12270,20 @@ const pt_BR = {
|
|
|
11916
12270
|
"consent.essential_claims.info": "Esses atributos são necessários para o funcionamento adequado do serviço.",
|
|
11917
12271
|
"consent.optional_claims.info": "Esses atributos são opcionais e podem ser fornecidos a seu critério.",
|
|
11918
12272
|
"consent.authorize_scope.info": "Essas permissões permitem que o serviço acesse recursos adicionais.",
|
|
12273
|
+
"consent.authorization_details.approve": "Aprovar",
|
|
12274
|
+
"consent.authorization_details.show_more": "Mostrar mais",
|
|
12275
|
+
"consent.authorization_details.show_less": "Mostrar menos",
|
|
12276
|
+
"consent.authorization_details.more_items": "+{count} a mais",
|
|
12277
|
+
"consent.authorization_details.invalid_number": "Insira um número.",
|
|
12278
|
+
"consent.authorization_details.number_max": "Insira {value} ou menos.",
|
|
12279
|
+
"consent.authorization_details.number_min": "Insira {value} ou mais.",
|
|
12280
|
+
"consent.authorization_details.invalid_date": "Insira uma data.",
|
|
12281
|
+
"consent.authorization_details.date_max": "Escolha {value} ou uma data anterior.",
|
|
12282
|
+
"consent.authorization_details.date_min": "Escolha {value} ou uma data posterior.",
|
|
12283
|
+
"consent.authorization_details.remove_item": "{item}, remover",
|
|
12284
|
+
"consent.authorization_details.add_item": "{item}, adicionar",
|
|
12285
|
+
"consent.authorization_details.add_back_item": "{item}, adicionar novamente",
|
|
12286
|
+
"consent.authorization_details.new_item": "{label}, adicionar",
|
|
11919
12287
|
"errors.heading": "Erro",
|
|
11920
12288
|
"errors.signin.initialization": "Ocorreu um erro ao inicializar. Tente novamente mais tarde.",
|
|
11921
12289
|
"errors.signin.flow.failure": "Ocorreu um erro durante o login. Tente novamente mais tarde.",
|
|
@@ -11935,8 +12303,20 @@ const pt_BR = {
|
|
|
11935
12303
|
"admin.common.actions.cancel": "Cancelar",
|
|
11936
12304
|
"admin.common.actions.confirm": "Confirmar",
|
|
11937
12305
|
"admin.common.actions.remove": "Remover",
|
|
12306
|
+
"admin.common.status.active": "Ativo",
|
|
12307
|
+
"admin.common.status.locked": "Bloqueado",
|
|
12308
|
+
"admin.common.status.suspended": "Suspenso",
|
|
12309
|
+
"admin.common.lifecycle.suspend": "Suspender",
|
|
12310
|
+
"admin.common.lifecycle.unsuspend": "Remover suspensão",
|
|
12311
|
+
"admin.common.lifecycle.unlock": "Desbloquear",
|
|
12312
|
+
"admin.common.lifecycle.suspend_confirm": "Suspender {name}? Ele não poderá mais entrar, e suas sessões e tokens serão revogados.",
|
|
12313
|
+
"admin.common.lifecycle.unsuspend_confirm": "Remover a suspensão de {name}? O acesso é restaurado, a menos que também esteja bloqueado.",
|
|
12314
|
+
"admin.common.lifecycle.operator_note": "Observação (opcional)",
|
|
12315
|
+
"admin.common.lifecycle.error": "Não foi possível concluir a ação.",
|
|
12316
|
+
"admin.common.lifecycle.load_error": "Não foi possível carregar as ações da conta.",
|
|
11938
12317
|
"admin.common.columns.actions": "Ações",
|
|
11939
12318
|
"admin.common.columns.organization_unit": "Unidade organizacional",
|
|
12319
|
+
"admin.common.columns.status": "Status",
|
|
11940
12320
|
"admin.common.errors.forbidden": "Você não tem permissão para fazer isso.",
|
|
11941
12321
|
"admin.common.errors.not_found": "Este item não foi encontrado.",
|
|
11942
12322
|
"admin.common.errors.no_ou": "Escolha uma unidade organizacional antes de criar este item.",
|
|
@@ -12229,6 +12609,20 @@ const pt_PT = {
|
|
|
12229
12609
|
"consent.essential_claims.info": "Estes atributos são necessários para o correto funcionamento do serviço.",
|
|
12230
12610
|
"consent.optional_claims.info": "Estes atributos são opcionais e podem ser fornecidos ao seu critério.",
|
|
12231
12611
|
"consent.authorize_scope.info": "Estas permissões permitem que o serviço aceda a funcionalidades adicionais.",
|
|
12612
|
+
"consent.authorization_details.approve": "Aprovar",
|
|
12613
|
+
"consent.authorization_details.show_more": "Mostrar mais",
|
|
12614
|
+
"consent.authorization_details.show_less": "Mostrar menos",
|
|
12615
|
+
"consent.authorization_details.more_items": "+{count} a mais",
|
|
12616
|
+
"consent.authorization_details.invalid_number": "Introduza um número.",
|
|
12617
|
+
"consent.authorization_details.number_max": "Introduza {value} ou menos.",
|
|
12618
|
+
"consent.authorization_details.number_min": "Introduza {value} ou mais.",
|
|
12619
|
+
"consent.authorization_details.invalid_date": "Introduza uma data.",
|
|
12620
|
+
"consent.authorization_details.date_max": "Escolha {value} ou uma data anterior.",
|
|
12621
|
+
"consent.authorization_details.date_min": "Escolha {value} ou uma data posterior.",
|
|
12622
|
+
"consent.authorization_details.remove_item": "{item}, remover",
|
|
12623
|
+
"consent.authorization_details.add_item": "{item}, adicionar",
|
|
12624
|
+
"consent.authorization_details.add_back_item": "{item}, adicionar novamente",
|
|
12625
|
+
"consent.authorization_details.new_item": "{label}, adicionar",
|
|
12232
12626
|
"errors.heading": "Erro",
|
|
12233
12627
|
"errors.signin.initialization": "Ocorreu um erro ao inicializar. Tente novamente mais tarde.",
|
|
12234
12628
|
"errors.signin.flow.failure": "Ocorreu um erro durante o início de sessão. Tente novamente mais tarde.",
|
|
@@ -12248,8 +12642,20 @@ const pt_PT = {
|
|
|
12248
12642
|
"admin.common.actions.cancel": "Cancelar",
|
|
12249
12643
|
"admin.common.actions.confirm": "Confirmar",
|
|
12250
12644
|
"admin.common.actions.remove": "Remover",
|
|
12645
|
+
"admin.common.status.active": "Ativo",
|
|
12646
|
+
"admin.common.status.locked": "Bloqueado",
|
|
12647
|
+
"admin.common.status.suspended": "Suspenso",
|
|
12648
|
+
"admin.common.lifecycle.suspend": "Suspender",
|
|
12649
|
+
"admin.common.lifecycle.unsuspend": "Levantar suspensão",
|
|
12650
|
+
"admin.common.lifecycle.unlock": "Desbloquear",
|
|
12651
|
+
"admin.common.lifecycle.suspend_confirm": "Suspender {name}? Deixa de poder iniciar sessão, e as suas sessões e tokens são revogados.",
|
|
12652
|
+
"admin.common.lifecycle.unsuspend_confirm": "Levantar a suspensão de {name}? O acesso é reposto, a menos que também esteja bloqueado.",
|
|
12653
|
+
"admin.common.lifecycle.operator_note": "Nota (opcional)",
|
|
12654
|
+
"admin.common.lifecycle.error": "Não foi possível concluir a ação.",
|
|
12655
|
+
"admin.common.lifecycle.load_error": "Não foi possível carregar as ações da conta.",
|
|
12251
12656
|
"admin.common.columns.actions": "Ações",
|
|
12252
12657
|
"admin.common.columns.organization_unit": "Unidade organizacional",
|
|
12658
|
+
"admin.common.columns.status": "Estado",
|
|
12253
12659
|
"admin.common.errors.forbidden": "Não tem permissão para fazer isto.",
|
|
12254
12660
|
"admin.common.errors.not_found": "Não foi possível encontrar este item.",
|
|
12255
12661
|
"admin.common.errors.no_ou": "Escolha uma unidade organizacional antes de criar este item.",
|
|
@@ -12542,6 +12948,20 @@ const ta_IN = {
|
|
|
12542
12948
|
"consent.essential_claims.info": "சேவை சரியாக செயல்பட இந்த பண்புகள் தேவை.",
|
|
12543
12949
|
"consent.optional_claims.info": "இந்த பண்புகள் விருப்பத்தேர்வு மற்றும் உங்கள் விருப்பப்படி வழங்கப்படலாம்.",
|
|
12544
12950
|
"consent.authorize_scope.info": "இந்த அனுமதிகள் கூடுதல் அம்சங்களை அணுக சேவைக்கு உதவுகின்றன.",
|
|
12951
|
+
"consent.authorization_details.approve": "அனுமதி",
|
|
12952
|
+
"consent.authorization_details.show_more": "மேலும் காட்டு",
|
|
12953
|
+
"consent.authorization_details.show_less": "குறைவாகக் காட்டு",
|
|
12954
|
+
"consent.authorization_details.more_items": "+{count} மேலும்",
|
|
12955
|
+
"consent.authorization_details.invalid_number": "ஒரு எண்ணை உள்ளிடவும்.",
|
|
12956
|
+
"consent.authorization_details.number_max": "{value} அல்லது அதற்குக் குறைவாக உள்ளிடவும்.",
|
|
12957
|
+
"consent.authorization_details.number_min": "{value} அல்லது அதற்கு மேல் உள்ளிடவும்.",
|
|
12958
|
+
"consent.authorization_details.invalid_date": "ஒரு தேதியை உள்ளிடவும்.",
|
|
12959
|
+
"consent.authorization_details.date_max": "{value} அல்லது அதற்கு முந்தைய தேதியைத் தேர்ந்தெடுக்கவும்.",
|
|
12960
|
+
"consent.authorization_details.date_min": "{value} அல்லது அதற்குப் பிந்தைய தேதியைத் தேர்ந்தெடுக்கவும்.",
|
|
12961
|
+
"consent.authorization_details.remove_item": "{item}, அகற்று",
|
|
12962
|
+
"consent.authorization_details.add_item": "{item}, சேர்",
|
|
12963
|
+
"consent.authorization_details.add_back_item": "{item}, மீண்டும் சேர்",
|
|
12964
|
+
"consent.authorization_details.new_item": "{label}, சேர்",
|
|
12545
12965
|
"errors.heading": "பிழை",
|
|
12546
12966
|
"errors.signin.initialization": "தொடக்கத்தில் பிழை ஏற்பட்டது. பின்னர் மீண்டும் முயற்சிக்கவும்.",
|
|
12547
12967
|
"errors.signin.flow.failure": "உள்நுழைவு செயல்பாட்டின் போது பிழை ஏற்பட்டது. பின்னர் மீண்டும் முயற்சிக்கவும்.",
|
|
@@ -12561,8 +12981,20 @@ const ta_IN = {
|
|
|
12561
12981
|
"admin.common.actions.cancel": "ரத்துசெய்",
|
|
12562
12982
|
"admin.common.actions.confirm": "உறுதிப்படுத்து",
|
|
12563
12983
|
"admin.common.actions.remove": "அகற்று",
|
|
12984
|
+
"admin.common.status.active": "செயலில்",
|
|
12985
|
+
"admin.common.status.locked": "பூட்டப்பட்டது",
|
|
12986
|
+
"admin.common.status.suspended": "இடைநிறுத்தப்பட்டது",
|
|
12987
|
+
"admin.common.lifecycle.suspend": "இடைநிறுத்து",
|
|
12988
|
+
"admin.common.lifecycle.unsuspend": "இடைநிறுத்தத்தை நீக்கு",
|
|
12989
|
+
"admin.common.lifecycle.unlock": "பூட்டை நீக்கு",
|
|
12990
|
+
"admin.common.lifecycle.suspend_confirm": "{name} ஐ இடைநிறுத்தவா? இனி உள்நுழைய முடியாது, அதன் அமர்வுகளும் டோக்கன்களும் திரும்பப் பெறப்படும்.",
|
|
12991
|
+
"admin.common.lifecycle.unsuspend_confirm": "{name} இன் இடைநிறுத்தத்தை நீக்கவா? பூட்டப்படாவிட்டால் அணுகல் மீட்டமைக்கப்படும்.",
|
|
12992
|
+
"admin.common.lifecycle.operator_note": "குறிப்பு (விருப்பத்தேர்வு)",
|
|
12993
|
+
"admin.common.lifecycle.error": "செயலை முடிக்க முடியவில்லை.",
|
|
12994
|
+
"admin.common.lifecycle.load_error": "கணக்கு செயல்களை ஏற்ற முடியவில்லை.",
|
|
12564
12995
|
"admin.common.columns.actions": "செயல்கள்",
|
|
12565
12996
|
"admin.common.columns.organization_unit": "நிறுவன அலகு",
|
|
12997
|
+
"admin.common.columns.status": "நிலை",
|
|
12566
12998
|
"admin.common.errors.forbidden": "இதைச் செய்ய உங்களுக்கு அனுமதி இல்லை.",
|
|
12567
12999
|
"admin.common.errors.not_found": "இந்த உருப்படியைக் கண்டறிய முடியவில்லை.",
|
|
12568
13000
|
"admin.common.errors.no_ou": "இந்த உருப்படியை உருவாக்கும் முன் ஒரு நிறுவன அலகைத் தேர்ந்தெடுக்கவும்.",
|
|
@@ -12855,6 +13287,20 @@ const si_LK = {
|
|
|
12855
13287
|
"consent.essential_claims.info": "සේවාව නිසි ලෙස ක්රියාත්මක වීම සඳහා මෙම ගුණාංග අවශ්ය වේ.",
|
|
12856
13288
|
"consent.optional_claims.info": "මෙම ගුණාංග විකල්ප වන අතර ඔබේ අභිමතය පරිදි සැපයිය හැක.",
|
|
12857
13289
|
"consent.authorize_scope.info": "මෙම අවසරයන් මගින් සේවාවට අමතර විශේෂාංග වෙත ප්රවේශ වීමට ඉඩ සලසයි.",
|
|
13290
|
+
"consent.authorization_details.approve": "අනුමත කරන්න",
|
|
13291
|
+
"consent.authorization_details.show_more": "තවත් පෙන්වන්න",
|
|
13292
|
+
"consent.authorization_details.show_less": "අඩුවෙන් පෙන්වන්න",
|
|
13293
|
+
"consent.authorization_details.more_items": "තවත් {count}",
|
|
13294
|
+
"consent.authorization_details.invalid_number": "අංකයක් ඇතුළත් කරන්න.",
|
|
13295
|
+
"consent.authorization_details.number_max": "{value} හෝ ඊට අඩු අගයක් ඇතුළත් කරන්න.",
|
|
13296
|
+
"consent.authorization_details.number_min": "{value} හෝ ඊට වැඩි අගයක් ඇතුළත් කරන්න.",
|
|
13297
|
+
"consent.authorization_details.invalid_date": "දිනයක් ඇතුළත් කරන්න.",
|
|
13298
|
+
"consent.authorization_details.date_max": "{value} හෝ ඊට පෙර දිනයක් තෝරන්න.",
|
|
13299
|
+
"consent.authorization_details.date_min": "{value} හෝ ඊට පසු දිනයක් තෝරන්න.",
|
|
13300
|
+
"consent.authorization_details.remove_item": "{item}, ඉවත් කරන්න",
|
|
13301
|
+
"consent.authorization_details.add_item": "{item}, එක් කරන්න",
|
|
13302
|
+
"consent.authorization_details.add_back_item": "{item}, නැවත එක් කරන්න",
|
|
13303
|
+
"consent.authorization_details.new_item": "{label}, එක් කරන්න",
|
|
12858
13304
|
"errors.heading": "දෝෂය",
|
|
12859
13305
|
"errors.signin.initialization": "ආරම්භ කිරීමේදී දෝෂයක් සිදු විය. කරුණාකර පසුව නැවත උත්සාහ කරන්න.",
|
|
12860
13306
|
"errors.signin.flow.failure": "ලොග් වීමේදී දෝෂයක් සිදු විය. කරුණාකර පසුව නැවත උත්සාහ කරන්න.",
|
|
@@ -12874,8 +13320,20 @@ const si_LK = {
|
|
|
12874
13320
|
"admin.common.actions.cancel": "අවලංගු කරන්න",
|
|
12875
13321
|
"admin.common.actions.confirm": "තහවුරු කරන්න",
|
|
12876
13322
|
"admin.common.actions.remove": "ඉවත් කරන්න",
|
|
13323
|
+
"admin.common.status.active": "සක්රීය",
|
|
13324
|
+
"admin.common.status.locked": "අගුළු දමා ඇත",
|
|
13325
|
+
"admin.common.status.suspended": "අත්හිටුවා ඇත",
|
|
13326
|
+
"admin.common.lifecycle.suspend": "අත්හිටුවන්න",
|
|
13327
|
+
"admin.common.lifecycle.unsuspend": "අත්හිටුවීම ඉවත් කරන්න",
|
|
13328
|
+
"admin.common.lifecycle.unlock": "අගුළු හරින්න",
|
|
13329
|
+
"admin.common.lifecycle.suspend_confirm": "{name} අත්හිටුවන්නද? එයට තවදුරටත් පුරනය විය නොහැකි අතර, එහි සැසි සහ ටෝකන අවලංගු කෙරේ.",
|
|
13330
|
+
"admin.common.lifecycle.unsuspend_confirm": "{name} හි අත්හිටුවීම ඉවත් කරන්නද? එය අගුළු දමා නොමැති නම්, ප්රවේශය යළි ලැබේ.",
|
|
13331
|
+
"admin.common.lifecycle.operator_note": "සටහන (විකල්ප)",
|
|
13332
|
+
"admin.common.lifecycle.error": "ක්රියාව සම්පූර්ණ කළ නොහැකි විය.",
|
|
13333
|
+
"admin.common.lifecycle.load_error": "ගිණුම් ක්රියා පූරණය කළ නොහැකි විය.",
|
|
12877
13334
|
"admin.common.columns.actions": "ක්රියා",
|
|
12878
13335
|
"admin.common.columns.organization_unit": "සංවිධාන ඒකකය",
|
|
13336
|
+
"admin.common.columns.status": "තත්ත්වය",
|
|
12879
13337
|
"admin.common.errors.forbidden": "මෙය කිරීමට ඔබට අවසර නැත.",
|
|
12880
13338
|
"admin.common.errors.not_found": "මෙම අයිතමය සොයාගත නොහැකි විය.",
|
|
12881
13339
|
"admin.common.errors.no_ou": "මෙම අයිතමය සෑදීමට පෙර සංවිධාන ඒකකයක් තෝරන්න.",
|
|
@@ -14119,6 +14577,7 @@ var normalizeTranslations_default = normalizeTranslations;
|
|
|
14119
14577
|
//#endregion
|
|
14120
14578
|
exports.ADMINISTRATION_FLOW_TYPE = ADMINISTRATION_FLOW_TYPE;
|
|
14121
14579
|
exports.APPLICATION_GRANT_TYPES = APPLICATION_GRANT_TYPES;
|
|
14580
|
+
exports.AccountLifecycleFlowConfigKey = AccountLifecycleFlowConfigKey;
|
|
14122
14581
|
exports.AdministrationFlowConfigKey = AdministrationFlowConfigKey;
|
|
14123
14582
|
exports.AdministrationFlowData = AdministrationFlowData;
|
|
14124
14583
|
exports.AdministrationFlowError = AdministrationFlowError;
|
|
@@ -14130,6 +14589,8 @@ exports.ApplicationQueryKeys = ApplicationQueryKeys_default;
|
|
|
14130
14589
|
exports.AuthFlowSelectConstants = AuthFlowSelectConstants_default;
|
|
14131
14590
|
exports.AuthenticationHelper = AuthenticationHelper_default;
|
|
14132
14591
|
exports.BackchannelLogoutConstants = BackchannelLogoutConstants_default;
|
|
14592
|
+
exports.CONSENT_INVALID_KEY_PREFIX = CONSENT_INVALID_KEY_PREFIX;
|
|
14593
|
+
exports.CONSENT_MODIFIED_KEY_PREFIX = CONSENT_MODIFIED_KEY_PREFIX;
|
|
14133
14594
|
exports.ConsentConstants = ConsentConstants_default;
|
|
14134
14595
|
exports.CredentialConstants = CredentialConstants_default;
|
|
14135
14596
|
exports.DEFAULT_APPLICATION_GRANT_TYPES = DEFAULT_APPLICATION_GRANT_TYPES;
|
|
@@ -14268,6 +14729,7 @@ exports.findAdministrationFlows = findAdministrationFlows_default;
|
|
|
14268
14729
|
exports.formatDate = formatDate_default;
|
|
14269
14730
|
exports.generateFlattenedUserProfile = generateFlattenedUserProfile_default;
|
|
14270
14731
|
exports.get = get_default;
|
|
14732
|
+
exports.getAccountLifecycleActions = getAccountLifecycleActions_default;
|
|
14271
14733
|
exports.getAction = getAction_default;
|
|
14272
14734
|
exports.getActions = getActions_default;
|
|
14273
14735
|
exports.getAgent = getAgent_default;
|
|
@@ -14290,6 +14752,10 @@ exports.getConnection = getConnection_default;
|
|
|
14290
14752
|
exports.getConnectionUsages = getConnectionUsages_default;
|
|
14291
14753
|
exports.getConnections = getConnections_default;
|
|
14292
14754
|
exports.getConnectionsMeta = getConnectionsMeta_default;
|
|
14755
|
+
exports.getConsentElementDecision = getConsentElementDecision_default;
|
|
14756
|
+
exports.getConsentInvalidKey = getConsentInvalidKey_default;
|
|
14757
|
+
exports.getConsentModifiedKey = getConsentModifiedKey_default;
|
|
14758
|
+
exports.getConsentModifiedValues = getConsentModifiedValues_default;
|
|
14293
14759
|
exports.getDefaultI18nBundles = getDefaultI18nBundles_default;
|
|
14294
14760
|
exports.getDesignTheme = getDesignTheme_default;
|
|
14295
14761
|
exports.getDesignThemeUsages = getDesignThemeUsages_default;
|
|
@@ -14405,6 +14871,7 @@ exports.resolveTranslation = resolveTranslation_default;
|
|
|
14405
14871
|
exports.resolveTranslations = resolveTranslations_default;
|
|
14406
14872
|
exports.restoreFlowVersion = restoreFlowVersion_default;
|
|
14407
14873
|
exports.revertGatewayConfiguration = revertGatewayConfiguration_default;
|
|
14874
|
+
exports.runAccountLifecycleAction = runAccountLifecycleAction_default;
|
|
14408
14875
|
exports.runAdministrationFlow = runAdministrationFlow_default;
|
|
14409
14876
|
exports.set = set_default;
|
|
14410
14877
|
exports.setTranslation = setTranslation_default;
|