@nexeraid/identity-schemas 2.3.23-staging → 2.3.24-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/{customers.schema-f7da825d.esm.js → customers.schema-0306abb6.esm.js} +1 -1
- package/dist/{customers.schema-56ca4b11.cjs.dev.js → customers.schema-cc3df18f.cjs.dev.js} +1 -1
- package/dist/{customers.schema-c6702f96.cjs.prod.js → customers.schema-f0d472b1.cjs.prod.js} +1 -1
- package/dist/declarations/src/identity-ids.schema.d.ts +65 -29
- package/dist/declarations/src/identity-ids.schema.d.ts.map +1 -1
- package/dist/declarations/src/webhooks/index.d.ts +1 -0
- package/dist/declarations/src/webhooks/index.d.ts.map +1 -1
- package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts +2356 -38
- package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts.map +1 -1
- package/dist/declarations/src/webhooks/tms.webhooks.schema.d.ts +46 -0
- package/dist/declarations/src/webhooks/tms.webhooks.schema.d.ts.map +1 -0
- package/dist/{frontend-utilities.schema-e16f9289.esm.js → frontend-utilities.schema-02fc8336.esm.js} +1 -1
- package/dist/{frontend-utilities.schema-3fd03e9f.cjs.dev.js → frontend-utilities.schema-0be040b7.cjs.dev.js} +1 -1
- package/dist/{frontend-utilities.schema-bb63f894.cjs.prod.js → frontend-utilities.schema-cd88e673.cjs.prod.js} +1 -1
- package/dist/{identity-api.schema-04a016a1.cjs.dev.js → identity-api.schema-2de31155.cjs.prod.js} +70 -18
- package/dist/{identity-api.schema-2a4cdb96.esm.js → identity-api.schema-68a83f54.esm.js} +53 -19
- package/dist/{identity-api.schema-00c99eb6.cjs.prod.js → identity-api.schema-bbb2c243.cjs.dev.js} +70 -18
- package/dist/nexeraid-identity-schemas.cjs.d.ts +1 -1
- package/dist/nexeraid-identity-schemas.cjs.dev.js +35 -38
- package/dist/nexeraid-identity-schemas.cjs.prod.js +35 -38
- package/dist/nexeraid-identity-schemas.esm.d.mts +1 -1
- package/dist/nexeraid-identity-schemas.esm.js +5 -26
- package/dist/package.json +2 -2
- package/dist/transaction.schema-2141e819.cjs.dev.js +40 -0
- package/dist/transaction.schema-7297e823.cjs.prod.js +40 -0
- package/dist/transaction.schema-fb699c40.esm.js +25 -0
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.d.ts +1 -1
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.js +1 -1
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.js +1 -1
- package/identity/dist/nexeraid-identity-schemas-identity.esm.js +1 -1
- package/package.json +2 -2
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.d.ts +1 -1
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.js +2 -2
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.js +2 -2
- package/providers/dist/nexeraid-identity-schemas-providers.esm.js +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.d.ts +1 -1
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.js +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.js +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.js +2 -2
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.d.ts +1 -1
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.js +97 -7
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.js +97 -7
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.js +90 -8
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { c$ as ARRAY_OPERATORS, cK as AUTHORIZATION_REQUEST_MESSAGE_TYPES, bD as AVAILABLE_FLOWS, cW as AllCredentialAttributes, cX as AllCredentialValues, dM as AllScenarioExecutionAuthorizationData, dG as AnyTxAuthDataSignatureResponse, dD as AnyTxAuthInput, dy as ApiTezosTxAuthInput, du as ApiTxAuthInput, d0 as ArrayOperator, cS as AuthQrCodeData, cp as AuthSession, cq as AuthSessionData, cN as AuthorizationRequestMessage, cM as AuthorizationRequestMessageType, cL as AuthorizationRequestMessageTypes, cQ as AuthorizationResponseMessage, bE as AvailableFlow, d5 as BOOLEAN_OPERATORS, d6 as BooleanOperator, cH as CIRCUIT_IDS, bL as ChallengeQueryOperator, bN as ChallengeQueryOperatorToOperator, bK as ChallengeQueryOperators, bO as ChallengeQuerySchema, cr as ChallengeResponse, cI as CircuitId, bl as CloseScreenNotification, c7 as ComplianceImplementationStepsInput, dK as CreateAuthRequestProps, dk as CreateQueryConfigurationInput, dl as CreateQueryConfigurationResponse, dL as CreateZKProofRequestProps, cR as CredentialQrCodeData, d7 as DATE_OPERATORS, bF as DataAvailableOnStart, d8 as DateOperator, dp as DeleteQueryConfigurationInput, dq as DeleteQueryConfigurationResponse, bQ as ExecuteChallengeQueryConfig, bP as ExecuteChallengeQueryInput, bS as ExecuteChallengeQueryResponse, dF as ExtendedTezosTxAuthDataSignatureResponse, dC as ExtendedTezosTxAuthInput, dE as ExtendedTxAuthDataSignatureResponse, dB as ExtendedTxAuthInput, co as GenerateWalletChallengeRequest, c9 as GetCredentialsRequest, ca as GetCredentialsResponse, cu as GetCustomerStatusRequest, cy as GetCustomerStatusResponse, dA as GetTezosTxAuthDataSignatureResponse, dw as GetTxAuthDataSignatureResponse, ci as GetTxAuthSigRequest, ck as GetTxAuthSigRequestTezos, cj as GetTxAuthSigResponse, cl as GetTxAuthSigResponseTezos, cB as HostMessage, cm as HostRequestMessage, bJ as HostResponseMessage, dc as IDInformation, cz as IdentityAppMessage, cC as IdentityMessage, bx as IdentityNotificationMessage, bC as IdentityRequestMessage, cn as IdentityResponseMessage, cv as IdentitySdkMessage, cw as IdentitySdkMessageWithIdentifier, cA as IdentityWallet, by as InitialDataRequest, bG as InitialDataResponse, bt as IsVerifiedNotification, cg as IsVerifiedRequest, ch as IsVerifiedResponse, bm as KycCompletionData, bn as KycCompletionNotification, cF as MediaType, cG as MediaTypePID, d3 as NUMERIC_OPERATORS, dj as NonParsedQueryConfiguration, d4 as NumericOperator, bT as OPAChallengeQuery, bv as OcvSdkInitialized, bp as OffChainScenarioExecutionData, dJ as OffChainZKP, bV as OffChainZKPRuleResult, bU as OnChainRuleResult, bq as OnChainScenarioExecutionData, dO as OnChainZKP, dP as OnChainZKPFromNexeraID, dR as OnChainZKPPayload, dQ as OnChainZKPScenarioFromCms, bR as OpaChallengeQueryResponse, cY as Operator, bM as OperatorToChallengeQueryOperator, dg as PartialQueryConfigSimplified, bu as PolygonIdInitialized, cc as PolygonIdRequest, cb as PolygonIdRequestData, ce as PolygonIdResponse, cd as PolygonIdResponseData, dN as ProjectAuthorizationData, cO as ProofData, cT as QrCodeLinkWithSchemaType, dd as QueryConfig, df as QueryConfigSimplified, dh as QueryConfigSimplifiedParsed, di as QueryConfiguration, ds as QueryCredentialType, dr as QueryCredentialTypes, de as QueryType, cD as RequiredDataRowSchema, cE as RequiredVerificationData, c2 as RuleEngineResponse, bo as RuleEngineScenarioExecutionData, c5 as RuleResultStatus, c6 as RuleResultStatusLabels, c4 as RuleResultStatuses, dS as SCENARIO_AUTHORIZATION_STATUSES, d1 as STRING_OPERATORS, d9 as SUPPORTED_TYPES, bj as ScenarioAuthorizationData, dT as ScenarioAuthorizationStatus, br as ScenarioExecutionData, bs as ScenarioExecutionNotification, c3 as ScenarioExecutionResponse, c1 as ScenarioStatus, c0 as ScenarioStatuses, b$ as ScenarioType, b_ as ScenarioTypes, bW as SdkVerificationOutput, bk as SdkVerificationResponseSchema, bB as SendTransactionRequest, bz as SignatureRequest, bH as SignatureResponse, c8 as SimplifiedCredential, bw as StartCompletedNotification, cf as StartFlowRequest, d2 as StringOperator, da as SupportedType, db as SupportedTypes, dx as TezosTxAuthInput, dz as TezosTxSignatureResponse, bA as TransactionData, bI as TransactionResponse, ct as TxAuthDataSignatureGatingRequest, cx as TxAuthDataSignatureResponse, dt as TxAuthInput, dv as TxSignatureResponse, dm as UpdateQueryConfigurationInput, dn as UpdateQueryConfigurationResponse, bZ as VerificationOutput, bY as VerificationSessionStatus, bX as VerificationSessionStatuses, dV as VerifyWalletChallengeRequest, cs as WalletSignResponse, dU as WalletSignatureResponse, cZ as ZKPOperator, dH as ZKPRequest, dI as ZKPRequestFromZKVerifier, cJ as ZeroKnowledgeProofRequest, cP as ZeroKnowledgeProofResponse, c_ as operatorDisplayMap, cU as parseIden3Message, cV as parseSessionIdFromUrl } from '../../dist/identity-api.schema-68a83f54.esm.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'nanoid';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexeraid/identity-schemas",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.24-dev",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "ISC",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"json-schema-to-zod": "^2.4.1",
|
|
60
|
-
"typescript": "^5.6.
|
|
60
|
+
"typescript": "^5.6.3",
|
|
61
61
|
"@unblokttechnology/eslint-config": "0.1.1"
|
|
62
62
|
},
|
|
63
63
|
"preconstruct": {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "../../dist/declarations/src/providers/index";
|
|
1
|
+
export * from "../../dist/declarations/src/providers/index.js";
|
|
2
2
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV4ZXJhaWQtaWRlbnRpdHktc2NoZW1hcy1wcm92aWRlcnMuY2pzLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9kaXN0L2RlY2xhcmF0aW9ucy9zcmMvcHJvdmlkZXJzL2luZGV4LmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEifQ==
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var customers_schema = require('../../dist/customers.schema-
|
|
5
|
+
var customers_schema = require('../../dist/customers.schema-cc3df18f.cjs.dev.js');
|
|
6
6
|
require('zod');
|
|
7
|
-
require('../../dist/identity-api.schema-
|
|
7
|
+
require('../../dist/identity-api.schema-bbb2c243.cjs.dev.js');
|
|
8
8
|
require('nanoid');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var customers_schema = require('../../dist/customers.schema-
|
|
5
|
+
var customers_schema = require('../../dist/customers.schema-f0d472b1.cjs.prod.js');
|
|
6
6
|
require('zod');
|
|
7
|
-
require('../../dist/identity-api.schema-
|
|
7
|
+
require('../../dist/identity-api.schema-2de31155.cjs.prod.js');
|
|
8
8
|
require('nanoid');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a2 as AMLMetadata, A as ANALYSIS_TYPES, c as AnalysisType, bK as ApplicantMemberOfSchema, bZ as BENEFICIARY_TYPES, e as BLOCKCHAIN_TYPES, bM as BaseApplicantActionSchema, bk as BaseProvider, b$ as BeneficiaryCompanyCustomerClaims, c0 as BeneficiaryCompanyCustomerClaimsArray, b_ as BeneficiaryType, d3 as BeneficiaryVerificationStatus, d4 as BeneficiaryVerificationStatusArray, u as BigCSErrorCodes, bh as BigConfig, p as BigCryptoChain, r as BigProperties, q as BigPropertiesLiteral, s as BigProperty, bn as BigProvider, v as BitRankRequest, w as BitRankVerified, y as BitRankVerifiedError, x as BitRankVerifiedErrorResponse, B as BitRankVerifiedResponse, f as Blockchain, aC as COMPLY_ADVANTAGE_COUNTRY_FIELD_SOURCES, aE as COMPLY_ADVANTAGE_DATE_OF_BIRTH_FIELD_SOURCES, aA as COMPLY_ADVANTAGE_NATIONALITY_FIELD_SOURCES, at as COMPLY_ADVANTAGE_RESPONSE_MATCH_STATUS, aq as COMPLY_ADVANTAGE_RESPONSE_MATCH_TYPE, dm as ChainalysisApiError, bd as ChainalysisConfig, dk as ChainalysisErrorCodes, bq as ChainalysisProvider, di as ChainalysisRegisterApiResponse, dn as ChainalysisRegisterResponse, dh as ChainalysisRequest, dl as ChainalysisRiskAssessmentApiResponse, C as ChainalysisRiskAssessmentResponse, dj as ChainalysisRiskLevel, ah as CoerceDateUTC, g as Coin, d2 as CompanyDocumentMetaData, aW as ComplyAdvantageAmlFullListing, aV as ComplyAdvantageAmlItemSource, aD as ComplyAdvantageCountryFieldSources, aF as ComplyAdvantageDateOfBirthFieldSources, aU as ComplyAdvantageKeyInformation, aP as ComplyAdvantageMedia, b3 as ComplyAdvantageMonitorSearchDataResponse, b5 as ComplyAdvantageMonitorSearchResponse, b4 as ComplyAdvantageMonitorSearchSuccessResponse, b6 as ComplyAdvantageMonitoredSearchUpdate, aB as ComplyAdvantageNationalityFieldSources, bv as ComplyAdvantageProvider, bu as ComplyAdvantageProviderConfigElement, bt as ComplyAdvantageProviderConfigFilters, bs as ComplyAdvantageProviderConfigTypes, au as ComplyAdvantageReponseMatchStatus, ar as ComplyAdvantageResponseMatchType, aR as ComplyAdvantageSearchDataResponse, aQ as ComplyAdvantageSearchDataResponseHit, aX as ComplyAdvantageSearchEntitiesDataResponse, aZ as ComplyAdvantageSearchEntitiesResponse, aY as ComplyAdvantageSearchEntitiesSuccessResponse, aT as ComplyAdvantageSearchErrorResponse, a_ as ComplyAdvantageSearchRequest, b as ComplyAdvantageSearchResponse, aS as ComplyAdvantageSearchSuccessResponse, b0 as ComplyAdvantageUpdateSearchEntitiesRequest, b2 as ComplyAdvantageUpdateSearchEntitiesResponse, b1 as ComplyAdvantageUpdateSearchEntitiesSuccessResponse, a$ as ComplyAdvantageUpdateSearchRequest, aN as ComplyAdvantageUser, bB as CreateProviderInput, bC as CreateProviderResponse, aG as CreateSearchInput, cW as CredentialMetadata, cV as CustomerContactInformationOutput, d9 as CustomerDocumentMetaData, da as CustomerStatusResults, ba as DataProviderOptions, bb as DataProviders, bG as DeleteProviderInput, bH as DeleteProviderResponse, X as DocumentIdMetadata, V as DocumentIdType, U as DocumentIdTypes, cp as DocumentMetadataSchema, a1 as EmailMetadata, E as EmailVerificationAnalysisResponse, cL as EmailVerificationResponse, T as File, cU as GetCredentialsOutput, d6 as GetKybSessionInput, d7 as GetKybSessionResponse, cO as GetKycSessionInput, cP as GetKycSessionResponse, cX as GetKycSessionResponseWithCredentialsMetadata, bA as GetProviderResponse, bz as GetProvidersResponse, ao as HIGH_RISK_TYPES, bX as INDIVIDUAL_BENEFICIARY_RELATIONS, b8 as IdentityProviderOptions, b9 as IdentityProviders, bY as IndividualBeneficiaryRelation, l as IpQualityAnalysisRequest, m as IpQualityAnalysisResponse, bg as IpQualityConfig, n as IpQualityServiceAnalysis, I as IpQualityServiceAnalysisResponse, o as IpQualityServiceErrorResponse, br as IpqualityscoreProvider, c_ as KYB_RESULTS, d0 as KYB_SESSION_STATUSES, cY as KYB_STEP_TYPES, cH as KYC_RESULTS, cJ as KYC_SESSION_STATUSES, cF as KYC_STEP_TYPES, c$ as KybResult, d1 as KybSessionStatus, cZ as KybStep, cI as KycResult, cK as KycSessionStatus, cG as KycStep, $ as LivenessMetadata, ap as MEDIUM_RISK_TYPES, aI as MatchStatus, aH as MatchStatuses, aO as MatchTypeDetail, M as MergedProviders, dg as MerkleAddressApiError, df as MerkleAddressApiResponse, de as MerkleAddressRequest, a as MerkleAddressResponse, dd as MerkleBlockChainCodes, dc as MerkleBlockChainNames, db as MerkleBlockChainTypes, bc as MerkleScienceConfig, bp as MerkleScienceProvider, N as NestedSession, bm as NexeraIdKYBProvider, bl as NexeraIdSSIDProvider, O as OBJECT_TYPES, d as ObjectType, a0 as PhoneMetadata, P as PhoneVerificationAnalysisResponse, Z as ProofOfAddressDocumentType, Y as ProofOfAddressDocumentTypes, _ as ProofOfAddressMetadata, cT as ProofOfResidenceDocumentType, cS as ProofOfResidenceMetaData, bx as ProviderData, by as ProviderDataProject, bj as ProviderIntegrationType, bi as ProviderIntegrationTypeOptions, b7 as ProviderWithoutConfig, aa as RESULT_PARSER_ERROR, Q as ReasonCode, L as ReasonCodes, t as RequestProperty, aK as RiskLevel, aJ as RiskLevels, R as RiskSeverity, am as SEARCH_FILTER_ADVERSE_MEDIA_TYPE, ak as SEARCH_FILTER_PEP_TYPE, ai as SEARCH_FILTER_SANCTION_TYPE, av as SEARCH_FILTER_TYPES, a8 as SESSION_NOT_FOUND, ae as STEP_NOT_FOUND, bP as SUMSUB_APPLICANT_TYPES, ci as SUMSUB_COMPANY_BENEFICIARY_GROUP, c6 as SUMSUB_DOC_TYPES, c8 as SUMSUB_FLOW_LEVEL, cx as SUMSUB_KYB_SESSION_FLOW_SECTION_STATUS, cn as SUMSUB_MEDIA_CONTENT_TYPES, bR as SUMSUB_REVIEW_ANSWERS, cC as SUMSUB_REVIEW_REJECT_LABELS, cE as SUMSUB_REVIEW_REJECT_LABELS_DESCRIPTION, bT as SUMSUB_REVIEW_REJECT_TYPES, c4 as SUMSUB_REVIEW_STATUSES, bN as SUMSUB_STEPS, c2 as SUMSUB_WEBHOOK_INTERNAL_STATUS, j as ScorechainAnalysis, be as ScorechainConfig, i as ScorechainError, h as ScorechainErrorResponse, bo as ScorechainProvider, k as ScoringAnalysisRequest, S as ScoringAnalysisResponse, ay as SearchEntityType, ax as SearchEntityTypes, an as SearchFilterAdverseMediaType, al as SearchFilterPepType, aj as SearchFilterSanctionType, aw as SearchFilterType, az as SearchFilters, d5 as SelectKybSession, cM as SelectKycSession, cN as SelectKycSessionStep, G as Session, H as SessionWithoutSteps, D as Status, z as Statuses, a3 as Step, K as StepType, J as StepTypes, bV as SumSubAddress, bW as SumSubApplicantInfo, cr as SumSubApplicantResetSchema, cq as SumSubApplicantReviewStatusSchema, cw as SumSubApplicantSchema, bQ as SumSubApplicantType, cm as SumSubApplicantVerificationStepSchema, c1 as SumSubCompanyApplicantInfo, cg as SumSubCompanyApplicantSchema, c7 as SumSubDocType, c9 as SumSubFlowLevel, cs as SumSubGenerateExternalWebSdkLinkSchema, ch as SumSubImageId, cc as SumSubImageReviewResultSchema, cf as SumSubIndividualApplicantSchema, co as SumSubMediaContentType, ca as SumSubRequiredIdDoc, bS as SumSubReviewAnswer, cD as SumSubReviewRejectLabel, bU as SumSubReviewRejectType, cb as SumSubReviewResultSchema, c5 as SumSubReviewStatus, cB as SumSubSimilarApplicantsSchema, bO as SumSubStep, cl as SumSubVerificationStepSchema, bL as SumSubWebhookSchema, ce as SumsubApplicantType, cd as SumsubApplicantTypes, cj as SumsubCompanyBeneficiaryGroup, cv as SumsubKybDataSchema, cA as SumsubKybSessionFlowSection, cz as SumsubKybSessionFlowSectionItem, cy as SumsubKybSessionFlowSectionStatus, cu as SumsubKycDataSchema, ck as SumsubStepStatus, ct as SumsubVideoCallData, c3 as SumsubWebhookInternalStatus, bw as SynapsProvider, ab as SynapsSessionErrorResponse, a4 as SynapsSessionEvent, a7 as SynapsSessionRequest, ac as SynapsSessionResponse, af as SynapsStepErrorResponse, a5 as SynapsStepEvent, ad as SynapsStepRequest, ag as SynapsStepResponse, bF as ToggleProviderInput, a9 as UNKNOWN_ERROR, d8 as UpdateKybSessionOutput, cQ as UpdateKycSessionOutput, bD as UpdateProviderInput, bE as UpdateProviderResponse, aM as UpdateSearchEntitiesInput, aL as UpdateSearchInput, cR as VideoKycMetaData, bI as WEBHOOK_TYPES, F as WebhookPayload, bJ as WebhookType, bf as WorkflowsScorechainConfig, W as WorkflowsScoringAnalysisRequest, as as mappingMatchTypeToLabel, a6 as typeToHumanReadable } from '../../dist/customers.schema-
|
|
1
|
+
export { a2 as AMLMetadata, A as ANALYSIS_TYPES, c as AnalysisType, bK as ApplicantMemberOfSchema, bZ as BENEFICIARY_TYPES, e as BLOCKCHAIN_TYPES, bM as BaseApplicantActionSchema, bk as BaseProvider, b$ as BeneficiaryCompanyCustomerClaims, c0 as BeneficiaryCompanyCustomerClaimsArray, b_ as BeneficiaryType, d3 as BeneficiaryVerificationStatus, d4 as BeneficiaryVerificationStatusArray, u as BigCSErrorCodes, bh as BigConfig, p as BigCryptoChain, r as BigProperties, q as BigPropertiesLiteral, s as BigProperty, bn as BigProvider, v as BitRankRequest, w as BitRankVerified, y as BitRankVerifiedError, x as BitRankVerifiedErrorResponse, B as BitRankVerifiedResponse, f as Blockchain, aC as COMPLY_ADVANTAGE_COUNTRY_FIELD_SOURCES, aE as COMPLY_ADVANTAGE_DATE_OF_BIRTH_FIELD_SOURCES, aA as COMPLY_ADVANTAGE_NATIONALITY_FIELD_SOURCES, at as COMPLY_ADVANTAGE_RESPONSE_MATCH_STATUS, aq as COMPLY_ADVANTAGE_RESPONSE_MATCH_TYPE, dm as ChainalysisApiError, bd as ChainalysisConfig, dk as ChainalysisErrorCodes, bq as ChainalysisProvider, di as ChainalysisRegisterApiResponse, dn as ChainalysisRegisterResponse, dh as ChainalysisRequest, dl as ChainalysisRiskAssessmentApiResponse, C as ChainalysisRiskAssessmentResponse, dj as ChainalysisRiskLevel, ah as CoerceDateUTC, g as Coin, d2 as CompanyDocumentMetaData, aW as ComplyAdvantageAmlFullListing, aV as ComplyAdvantageAmlItemSource, aD as ComplyAdvantageCountryFieldSources, aF as ComplyAdvantageDateOfBirthFieldSources, aU as ComplyAdvantageKeyInformation, aP as ComplyAdvantageMedia, b3 as ComplyAdvantageMonitorSearchDataResponse, b5 as ComplyAdvantageMonitorSearchResponse, b4 as ComplyAdvantageMonitorSearchSuccessResponse, b6 as ComplyAdvantageMonitoredSearchUpdate, aB as ComplyAdvantageNationalityFieldSources, bv as ComplyAdvantageProvider, bu as ComplyAdvantageProviderConfigElement, bt as ComplyAdvantageProviderConfigFilters, bs as ComplyAdvantageProviderConfigTypes, au as ComplyAdvantageReponseMatchStatus, ar as ComplyAdvantageResponseMatchType, aR as ComplyAdvantageSearchDataResponse, aQ as ComplyAdvantageSearchDataResponseHit, aX as ComplyAdvantageSearchEntitiesDataResponse, aZ as ComplyAdvantageSearchEntitiesResponse, aY as ComplyAdvantageSearchEntitiesSuccessResponse, aT as ComplyAdvantageSearchErrorResponse, a_ as ComplyAdvantageSearchRequest, b as ComplyAdvantageSearchResponse, aS as ComplyAdvantageSearchSuccessResponse, b0 as ComplyAdvantageUpdateSearchEntitiesRequest, b2 as ComplyAdvantageUpdateSearchEntitiesResponse, b1 as ComplyAdvantageUpdateSearchEntitiesSuccessResponse, a$ as ComplyAdvantageUpdateSearchRequest, aN as ComplyAdvantageUser, bB as CreateProviderInput, bC as CreateProviderResponse, aG as CreateSearchInput, cW as CredentialMetadata, cV as CustomerContactInformationOutput, d9 as CustomerDocumentMetaData, da as CustomerStatusResults, ba as DataProviderOptions, bb as DataProviders, bG as DeleteProviderInput, bH as DeleteProviderResponse, X as DocumentIdMetadata, V as DocumentIdType, U as DocumentIdTypes, cp as DocumentMetadataSchema, a1 as EmailMetadata, E as EmailVerificationAnalysisResponse, cL as EmailVerificationResponse, T as File, cU as GetCredentialsOutput, d6 as GetKybSessionInput, d7 as GetKybSessionResponse, cO as GetKycSessionInput, cP as GetKycSessionResponse, cX as GetKycSessionResponseWithCredentialsMetadata, bA as GetProviderResponse, bz as GetProvidersResponse, ao as HIGH_RISK_TYPES, bX as INDIVIDUAL_BENEFICIARY_RELATIONS, b8 as IdentityProviderOptions, b9 as IdentityProviders, bY as IndividualBeneficiaryRelation, l as IpQualityAnalysisRequest, m as IpQualityAnalysisResponse, bg as IpQualityConfig, n as IpQualityServiceAnalysis, I as IpQualityServiceAnalysisResponse, o as IpQualityServiceErrorResponse, br as IpqualityscoreProvider, c_ as KYB_RESULTS, d0 as KYB_SESSION_STATUSES, cY as KYB_STEP_TYPES, cH as KYC_RESULTS, cJ as KYC_SESSION_STATUSES, cF as KYC_STEP_TYPES, c$ as KybResult, d1 as KybSessionStatus, cZ as KybStep, cI as KycResult, cK as KycSessionStatus, cG as KycStep, $ as LivenessMetadata, ap as MEDIUM_RISK_TYPES, aI as MatchStatus, aH as MatchStatuses, aO as MatchTypeDetail, M as MergedProviders, dg as MerkleAddressApiError, df as MerkleAddressApiResponse, de as MerkleAddressRequest, a as MerkleAddressResponse, dd as MerkleBlockChainCodes, dc as MerkleBlockChainNames, db as MerkleBlockChainTypes, bc as MerkleScienceConfig, bp as MerkleScienceProvider, N as NestedSession, bm as NexeraIdKYBProvider, bl as NexeraIdSSIDProvider, O as OBJECT_TYPES, d as ObjectType, a0 as PhoneMetadata, P as PhoneVerificationAnalysisResponse, Z as ProofOfAddressDocumentType, Y as ProofOfAddressDocumentTypes, _ as ProofOfAddressMetadata, cT as ProofOfResidenceDocumentType, cS as ProofOfResidenceMetaData, bx as ProviderData, by as ProviderDataProject, bj as ProviderIntegrationType, bi as ProviderIntegrationTypeOptions, b7 as ProviderWithoutConfig, aa as RESULT_PARSER_ERROR, Q as ReasonCode, L as ReasonCodes, t as RequestProperty, aK as RiskLevel, aJ as RiskLevels, R as RiskSeverity, am as SEARCH_FILTER_ADVERSE_MEDIA_TYPE, ak as SEARCH_FILTER_PEP_TYPE, ai as SEARCH_FILTER_SANCTION_TYPE, av as SEARCH_FILTER_TYPES, a8 as SESSION_NOT_FOUND, ae as STEP_NOT_FOUND, bP as SUMSUB_APPLICANT_TYPES, ci as SUMSUB_COMPANY_BENEFICIARY_GROUP, c6 as SUMSUB_DOC_TYPES, c8 as SUMSUB_FLOW_LEVEL, cx as SUMSUB_KYB_SESSION_FLOW_SECTION_STATUS, cn as SUMSUB_MEDIA_CONTENT_TYPES, bR as SUMSUB_REVIEW_ANSWERS, cC as SUMSUB_REVIEW_REJECT_LABELS, cE as SUMSUB_REVIEW_REJECT_LABELS_DESCRIPTION, bT as SUMSUB_REVIEW_REJECT_TYPES, c4 as SUMSUB_REVIEW_STATUSES, bN as SUMSUB_STEPS, c2 as SUMSUB_WEBHOOK_INTERNAL_STATUS, j as ScorechainAnalysis, be as ScorechainConfig, i as ScorechainError, h as ScorechainErrorResponse, bo as ScorechainProvider, k as ScoringAnalysisRequest, S as ScoringAnalysisResponse, ay as SearchEntityType, ax as SearchEntityTypes, an as SearchFilterAdverseMediaType, al as SearchFilterPepType, aj as SearchFilterSanctionType, aw as SearchFilterType, az as SearchFilters, d5 as SelectKybSession, cM as SelectKycSession, cN as SelectKycSessionStep, G as Session, H as SessionWithoutSteps, D as Status, z as Statuses, a3 as Step, K as StepType, J as StepTypes, bV as SumSubAddress, bW as SumSubApplicantInfo, cr as SumSubApplicantResetSchema, cq as SumSubApplicantReviewStatusSchema, cw as SumSubApplicantSchema, bQ as SumSubApplicantType, cm as SumSubApplicantVerificationStepSchema, c1 as SumSubCompanyApplicantInfo, cg as SumSubCompanyApplicantSchema, c7 as SumSubDocType, c9 as SumSubFlowLevel, cs as SumSubGenerateExternalWebSdkLinkSchema, ch as SumSubImageId, cc as SumSubImageReviewResultSchema, cf as SumSubIndividualApplicantSchema, co as SumSubMediaContentType, ca as SumSubRequiredIdDoc, bS as SumSubReviewAnswer, cD as SumSubReviewRejectLabel, bU as SumSubReviewRejectType, cb as SumSubReviewResultSchema, c5 as SumSubReviewStatus, cB as SumSubSimilarApplicantsSchema, bO as SumSubStep, cl as SumSubVerificationStepSchema, bL as SumSubWebhookSchema, ce as SumsubApplicantType, cd as SumsubApplicantTypes, cj as SumsubCompanyBeneficiaryGroup, cv as SumsubKybDataSchema, cA as SumsubKybSessionFlowSection, cz as SumsubKybSessionFlowSectionItem, cy as SumsubKybSessionFlowSectionStatus, cu as SumsubKycDataSchema, ck as SumsubStepStatus, ct as SumsubVideoCallData, c3 as SumsubWebhookInternalStatus, bw as SynapsProvider, ab as SynapsSessionErrorResponse, a4 as SynapsSessionEvent, a7 as SynapsSessionRequest, ac as SynapsSessionResponse, af as SynapsStepErrorResponse, a5 as SynapsStepEvent, ad as SynapsStepRequest, ag as SynapsStepResponse, bF as ToggleProviderInput, a9 as UNKNOWN_ERROR, d8 as UpdateKybSessionOutput, cQ as UpdateKycSessionOutput, bD as UpdateProviderInput, bE as UpdateProviderResponse, aM as UpdateSearchEntitiesInput, aL as UpdateSearchInput, cR as VideoKycMetaData, bI as WEBHOOK_TYPES, F as WebhookPayload, bJ as WebhookType, bf as WorkflowsScorechainConfig, W as WorkflowsScoringAnalysisRequest, as as mappingMatchTypeToLabel, a6 as typeToHumanReadable } from '../../dist/customers.schema-0306abb6.esm.js';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../../dist/identity-api.schema-
|
|
3
|
+
import '../../dist/identity-api.schema-68a83f54.esm.js';
|
|
4
4
|
import 'nanoid';
|
package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "../../dist/declarations/src/verifiable-credentials/index";
|
|
1
|
+
export * from "../../dist/declarations/src/verifiable-credentials/index.js";
|
|
2
2
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV4ZXJhaWQtaWRlbnRpdHktc2NoZW1hcy12ZXJpZmlhYmxlLWNyZWRlbnRpYWxzLmNqcy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vZGlzdC9kZWNsYXJhdGlvbnMvc3JjL3ZlcmlmaWFibGUtY3JlZGVudGlhbHMvaW5kZXguZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSJ9
|
package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var identityApi_schema = require('../../dist/identity-api.schema-
|
|
6
|
-
var frontendUtilities_schema = require('../../dist/frontend-utilities.schema-
|
|
5
|
+
var identityApi_schema = require('../../dist/identity-api.schema-bbb2c243.cjs.dev.js');
|
|
6
|
+
var frontendUtilities_schema = require('../../dist/frontend-utilities.schema-0be040b7.cjs.dev.js');
|
|
7
7
|
require('zod');
|
|
8
8
|
require('nanoid');
|
|
9
9
|
|
package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var identityApi_schema = require('../../dist/identity-api.schema-
|
|
6
|
-
var frontendUtilities_schema = require('../../dist/frontend-utilities.schema-
|
|
5
|
+
var identityApi_schema = require('../../dist/identity-api.schema-2de31155.cjs.prod.js');
|
|
6
|
+
var frontendUtilities_schema = require('../../dist/frontend-utilities.schema-cd88e673.cjs.prod.js');
|
|
7
7
|
require('zod');
|
|
8
8
|
require('nanoid');
|
|
9
9
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { am as Alpha2Country,
|
|
2
|
-
export { V as VC_JSON_SCHEMA_MAP, c as cleanObject, a as getAvailableFields, g as getCredentialSchemaLocation } from '../../dist/frontend-utilities.schema-
|
|
1
|
+
export { am as Alpha2Country, eA as CredentialMediaType, ev as CredentialNames, eu as CredentialSchemas, ey as CredentialType, C as CredentialTypes, et as GenericVerifiableCredentialSchema, eg as ID3CredentialSubjectSchema, eq as IDImageCredentialSubjectSchema, ep as IDInformationCredentialSubjectSchema, eh as IDScanCredentialSubjectSchema, ei as IDScanPassportCredentialSubjectSchema, ej as IDScanSelfieCredentialSubjectSchema, ak as ISO3CountryCode, ew as NexeraCredentialType, eo as OLD_AMLScreeningsResultsCredentialSubjectSchema, ek as OLD_IDImageCredentialSubjectSchema, el as OLD_IDInformationCredentialSubjectSchema, em as OLD_ProofOfResidenceCredentialSubjectSchema, en as OLD_SelfieImageCredentialSubjectSchema, es as ProofOfResidenceCredentialSubjectSchema, er as SelfieImageCredentialSubjectSchema, ez as VerifiableCredential, an as countryISO3toISO2Mapping, ex as getCredentialName, ap as isoCountriesNameFromISO2 } from '../../dist/identity-api.schema-68a83f54.esm.js';
|
|
2
|
+
export { V as VC_JSON_SCHEMA_MAP, c as cleanObject, a as getAvailableFields, g as getCredentialSchemaLocation } from '../../dist/frontend-utilities.schema-02fc8336.esm.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'nanoid';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "../../dist/declarations/src/webhooks/index";
|
|
1
|
+
export * from "../../dist/declarations/src/webhooks/index.js";
|
|
2
2
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmV4ZXJhaWQtaWRlbnRpdHktc2NoZW1hcy13ZWJob29rcy5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2Rpc3QvZGVjbGFyYXRpb25zL3NyYy93ZWJob29rcy9pbmRleC5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var zod = require('zod');
|
|
6
|
-
var identityApi_schema = require('../../dist/identity-api.schema-
|
|
7
|
-
var customers_schema = require('../../dist/customers.schema-
|
|
6
|
+
var identityApi_schema = require('../../dist/identity-api.schema-bbb2c243.cjs.dev.js');
|
|
7
|
+
var customers_schema = require('../../dist/customers.schema-cc3df18f.cjs.dev.js');
|
|
8
8
|
var zodToJsonSchema = require('zod-to-json-schema');
|
|
9
|
+
var transaction_schema = require('../../dist/transaction.schema-2141e819.cjs.dev.js');
|
|
9
10
|
require('nanoid');
|
|
10
11
|
|
|
11
12
|
// Alert Statuses
|
|
@@ -191,9 +192,25 @@ var VerificationFlowChecksWebhookPayload = zod.z.object({
|
|
|
191
192
|
result: zod.z.array(VerificationFlowResult)
|
|
192
193
|
});
|
|
193
194
|
|
|
194
|
-
var
|
|
195
|
+
var TMSWebhookPayload = zod.z.object({
|
|
196
|
+
id: zod.z.string(),
|
|
197
|
+
customerId: identityApi_schema.UuidString,
|
|
198
|
+
externalTransactionId: zod.z.string(),
|
|
199
|
+
transactionDate: zod.z.coerce.date().nullable(),
|
|
200
|
+
transactionType: zod.z["enum"](transaction_schema.TransactionTypes),
|
|
201
|
+
transactionSubType: zod.z.string().nullable(),
|
|
202
|
+
transactionReview: zod.z.string().nullable(),
|
|
203
|
+
transactionInfo: zod.z.string(),
|
|
204
|
+
transactionExtractedInfo: zod.z.string().nullable(),
|
|
205
|
+
originator: zod.z.string(),
|
|
206
|
+
beneficiary: zod.z.string(),
|
|
207
|
+
createdAt: zod.z.coerce.date(),
|
|
208
|
+
updatedAt: zod.z.coerce.date().nullable()
|
|
209
|
+
});
|
|
210
|
+
|
|
211
|
+
var WebhookEventTypes = ["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "tms.created", "tms.updated", "tms.deleted"];
|
|
195
212
|
var WebhookEventType = zod.z["enum"](WebhookEventTypes);
|
|
196
|
-
var WebhookEventTypesForm = ["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted"];
|
|
213
|
+
var WebhookEventTypesForm = ["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted"];
|
|
197
214
|
var WebhookEventTypeForm = zod.z["enum"](WebhookEventTypesForm);
|
|
198
215
|
var AttemptsStatus = {
|
|
199
216
|
Success: 0,
|
|
@@ -254,6 +271,21 @@ var NexeraEventTypes = zod.z.union([zod.z.object({
|
|
|
254
271
|
description: zod.z.string(),
|
|
255
272
|
archived: zod.z["boolean"](),
|
|
256
273
|
schemas: zod.z.record(zod.z.unknown())
|
|
274
|
+
}), zod.z.object({
|
|
275
|
+
name: zod.z.literal("tms.created"),
|
|
276
|
+
description: zod.z.string(),
|
|
277
|
+
archived: zod.z["boolean"](),
|
|
278
|
+
schemas: zod.z.record(zod.z.unknown())
|
|
279
|
+
}), zod.z.object({
|
|
280
|
+
name: zod.z.literal("tms.updated"),
|
|
281
|
+
description: zod.z.string(),
|
|
282
|
+
archived: zod.z["boolean"](),
|
|
283
|
+
schemas: zod.z.record(zod.z.unknown())
|
|
284
|
+
}), zod.z.object({
|
|
285
|
+
name: zod.z.literal("tms.deleted"),
|
|
286
|
+
description: zod.z.string(),
|
|
287
|
+
archived: zod.z["boolean"](),
|
|
288
|
+
schemas: zod.z.record(zod.z.unknown())
|
|
257
289
|
})]);
|
|
258
290
|
|
|
259
291
|
/**
|
|
@@ -293,11 +325,24 @@ var AlertDeletedPayload = zod.z.object({
|
|
|
293
325
|
eventType: zod.z.literal("alert.deleted"),
|
|
294
326
|
payload: AlertWebhookPayload
|
|
295
327
|
});
|
|
328
|
+
var TMSCreatedPayload = zod.z.object({
|
|
329
|
+
eventType: zod.z.literal("tms.created"),
|
|
330
|
+
payload: TMSWebhookPayload
|
|
331
|
+
});
|
|
332
|
+
var TMSUpdatedPayload = zod.z.object({
|
|
333
|
+
eventType: zod.z.literal("tms.updated"),
|
|
334
|
+
payload: TMSWebhookPayload
|
|
335
|
+
});
|
|
336
|
+
var TMSDeletedPayload = zod.z.object({
|
|
337
|
+
eventType: zod.z.literal("tms.deleted"),
|
|
338
|
+
payload: TMSWebhookPayload
|
|
339
|
+
});
|
|
296
340
|
var WebhookScenariosEventPayload = SendScenarioPayload;
|
|
297
341
|
var WebhookVerificationEventPayload = SendVerificationFlowPayload;
|
|
298
342
|
var WebhookCustomerEventPayload = zod.z.union([CustomerCreatedPayload, CustomerUpdatedPayload, CustomerDeletedPayload]);
|
|
299
343
|
var WebhookAlertEventPayload = zod.z.union([AlertCreatedPayload, AlertUpdatedPayload, AlertDeletedPayload]);
|
|
300
|
-
var
|
|
344
|
+
var WebhookTMSEventPayload = zod.z.union([TMSCreatedPayload, TMSUpdatedPayload, TMSDeletedPayload]);
|
|
345
|
+
var WebhookEventPayload = zod.z.union([WebhookScenariosEventPayload, WebhookVerificationEventPayload, WebhookCustomerEventPayload, WebhookAlertEventPayload, WebhookTMSEventPayload]);
|
|
301
346
|
var AllNexeraEventTypes = zod.z.array(NexeraEventTypes);
|
|
302
347
|
var NexeraSvixEnvironmentConfig = zod.z.object({
|
|
303
348
|
env: identityApi_schema.EnvironmentSchema
|
|
@@ -319,7 +364,10 @@ var EndpointHandlingForm = zod.z.object({
|
|
|
319
364
|
customerDeleted: zod.z["boolean"]().optional(),
|
|
320
365
|
alertCreated: zod.z["boolean"]().optional(),
|
|
321
366
|
alertUpdated: zod.z["boolean"]().optional(),
|
|
322
|
-
alertDeleted: zod.z["boolean"]().optional()
|
|
367
|
+
alertDeleted: zod.z["boolean"]().optional(),
|
|
368
|
+
tmsCreated: zod.z["boolean"]().optional(),
|
|
369
|
+
tmsUpdated: zod.z["boolean"]().optional(),
|
|
370
|
+
tmsDeleted: zod.z["boolean"]().optional()
|
|
323
371
|
}).optional()
|
|
324
372
|
});
|
|
325
373
|
var WebhookCheckboxInformation = zod.z.object({
|
|
@@ -331,7 +379,8 @@ var EndpointCheckboxsCollapsiblesSchema = zod.z.object({
|
|
|
331
379
|
title: zod.z.string(),
|
|
332
380
|
icon: zod.z.any(),
|
|
333
381
|
description: zod.z.string(),
|
|
334
|
-
webhooks: zod.z.array(WebhookCheckboxInformation)
|
|
382
|
+
webhooks: zod.z.array(WebhookCheckboxInformation),
|
|
383
|
+
type: zod.z.string().optional()
|
|
335
384
|
});
|
|
336
385
|
var EndpointOut = zod.z.object({
|
|
337
386
|
disabled: zod.z["boolean"]().optional(),
|
|
@@ -456,6 +505,18 @@ var SendMessageForAlertDeletedInput = zod.z.object({
|
|
|
456
505
|
projectId: zod.z.string(),
|
|
457
506
|
payload: AlertDeletedPayload
|
|
458
507
|
});
|
|
508
|
+
var SendMessageForTMSCreatedInput = zod.z.object({
|
|
509
|
+
projectId: zod.z.string(),
|
|
510
|
+
payload: TMSCreatedPayload
|
|
511
|
+
});
|
|
512
|
+
var SendMessageForTMSUpdatedInput = zod.z.object({
|
|
513
|
+
projectId: zod.z.string(),
|
|
514
|
+
payload: TMSUpdatedPayload
|
|
515
|
+
});
|
|
516
|
+
var SendMessageForTMSDeletedInput = zod.z.object({
|
|
517
|
+
projectId: zod.z.string(),
|
|
518
|
+
payload: TMSDeletedPayload
|
|
519
|
+
});
|
|
459
520
|
|
|
460
521
|
/**
|
|
461
522
|
*
|
|
@@ -587,6 +648,27 @@ var NexeraWebhookEvents = [{
|
|
|
587
648
|
schemas: {
|
|
588
649
|
1: zodToJsonSchema.zodToJsonSchema(AlertDeletedPayload)
|
|
589
650
|
}
|
|
651
|
+
}, {
|
|
652
|
+
name: "tms.created",
|
|
653
|
+
description: "Transaction Created Webhook",
|
|
654
|
+
archived: false,
|
|
655
|
+
schemas: {
|
|
656
|
+
1: zodToJsonSchema.zodToJsonSchema(TMSCreatedPayload)
|
|
657
|
+
}
|
|
658
|
+
}, {
|
|
659
|
+
name: "tms.updated",
|
|
660
|
+
description: "Transaction Updated Webhook",
|
|
661
|
+
archived: false,
|
|
662
|
+
schemas: {
|
|
663
|
+
1: zodToJsonSchema.zodToJsonSchema(TMSUpdatedPayload)
|
|
664
|
+
}
|
|
665
|
+
}, {
|
|
666
|
+
name: "tms.deleted",
|
|
667
|
+
description: "Transaction Deleted Webhook",
|
|
668
|
+
archived: false,
|
|
669
|
+
schemas: {
|
|
670
|
+
1: zodToJsonSchema.zodToJsonSchema(TMSDeletedPayload)
|
|
671
|
+
}
|
|
590
672
|
}];
|
|
591
673
|
|
|
592
674
|
exports.ALERT_CHART_TYPES = ALERT_CHART_TYPES;
|
|
@@ -656,8 +738,15 @@ exports.SendMessageForCustomerDeletedInput = SendMessageForCustomerDeletedInput;
|
|
|
656
738
|
exports.SendMessageForCustomerUpdatedInput = SendMessageForCustomerUpdatedInput;
|
|
657
739
|
exports.SendMessageForSendScenarioInput = SendMessageForSendScenarioInput;
|
|
658
740
|
exports.SendMessageForSendVerificationFlowInput = SendMessageForSendVerificationFlowInput;
|
|
741
|
+
exports.SendMessageForTMSCreatedInput = SendMessageForTMSCreatedInput;
|
|
742
|
+
exports.SendMessageForTMSDeletedInput = SendMessageForTMSDeletedInput;
|
|
743
|
+
exports.SendMessageForTMSUpdatedInput = SendMessageForTMSUpdatedInput;
|
|
659
744
|
exports.SendScenarioPayload = SendScenarioPayload;
|
|
660
745
|
exports.SendVerificationFlowPayload = SendVerificationFlowPayload;
|
|
746
|
+
exports.TMSCreatedPayload = TMSCreatedPayload;
|
|
747
|
+
exports.TMSDeletedPayload = TMSDeletedPayload;
|
|
748
|
+
exports.TMSUpdatedPayload = TMSUpdatedPayload;
|
|
749
|
+
exports.TMSWebhookPayload = TMSWebhookPayload;
|
|
661
750
|
exports.UpdateEndpointInput = UpdateEndpointInput;
|
|
662
751
|
exports.UpdateEndpointOutput = UpdateEndpointOutput;
|
|
663
752
|
exports.UserInfoForDuplicate = UserInfoForDuplicate;
|
|
@@ -672,4 +761,5 @@ exports.WebhookEventTypeForm = WebhookEventTypeForm;
|
|
|
672
761
|
exports.WebhookEventTypes = WebhookEventTypes;
|
|
673
762
|
exports.WebhookEventTypesForm = WebhookEventTypesForm;
|
|
674
763
|
exports.WebhookScenariosEventPayload = WebhookScenariosEventPayload;
|
|
764
|
+
exports.WebhookTMSEventPayload = WebhookTMSEventPayload;
|
|
675
765
|
exports.WebhookVerificationEventPayload = WebhookVerificationEventPayload;
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var zod = require('zod');
|
|
6
|
-
var identityApi_schema = require('../../dist/identity-api.schema-
|
|
7
|
-
var customers_schema = require('../../dist/customers.schema-
|
|
6
|
+
var identityApi_schema = require('../../dist/identity-api.schema-2de31155.cjs.prod.js');
|
|
7
|
+
var customers_schema = require('../../dist/customers.schema-f0d472b1.cjs.prod.js');
|
|
8
8
|
var zodToJsonSchema = require('zod-to-json-schema');
|
|
9
|
+
var transaction_schema = require('../../dist/transaction.schema-7297e823.cjs.prod.js');
|
|
9
10
|
require('nanoid');
|
|
10
11
|
|
|
11
12
|
// Alert Statuses
|
|
@@ -191,9 +192,25 @@ var VerificationFlowChecksWebhookPayload = zod.z.object({
|
|
|
191
192
|
result: zod.z.array(VerificationFlowResult)
|
|
192
193
|
});
|
|
193
194
|
|
|
194
|
-
var
|
|
195
|
+
var TMSWebhookPayload = zod.z.object({
|
|
196
|
+
id: zod.z.string(),
|
|
197
|
+
customerId: identityApi_schema.UuidString,
|
|
198
|
+
externalTransactionId: zod.z.string(),
|
|
199
|
+
transactionDate: zod.z.coerce.date().nullable(),
|
|
200
|
+
transactionType: zod.z["enum"](transaction_schema.TransactionTypes),
|
|
201
|
+
transactionSubType: zod.z.string().nullable(),
|
|
202
|
+
transactionReview: zod.z.string().nullable(),
|
|
203
|
+
transactionInfo: zod.z.string(),
|
|
204
|
+
transactionExtractedInfo: zod.z.string().nullable(),
|
|
205
|
+
originator: zod.z.string(),
|
|
206
|
+
beneficiary: zod.z.string(),
|
|
207
|
+
createdAt: zod.z.coerce.date(),
|
|
208
|
+
updatedAt: zod.z.coerce.date().nullable()
|
|
209
|
+
});
|
|
210
|
+
|
|
211
|
+
var WebhookEventTypes = ["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "tms.created", "tms.updated", "tms.deleted"];
|
|
195
212
|
var WebhookEventType = zod.z["enum"](WebhookEventTypes);
|
|
196
|
-
var WebhookEventTypesForm = ["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted"];
|
|
213
|
+
var WebhookEventTypesForm = ["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted"];
|
|
197
214
|
var WebhookEventTypeForm = zod.z["enum"](WebhookEventTypesForm);
|
|
198
215
|
var AttemptsStatus = {
|
|
199
216
|
Success: 0,
|
|
@@ -254,6 +271,21 @@ var NexeraEventTypes = zod.z.union([zod.z.object({
|
|
|
254
271
|
description: zod.z.string(),
|
|
255
272
|
archived: zod.z["boolean"](),
|
|
256
273
|
schemas: zod.z.record(zod.z.unknown())
|
|
274
|
+
}), zod.z.object({
|
|
275
|
+
name: zod.z.literal("tms.created"),
|
|
276
|
+
description: zod.z.string(),
|
|
277
|
+
archived: zod.z["boolean"](),
|
|
278
|
+
schemas: zod.z.record(zod.z.unknown())
|
|
279
|
+
}), zod.z.object({
|
|
280
|
+
name: zod.z.literal("tms.updated"),
|
|
281
|
+
description: zod.z.string(),
|
|
282
|
+
archived: zod.z["boolean"](),
|
|
283
|
+
schemas: zod.z.record(zod.z.unknown())
|
|
284
|
+
}), zod.z.object({
|
|
285
|
+
name: zod.z.literal("tms.deleted"),
|
|
286
|
+
description: zod.z.string(),
|
|
287
|
+
archived: zod.z["boolean"](),
|
|
288
|
+
schemas: zod.z.record(zod.z.unknown())
|
|
257
289
|
})]);
|
|
258
290
|
|
|
259
291
|
/**
|
|
@@ -293,11 +325,24 @@ var AlertDeletedPayload = zod.z.object({
|
|
|
293
325
|
eventType: zod.z.literal("alert.deleted"),
|
|
294
326
|
payload: AlertWebhookPayload
|
|
295
327
|
});
|
|
328
|
+
var TMSCreatedPayload = zod.z.object({
|
|
329
|
+
eventType: zod.z.literal("tms.created"),
|
|
330
|
+
payload: TMSWebhookPayload
|
|
331
|
+
});
|
|
332
|
+
var TMSUpdatedPayload = zod.z.object({
|
|
333
|
+
eventType: zod.z.literal("tms.updated"),
|
|
334
|
+
payload: TMSWebhookPayload
|
|
335
|
+
});
|
|
336
|
+
var TMSDeletedPayload = zod.z.object({
|
|
337
|
+
eventType: zod.z.literal("tms.deleted"),
|
|
338
|
+
payload: TMSWebhookPayload
|
|
339
|
+
});
|
|
296
340
|
var WebhookScenariosEventPayload = SendScenarioPayload;
|
|
297
341
|
var WebhookVerificationEventPayload = SendVerificationFlowPayload;
|
|
298
342
|
var WebhookCustomerEventPayload = zod.z.union([CustomerCreatedPayload, CustomerUpdatedPayload, CustomerDeletedPayload]);
|
|
299
343
|
var WebhookAlertEventPayload = zod.z.union([AlertCreatedPayload, AlertUpdatedPayload, AlertDeletedPayload]);
|
|
300
|
-
var
|
|
344
|
+
var WebhookTMSEventPayload = zod.z.union([TMSCreatedPayload, TMSUpdatedPayload, TMSDeletedPayload]);
|
|
345
|
+
var WebhookEventPayload = zod.z.union([WebhookScenariosEventPayload, WebhookVerificationEventPayload, WebhookCustomerEventPayload, WebhookAlertEventPayload, WebhookTMSEventPayload]);
|
|
301
346
|
var AllNexeraEventTypes = zod.z.array(NexeraEventTypes);
|
|
302
347
|
var NexeraSvixEnvironmentConfig = zod.z.object({
|
|
303
348
|
env: identityApi_schema.EnvironmentSchema
|
|
@@ -319,7 +364,10 @@ var EndpointHandlingForm = zod.z.object({
|
|
|
319
364
|
customerDeleted: zod.z["boolean"]().optional(),
|
|
320
365
|
alertCreated: zod.z["boolean"]().optional(),
|
|
321
366
|
alertUpdated: zod.z["boolean"]().optional(),
|
|
322
|
-
alertDeleted: zod.z["boolean"]().optional()
|
|
367
|
+
alertDeleted: zod.z["boolean"]().optional(),
|
|
368
|
+
tmsCreated: zod.z["boolean"]().optional(),
|
|
369
|
+
tmsUpdated: zod.z["boolean"]().optional(),
|
|
370
|
+
tmsDeleted: zod.z["boolean"]().optional()
|
|
323
371
|
}).optional()
|
|
324
372
|
});
|
|
325
373
|
var WebhookCheckboxInformation = zod.z.object({
|
|
@@ -331,7 +379,8 @@ var EndpointCheckboxsCollapsiblesSchema = zod.z.object({
|
|
|
331
379
|
title: zod.z.string(),
|
|
332
380
|
icon: zod.z.any(),
|
|
333
381
|
description: zod.z.string(),
|
|
334
|
-
webhooks: zod.z.array(WebhookCheckboxInformation)
|
|
382
|
+
webhooks: zod.z.array(WebhookCheckboxInformation),
|
|
383
|
+
type: zod.z.string().optional()
|
|
335
384
|
});
|
|
336
385
|
var EndpointOut = zod.z.object({
|
|
337
386
|
disabled: zod.z["boolean"]().optional(),
|
|
@@ -456,6 +505,18 @@ var SendMessageForAlertDeletedInput = zod.z.object({
|
|
|
456
505
|
projectId: zod.z.string(),
|
|
457
506
|
payload: AlertDeletedPayload
|
|
458
507
|
});
|
|
508
|
+
var SendMessageForTMSCreatedInput = zod.z.object({
|
|
509
|
+
projectId: zod.z.string(),
|
|
510
|
+
payload: TMSCreatedPayload
|
|
511
|
+
});
|
|
512
|
+
var SendMessageForTMSUpdatedInput = zod.z.object({
|
|
513
|
+
projectId: zod.z.string(),
|
|
514
|
+
payload: TMSUpdatedPayload
|
|
515
|
+
});
|
|
516
|
+
var SendMessageForTMSDeletedInput = zod.z.object({
|
|
517
|
+
projectId: zod.z.string(),
|
|
518
|
+
payload: TMSDeletedPayload
|
|
519
|
+
});
|
|
459
520
|
|
|
460
521
|
/**
|
|
461
522
|
*
|
|
@@ -587,6 +648,27 @@ var NexeraWebhookEvents = [{
|
|
|
587
648
|
schemas: {
|
|
588
649
|
1: zodToJsonSchema.zodToJsonSchema(AlertDeletedPayload)
|
|
589
650
|
}
|
|
651
|
+
}, {
|
|
652
|
+
name: "tms.created",
|
|
653
|
+
description: "Transaction Created Webhook",
|
|
654
|
+
archived: false,
|
|
655
|
+
schemas: {
|
|
656
|
+
1: zodToJsonSchema.zodToJsonSchema(TMSCreatedPayload)
|
|
657
|
+
}
|
|
658
|
+
}, {
|
|
659
|
+
name: "tms.updated",
|
|
660
|
+
description: "Transaction Updated Webhook",
|
|
661
|
+
archived: false,
|
|
662
|
+
schemas: {
|
|
663
|
+
1: zodToJsonSchema.zodToJsonSchema(TMSUpdatedPayload)
|
|
664
|
+
}
|
|
665
|
+
}, {
|
|
666
|
+
name: "tms.deleted",
|
|
667
|
+
description: "Transaction Deleted Webhook",
|
|
668
|
+
archived: false,
|
|
669
|
+
schemas: {
|
|
670
|
+
1: zodToJsonSchema.zodToJsonSchema(TMSDeletedPayload)
|
|
671
|
+
}
|
|
590
672
|
}];
|
|
591
673
|
|
|
592
674
|
exports.ALERT_CHART_TYPES = ALERT_CHART_TYPES;
|
|
@@ -656,8 +738,15 @@ exports.SendMessageForCustomerDeletedInput = SendMessageForCustomerDeletedInput;
|
|
|
656
738
|
exports.SendMessageForCustomerUpdatedInput = SendMessageForCustomerUpdatedInput;
|
|
657
739
|
exports.SendMessageForSendScenarioInput = SendMessageForSendScenarioInput;
|
|
658
740
|
exports.SendMessageForSendVerificationFlowInput = SendMessageForSendVerificationFlowInput;
|
|
741
|
+
exports.SendMessageForTMSCreatedInput = SendMessageForTMSCreatedInput;
|
|
742
|
+
exports.SendMessageForTMSDeletedInput = SendMessageForTMSDeletedInput;
|
|
743
|
+
exports.SendMessageForTMSUpdatedInput = SendMessageForTMSUpdatedInput;
|
|
659
744
|
exports.SendScenarioPayload = SendScenarioPayload;
|
|
660
745
|
exports.SendVerificationFlowPayload = SendVerificationFlowPayload;
|
|
746
|
+
exports.TMSCreatedPayload = TMSCreatedPayload;
|
|
747
|
+
exports.TMSDeletedPayload = TMSDeletedPayload;
|
|
748
|
+
exports.TMSUpdatedPayload = TMSUpdatedPayload;
|
|
749
|
+
exports.TMSWebhookPayload = TMSWebhookPayload;
|
|
661
750
|
exports.UpdateEndpointInput = UpdateEndpointInput;
|
|
662
751
|
exports.UpdateEndpointOutput = UpdateEndpointOutput;
|
|
663
752
|
exports.UserInfoForDuplicate = UserInfoForDuplicate;
|
|
@@ -672,4 +761,5 @@ exports.WebhookEventTypeForm = WebhookEventTypeForm;
|
|
|
672
761
|
exports.WebhookEventTypes = WebhookEventTypes;
|
|
673
762
|
exports.WebhookEventTypesForm = WebhookEventTypesForm;
|
|
674
763
|
exports.WebhookScenariosEventPayload = WebhookScenariosEventPayload;
|
|
764
|
+
exports.WebhookTMSEventPayload = WebhookTMSEventPayload;
|
|
675
765
|
exports.WebhookVerificationEventPayload = WebhookVerificationEventPayload;
|