@nexeraid/identity-schemas 2.63.0-dev → 2.65.0-dev
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/{CoinMarketCap.schema-88b89617.esm.mjs → CoinMarketCap.schema-4168b240.esm.mjs} +23 -18
- package/dist/{CoinMarketCap.schema-5ee91d17.cjs.dev.cjs → CoinMarketCap.schema-5152702c.cjs.dev.cjs} +23 -18
- package/dist/{CoinMarketCap.schema-16fb624f.cjs.prod.cjs → CoinMarketCap.schema-dcf0fd09.cjs.prod.cjs} +23 -18
- package/dist/declarations/src/credential-storage.schema.d.ts +3 -3
- package/dist/declarations/src/customer.schema.d.ts +4 -0
- package/dist/declarations/src/customer.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/app-requests.schema.d.ts +50 -50
- package/dist/declarations/src/identity/identity-v2.schema.d.ts +14 -14
- package/dist/declarations/src/identity/kyc.schema.d.ts +184 -24
- package/dist/declarations/src/identity/kyc.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/query.schema.d.ts +121 -4
- package/dist/declarations/src/identity/query.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/scenario.schema.d.ts +41 -41
- package/dist/declarations/src/identity/scenario.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity-ids.schema.d.ts +10 -2
- package/dist/declarations/src/identity-ids.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/kyb-sessions.schema.d.ts +26 -20
- package/dist/declarations/src/providers/kyb-sessions.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/kyc-sessions.schema.d.ts +69 -33
- package/dist/declarations/src/providers/kyc-sessions.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts +238 -185
- package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/sumsub/sumsub.schema.d.ts +11 -0
- package/dist/declarations/src/providers/sumsub/sumsub.schema.d.ts.map +1 -1
- package/dist/declarations/src/vault/schemas/generated/Tfhe.schema.json.d.ts +1037 -0
- package/dist/declarations/src/vault/schemas/generated/Tfhe.type.d.ts +72 -0
- package/dist/declarations/src/vault/schemas/generated/Tfhe.type.d.ts.map +1 -0
- package/dist/declarations/src/vault/vault.schema.d.ts +586 -0
- package/dist/declarations/src/vault/vault.schema.d.ts.map +1 -1
- package/dist/declarations/src/verifiable-credentials/frontend-utilities.schema.d.ts +10 -0
- package/dist/declarations/src/verifiable-credentials/frontend-utilities.schema.d.ts.map +1 -1
- package/dist/declarations/src/verifiable-credentials/general-vc-typing.schema.d.ts +100 -6
- package/dist/declarations/src/verifiable-credentials/general-vc-typing.schema.d.ts.map +1 -1
- package/dist/declarations/src/verifiable-credentials/generated/tfhe/IDInformationTfheCredentialSubjectSchema.d.ts +96 -0
- package/dist/declarations/src/verifiable-credentials/generated/tfhe/IDInformationTfheCredentialSubjectSchema.d.ts.map +1 -0
- package/dist/declarations/src/verifiable-credentials/generated-ts/IDInformationTfhe-credentialSubject.json.d.ts +494 -0
- package/dist/declarations/src/verifiable-credentials/generated-ts/IDInformationTfhe-credentialSubject.json.d.ts.map +1 -0
- package/dist/declarations/src/verifiable-credentials/index.d.ts +6 -0
- package/dist/declarations/src/verifiable-credentials/index.d.ts.map +1 -1
- package/dist/declarations/src/verifiable-credentials/tfhe-utilities.d.ts +6 -0
- package/dist/declarations/src/verifiable-credentials/tfhe-utilities.d.ts.map +1 -0
- package/dist/declarations/src/verifiable-credentials/vcs.schema.d.ts +211 -0
- package/dist/declarations/src/verifiable-credentials/vcs.schema.d.ts.map +1 -1
- package/dist/{identity-api.schema-f07e7dc0.cjs.prod.cjs → identity-api.schema-12a25a42.cjs.prod.cjs} +54 -5
- package/dist/{identity-api.schema-4697ed44.cjs.dev.cjs → identity-api.schema-4510f916.cjs.dev.cjs} +54 -5
- package/dist/{identity-api.schema-50cf4bbe.esm.mjs → identity-api.schema-97cbcb66.esm.mjs} +46 -6
- package/dist/nexeraid-identity-schemas.cjs.dev.cjs +20 -7
- package/dist/nexeraid-identity-schemas.cjs.prod.cjs +20 -7
- package/dist/nexeraid-identity-schemas.esm.mjs +4 -4
- package/dist/package.json +1 -1
- package/dist/{frontend-utilities.schema-85b3a5de.cjs.dev.cjs → tfhe-utilities-1ae3cd6a.cjs.dev.cjs} +303 -6
- package/dist/{frontend-utilities.schema-bdbef342.cjs.prod.cjs → tfhe-utilities-b0e780c6.cjs.prod.cjs} +303 -6
- package/dist/{frontend-utilities.schema-652b04a0.esm.mjs → tfhe-utilities-f43f16b1.esm.mjs} +302 -7
- package/dist/{vault.schema-8d2dd08d.esm.mjs → vault.schema-1b7eeedd.esm.mjs} +1356 -232
- package/dist/{vault.schema-2d02afaa.cjs.prod.cjs → vault.schema-4921bc9f.cjs.dev.cjs} +1357 -231
- package/dist/{vault.schema-a14b6922.cjs.dev.cjs → vault.schema-9d80a02d.cjs.prod.cjs} +1357 -231
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +7 -2
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +7 -2
- package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +2 -2
- package/package.json +1 -1
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +3 -3
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +3 -3
- package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +3 -3
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.dev.cjs +1 -1
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.prod.cjs +1 -1
- package/vault/dist/nexeraid-identity-schemas-vault.esm.mjs +1 -1
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +11 -7
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +11 -7
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +3 -3
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +3 -3
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +3 -3
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +3 -3
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var identityApi_schema = require('./identity-api.schema-
|
|
6
|
-
var vault_schema = require('./vault.schema-
|
|
5
|
+
var identityApi_schema = require('./identity-api.schema-12a25a42.cjs.prod.cjs');
|
|
6
|
+
var vault_schema = require('./vault.schema-9d80a02d.cjs.prod.cjs');
|
|
7
7
|
var zod = require('zod');
|
|
8
|
-
var
|
|
8
|
+
var tfheUtilities = require('./tfhe-utilities-b0e780c6.cjs.prod.cjs');
|
|
9
9
|
require('nanoid');
|
|
10
10
|
require('decimal.js');
|
|
11
11
|
|
|
@@ -182,6 +182,7 @@ exports.CardanoChainId = identityApi_schema.CardanoChainId;
|
|
|
182
182
|
exports.CardanoSignature = identityApi_schema.CardanoSignature;
|
|
183
183
|
exports.ChallengeId = identityApi_schema.ChallengeId;
|
|
184
184
|
exports.ChallengePrefix = identityApi_schema.ChallengePrefix;
|
|
185
|
+
exports.ChallengeQuerySchema = identityApi_schema.ChallengeQuerySchema;
|
|
185
186
|
exports.ChallengeResponse = identityApi_schema.ChallengeResponse;
|
|
186
187
|
exports.CircuitId = identityApi_schema.CircuitId;
|
|
187
188
|
exports.CloseScreenNotification = identityApi_schema.CloseScreenNotification;
|
|
@@ -245,6 +246,7 @@ exports.HostRequestMessage = identityApi_schema.HostRequestMessage;
|
|
|
245
246
|
exports.HostResponseMessage = identityApi_schema.HostResponseMessage;
|
|
246
247
|
exports.IDENTITY_DOCUMENT_COUNTRY_LIST_OPTIONS = identityApi_schema.IDENTITY_DOCUMENT_COUNTRY_LIST_OPTIONS;
|
|
247
248
|
exports.IDENTITY_DOCUMENT_OPTIONS = identityApi_schema.IDENTITY_DOCUMENT_OPTIONS;
|
|
249
|
+
exports.IDInformationTfhe = identityApi_schema.IDInformationTfhe;
|
|
248
250
|
exports.Identifier = identityApi_schema.Identifier;
|
|
249
251
|
exports.IdentityAppMessage = identityApi_schema.IdentityAppMessage;
|
|
250
252
|
exports.IdentityAppV2Web2JWT = identityApi_schema.IdentityAppV2Web2JWT;
|
|
@@ -346,6 +348,9 @@ exports.QUERY_LOGIC_OPERATOR = identityApi_schema.QUERY_LOGIC_OPERATOR;
|
|
|
346
348
|
exports.QrCodeLinkWithSchemaType = identityApi_schema.QrCodeLinkWithSchemaType;
|
|
347
349
|
exports.QueriesOptions = identityApi_schema.QueriesOptions;
|
|
348
350
|
exports.QueryConfigSimplified = identityApi_schema.QueryConfigSimplified;
|
|
351
|
+
exports.QueryConfigTfhe = identityApi_schema.QueryConfigTfhe;
|
|
352
|
+
exports.QueryCredentialType = identityApi_schema.QueryCredentialType;
|
|
353
|
+
exports.QueryCredentialTypes = identityApi_schema.QueryCredentialTypes;
|
|
349
354
|
exports.QueryId = identityApi_schema.QueryId;
|
|
350
355
|
exports.QueryLogicOperator = identityApi_schema.QueryLogicOperator;
|
|
351
356
|
exports.QueryPrefix = identityApi_schema.QueryPrefix;
|
|
@@ -386,6 +391,10 @@ exports.SignatureResponse = identityApi_schema.SignatureResponse;
|
|
|
386
391
|
exports.SimplifiedCredential = identityApi_schema.SimplifiedCredential;
|
|
387
392
|
exports.SolanaChainId = identityApi_schema.SolanaChainId;
|
|
388
393
|
exports.SpSignature = identityApi_schema.SpSignature;
|
|
394
|
+
exports.SsssChunkId = identityApi_schema.SsssChunkId;
|
|
395
|
+
exports.SsssChunkPrefix = identityApi_schema.SsssChunkPrefix;
|
|
396
|
+
exports.SsssShareId = identityApi_schema.SsssShareId;
|
|
397
|
+
exports.SsssSharePrefix = identityApi_schema.SsssSharePrefix;
|
|
389
398
|
exports.StarknetAddress = identityApi_schema.StarknetAddress;
|
|
390
399
|
exports.StarknetChainId = identityApi_schema.StarknetChainId;
|
|
391
400
|
exports.StarknetSignature = identityApi_schema.StarknetSignature;
|
|
@@ -513,6 +522,8 @@ exports.IDImageCredentialSchema = vault_schema.IDImageCredentialSchema;
|
|
|
513
522
|
exports.IDImageCredentialSubjectSchema = vault_schema.IDImageCredentialSubjectSchema;
|
|
514
523
|
exports.IDInformationCredentialSchema = vault_schema.IDInformationCredentialSchema;
|
|
515
524
|
exports.IDInformationCredentialSubjectSchema = vault_schema.IDInformationCredentialSubjectSchema;
|
|
525
|
+
exports.IDInformationTfheCredentialSchema = vault_schema.IDInformationTfheCredentialSchema;
|
|
526
|
+
exports.IDInformationTfheCredentialSubjectSchema = vault_schema.IDInformationTfheCredentialSubjectSchema;
|
|
516
527
|
exports.IDScanCredentialSchema = vault_schema.IDScanCredentialSchema;
|
|
517
528
|
exports.IDScanCredentialSubjectSchema = vault_schema.IDScanCredentialSubjectSchema;
|
|
518
529
|
exports.IDScanPassportCredentialSchema = vault_schema.IDScanPassportCredentialSchema;
|
|
@@ -590,10 +601,12 @@ exports.isoCountriesNameFromISO3 = vault_schema.isoCountriesNameFromISO3;
|
|
|
590
601
|
exports.parseISO3CountryCode = vault_schema.parseISO3CountryCode;
|
|
591
602
|
exports.resolvePathOnDataSchema = vault_schema.resolvePathOnDataSchema;
|
|
592
603
|
exports.resolvePathOnMapSchema = vault_schema.resolvePathOnMapSchema;
|
|
593
|
-
exports.
|
|
594
|
-
exports.
|
|
595
|
-
exports.
|
|
596
|
-
exports.
|
|
604
|
+
exports.IDInformationTfheCredentialSubjectCONFIG = tfheUtilities.IDInformationTfheCredentialSubjectCONFIG;
|
|
605
|
+
exports.VC_JSON_SCHEMA_MAP = tfheUtilities.VC_JSON_SCHEMA_MAP;
|
|
606
|
+
exports.cleanObject = tfheUtilities.cleanObject;
|
|
607
|
+
exports.getAvailableFields = tfheUtilities.getAvailableFields;
|
|
608
|
+
exports.getCredentialSchemaLocation = tfheUtilities.getCredentialSchemaLocation;
|
|
609
|
+
exports.getFieldConfig = tfheUtilities.getFieldConfig;
|
|
597
610
|
exports.AWS_WEBHOOK_TYPES = AWS_WEBHOOK_TYPES;
|
|
598
611
|
exports.AwsWebhookInput = AwsWebhookInput;
|
|
599
612
|
exports.AwsWebhookTypes = AwsWebhookTypes;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as CredentialTypes } from './identity-api.schema-
|
|
2
|
-
export { V as ACTIVE_APTOS_CHAIN_IDS, L as ACTIVE_BITCOIN_CHAIN_IDS, a5 as ACTIVE_CARDANO_CHAIN_IDS, l as ACTIVE_COSMOS_CHAIN_IDS, A as ACTIVE_EVM_CHAIN_VALUES, $ as ACTIVE_POLKADOT_CHAIN_IDS, F as ACTIVE_SOLANA_CHAIN_IDS, r as ACTIVE_TEZOS_CHAIN_IDS, U as APTOS_CHAIN_IDS, Q as APTOS_CHAIN_NAMES, R as APTOS_CHAIN_NAMES_LIST, dM as ARRAY_OPERATORS, du as AUTHORIZATION_REQUEST_MESSAGE_TYPES, cn as AVAILABLE_FLOWS, cO as AbbreviatedWorkflowScenario, bE as ActionId, bl as ActionPrefix, eO as AdditionalCustomerInformationParams, aa as AddressSchema, b$ as AiExecutionId, br as AiExecutionPrefix, c0 as AiExecutionStepId, bs as AiExecutionStepPrefix, dZ as AllCredentialValues, ey as AllScenarioExecutionAuthorizationData, bX as AmlScreeningSessionStepId, bn as AmlScreeningSessionStepPrefix, eq as AnyTxAuthDataSignatureResponse, et as AnyTxAuthInputJsSdk, ej as ApiTezosTxAuthInput, ef as ApiTxAuthInput, bz as AppId, a$ as AppPrefix, ad as AptosAddress, W as AptosChainId, aF as AptosSignature, dN as ArrayOperator, dC as AuthQrCodeData, d7 as AuthSession, d8 as AuthSessionData, dx as AuthorizationRequestMessage, dw as AuthorizationRequestMessageType, dv as AuthorizationRequestMessageTypes, dA as AuthorizationResponseMessage, co as AvailableFlow, K as BITCOIN_CHAIN_IDS, I as BITCOIN_CHAIN_NAMES, J as BITCOIN_CHAIN_NAMES_LIST, av as BLOCKCHAIN_NAMESPACES, az as BLOCKCHAIN_NAMESPACES_NAMES, aD as BLOCKCHAIN_NAMESPACE_TO_NAME, aC as BLOCKCHAIN_NAME_TO_NAMESPACE, dS as BOOLEAN_OPERATORS, cA as BackwardsCompatibleScenarioType, cz as BackwardsCompatibleScenarioTypes, cB as BaseQueryResponse, ar as BitcoinAddress, an as BitcoinBech32Address, M as BitcoinChainId, al as BitcoinP2PKHAddress, am as BitcoinP2SHAddress, aq as BitcoinTestnetBech32Address, ao as BitcoinTestnetP2PKHAddress, ap as BitcoinTestnetP2SHAddress, as as BlockchainAddress, B as BlockchainId, aw as BlockchainNamespace, aO as BlockchainSignature, dT as BooleanOperator, a4 as CARDANO_CHAIN_IDS, a2 as CARDANO_CHAIN_NAMES, a3 as CARDANO_CHAIN_NAMES_LIST, dr as CIRCUIT_IDS, k as COSMOS_CHAIN_IDS, i as COSMOS_CHAIN_NAMES, j as COSMOS_CHAIN_NAMES_LIST, ak as CardanoAddress, a6 as CardanoChainId, aN as CardanoSignature, bA as ChallengeId, b0 as ChallengePrefix, d9 as ChallengeResponse, ds as CircuitId, c5 as CloseScreenNotification, cR as ComplianceImplementationStepsInput, ag as CosmosAddress, m as CosmosChainId, aI as CosmosSignature, ex as CreateAuthRequestProps, cQ as CreateTemplateScenario, f3 as CredentialMediaType, e_ as CredentialNames, dB as CredentialQrCodeData, eZ as CredentialSchemas, f1 as CredentialType, C as CredentialTypes, eS as CustomerId, bC as CustomerScreeningId, b2 as CustomerScreeningPrefix, dU as DATE_OPERATORS, aA as DISPLAYED_BLOCKCHAIN_NAMESPACES, cp as DataAvailableOnStart, dV as DateOperator, aB as DisplayedBlockchainNamespace, bY as DuplicateDetectionSessionStepId, bo as DuplicateDetectionSessionStepPrefix, aE as EIP155Signature, aR as ENVS, E as EVM_BLOCK_TIME, f as EVM_CHAINS_WITHOUT_DEDICATED_NODE_RPC, aJ as EdSignature, er as Eip155TxAuthInputJsSdk, bx as EmailId, aZ as EmailPrefix, aS as EnvironmentSchema, g as EvmChainId, cD as ExecuteQueryResponse, ep as ExtendedTezosTxAuthDataSignatureResponse, en as ExtendedTezosTxAuthInput, eo as ExtendedTxAuthDataSignatureResponse, em as ExtendedTxAuthInput, eT as ExternalCustomerId, eD as FLOW_TYPES, eE as FlowType, bZ as FraudDetectionSessionStepId, bp as FraudDetectionSessionStepPrefix, aP as FunctionCallData, d6 as GenerateWalletChallengeRequest, cT as GetCredentialsRequest, cU as GetCredentialsResponse, dc as GetCustomerStatusRequest, dh as GetCustomerStatusResponse, el as GetTezosTxAuthDataSignatureResponse, eh as GetTxAuthDataSignatureResponse, d0 as GetTxAuthSigRequest, d2 as GetTxAuthSigRequestTezos, d1 as GetTxAuthSigResponse, d3 as GetTxAuthSigResponseTezos, au as HexadecimalSchema, dk as HostMessage, d4 as HostRequestMessage, ct as HostResponseMessage, eH as IDENTITY_DOCUMENT_COUNTRY_LIST_OPTIONS, eJ as IDENTITY_DOCUMENT_OPTIONS, eN as Identifier, di as IdentityAppMessage, eV as IdentityAppV2Web2JWT, eU as IdentityAppV2Web3JWT, eI as IdentityDocumentCountryListOption, eK as IdentityDocumentOptionsType, bw as IdentityId, dl as IdentityMessage, ch as IdentityNotificationMessage, aY as IdentityPrefix, cm as IdentityRequestMessage, d5 as IdentityResponseMessage, dd as IdentitySdkMessage, de as IdentitySdkMessageWithIdentifier, dj as IdentityWallet, eW as IdentityWidgetAccessToken_NEW, eX as IdentityWidgetSessionToken, ci as InitialDataRequest, cq as InitialDataResponse, bR as InstitutionExtractedInfosId, bg as InstitutionExtractedInfosPrefix, bQ as InstitutionId, bf as InstitutionPrefix, aW as IpAddress, cd as IsVerifiedNotification, c_ as IsVerifiedRequest, c$ as IsVerifiedResponse, c6 as KycCompletionData, c7 as KycCompletionNotification, bU as ListId, bj as ListPrefix, dp as MediaType, dq as MediaTypePID, c2 as MemberId, bF as MetaAlertId, b4 as MetaAlertPrefix, w as NEXERA_ACTIVE_STARKNET_CHAIN_IDS, O as NEXERA_APTOS_CHAINS, H as NEXERA_BITCOIN_CHAINS, a1 as NEXERA_CARDANO_CHAINS, h as NEXERA_COSMOS_CHAINS, a as NEXERA_EVM_CHAINS, d as NEXERA_EVM_CHAINS_ID, b as NEXERA_EVM_CHAIN_NAMES, c as NEXERA_EVM_CHAIN_NAMES_LIST, X as NEXERA_POLKADOT_CHAINS, x as NEXERA_SOLANA_CHAINS, t as NEXERA_STARKNET_CHAINS, v as NEXERA_STARKNET_CHAIN_IDS, u as NEXERA_STARKNET_CHAIN_NAMES, n as NEXERA_TEZOS_CHAINS, q as NEXERA_TEZOS_CHAIN_IDS, o as NEXERA_TEZOS_CHAIN_NAMES, p as NEXERA_TEZOS_CHAIN_NAMES_LIST, dQ as NUMERIC_OPERATORS, e$ as NexeraCredentialType, e as NexeraEvmChains, N as NonTestnetBlockchainId, dR as NumericOperator, e4 as OLD_CHALLENGE_QUERY_OPERATORS, e5 as OLD_ChallengeQueryOperator, e8 as OLD_ChallengeQueryOperatorToOperator, e3 as OLD_ChallengeQuerySchema, ea as OLD_QueryCredentialType, e9 as OLD_QueryCredentialTypes, dI as OPERATORS, cf as OcvSdkInitialized, c9 as OffChainScenarioExecutionData, cC as OffChainZKPRuleResult, ca as OnChainScenarioExecutionData, dJ as Operator, e6 as OperatorMappings, e7 as OperatorToOLD_ChallengeQueryOperator, eP as OrganizationId, aU as OtpCode, aL as P2Signature, eL as PERSONAL_INFORMATION_FIELDS, _ as POLKADOT_CHAIN_IDS, Y as POLKADOT_CHAIN_NAMES, Z as POLKADOT_CHAIN_NAMES_LIST, P as POLYGON_NETWORK_NAMES, aV as PUBLIC_SERVICES_SCHEMA_MAP, e2 as PartialQueryConfigSimplified, eM as PersonalInformationFieldsIdentityDocuments, af as PolkadotAddress, a0 as PolkadotChainId, aH as PolkadotSignature, ce as PolygonIdInitialized, cW as PolygonIdRequest, cV as PolygonIdRequestData, cY as PolygonIdResponse, cX as PolygonIdResponseData, s as PolygonNetworkNames, ew as PrivacyPreservingMonitoring, a8 as PrivateKey, dy as ProofData, a9 as PublicKey, dG as QUERY_LOGIC_OPERATOR, dD as QrCodeLinkWithSchemaType, d_ as QueriesOptions, e0 as QueryConfigSimplified, bV as QueryId, dH as QueryLogicOperator, bk as QueryPrefix, d$ as QueryType, dm as RequiredDataRowSchema, dn as RequiredVerificationData, cE as RuleEngineResponse, c8 as RuleEngineScenarioExecutionData, e1 as RuleResultQueryConfig, cH as RuleResultStatus, cI as RuleResultStatusLabels, cG as RuleResultStatuses, ez as SCENARIO_AUTHORIZATION_STATUSES, D as SOLANA_CHAIN_IDS, y as SOLANA_CHAIN_NAMES, z as SOLANA_CHAIN_NAMES_LIST, dO as STRING_OPERATORS, ax as SUPPORTED_BLOCKCHAIN_NAMESPACES_FOR_SIGNATURE_AUTH, dW as SUPPORTED_TYPES, cN as Scenario, c3 as ScenarioAuthorizationData, eA as ScenarioAuthorizationStatus, cb as ScenarioExecutionData, cc as ScenarioExecutionNotification, cF as ScenarioExecutionResponse, bT as ScenarioId, bi as ScenarioPrefix, cy as ScenarioSchema, cx as ScenarioStatus, cw as ScenarioStatuses, cv as ScenarioType, cu as ScenarioTypes, cJ as SdkVerificationOutput, c4 as SdkVerificationResponseSchema, cl as SendTransactionRequest, cj as SignatureRequest, cr as SignatureResponse, cS as SimplifiedCredential, G as SolanaChainId, aK as SpSignature, ae as StarknetAddress, S as StarknetChainId, aG as StarknetSignature, cg as StartCompletedNotification, cZ as StartFlowRequest, bv as StorageId, aX as StoragePrefix, at as String0x, dP as StringOperator, ay as SupportedBlockchainNamespaceForSignatureAuth, dX as SupportedType, dY as SupportedTypes, bD as TagId, b3 as TagPrefix, bG as TagsToTransactionReviewsId, b5 as TagsToTransactionReviewsPrefix, cP as TemplateScenario, bB as TestId, b1 as TestPrefix, aj as TezosAddress, T as TezosChainId, ai as TezosContractAddress, aQ as TezosEntrypointName, ah as TezosImplicitAddress, aM as TezosSignature, ei as TezosTxAuthInput, es as TezosTxAuthInputJsSdk, ek as TezosTxSignatureResponse, bH as TransactionAddressesId, b6 as TransactionAddressesPrefix, bS as TransactionAmountId, bh as TransactionAmountPrefix, ck as TransactionData, bN as TransactionExtractedInfosId, bc as TransactionExtractedInfosPrefix, bJ as TransactionFeesId, b8 as TransactionFeesPrefix, bI as TransactionId, bM as TransactionInfosId, bb as TransactionInfosPrefix, bP as TransactionMethodExtractedInfosId, be as TransactionMethodExtractedInfosPrefix, bO as TransactionMethodsId, bd as TransactionMethodsPrefix, bL as TransactionPartiesId, ba as TransactionPartiesPrefix, b7 as TransactionPrefix, cs as TransactionResponse, bK as TransactionReviewId, b9 as TransactionReviewPrefix, dg as TxAuthDataSignatureGatingError, db as TxAuthDataSignatureGatingRequest, df as TxAuthDataSignatureResponse, ee as TxAuthInput, ab as TxHash, eg as TxSignatureResponse, aT as UuidString, f2 as VerifiableCredential, eG as VerificationMode, eF as VerificationModes, cM as VerificationOutput, cL as VerificationSessionStatus, cK as VerificationSessionStatuses, eC as VerifyWalletChallengeRequest, by as WalletId, a_ as WalletPrefix, b_ as WalletScreeningSessionStepId, bq as WalletScreeningSessionStepPrefix, da as WalletSignResponse, eB as WalletSignatureResponse, eY as Web2CreateSessionParams, eR as WorkflowId, bW as WorkflowSessionAttributeId, bm as WorkflowSessionAttributePrefix, bt as WorkflowSessionId, eQ as WorkspaceId, dK as ZKPOperator, eu as ZKPRequest, ev as ZKPRequestFromZKVerifier, dt as ZeroKnowledgeProofRequest, dz as ZeroKnowledgeProofResponse, bu as createBrandedSchemaId, c1 as generateId, f0 as getCredentialName, ec as getOldCredentialPath, eb as getOldCredentialType, a7 as isValidAddress, ed as oldCredentialPathToDataLink, dL as operatorDisplayMap, dE as parseIden3Message, dF as parseSessionIdFromUrl, ac as shortBlockchainAddress } from './identity-api.schema-50cf4bbe.esm.mjs';
|
|
3
|
-
export { A as ALPHA_2_COUNTRIES, d as Alpha2Country, B as BasicCustomerContactInformation, x as CUSTOMERS_CHARTS, E as CUSTOMER_AUTOMATION_REASONS, z as CUSTOMER_TABLE_COLUMNS, c as CryptoCode, b as CryptoCodes, a as CurrencyCode, C as CurrencyCodes, u as CustomerOnboardingLevel, t as CustomerOnboardingLevels, w as CustomerStatus, v as CustomerStatuses, D as CustomerTableColumn, o as CustomerType, n as CustomerTypes, y as CustomersChartType,
|
|
1
|
+
import { C as CredentialTypes } from './identity-api.schema-97cbcb66.esm.mjs';
|
|
2
|
+
export { V as ACTIVE_APTOS_CHAIN_IDS, L as ACTIVE_BITCOIN_CHAIN_IDS, a5 as ACTIVE_CARDANO_CHAIN_IDS, l as ACTIVE_COSMOS_CHAIN_IDS, A as ACTIVE_EVM_CHAIN_VALUES, $ as ACTIVE_POLKADOT_CHAIN_IDS, F as ACTIVE_SOLANA_CHAIN_IDS, r as ACTIVE_TEZOS_CHAIN_IDS, U as APTOS_CHAIN_IDS, Q as APTOS_CHAIN_NAMES, R as APTOS_CHAIN_NAMES_LIST, dQ as ARRAY_OPERATORS, dy as AUTHORIZATION_REQUEST_MESSAGE_TYPES, cr as AVAILABLE_FLOWS, cS as AbbreviatedWorkflowScenario, bG as ActionId, bl as ActionPrefix, eX as AdditionalCustomerInformationParams, aa as AddressSchema, c3 as AiExecutionId, bt as AiExecutionPrefix, c4 as AiExecutionStepId, bu as AiExecutionStepPrefix, e2 as AllCredentialValues, eH as AllScenarioExecutionAuthorizationData, bZ as AmlScreeningSessionStepId, bn as AmlScreeningSessionStepPrefix, ez as AnyTxAuthDataSignatureResponse, eC as AnyTxAuthInputJsSdk, es as ApiTezosTxAuthInput, eo as ApiTxAuthInput, bB as AppId, a$ as AppPrefix, ad as AptosAddress, W as AptosChainId, aF as AptosSignature, dR as ArrayOperator, dG as AuthQrCodeData, db as AuthSession, dc as AuthSessionData, dB as AuthorizationRequestMessage, dA as AuthorizationRequestMessageType, dz as AuthorizationRequestMessageTypes, dE as AuthorizationResponseMessage, cs as AvailableFlow, K as BITCOIN_CHAIN_IDS, I as BITCOIN_CHAIN_NAMES, J as BITCOIN_CHAIN_NAMES_LIST, av as BLOCKCHAIN_NAMESPACES, az as BLOCKCHAIN_NAMESPACES_NAMES, aD as BLOCKCHAIN_NAMESPACE_TO_NAME, aC as BLOCKCHAIN_NAME_TO_NAMESPACE, dW as BOOLEAN_OPERATORS, cE as BackwardsCompatibleScenarioType, cD as BackwardsCompatibleScenarioTypes, cF as BaseQueryResponse, ar as BitcoinAddress, an as BitcoinBech32Address, M as BitcoinChainId, al as BitcoinP2PKHAddress, am as BitcoinP2SHAddress, aq as BitcoinTestnetBech32Address, ao as BitcoinTestnetP2PKHAddress, ap as BitcoinTestnetP2SHAddress, as as BlockchainAddress, B as BlockchainId, aw as BlockchainNamespace, aO as BlockchainSignature, dX as BooleanOperator, a4 as CARDANO_CHAIN_IDS, a2 as CARDANO_CHAIN_NAMES, a3 as CARDANO_CHAIN_NAMES_LIST, dv as CIRCUIT_IDS, k as COSMOS_CHAIN_IDS, i as COSMOS_CHAIN_NAMES, j as COSMOS_CHAIN_NAMES_LIST, ak as CardanoAddress, a6 as CardanoChainId, aN as CardanoSignature, bC as ChallengeId, b0 as ChallengePrefix, ec as ChallengeQuerySchema, dd as ChallengeResponse, dw as CircuitId, c9 as CloseScreenNotification, cV as ComplianceImplementationStepsInput, ag as CosmosAddress, m as CosmosChainId, aI as CosmosSignature, eG as CreateAuthRequestProps, cU as CreateTemplateScenario, fc as CredentialMediaType, f7 as CredentialNames, dF as CredentialQrCodeData, f6 as CredentialSchemas, fa as CredentialType, C as CredentialTypes, e$ as CustomerId, bE as CustomerScreeningId, b2 as CustomerScreeningPrefix, dY as DATE_OPERATORS, aA as DISPLAYED_BLOCKCHAIN_NAMESPACES, ct as DataAvailableOnStart, dZ as DateOperator, aB as DisplayedBlockchainNamespace, b_ as DuplicateDetectionSessionStepId, bo as DuplicateDetectionSessionStepPrefix, aE as EIP155Signature, aR as ENVS, E as EVM_BLOCK_TIME, f as EVM_CHAINS_WITHOUT_DEDICATED_NODE_RPC, aJ as EdSignature, eA as Eip155TxAuthInputJsSdk, bz as EmailId, aZ as EmailPrefix, aS as EnvironmentSchema, g as EvmChainId, cH as ExecuteQueryResponse, ey as ExtendedTezosTxAuthDataSignatureResponse, ew as ExtendedTezosTxAuthInput, ex as ExtendedTxAuthDataSignatureResponse, ev as ExtendedTxAuthInput, f0 as ExternalCustomerId, eM as FLOW_TYPES, eN as FlowType, b$ as FraudDetectionSessionStepId, bp as FraudDetectionSessionStepPrefix, aP as FunctionCallData, da as GenerateWalletChallengeRequest, cX as GetCredentialsRequest, cY as GetCredentialsResponse, dg as GetCustomerStatusRequest, dl as GetCustomerStatusResponse, eu as GetTezosTxAuthDataSignatureResponse, eq as GetTxAuthDataSignatureResponse, d4 as GetTxAuthSigRequest, d6 as GetTxAuthSigRequestTezos, d5 as GetTxAuthSigResponse, d7 as GetTxAuthSigResponseTezos, au as HexadecimalSchema, dp as HostMessage, d8 as HostRequestMessage, cx as HostResponseMessage, eQ as IDENTITY_DOCUMENT_COUNTRY_LIST_OPTIONS, eS as IDENTITY_DOCUMENT_OPTIONS, e1 as IDInformationTfhe, eW as Identifier, dm as IdentityAppMessage, f2 as IdentityAppV2Web2JWT, f1 as IdentityAppV2Web3JWT, eR as IdentityDocumentCountryListOption, eT as IdentityDocumentOptionsType, by as IdentityId, dq as IdentityMessage, cl as IdentityNotificationMessage, aY as IdentityPrefix, cq as IdentityRequestMessage, d9 as IdentityResponseMessage, dh as IdentitySdkMessage, di as IdentitySdkMessageWithIdentifier, dn as IdentityWallet, f3 as IdentityWidgetAccessToken_NEW, f4 as IdentityWidgetSessionToken, cm as InitialDataRequest, cu as InitialDataResponse, bT as InstitutionExtractedInfosId, bg as InstitutionExtractedInfosPrefix, bS as InstitutionId, bf as InstitutionPrefix, aW as IpAddress, ch as IsVerifiedNotification, d2 as IsVerifiedRequest, d3 as IsVerifiedResponse, ca as KycCompletionData, cb as KycCompletionNotification, bW as ListId, bj as ListPrefix, dt as MediaType, du as MediaTypePID, c6 as MemberId, bH as MetaAlertId, b4 as MetaAlertPrefix, w as NEXERA_ACTIVE_STARKNET_CHAIN_IDS, O as NEXERA_APTOS_CHAINS, H as NEXERA_BITCOIN_CHAINS, a1 as NEXERA_CARDANO_CHAINS, h as NEXERA_COSMOS_CHAINS, a as NEXERA_EVM_CHAINS, d as NEXERA_EVM_CHAINS_ID, b as NEXERA_EVM_CHAIN_NAMES, c as NEXERA_EVM_CHAIN_NAMES_LIST, X as NEXERA_POLKADOT_CHAINS, x as NEXERA_SOLANA_CHAINS, t as NEXERA_STARKNET_CHAINS, v as NEXERA_STARKNET_CHAIN_IDS, u as NEXERA_STARKNET_CHAIN_NAMES, n as NEXERA_TEZOS_CHAINS, q as NEXERA_TEZOS_CHAIN_IDS, o as NEXERA_TEZOS_CHAIN_NAMES, p as NEXERA_TEZOS_CHAIN_NAMES_LIST, dU as NUMERIC_OPERATORS, f8 as NexeraCredentialType, e as NexeraEvmChains, N as NonTestnetBlockchainId, dV as NumericOperator, ed as OLD_CHALLENGE_QUERY_OPERATORS, ee as OLD_ChallengeQueryOperator, eh as OLD_ChallengeQueryOperatorToOperator, e9 as OLD_ChallengeQuerySchema, ej as OLD_QueryCredentialType, ei as OLD_QueryCredentialTypes, dM as OPERATORS, cj as OcvSdkInitialized, cd as OffChainScenarioExecutionData, cG as OffChainZKPRuleResult, ce as OnChainScenarioExecutionData, dN as Operator, ef as OperatorMappings, eg as OperatorToOLD_ChallengeQueryOperator, eY as OrganizationId, aU as OtpCode, aL as P2Signature, eU as PERSONAL_INFORMATION_FIELDS, _ as POLKADOT_CHAIN_IDS, Y as POLKADOT_CHAIN_NAMES, Z as POLKADOT_CHAIN_NAMES_LIST, P as POLYGON_NETWORK_NAMES, aV as PUBLIC_SERVICES_SCHEMA_MAP, e8 as PartialQueryConfigSimplified, eV as PersonalInformationFieldsIdentityDocuments, af as PolkadotAddress, a0 as PolkadotChainId, aH as PolkadotSignature, ci as PolygonIdInitialized, c_ as PolygonIdRequest, cZ as PolygonIdRequestData, d0 as PolygonIdResponse, c$ as PolygonIdResponseData, s as PolygonNetworkNames, eF as PrivacyPreservingMonitoring, a8 as PrivateKey, dC as ProofData, a9 as PublicKey, dK as QUERY_LOGIC_OPERATOR, dH as QrCodeLinkWithSchemaType, e3 as QueriesOptions, e6 as QueryConfigSimplified, e5 as QueryConfigTfhe, eb as QueryCredentialType, ea as QueryCredentialTypes, bX as QueryId, dL as QueryLogicOperator, bk as QueryPrefix, e4 as QueryType, dr as RequiredDataRowSchema, ds as RequiredVerificationData, cI as RuleEngineResponse, cc as RuleEngineScenarioExecutionData, e7 as RuleResultQueryConfig, cL as RuleResultStatus, cM as RuleResultStatusLabels, cK as RuleResultStatuses, eI as SCENARIO_AUTHORIZATION_STATUSES, D as SOLANA_CHAIN_IDS, y as SOLANA_CHAIN_NAMES, z as SOLANA_CHAIN_NAMES_LIST, dS as STRING_OPERATORS, ax as SUPPORTED_BLOCKCHAIN_NAMESPACES_FOR_SIGNATURE_AUTH, d_ as SUPPORTED_TYPES, cR as Scenario, c7 as ScenarioAuthorizationData, eJ as ScenarioAuthorizationStatus, cf as ScenarioExecutionData, cg as ScenarioExecutionNotification, cJ as ScenarioExecutionResponse, bV as ScenarioId, bi as ScenarioPrefix, cC as ScenarioSchema, cB as ScenarioStatus, cA as ScenarioStatuses, cz as ScenarioType, cy as ScenarioTypes, cN as SdkVerificationOutput, c8 as SdkVerificationResponseSchema, cp as SendTransactionRequest, cn as SignatureRequest, cv as SignatureResponse, cW as SimplifiedCredential, G as SolanaChainId, aK as SpSignature, c2 as SsssChunkId, bs as SsssChunkPrefix, c1 as SsssShareId, br as SsssSharePrefix, ae as StarknetAddress, S as StarknetChainId, aG as StarknetSignature, ck as StartCompletedNotification, d1 as StartFlowRequest, bx as StorageId, aX as StoragePrefix, at as String0x, dT as StringOperator, ay as SupportedBlockchainNamespaceForSignatureAuth, d$ as SupportedType, e0 as SupportedTypes, bF as TagId, b3 as TagPrefix, bI as TagsToTransactionReviewsId, b5 as TagsToTransactionReviewsPrefix, cT as TemplateScenario, bD as TestId, b1 as TestPrefix, aj as TezosAddress, T as TezosChainId, ai as TezosContractAddress, aQ as TezosEntrypointName, ah as TezosImplicitAddress, aM as TezosSignature, er as TezosTxAuthInput, eB as TezosTxAuthInputJsSdk, et as TezosTxSignatureResponse, bJ as TransactionAddressesId, b6 as TransactionAddressesPrefix, bU as TransactionAmountId, bh as TransactionAmountPrefix, co as TransactionData, bP as TransactionExtractedInfosId, bc as TransactionExtractedInfosPrefix, bL as TransactionFeesId, b8 as TransactionFeesPrefix, bK as TransactionId, bO as TransactionInfosId, bb as TransactionInfosPrefix, bR as TransactionMethodExtractedInfosId, be as TransactionMethodExtractedInfosPrefix, bQ as TransactionMethodsId, bd as TransactionMethodsPrefix, bN as TransactionPartiesId, ba as TransactionPartiesPrefix, b7 as TransactionPrefix, cw as TransactionResponse, bM as TransactionReviewId, b9 as TransactionReviewPrefix, dk as TxAuthDataSignatureGatingError, df as TxAuthDataSignatureGatingRequest, dj as TxAuthDataSignatureResponse, en as TxAuthInput, ab as TxHash, ep as TxSignatureResponse, aT as UuidString, fb as VerifiableCredential, eP as VerificationMode, eO as VerificationModes, cQ as VerificationOutput, cP as VerificationSessionStatus, cO as VerificationSessionStatuses, eL as VerifyWalletChallengeRequest, bA as WalletId, a_ as WalletPrefix, c0 as WalletScreeningSessionStepId, bq as WalletScreeningSessionStepPrefix, de as WalletSignResponse, eK as WalletSignatureResponse, f5 as Web2CreateSessionParams, e_ as WorkflowId, bY as WorkflowSessionAttributeId, bm as WorkflowSessionAttributePrefix, bv as WorkflowSessionId, eZ as WorkspaceId, dO as ZKPOperator, eD as ZKPRequest, eE as ZKPRequestFromZKVerifier, dx as ZeroKnowledgeProofRequest, dD as ZeroKnowledgeProofResponse, bw as createBrandedSchemaId, c5 as generateId, f9 as getCredentialName, el as getOldCredentialPath, ek as getOldCredentialType, a7 as isValidAddress, em as oldCredentialPathToDataLink, dP as operatorDisplayMap, dI as parseIden3Message, dJ as parseSessionIdFromUrl, ac as shortBlockchainAddress } from './identity-api.schema-97cbcb66.esm.mjs';
|
|
3
|
+
export { A as ALPHA_2_COUNTRIES, d as Alpha2Country, B as BasicCustomerContactInformation, x as CUSTOMERS_CHARTS, E as CUSTOMER_AUTOMATION_REASONS, z as CUSTOMER_TABLE_COLUMNS, c as CryptoCode, b as CryptoCodes, a as CurrencyCode, C as CurrencyCodes, u as CustomerOnboardingLevel, t as CustomerOnboardingLevels, w as CustomerStatus, v as CustomerStatuses, D as CustomerTableColumn, o as CustomerType, n as CustomerTypes, y as CustomersChartType, aC as DEFAULT_FIAT_CURRENCY, aI as DataLinkTypeZodSchema, aG as DataLinkVersionZodSchema, aX as GenericVaultDataLinkZodSchema, aW as GenericVaultEmbeddedLinkZodSchema, aU as GenericVaultPointerLinkZodSchema, aV as GenericVaultSearchLinkZodSchema, X as GenericVerifiableCredentialSchema, an as HumanReadableTransactionReviewStatus, am as HumanReadableTransactionReviewStatuses, ap as HumanReadableTransactionStatusMapping, a1 as ID3CredentialSchema, F as ID3CredentialSubjectSchema, _ as IDImageCredentialSchema, T as IDImageCredentialSubjectSchema, Z as IDInformationCredentialSchema, S as IDInformationCredentialSubjectSchema, Y as IDInformationTfheCredentialSchema, Q as IDInformationTfheCredentialSubjectSchema, a2 as IDScanCredentialSchema, G as IDScanCredentialSubjectSchema, a3 as IDScanPassportCredentialSchema, H as IDScanPassportCredentialSubjectSchema, a4 as IDScanSelfieCredentialSchema, J as IDScanSelfieCredentialSubjectSchema, I as ISO3CountryCode, s as KybOnboardingLevel, r as KybOnboardingLevels, q as KycOnboardingLevel, K as KycOnboardingLevels, a9 as OLD_AMLScreeningsResultsCredentialSchema, P as OLD_AMLScreeningsResultsCredentialSubjectSchema, a5 as OLD_IDImageCredentialSchema, O as OLD_IDImageCredentialSubjectSchema, a6 as OLD_IDInformationCredentialSchema, L as OLD_IDInformationCredentialSubjectSchema, a7 as OLD_ProofOfResidenceCredentialSchema, M as OLD_ProofOfResidenceCredentialSubjectSchema, a8 as OLD_SelfieImageCredentialSchema, N as OLD_SelfieImageCredentialSubjectSchema, ax as PaymentType, aw as PaymentTypes, a0 as ProofOfResidenceCredentialSchema, V as ProofOfResidenceCredentialSubjectSchema, h as RiskScoreType, R as RiskScoreTypes, $ as SelfieImageCredentialSchema, U as SelfieImageCredentialSubjectSchema, aJ as Separator, aD as TRANSACTIONS_STATS_CURRENCIES, aa as TRANSACTION_CHARTS, ac as TRANSACTION_TABLE_COLUMNS, aB as TransactionAmountsFieldName, aA as TransactionAmountsFieldNames, at as TransactionCurrencyCode, as as TransactionCurrencyCodes, ar as TransactionDirection, aq as TransactionDirections, az as TransactionPartiesType, ay as TransactionPartiesTypes, av as TransactionProvider, au as TransactionProviders, al as TransactionReviewStatus, ak as TransactionReviewStatuses, aj as TransactionRiskLevel, ai as TransactionRiskLevels, aE as TransactionStatsCurrency, ao as TransactionStatusMapping, ad as TransactionTableColumn, af as TransactionType, ah as TransactionTypeWithAll, ae as TransactionTypes, ag as TransactionTypesWithAll, ab as TransactionsChartType, aN as VaultJsonSchemas, aT as VaultMetadataLinkZodSchema, aR as VaultPointerKeyMapZodSchema, aS as VaultQueryMapZodSchema, aP as VaultSchemaIdZodSchema, aQ as VaultSchemaPathsZodSchema, aO as VaultZodSchema, m as WalletRiskScoreProvider, l as WalletRiskScoreProviders, j as WalletRiskScoreType, W as WalletRiskScoreTypes, aH as allDataLinkTypes, aF as allDataLinkVersions, k as compareRiskScores, f as countryISO2toISO3Mapping, e as countryISO3toISO2Mapping, aK as generateZodObjectPaths, i as isoCountriesNameFromISO2, g as isoCountriesNameFromISO3, p as parseISO3CountryCode, aL as resolvePathOnDataSchema, aM as resolvePathOnMapSchema } from './vault.schema-1b7eeedd.esm.mjs';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
export { V as VC_JSON_SCHEMA_MAP, c as cleanObject, a as getAvailableFields, g as getCredentialSchemaLocation } from './
|
|
5
|
+
export { I as IDInformationTfheCredentialSubjectCONFIG, V as VC_JSON_SCHEMA_MAP, c as cleanObject, a as getAvailableFields, g as getCredentialSchemaLocation, b as getFieldConfig } from './tfhe-utilities-f43f16b1.esm.mjs';
|
|
6
6
|
import 'nanoid';
|
|
7
7
|
import 'decimal.js';
|
|
8
8
|
|
package/dist/package.json
CHANGED
package/dist/{frontend-utilities.schema-85b3a5de.cjs.dev.cjs → tfhe-utilities-1ae3cd6a.cjs.dev.cjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var vault_schema = require('./vault.schema-
|
|
4
|
-
var identityApi_schema = require('./identity-api.schema-
|
|
3
|
+
var vault_schema = require('./vault.schema-4921bc9f.cjs.dev.cjs');
|
|
4
|
+
var identityApi_schema = require('./identity-api.schema-4510f916.cjs.dev.cjs');
|
|
5
5
|
|
|
6
6
|
var VC_JSON_SCHEMA_MAP = {
|
|
7
7
|
ProofOfResidence: {
|
|
@@ -222,7 +222,7 @@ function cleanObject(object) {
|
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
/** Generated with `./generate-schemas-ts.sh` */
|
|
225
|
-
var schema$
|
|
225
|
+
var schema$8 = {
|
|
226
226
|
description: "Stores the data of the credential",
|
|
227
227
|
title: "Credential subject",
|
|
228
228
|
type: "object",
|
|
@@ -314,7 +314,7 @@ var schema$7 = {
|
|
|
314
314
|
};
|
|
315
315
|
|
|
316
316
|
/** Generated with `./generate-schemas-ts.sh` */
|
|
317
|
-
var schema$
|
|
317
|
+
var schema$7 = {
|
|
318
318
|
description: "Stores the data of the credential",
|
|
319
319
|
title: "Credential subject",
|
|
320
320
|
type: "object",
|
|
@@ -445,6 +445,255 @@ var schema$6 = {
|
|
|
445
445
|
}
|
|
446
446
|
};
|
|
447
447
|
|
|
448
|
+
/** Generated with `./generate-schemas-ts.sh` */
|
|
449
|
+
var schema$6 = {
|
|
450
|
+
description: "Stores the data of the credential",
|
|
451
|
+
title: "Credential subject",
|
|
452
|
+
type: "object",
|
|
453
|
+
required: ["id", "journeyId", "reviewAnswer", "documentType", "entryDate", "entryTime", "personalData"],
|
|
454
|
+
properties: {
|
|
455
|
+
id: {
|
|
456
|
+
description: "Stores the DID of the subject that owns the credential",
|
|
457
|
+
title: "Credential subject ID",
|
|
458
|
+
format: "uri",
|
|
459
|
+
type: "string",
|
|
460
|
+
bytesSize: 0
|
|
461
|
+
},
|
|
462
|
+
journeyId: {
|
|
463
|
+
description: "Journey ID of when credential was generated",
|
|
464
|
+
title: "Journey ID",
|
|
465
|
+
type: "string",
|
|
466
|
+
format: "uuid",
|
|
467
|
+
bytesSize: 0
|
|
468
|
+
},
|
|
469
|
+
reviewAnswer: {
|
|
470
|
+
description: "Review result from kyc provider",
|
|
471
|
+
title: "Review Result",
|
|
472
|
+
type: "string",
|
|
473
|
+
"enum": ["RED", "YELLOW", "GREEN"],
|
|
474
|
+
valueMap: {
|
|
475
|
+
RED: 1,
|
|
476
|
+
YELLOW: 2,
|
|
477
|
+
GREEN: 3
|
|
478
|
+
},
|
|
479
|
+
bytesSize: 8
|
|
480
|
+
},
|
|
481
|
+
reviewRejectType: {
|
|
482
|
+
description: "Review reject type",
|
|
483
|
+
title: "Review Reject Type",
|
|
484
|
+
type: "string",
|
|
485
|
+
"enum": ["FINAL", "RETRY"],
|
|
486
|
+
valueMap: {
|
|
487
|
+
FINAL: 1,
|
|
488
|
+
RETRY: 2
|
|
489
|
+
},
|
|
490
|
+
bytesSize: 8
|
|
491
|
+
},
|
|
492
|
+
reviewRejectLabels: {
|
|
493
|
+
description: "Reject labels",
|
|
494
|
+
title: "Reject Labels",
|
|
495
|
+
type: "array",
|
|
496
|
+
items: {
|
|
497
|
+
type: "string",
|
|
498
|
+
"enum": ["FORGERY", "DOCUMENT_TEMPLATE", "LOW_QUALITY", "SPAM", "NOT_DOCUMENT", "SELFIE_MISMATCH", "ID_INVALID", "FOREIGNER", "DUPLICATE", "BAD_AVATAR", "WRONG_USER_REGION", "INCOMPLETE_DOCUMENT", "BLACKLIST", "BLOCKLIST", "UNSATISFACTORY_PHOTOS", "DOCUMENT_PAGE_MISSING", "DOCUMENT_DAMAGED", "REGULATIONS_VIOLATIONS", "INCONSISTENT_PROFILE", "PROBLEMATIC_APPLICANT_DATA", "ADDITIONAL_DOCUMENT_REQUIRED", "AGE_REQUIREMENT_MISMATCH", "EXPERIENCE_REQUIREMENT_MISMATCH", "CRIMINAL", "WRONG_ADDRESS", "GRAPHIC_EDITOR", "DOCUMENT_DEPRIVED", "COMPROMISED_PERSONS", "PEP", "ADVERSE_MEDIA", "FRAUDULENT_PATTERNS", "SANCTIONS", "NOT_ALL_CHECKS_COMPLETED", "FRONT_SIDE_MISSING", "BACK_SIDE_MISSING", "SCREENSHOTS", "BLACK_AND_WHITE", "INCOMPATIBLE_LANGUAGE", "EXPIRATION_DATE", "UNFILLED_ID", "BAD_SELFIE", "BAD_VIDEO_SELFIE", "BAD_FACE_MATCHING", "BAD_PROOF_OF_IDENTITY", "BAD_PROOF_OF_ADDRESS", "BAD_PROOF_OF_PAYMENT", "SELFIE_WITH_PAPER", "FRAUDULENT_LIVENESS", "OTHER", "REQUESTED_DATA_MISMATCH", "OK", "COMPANY_NOT_DEFINED_STRUCTURE", "COMPANY_NOT_DEFINED_BENEFICIARIES", "COMPANY_NOT_VALIDATED_BENEFICIARIES", "COMPANY_NOT_DEFINED_REPRESENTATIVES", "COMPANY_NOT_VALIDATED_REPRESENTATIVES", "APPLICANT_INTERRUPTED_INTERVIEW", "DOCUMENT_MISSING", "UNSUITABLE_ENV", "CONNECTION_INTERRUPTED", "UNSUPPORTED_LANGUAGE", "THIRD_PARTY_INVOLVED", "CHECK_UNAVAILABLE", "INCORRECT_SOCIAL_NUMBER"],
|
|
499
|
+
valueMap: {
|
|
500
|
+
FORGERY: 1,
|
|
501
|
+
DOCUMENT_TEMPLATE: 2,
|
|
502
|
+
LOW_QUALITY: 3,
|
|
503
|
+
SPAM: 4,
|
|
504
|
+
NOT_DOCUMENT: 5,
|
|
505
|
+
SELFIE_MISMATCH: 6,
|
|
506
|
+
ID_INVALID: 7,
|
|
507
|
+
FOREIGNER: 8,
|
|
508
|
+
DUPLICATE: 9,
|
|
509
|
+
BAD_AVATAR: 10,
|
|
510
|
+
WRONG_USER_REGION: 11,
|
|
511
|
+
INCOMPLETE_DOCUMENT: 12,
|
|
512
|
+
BLACKLIST: 13,
|
|
513
|
+
BLOCKLIST: 14,
|
|
514
|
+
UNSATISFACTORY_PHOTOS: 15,
|
|
515
|
+
DOCUMENT_PAGE_MISSING: 16,
|
|
516
|
+
DOCUMENT_DAMAGED: 17,
|
|
517
|
+
REGULATIONS_VIOLATIONS: 18,
|
|
518
|
+
INCONSISTENT_PROFILE: 19,
|
|
519
|
+
PROBLEMATIC_APPLICANT_DATA: 20,
|
|
520
|
+
ADDITIONAL_DOCUMENT_REQUIRED: 21,
|
|
521
|
+
AGE_REQUIREMENT_MISMATCH: 22,
|
|
522
|
+
EXPERIENCE_REQUIREMENT_MISMATCH: 23,
|
|
523
|
+
CRIMINAL: 24,
|
|
524
|
+
WRONG_ADDRESS: 25,
|
|
525
|
+
GRAPHIC_EDITOR: 26,
|
|
526
|
+
DOCUMENT_DEPRIVED: 27,
|
|
527
|
+
COMPROMISED_PERSONS: 28,
|
|
528
|
+
PEP: 29,
|
|
529
|
+
ADVERSE_MEDIA: 30,
|
|
530
|
+
FRAUDULENT_PATTERNS: 31,
|
|
531
|
+
SANCTIONS: 32,
|
|
532
|
+
NOT_ALL_CHECKS_COMPLETED: 33,
|
|
533
|
+
FRONT_SIDE_MISSING: 34,
|
|
534
|
+
BACK_SIDE_MISSING: 35,
|
|
535
|
+
SCREENSHOTS: 36,
|
|
536
|
+
BLACK_AND_WHITE: 37,
|
|
537
|
+
INCOMPATIBLE_LANGUAGE: 38,
|
|
538
|
+
EXPIRATION_DATE: 39,
|
|
539
|
+
UNFILLED_ID: 40,
|
|
540
|
+
BAD_SELFIE: 41,
|
|
541
|
+
BAD_VIDEO_SELFIE: 42,
|
|
542
|
+
BAD_FACE_MATCHING: 43,
|
|
543
|
+
BAD_PROOF_OF_IDENTITY: 44,
|
|
544
|
+
BAD_PROOF_OF_ADDRESS: 45,
|
|
545
|
+
BAD_PROOF_OF_PAYMENT: 46,
|
|
546
|
+
SELFIE_WITH_PAPER: 47,
|
|
547
|
+
FRAUDULENT_LIVENESS: 48,
|
|
548
|
+
OTHER: 49,
|
|
549
|
+
REQUESTED_DATA_MISMATCH: 50,
|
|
550
|
+
OK: 51,
|
|
551
|
+
COMPANY_NOT_DEFINED_STRUCTURE: 52,
|
|
552
|
+
COMPANY_NOT_DEFINED_BENEFICIARIES: 53,
|
|
553
|
+
COMPANY_NOT_VALIDATED_BENEFICIARIES: 54,
|
|
554
|
+
COMPANY_NOT_DEFINED_REPRESENTATIVES: 55,
|
|
555
|
+
COMPANY_NOT_VALIDATED_REPRESENTATIVES: 56,
|
|
556
|
+
APPLICANT_INTERRUPTED_INTERVIEW: 57,
|
|
557
|
+
DOCUMENT_MISSING: 58,
|
|
558
|
+
UNSUITABLE_ENV: 59,
|
|
559
|
+
CONNECTION_INTERRUPTED: 60,
|
|
560
|
+
UNSUPPORTED_LANGUAGE: 61,
|
|
561
|
+
THIRD_PARTY_INVOLVED: 62,
|
|
562
|
+
CHECK_UNAVAILABLE: 63,
|
|
563
|
+
INCORRECT_SOCIAL_NUMBER: 64
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
bytesSize: 0
|
|
567
|
+
},
|
|
568
|
+
documentType: {
|
|
569
|
+
description: "Type of the document provided by the credential subject",
|
|
570
|
+
title: "Document Type",
|
|
571
|
+
type: "string",
|
|
572
|
+
"enum": ["ID_CARD", "PASSPORT", "DRIVERS", "RESIDENCE_PERMIT", "UTILITY_BILL", "SELFIE", "VIDEO_SELFIE", "PROFILE_IMAGE", "ID_DOC_PHOTO", "AGREEMENT", "CONTRACT", "DRIVERS_TRANSLATION", "INVESTOR_DOC", "VEHICLE_REGISTRATION_CERTIFICATE", "INCOME_SOURCE", "PAYMENT_METHOD", "BANK_CARD", "COVID_VACCINATION_FORM", "OTHER"],
|
|
573
|
+
valueMap: {
|
|
574
|
+
ID_CARD: 1,
|
|
575
|
+
PASSPORT: 2,
|
|
576
|
+
DRIVERS: 3,
|
|
577
|
+
RESIDENCE_PERMIT: 4,
|
|
578
|
+
UTILITY_BILL: 5,
|
|
579
|
+
SELFIE: 6,
|
|
580
|
+
VIDEO_SELFIE: 7,
|
|
581
|
+
PROFILE_IMAGE: 8,
|
|
582
|
+
ID_DOC_PHOTO: 9,
|
|
583
|
+
AGREEMENT: 10,
|
|
584
|
+
CONTRACT: 11,
|
|
585
|
+
DRIVERS_TRANSLATION: 12,
|
|
586
|
+
INVESTOR_DOC: 13,
|
|
587
|
+
VEHICLE_REGISTRATION_CERTIFICATE: 14,
|
|
588
|
+
INCOME_SOURCE: 15,
|
|
589
|
+
PAYMENT_METHOD: 16,
|
|
590
|
+
BANK_CARD: 17,
|
|
591
|
+
COVID_VACCINATION_FORM: 18,
|
|
592
|
+
OTHER: 19
|
|
593
|
+
},
|
|
594
|
+
bytesSize: 8
|
|
595
|
+
},
|
|
596
|
+
entryDate: {
|
|
597
|
+
description: "Entry date associated with the credential",
|
|
598
|
+
title: "Entry Date in integer format of yyyymmdd, example: 20231226 2023 year, 12-December, 26-day",
|
|
599
|
+
type: "integer",
|
|
600
|
+
bytesSize: 32
|
|
601
|
+
},
|
|
602
|
+
entryTime: {
|
|
603
|
+
description: "Entry time associated with the credential",
|
|
604
|
+
title: "Entry Time",
|
|
605
|
+
type: "string",
|
|
606
|
+
format: "time",
|
|
607
|
+
bytesSize: 32
|
|
608
|
+
},
|
|
609
|
+
personalData: {
|
|
610
|
+
description: "Original data extracted by the provider",
|
|
611
|
+
title: "Original Data",
|
|
612
|
+
type: "object",
|
|
613
|
+
properties: {
|
|
614
|
+
firstName: {
|
|
615
|
+
description: "First name of the credential subject",
|
|
616
|
+
title: "First Name",
|
|
617
|
+
type: "string",
|
|
618
|
+
bytesSize: 512
|
|
619
|
+
},
|
|
620
|
+
middleName: {
|
|
621
|
+
description: "Middle name of the credential subject",
|
|
622
|
+
title: "Middle Name",
|
|
623
|
+
type: "string",
|
|
624
|
+
bytesSize: 512
|
|
625
|
+
},
|
|
626
|
+
lastName: {
|
|
627
|
+
description: "Last name of the credential subject",
|
|
628
|
+
title: "Last Name",
|
|
629
|
+
type: "string",
|
|
630
|
+
bytesSize: 512
|
|
631
|
+
},
|
|
632
|
+
gender: {
|
|
633
|
+
description: "Gender of the credential subject",
|
|
634
|
+
title: "Gender",
|
|
635
|
+
type: "string",
|
|
636
|
+
bytesSize: 8
|
|
637
|
+
},
|
|
638
|
+
age: {
|
|
639
|
+
description: "Age of the credential subject",
|
|
640
|
+
title: "Age",
|
|
641
|
+
type: "integer",
|
|
642
|
+
minimum: 0,
|
|
643
|
+
maximum: 125,
|
|
644
|
+
bytesSize: 8
|
|
645
|
+
},
|
|
646
|
+
citizenship: {
|
|
647
|
+
title: "Citizenship",
|
|
648
|
+
description: "Citizenship status of the credential subject - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)",
|
|
649
|
+
type: "string",
|
|
650
|
+
bytesSize: 32,
|
|
651
|
+
"enum": ["AFG", "ALB", "DZA", "ASM", "AND", "AGO", "AIA", "ATA", "ATG", "ARG", "ARM", "ABW", "AUS", "AUT", "AZE", "BHS", "BHR", "BGD", "BRB", "BLR", "BEL", "BLZ", "BEN", "BMU", "BTN", "BOL", "BES", "BIH", "BWA", "BVT", "BRA", "IOT", "BRN", "BGR", "BFA", "BDI", "CPV", "KHM", "CMR", "CAN", "CYM", "CAF", "TCD", "CHL", "CHN", "CXR", "CCK", "COL", "COM", "COD", "COG", "COK", "CRI", "HRV", "CUB", "CUW", "CYP", "CZE", "CIV", "DNK", "DJI", "DMA", "DOM", "ECU", "EGY", "SLV", "GNQ", "ERI", "EST", "SWZ", "ETH", "FLK", "FRO", "FJI", "FIN", "FRA", "GUF", "PYF", "ATF", "GAB", "GMB", "GEO", "DEU", "GHA", "GIB", "GRC", "GRL", "GRD", "GLP", "GUM", "GTM", "GGY", "GIN", "GNB", "GUY", "HTI", "HMD", "VAT", "HND", "HKG", "HUN", "ISL", "IND", "IDN", "IRN", "IRQ", "IRL", "IMN", "ISR", "ITA", "JAM", "JPN", "JEY", "JOR", "KAZ", "KEN", "KIR", "PRK", "KOR", "KWT", "KGZ", "LAO", "LVA", "LBN", "LSO", "LBR", "LBY", "LIE", "LTU", "LUX", "MAC", "MDG", "MWI", "MYS", "MDV", "MLI", "MLT", "MHL", "MTQ", "MRT", "MUS", "MYT", "MEX", "FSM", "MDA", "MCO", "MNG", "MNE", "MSR", "MAR", "MOZ", "MMR", "NAM", "NRU", "NPL", "NLD", "NCL", "NZL", "NIC", "NER", "NGA", "NIU", "NFK", "MNP", "NOR", "OMN", "PAK", "PLW", "PSE", "PAN", "PNG", "PRY", "PER", "PHL", "PCN", "POL", "PRT", "PRI", "QAT", "MKD", "ROU", "RUS", "RWA", "REU", "BLM", "SHN", "KNA", "LCA", "MAF", "SPM", "VCT", "WSM", "SMR", "STP", "SAU", "SEN", "SRB", "SYC", "SLE", "SGP", "SXM", "SVK", "SVN", "SLB", "SOM", "ZAF", "SGS", "SSD", "ESP", "LKA", "SDN", "SUR", "SJM", "SWE", "CHE", "SYR", "TWN", "TJK", "TZA", "THA", "TLS", "TGO", "TKL", "TON", "TTO", "TUN", "TUR", "TKM", "TCA", "TUV", "UGA", "UKR", "ARE", "GBR", "UMI", "USA", "URY", "UZB", "VUT", "VEN", "VNM", "VGB", "VIR", "WLF", "ESH", "YEM", "ZMB", "ZWE", "ALA", "ANT", "XKX"]
|
|
652
|
+
},
|
|
653
|
+
country: {
|
|
654
|
+
description: "Country of the credential subject - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)",
|
|
655
|
+
title: "Country",
|
|
656
|
+
type: "string",
|
|
657
|
+
bytesSize: 32,
|
|
658
|
+
"enum": ["AFG", "ALB", "DZA", "ASM", "AND", "AGO", "AIA", "ATA", "ATG", "ARG", "ARM", "ABW", "AUS", "AUT", "AZE", "BHS", "BHR", "BGD", "BRB", "BLR", "BEL", "BLZ", "BEN", "BMU", "BTN", "BOL", "BES", "BIH", "BWA", "BVT", "BRA", "IOT", "BRN", "BGR", "BFA", "BDI", "CPV", "KHM", "CMR", "CAN", "CYM", "CAF", "TCD", "CHL", "CHN", "CXR", "CCK", "COL", "COM", "COD", "COG", "COK", "CRI", "HRV", "CUB", "CUW", "CYP", "CZE", "CIV", "DNK", "DJI", "DMA", "DOM", "ECU", "EGY", "SLV", "GNQ", "ERI", "EST", "SWZ", "ETH", "FLK", "FRO", "FJI", "FIN", "FRA", "GUF", "PYF", "ATF", "GAB", "GMB", "GEO", "DEU", "GHA", "GIB", "GRC", "GRL", "GRD", "GLP", "GUM", "GTM", "GGY", "GIN", "GNB", "GUY", "HTI", "HMD", "VAT", "HND", "HKG", "HUN", "ISL", "IND", "IDN", "IRN", "IRQ", "IRL", "IMN", "ISR", "ITA", "JAM", "JPN", "JEY", "JOR", "KAZ", "KEN", "KIR", "PRK", "KOR", "KWT", "KGZ", "LAO", "LVA", "LBN", "LSO", "LBR", "LBY", "LIE", "LTU", "LUX", "MAC", "MDG", "MWI", "MYS", "MDV", "MLI", "MLT", "MHL", "MTQ", "MRT", "MUS", "MYT", "MEX", "FSM", "MDA", "MCO", "MNG", "MNE", "MSR", "MAR", "MOZ", "MMR", "NAM", "NRU", "NPL", "NLD", "NCL", "NZL", "NIC", "NER", "NGA", "NIU", "NFK", "MNP", "NOR", "OMN", "PAK", "PLW", "PSE", "PAN", "PNG", "PRY", "PER", "PHL", "PCN", "POL", "PRT", "PRI", "QAT", "MKD", "ROU", "RUS", "RWA", "REU", "BLM", "SHN", "KNA", "LCA", "MAF", "SPM", "VCT", "WSM", "SMR", "STP", "SAU", "SEN", "SRB", "SYC", "SLE", "SGP", "SXM", "SVK", "SVN", "SLB", "SOM", "ZAF", "SGS", "SSD", "ESP", "LKA", "SDN", "SUR", "SJM", "SWE", "CHE", "SYR", "TWN", "TJK", "TZA", "THA", "TLS", "TGO", "TKL", "TON", "TTO", "TUN", "TUR", "TKM", "TCA", "TUV", "UGA", "UKR", "ARE", "GBR", "UMI", "USA", "URY", "UZB", "VUT", "VEN", "VNM", "VGB", "VIR", "WLF", "ESH", "YEM", "ZMB", "ZWE", "ALA", "ANT", "XKX"]
|
|
659
|
+
},
|
|
660
|
+
fullName: {
|
|
661
|
+
description: "Full name of the credential subject",
|
|
662
|
+
title: "Full Name",
|
|
663
|
+
type: "string",
|
|
664
|
+
bytesSize: 2048
|
|
665
|
+
},
|
|
666
|
+
birthDate: {
|
|
667
|
+
title: "Birth Date",
|
|
668
|
+
description: "Birth Date of the credential subject in integer format of yyyymmdd, example: 20231226 2023 year, 12-December, 26-day",
|
|
669
|
+
type: "integer",
|
|
670
|
+
bytesSize: 32
|
|
671
|
+
},
|
|
672
|
+
countryOfBirth: {
|
|
673
|
+
title: "Country of Birth",
|
|
674
|
+
description: "Country of birth of the credential subject - - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)",
|
|
675
|
+
type: "string",
|
|
676
|
+
bytesSize: 32,
|
|
677
|
+
"enum": ["AFG", "ALB", "DZA", "ASM", "AND", "AGO", "AIA", "ATA", "ATG", "ARG", "ARM", "ABW", "AUS", "AUT", "AZE", "BHS", "BHR", "BGD", "BRB", "BLR", "BEL", "BLZ", "BEN", "BMU", "BTN", "BOL", "BES", "BIH", "BWA", "BVT", "BRA", "IOT", "BRN", "BGR", "BFA", "BDI", "CPV", "KHM", "CMR", "CAN", "CYM", "CAF", "TCD", "CHL", "CHN", "CXR", "CCK", "COL", "COM", "COD", "COG", "COK", "CRI", "HRV", "CUB", "CUW", "CYP", "CZE", "CIV", "DNK", "DJI", "DMA", "DOM", "ECU", "EGY", "SLV", "GNQ", "ERI", "EST", "SWZ", "ETH", "FLK", "FRO", "FJI", "FIN", "FRA", "GUF", "PYF", "ATF", "GAB", "GMB", "GEO", "DEU", "GHA", "GIB", "GRC", "GRL", "GRD", "GLP", "GUM", "GTM", "GGY", "GIN", "GNB", "GUY", "HTI", "HMD", "VAT", "HND", "HKG", "HUN", "ISL", "IND", "IDN", "IRN", "IRQ", "IRL", "IMN", "ISR", "ITA", "JAM", "JPN", "JEY", "JOR", "KAZ", "KEN", "KIR", "PRK", "KOR", "KWT", "KGZ", "LAO", "LVA", "LBN", "LSO", "LBR", "LBY", "LIE", "LTU", "LUX", "MAC", "MDG", "MWI", "MYS", "MDV", "MLI", "MLT", "MHL", "MTQ", "MRT", "MUS", "MYT", "MEX", "FSM", "MDA", "MCO", "MNG", "MNE", "MSR", "MAR", "MOZ", "MMR", "NAM", "NRU", "NPL", "NLD", "NCL", "NZL", "NIC", "NER", "NGA", "NIU", "NFK", "MNP", "NOR", "OMN", "PAK", "PLW", "PSE", "PAN", "PNG", "PRY", "PER", "PHL", "PCN", "POL", "PRT", "PRI", "QAT", "MKD", "ROU", "RUS", "RWA", "REU", "BLM", "SHN", "KNA", "LCA", "MAF", "SPM", "VCT", "WSM", "SMR", "STP", "SAU", "SEN", "SRB", "SYC", "SLE", "SGP", "SXM", "SVK", "SVN", "SLB", "SOM", "ZAF", "SGS", "SSD", "ESP", "LKA", "SDN", "SUR", "SJM", "SWE", "CHE", "SYR", "TWN", "TJK", "TZA", "THA", "TLS", "TGO", "TKL", "TON", "TTO", "TUN", "TUR", "TKM", "TCA", "TUV", "UGA", "UKR", "ARE", "GBR", "UMI", "USA", "URY", "UZB", "VUT", "VEN", "VNM", "VGB", "VIR", "WLF", "ESH", "YEM", "ZMB", "ZWE", "ALA", "ANT", "XKX"]
|
|
678
|
+
},
|
|
679
|
+
stateOfBirth: {
|
|
680
|
+
title: "State of Birth",
|
|
681
|
+
type: "string",
|
|
682
|
+
bytesSize: 512,
|
|
683
|
+
description: "State of birth of the credential subject"
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
isSandbox: {
|
|
688
|
+
description: "Indicates if the credential was generated in a sandbox environment",
|
|
689
|
+
title: "Is Sandbox",
|
|
690
|
+
type: "boolean",
|
|
691
|
+
bytesSize: 0
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
};
|
|
695
|
+
var IDInformationTfheCredentialSubjectCONFIG = schema$6;
|
|
696
|
+
|
|
448
697
|
/** Generated with `./generate-schemas-ts.sh` */
|
|
449
698
|
var schema$5 = {
|
|
450
699
|
description: "Stores the data of the credential",
|
|
@@ -2065,8 +2314,9 @@ var schema = {
|
|
|
2065
2314
|
// also really should be referencing the operators from vc-schemas
|
|
2066
2315
|
|
|
2067
2316
|
var schemaMap = {
|
|
2068
|
-
IDInformation: schema$
|
|
2069
|
-
|
|
2317
|
+
IDInformation: schema$7,
|
|
2318
|
+
IDInformationTfhe: schema$6,
|
|
2319
|
+
IDImage: schema$8,
|
|
2070
2320
|
SelfieImage: schema$4,
|
|
2071
2321
|
AMLScreeningsResults: schema,
|
|
2072
2322
|
ProofOfResidence: schema$5,
|
|
@@ -2142,7 +2392,54 @@ var _extractFields = function extractFields(props) {
|
|
|
2142
2392
|
return fields;
|
|
2143
2393
|
};
|
|
2144
2394
|
|
|
2395
|
+
var _getRecursiveFieldConfig2 = function _getRecursiveFieldConfig(props) {
|
|
2396
|
+
var keys = props.keys,
|
|
2397
|
+
config = props.config;
|
|
2398
|
+
if (config === undefined) {
|
|
2399
|
+
throw new Error("[_getRecursiveFieldConfig] Invalid config");
|
|
2400
|
+
}
|
|
2401
|
+
if (keys.length === 0) {
|
|
2402
|
+
return config;
|
|
2403
|
+
} else {
|
|
2404
|
+
var key = keys[0];
|
|
2405
|
+
if (!key) {
|
|
2406
|
+
throw new Error("[_getRecursiveFieldConfig] Invalid key");
|
|
2407
|
+
}
|
|
2408
|
+
if (config.type === "object" && Object.hasOwn(config, "properties") && config.properties !== undefined) {
|
|
2409
|
+
var fieldConfig = config.properties[key];
|
|
2410
|
+
if (!fieldConfig) {
|
|
2411
|
+
throw new Error("[_getRecursiveFieldConfig] Invalid fieldConfig");
|
|
2412
|
+
}
|
|
2413
|
+
return _getRecursiveFieldConfig2({
|
|
2414
|
+
keys: keys.slice(1),
|
|
2415
|
+
config: fieldConfig
|
|
2416
|
+
});
|
|
2417
|
+
} else if (config.type === "array") {
|
|
2418
|
+
return config;
|
|
2419
|
+
} else {
|
|
2420
|
+
throw new Error("[_getRecursiveFieldConfig] This fieldConfig has no properties");
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
};
|
|
2424
|
+
var getFieldConfig = function getFieldConfig(props) {
|
|
2425
|
+
var attribute = props.attribute,
|
|
2426
|
+
schema = props.schema;
|
|
2427
|
+
if (attribute.lastIndexOf(".") !== -1) {
|
|
2428
|
+
var fieldConfig = _getRecursiveFieldConfig2({
|
|
2429
|
+
keys: attribute.split("."),
|
|
2430
|
+
config: schema
|
|
2431
|
+
});
|
|
2432
|
+
return fieldConfig;
|
|
2433
|
+
} else {
|
|
2434
|
+
var keySafe = attribute;
|
|
2435
|
+
var _fieldConfig = schema.properties[keySafe];
|
|
2436
|
+
return _fieldConfig;
|
|
2437
|
+
}
|
|
2438
|
+
};
|
|
2439
|
+
|
|
2440
|
+
exports.IDInformationTfheCredentialSubjectCONFIG = IDInformationTfheCredentialSubjectCONFIG;
|
|
2145
2441
|
exports.VC_JSON_SCHEMA_MAP = VC_JSON_SCHEMA_MAP;
|
|
2146
2442
|
exports.cleanObject = cleanObject;
|
|
2147
2443
|
exports.getAvailableFields = getAvailableFields;
|
|
2148
2444
|
exports.getCredentialSchemaLocation = getCredentialSchemaLocation;
|
|
2445
|
+
exports.getFieldConfig = getFieldConfig;
|