@nexeraid/identity-schemas 2.54.0-dev → 2.55.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-fa72c081.esm.mjs → CoinMarketCap.schema-c4b18ff0.esm.mjs} +23 -15
- package/dist/{CoinMarketCap.schema-e0f6e89c.cjs.prod.cjs → CoinMarketCap.schema-c554e954.cjs.prod.cjs} +26 -17
- package/dist/{CoinMarketCap.schema-9747956b.cjs.dev.cjs → CoinMarketCap.schema-fd3f57d7.cjs.dev.cjs} +26 -17
- package/dist/declarations/src/customer.schema.d.ts +1 -7
- package/dist/declarations/src/customer.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/identity-v2.schema.d.ts +4 -4
- package/dist/declarations/src/identity-ids.schema.d.ts +20 -5
- package/dist/declarations/src/identity-ids.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/chainalysis/chainalysis.schema.d.ts +2 -1
- package/dist/declarations/src/providers/chainalysis/chainalysis.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/comply-advantage/comply-advantage.schema.d.ts +351 -351
- package/dist/declarations/src/providers/comply-advantage/comply-advantage.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/ipquality/ipquality.schema.d.ts +63 -0
- package/dist/declarations/src/providers/ipquality/ipquality.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/kyc-sessions.schema.d.ts +4 -4
- package/dist/declarations/src/providers/merkle-science/merkle-science.schema.d.ts +4 -2
- package/dist/declarations/src/providers/merkle-science/merkle-science.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/provider.schema.d.ts +4 -4
- package/dist/declarations/src/providers/provider.schema.d.ts.map +1 -1
- package/dist/declarations/src/webhooks/alert.webhooks.schema.d.ts +2 -2
- package/dist/declarations/src/webhooks/customer.webhooks.schema.d.ts +17 -17
- package/dist/declarations/src/webhooks/send-verification-flow-webhook.schema.d.ts +7327 -165
- package/dist/declarations/src/webhooks/send-verification-flow-webhook.schema.d.ts.map +1 -1
- package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts +978 -971
- package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts.map +1 -1
- package/dist/{frontend-utilities.schema-ceff7f1b.esm.mjs → frontend-utilities.schema-0bc3f268.esm.mjs} +2 -2
- package/dist/{frontend-utilities.schema-d23b92dd.cjs.prod.cjs → frontend-utilities.schema-6955ccf9.cjs.prod.cjs} +2 -2
- package/dist/{frontend-utilities.schema-92d876ae.cjs.dev.cjs → frontend-utilities.schema-904973a0.cjs.dev.cjs} +2 -2
- package/dist/{identity-api.schema-a0ad7c7b.cjs.prod.cjs → identity-api.schema-8f4267df.cjs.prod.cjs} +18 -4
- package/dist/{identity-api.schema-01880e1c.esm.mjs → identity-api.schema-973aa37f.esm.mjs} +11 -5
- package/dist/{identity-api.schema-f4d1d9f8.cjs.dev.cjs → identity-api.schema-df01f4ad.cjs.dev.cjs} +18 -4
- package/dist/nexeraid-identity-schemas.cjs.dev.cjs +11 -3
- package/dist/nexeraid-identity-schemas.cjs.prod.cjs +11 -3
- package/dist/nexeraid-identity-schemas.esm.mjs +4 -4
- package/dist/package.json +1 -1
- package/dist/{vault.schema-789028ce.esm.mjs → vault.schema-3d206920.esm.mjs} +1 -19
- package/dist/{vault.schema-666eefd8.cjs.prod.cjs → vault.schema-52d8cae3.cjs.prod.cjs} +1 -19
- package/dist/{vault.schema-bce4b304.cjs.dev.cjs → vault.schema-a005010c.cjs.dev.cjs} +1 -19
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +2 -2
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +2 -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 +7 -6
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +7 -6
- 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 +3 -3
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +3 -3
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +3 -3
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +35 -11
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +35 -11
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +31 -12
package/dist/{CoinMarketCap.schema-fa72c081.esm.mjs → CoinMarketCap.schema-c4b18ff0.esm.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { d as Alpha2Country, aV as _toConsumableArray, I as ISO3CountryCode, aX as _slicedToArray, v as CustomerStatus, T as ProofOfResidenceCredentialSubjectSchema, B as BasicCustomerContactInformation } from './vault.schema-
|
|
3
|
-
import { as as BlockchainAddress, aa as AddressSchema, aT as UuidString, aw as BlockchainNamespace,
|
|
2
|
+
import { d as Alpha2Country, aV as _toConsumableArray, I as ISO3CountryCode, aX as _slicedToArray, v as CustomerStatus, T as ProofOfResidenceCredentialSubjectSchema, B as BasicCustomerContactInformation } from './vault.schema-3d206920.esm.mjs';
|
|
3
|
+
import { as as BlockchainAddress, aa as AddressSchema, aT as UuidString, aw as BlockchainNamespace, cD as SdkVerificationOutput, bq as WorkflowSessionId, e_ as _defineProperty, dx as QrCodeLinkWithSchemaType, eX as CredentialType } from './identity-api.schema-973aa37f.esm.mjs';
|
|
4
4
|
|
|
5
5
|
// based on https://tech-doc.api.scorechain.com/
|
|
6
6
|
var ANALYSIS_TYPES = ["ASSIGNED", "INCOMING", "OUTGOING", "FULL"];
|
|
@@ -296,9 +296,10 @@ var RESULT_PARSER_ERROR$2 = z.object({
|
|
|
296
296
|
data: z.string()
|
|
297
297
|
}).describe("This is a fallback error, if zod parse fails on result");
|
|
298
298
|
var IpQualityServiceErrorResponse = z.union([UNAUTHORIZED_KEY, UNKNOWN_ERROR$2, RESULT_PARSER_ERROR$2]);
|
|
299
|
-
var
|
|
299
|
+
var WrappedIpQualityServiceErrorResponse = z.object({
|
|
300
300
|
error: IpQualityServiceErrorResponse
|
|
301
|
-
})
|
|
301
|
+
});
|
|
302
|
+
var IpQualityServiceAnalysisResponse = z.union([WrappedIpQualityServiceErrorResponse, IpQualityServiceAnalysis]);
|
|
302
303
|
|
|
303
304
|
var BigCryptoChain = z["enum"](["btc",
|
|
304
305
|
// Bitcoin
|
|
@@ -756,13 +757,20 @@ var SynapsStepResponse = z.union([z.object({
|
|
|
756
757
|
})]);
|
|
757
758
|
|
|
758
759
|
var CoerceDateUTC = z.preprocess(function (value) {
|
|
759
|
-
if (
|
|
760
|
+
if (value === null || value === undefined) return undefined;
|
|
760
761
|
if (value instanceof Date) {
|
|
761
762
|
return value;
|
|
762
763
|
}
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
764
|
+
if (typeof value === "string") {
|
|
765
|
+
var inputDateString = value.endsWith("Z") ? value : "".concat(value, "Z");
|
|
766
|
+
var date = new Date(inputDateString);
|
|
767
|
+
if (isNaN(date.getTime())) {
|
|
768
|
+
return undefined; // Invalid date string
|
|
769
|
+
}
|
|
770
|
+
return date;
|
|
771
|
+
}
|
|
772
|
+
return undefined; // Invalid input type
|
|
773
|
+
// without forcing this ... errors between type and schema can occur.
|
|
766
774
|
}, z.date());
|
|
767
775
|
var SEARCH_FILTER_SANCTION_TYPE = ["sanction", "warning", "fitness-probity"];
|
|
768
776
|
var SearchFilterSanctionType = z["enum"](SEARCH_FILTER_SANCTION_TYPE);
|
|
@@ -1270,7 +1278,7 @@ var MerkleBlockChainTypes = {
|
|
|
1270
1278
|
Aptos: "123"
|
|
1271
1279
|
};
|
|
1272
1280
|
var BlockChainNames = ["Bitcoin", "Ethereum", "Litecoin", "BitcoinCash", "Ripple", "Dogecoin", "Zilliqa", "BinanceSmartChain", "Polygon", "Tron", "Cardano", "Polkadot", "Stellar", "Hedera", "Cronos", "Optimism", "Arbitrum", "Fantom", "Monero", "Cosmos", "Zcash", "EthereumClassic", "Dash", "Solana", "AvalancheC_Chain", "Verge", "BitcoinGold", "Algorand", "Acala", "Akash", "Arweave", "Ardor", "Ark", "Astar", "Band", "BinanceNative", "Celo", "Chiliz", "Nervos", "CronosNative", "Digibyte", "Multiversx", "Enjin", "Eos", "EthereumPow", "FetchAI", "Filecoin", "Flow", "Flare", "Moonbeam", "Helium", "ICP", "Icon", "Injective", "IOTA", "IoTex", "Iris", "Kava", "Kadena", "Klaytn", "Komodo", "Kusama", "Lisk", "Terra", "Mina", "Moonriver", "Nano", "Near", "Neo3", "Oasys", "One", "Ontology", "Osmosis", "Polymesh", "QTUM", "Oasis", "Thorchain", "Ravencoin", "Siacoin", "Shiden", "Songbird", "Stratis", "Stacks", "SUI", "zkSync", "Theta", "Tomo", "VeChain", "Waves", "Wax", "WEMIX", "WaltonChain", "Chia", "Tezos", "Zcoin", "Celestia", "Neutron", "Avalanche_P", "Sei", "Avalanche_X", "Aztec", "Bittensor", "Casper", "Deso", "Juno", "PocketNetwork", "Ronin", "Vara", "XPLA", "Archway", "Axelar", "Dymension", "Starknet", "Orai", "Lukso", "bitsCrunch", "Reef", "ImmutablezkEVM", "BaseProtocol", "ArbitrumNova", "Canto", "MetisDAO", "Aptos"];
|
|
1273
|
-
var
|
|
1281
|
+
var MerkleBlockChainName = z["enum"](BlockChainNames);
|
|
1274
1282
|
var MerkleBlockChainNamesExtended = z["enum"]([].concat(BlockChainNames, ["Bitcoin Cash", "Binance Smart Chain", "Ethereum Classic", "Avalanche C-Chain", "Bitcoin Gold", "Binance Native", "Cronos Native", "Ethereum Pow", "Fetch AI", "Avalanche-P", "Avalanche-X", "Pocket Network", "Immutable zkEVM", "Base Protocol", "Arbitrum Nova"]));
|
|
1275
1283
|
var BlockChainCodes = ["0", "1", "2", "3", "4", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "70", "71", "72", "73", "74", "75", "76", "77", "78", "79", "80", "81", "82", "83", "84", "85", "86", "87", "88", "89", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", "100", "101", "102", "103", "104", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123"];
|
|
1276
1284
|
var MerkleBlockChainCodes = z["enum"](BlockChainCodes);
|
|
@@ -1352,12 +1360,12 @@ var MerkleAddressResponse = z.union([MerkleAddressApiResponse, MerkleAddressApiE
|
|
|
1352
1360
|
|
|
1353
1361
|
var ProviderWithoutConfig = ["chainalysis"];
|
|
1354
1362
|
var IdentityProviderOptions = ["nexeraIdSSID", "nexeraIdKYB", "synaps"];
|
|
1355
|
-
var
|
|
1363
|
+
var IdentityProvider = z["enum"](IdentityProviderOptions);
|
|
1356
1364
|
var DataProviderOptions = ["complyAdvantage", "big", "scorechain", "merkleScience", "chainalysis", "ipQualityScore", "integratedComplyAdvantage", "integratedScorechain", "integratedIpqualityscore"];
|
|
1357
|
-
var
|
|
1358
|
-
var MergedProviders = z["enum"]([].concat(_toConsumableArray(
|
|
1365
|
+
var DataProvider = z["enum"](DataProviderOptions);
|
|
1366
|
+
var MergedProviders = z["enum"]([].concat(_toConsumableArray(IdentityProvider.options), _toConsumableArray(DataProvider.options)));
|
|
1359
1367
|
var MerkleScienceConfig = z.object({
|
|
1360
|
-
blockchain:
|
|
1368
|
+
blockchain: MerkleBlockChainName
|
|
1361
1369
|
});
|
|
1362
1370
|
var ChainalysisConfig = ChainalysisRequest.omit({
|
|
1363
1371
|
address: true
|
|
@@ -1467,7 +1475,7 @@ var SynapsProvider = BaseProvider.extend({
|
|
|
1467
1475
|
var ProviderData = z.object({
|
|
1468
1476
|
id: z.string(),
|
|
1469
1477
|
projectId: z.string(),
|
|
1470
|
-
provider: z.union([
|
|
1478
|
+
provider: z.union([IdentityProvider, DataProvider]),
|
|
1471
1479
|
type: z["enum"](["identity", "data"]),
|
|
1472
1480
|
nexeraIdSSID: NexeraIdSSIDProvider.nullish(),
|
|
1473
1481
|
nexeraIdKYB: NexeraIdKYBProvider.nullish(),
|
|
@@ -2526,4 +2534,4 @@ var CoinMarketCapApiResponse = z.object({
|
|
|
2526
2534
|
status: Status
|
|
2527
2535
|
});
|
|
2528
2536
|
|
|
2529
|
-
export {
|
|
2537
|
+
export { ProofOfAddressDocumentTypes as $, ANALYSIS_TYPES as A, BitRankVerifiedResponse as B, ChainalysisRiskAssessmentResponse as C, BitRankVerifiedErrorResponse as D, EmailVerificationAnalysisResponse as E, BitRankVerifiedError as F, Statuses as G, Status$2 as H, IpQualityServiceAnalysisResponse as I, WebhookPayload as J, Session as K, SessionWithoutSteps as L, MergedProviders as M, NestedSession as N, OBJECT_TYPES as O, PhoneVerificationAnalysisResponse as P, StepTypes as Q, RiskSeverity as R, ScoringAnalysisResponse as S, StepType as T, ReasonCodes as U, ReasonCode as V, WorkflowsScoringAnalysisRequest as W, File as X, DocumentIdTypes as Y, DocumentIdType as Z, DocumentIdMetadata as _, MerkleAddressResponse as a, ComplyAdvantageSearchRequest as a$, ProofOfAddressDocumentType as a0, ProofOfAddressMetadata as a1, LivenessMetadata as a2, PhoneMetadata as a3, EmailMetadata as a4, AMLMetadata as a5, Step as a6, SynapsSessionEvent as a7, SynapsStepEvent as a8, typeToHumanReadable as a9, SearchEntityTypes as aA, SearchEntityType as aB, SearchFilters as aC, COMPLY_ADVANTAGE_NATIONALITY_FIELD_SOURCES as aD, ComplyAdvantageNationalityFieldSources as aE, COMPLY_ADVANTAGE_COUNTRY_FIELD_SOURCES as aF, ComplyAdvantageCountryFieldSources as aG, COMPLY_ADVANTAGE_DATE_OF_BIRTH_FIELD_SOURCES as aH, ComplyAdvantageDateOfBirthFieldSources as aI, CreateSearchInput as aJ, MatchStatuses as aK, MatchStatus as aL, RiskLevels as aM, RiskLevel as aN, UpdateSearchInput as aO, UpdateSearchEntitiesInput as aP, ComplyAdvantageUser as aQ, MatchTypeDetail as aR, ComplyAdvantageMedia as aS, ComplyAdvantageSearchDataResponseHit as aT, ComplyAdvantageSearchDataResponse as aU, ComplyAdvantageKeyInformation as aV, ComplyAdvantageAmlItemSource as aW, ComplyAdvantageAmlFullListing as aX, ComplyAdvantageSearchEntitiesDataResponse as aY, ComplyAdvantageSearchEntitiesSuccessResponse as aZ, ComplyAdvantageSearchEntitiesResponse as a_, SynapsSessionRequest as aa, SESSION_NOT_FOUND as ab, UNKNOWN_ERROR as ac, RESULT_PARSER_ERROR as ad, SynapsSessionErrorResponse as ae, SynapsSessionResponse as af, SynapsStepRequest as ag, STEP_NOT_FOUND as ah, SynapsStepErrorResponse as ai, SynapsStepResponse as aj, CoerceDateUTC as ak, SEARCH_FILTER_SANCTION_TYPE as al, SearchFilterSanctionType as am, SEARCH_FILTER_PEP_TYPE as an, SearchFilterPepType as ao, SEARCH_FILTER_ADVERSE_MEDIA_TYPE as ap, SearchFilterAdverseMediaType as aq, HIGH_RISK_TYPES as ar, MEDIUM_RISK_TYPES as as, COMPLY_ADVANTAGE_RESPONSE_MATCH_TYPE as at, ComplyAdvantageResponseMatchType as au, mappingMatchTypeToLabel as av, COMPLY_ADVANTAGE_RESPONSE_MATCH_STATUS as aw, ComplyAdvantageReponseMatchStatus as ax, SEARCH_FILTER_TYPES as ay, SearchFilterType as az, ComplyAdvantageSearchResponse as b, BENEFICIARY_TYPES as b$, ComplyAdvantageSearchRequests as b0, ComplyAdvantageUpdateSearchRequest as b1, ComplyAdvantageUpdateSearchEntitiesRequest as b2, ComplyAdvantageUpdateSearchEntitiesSuccessResponse as b3, ComplyAdvantageUpdateSearchEntitiesResponse as b4, ComplyAdvantageMonitorSearchDataResponse as b5, ComplyAdvantageMonitorSearchSuccessResponse as b6, ComplyAdvantageMonitorSearchResponse as b7, ComplyAdvantageMonitoredSearchUpdate as b8, ProviderWithoutConfig as b9, ProviderDataProject as bA, GetProvidersResponse as bB, GetProviderResponse as bC, CreateProviderInput as bD, CreateProviderResponse as bE, UpdateProviderInput as bF, UpdateProviderResponse as bG, ToggleProviderInput as bH, DeleteProviderInput as bI, DeleteProviderResponse as bJ, WEBHOOK_TYPES as bK, WebhookType as bL, ApplicantMemberOfSchema as bM, SumSubWebhookSchema as bN, BaseApplicantActionSchema as bO, SUMSUB_STEPS as bP, SumSubStep as bQ, SUMSUB_APPLICANT_TYPES as bR, SumSubApplicantType as bS, SUMSUB_REVIEW_ANSWERS as bT, SumSubReviewAnswer as bU, SUMSUB_REVIEW_REJECT_TYPES as bV, SumSubReviewRejectType as bW, SumSubAddress as bX, SumSubApplicantInfo as bY, INDIVIDUAL_BENEFICIARY_RELATIONS as bZ, IndividualBeneficiaryRelation as b_, IdentityProviderOptions as ba, IdentityProvider as bb, DataProviderOptions as bc, DataProvider as bd, MerkleScienceConfig as be, ChainalysisConfig as bf, ScorechainConfig as bg, WorkflowsScorechainConfig as bh, IpQualityConfig as bi, BigConfig as bj, ProviderIntegrationTypeOptions as bk, ProviderIntegrationType as bl, BaseProvider as bm, NexeraIdSSIDProvider as bn, NexeraIdKYBProvider as bo, BigProvider as bp, ScorechainProvider as bq, MerkleScienceProvider as br, ChainalysisProvider as bs, IpqualityscoreProvider as bt, ComplyAdvantageProviderConfigTypes as bu, ComplyAdvantageProviderConfigFilters as bv, ComplyAdvantageProviderConfigElement as bw, ComplyAdvantageProvider as bx, SynapsProvider as by, ProviderData as bz, ComplyAdvantageSearchErrorResponse as c, CredentialMetadata as c$, BeneficiaryType as c0, BeneficiaryCompanyCustomerClaims as c1, BeneficiaryCompanyCustomerClaimsArray as c2, SumSubCompanyApplicantInfo as c3, SUMSUB_WEBHOOK_INTERNAL_STATUS as c4, SumsubWebhookInternalStatus as c5, SUMSUB_REVIEW_STATUSES as c6, SumSubReviewStatus as c7, SUMSUB_DOC_TYPES as c8, SumSubDocType as c9, SumsubKybSessionFlowSectionStatus as cA, SumsubKybSessionFlowSectionItem as cB, SumsubKybSessionFlowSection as cC, SumSubSimilarApplicantsSchema as cD, SUMSUB_REVIEW_REJECT_LABELS as cE, SumSubReviewRejectLabel as cF, SUMSUB_REVIEW_REJECT_LABELS_DESCRIPTION as cG, KYC_STEP_TYPES as cH, KycStep as cI, KycStepStatuses as cJ, KycStepStatus as cK, KYC_RESULTS as cL, KycResult as cM, KYC_SESSION_STATUSES as cN, KycSessionStatus as cO, EmailVerificationResponse as cP, SelectKycSessionStep as cQ, SelectKycSession as cR, SelectKycSessionWithCompletedSteps as cS, GetKycSessionInput as cT, GetKycSessionResponse as cU, UpdateKycSessionOutput as cV, VideoKycMetaData as cW, ProofOfResidenceMetaData as cX, ProofOfResidenceDocumentType as cY, GetCredentialsOutput as cZ, CustomerContactInformationOutput as c_, SUMSUB_FLOW_LEVEL as ca, SumSubFlowLevel as cb, SumSubRequiredIdDoc as cc, SumSubReviewResultSchema as cd, SumSubImageReviewResultSchema as ce, SumsubApplicantTypes as cf, SumsubApplicantType as cg, SumSubIndividualApplicantSchema as ch, SumSubCompanyApplicantSchema as ci, SumSubImageId as cj, SUMSUB_COMPANY_BENEFICIARY_GROUP as ck, SumsubCompanyBeneficiaryGroup as cl, SumsubStepStatus as cm, SumSubVerificationStepSchema as cn, SumSubApplicantVerificationStepSchema as co, SUMSUB_MEDIA_CONTENT_TYPES as cp, SumSubMediaContentType as cq, DocumentMetadataSchema as cr, SumSubApplicantReviewStatusSchema as cs, SumSubApplicantResetSchema as ct, SumSubGenerateExternalWebSdkLinkSchema as cu, SumsubVideoCallData as cv, SumsubKycDataSchema as cw, SumsubKybDataSchema as cx, SumSubApplicantSchema as cy, SUMSUB_KYB_SESSION_FLOW_SECTION_STATUS as cz, ComplyAdvantageSearchSuccessResponse as d, GetKycSessionResponseWithCredentialsMetadata as d0, KYB_STEP_TYPES as d1, KybStep as d2, KYB_RESULTS as d3, KybResult as d4, KYB_SESSION_STATUSES as d5, KybSessionStatus as d6, CompanyDocumentMetaData as d7, BeneficiaryVerificationStatus as d8, BeneficiaryVerificationStatusArray as d9, SelectKybSession as da, GetKybSessionInput as db, GetKybSessionResponse as dc, UpdateKybSessionOutput as dd, CustomerDocumentMetaData as de, CustomerStatusResults as df, MerkleBlockChainTypes as dg, MerkleBlockChainName as dh, MerkleBlockChainCodes as di, MerkleAddressRequest as dj, MerkleAddressApiResponse as dk, MerkleAddressApiError as dl, ChainalysisRequest as dm, ChainalysisRegisterApiResponse as dn, ChainalysisRiskLevel as dp, ChainalysisErrorCodes as dq, ChainalysisRiskAssessmentApiResponse as dr, ChainalysisApiError as ds, ChainalysisRegisterResponse as dt, CoinMarketCapRequest as du, CoinMarketCapQuote as dv, CoinMarketCapQuotes as dw, CoinMarketCapApiResponse as dx, CoinMarketCapFiatId as dy, AnalysisType as e, ObjectType as f, BLOCKCHAIN_TYPES as g, Blockchain as h, Coin as i, ScorechainErrorResponse as j, ScorechainError as k, ScorechainAnalysis as l, ScoringAnalysisRequest as m, IpQualityAnalysisRequest as n, IpQualityAnalysisResponse as o, IpQualityServiceAnalysis as p, IpQualityServiceErrorResponse as q, WrappedIpQualityServiceErrorResponse as r, BigCryptoChain as s, BigPropertiesLiteral as t, BigProperties as u, BigProperty as v, RequestProperty as w, BigCSErrorCodes as x, BitRankRequest as y, BitRankVerified as z };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var zod = require('zod');
|
|
4
|
-
var vault_schema = require('./vault.schema-
|
|
5
|
-
var identityApi_schema = require('./identity-api.schema-
|
|
4
|
+
var vault_schema = require('./vault.schema-52d8cae3.cjs.prod.cjs');
|
|
5
|
+
var identityApi_schema = require('./identity-api.schema-8f4267df.cjs.prod.cjs');
|
|
6
6
|
|
|
7
7
|
// based on https://tech-doc.api.scorechain.com/
|
|
8
8
|
var ANALYSIS_TYPES = ["ASSIGNED", "INCOMING", "OUTGOING", "FULL"];
|
|
@@ -298,9 +298,10 @@ var RESULT_PARSER_ERROR$2 = zod.z.object({
|
|
|
298
298
|
data: zod.z.string()
|
|
299
299
|
}).describe("This is a fallback error, if zod parse fails on result");
|
|
300
300
|
var IpQualityServiceErrorResponse = zod.z.union([UNAUTHORIZED_KEY, UNKNOWN_ERROR$2, RESULT_PARSER_ERROR$2]);
|
|
301
|
-
var
|
|
301
|
+
var WrappedIpQualityServiceErrorResponse = zod.z.object({
|
|
302
302
|
error: IpQualityServiceErrorResponse
|
|
303
|
-
})
|
|
303
|
+
});
|
|
304
|
+
var IpQualityServiceAnalysisResponse = zod.z.union([WrappedIpQualityServiceErrorResponse, IpQualityServiceAnalysis]);
|
|
304
305
|
|
|
305
306
|
var BigCryptoChain = zod.z["enum"](["btc",
|
|
306
307
|
// Bitcoin
|
|
@@ -758,13 +759,20 @@ var SynapsStepResponse = zod.z.union([zod.z.object({
|
|
|
758
759
|
})]);
|
|
759
760
|
|
|
760
761
|
var CoerceDateUTC = zod.z.preprocess(function (value) {
|
|
761
|
-
if (
|
|
762
|
+
if (value === null || value === undefined) return undefined;
|
|
762
763
|
if (value instanceof Date) {
|
|
763
764
|
return value;
|
|
764
765
|
}
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
766
|
+
if (typeof value === "string") {
|
|
767
|
+
var inputDateString = value.endsWith("Z") ? value : "".concat(value, "Z");
|
|
768
|
+
var date = new Date(inputDateString);
|
|
769
|
+
if (isNaN(date.getTime())) {
|
|
770
|
+
return undefined; // Invalid date string
|
|
771
|
+
}
|
|
772
|
+
return date;
|
|
773
|
+
}
|
|
774
|
+
return undefined; // Invalid input type
|
|
775
|
+
// without forcing this ... errors between type and schema can occur.
|
|
768
776
|
}, zod.z.date());
|
|
769
777
|
var SEARCH_FILTER_SANCTION_TYPE = ["sanction", "warning", "fitness-probity"];
|
|
770
778
|
var SearchFilterSanctionType = zod.z["enum"](SEARCH_FILTER_SANCTION_TYPE);
|
|
@@ -1272,7 +1280,7 @@ var MerkleBlockChainTypes = {
|
|
|
1272
1280
|
Aptos: "123"
|
|
1273
1281
|
};
|
|
1274
1282
|
var BlockChainNames = ["Bitcoin", "Ethereum", "Litecoin", "BitcoinCash", "Ripple", "Dogecoin", "Zilliqa", "BinanceSmartChain", "Polygon", "Tron", "Cardano", "Polkadot", "Stellar", "Hedera", "Cronos", "Optimism", "Arbitrum", "Fantom", "Monero", "Cosmos", "Zcash", "EthereumClassic", "Dash", "Solana", "AvalancheC_Chain", "Verge", "BitcoinGold", "Algorand", "Acala", "Akash", "Arweave", "Ardor", "Ark", "Astar", "Band", "BinanceNative", "Celo", "Chiliz", "Nervos", "CronosNative", "Digibyte", "Multiversx", "Enjin", "Eos", "EthereumPow", "FetchAI", "Filecoin", "Flow", "Flare", "Moonbeam", "Helium", "ICP", "Icon", "Injective", "IOTA", "IoTex", "Iris", "Kava", "Kadena", "Klaytn", "Komodo", "Kusama", "Lisk", "Terra", "Mina", "Moonriver", "Nano", "Near", "Neo3", "Oasys", "One", "Ontology", "Osmosis", "Polymesh", "QTUM", "Oasis", "Thorchain", "Ravencoin", "Siacoin", "Shiden", "Songbird", "Stratis", "Stacks", "SUI", "zkSync", "Theta", "Tomo", "VeChain", "Waves", "Wax", "WEMIX", "WaltonChain", "Chia", "Tezos", "Zcoin", "Celestia", "Neutron", "Avalanche_P", "Sei", "Avalanche_X", "Aztec", "Bittensor", "Casper", "Deso", "Juno", "PocketNetwork", "Ronin", "Vara", "XPLA", "Archway", "Axelar", "Dymension", "Starknet", "Orai", "Lukso", "bitsCrunch", "Reef", "ImmutablezkEVM", "BaseProtocol", "ArbitrumNova", "Canto", "MetisDAO", "Aptos"];
|
|
1275
|
-
var
|
|
1283
|
+
var MerkleBlockChainName = zod.z["enum"](BlockChainNames);
|
|
1276
1284
|
var MerkleBlockChainNamesExtended = zod.z["enum"]([].concat(BlockChainNames, ["Bitcoin Cash", "Binance Smart Chain", "Ethereum Classic", "Avalanche C-Chain", "Bitcoin Gold", "Binance Native", "Cronos Native", "Ethereum Pow", "Fetch AI", "Avalanche-P", "Avalanche-X", "Pocket Network", "Immutable zkEVM", "Base Protocol", "Arbitrum Nova"]));
|
|
1277
1285
|
var BlockChainCodes = ["0", "1", "2", "3", "4", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "70", "71", "72", "73", "74", "75", "76", "77", "78", "79", "80", "81", "82", "83", "84", "85", "86", "87", "88", "89", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", "100", "101", "102", "103", "104", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123"];
|
|
1278
1286
|
var MerkleBlockChainCodes = zod.z["enum"](BlockChainCodes);
|
|
@@ -1354,12 +1362,12 @@ var MerkleAddressResponse = zod.z.union([MerkleAddressApiResponse, MerkleAddress
|
|
|
1354
1362
|
|
|
1355
1363
|
var ProviderWithoutConfig = ["chainalysis"];
|
|
1356
1364
|
var IdentityProviderOptions = ["nexeraIdSSID", "nexeraIdKYB", "synaps"];
|
|
1357
|
-
var
|
|
1365
|
+
var IdentityProvider = zod.z["enum"](IdentityProviderOptions);
|
|
1358
1366
|
var DataProviderOptions = ["complyAdvantage", "big", "scorechain", "merkleScience", "chainalysis", "ipQualityScore", "integratedComplyAdvantage", "integratedScorechain", "integratedIpqualityscore"];
|
|
1359
|
-
var
|
|
1360
|
-
var MergedProviders = zod.z["enum"]([].concat(vault_schema._toConsumableArray(
|
|
1367
|
+
var DataProvider = zod.z["enum"](DataProviderOptions);
|
|
1368
|
+
var MergedProviders = zod.z["enum"]([].concat(vault_schema._toConsumableArray(IdentityProvider.options), vault_schema._toConsumableArray(DataProvider.options)));
|
|
1361
1369
|
var MerkleScienceConfig = zod.z.object({
|
|
1362
|
-
blockchain:
|
|
1370
|
+
blockchain: MerkleBlockChainName
|
|
1363
1371
|
});
|
|
1364
1372
|
var ChainalysisConfig = ChainalysisRequest.omit({
|
|
1365
1373
|
address: true
|
|
@@ -1469,7 +1477,7 @@ var SynapsProvider = BaseProvider.extend({
|
|
|
1469
1477
|
var ProviderData = zod.z.object({
|
|
1470
1478
|
id: zod.z.string(),
|
|
1471
1479
|
projectId: zod.z.string(),
|
|
1472
|
-
provider: zod.z.union([
|
|
1480
|
+
provider: zod.z.union([IdentityProvider, DataProvider]),
|
|
1473
1481
|
type: zod.z["enum"](["identity", "data"]),
|
|
1474
1482
|
nexeraIdSSID: NexeraIdSSIDProvider.nullish(),
|
|
1475
1483
|
nexeraIdKYB: NexeraIdKYBProvider.nullish(),
|
|
@@ -2616,8 +2624,8 @@ exports.CredentialMetadata = CredentialMetadata;
|
|
|
2616
2624
|
exports.CustomerContactInformationOutput = CustomerContactInformationOutput;
|
|
2617
2625
|
exports.CustomerDocumentMetaData = CustomerDocumentMetaData;
|
|
2618
2626
|
exports.CustomerStatusResults = CustomerStatusResults;
|
|
2627
|
+
exports.DataProvider = DataProvider;
|
|
2619
2628
|
exports.DataProviderOptions = DataProviderOptions;
|
|
2620
|
-
exports.DataProviders = DataProviders;
|
|
2621
2629
|
exports.DeleteProviderInput = DeleteProviderInput;
|
|
2622
2630
|
exports.DeleteProviderResponse = DeleteProviderResponse;
|
|
2623
2631
|
exports.DocumentIdMetadata = DocumentIdMetadata;
|
|
@@ -2638,8 +2646,8 @@ exports.GetProviderResponse = GetProviderResponse;
|
|
|
2638
2646
|
exports.GetProvidersResponse = GetProvidersResponse;
|
|
2639
2647
|
exports.HIGH_RISK_TYPES = HIGH_RISK_TYPES;
|
|
2640
2648
|
exports.INDIVIDUAL_BENEFICIARY_RELATIONS = INDIVIDUAL_BENEFICIARY_RELATIONS;
|
|
2649
|
+
exports.IdentityProvider = IdentityProvider;
|
|
2641
2650
|
exports.IdentityProviderOptions = IdentityProviderOptions;
|
|
2642
|
-
exports.IdentityProviders = IdentityProviders;
|
|
2643
2651
|
exports.IndividualBeneficiaryRelation = IndividualBeneficiaryRelation;
|
|
2644
2652
|
exports.IpQualityAnalysisRequest = IpQualityAnalysisRequest;
|
|
2645
2653
|
exports.IpQualityAnalysisResponse = IpQualityAnalysisResponse;
|
|
@@ -2673,7 +2681,7 @@ exports.MerkleAddressApiResponse = MerkleAddressApiResponse;
|
|
|
2673
2681
|
exports.MerkleAddressRequest = MerkleAddressRequest;
|
|
2674
2682
|
exports.MerkleAddressResponse = MerkleAddressResponse;
|
|
2675
2683
|
exports.MerkleBlockChainCodes = MerkleBlockChainCodes;
|
|
2676
|
-
exports.
|
|
2684
|
+
exports.MerkleBlockChainName = MerkleBlockChainName;
|
|
2677
2685
|
exports.MerkleBlockChainTypes = MerkleBlockChainTypes;
|
|
2678
2686
|
exports.MerkleScienceConfig = MerkleScienceConfig;
|
|
2679
2687
|
exports.MerkleScienceProvider = MerkleScienceProvider;
|
|
@@ -2805,5 +2813,6 @@ exports.WebhookPayload = WebhookPayload;
|
|
|
2805
2813
|
exports.WebhookType = WebhookType;
|
|
2806
2814
|
exports.WorkflowsScorechainConfig = WorkflowsScorechainConfig;
|
|
2807
2815
|
exports.WorkflowsScoringAnalysisRequest = WorkflowsScoringAnalysisRequest;
|
|
2816
|
+
exports.WrappedIpQualityServiceErrorResponse = WrappedIpQualityServiceErrorResponse;
|
|
2808
2817
|
exports.mappingMatchTypeToLabel = mappingMatchTypeToLabel;
|
|
2809
2818
|
exports.typeToHumanReadable = typeToHumanReadable;
|
package/dist/{CoinMarketCap.schema-9747956b.cjs.dev.cjs → CoinMarketCap.schema-fd3f57d7.cjs.dev.cjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var zod = require('zod');
|
|
4
|
-
var vault_schema = require('./vault.schema-
|
|
5
|
-
var identityApi_schema = require('./identity-api.schema-
|
|
4
|
+
var vault_schema = require('./vault.schema-a005010c.cjs.dev.cjs');
|
|
5
|
+
var identityApi_schema = require('./identity-api.schema-df01f4ad.cjs.dev.cjs');
|
|
6
6
|
|
|
7
7
|
// based on https://tech-doc.api.scorechain.com/
|
|
8
8
|
var ANALYSIS_TYPES = ["ASSIGNED", "INCOMING", "OUTGOING", "FULL"];
|
|
@@ -298,9 +298,10 @@ var RESULT_PARSER_ERROR$2 = zod.z.object({
|
|
|
298
298
|
data: zod.z.string()
|
|
299
299
|
}).describe("This is a fallback error, if zod parse fails on result");
|
|
300
300
|
var IpQualityServiceErrorResponse = zod.z.union([UNAUTHORIZED_KEY, UNKNOWN_ERROR$2, RESULT_PARSER_ERROR$2]);
|
|
301
|
-
var
|
|
301
|
+
var WrappedIpQualityServiceErrorResponse = zod.z.object({
|
|
302
302
|
error: IpQualityServiceErrorResponse
|
|
303
|
-
})
|
|
303
|
+
});
|
|
304
|
+
var IpQualityServiceAnalysisResponse = zod.z.union([WrappedIpQualityServiceErrorResponse, IpQualityServiceAnalysis]);
|
|
304
305
|
|
|
305
306
|
var BigCryptoChain = zod.z["enum"](["btc",
|
|
306
307
|
// Bitcoin
|
|
@@ -758,13 +759,20 @@ var SynapsStepResponse = zod.z.union([zod.z.object({
|
|
|
758
759
|
})]);
|
|
759
760
|
|
|
760
761
|
var CoerceDateUTC = zod.z.preprocess(function (value) {
|
|
761
|
-
if (
|
|
762
|
+
if (value === null || value === undefined) return undefined;
|
|
762
763
|
if (value instanceof Date) {
|
|
763
764
|
return value;
|
|
764
765
|
}
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
766
|
+
if (typeof value === "string") {
|
|
767
|
+
var inputDateString = value.endsWith("Z") ? value : "".concat(value, "Z");
|
|
768
|
+
var date = new Date(inputDateString);
|
|
769
|
+
if (isNaN(date.getTime())) {
|
|
770
|
+
return undefined; // Invalid date string
|
|
771
|
+
}
|
|
772
|
+
return date;
|
|
773
|
+
}
|
|
774
|
+
return undefined; // Invalid input type
|
|
775
|
+
// without forcing this ... errors between type and schema can occur.
|
|
768
776
|
}, zod.z.date());
|
|
769
777
|
var SEARCH_FILTER_SANCTION_TYPE = ["sanction", "warning", "fitness-probity"];
|
|
770
778
|
var SearchFilterSanctionType = zod.z["enum"](SEARCH_FILTER_SANCTION_TYPE);
|
|
@@ -1272,7 +1280,7 @@ var MerkleBlockChainTypes = {
|
|
|
1272
1280
|
Aptos: "123"
|
|
1273
1281
|
};
|
|
1274
1282
|
var BlockChainNames = ["Bitcoin", "Ethereum", "Litecoin", "BitcoinCash", "Ripple", "Dogecoin", "Zilliqa", "BinanceSmartChain", "Polygon", "Tron", "Cardano", "Polkadot", "Stellar", "Hedera", "Cronos", "Optimism", "Arbitrum", "Fantom", "Monero", "Cosmos", "Zcash", "EthereumClassic", "Dash", "Solana", "AvalancheC_Chain", "Verge", "BitcoinGold", "Algorand", "Acala", "Akash", "Arweave", "Ardor", "Ark", "Astar", "Band", "BinanceNative", "Celo", "Chiliz", "Nervos", "CronosNative", "Digibyte", "Multiversx", "Enjin", "Eos", "EthereumPow", "FetchAI", "Filecoin", "Flow", "Flare", "Moonbeam", "Helium", "ICP", "Icon", "Injective", "IOTA", "IoTex", "Iris", "Kava", "Kadena", "Klaytn", "Komodo", "Kusama", "Lisk", "Terra", "Mina", "Moonriver", "Nano", "Near", "Neo3", "Oasys", "One", "Ontology", "Osmosis", "Polymesh", "QTUM", "Oasis", "Thorchain", "Ravencoin", "Siacoin", "Shiden", "Songbird", "Stratis", "Stacks", "SUI", "zkSync", "Theta", "Tomo", "VeChain", "Waves", "Wax", "WEMIX", "WaltonChain", "Chia", "Tezos", "Zcoin", "Celestia", "Neutron", "Avalanche_P", "Sei", "Avalanche_X", "Aztec", "Bittensor", "Casper", "Deso", "Juno", "PocketNetwork", "Ronin", "Vara", "XPLA", "Archway", "Axelar", "Dymension", "Starknet", "Orai", "Lukso", "bitsCrunch", "Reef", "ImmutablezkEVM", "BaseProtocol", "ArbitrumNova", "Canto", "MetisDAO", "Aptos"];
|
|
1275
|
-
var
|
|
1283
|
+
var MerkleBlockChainName = zod.z["enum"](BlockChainNames);
|
|
1276
1284
|
var MerkleBlockChainNamesExtended = zod.z["enum"]([].concat(BlockChainNames, ["Bitcoin Cash", "Binance Smart Chain", "Ethereum Classic", "Avalanche C-Chain", "Bitcoin Gold", "Binance Native", "Cronos Native", "Ethereum Pow", "Fetch AI", "Avalanche-P", "Avalanche-X", "Pocket Network", "Immutable zkEVM", "Base Protocol", "Arbitrum Nova"]));
|
|
1277
1285
|
var BlockChainCodes = ["0", "1", "2", "3", "4", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "70", "71", "72", "73", "74", "75", "76", "77", "78", "79", "80", "81", "82", "83", "84", "85", "86", "87", "88", "89", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", "100", "101", "102", "103", "104", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123"];
|
|
1278
1286
|
var MerkleBlockChainCodes = zod.z["enum"](BlockChainCodes);
|
|
@@ -1354,12 +1362,12 @@ var MerkleAddressResponse = zod.z.union([MerkleAddressApiResponse, MerkleAddress
|
|
|
1354
1362
|
|
|
1355
1363
|
var ProviderWithoutConfig = ["chainalysis"];
|
|
1356
1364
|
var IdentityProviderOptions = ["nexeraIdSSID", "nexeraIdKYB", "synaps"];
|
|
1357
|
-
var
|
|
1365
|
+
var IdentityProvider = zod.z["enum"](IdentityProviderOptions);
|
|
1358
1366
|
var DataProviderOptions = ["complyAdvantage", "big", "scorechain", "merkleScience", "chainalysis", "ipQualityScore", "integratedComplyAdvantage", "integratedScorechain", "integratedIpqualityscore"];
|
|
1359
|
-
var
|
|
1360
|
-
var MergedProviders = zod.z["enum"]([].concat(vault_schema._toConsumableArray(
|
|
1367
|
+
var DataProvider = zod.z["enum"](DataProviderOptions);
|
|
1368
|
+
var MergedProviders = zod.z["enum"]([].concat(vault_schema._toConsumableArray(IdentityProvider.options), vault_schema._toConsumableArray(DataProvider.options)));
|
|
1361
1369
|
var MerkleScienceConfig = zod.z.object({
|
|
1362
|
-
blockchain:
|
|
1370
|
+
blockchain: MerkleBlockChainName
|
|
1363
1371
|
});
|
|
1364
1372
|
var ChainalysisConfig = ChainalysisRequest.omit({
|
|
1365
1373
|
address: true
|
|
@@ -1469,7 +1477,7 @@ var SynapsProvider = BaseProvider.extend({
|
|
|
1469
1477
|
var ProviderData = zod.z.object({
|
|
1470
1478
|
id: zod.z.string(),
|
|
1471
1479
|
projectId: zod.z.string(),
|
|
1472
|
-
provider: zod.z.union([
|
|
1480
|
+
provider: zod.z.union([IdentityProvider, DataProvider]),
|
|
1473
1481
|
type: zod.z["enum"](["identity", "data"]),
|
|
1474
1482
|
nexeraIdSSID: NexeraIdSSIDProvider.nullish(),
|
|
1475
1483
|
nexeraIdKYB: NexeraIdKYBProvider.nullish(),
|
|
@@ -2616,8 +2624,8 @@ exports.CredentialMetadata = CredentialMetadata;
|
|
|
2616
2624
|
exports.CustomerContactInformationOutput = CustomerContactInformationOutput;
|
|
2617
2625
|
exports.CustomerDocumentMetaData = CustomerDocumentMetaData;
|
|
2618
2626
|
exports.CustomerStatusResults = CustomerStatusResults;
|
|
2627
|
+
exports.DataProvider = DataProvider;
|
|
2619
2628
|
exports.DataProviderOptions = DataProviderOptions;
|
|
2620
|
-
exports.DataProviders = DataProviders;
|
|
2621
2629
|
exports.DeleteProviderInput = DeleteProviderInput;
|
|
2622
2630
|
exports.DeleteProviderResponse = DeleteProviderResponse;
|
|
2623
2631
|
exports.DocumentIdMetadata = DocumentIdMetadata;
|
|
@@ -2638,8 +2646,8 @@ exports.GetProviderResponse = GetProviderResponse;
|
|
|
2638
2646
|
exports.GetProvidersResponse = GetProvidersResponse;
|
|
2639
2647
|
exports.HIGH_RISK_TYPES = HIGH_RISK_TYPES;
|
|
2640
2648
|
exports.INDIVIDUAL_BENEFICIARY_RELATIONS = INDIVIDUAL_BENEFICIARY_RELATIONS;
|
|
2649
|
+
exports.IdentityProvider = IdentityProvider;
|
|
2641
2650
|
exports.IdentityProviderOptions = IdentityProviderOptions;
|
|
2642
|
-
exports.IdentityProviders = IdentityProviders;
|
|
2643
2651
|
exports.IndividualBeneficiaryRelation = IndividualBeneficiaryRelation;
|
|
2644
2652
|
exports.IpQualityAnalysisRequest = IpQualityAnalysisRequest;
|
|
2645
2653
|
exports.IpQualityAnalysisResponse = IpQualityAnalysisResponse;
|
|
@@ -2673,7 +2681,7 @@ exports.MerkleAddressApiResponse = MerkleAddressApiResponse;
|
|
|
2673
2681
|
exports.MerkleAddressRequest = MerkleAddressRequest;
|
|
2674
2682
|
exports.MerkleAddressResponse = MerkleAddressResponse;
|
|
2675
2683
|
exports.MerkleBlockChainCodes = MerkleBlockChainCodes;
|
|
2676
|
-
exports.
|
|
2684
|
+
exports.MerkleBlockChainName = MerkleBlockChainName;
|
|
2677
2685
|
exports.MerkleBlockChainTypes = MerkleBlockChainTypes;
|
|
2678
2686
|
exports.MerkleScienceConfig = MerkleScienceConfig;
|
|
2679
2687
|
exports.MerkleScienceProvider = MerkleScienceProvider;
|
|
@@ -2805,5 +2813,6 @@ exports.WebhookPayload = WebhookPayload;
|
|
|
2805
2813
|
exports.WebhookType = WebhookType;
|
|
2806
2814
|
exports.WorkflowsScorechainConfig = WorkflowsScorechainConfig;
|
|
2807
2815
|
exports.WorkflowsScoringAnalysisRequest = WorkflowsScoringAnalysisRequest;
|
|
2816
|
+
exports.WrappedIpQualityServiceErrorResponse = WrappedIpQualityServiceErrorResponse;
|
|
2808
2817
|
exports.mappingMatchTypeToLabel = mappingMatchTypeToLabel;
|
|
2809
2818
|
exports.typeToHumanReadable = typeToHumanReadable;
|
|
@@ -22,13 +22,7 @@ export declare const CustomerOnboardingLevels: readonly ["Sign-up", "AML screeni
|
|
|
22
22
|
export declare const CustomerOnboardingLevel: z.ZodEnum<["Sign-up", "AML screening", "KYC", "Questionaire", "Onboarded", "Onboarding", "KYB", "Onboarded"]>;
|
|
23
23
|
export type CustomerOnboardingLevel = z.infer<typeof CustomerOnboardingLevel>;
|
|
24
24
|
export declare const CustomerStatuses: readonly ["Active", "Rejected", "Dormant", "To be reviewed", "Failed", "Escalated", "Terminated", "No status"];
|
|
25
|
-
|
|
26
|
-
* We changed the status names to be more user-friendly, that's why we need to preprocess the data
|
|
27
|
-
* “Closed” -> “Terminated”
|
|
28
|
-
* “Blocked” -> “Rejected”
|
|
29
|
-
* “Under Investigation” -> “To be reviewed”
|
|
30
|
-
*/
|
|
31
|
-
export declare const CustomerStatus: z.ZodEffects<z.ZodEnum<["Active", "Rejected", "Dormant", "To be reviewed", "Failed", "Escalated", "Terminated", "No status"]>, "Active" | "Rejected" | "Dormant" | "To be reviewed" | "Failed" | "Escalated" | "Terminated" | "No status", unknown>;
|
|
25
|
+
export declare const CustomerStatus: z.ZodEnum<["Active", "Rejected", "Dormant", "To be reviewed", "Failed", "Escalated", "Terminated", "No status"]>;
|
|
32
26
|
export type CustomerStatus = z.infer<typeof CustomerStatus>;
|
|
33
27
|
export declare const BasicCustomerContactInformation: z.ZodObject<{
|
|
34
28
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"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,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,eAAO,MAAM,wBAAwB,6GAG3B,CAAC;AACX,eAAO,MAAM,uBAAuB,+GAAmC,CAAC;AACxE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAG9E,eAAO,MAAM,gBAAgB,gHASnB,CAAC;AACX,eAAO,MAAM,cAAc,kHAA2B,CAAC;AACvD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;EAQhC,CAAC;AAEb,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,+BAA+B,CACvC,CAAC;AAEF,eAAO,MAAM,gBAAgB,iLAUnB,CAAC;AAEX,eAAO,MAAM,kBAAkB,mLAA2B,CAAC;AAC3D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,eAAO,MAAM,sBAAsB,qJAUzB,CAAC;AAEX,eAAO,MAAM,mBAAmB,uJAAiC,CAAC;AAClE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEtE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CvC,CAAC"}
|
|
@@ -1171,13 +1171,13 @@ export declare const TxAuthDataSignatureGatingError: z.ZodObject<{
|
|
|
1171
1171
|
export type TxAuthDataSignatureGatingError = z.infer<typeof TxAuthDataSignatureGatingError>;
|
|
1172
1172
|
export declare const GetCustomerStatusResponse: z.ZodObject<{
|
|
1173
1173
|
type: z.ZodLiteral<"getCustomerStatusResponse">;
|
|
1174
|
-
data: z.ZodUnion<[z.
|
|
1174
|
+
data: z.ZodUnion<[z.ZodEnum<["Active", "Rejected", "Dormant", "To be reviewed", "Failed", "Escalated", "Terminated", "No status"]>, z.ZodNull]>;
|
|
1175
1175
|
}, "strip", z.ZodTypeAny, {
|
|
1176
1176
|
type: "getCustomerStatusResponse";
|
|
1177
1177
|
data: "Active" | "Rejected" | "Dormant" | "To be reviewed" | "Failed" | "Escalated" | "Terminated" | "No status" | null;
|
|
1178
1178
|
}, {
|
|
1179
1179
|
type: "getCustomerStatusResponse";
|
|
1180
|
-
data
|
|
1180
|
+
data: "Active" | "Rejected" | "Dormant" | "To be reviewed" | "Failed" | "Escalated" | "Terminated" | "No status" | null;
|
|
1181
1181
|
}>;
|
|
1182
1182
|
export type GetCustomerStatusResponse = z.infer<typeof GetCustomerStatusResponse>;
|
|
1183
1183
|
export declare const IdentityAppMessage: z.ZodUnion<[z.ZodObject<{
|
|
@@ -1434,13 +1434,13 @@ export declare const IdentityAppMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
1434
1434
|
};
|
|
1435
1435
|
}>, z.ZodObject<{
|
|
1436
1436
|
type: z.ZodLiteral<"getCustomerStatusResponse">;
|
|
1437
|
-
data: z.ZodUnion<[z.
|
|
1437
|
+
data: z.ZodUnion<[z.ZodEnum<["Active", "Rejected", "Dormant", "To be reviewed", "Failed", "Escalated", "Terminated", "No status"]>, z.ZodNull]>;
|
|
1438
1438
|
}, "strip", z.ZodTypeAny, {
|
|
1439
1439
|
type: "getCustomerStatusResponse";
|
|
1440
1440
|
data: "Active" | "Rejected" | "Dormant" | "To be reviewed" | "Failed" | "Escalated" | "Terminated" | "No status" | null;
|
|
1441
1441
|
}, {
|
|
1442
1442
|
type: "getCustomerStatusResponse";
|
|
1443
|
-
data
|
|
1443
|
+
data: "Active" | "Rejected" | "Dormant" | "To be reviewed" | "Failed" | "Escalated" | "Terminated" | "No status" | null;
|
|
1444
1444
|
}>, z.ZodObject<Omit<{
|
|
1445
1445
|
type: z.ZodLiteral<"kycCompletion">;
|
|
1446
1446
|
identifier: z.ZodString;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { UuidString } from "./config.schema.js";
|
|
3
2
|
export declare const StoragePrefix = "storage";
|
|
4
3
|
export declare const IdentityPrefix = "identity";
|
|
5
4
|
export declare const EmailPrefix = "email";
|
|
@@ -27,6 +26,10 @@ export declare const ListPrefix = "list";
|
|
|
27
26
|
export declare const QueryPrefix = "query";
|
|
28
27
|
export declare const ActionPrefix = "action";
|
|
29
28
|
export declare const WorkflowSessionAttributePrefix = "wsatr";
|
|
29
|
+
export declare const AmlScreeningSessionStepPrefix = "amsss";
|
|
30
|
+
export declare const DuplicateDetectionSessionStepPrefix = "dudss";
|
|
31
|
+
export declare const FraudDetectionSessionStepPrefix = "frdss";
|
|
32
|
+
export declare const WalletScreeningSessionStepPrefix = "wasss";
|
|
30
33
|
export type StoragePrefix = typeof StoragePrefix;
|
|
31
34
|
export type IdentityPrefix = typeof IdentityPrefix;
|
|
32
35
|
export type EmailPrefix = typeof EmailPrefix;
|
|
@@ -54,6 +57,10 @@ export type InstitutionPrefix = typeof InstitutionPrefix;
|
|
|
54
57
|
export type InstitutionExtractedInfosPrefix = typeof InstitutionExtractedInfosPrefix;
|
|
55
58
|
export type TransactionAmountPrefix = typeof TransactionAmountPrefix;
|
|
56
59
|
export type WorkflowSessionAttributePrefix = typeof WorkflowSessionAttributePrefix;
|
|
60
|
+
export type AmlScreeningSessionStepPrefix = typeof AmlScreeningSessionStepPrefix;
|
|
61
|
+
export type DuplicateDetectionSessionStepPrefix = typeof DuplicateDetectionSessionStepPrefix;
|
|
62
|
+
export type FraudDetectionSessionStepPrefix = typeof FraudDetectionSessionStepPrefix;
|
|
63
|
+
export type WalletScreeningSessionStepPrefix = typeof WalletScreeningSessionStepPrefix;
|
|
57
64
|
export type StorageId = `${StoragePrefix}_${string}`;
|
|
58
65
|
export type IdentityId = `${IdentityPrefix}_${string}`;
|
|
59
66
|
export type EmailId = `${EmailPrefix}_${string}`;
|
|
@@ -81,7 +88,13 @@ export type ScenarioId = `${ScenarioPrefix}_${string}`;
|
|
|
81
88
|
export type ListId = `${ListPrefix}_${string}`;
|
|
82
89
|
export type QueryId = `${QueryPrefix}_${string}`;
|
|
83
90
|
export type WorkflowSessionAttributeId = `${WorkflowSessionAttributePrefix}_${string}`;
|
|
84
|
-
export
|
|
91
|
+
export type AmlScreeningSessionStepId = `${AmlScreeningSessionStepPrefix}_${string}`;
|
|
92
|
+
export type DuplicateDetectionSessionStepId = `${DuplicateDetectionSessionStepPrefix}_${string}`;
|
|
93
|
+
export type FraudDetectionSessionStepId = `${FraudDetectionSessionStepPrefix}_${string}`;
|
|
94
|
+
export type WalletScreeningSessionStepId = `${WalletScreeningSessionStepPrefix}_${string}`;
|
|
95
|
+
export declare const WorkflowSessionId: z.ZodString;
|
|
96
|
+
export type WorkflowSessionId = z.infer<typeof WorkflowSessionId>;
|
|
97
|
+
export declare const createBrandedSchemaId: <T extends string>(brand: StorageId | IdentityId | EmailId | WalletId | AppId | ChallengeId | TestId | CustomerScreeningId | ScenarioId | ListId | QueryId | ActionId | TagId | TagsToTransactionReviewsId | TransactionAddressesId | TransactionId | TransactionFeesId | TransactionReviewId | TransactionPartiesId | TransactionInfosId | TransactionExtractedInfosId | TransactionMethodsId | TransactionMethodExtractedInfosId | InstitutionId | WorkflowSessionAttributeId | InstitutionExtractedInfosId | AmlScreeningSessionStepId | DuplicateDetectionSessionStepId | FraudDetectionSessionStepId | WalletScreeningSessionStepId | TransactionAmountId) => z.ZodType<T, z.ZodTypeDef, T>;
|
|
85
98
|
export declare const StorageId: z.ZodType<`storage_${string}`, z.ZodTypeDef, `storage_${string}`>;
|
|
86
99
|
export declare const IdentityId: z.ZodType<`identity_${string}`, z.ZodTypeDef, `identity_${string}`>;
|
|
87
100
|
export declare const EmailId: z.ZodType<`email_${string}`, z.ZodTypeDef, `email_${string}`>;
|
|
@@ -108,10 +121,12 @@ export declare const TransactionAmountId: z.ZodType<`txam_${string}`, z.ZodTypeD
|
|
|
108
121
|
export declare const ScenarioId: z.ZodType<`scenario_${string}`, z.ZodTypeDef, `scenario_${string}`>;
|
|
109
122
|
export declare const ListId: z.ZodType<`list_${string}`, z.ZodTypeDef, `list_${string}`>;
|
|
110
123
|
export declare const QueryId: z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>;
|
|
111
|
-
export declare const WorkflowSessionId: z.ZodString;
|
|
112
|
-
export type WorkflowSessionId = UuidString;
|
|
113
124
|
export declare const WorkflowSessionAttributeId: z.ZodType<`wsatr_${string}`, z.ZodTypeDef, `wsatr_${string}`>;
|
|
114
|
-
export declare const
|
|
125
|
+
export declare const AmlScreeningSessionStepId: z.ZodType<`amsss_${string}`, z.ZodTypeDef, `amsss_${string}`>;
|
|
126
|
+
export declare const DuplicateDetectionSessionStepId: z.ZodType<`dudss_${string}`, z.ZodTypeDef, `dudss_${string}`>;
|
|
127
|
+
export declare const FraudDetectionSessionStepId: z.ZodType<`frdss_${string}`, z.ZodTypeDef, `frdss_${string}`>;
|
|
128
|
+
export declare const WalletScreeningSessionStepId: z.ZodType<`wasss_${string}`, z.ZodTypeDef, `wasss_${string}`>;
|
|
129
|
+
export declare const generateId: <T extends string>(type: T & (ActionPrefix | AmlScreeningSessionStepPrefix | AppPrefix | ChallengePrefix | CustomerScreeningPrefix | DuplicateDetectionSessionStepPrefix | EmailPrefix | FraudDetectionSessionStepPrefix | IdentityPrefix | InstitutionExtractedInfosPrefix | InstitutionPrefix | ListPrefix | QueryPrefix | ScenarioPrefix | StoragePrefix | TagPrefix | TagsToTransactionReviewsPrefix | TestPrefix | TransactionAmountPrefix | TransactionAddressesPrefix | TransactionExtractedInfosPrefix | TransactionFeesPrefix | TransactionInfosPrefix | TransactionMethodExtractedInfosPrefix | TransactionMethodsPrefix | TransactionPartiesPrefix | TransactionPrefix | TransactionReviewPrefix | WalletPrefix | WalletScreeningSessionStepPrefix | WorkflowSessionAttributePrefix)) => `${T}_${string}`;
|
|
115
130
|
export declare const MemberId: z.ZodString;
|
|
116
131
|
export type MemberId = z.infer<typeof MemberId>;
|
|
117
132
|
//# sourceMappingURL=identity-ids.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-ids.schema.d.ts","sourceRoot":"../../../src","sources":["identity-ids.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"identity-ids.schema.d.ts","sourceRoot":"../../../src","sources":["identity-ids.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,aAAa,YAAY,CAAC;AACvC,eAAO,MAAM,cAAc,aAAa,CAAC;AACzC,eAAO,MAAM,WAAW,UAAU,CAAC;AACnC,eAAO,MAAM,YAAY,WAAW,CAAC;AACrC,eAAO,MAAM,SAAS,QAAQ,CAAC;AAC/B,eAAO,MAAM,eAAe,cAAc,CAAC;AAC3C,eAAO,MAAM,UAAU,SAAS,CAAC;AACjC,eAAO,MAAM,uBAAuB,WAAW,CAAC;AAChD,eAAO,MAAM,SAAS,QAAQ,CAAC;AAG/B,eAAO,MAAM,8BAA8B,SAAS,CAAC;AACrD,eAAO,MAAM,0BAA0B,QAAQ,CAAC;AAChD,eAAO,MAAM,iBAAiB,OAAO,CAAC;AACtC,eAAO,MAAM,qBAAqB,QAAQ,CAAC;AAC3C,eAAO,MAAM,uBAAuB,UAAU,CAAC;AAC/C,eAAO,MAAM,wBAAwB,UAAU,CAAC;AAChD,eAAO,MAAM,sBAAsB,QAAQ,CAAC;AAC5C,eAAO,MAAM,+BAA+B,SAAS,CAAC;AACtD,eAAO,MAAM,wBAAwB,QAAQ,CAAC;AAC9C,eAAO,MAAM,qCAAqC,UAAU,CAAC;AAC7D,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AACvC,eAAO,MAAM,+BAA+B,UAAU,CAAC;AACvD,e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AAiB,GACjB,UAAU,GACV,WAAW,GACX,cAAc,GACd,aAAa,GACb,SAAS,GACT,8BAA8B,GAC9B,UAAU,GACV,uBAAuB,GACvB,0BAA0B,GAC1B,+BAA+B,GAC/B,qBAAqB,GACrB,sBAAsB,GACtB,qCAAqC,GACrC,wBAAwB,GACxB,wBAAwB,GACxB,iBAAiB,GACjB,uBAAuB,GACvB,YAAY,GACZ,gCAAgC,GAChC,8BAA8B,CACjC,KACF,GAAG,CAAC,IAAI,MAAM,EAEhB,CAAC;AAEF,eAAO,MAAM,QAAQ,aAAa,CAAC;AACnC,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
|
@@ -212,6 +212,7 @@ export declare const ChainalysisRiskAssessmentApiResponse: z.ZodObject<{
|
|
|
212
212
|
fees?: number | null | undefined;
|
|
213
213
|
} | null | undefined;
|
|
214
214
|
}>;
|
|
215
|
+
export type ChainalysisRiskAssessmentApiResponse = z.infer<typeof ChainalysisRiskAssessmentApiResponse>;
|
|
215
216
|
export declare const ChainalysisApiError: z.ZodObject<{
|
|
216
217
|
statusCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
217
218
|
error: z.ZodObject<{
|
|
@@ -242,7 +243,7 @@ export declare const ChainalysisApiError: z.ZodObject<{
|
|
|
242
243
|
};
|
|
243
244
|
statusCode?: number | null | undefined;
|
|
244
245
|
}>;
|
|
245
|
-
export type
|
|
246
|
+
export type ChainalysisApiError = z.infer<typeof ChainalysisApiError>;
|
|
246
247
|
export declare const ChainalysisRegisterResponse: z.ZodUnion<[z.ZodObject<{
|
|
247
248
|
statusCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
248
249
|
address: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chainalysis.schema.d.ts","sourceRoot":"../../../../../src/providers/chainalysis","sources":["chainalysis.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EA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