@nexeraprotocol/nexera-id-schemas
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -10,2 +10,3 @@ 'use strict'; | ||
require('../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.cjs.dev.js'); | ||
require('../../dist/defineProperty-21d22449.cjs.dev.js'); | ||
require('i18n-iso-countries'); | ||
@@ -12,0 +13,0 @@ |
@@ -10,2 +10,3 @@ 'use strict'; | ||
require('../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.cjs.prod.js'); | ||
require('../../dist/defineProperty-6ca2d9a5.cjs.prod.js'); | ||
require('i18n-iso-countries'); | ||
@@ -12,0 +13,0 @@ |
@@ -6,2 +6,3 @@ import { z } from 'zod'; | ||
import '../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.esm.js'; | ||
import '../../dist/defineProperty-e24c82ea.esm.js'; | ||
import 'i18n-iso-countries'; | ||
@@ -8,0 +9,0 @@ |
@@ -5,5 +5,7 @@ 'use strict'; | ||
var defineProperty = require('../../../dist/defineProperty-21d22449.cjs.dev.js'); | ||
var zod = require('zod'); | ||
var vcSchemas = require('../../../dist/vc-schemas-c7f2970f.cjs.dev.js'); | ||
var _RuleResultStatusLabe; | ||
var RuleEngineResponseSchema = zod.z.object({ | ||
@@ -37,2 +39,3 @@ ruleId: zod.z.string(), | ||
var RuleResultStatus = zod.z["enum"](RuleResultStatuses); | ||
var RuleResultStatusLabels = (_RuleResultStatusLabe = {}, defineProperty._defineProperty(_RuleResultStatusLabe, RuleResultStatus.Enum.valid, 'Valid'), defineProperty._defineProperty(_RuleResultStatusLabe, RuleResultStatus.Enum['not-valid'], 'Not Valid'), defineProperty._defineProperty(_RuleResultStatusLabe, RuleResultStatus.Enum.error, 'Error'), defineProperty._defineProperty(_RuleResultStatusLabe, RuleResultStatus.Enum.unknown, 'Unknown'), _RuleResultStatusLabe); | ||
@@ -42,4 +45,5 @@ exports.ExecuteScenarioConfigSchema = ExecuteScenarioConfigSchema; | ||
exports.RuleResultStatus = RuleResultStatus; | ||
exports.RuleResultStatusLabels = RuleResultStatusLabels; | ||
exports.RuleResultStatuses = RuleResultStatuses; | ||
exports.ScenarioExecutionInputSchema = ScenarioExecutionInputSchema; | ||
exports.ScenarioExecutionResponseSchema = ScenarioExecutionResponseSchema; |
@@ -5,5 +5,7 @@ 'use strict'; | ||
var defineProperty = require('../../../dist/defineProperty-6ca2d9a5.cjs.prod.js'); | ||
var zod = require('zod'); | ||
var vcSchemas = require('../../../dist/vc-schemas-2b7388fd.cjs.prod.js'); | ||
var _RuleResultStatusLabe; | ||
var RuleEngineResponseSchema = zod.z.object({ | ||
@@ -37,2 +39,3 @@ ruleId: zod.z.string(), | ||
var RuleResultStatus = zod.z["enum"](RuleResultStatuses); | ||
var RuleResultStatusLabels = (_RuleResultStatusLabe = {}, defineProperty._defineProperty(_RuleResultStatusLabe, RuleResultStatus.Enum.valid, 'Valid'), defineProperty._defineProperty(_RuleResultStatusLabe, RuleResultStatus.Enum['not-valid'], 'Not Valid'), defineProperty._defineProperty(_RuleResultStatusLabe, RuleResultStatus.Enum.error, 'Error'), defineProperty._defineProperty(_RuleResultStatusLabe, RuleResultStatus.Enum.unknown, 'Unknown'), _RuleResultStatusLabe); | ||
@@ -42,4 +45,5 @@ exports.ExecuteScenarioConfigSchema = ExecuteScenarioConfigSchema; | ||
exports.RuleResultStatus = RuleResultStatus; | ||
exports.RuleResultStatusLabels = RuleResultStatusLabels; | ||
exports.RuleResultStatuses = RuleResultStatuses; | ||
exports.ScenarioExecutionInputSchema = ScenarioExecutionInputSchema; | ||
exports.ScenarioExecutionResponseSchema = ScenarioExecutionResponseSchema; |
@@ -0,4 +1,6 @@ | ||
import { _ as _defineProperty } from '../../../dist/defineProperty-e24c82ea.esm.js'; | ||
import { z } from 'zod'; | ||
import { G as GenericVerifiableCredentialSchema } from '../../../dist/vc-schemas-bb808ea2.esm.js'; | ||
var _RuleResultStatusLabe; | ||
var RuleEngineResponseSchema = z.object({ | ||
@@ -32,3 +34,4 @@ ruleId: z.string(), | ||
var RuleResultStatus = z["enum"](RuleResultStatuses); | ||
var RuleResultStatusLabels = (_RuleResultStatusLabe = {}, _defineProperty(_RuleResultStatusLabe, RuleResultStatus.Enum.valid, 'Valid'), _defineProperty(_RuleResultStatusLabe, RuleResultStatus.Enum['not-valid'], 'Not Valid'), _defineProperty(_RuleResultStatusLabe, RuleResultStatus.Enum.error, 'Error'), _defineProperty(_RuleResultStatusLabe, RuleResultStatus.Enum.unknown, 'Unknown'), _RuleResultStatusLabe); | ||
export { ExecuteScenarioConfigSchema, RuleEngineResponseSchema, RuleResultStatus, RuleResultStatuses, ScenarioExecutionInputSchema, ScenarioExecutionResponseSchema }; | ||
export { ExecuteScenarioConfigSchema, RuleEngineResponseSchema, RuleResultStatus, RuleResultStatusLabels, RuleResultStatuses, ScenarioExecutionInputSchema, ScenarioExecutionResponseSchema }; |
@@ -190,2 +190,3 @@ import { z } from "zod"; | ||
export type RuleResultStatus = z.infer<typeof RuleResultStatus>; | ||
export declare const RuleResultStatusLabels: Record<RuleResultStatus, string>; | ||
//# sourceMappingURL=execute-scenario.d.ts.map |
@@ -81,2 +81,3 @@ import { z } from "zod"; | ||
pageSize: z.ZodDefault<z.ZodNumber>; | ||
status: z.ZodOptional<z.ZodEnum<["valid", "not-valid", "error", "unknown"]>>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -90,2 +91,3 @@ appId: string; | ||
ruleIds?: string[] | undefined; | ||
status?: "valid" | "error" | "unknown" | "not-valid" | undefined; | ||
}, { | ||
@@ -99,2 +101,3 @@ appId: string; | ||
pageSize?: number | undefined; | ||
status?: "valid" | "error" | "unknown" | "not-valid" | undefined; | ||
}>; | ||
@@ -108,12 +111,18 @@ export type GetRulesExecutionsParams = z.infer<typeof GetRulesExecutionsParams>; | ||
did: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
executedAt: z.ZodDate; | ||
status: z.ZodEnum<["valid", "not-valid", "error", "unknown"]>; | ||
}, "strip", z.ZodTypeAny, { | ||
status: "valid" | "error" | "unknown" | "not-valid"; | ||
ruleIds: string[]; | ||
scenarioIds: string[]; | ||
executionId: string; | ||
executedAt: Date; | ||
walletAddress?: string | null | undefined; | ||
did?: string | null | undefined; | ||
}, { | ||
status: "valid" | "error" | "unknown" | "not-valid"; | ||
ruleIds: string[]; | ||
scenarioIds: string[]; | ||
executionId: string; | ||
executedAt: Date; | ||
walletAddress?: string | null | undefined; | ||
@@ -123,22 +132,53 @@ did?: string | null | undefined; | ||
export type RuleExecution = z.infer<typeof RuleExecution>; | ||
export declare const GetRulesExecutionsOutput: z.ZodArray<z.ZodObject<{ | ||
executionId: z.ZodString; | ||
ruleIds: z.ZodArray<z.ZodString, "many">; | ||
scenarioIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>; | ||
walletAddress: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>; | ||
did: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
export declare const GetRulesExecutionsOutput: z.ZodObject<{ | ||
totalCount: z.ZodNumber; | ||
filteredData: z.ZodArray<z.ZodObject<{ | ||
executionId: z.ZodString; | ||
ruleIds: z.ZodArray<z.ZodString, "many">; | ||
scenarioIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>; | ||
walletAddress: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>; | ||
did: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
executedAt: z.ZodDate; | ||
status: z.ZodEnum<["valid", "not-valid", "error", "unknown"]>; | ||
}, "strip", z.ZodTypeAny, { | ||
status: "valid" | "error" | "unknown" | "not-valid"; | ||
ruleIds: string[]; | ||
scenarioIds: string[]; | ||
executionId: string; | ||
executedAt: Date; | ||
walletAddress?: string | null | undefined; | ||
did?: string | null | undefined; | ||
}, { | ||
status: "valid" | "error" | "unknown" | "not-valid"; | ||
ruleIds: string[]; | ||
scenarioIds: string[]; | ||
executionId: string; | ||
executedAt: Date; | ||
walletAddress?: string | null | undefined; | ||
did?: string | null | undefined; | ||
}>, "many">; | ||
}, "strip", z.ZodTypeAny, { | ||
ruleIds: string[]; | ||
scenarioIds: string[]; | ||
executionId: string; | ||
walletAddress?: string | null | undefined; | ||
did?: string | null | undefined; | ||
totalCount: number; | ||
filteredData: { | ||
status: "valid" | "error" | "unknown" | "not-valid"; | ||
ruleIds: string[]; | ||
scenarioIds: string[]; | ||
executionId: string; | ||
executedAt: Date; | ||
walletAddress?: string | null | undefined; | ||
did?: string | null | undefined; | ||
}[]; | ||
}, { | ||
ruleIds: string[]; | ||
scenarioIds: string[]; | ||
executionId: string; | ||
walletAddress?: string | null | undefined; | ||
did?: string | null | undefined; | ||
}>, "many">; | ||
totalCount: number; | ||
filteredData: { | ||
status: "valid" | "error" | "unknown" | "not-valid"; | ||
ruleIds: string[]; | ||
scenarioIds: string[]; | ||
executionId: string; | ||
executedAt: Date; | ||
walletAddress?: string | null | undefined; | ||
did?: string | null | undefined; | ||
}[]; | ||
}>; | ||
export type GetRulesExecutionsOutput = z.infer<typeof GetRulesExecutionsOutput>; | ||
//# sourceMappingURL=stats.d.ts.map |
@@ -5,2 +5,3 @@ 'use strict'; | ||
var defineProperty = require('./defineProperty-21d22449.cjs.dev.js'); | ||
var zod = require('zod'); | ||
@@ -461,33 +462,2 @@ var compliance_kyc_dist_nexeraprotocolNexeraIdSchemasComplianceKyc = require('./kyc-b094493d.cjs.dev.js'); | ||
function _toPrimitive(input, hint) { | ||
if (typeof input !== "object" || input === null) return input; | ||
var prim = input[Symbol.toPrimitive]; | ||
if (prim !== undefined) { | ||
var res = prim.call(input, hint || "default"); | ||
if (typeof res !== "object") return res; | ||
throw new TypeError("@@toPrimitive must return a primitive value."); | ||
} | ||
return (hint === "string" ? String : Number)(input); | ||
} | ||
function _toPropertyKey(arg) { | ||
var key = _toPrimitive(arg, "string"); | ||
return typeof key === "symbol" ? key : String(key); | ||
} | ||
function _defineProperty(obj, key, value) { | ||
key = _toPropertyKey(key); | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
var _NEXERA_CHAIN_RELAYER, _NEXERA_CHAIN_NAMES, _NEXERA_CHAIN_VALUES; | ||
@@ -509,5 +479,5 @@ var NEXERA_RELAYERS = /*#__PURE__*/function (NEXERA_RELAYERS) { | ||
}({}); | ||
var NEXERA_CHAIN_RELAYERS = (_NEXERA_CHAIN_RELAYER = {}, _defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.ETHEREUM, NEXERA_RELAYERS.GELATO), _defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.GOERLI, NEXERA_RELAYERS.GELATO), _defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.POLYGON, NEXERA_RELAYERS.GELATO), _defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.MUMBAI, NEXERA_RELAYERS.GELATO), _defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.AVALANCH, NEXERA_RELAYERS.OZ), _defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.FUJI, NEXERA_RELAYERS.OZ), _NEXERA_CHAIN_RELAYER); | ||
var NEXERA_CHAIN_NAMES = (_NEXERA_CHAIN_NAMES = {}, _defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.ETHEREUM, "eth-mainnet"), _defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.GOERLI, "goerli"), _defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.POLYGON, "matic-mainnet"), _defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.MUMBAI, "matic-mumbai"), _defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.AVALANCH, "avalanche-mainnet"), _defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.FUJI, "avalanche-testnet"), _NEXERA_CHAIN_NAMES); | ||
var NEXERA_CHAIN_VALUES = (_NEXERA_CHAIN_VALUES = {}, _defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.ETHEREUM, 1), _defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.GOERLI, 5), _defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.POLYGON, 137), _defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.MUMBAI, 80001), _defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.AVALANCH, 43114), _defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.FUJI, 43113), _NEXERA_CHAIN_VALUES); | ||
var NEXERA_CHAIN_RELAYERS = (_NEXERA_CHAIN_RELAYER = {}, defineProperty._defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.ETHEREUM, NEXERA_RELAYERS.GELATO), defineProperty._defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.GOERLI, NEXERA_RELAYERS.GELATO), defineProperty._defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.POLYGON, NEXERA_RELAYERS.GELATO), defineProperty._defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.MUMBAI, NEXERA_RELAYERS.GELATO), defineProperty._defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.AVALANCH, NEXERA_RELAYERS.OZ), defineProperty._defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.FUJI, NEXERA_RELAYERS.OZ), _NEXERA_CHAIN_RELAYER); | ||
var NEXERA_CHAIN_NAMES = (_NEXERA_CHAIN_NAMES = {}, defineProperty._defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.ETHEREUM, "eth-mainnet"), defineProperty._defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.GOERLI, "goerli"), defineProperty._defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.POLYGON, "matic-mainnet"), defineProperty._defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.MUMBAI, "matic-mumbai"), defineProperty._defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.AVALANCH, "avalanche-mainnet"), defineProperty._defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.FUJI, "avalanche-testnet"), _NEXERA_CHAIN_NAMES); | ||
var NEXERA_CHAIN_VALUES = (_NEXERA_CHAIN_VALUES = {}, defineProperty._defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.ETHEREUM, 1), defineProperty._defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.GOERLI, 5), defineProperty._defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.POLYGON, 137), defineProperty._defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.MUMBAI, 80001), defineProperty._defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.AVALANCH, 43114), defineProperty._defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.FUJI, 43113), _NEXERA_CHAIN_VALUES); | ||
var ChainIdSchema = zod.z.preprocess(function (val) { | ||
@@ -514,0 +484,0 @@ return String(val); |
@@ -5,2 +5,3 @@ 'use strict'; | ||
var defineProperty = require('./defineProperty-6ca2d9a5.cjs.prod.js'); | ||
var zod = require('zod'); | ||
@@ -461,33 +462,2 @@ var compliance_kyc_dist_nexeraprotocolNexeraIdSchemasComplianceKyc = require('./kyc-ef5f1574.cjs.prod.js'); | ||
function _toPrimitive(input, hint) { | ||
if (typeof input !== "object" || input === null) return input; | ||
var prim = input[Symbol.toPrimitive]; | ||
if (prim !== undefined) { | ||
var res = prim.call(input, hint || "default"); | ||
if (typeof res !== "object") return res; | ||
throw new TypeError("@@toPrimitive must return a primitive value."); | ||
} | ||
return (hint === "string" ? String : Number)(input); | ||
} | ||
function _toPropertyKey(arg) { | ||
var key = _toPrimitive(arg, "string"); | ||
return typeof key === "symbol" ? key : String(key); | ||
} | ||
function _defineProperty(obj, key, value) { | ||
key = _toPropertyKey(key); | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
var _NEXERA_CHAIN_RELAYER, _NEXERA_CHAIN_NAMES, _NEXERA_CHAIN_VALUES; | ||
@@ -509,5 +479,5 @@ var NEXERA_RELAYERS = /*#__PURE__*/function (NEXERA_RELAYERS) { | ||
}({}); | ||
var NEXERA_CHAIN_RELAYERS = (_NEXERA_CHAIN_RELAYER = {}, _defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.ETHEREUM, NEXERA_RELAYERS.GELATO), _defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.GOERLI, NEXERA_RELAYERS.GELATO), _defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.POLYGON, NEXERA_RELAYERS.GELATO), _defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.MUMBAI, NEXERA_RELAYERS.GELATO), _defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.AVALANCH, NEXERA_RELAYERS.OZ), _defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.FUJI, NEXERA_RELAYERS.OZ), _NEXERA_CHAIN_RELAYER); | ||
var NEXERA_CHAIN_NAMES = (_NEXERA_CHAIN_NAMES = {}, _defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.ETHEREUM, "eth-mainnet"), _defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.GOERLI, "goerli"), _defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.POLYGON, "matic-mainnet"), _defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.MUMBAI, "matic-mumbai"), _defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.AVALANCH, "avalanche-mainnet"), _defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.FUJI, "avalanche-testnet"), _NEXERA_CHAIN_NAMES); | ||
var NEXERA_CHAIN_VALUES = (_NEXERA_CHAIN_VALUES = {}, _defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.ETHEREUM, 1), _defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.GOERLI, 5), _defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.POLYGON, 137), _defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.MUMBAI, 80001), _defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.AVALANCH, 43114), _defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.FUJI, 43113), _NEXERA_CHAIN_VALUES); | ||
var NEXERA_CHAIN_RELAYERS = (_NEXERA_CHAIN_RELAYER = {}, defineProperty._defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.ETHEREUM, NEXERA_RELAYERS.GELATO), defineProperty._defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.GOERLI, NEXERA_RELAYERS.GELATO), defineProperty._defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.POLYGON, NEXERA_RELAYERS.GELATO), defineProperty._defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.MUMBAI, NEXERA_RELAYERS.GELATO), defineProperty._defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.AVALANCH, NEXERA_RELAYERS.OZ), defineProperty._defineProperty(_NEXERA_CHAIN_RELAYER, NEXERA_CHAINS.FUJI, NEXERA_RELAYERS.OZ), _NEXERA_CHAIN_RELAYER); | ||
var NEXERA_CHAIN_NAMES = (_NEXERA_CHAIN_NAMES = {}, defineProperty._defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.ETHEREUM, "eth-mainnet"), defineProperty._defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.GOERLI, "goerli"), defineProperty._defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.POLYGON, "matic-mainnet"), defineProperty._defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.MUMBAI, "matic-mumbai"), defineProperty._defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.AVALANCH, "avalanche-mainnet"), defineProperty._defineProperty(_NEXERA_CHAIN_NAMES, NEXERA_CHAINS.FUJI, "avalanche-testnet"), _NEXERA_CHAIN_NAMES); | ||
var NEXERA_CHAIN_VALUES = (_NEXERA_CHAIN_VALUES = {}, defineProperty._defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.ETHEREUM, 1), defineProperty._defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.GOERLI, 5), defineProperty._defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.POLYGON, 137), defineProperty._defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.MUMBAI, 80001), defineProperty._defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.AVALANCH, 43114), defineProperty._defineProperty(_NEXERA_CHAIN_VALUES, NEXERA_CHAINS.FUJI, 43113), _NEXERA_CHAIN_VALUES); | ||
var ChainIdSchema = zod.z.preprocess(function (val) { | ||
@@ -514,0 +484,0 @@ return String(val); |
@@ -0,1 +1,2 @@ | ||
import { _ as _defineProperty } from './defineProperty-e24c82ea.esm.js'; | ||
import { z } from 'zod'; | ||
@@ -457,33 +458,2 @@ export { e as AVAILABLE_FLOWS, A as ApplicationClientDataSchema, k as AuthAccessToken, D as DownloadableKycSchema, E as EncryptedKycKey, a as EncryptedVerifiableCredentialDataSchema, b as EncryptedVerifiableCredentialSchema, G as GbgConfigSchema, I as IdentifierSchema, K as KYCDataResponseSchema, f as KYC_SDK_RESPONSES, j as KYC_SDK_RESPONSES_DATA, i as KycCompletionDataSchema, g as KycSdkResponsesSchema, S as SumsubApplicantAddressSchema, c as SumsubApplicantInfoSchema, d as SumsubApplicationDataSchema, V as VerificationModeSchema, h as VerificationModes } from './kyc-0e98bfa4.esm.js'; | ||
function _toPrimitive(input, hint) { | ||
if (typeof input !== "object" || input === null) return input; | ||
var prim = input[Symbol.toPrimitive]; | ||
if (prim !== undefined) { | ||
var res = prim.call(input, hint || "default"); | ||
if (typeof res !== "object") return res; | ||
throw new TypeError("@@toPrimitive must return a primitive value."); | ||
} | ||
return (hint === "string" ? String : Number)(input); | ||
} | ||
function _toPropertyKey(arg) { | ||
var key = _toPrimitive(arg, "string"); | ||
return typeof key === "symbol" ? key : String(key); | ||
} | ||
function _defineProperty(obj, key, value) { | ||
key = _toPropertyKey(key); | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
} | ||
var _NEXERA_CHAIN_RELAYER, _NEXERA_CHAIN_NAMES, _NEXERA_CHAIN_VALUES; | ||
@@ -490,0 +460,0 @@ var NEXERA_RELAYERS = /*#__PURE__*/function (NEXERA_RELAYERS) { |
{ | ||
"name": "@nexeraprotocol/nexera-id-schemas", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/nexeraprotocol-nexera-id-schemas.cjs.js", |
@@ -7,2 +7,3 @@ 'use strict'; | ||
var dist_nexeraprotocolNexeraIdSchemas = require('../../dist/nexeraprotocol-nexera-id-schemas.cjs.dev.js'); | ||
require('../../dist/defineProperty-21d22449.cjs.dev.js'); | ||
require('../../dist/kyc-b094493d.cjs.dev.js'); | ||
@@ -9,0 +10,0 @@ require('../../dist/vc-schemas-c7f2970f.cjs.dev.js'); |
@@ -7,2 +7,3 @@ 'use strict'; | ||
var dist_nexeraprotocolNexeraIdSchemas = require('../../dist/nexeraprotocol-nexera-id-schemas.cjs.prod.js'); | ||
require('../../dist/defineProperty-6ca2d9a5.cjs.prod.js'); | ||
require('../../dist/kyc-ef5f1574.cjs.prod.js'); | ||
@@ -9,0 +10,0 @@ require('../../dist/vc-schemas-2b7388fd.cjs.prod.js'); |
import { z } from 'zod'; | ||
import { ChainIdSchema, AddressSchema } from '../../dist/nexeraprotocol-nexera-id-schemas.esm.js'; | ||
import '../../dist/defineProperty-e24c82ea.esm.js'; | ||
import '../../dist/kyc-0e98bfa4.esm.js'; | ||
@@ -4,0 +5,0 @@ import '../../dist/vc-schemas-bb808ea2.esm.js'; |
{ | ||
"name": "@nexeraprotocol/nexera-id-schemas", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/nexeraprotocol-nexera-id-schemas.cjs.js", |
@@ -12,2 +12,3 @@ 'use strict'; | ||
require('../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.cjs.dev.js'); | ||
require('../../dist/defineProperty-21d22449.cjs.dev.js'); | ||
require('i18n-iso-countries'); | ||
@@ -48,3 +49,4 @@ | ||
page: zod.z.number()["default"](1), | ||
pageSize: zod.z.number()["default"](10) | ||
pageSize: zod.z.number()["default"](10), | ||
status: compliance_executeScenario_dist_nexeraprotocolNexeraIdSchemasComplianceExecuteScenario.RuleResultStatus.optional() | ||
}); | ||
@@ -58,5 +60,10 @@ var RuleExecution = zod.z.object({ | ||
walletAddress: dist_nexeraprotocolNexeraIdSchemas.AddressSchema.nullish(), | ||
did: zod.z.string().nullish() | ||
did: zod.z.string().nullish(), | ||
executedAt: zod.z.coerce.date(), | ||
status: compliance_executeScenario_dist_nexeraprotocolNexeraIdSchemasComplianceExecuteScenario.RuleResultStatus | ||
}); | ||
var GetRulesExecutionsOutput = zod.z.array(RuleExecution); | ||
var GetRulesExecutionsOutput = zod.z.object({ | ||
totalCount: zod.z.number(), | ||
filteredData: zod.z.array(RuleExecution) | ||
}); | ||
@@ -63,0 +70,0 @@ exports.DASHBOARD_STATS_TIME_FRAMES = DASHBOARD_STATS_TIME_FRAMES; |
@@ -12,2 +12,3 @@ 'use strict'; | ||
require('../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.cjs.prod.js'); | ||
require('../../dist/defineProperty-6ca2d9a5.cjs.prod.js'); | ||
require('i18n-iso-countries'); | ||
@@ -48,3 +49,4 @@ | ||
page: zod.z.number()["default"](1), | ||
pageSize: zod.z.number()["default"](10) | ||
pageSize: zod.z.number()["default"](10), | ||
status: compliance_executeScenario_dist_nexeraprotocolNexeraIdSchemasComplianceExecuteScenario.RuleResultStatus.optional() | ||
}); | ||
@@ -58,5 +60,10 @@ var RuleExecution = zod.z.object({ | ||
walletAddress: dist_nexeraprotocolNexeraIdSchemas.AddressSchema.nullish(), | ||
did: zod.z.string().nullish() | ||
did: zod.z.string().nullish(), | ||
executedAt: zod.z.coerce.date(), | ||
status: compliance_executeScenario_dist_nexeraprotocolNexeraIdSchemasComplianceExecuteScenario.RuleResultStatus | ||
}); | ||
var GetRulesExecutionsOutput = zod.z.array(RuleExecution); | ||
var GetRulesExecutionsOutput = zod.z.object({ | ||
totalCount: zod.z.number(), | ||
filteredData: zod.z.array(RuleExecution) | ||
}); | ||
@@ -63,0 +70,0 @@ exports.DASHBOARD_STATS_TIME_FRAMES = DASHBOARD_STATS_TIME_FRAMES; |
@@ -8,2 +8,3 @@ import { z } from 'zod'; | ||
import '../../compliance/execute-challenge-query/dist/nexeraprotocol-nexera-id-schemas-compliance-execute-challenge-query.esm.js'; | ||
import '../../dist/defineProperty-e24c82ea.esm.js'; | ||
import 'i18n-iso-countries'; | ||
@@ -44,3 +45,4 @@ | ||
page: z.number()["default"](1), | ||
pageSize: z.number()["default"](10) | ||
pageSize: z.number()["default"](10), | ||
status: RuleResultStatus.optional() | ||
}); | ||
@@ -54,6 +56,11 @@ var RuleExecution = z.object({ | ||
walletAddress: AddressSchema.nullish(), | ||
did: z.string().nullish() | ||
did: z.string().nullish(), | ||
executedAt: z.coerce.date(), | ||
status: RuleResultStatus | ||
}); | ||
var GetRulesExecutionsOutput = z.array(RuleExecution); | ||
var GetRulesExecutionsOutput = z.object({ | ||
totalCount: z.number(), | ||
filteredData: z.array(RuleExecution) | ||
}); | ||
export { DASHBOARD_STATS_TIME_FRAMES, GetKycCountsOutput, GetKycCountsParams, GetRuleCountsOutput, GetRuleCountsParams, GetRulesExecutionsOutput, GetRulesExecutionsParams, RuleExecution, Timeframe }; |
@@ -8,2 +8,3 @@ 'use strict'; | ||
var metaTx_dist_nexeraprotocolNexeraIdSchemasMetaTx = require('../../meta-tx/dist/nexeraprotocol-nexera-id-schemas-meta-tx.cjs.dev.js'); | ||
require('../../dist/defineProperty-21d22449.cjs.dev.js'); | ||
require('../../dist/kyc-b094493d.cjs.dev.js'); | ||
@@ -10,0 +11,0 @@ require('../../dist/vc-schemas-c7f2970f.cjs.dev.js'); |
@@ -8,2 +8,3 @@ 'use strict'; | ||
var metaTx_dist_nexeraprotocolNexeraIdSchemasMetaTx = require('../../meta-tx/dist/nexeraprotocol-nexera-id-schemas-meta-tx.cjs.prod.js'); | ||
require('../../dist/defineProperty-6ca2d9a5.cjs.prod.js'); | ||
require('../../dist/kyc-ef5f1574.cjs.prod.js'); | ||
@@ -10,0 +11,0 @@ require('../../dist/vc-schemas-2b7388fd.cjs.prod.js'); |
import { z } from 'zod'; | ||
import { ChainIdSchema, Subgraphs } from '../../dist/nexeraprotocol-nexera-id-schemas.esm.js'; | ||
import { TxRelayStateSchema } from '../../meta-tx/dist/nexeraprotocol-nexera-id-schemas-meta-tx.esm.js'; | ||
import '../../dist/defineProperty-e24c82ea.esm.js'; | ||
import '../../dist/kyc-0e98bfa4.esm.js'; | ||
@@ -5,0 +6,0 @@ import '../../dist/vc-schemas-bb808ea2.esm.js'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1657742
127
35203