@nexeraid/identity-schemas 2.31.0 → 2.33.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-e7be5940.esm.mjs → CoinMarketCap.schema-280414c3.esm.mjs} +16 -10
- package/dist/{CoinMarketCap.schema-b0cc2a78.cjs.prod.cjs → CoinMarketCap.schema-6a1ff221.cjs.prod.cjs} +18 -9
- package/dist/{CoinMarketCap.schema-11069418.cjs.dev.cjs → CoinMarketCap.schema-aefa43e8.cjs.dev.cjs} +18 -9
- package/dist/declarations/src/aws-webhook.schema.d.ts +41 -0
- package/dist/declarations/src/aws-webhook.schema.d.ts.map +1 -0
- package/dist/declarations/src/identity/host-requests.schema.d.ts +20 -0
- package/dist/declarations/src/identity/host-requests.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/identity-v2.schema.d.ts +172 -6
- package/dist/declarations/src/identity/identity-v2.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/kyc.schema.d.ts +10 -0
- package/dist/declarations/src/identity/kyc.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/txAuthData.schema.d.ts +198 -197
- package/dist/declarations/src/identity/txAuthData.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity-ids.schema.d.ts +9 -2
- package/dist/declarations/src/identity-ids.schema.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +1 -0
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/providers/kyc-sessions.schema.d.ts +277 -27
- package/dist/declarations/src/providers/kyc-sessions.schema.d.ts.map +1 -1
- package/dist/{frontend-utilities.schema-dee00db7.esm.mjs → frontend-utilities.schema-2c6e346e.esm.mjs} +1 -1
- package/dist/{frontend-utilities.schema-75b74942.cjs.dev.cjs → frontend-utilities.schema-2cdacfcb.cjs.dev.cjs} +1 -1
- package/dist/{frontend-utilities.schema-9b40bae5.cjs.prod.cjs → frontend-utilities.schema-fb803ead.cjs.prod.cjs} +1 -1
- package/dist/{identity-api.schema-1a005459.esm.mjs → identity-api.schema-79b2c3a7.esm.mjs} +34 -10
- package/dist/{identity-api.schema-5b5d60ea.cjs.prod.cjs → identity-api.schema-ab731fb2.cjs.prod.cjs} +39 -10
- package/dist/{identity-api.schema-57fbeead.cjs.dev.cjs → identity-api.schema-d2a8b678.cjs.dev.cjs} +39 -10
- package/dist/nexeraid-identity-schemas.cjs.dev.cjs +28 -4
- package/dist/nexeraid-identity-schemas.cjs.prod.cjs +28 -4
- package/dist/nexeraid-identity-schemas.esm.mjs +21 -5
- package/dist/package.json +1 -1
- package/dist/{transaction.schema-c544a68e.esm.mjs → transaction.schema-0a5b60ae.esm.mjs} +1 -1
- package/dist/{transaction.schema-9fc271c9.cjs.prod.cjs → transaction.schema-22e6e231.cjs.prod.cjs} +1 -1
- package/dist/{transaction.schema-18ac4ec3.cjs.dev.cjs → transaction.schema-760719df.cjs.dev.cjs} +1 -1
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +4 -2
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +4 -2
- package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +1 -1
- package/package.json +1 -1
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +5 -2
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +5 -2
- package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +2 -2
- 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
|
@@ -2599,18 +2599,25 @@ var ListPrefix = "list";
|
|
|
2599
2599
|
var QueryPrefix = "query";
|
|
2600
2600
|
var ActionPrefix = "action";
|
|
2601
2601
|
|
|
2602
|
+
// workflows-api
|
|
2603
|
+
var WorkflowSessionAttributePrefix = "wsatr";
|
|
2604
|
+
|
|
2602
2605
|
// ---
|
|
2603
2606
|
|
|
2604
2607
|
// Add these lines in the type definitions section
|
|
2605
2608
|
|
|
2606
2609
|
// TMS
|
|
2607
2610
|
|
|
2611
|
+
// workflows-api
|
|
2612
|
+
|
|
2608
2613
|
// ---
|
|
2609
2614
|
|
|
2610
2615
|
// TMS
|
|
2611
2616
|
|
|
2612
2617
|
// Scenarios service
|
|
2613
2618
|
|
|
2619
|
+
// Workflows-API
|
|
2620
|
+
|
|
2614
2621
|
var createBrandedSchemaId = function createBrandedSchemaId(brand) {
|
|
2615
2622
|
return z.custom(function (val) {
|
|
2616
2623
|
if (typeof val !== "string") return false;
|
|
@@ -2650,8 +2657,11 @@ var TransactionAmountId = createBrandedSchemaId("".concat(TransactionAmountPrefi
|
|
|
2650
2657
|
var ScenarioId = createBrandedSchemaId("".concat(ScenarioPrefix, "_"));
|
|
2651
2658
|
var ListId = createBrandedSchemaId("".concat(ListPrefix, "_"));
|
|
2652
2659
|
var QueryId = createBrandedSchemaId("".concat(QueryPrefix, "_"));
|
|
2653
|
-
|
|
2654
|
-
|
|
2660
|
+
|
|
2661
|
+
// Workflows api
|
|
2662
|
+
var WorkflowSessionId = UuidString;
|
|
2663
|
+
var WorkflowSessionAttributeId = createBrandedSchemaId("".concat(WorkflowSessionAttributePrefix, "_"));
|
|
2664
|
+
var generateId = function generateId(type) {
|
|
2655
2665
|
return "".concat(type, "_").concat(nanoid(12));
|
|
2656
2666
|
};
|
|
2657
2667
|
var MemberId = z.string();
|
|
@@ -2947,6 +2957,7 @@ var ComplianceImplementationStepsInput = z.object({
|
|
|
2947
2957
|
/////////////
|
|
2948
2958
|
|
|
2949
2959
|
var TxAuthInput = z.object({
|
|
2960
|
+
workflowId: WorkflowId.optional(),
|
|
2950
2961
|
chainId: EvmChainId,
|
|
2951
2962
|
contractAbi: z.array(z.record(z.unknown())),
|
|
2952
2963
|
contractAddress: AddressSchema,
|
|
@@ -2978,6 +2989,7 @@ var GetTxAuthDataSignatureResponse = z.union([z.object({
|
|
|
2978
2989
|
/////////////
|
|
2979
2990
|
|
|
2980
2991
|
var TezosTxAuthInput = z.object({
|
|
2992
|
+
workflowId: WorkflowId.optional(),
|
|
2981
2993
|
chainID: TezosChainId,
|
|
2982
2994
|
contractAddress: TezosContractAddress,
|
|
2983
2995
|
functionName: TezosEntrypointName,
|
|
@@ -3014,11 +3026,6 @@ var ExtendedTezosTxAuthInput = TezosTxAuthInput.and(z.object({
|
|
|
3014
3026
|
namespace: z.literal(BlockchainNamespace.Enum.tezos),
|
|
3015
3027
|
userAddress: TezosImplicitAddress
|
|
3016
3028
|
}));
|
|
3017
|
-
var AnyTxAuthInput = z.union([ExtendedTxAuthInput, ExtendedTezosTxAuthInput]);
|
|
3018
|
-
var AnyTxAuthInputJsSdk = z.object({
|
|
3019
|
-
workflowId: z.string().uuid(),
|
|
3020
|
-
txAuthInput: AnyTxAuthInput
|
|
3021
|
-
});
|
|
3022
3029
|
var ExtendedTxAuthDataSignatureResponse = GetTxAuthDataSignatureResponse.and(z.object({
|
|
3023
3030
|
namespace: z.literal(BlockchainNamespace.Enum.eip155),
|
|
3024
3031
|
userAddress: AddressSchema
|
|
@@ -3028,6 +3035,17 @@ var ExtendedTezosTxAuthDataSignatureResponse = GetTezosTxAuthDataSignatureRespon
|
|
|
3028
3035
|
userAddress: TezosImplicitAddress
|
|
3029
3036
|
}));
|
|
3030
3037
|
var AnyTxAuthDataSignatureResponse = z.union([ExtendedTxAuthDataSignatureResponse, ExtendedTezosTxAuthDataSignatureResponse]);
|
|
3038
|
+
/////////////
|
|
3039
|
+
// JS SDK //
|
|
3040
|
+
/////////////
|
|
3041
|
+
|
|
3042
|
+
var Eip155TxAuthInputJsSdk = ExtendedTxAuthInput.and(z.object({
|
|
3043
|
+
workflowId: WorkflowId
|
|
3044
|
+
}));
|
|
3045
|
+
var TezosTxAuthInputJsSdk = ExtendedTezosTxAuthInput.and(z.object({
|
|
3046
|
+
workflowId: WorkflowId
|
|
3047
|
+
}));
|
|
3048
|
+
var AnyTxAuthInputJsSdk = z.union([Eip155TxAuthInputJsSdk, TezosTxAuthInputJsSdk]);
|
|
3031
3049
|
|
|
3032
3050
|
var SimplifiedCredential = z.object({
|
|
3033
3051
|
id: z.string(),
|
|
@@ -3317,7 +3335,7 @@ var WalletSignResponse = z.object({
|
|
|
3317
3335
|
var TxAuthDataSignatureGatingRequest = z.object({
|
|
3318
3336
|
type: z.literal("txAuthDataSignatureGatingRequest"),
|
|
3319
3337
|
data: z.object({
|
|
3320
|
-
input:
|
|
3338
|
+
input: AnyTxAuthInputJsSdk
|
|
3321
3339
|
})
|
|
3322
3340
|
});
|
|
3323
3341
|
var GetCustomerStatusRequest = z.object({
|
|
@@ -3356,11 +3374,17 @@ var TxAuthDataSignatureResponse = z.object({
|
|
|
3356
3374
|
type: z.literal("txAuthDataSignatureResponse"),
|
|
3357
3375
|
data: AnyTxAuthDataSignatureResponse
|
|
3358
3376
|
});
|
|
3377
|
+
var TxAuthDataSignatureGatingError = z.object({
|
|
3378
|
+
type: z.literal("txAuthDataSignatureGatingError"),
|
|
3379
|
+
data: z.object({
|
|
3380
|
+
error: z.string()
|
|
3381
|
+
})
|
|
3382
|
+
});
|
|
3359
3383
|
var GetCustomerStatusResponse = z.object({
|
|
3360
3384
|
type: z.literal("getCustomerStatusResponse"),
|
|
3361
3385
|
data: z.union([CustomerStatus, z["null"]()])
|
|
3362
3386
|
});
|
|
3363
|
-
var IdentityAppMessage = z.union([IdentityAppLoadedNotification, IdentityAppConfiguredNotification, AuthenticationExpiredNotification, WalletSignRequest, TxAuthDataSignatureResponse, GetCustomerStatusResponse,
|
|
3387
|
+
var IdentityAppMessage = z.union([IdentityAppLoadedNotification, IdentityAppConfiguredNotification, AuthenticationExpiredNotification, WalletSignRequest, TxAuthDataSignatureResponse, TxAuthDataSignatureGatingError, GetCustomerStatusResponse,
|
|
3364
3388
|
// `identifier` is a technical detail that should not be exposed to the app
|
|
3365
3389
|
KycCompletionNotification.omit({
|
|
3366
3390
|
identifier: true
|
|
@@ -3458,4 +3482,4 @@ var VerifyWalletChallengeRequest = WalletSignatureResponse.and(z.object({
|
|
|
3458
3482
|
blockchainId: BlockchainId.optional()
|
|
3459
3483
|
}));
|
|
3460
3484
|
|
|
3461
|
-
export { ACTIVE_POLKADOT_CHAIN_IDS as $, ACTIVE_EVM_CHAIN_VALUES as A, BlockchainId as B, CredentialTypes as C, SOLANA_CHAIN_IDS as D, EVM_BLOCK_TIME as E, ACTIVE_SOLANA_CHAIN_IDS as F, SolanaChainId as G, NEXERA_BITCOIN_CHAINS as H, BITCOIN_CHAIN_NAMES as I, BITCOIN_CHAIN_NAMES_LIST as J, BITCOIN_CHAIN_IDS as K, ACTIVE_BITCOIN_CHAIN_IDS as L, BitcoinChainId as M, NonTestnetBlockchainId as N, NEXERA_APTOS_CHAINS as O, POLYGON_NETWORK_NAMES as P, APTOS_CHAIN_NAMES as Q, APTOS_CHAIN_NAMES_LIST as R, StarknetChainId as S, TezosChainId as T, APTOS_CHAIN_IDS as U, ACTIVE_APTOS_CHAIN_IDS as V, AptosChainId as W, NEXERA_POLKADOT_CHAINS as X, POLKADOT_CHAIN_NAMES as Y, POLKADOT_CHAIN_NAMES_LIST as Z, POLKADOT_CHAIN_IDS as _, NEXERA_EVM_CHAINS as a, countryISO2toISO3Mapping as a$, PolkadotChainId as a0, NEXERA_CARDANO_CHAINS as a1, CARDANO_CHAIN_NAMES as a2, CARDANO_CHAIN_NAMES_LIST as a3, CARDANO_CHAIN_IDS as a4, ACTIVE_CARDANO_CHAIN_IDS as a5, CardanoChainId as a6, isValidAddress as a7, PrivateKey as a8, PublicKey as a9, DISPLAYED_BLOCKCHAIN_NAMESPACES as aA, DisplayedBlockchainNamespace as aB, BLOCKCHAIN_NAME_TO_NAMESPACE as aC, BLOCKCHAIN_NAMESPACE_TO_NAME as aD, EIP155Signature as aE, AptosSignature as aF, StarknetSignature as aG, PolkadotSignature as aH, CosmosSignature as aI, EdSignature as aJ, SpSignature as aK, P2Signature as aL, TezosSignature as aM, CardanoSignature as aN, BlockchainSignature as aO, FunctionCallData as aP, TezosEntrypointName as aQ, ENVS as aR, EnvironmentSchema as aS, UuidString as aT, OtpCode as aU, PUBLIC_SERVICES_SCHEMA_MAP as aV, IpAddress as aW, ISO3CountryCode as aX, ALPHA_2_COUNTRIES as aY, Alpha2Country as aZ, countryISO3toISO2Mapping as a_, AddressSchema as aa, TxHash as ab, shortBlockchainAddress as ac, AptosAddress as ad, StarknetAddress as ae, PolkadotAddress as af, CosmosAddress as ag, TezosImplicitAddress as ah, TezosContractAddress as ai, TezosAddress as aj, CardanoAddress as ak, BitcoinP2PKHAddress as al, BitcoinP2SHAddress as am, BitcoinBech32Address as an, BitcoinTestnetP2PKHAddress as ao, BitcoinTestnetP2SHAddress as ap, BitcoinTestnetBech32Address as aq, BitcoinAddress as ar, BlockchainAddress as as, String0x as at, HexadecimalSchema as au, BLOCKCHAIN_NAMESPACES as av, BlockchainNamespace as aw, SUPPORTED_BLOCKCHAIN_NAMESPACES_FOR_SIGNATURE_AUTH as ax, SupportedBlockchainNamespaceForSignatureAuth as ay, BLOCKCHAIN_NAMESPACES_NAMES as az, NEXERA_EVM_CHAIN_NAMES as b, TransactionInfosId as b$, isoCountriesNameFromISO2 as b0, parseISO3CountryCode as b1, RiskScoreTypes as b2, RiskScoreType as b3, CustomerTypes as b4, CustomerType as b5, KycOnboardingLevels as b6, KycOnboardingLevel as b7, KybOnboardingLevels as b8, KybOnboardingLevel as b9, TransactionExtractedInfosPrefix as bA, TransactionMethodsPrefix as bB, TransactionMethodExtractedInfosPrefix as bC, InstitutionPrefix as bD, InstitutionExtractedInfosPrefix as bE, TransactionAmountPrefix as bF, ScenarioPrefix as bG, ListPrefix as bH, QueryPrefix as bI, ActionPrefix as bJ, createBrandedSchemaId as bK, StorageId as bL, IdentityId as bM, EmailId as bN, WalletId as bO, AppId as bP, ChallengeId as bQ, TestId as bR, CustomerScreeningId as bS, TagId as bT, ActionId as bU, TagsToTransactionReviewsId as bV, TransactionAddressesId as bW, TransactionId as bX, TransactionFeesId as bY, TransactionReviewId as bZ, TransactionPartiesId as b_, CustomerOnboardingLevels as ba, CustomerOnboardingLevel as bb, CustomerStatuses as bc, CustomerStatus as bd, BasicCustomerContactInformation as be, CUSTOMERS_CHARTS as bf, CustomersChartType as bg, CUSTOMER_TABLE_COLUMNS as bh, CustomerTableColumn as bi, CUSTOMER_AUTOMATION_REASONS as bj, StoragePrefix as bk, IdentityPrefix as bl, EmailPrefix as bm, WalletPrefix as bn, AppPrefix as bo, ChallengePrefix as bp, TestPrefix as bq, CustomerScreeningPrefix as br, TagPrefix as bs, TagsToTransactionReviewsPrefix as bt, TransactionAddressesPrefix as bu, TransactionPrefix as bv, TransactionFeesPrefix as bw, TransactionReviewPrefix as bx, TransactionPartiesPrefix as by, TransactionInfosPrefix as bz, NEXERA_EVM_CHAIN_NAMES_LIST as c, PolygonIdResponse as c$, TransactionExtractedInfosId as c0, TransactionMethodsId as c1, TransactionMethodExtractedInfosId as c2, InstitutionId as c3, InstitutionExtractedInfosId as c4, TransactionAmountId as c5, ScenarioId as c6, ListId as c7, QueryId as c8, generateId as c9, TransactionResponse as cA, HostResponseMessage as cB, ScenarioTypes as cC, ScenarioType as cD, BaseQueryResponse as cE, OffChainZKPRuleResult as cF, ExecuteQueryResponse as cG, RuleEngineResponse as cH, ScenarioExecutionResponse as cI, RuleResultStatuses as cJ, RuleResultStatus as cK, RuleResultStatusLabels as cL, SdkVerificationOutput as cM, VerificationSessionStatuses as cN, VerificationSessionStatus as cO, VerificationOutput as cP, Scenario as cQ, AbbreviatedWorkflowScenario as cR, TemplateScenario as cS, CreateTemplateScenario as cT, ComplianceImplementationStepsInput as cU, SimplifiedCredential as cV, GetCredentialsRequest as cW, GetCredentialsResponse as cX, PolygonIdRequestData as cY, PolygonIdRequest as cZ, PolygonIdResponseData as c_, MemberId as ca, ScenarioAuthorizationData as cb, SdkVerificationResponseSchema as cc, CloseScreenNotification as cd, KycCompletionData as ce, KycCompletionNotification as cf, RuleEngineScenarioExecutionData as cg, OffChainScenarioExecutionData as ch, OnChainScenarioExecutionData as ci, ScenarioExecutionData as cj, ScenarioExecutionNotification as ck, IsVerifiedNotification as cl, PolygonIdInitialized as cm, OcvSdkInitialized as cn, StartCompletedNotification as co, IdentityNotificationMessage as cp, InitialDataRequest as cq, SignatureRequest as cr, TransactionData as cs, SendTransactionRequest as ct, IdentityRequestMessage as cu, AVAILABLE_FLOWS as cv, AvailableFlow as cw, DataAvailableOnStart as cx, InitialDataResponse as cy, SignatureResponse as cz, NEXERA_EVM_CHAINS_ID as d, IDInformation as d$, StartFlowRequest as d0, IsVerifiedRequest as d1, IsVerifiedResponse as d2, GetTxAuthSigRequest as d3, GetTxAuthSigResponse as d4, GetTxAuthSigRequestTezos as d5, GetTxAuthSigResponseTezos as d6, HostRequestMessage as d7, IdentityResponseMessage as d8, GenerateWalletChallengeRequest as d9, ProofData as dA, ZeroKnowledgeProofResponse as dB, AuthorizationResponseMessage as dC, CredentialQrCodeData as dD, AuthQrCodeData as dE, QrCodeLinkWithSchemaType as dF, parseIden3Message as dG, parseSessionIdFromUrl as dH, AllCredentialAttributes as dI, AllCredentialValues as dJ, OPERATORS as dK, Operator as dL, ZKPOperator as dM, operatorDisplayMap as dN, ARRAY_OPERATORS as dO, ArrayOperator as dP, STRING_OPERATORS as dQ, StringOperator as dR, NUMERIC_OPERATORS as dS, NumericOperator as dT, BOOLEAN_OPERATORS as dU, BooleanOperator as dV, DATE_OPERATORS as dW, DateOperator as dX, SUPPORTED_TYPES as dY, SupportedType as dZ, SupportedTypes as d_, AuthSession as da, AuthSessionData as db, ChallengeResponse as dc, WalletSignResponse as dd, TxAuthDataSignatureGatingRequest as de, GetCustomerStatusRequest as df, IdentitySdkMessage as dg, IdentitySdkMessageWithIdentifier as dh, TxAuthDataSignatureResponse as di, GetCustomerStatusResponse as dj, IdentityAppMessage as dk, IdentityWallet as dl, HostMessage as dm, IdentityMessage as dn, RequiredDataRowSchema as dp, RequiredVerificationData as dq, MediaType as dr, MediaTypePID as ds, CIRCUIT_IDS as dt, CircuitId as du, ZeroKnowledgeProofRequest as dv, AUTHORIZATION_REQUEST_MESSAGE_TYPES as dw, AuthorizationRequestMessageTypes as dx, AuthorizationRequestMessageType as dy, AuthorizationRequestMessage as dz, NexeraEvmChains as e, IdentityAppV2Web3JWT as e$, QueryConfig as e0, QueryType as e1, QueryConfigSimplified as e2, PartialQueryConfigSimplified as e3, QueryConfigSimplifiedParsed as e4, QueryConfiguration as e5, NonParsedQueryConfiguration as e6, CreateQueryConfigurationInput as e7, CreateQueryConfigurationResponse as e8, UpdateQueryConfigurationInput as e9, ZKPRequest as eA, ZKPRequestFromZKVerifier as eB, OffChainZKP as eC, CreateAuthRequestProps as eD, AllScenarioExecutionAuthorizationData as eE, SCENARIO_AUTHORIZATION_STATUSES as eF, ScenarioAuthorizationStatus as eG, WalletSignatureResponse as eH, VerifyWalletChallengeRequest as eI, FLOW_TYPES as eJ, FlowType as eK, VerificationModes as eL, VerificationMode as eM, IDENTITY_DOCUMENT_COUNTRY_LIST_OPTIONS as eN, IdentityDocumentCountryListOption as eO, IDENTITY_DOCUMENT_OPTIONS as eP, IdentityDocumentOptionsType as eQ, PERSONAL_INFORMATION_FIELDS as eR, PersonalInformationFieldsIdentityDocuments as eS, Identifier as eT, AdditionalCustomerInformationParams as eU, OrganizationId as eV, WorkspaceId as eW, WorkflowId as eX, CustomerId as eY, IdentityWidgetAccessToken as eZ, ExternalCustomerId as e_, UpdateQueryConfigurationResponse as ea, DeleteQueryConfigurationInput as eb, DeleteQueryConfigurationResponse as ec, QueryCredentialTypes as ed, QueryCredentialType as ee, ChallengeQuerySchema as ef, CHALLENGE_QUERY_OPERATORS as eg, ChallengeQueryOperator as eh, OperatorMappings as ei, OperatorToChallengeQueryOperator as ej, ChallengeQueryOperatorToOperator as ek, TxAuthInput as el, ApiTxAuthInput as em, TxSignatureResponse as en, GetTxAuthDataSignatureResponse as eo, TezosTxAuthInput as ep, ApiTezosTxAuthInput as eq, TezosTxSignatureResponse as er, GetTezosTxAuthDataSignatureResponse as es, ExtendedTxAuthInput as et, ExtendedTezosTxAuthInput as eu, AnyTxAuthInput as ev, AnyTxAuthInputJsSdk as ew, ExtendedTxAuthDataSignatureResponse as ex, ExtendedTezosTxAuthDataSignatureResponse as ey, AnyTxAuthDataSignatureResponse as ez, EVM_CHAINS_WITHOUT_DEDICATED_NODE_RPC as f, IdentityAppV2Web2JWT as f0, IdentityWidgetAccessToken_NEW as f1, IdentityWidgetSessionToken as f2, Web2CreateSessionParams as f3, ID3CredentialSubjectSchema as f4, IDScanCredentialSubjectSchema as f5, IDScanPassportCredentialSubjectSchema as f6, IDScanSelfieCredentialSubjectSchema as f7, OLD_IDImageCredentialSubjectSchema as f8, OLD_IDInformationCredentialSubjectSchema as f9, OLD_ProofOfResidenceCredentialSubjectSchema as fa, OLD_SelfieImageCredentialSubjectSchema as fb, OLD_AMLScreeningsResultsCredentialSubjectSchema as fc, IDInformationCredentialSubjectSchema as fd, IDImageCredentialSubjectSchema as fe, SelfieImageCredentialSubjectSchema as ff, ProofOfResidenceCredentialSubjectSchema as fg, GenericVerifiableCredentialSchema as fh, CredentialSchemas as fi, CredentialNames as fj, NexeraCredentialType as fk, getCredentialName as fl, CredentialType as fm, VerifiableCredential as fn, CredentialMediaType as fo, _toConsumableArray as fp, _toArray as fq, _arrayWithHoles as fr, _unsupportedIterableToArray as fs, _nonIterableRest as ft, _defineProperty as fu, EvmChainId as g, NEXERA_COSMOS_CHAINS as h, COSMOS_CHAIN_NAMES as i, COSMOS_CHAIN_NAMES_LIST as j, COSMOS_CHAIN_IDS as k, ACTIVE_COSMOS_CHAIN_IDS as l, CosmosChainId as m, NEXERA_TEZOS_CHAINS as n, NEXERA_TEZOS_CHAIN_NAMES as o, NEXERA_TEZOS_CHAIN_NAMES_LIST as p, NEXERA_TEZOS_CHAIN_IDS as q, ACTIVE_TEZOS_CHAIN_IDS as r, PolygonNetworkNames as s, NEXERA_STARKNET_CHAINS as t, NEXERA_STARKNET_CHAIN_NAMES as u, NEXERA_STARKNET_CHAIN_IDS as v, NEXERA_ACTIVE_STARKNET_CHAIN_IDS as w, NEXERA_SOLANA_CHAINS as x, SOLANA_CHAIN_NAMES as y, SOLANA_CHAIN_NAMES_LIST as z };
|
|
3485
|
+
export { ACTIVE_POLKADOT_CHAIN_IDS as $, ACTIVE_EVM_CHAIN_VALUES as A, BlockchainId as B, CredentialTypes as C, SOLANA_CHAIN_IDS as D, EVM_BLOCK_TIME as E, ACTIVE_SOLANA_CHAIN_IDS as F, SolanaChainId as G, NEXERA_BITCOIN_CHAINS as H, BITCOIN_CHAIN_NAMES as I, BITCOIN_CHAIN_NAMES_LIST as J, BITCOIN_CHAIN_IDS as K, ACTIVE_BITCOIN_CHAIN_IDS as L, BitcoinChainId as M, NonTestnetBlockchainId as N, NEXERA_APTOS_CHAINS as O, POLYGON_NETWORK_NAMES as P, APTOS_CHAIN_NAMES as Q, APTOS_CHAIN_NAMES_LIST as R, StarknetChainId as S, TezosChainId as T, APTOS_CHAIN_IDS as U, ACTIVE_APTOS_CHAIN_IDS as V, AptosChainId as W, NEXERA_POLKADOT_CHAINS as X, POLKADOT_CHAIN_NAMES as Y, POLKADOT_CHAIN_NAMES_LIST as Z, POLKADOT_CHAIN_IDS as _, NEXERA_EVM_CHAINS as a, countryISO2toISO3Mapping as a$, PolkadotChainId as a0, NEXERA_CARDANO_CHAINS as a1, CARDANO_CHAIN_NAMES as a2, CARDANO_CHAIN_NAMES_LIST as a3, CARDANO_CHAIN_IDS as a4, ACTIVE_CARDANO_CHAIN_IDS as a5, CardanoChainId as a6, isValidAddress as a7, PrivateKey as a8, PublicKey as a9, DISPLAYED_BLOCKCHAIN_NAMESPACES as aA, DisplayedBlockchainNamespace as aB, BLOCKCHAIN_NAME_TO_NAMESPACE as aC, BLOCKCHAIN_NAMESPACE_TO_NAME as aD, EIP155Signature as aE, AptosSignature as aF, StarknetSignature as aG, PolkadotSignature as aH, CosmosSignature as aI, EdSignature as aJ, SpSignature as aK, P2Signature as aL, TezosSignature as aM, CardanoSignature as aN, BlockchainSignature as aO, FunctionCallData as aP, TezosEntrypointName as aQ, ENVS as aR, EnvironmentSchema as aS, UuidString as aT, OtpCode as aU, PUBLIC_SERVICES_SCHEMA_MAP as aV, IpAddress as aW, ISO3CountryCode as aX, ALPHA_2_COUNTRIES as aY, Alpha2Country as aZ, countryISO3toISO2Mapping as a_, AddressSchema as aa, TxHash as ab, shortBlockchainAddress as ac, AptosAddress as ad, StarknetAddress as ae, PolkadotAddress as af, CosmosAddress as ag, TezosImplicitAddress as ah, TezosContractAddress as ai, TezosAddress as aj, CardanoAddress as ak, BitcoinP2PKHAddress as al, BitcoinP2SHAddress as am, BitcoinBech32Address as an, BitcoinTestnetP2PKHAddress as ao, BitcoinTestnetP2SHAddress as ap, BitcoinTestnetBech32Address as aq, BitcoinAddress as ar, BlockchainAddress as as, String0x as at, HexadecimalSchema as au, BLOCKCHAIN_NAMESPACES as av, BlockchainNamespace as aw, SUPPORTED_BLOCKCHAIN_NAMESPACES_FOR_SIGNATURE_AUTH as ax, SupportedBlockchainNamespaceForSignatureAuth as ay, BLOCKCHAIN_NAMESPACES_NAMES as az, NEXERA_EVM_CHAIN_NAMES as b, TransactionPartiesId as b$, isoCountriesNameFromISO2 as b0, parseISO3CountryCode as b1, RiskScoreTypes as b2, RiskScoreType as b3, CustomerTypes as b4, CustomerType as b5, KycOnboardingLevels as b6, KycOnboardingLevel as b7, KybOnboardingLevels as b8, KybOnboardingLevel as b9, TransactionExtractedInfosPrefix as bA, TransactionMethodsPrefix as bB, TransactionMethodExtractedInfosPrefix as bC, InstitutionPrefix as bD, InstitutionExtractedInfosPrefix as bE, TransactionAmountPrefix as bF, ScenarioPrefix as bG, ListPrefix as bH, QueryPrefix as bI, ActionPrefix as bJ, WorkflowSessionAttributePrefix as bK, createBrandedSchemaId as bL, StorageId as bM, IdentityId as bN, EmailId as bO, WalletId as bP, AppId as bQ, ChallengeId as bR, TestId as bS, CustomerScreeningId as bT, TagId as bU, ActionId as bV, TagsToTransactionReviewsId as bW, TransactionAddressesId as bX, TransactionId as bY, TransactionFeesId as bZ, TransactionReviewId as b_, CustomerOnboardingLevels as ba, CustomerOnboardingLevel as bb, CustomerStatuses as bc, CustomerStatus as bd, BasicCustomerContactInformation as be, CUSTOMERS_CHARTS as bf, CustomersChartType as bg, CUSTOMER_TABLE_COLUMNS as bh, CustomerTableColumn as bi, CUSTOMER_AUTOMATION_REASONS as bj, StoragePrefix as bk, IdentityPrefix as bl, EmailPrefix as bm, WalletPrefix as bn, AppPrefix as bo, ChallengePrefix as bp, TestPrefix as bq, CustomerScreeningPrefix as br, TagPrefix as bs, TagsToTransactionReviewsPrefix as bt, TransactionAddressesPrefix as bu, TransactionPrefix as bv, TransactionFeesPrefix as bw, TransactionReviewPrefix as bx, TransactionPartiesPrefix as by, TransactionInfosPrefix as bz, NEXERA_EVM_CHAIN_NAMES_LIST as c, PolygonIdRequestData as c$, TransactionInfosId as c0, TransactionExtractedInfosId as c1, TransactionMethodsId as c2, TransactionMethodExtractedInfosId as c3, InstitutionId as c4, InstitutionExtractedInfosId as c5, TransactionAmountId as c6, ScenarioId as c7, ListId as c8, QueryId as c9, DataAvailableOnStart as cA, InitialDataResponse as cB, SignatureResponse as cC, TransactionResponse as cD, HostResponseMessage as cE, ScenarioTypes as cF, ScenarioType as cG, BaseQueryResponse as cH, OffChainZKPRuleResult as cI, ExecuteQueryResponse as cJ, RuleEngineResponse as cK, ScenarioExecutionResponse as cL, RuleResultStatuses as cM, RuleResultStatus as cN, RuleResultStatusLabels as cO, SdkVerificationOutput as cP, VerificationSessionStatuses as cQ, VerificationSessionStatus as cR, VerificationOutput as cS, Scenario as cT, AbbreviatedWorkflowScenario as cU, TemplateScenario as cV, CreateTemplateScenario as cW, ComplianceImplementationStepsInput as cX, SimplifiedCredential as cY, GetCredentialsRequest as cZ, GetCredentialsResponse as c_, WorkflowSessionId as ca, WorkflowSessionAttributeId as cb, generateId as cc, MemberId as cd, ScenarioAuthorizationData as ce, SdkVerificationResponseSchema as cf, CloseScreenNotification as cg, KycCompletionData as ch, KycCompletionNotification as ci, RuleEngineScenarioExecutionData as cj, OffChainScenarioExecutionData as ck, OnChainScenarioExecutionData as cl, ScenarioExecutionData as cm, ScenarioExecutionNotification as cn, IsVerifiedNotification as co, PolygonIdInitialized as cp, OcvSdkInitialized as cq, StartCompletedNotification as cr, IdentityNotificationMessage as cs, InitialDataRequest as ct, SignatureRequest as cu, TransactionData as cv, SendTransactionRequest as cw, IdentityRequestMessage as cx, AVAILABLE_FLOWS as cy, AvailableFlow as cz, NEXERA_EVM_CHAINS_ID as d, DateOperator as d$, PolygonIdRequest as d0, PolygonIdResponseData as d1, PolygonIdResponse as d2, StartFlowRequest as d3, IsVerifiedRequest as d4, IsVerifiedResponse as d5, GetTxAuthSigRequest as d6, GetTxAuthSigResponse as d7, GetTxAuthSigRequestTezos as d8, GetTxAuthSigResponseTezos as d9, AUTHORIZATION_REQUEST_MESSAGE_TYPES as dA, AuthorizationRequestMessageTypes as dB, AuthorizationRequestMessageType as dC, AuthorizationRequestMessage as dD, ProofData as dE, ZeroKnowledgeProofResponse as dF, AuthorizationResponseMessage as dG, CredentialQrCodeData as dH, AuthQrCodeData as dI, QrCodeLinkWithSchemaType as dJ, parseIden3Message as dK, parseSessionIdFromUrl as dL, AllCredentialAttributes as dM, AllCredentialValues as dN, OPERATORS as dO, Operator as dP, ZKPOperator as dQ, operatorDisplayMap as dR, ARRAY_OPERATORS as dS, ArrayOperator as dT, STRING_OPERATORS as dU, StringOperator as dV, NUMERIC_OPERATORS as dW, NumericOperator as dX, BOOLEAN_OPERATORS as dY, BooleanOperator as dZ, DATE_OPERATORS as d_, HostRequestMessage as da, IdentityResponseMessage as db, GenerateWalletChallengeRequest as dc, AuthSession as dd, AuthSessionData as de, ChallengeResponse as df, WalletSignResponse as dg, TxAuthDataSignatureGatingRequest as dh, GetCustomerStatusRequest as di, IdentitySdkMessage as dj, IdentitySdkMessageWithIdentifier as dk, TxAuthDataSignatureResponse as dl, TxAuthDataSignatureGatingError as dm, GetCustomerStatusResponse as dn, IdentityAppMessage as dp, IdentityWallet as dq, HostMessage as dr, IdentityMessage as ds, RequiredDataRowSchema as dt, RequiredVerificationData as du, MediaType as dv, MediaTypePID as dw, CIRCUIT_IDS as dx, CircuitId as dy, ZeroKnowledgeProofRequest as dz, NexeraEvmChains as e, WorkspaceId as e$, SUPPORTED_TYPES as e0, SupportedType as e1, SupportedTypes as e2, IDInformation as e3, QueryConfig as e4, QueryType as e5, QueryConfigSimplified as e6, PartialQueryConfigSimplified as e7, QueryConfigSimplifiedParsed as e8, QueryConfiguration as e9, ExtendedTezosTxAuthDataSignatureResponse as eA, AnyTxAuthDataSignatureResponse as eB, Eip155TxAuthInputJsSdk as eC, TezosTxAuthInputJsSdk as eD, AnyTxAuthInputJsSdk as eE, ZKPRequest as eF, ZKPRequestFromZKVerifier as eG, OffChainZKP as eH, CreateAuthRequestProps as eI, AllScenarioExecutionAuthorizationData as eJ, SCENARIO_AUTHORIZATION_STATUSES as eK, ScenarioAuthorizationStatus as eL, WalletSignatureResponse as eM, VerifyWalletChallengeRequest as eN, FLOW_TYPES as eO, FlowType as eP, VerificationModes as eQ, VerificationMode as eR, IDENTITY_DOCUMENT_COUNTRY_LIST_OPTIONS as eS, IdentityDocumentCountryListOption as eT, IDENTITY_DOCUMENT_OPTIONS as eU, IdentityDocumentOptionsType as eV, PERSONAL_INFORMATION_FIELDS as eW, PersonalInformationFieldsIdentityDocuments as eX, Identifier as eY, AdditionalCustomerInformationParams as eZ, OrganizationId as e_, NonParsedQueryConfiguration as ea, CreateQueryConfigurationInput as eb, CreateQueryConfigurationResponse as ec, UpdateQueryConfigurationInput as ed, UpdateQueryConfigurationResponse as ee, DeleteQueryConfigurationInput as ef, DeleteQueryConfigurationResponse as eg, QueryCredentialTypes as eh, QueryCredentialType as ei, ChallengeQuerySchema as ej, CHALLENGE_QUERY_OPERATORS as ek, ChallengeQueryOperator as el, OperatorMappings as em, OperatorToChallengeQueryOperator as en, ChallengeQueryOperatorToOperator as eo, TxAuthInput as ep, ApiTxAuthInput as eq, TxSignatureResponse as er, GetTxAuthDataSignatureResponse as es, TezosTxAuthInput as et, ApiTezosTxAuthInput as eu, TezosTxSignatureResponse as ev, GetTezosTxAuthDataSignatureResponse as ew, ExtendedTxAuthInput as ex, ExtendedTezosTxAuthInput as ey, ExtendedTxAuthDataSignatureResponse as ez, EVM_CHAINS_WITHOUT_DEDICATED_NODE_RPC as f, WorkflowId as f0, CustomerId as f1, IdentityWidgetAccessToken as f2, ExternalCustomerId as f3, IdentityAppV2Web3JWT as f4, IdentityAppV2Web2JWT as f5, IdentityWidgetAccessToken_NEW as f6, IdentityWidgetSessionToken as f7, Web2CreateSessionParams as f8, ID3CredentialSubjectSchema as f9, IDScanCredentialSubjectSchema as fa, IDScanPassportCredentialSubjectSchema as fb, IDScanSelfieCredentialSubjectSchema as fc, OLD_IDImageCredentialSubjectSchema as fd, OLD_IDInformationCredentialSubjectSchema as fe, OLD_ProofOfResidenceCredentialSubjectSchema as ff, OLD_SelfieImageCredentialSubjectSchema as fg, OLD_AMLScreeningsResultsCredentialSubjectSchema as fh, IDInformationCredentialSubjectSchema as fi, IDImageCredentialSubjectSchema as fj, SelfieImageCredentialSubjectSchema as fk, ProofOfResidenceCredentialSubjectSchema as fl, GenericVerifiableCredentialSchema as fm, CredentialSchemas as fn, CredentialNames as fo, NexeraCredentialType as fp, getCredentialName as fq, CredentialType as fr, VerifiableCredential as fs, CredentialMediaType as ft, _toConsumableArray as fu, _toArray as fv, _arrayWithHoles as fw, _unsupportedIterableToArray as fx, _nonIterableRest as fy, _defineProperty as fz, EvmChainId as g, NEXERA_COSMOS_CHAINS as h, COSMOS_CHAIN_NAMES as i, COSMOS_CHAIN_NAMES_LIST as j, COSMOS_CHAIN_IDS as k, ACTIVE_COSMOS_CHAIN_IDS as l, CosmosChainId as m, NEXERA_TEZOS_CHAINS as n, NEXERA_TEZOS_CHAIN_NAMES as o, NEXERA_TEZOS_CHAIN_NAMES_LIST as p, NEXERA_TEZOS_CHAIN_IDS as q, ACTIVE_TEZOS_CHAIN_IDS as r, PolygonNetworkNames as s, NEXERA_STARKNET_CHAINS as t, NEXERA_STARKNET_CHAIN_NAMES as u, NEXERA_STARKNET_CHAIN_IDS as v, NEXERA_ACTIVE_STARKNET_CHAIN_IDS as w, NEXERA_SOLANA_CHAINS as x, SOLANA_CHAIN_NAMES as y, SOLANA_CHAIN_NAMES_LIST as z };
|
package/dist/{identity-api.schema-5b5d60ea.cjs.prod.cjs → identity-api.schema-ab731fb2.cjs.prod.cjs}
RENAMED
|
@@ -2601,18 +2601,25 @@ var ListPrefix = "list";
|
|
|
2601
2601
|
var QueryPrefix = "query";
|
|
2602
2602
|
var ActionPrefix = "action";
|
|
2603
2603
|
|
|
2604
|
+
// workflows-api
|
|
2605
|
+
var WorkflowSessionAttributePrefix = "wsatr";
|
|
2606
|
+
|
|
2604
2607
|
// ---
|
|
2605
2608
|
|
|
2606
2609
|
// Add these lines in the type definitions section
|
|
2607
2610
|
|
|
2608
2611
|
// TMS
|
|
2609
2612
|
|
|
2613
|
+
// workflows-api
|
|
2614
|
+
|
|
2610
2615
|
// ---
|
|
2611
2616
|
|
|
2612
2617
|
// TMS
|
|
2613
2618
|
|
|
2614
2619
|
// Scenarios service
|
|
2615
2620
|
|
|
2621
|
+
// Workflows-API
|
|
2622
|
+
|
|
2616
2623
|
var createBrandedSchemaId = function createBrandedSchemaId(brand) {
|
|
2617
2624
|
return zod.z.custom(function (val) {
|
|
2618
2625
|
if (typeof val !== "string") return false;
|
|
@@ -2652,8 +2659,11 @@ var TransactionAmountId = createBrandedSchemaId("".concat(TransactionAmountPrefi
|
|
|
2652
2659
|
var ScenarioId = createBrandedSchemaId("".concat(ScenarioPrefix, "_"));
|
|
2653
2660
|
var ListId = createBrandedSchemaId("".concat(ListPrefix, "_"));
|
|
2654
2661
|
var QueryId = createBrandedSchemaId("".concat(QueryPrefix, "_"));
|
|
2655
|
-
|
|
2656
|
-
|
|
2662
|
+
|
|
2663
|
+
// Workflows api
|
|
2664
|
+
var WorkflowSessionId = UuidString;
|
|
2665
|
+
var WorkflowSessionAttributeId = createBrandedSchemaId("".concat(WorkflowSessionAttributePrefix, "_"));
|
|
2666
|
+
var generateId = function generateId(type) {
|
|
2657
2667
|
return "".concat(type, "_").concat(nanoid.nanoid(12));
|
|
2658
2668
|
};
|
|
2659
2669
|
var MemberId = zod.z.string();
|
|
@@ -2949,6 +2959,7 @@ var ComplianceImplementationStepsInput = zod.z.object({
|
|
|
2949
2959
|
/////////////
|
|
2950
2960
|
|
|
2951
2961
|
var TxAuthInput = zod.z.object({
|
|
2962
|
+
workflowId: WorkflowId.optional(),
|
|
2952
2963
|
chainId: EvmChainId,
|
|
2953
2964
|
contractAbi: zod.z.array(zod.z.record(zod.z.unknown())),
|
|
2954
2965
|
contractAddress: AddressSchema,
|
|
@@ -2980,6 +2991,7 @@ var GetTxAuthDataSignatureResponse = zod.z.union([zod.z.object({
|
|
|
2980
2991
|
/////////////
|
|
2981
2992
|
|
|
2982
2993
|
var TezosTxAuthInput = zod.z.object({
|
|
2994
|
+
workflowId: WorkflowId.optional(),
|
|
2983
2995
|
chainID: TezosChainId,
|
|
2984
2996
|
contractAddress: TezosContractAddress,
|
|
2985
2997
|
functionName: TezosEntrypointName,
|
|
@@ -3016,11 +3028,6 @@ var ExtendedTezosTxAuthInput = TezosTxAuthInput.and(zod.z.object({
|
|
|
3016
3028
|
namespace: zod.z.literal(BlockchainNamespace.Enum.tezos),
|
|
3017
3029
|
userAddress: TezosImplicitAddress
|
|
3018
3030
|
}));
|
|
3019
|
-
var AnyTxAuthInput = zod.z.union([ExtendedTxAuthInput, ExtendedTezosTxAuthInput]);
|
|
3020
|
-
var AnyTxAuthInputJsSdk = zod.z.object({
|
|
3021
|
-
workflowId: zod.z.string().uuid(),
|
|
3022
|
-
txAuthInput: AnyTxAuthInput
|
|
3023
|
-
});
|
|
3024
3031
|
var ExtendedTxAuthDataSignatureResponse = GetTxAuthDataSignatureResponse.and(zod.z.object({
|
|
3025
3032
|
namespace: zod.z.literal(BlockchainNamespace.Enum.eip155),
|
|
3026
3033
|
userAddress: AddressSchema
|
|
@@ -3030,6 +3037,17 @@ var ExtendedTezosTxAuthDataSignatureResponse = GetTezosTxAuthDataSignatureRespon
|
|
|
3030
3037
|
userAddress: TezosImplicitAddress
|
|
3031
3038
|
}));
|
|
3032
3039
|
var AnyTxAuthDataSignatureResponse = zod.z.union([ExtendedTxAuthDataSignatureResponse, ExtendedTezosTxAuthDataSignatureResponse]);
|
|
3040
|
+
/////////////
|
|
3041
|
+
// JS SDK //
|
|
3042
|
+
/////////////
|
|
3043
|
+
|
|
3044
|
+
var Eip155TxAuthInputJsSdk = ExtendedTxAuthInput.and(zod.z.object({
|
|
3045
|
+
workflowId: WorkflowId
|
|
3046
|
+
}));
|
|
3047
|
+
var TezosTxAuthInputJsSdk = ExtendedTezosTxAuthInput.and(zod.z.object({
|
|
3048
|
+
workflowId: WorkflowId
|
|
3049
|
+
}));
|
|
3050
|
+
var AnyTxAuthInputJsSdk = zod.z.union([Eip155TxAuthInputJsSdk, TezosTxAuthInputJsSdk]);
|
|
3033
3051
|
|
|
3034
3052
|
var SimplifiedCredential = zod.z.object({
|
|
3035
3053
|
id: zod.z.string(),
|
|
@@ -3319,7 +3337,7 @@ var WalletSignResponse = zod.z.object({
|
|
|
3319
3337
|
var TxAuthDataSignatureGatingRequest = zod.z.object({
|
|
3320
3338
|
type: zod.z.literal("txAuthDataSignatureGatingRequest"),
|
|
3321
3339
|
data: zod.z.object({
|
|
3322
|
-
input:
|
|
3340
|
+
input: AnyTxAuthInputJsSdk
|
|
3323
3341
|
})
|
|
3324
3342
|
});
|
|
3325
3343
|
var GetCustomerStatusRequest = zod.z.object({
|
|
@@ -3358,11 +3376,17 @@ var TxAuthDataSignatureResponse = zod.z.object({
|
|
|
3358
3376
|
type: zod.z.literal("txAuthDataSignatureResponse"),
|
|
3359
3377
|
data: AnyTxAuthDataSignatureResponse
|
|
3360
3378
|
});
|
|
3379
|
+
var TxAuthDataSignatureGatingError = zod.z.object({
|
|
3380
|
+
type: zod.z.literal("txAuthDataSignatureGatingError"),
|
|
3381
|
+
data: zod.z.object({
|
|
3382
|
+
error: zod.z.string()
|
|
3383
|
+
})
|
|
3384
|
+
});
|
|
3361
3385
|
var GetCustomerStatusResponse = zod.z.object({
|
|
3362
3386
|
type: zod.z.literal("getCustomerStatusResponse"),
|
|
3363
3387
|
data: zod.z.union([CustomerStatus, zod.z["null"]()])
|
|
3364
3388
|
});
|
|
3365
|
-
var IdentityAppMessage = zod.z.union([IdentityAppLoadedNotification, IdentityAppConfiguredNotification, AuthenticationExpiredNotification, WalletSignRequest, TxAuthDataSignatureResponse, GetCustomerStatusResponse,
|
|
3389
|
+
var IdentityAppMessage = zod.z.union([IdentityAppLoadedNotification, IdentityAppConfiguredNotification, AuthenticationExpiredNotification, WalletSignRequest, TxAuthDataSignatureResponse, TxAuthDataSignatureGatingError, GetCustomerStatusResponse,
|
|
3366
3390
|
// `identifier` is a technical detail that should not be exposed to the app
|
|
3367
3391
|
KycCompletionNotification.omit({
|
|
3368
3392
|
identifier: true
|
|
@@ -3485,7 +3509,6 @@ exports.AllCredentialValues = AllCredentialValues;
|
|
|
3485
3509
|
exports.AllScenarioExecutionAuthorizationData = AllScenarioExecutionAuthorizationData;
|
|
3486
3510
|
exports.Alpha2Country = Alpha2Country;
|
|
3487
3511
|
exports.AnyTxAuthDataSignatureResponse = AnyTxAuthDataSignatureResponse;
|
|
3488
|
-
exports.AnyTxAuthInput = AnyTxAuthInput;
|
|
3489
3512
|
exports.AnyTxAuthInputJsSdk = AnyTxAuthInputJsSdk;
|
|
3490
3513
|
exports.ApiTezosTxAuthInput = ApiTezosTxAuthInput;
|
|
3491
3514
|
exports.ApiTxAuthInput = ApiTxAuthInput;
|
|
@@ -3585,6 +3608,7 @@ exports.ENVS = ENVS;
|
|
|
3585
3608
|
exports.EVM_BLOCK_TIME = EVM_BLOCK_TIME;
|
|
3586
3609
|
exports.EVM_CHAINS_WITHOUT_DEDICATED_NODE_RPC = EVM_CHAINS_WITHOUT_DEDICATED_NODE_RPC;
|
|
3587
3610
|
exports.EdSignature = EdSignature;
|
|
3611
|
+
exports.Eip155TxAuthInputJsSdk = Eip155TxAuthInputJsSdk;
|
|
3588
3612
|
exports.EmailId = EmailId;
|
|
3589
3613
|
exports.EmailPrefix = EmailPrefix;
|
|
3590
3614
|
exports.EnvironmentSchema = EnvironmentSchema;
|
|
@@ -3796,6 +3820,7 @@ exports.TezosEntrypointName = TezosEntrypointName;
|
|
|
3796
3820
|
exports.TezosImplicitAddress = TezosImplicitAddress;
|
|
3797
3821
|
exports.TezosSignature = TezosSignature;
|
|
3798
3822
|
exports.TezosTxAuthInput = TezosTxAuthInput;
|
|
3823
|
+
exports.TezosTxAuthInputJsSdk = TezosTxAuthInputJsSdk;
|
|
3799
3824
|
exports.TezosTxSignatureResponse = TezosTxSignatureResponse;
|
|
3800
3825
|
exports.TransactionAddressesId = TransactionAddressesId;
|
|
3801
3826
|
exports.TransactionAddressesPrefix = TransactionAddressesPrefix;
|
|
@@ -3819,6 +3844,7 @@ exports.TransactionPrefix = TransactionPrefix;
|
|
|
3819
3844
|
exports.TransactionResponse = TransactionResponse;
|
|
3820
3845
|
exports.TransactionReviewId = TransactionReviewId;
|
|
3821
3846
|
exports.TransactionReviewPrefix = TransactionReviewPrefix;
|
|
3847
|
+
exports.TxAuthDataSignatureGatingError = TxAuthDataSignatureGatingError;
|
|
3822
3848
|
exports.TxAuthDataSignatureGatingRequest = TxAuthDataSignatureGatingRequest;
|
|
3823
3849
|
exports.TxAuthDataSignatureResponse = TxAuthDataSignatureResponse;
|
|
3824
3850
|
exports.TxAuthInput = TxAuthInput;
|
|
@@ -3840,6 +3866,9 @@ exports.WalletSignResponse = WalletSignResponse;
|
|
|
3840
3866
|
exports.WalletSignatureResponse = WalletSignatureResponse;
|
|
3841
3867
|
exports.Web2CreateSessionParams = Web2CreateSessionParams;
|
|
3842
3868
|
exports.WorkflowId = WorkflowId;
|
|
3869
|
+
exports.WorkflowSessionAttributeId = WorkflowSessionAttributeId;
|
|
3870
|
+
exports.WorkflowSessionAttributePrefix = WorkflowSessionAttributePrefix;
|
|
3871
|
+
exports.WorkflowSessionId = WorkflowSessionId;
|
|
3843
3872
|
exports.WorkspaceId = WorkspaceId;
|
|
3844
3873
|
exports.ZKPOperator = ZKPOperator;
|
|
3845
3874
|
exports.ZKPRequest = ZKPRequest;
|
package/dist/{identity-api.schema-57fbeead.cjs.dev.cjs → identity-api.schema-d2a8b678.cjs.dev.cjs}
RENAMED
|
@@ -2601,18 +2601,25 @@ var ListPrefix = "list";
|
|
|
2601
2601
|
var QueryPrefix = "query";
|
|
2602
2602
|
var ActionPrefix = "action";
|
|
2603
2603
|
|
|
2604
|
+
// workflows-api
|
|
2605
|
+
var WorkflowSessionAttributePrefix = "wsatr";
|
|
2606
|
+
|
|
2604
2607
|
// ---
|
|
2605
2608
|
|
|
2606
2609
|
// Add these lines in the type definitions section
|
|
2607
2610
|
|
|
2608
2611
|
// TMS
|
|
2609
2612
|
|
|
2613
|
+
// workflows-api
|
|
2614
|
+
|
|
2610
2615
|
// ---
|
|
2611
2616
|
|
|
2612
2617
|
// TMS
|
|
2613
2618
|
|
|
2614
2619
|
// Scenarios service
|
|
2615
2620
|
|
|
2621
|
+
// Workflows-API
|
|
2622
|
+
|
|
2616
2623
|
var createBrandedSchemaId = function createBrandedSchemaId(brand) {
|
|
2617
2624
|
return zod.z.custom(function (val) {
|
|
2618
2625
|
if (typeof val !== "string") return false;
|
|
@@ -2652,8 +2659,11 @@ var TransactionAmountId = createBrandedSchemaId("".concat(TransactionAmountPrefi
|
|
|
2652
2659
|
var ScenarioId = createBrandedSchemaId("".concat(ScenarioPrefix, "_"));
|
|
2653
2660
|
var ListId = createBrandedSchemaId("".concat(ListPrefix, "_"));
|
|
2654
2661
|
var QueryId = createBrandedSchemaId("".concat(QueryPrefix, "_"));
|
|
2655
|
-
|
|
2656
|
-
|
|
2662
|
+
|
|
2663
|
+
// Workflows api
|
|
2664
|
+
var WorkflowSessionId = UuidString;
|
|
2665
|
+
var WorkflowSessionAttributeId = createBrandedSchemaId("".concat(WorkflowSessionAttributePrefix, "_"));
|
|
2666
|
+
var generateId = function generateId(type) {
|
|
2657
2667
|
return "".concat(type, "_").concat(nanoid.nanoid(12));
|
|
2658
2668
|
};
|
|
2659
2669
|
var MemberId = zod.z.string();
|
|
@@ -2949,6 +2959,7 @@ var ComplianceImplementationStepsInput = zod.z.object({
|
|
|
2949
2959
|
/////////////
|
|
2950
2960
|
|
|
2951
2961
|
var TxAuthInput = zod.z.object({
|
|
2962
|
+
workflowId: WorkflowId.optional(),
|
|
2952
2963
|
chainId: EvmChainId,
|
|
2953
2964
|
contractAbi: zod.z.array(zod.z.record(zod.z.unknown())),
|
|
2954
2965
|
contractAddress: AddressSchema,
|
|
@@ -2980,6 +2991,7 @@ var GetTxAuthDataSignatureResponse = zod.z.union([zod.z.object({
|
|
|
2980
2991
|
/////////////
|
|
2981
2992
|
|
|
2982
2993
|
var TezosTxAuthInput = zod.z.object({
|
|
2994
|
+
workflowId: WorkflowId.optional(),
|
|
2983
2995
|
chainID: TezosChainId,
|
|
2984
2996
|
contractAddress: TezosContractAddress,
|
|
2985
2997
|
functionName: TezosEntrypointName,
|
|
@@ -3016,11 +3028,6 @@ var ExtendedTezosTxAuthInput = TezosTxAuthInput.and(zod.z.object({
|
|
|
3016
3028
|
namespace: zod.z.literal(BlockchainNamespace.Enum.tezos),
|
|
3017
3029
|
userAddress: TezosImplicitAddress
|
|
3018
3030
|
}));
|
|
3019
|
-
var AnyTxAuthInput = zod.z.union([ExtendedTxAuthInput, ExtendedTezosTxAuthInput]);
|
|
3020
|
-
var AnyTxAuthInputJsSdk = zod.z.object({
|
|
3021
|
-
workflowId: zod.z.string().uuid(),
|
|
3022
|
-
txAuthInput: AnyTxAuthInput
|
|
3023
|
-
});
|
|
3024
3031
|
var ExtendedTxAuthDataSignatureResponse = GetTxAuthDataSignatureResponse.and(zod.z.object({
|
|
3025
3032
|
namespace: zod.z.literal(BlockchainNamespace.Enum.eip155),
|
|
3026
3033
|
userAddress: AddressSchema
|
|
@@ -3030,6 +3037,17 @@ var ExtendedTezosTxAuthDataSignatureResponse = GetTezosTxAuthDataSignatureRespon
|
|
|
3030
3037
|
userAddress: TezosImplicitAddress
|
|
3031
3038
|
}));
|
|
3032
3039
|
var AnyTxAuthDataSignatureResponse = zod.z.union([ExtendedTxAuthDataSignatureResponse, ExtendedTezosTxAuthDataSignatureResponse]);
|
|
3040
|
+
/////////////
|
|
3041
|
+
// JS SDK //
|
|
3042
|
+
/////////////
|
|
3043
|
+
|
|
3044
|
+
var Eip155TxAuthInputJsSdk = ExtendedTxAuthInput.and(zod.z.object({
|
|
3045
|
+
workflowId: WorkflowId
|
|
3046
|
+
}));
|
|
3047
|
+
var TezosTxAuthInputJsSdk = ExtendedTezosTxAuthInput.and(zod.z.object({
|
|
3048
|
+
workflowId: WorkflowId
|
|
3049
|
+
}));
|
|
3050
|
+
var AnyTxAuthInputJsSdk = zod.z.union([Eip155TxAuthInputJsSdk, TezosTxAuthInputJsSdk]);
|
|
3033
3051
|
|
|
3034
3052
|
var SimplifiedCredential = zod.z.object({
|
|
3035
3053
|
id: zod.z.string(),
|
|
@@ -3319,7 +3337,7 @@ var WalletSignResponse = zod.z.object({
|
|
|
3319
3337
|
var TxAuthDataSignatureGatingRequest = zod.z.object({
|
|
3320
3338
|
type: zod.z.literal("txAuthDataSignatureGatingRequest"),
|
|
3321
3339
|
data: zod.z.object({
|
|
3322
|
-
input:
|
|
3340
|
+
input: AnyTxAuthInputJsSdk
|
|
3323
3341
|
})
|
|
3324
3342
|
});
|
|
3325
3343
|
var GetCustomerStatusRequest = zod.z.object({
|
|
@@ -3358,11 +3376,17 @@ var TxAuthDataSignatureResponse = zod.z.object({
|
|
|
3358
3376
|
type: zod.z.literal("txAuthDataSignatureResponse"),
|
|
3359
3377
|
data: AnyTxAuthDataSignatureResponse
|
|
3360
3378
|
});
|
|
3379
|
+
var TxAuthDataSignatureGatingError = zod.z.object({
|
|
3380
|
+
type: zod.z.literal("txAuthDataSignatureGatingError"),
|
|
3381
|
+
data: zod.z.object({
|
|
3382
|
+
error: zod.z.string()
|
|
3383
|
+
})
|
|
3384
|
+
});
|
|
3361
3385
|
var GetCustomerStatusResponse = zod.z.object({
|
|
3362
3386
|
type: zod.z.literal("getCustomerStatusResponse"),
|
|
3363
3387
|
data: zod.z.union([CustomerStatus, zod.z["null"]()])
|
|
3364
3388
|
});
|
|
3365
|
-
var IdentityAppMessage = zod.z.union([IdentityAppLoadedNotification, IdentityAppConfiguredNotification, AuthenticationExpiredNotification, WalletSignRequest, TxAuthDataSignatureResponse, GetCustomerStatusResponse,
|
|
3389
|
+
var IdentityAppMessage = zod.z.union([IdentityAppLoadedNotification, IdentityAppConfiguredNotification, AuthenticationExpiredNotification, WalletSignRequest, TxAuthDataSignatureResponse, TxAuthDataSignatureGatingError, GetCustomerStatusResponse,
|
|
3366
3390
|
// `identifier` is a technical detail that should not be exposed to the app
|
|
3367
3391
|
KycCompletionNotification.omit({
|
|
3368
3392
|
identifier: true
|
|
@@ -3485,7 +3509,6 @@ exports.AllCredentialValues = AllCredentialValues;
|
|
|
3485
3509
|
exports.AllScenarioExecutionAuthorizationData = AllScenarioExecutionAuthorizationData;
|
|
3486
3510
|
exports.Alpha2Country = Alpha2Country;
|
|
3487
3511
|
exports.AnyTxAuthDataSignatureResponse = AnyTxAuthDataSignatureResponse;
|
|
3488
|
-
exports.AnyTxAuthInput = AnyTxAuthInput;
|
|
3489
3512
|
exports.AnyTxAuthInputJsSdk = AnyTxAuthInputJsSdk;
|
|
3490
3513
|
exports.ApiTezosTxAuthInput = ApiTezosTxAuthInput;
|
|
3491
3514
|
exports.ApiTxAuthInput = ApiTxAuthInput;
|
|
@@ -3585,6 +3608,7 @@ exports.ENVS = ENVS;
|
|
|
3585
3608
|
exports.EVM_BLOCK_TIME = EVM_BLOCK_TIME;
|
|
3586
3609
|
exports.EVM_CHAINS_WITHOUT_DEDICATED_NODE_RPC = EVM_CHAINS_WITHOUT_DEDICATED_NODE_RPC;
|
|
3587
3610
|
exports.EdSignature = EdSignature;
|
|
3611
|
+
exports.Eip155TxAuthInputJsSdk = Eip155TxAuthInputJsSdk;
|
|
3588
3612
|
exports.EmailId = EmailId;
|
|
3589
3613
|
exports.EmailPrefix = EmailPrefix;
|
|
3590
3614
|
exports.EnvironmentSchema = EnvironmentSchema;
|
|
@@ -3796,6 +3820,7 @@ exports.TezosEntrypointName = TezosEntrypointName;
|
|
|
3796
3820
|
exports.TezosImplicitAddress = TezosImplicitAddress;
|
|
3797
3821
|
exports.TezosSignature = TezosSignature;
|
|
3798
3822
|
exports.TezosTxAuthInput = TezosTxAuthInput;
|
|
3823
|
+
exports.TezosTxAuthInputJsSdk = TezosTxAuthInputJsSdk;
|
|
3799
3824
|
exports.TezosTxSignatureResponse = TezosTxSignatureResponse;
|
|
3800
3825
|
exports.TransactionAddressesId = TransactionAddressesId;
|
|
3801
3826
|
exports.TransactionAddressesPrefix = TransactionAddressesPrefix;
|
|
@@ -3819,6 +3844,7 @@ exports.TransactionPrefix = TransactionPrefix;
|
|
|
3819
3844
|
exports.TransactionResponse = TransactionResponse;
|
|
3820
3845
|
exports.TransactionReviewId = TransactionReviewId;
|
|
3821
3846
|
exports.TransactionReviewPrefix = TransactionReviewPrefix;
|
|
3847
|
+
exports.TxAuthDataSignatureGatingError = TxAuthDataSignatureGatingError;
|
|
3822
3848
|
exports.TxAuthDataSignatureGatingRequest = TxAuthDataSignatureGatingRequest;
|
|
3823
3849
|
exports.TxAuthDataSignatureResponse = TxAuthDataSignatureResponse;
|
|
3824
3850
|
exports.TxAuthInput = TxAuthInput;
|
|
@@ -3840,6 +3866,9 @@ exports.WalletSignResponse = WalletSignResponse;
|
|
|
3840
3866
|
exports.WalletSignatureResponse = WalletSignatureResponse;
|
|
3841
3867
|
exports.Web2CreateSessionParams = Web2CreateSessionParams;
|
|
3842
3868
|
exports.WorkflowId = WorkflowId;
|
|
3869
|
+
exports.WorkflowSessionAttributeId = WorkflowSessionAttributeId;
|
|
3870
|
+
exports.WorkflowSessionAttributePrefix = WorkflowSessionAttributePrefix;
|
|
3871
|
+
exports.WorkflowSessionId = WorkflowSessionId;
|
|
3843
3872
|
exports.WorkspaceId = WorkspaceId;
|
|
3844
3873
|
exports.ZKPOperator = ZKPOperator;
|
|
3845
3874
|
exports.ZKPRequest = ZKPRequest;
|
|
@@ -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 transaction_schema = require('./transaction.schema-
|
|
5
|
+
var identityApi_schema = require('./identity-api.schema-d2a8b678.cjs.dev.cjs');
|
|
6
|
+
var transaction_schema = require('./transaction.schema-760719df.cjs.dev.cjs');
|
|
7
7
|
var zod = require('zod');
|
|
8
|
-
var frontendUtilities_schema = require('./frontend-utilities.schema-
|
|
8
|
+
var frontendUtilities_schema = require('./frontend-utilities.schema-2cdacfcb.cjs.dev.cjs');
|
|
9
9
|
require('nanoid');
|
|
10
10
|
|
|
11
11
|
var decodeUint8Array = function decodeUint8Array(data) {
|
|
@@ -84,6 +84,22 @@ var Tag = zod.z.object({
|
|
|
84
84
|
updatedAt: zod.z.coerce.date()
|
|
85
85
|
});
|
|
86
86
|
|
|
87
|
+
var AWS_WEBHOOK_TYPES = ["SubscriptionConfirmation", "Notification"];
|
|
88
|
+
var AwsWebhookTypes = zod.z["enum"](AWS_WEBHOOK_TYPES);
|
|
89
|
+
var AwsWebhookInput = zod.z.object({
|
|
90
|
+
Type: AwsWebhookTypes,
|
|
91
|
+
MessageId: zod.z.string(),
|
|
92
|
+
TopicArn: zod.z.string(),
|
|
93
|
+
Subject: zod.z.string().nullish(),
|
|
94
|
+
Message: zod.z.string(),
|
|
95
|
+
Timestamp: zod.z.string(),
|
|
96
|
+
SignatureVersion: zod.z.string(),
|
|
97
|
+
Signature: zod.z.string(),
|
|
98
|
+
SigningCertURL: zod.z.string(),
|
|
99
|
+
UnsubscribeURL: zod.z.string().nullish(),
|
|
100
|
+
SubscribeURL: zod.z.string().nullish()
|
|
101
|
+
});
|
|
102
|
+
|
|
87
103
|
exports.ACTIVE_APTOS_CHAIN_IDS = identityApi_schema.ACTIVE_APTOS_CHAIN_IDS;
|
|
88
104
|
exports.ACTIVE_BITCOIN_CHAIN_IDS = identityApi_schema.ACTIVE_BITCOIN_CHAIN_IDS;
|
|
89
105
|
exports.ACTIVE_CARDANO_CHAIN_IDS = identityApi_schema.ACTIVE_CARDANO_CHAIN_IDS;
|
|
@@ -109,7 +125,6 @@ exports.AllCredentialValues = identityApi_schema.AllCredentialValues;
|
|
|
109
125
|
exports.AllScenarioExecutionAuthorizationData = identityApi_schema.AllScenarioExecutionAuthorizationData;
|
|
110
126
|
exports.Alpha2Country = identityApi_schema.Alpha2Country;
|
|
111
127
|
exports.AnyTxAuthDataSignatureResponse = identityApi_schema.AnyTxAuthDataSignatureResponse;
|
|
112
|
-
exports.AnyTxAuthInput = identityApi_schema.AnyTxAuthInput;
|
|
113
128
|
exports.AnyTxAuthInputJsSdk = identityApi_schema.AnyTxAuthInputJsSdk;
|
|
114
129
|
exports.ApiTezosTxAuthInput = identityApi_schema.ApiTezosTxAuthInput;
|
|
115
130
|
exports.ApiTxAuthInput = identityApi_schema.ApiTxAuthInput;
|
|
@@ -209,6 +224,7 @@ exports.ENVS = identityApi_schema.ENVS;
|
|
|
209
224
|
exports.EVM_BLOCK_TIME = identityApi_schema.EVM_BLOCK_TIME;
|
|
210
225
|
exports.EVM_CHAINS_WITHOUT_DEDICATED_NODE_RPC = identityApi_schema.EVM_CHAINS_WITHOUT_DEDICATED_NODE_RPC;
|
|
211
226
|
exports.EdSignature = identityApi_schema.EdSignature;
|
|
227
|
+
exports.Eip155TxAuthInputJsSdk = identityApi_schema.Eip155TxAuthInputJsSdk;
|
|
212
228
|
exports.EmailId = identityApi_schema.EmailId;
|
|
213
229
|
exports.EmailPrefix = identityApi_schema.EmailPrefix;
|
|
214
230
|
exports.EnvironmentSchema = identityApi_schema.EnvironmentSchema;
|
|
@@ -420,6 +436,7 @@ exports.TezosEntrypointName = identityApi_schema.TezosEntrypointName;
|
|
|
420
436
|
exports.TezosImplicitAddress = identityApi_schema.TezosImplicitAddress;
|
|
421
437
|
exports.TezosSignature = identityApi_schema.TezosSignature;
|
|
422
438
|
exports.TezosTxAuthInput = identityApi_schema.TezosTxAuthInput;
|
|
439
|
+
exports.TezosTxAuthInputJsSdk = identityApi_schema.TezosTxAuthInputJsSdk;
|
|
423
440
|
exports.TezosTxSignatureResponse = identityApi_schema.TezosTxSignatureResponse;
|
|
424
441
|
exports.TransactionAddressesId = identityApi_schema.TransactionAddressesId;
|
|
425
442
|
exports.TransactionAddressesPrefix = identityApi_schema.TransactionAddressesPrefix;
|
|
@@ -443,6 +460,7 @@ exports.TransactionPrefix = identityApi_schema.TransactionPrefix;
|
|
|
443
460
|
exports.TransactionResponse = identityApi_schema.TransactionResponse;
|
|
444
461
|
exports.TransactionReviewId = identityApi_schema.TransactionReviewId;
|
|
445
462
|
exports.TransactionReviewPrefix = identityApi_schema.TransactionReviewPrefix;
|
|
463
|
+
exports.TxAuthDataSignatureGatingError = identityApi_schema.TxAuthDataSignatureGatingError;
|
|
446
464
|
exports.TxAuthDataSignatureGatingRequest = identityApi_schema.TxAuthDataSignatureGatingRequest;
|
|
447
465
|
exports.TxAuthDataSignatureResponse = identityApi_schema.TxAuthDataSignatureResponse;
|
|
448
466
|
exports.TxAuthInput = identityApi_schema.TxAuthInput;
|
|
@@ -464,6 +482,9 @@ exports.WalletSignResponse = identityApi_schema.WalletSignResponse;
|
|
|
464
482
|
exports.WalletSignatureResponse = identityApi_schema.WalletSignatureResponse;
|
|
465
483
|
exports.Web2CreateSessionParams = identityApi_schema.Web2CreateSessionParams;
|
|
466
484
|
exports.WorkflowId = identityApi_schema.WorkflowId;
|
|
485
|
+
exports.WorkflowSessionAttributeId = identityApi_schema.WorkflowSessionAttributeId;
|
|
486
|
+
exports.WorkflowSessionAttributePrefix = identityApi_schema.WorkflowSessionAttributePrefix;
|
|
487
|
+
exports.WorkflowSessionId = identityApi_schema.WorkflowSessionId;
|
|
467
488
|
exports.WorkspaceId = identityApi_schema.WorkspaceId;
|
|
468
489
|
exports.ZKPOperator = identityApi_schema.ZKPOperator;
|
|
469
490
|
exports.ZKPRequest = identityApi_schema.ZKPRequest;
|
|
@@ -519,6 +540,9 @@ exports.VC_JSON_SCHEMA_MAP = frontendUtilities_schema.VC_JSON_SCHEMA_MAP;
|
|
|
519
540
|
exports.cleanObject = frontendUtilities_schema.cleanObject;
|
|
520
541
|
exports.getAvailableFields = frontendUtilities_schema.getAvailableFields;
|
|
521
542
|
exports.getCredentialSchemaLocation = frontendUtilities_schema.getCredentialSchemaLocation;
|
|
543
|
+
exports.AWS_WEBHOOK_TYPES = AWS_WEBHOOK_TYPES;
|
|
544
|
+
exports.AwsWebhookInput = AwsWebhookInput;
|
|
545
|
+
exports.AwsWebhookTypes = AwsWebhookTypes;
|
|
522
546
|
exports.DownloadableKycSchema = DownloadableKycSchema;
|
|
523
547
|
exports.EncryptedKycKey = EncryptedKycKey;
|
|
524
548
|
exports.EncryptedVerifiableCredentialDataSchema = EncryptedVerifiableCredentialDataSchema;
|
|
@@ -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 transaction_schema = require('./transaction.schema-
|
|
5
|
+
var identityApi_schema = require('./identity-api.schema-ab731fb2.cjs.prod.cjs');
|
|
6
|
+
var transaction_schema = require('./transaction.schema-22e6e231.cjs.prod.cjs');
|
|
7
7
|
var zod = require('zod');
|
|
8
|
-
var frontendUtilities_schema = require('./frontend-utilities.schema-
|
|
8
|
+
var frontendUtilities_schema = require('./frontend-utilities.schema-fb803ead.cjs.prod.cjs');
|
|
9
9
|
require('nanoid');
|
|
10
10
|
|
|
11
11
|
var decodeUint8Array = function decodeUint8Array(data) {
|
|
@@ -84,6 +84,22 @@ var Tag = zod.z.object({
|
|
|
84
84
|
updatedAt: zod.z.coerce.date()
|
|
85
85
|
});
|
|
86
86
|
|
|
87
|
+
var AWS_WEBHOOK_TYPES = ["SubscriptionConfirmation", "Notification"];
|
|
88
|
+
var AwsWebhookTypes = zod.z["enum"](AWS_WEBHOOK_TYPES);
|
|
89
|
+
var AwsWebhookInput = zod.z.object({
|
|
90
|
+
Type: AwsWebhookTypes,
|
|
91
|
+
MessageId: zod.z.string(),
|
|
92
|
+
TopicArn: zod.z.string(),
|
|
93
|
+
Subject: zod.z.string().nullish(),
|
|
94
|
+
Message: zod.z.string(),
|
|
95
|
+
Timestamp: zod.z.string(),
|
|
96
|
+
SignatureVersion: zod.z.string(),
|
|
97
|
+
Signature: zod.z.string(),
|
|
98
|
+
SigningCertURL: zod.z.string(),
|
|
99
|
+
UnsubscribeURL: zod.z.string().nullish(),
|
|
100
|
+
SubscribeURL: zod.z.string().nullish()
|
|
101
|
+
});
|
|
102
|
+
|
|
87
103
|
exports.ACTIVE_APTOS_CHAIN_IDS = identityApi_schema.ACTIVE_APTOS_CHAIN_IDS;
|
|
88
104
|
exports.ACTIVE_BITCOIN_CHAIN_IDS = identityApi_schema.ACTIVE_BITCOIN_CHAIN_IDS;
|
|
89
105
|
exports.ACTIVE_CARDANO_CHAIN_IDS = identityApi_schema.ACTIVE_CARDANO_CHAIN_IDS;
|
|
@@ -109,7 +125,6 @@ exports.AllCredentialValues = identityApi_schema.AllCredentialValues;
|
|
|
109
125
|
exports.AllScenarioExecutionAuthorizationData = identityApi_schema.AllScenarioExecutionAuthorizationData;
|
|
110
126
|
exports.Alpha2Country = identityApi_schema.Alpha2Country;
|
|
111
127
|
exports.AnyTxAuthDataSignatureResponse = identityApi_schema.AnyTxAuthDataSignatureResponse;
|
|
112
|
-
exports.AnyTxAuthInput = identityApi_schema.AnyTxAuthInput;
|
|
113
128
|
exports.AnyTxAuthInputJsSdk = identityApi_schema.AnyTxAuthInputJsSdk;
|
|
114
129
|
exports.ApiTezosTxAuthInput = identityApi_schema.ApiTezosTxAuthInput;
|
|
115
130
|
exports.ApiTxAuthInput = identityApi_schema.ApiTxAuthInput;
|
|
@@ -209,6 +224,7 @@ exports.ENVS = identityApi_schema.ENVS;
|
|
|
209
224
|
exports.EVM_BLOCK_TIME = identityApi_schema.EVM_BLOCK_TIME;
|
|
210
225
|
exports.EVM_CHAINS_WITHOUT_DEDICATED_NODE_RPC = identityApi_schema.EVM_CHAINS_WITHOUT_DEDICATED_NODE_RPC;
|
|
211
226
|
exports.EdSignature = identityApi_schema.EdSignature;
|
|
227
|
+
exports.Eip155TxAuthInputJsSdk = identityApi_schema.Eip155TxAuthInputJsSdk;
|
|
212
228
|
exports.EmailId = identityApi_schema.EmailId;
|
|
213
229
|
exports.EmailPrefix = identityApi_schema.EmailPrefix;
|
|
214
230
|
exports.EnvironmentSchema = identityApi_schema.EnvironmentSchema;
|
|
@@ -420,6 +436,7 @@ exports.TezosEntrypointName = identityApi_schema.TezosEntrypointName;
|
|
|
420
436
|
exports.TezosImplicitAddress = identityApi_schema.TezosImplicitAddress;
|
|
421
437
|
exports.TezosSignature = identityApi_schema.TezosSignature;
|
|
422
438
|
exports.TezosTxAuthInput = identityApi_schema.TezosTxAuthInput;
|
|
439
|
+
exports.TezosTxAuthInputJsSdk = identityApi_schema.TezosTxAuthInputJsSdk;
|
|
423
440
|
exports.TezosTxSignatureResponse = identityApi_schema.TezosTxSignatureResponse;
|
|
424
441
|
exports.TransactionAddressesId = identityApi_schema.TransactionAddressesId;
|
|
425
442
|
exports.TransactionAddressesPrefix = identityApi_schema.TransactionAddressesPrefix;
|
|
@@ -443,6 +460,7 @@ exports.TransactionPrefix = identityApi_schema.TransactionPrefix;
|
|
|
443
460
|
exports.TransactionResponse = identityApi_schema.TransactionResponse;
|
|
444
461
|
exports.TransactionReviewId = identityApi_schema.TransactionReviewId;
|
|
445
462
|
exports.TransactionReviewPrefix = identityApi_schema.TransactionReviewPrefix;
|
|
463
|
+
exports.TxAuthDataSignatureGatingError = identityApi_schema.TxAuthDataSignatureGatingError;
|
|
446
464
|
exports.TxAuthDataSignatureGatingRequest = identityApi_schema.TxAuthDataSignatureGatingRequest;
|
|
447
465
|
exports.TxAuthDataSignatureResponse = identityApi_schema.TxAuthDataSignatureResponse;
|
|
448
466
|
exports.TxAuthInput = identityApi_schema.TxAuthInput;
|
|
@@ -464,6 +482,9 @@ exports.WalletSignResponse = identityApi_schema.WalletSignResponse;
|
|
|
464
482
|
exports.WalletSignatureResponse = identityApi_schema.WalletSignatureResponse;
|
|
465
483
|
exports.Web2CreateSessionParams = identityApi_schema.Web2CreateSessionParams;
|
|
466
484
|
exports.WorkflowId = identityApi_schema.WorkflowId;
|
|
485
|
+
exports.WorkflowSessionAttributeId = identityApi_schema.WorkflowSessionAttributeId;
|
|
486
|
+
exports.WorkflowSessionAttributePrefix = identityApi_schema.WorkflowSessionAttributePrefix;
|
|
487
|
+
exports.WorkflowSessionId = identityApi_schema.WorkflowSessionId;
|
|
467
488
|
exports.WorkspaceId = identityApi_schema.WorkspaceId;
|
|
468
489
|
exports.ZKPOperator = identityApi_schema.ZKPOperator;
|
|
469
490
|
exports.ZKPRequest = identityApi_schema.ZKPRequest;
|
|
@@ -519,6 +540,9 @@ exports.VC_JSON_SCHEMA_MAP = frontendUtilities_schema.VC_JSON_SCHEMA_MAP;
|
|
|
519
540
|
exports.cleanObject = frontendUtilities_schema.cleanObject;
|
|
520
541
|
exports.getAvailableFields = frontendUtilities_schema.getAvailableFields;
|
|
521
542
|
exports.getCredentialSchemaLocation = frontendUtilities_schema.getCredentialSchemaLocation;
|
|
543
|
+
exports.AWS_WEBHOOK_TYPES = AWS_WEBHOOK_TYPES;
|
|
544
|
+
exports.AwsWebhookInput = AwsWebhookInput;
|
|
545
|
+
exports.AwsWebhookTypes = AwsWebhookTypes;
|
|
522
546
|
exports.DownloadableKycSchema = DownloadableKycSchema;
|
|
523
547
|
exports.EncryptedKycKey = EncryptedKycKey;
|
|
524
548
|
exports.EncryptedVerifiableCredentialDataSchema = EncryptedVerifiableCredentialDataSchema;
|