@nexeraid/identity-schemas 2.53.0-dev → 2.54.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-639291db.cjs.dev.cjs → CoinMarketCap.schema-9747956b.cjs.dev.cjs} +2 -2
- package/dist/{CoinMarketCap.schema-7c99cb7c.cjs.prod.cjs → CoinMarketCap.schema-e0f6e89c.cjs.prod.cjs} +2 -2
- package/dist/{CoinMarketCap.schema-49df10fd.esm.mjs → CoinMarketCap.schema-fa72c081.esm.mjs} +2 -2
- package/dist/declarations/src/vault/data-link.schema.d.ts +1 -0
- package/dist/declarations/src/vault/data-link.schema.d.ts.map +1 -1
- package/dist/declarations/src/{data-links-temp/data-links.d.ts → vault/data-links/data-links.schema.d.ts} +2 -8
- package/dist/declarations/src/vault/data-links/data-links.schema.d.ts.map +1 -0
- package/dist/declarations/src/vault/data-links/index.d.ts +6 -0
- package/dist/declarations/src/vault/data-links/index.d.ts.map +1 -0
- package/dist/declarations/src/vault/data-links/metadata-links.schema.d.ts +16 -0
- package/dist/declarations/src/vault/data-links/metadata-links.schema.d.ts.map +1 -0
- package/dist/declarations/src/vault/data-links/object-path.d.ts.map +1 -0
- package/dist/declarations/src/vault/data-links/type-util.d.ts.map +1 -0
- package/dist/declarations/src/vault/data-links/zod-utils.d.ts.map +1 -0
- package/dist/declarations/src/vault/vault.schema.d.ts +1 -1
- package/dist/declarations/src/vault/vault.schema.d.ts.map +1 -1
- package/dist/{frontend-utilities.schema-7532d8f3.cjs.dev.cjs → frontend-utilities.schema-92d876ae.cjs.dev.cjs} +2 -2
- package/dist/{frontend-utilities.schema-e2cf1121.esm.mjs → frontend-utilities.schema-ceff7f1b.esm.mjs} +2 -2
- package/dist/{frontend-utilities.schema-e299aaef.cjs.prod.cjs → frontend-utilities.schema-d23b92dd.cjs.prod.cjs} +2 -2
- package/dist/{identity-api.schema-65cbc9ef.esm.mjs → identity-api.schema-01880e1c.esm.mjs} +1 -1
- package/dist/{identity-api.schema-67b0ee5c.cjs.prod.cjs → identity-api.schema-a0ad7c7b.cjs.prod.cjs} +1 -1
- package/dist/{identity-api.schema-6c031e65.cjs.dev.cjs → identity-api.schema-f4d1d9f8.cjs.dev.cjs} +1 -1
- package/dist/nexeraid-identity-schemas.cjs.dev.cjs +7 -4
- package/dist/nexeraid-identity-schemas.cjs.prod.cjs +7 -4
- package/dist/nexeraid-identity-schemas.esm.mjs +4 -5
- package/dist/package.json +1 -1
- package/dist/{vault.schema-2048f78f.cjs.dev.cjs → vault.schema-666eefd8.cjs.prod.cjs} +159 -33
- package/dist/{vault.schema-5cdddf4f.esm.mjs → vault.schema-789028ce.esm.mjs} +155 -30
- package/dist/{vault.schema-33b925bb.cjs.prod.cjs → vault.schema-bce4b304.cjs.dev.cjs} +159 -33
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +2 -3
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +2 -3
- package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +2 -3
- package/package.json +1 -1
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +3 -4
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +3 -4
- package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +3 -4
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.dev.cjs +5 -2
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.prod.cjs +5 -2
- package/vault/dist/nexeraid-identity-schemas-vault.esm.mjs +1 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +3 -4
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +3 -4
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +3 -4
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +4 -9
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +4 -9
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +3 -8
- package/dist/declarations/src/data-links-temp/data-links-serialize.d.ts +0 -18
- package/dist/declarations/src/data-links-temp/data-links-serialize.d.ts.map +0 -1
- package/dist/declarations/src/data-links-temp/data-links-transformer.d.ts +0 -50
- package/dist/declarations/src/data-links-temp/data-links-transformer.d.ts.map +0 -1
- package/dist/declarations/src/data-links-temp/data-links-zod.d.ts +0 -16
- package/dist/declarations/src/data-links-temp/data-links-zod.d.ts.map +0 -1
- package/dist/declarations/src/data-links-temp/data-links.d.ts.map +0 -1
- package/dist/declarations/src/data-links-temp/debug-util.d.ts +0 -4
- package/dist/declarations/src/data-links-temp/debug-util.d.ts.map +0 -1
- package/dist/declarations/src/data-links-temp/index.d.ts +0 -12
- package/dist/declarations/src/data-links-temp/index.d.ts.map +0 -1
- package/dist/declarations/src/data-links-temp/metadata-links-serialize.d.ts +0 -16
- package/dist/declarations/src/data-links-temp/metadata-links-serialize.d.ts.map +0 -1
- package/dist/declarations/src/data-links-temp/metadata-links-zod.d.ts +0 -17
- package/dist/declarations/src/data-links-temp/metadata-links-zod.d.ts.map +0 -1
- package/dist/declarations/src/data-links-temp/metadata-links.d.ts +0 -21
- package/dist/declarations/src/data-links-temp/metadata-links.d.ts.map +0 -1
- package/dist/declarations/src/data-links-temp/object-path.d.ts.map +0 -1
- package/dist/declarations/src/data-links-temp/type-util.d.ts.map +0 -1
- package/dist/declarations/src/data-links-temp/zod-utils.d.ts.map +0 -1
- /package/dist/declarations/src/{data-links-temp → vault/data-links}/object-path.d.ts +0 -0
- /package/dist/declarations/src/{data-links-temp → vault/data-links}/type-util.d.ts +0 -0
- /package/dist/declarations/src/{data-links-temp → vault/data-links}/zod-utils.d.ts +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import 'remeda';
|
|
3
2
|
import Decimal from 'decimal.js';
|
|
4
3
|
|
|
5
4
|
var CurrencyCodes = ["ADP", "AED", "AFA", "AFN", "ALK", "ALL", "AMD", "ANG", "AOA", "AOK", "AON", "AOR", "ARA", "ARP", "ARS", "ARY", "ATS", "AUD", "AWG", "AYM", "AZM", "AZN", "BAD", "BAM", "BBD", "BDT", "BEC", "BEF", "BEL", "BGJ", "BGK", "BGL", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOP", "BOV", "BRB", "BRC", "BRE", "BRL", "BRN", "BRR", "BSD", "BTN", "BUK", "BWP", "BYB", "BYN", "BYR", "BZD", "CAD", "CDF", "CHC", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CSD", "CSJ", "CSK", "CUC", "CUP", "CVE", "CYP", "CZK", "DDM", "DEM", "DJF", "DKK", "DOP", "DZD", "ECS", "ECV", "EEK", "EGP", "ERN", "ESA", "ESB", "ESP", "ETB", "EUR", "FIM", "FJD", "FKP", "FRF", "GBP", "GEK", "GEL", "GHC", "GHP", "GHS", "GIP", "GMD", "GNE", "GNF", "GNS", "GQE", "GRD", "GTQ", "GWE", "GWP", "GYD", "HKD", "HNL", "HRD", "HRK", "HTG", "HUF", "IDR", "IEP", "ILP", "ILR", "ILS", "INR", "IQD", "IRR", "ISJ", "ISK", "ITL", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAJ", "LAK", "LBP", "LKR", "LRD", "LSL", "LSM", "LTL", "LTT", "LUC", "LUF", "LUL", "LVL", "LVR", "LYD", "MAD", "MDL", "MGA", "MGF", "MKD", "MLF", "MMK", "MNT", "MOP", "MRO", "MRU", "MTL", "MTP", "MUR", "MVQ", "MVR", "MWK", "MXN", "MXP", "MXV", "MYR", "MZE", "MZM", "MZN", "NAD", "NGN", "NIC", "NIO", "NLG", "NOK", "NPR", "NZD", "OMR", "PAB", "PEH", "PEI", "PEN", "PES", "PGK", "PHP", "PKR", "PLN", "PLZ", "PTE", "PYG", "QAR", "RHD", "ROK", "ROL", "RON", "RSD", "RUB", "RUR", "RWF", "SAR", "SBD", "SCR", "SDD", "SDG", "SDP", "SEK", "SGD", "SHP", "SIT", "SKK", "SLL", "SOS", "SRD", "SRG", "SSP", "STD", "STN", "SUR", "SVC", "SYP", "SZL", "THB", "TJR", "TJS", "TMM", "TMT", "TND", "TOP", "TPE", "TRL", "TRY", "TTD", "TWD", "TZS", "UAH", "UAK", "UGS", "UGW", "UGX", "USD", "USN", "USS", "UYI", "UYN", "UYP", "UYU", "UYW", "UZS", "VEB", "VEF", "VES", "VNC", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XEU", "XFO", "XFU", "XOF", "XPD", "XPF", "XPT", "XRE", "XSU", "XTS", "XUA", "XXX", "YDD", "YER", "YUD", "YUM", "YUN", "ZAL", "ZAR", "ZMK", "ZMW", "ZRN", "ZRZ", "ZWC", "ZWD", "ZWL", "ZWN", "ZWR"];
|
|
@@ -1721,6 +1720,60 @@ function _toConsumableArray(r) {
|
|
|
1721
1720
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
1722
1721
|
}
|
|
1723
1722
|
|
|
1723
|
+
z.literal("v1");
|
|
1724
|
+
|
|
1725
|
+
// this lib is too generic to follow the linting rules, a lot of types end up resolved to any
|
|
1726
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* Hint on how to resolve that link
|
|
1730
|
+
*/
|
|
1731
|
+
/* | "zama-chain"? | "etherscan"? | "coingecko"? ... */
|
|
1732
|
+
|
|
1733
|
+
var allDataLinkTypes$1 = ["pointer", "search", "embedded"];
|
|
1734
|
+
z["enum"](allDataLinkTypes$1);
|
|
1735
|
+
|
|
1736
|
+
/**
|
|
1737
|
+
* Common data link properties
|
|
1738
|
+
*/
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* PointerDataLink
|
|
1742
|
+
*
|
|
1743
|
+
* A link to a specific property in the schema
|
|
1744
|
+
*/
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* SearchLink
|
|
1748
|
+
*
|
|
1749
|
+
* A query to search the schema that returns a list of objects
|
|
1750
|
+
*/
|
|
1751
|
+
|
|
1752
|
+
/**
|
|
1753
|
+
* EmbeddedDataLink
|
|
1754
|
+
*
|
|
1755
|
+
* A link that contains a specific object
|
|
1756
|
+
*/
|
|
1757
|
+
|
|
1758
|
+
// tools to work with object paths in TypeScript
|
|
1759
|
+
|
|
1760
|
+
var Separator = "/";
|
|
1761
|
+
|
|
1762
|
+
// recursively get the type of a nested object property
|
|
1763
|
+
// TODO: support unions: {a: {b: string } | {c: number}} + "a/b" -> string | undefined
|
|
1764
|
+
|
|
1765
|
+
function _arrayWithHoles(r) {
|
|
1766
|
+
if (Array.isArray(r)) return r;
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
function _nonIterableRest() {
|
|
1770
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
function _toArray(r) {
|
|
1774
|
+
return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1724
1777
|
function _createForOfIteratorHelper(r, e) {
|
|
1725
1778
|
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
1726
1779
|
if (!t) {
|
|
@@ -1770,14 +1823,6 @@ function _createForOfIteratorHelper(r, e) {
|
|
|
1770
1823
|
};
|
|
1771
1824
|
}
|
|
1772
1825
|
|
|
1773
|
-
function _arrayWithHoles(r) {
|
|
1774
|
-
if (Array.isArray(r)) return r;
|
|
1775
|
-
}
|
|
1776
|
-
|
|
1777
|
-
function _nonIterableRest() {
|
|
1778
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
1826
|
function _iterableToArrayLimit(r, l) {
|
|
1782
1827
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
1783
1828
|
if (null != t) {
|
|
@@ -1810,26 +1855,6 @@ function _slicedToArray(r, e) {
|
|
|
1810
1855
|
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
1811
1856
|
}
|
|
1812
1857
|
|
|
1813
|
-
z.literal("v1");
|
|
1814
|
-
|
|
1815
|
-
// this lib is too generic to follow the linting rules, a lot of types end up resolved to any
|
|
1816
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1817
|
-
|
|
1818
|
-
/**
|
|
1819
|
-
* Hint on how to resolve that link
|
|
1820
|
-
*/
|
|
1821
|
-
/* | "zama-chain"? | "etherscan"? | "coingecko"? ... */
|
|
1822
|
-
|
|
1823
|
-
var allDataLinkTypes$1 = ["pointer", "search", "embedded"];
|
|
1824
|
-
z["enum"](allDataLinkTypes$1);
|
|
1825
|
-
|
|
1826
|
-
// tools to work with object paths in TypeScript
|
|
1827
|
-
|
|
1828
|
-
var Separator = "/";
|
|
1829
|
-
|
|
1830
|
-
// recursively get the type of a nested object property
|
|
1831
|
-
// TODO: support unions: {a: {b: string } | {c: number}} + "a/b" -> string | undefined
|
|
1832
|
-
|
|
1833
1858
|
// this lib is too generic to follow the linting rules, a lot of types end up resolved to any
|
|
1834
1859
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1835
1860
|
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
|
@@ -1883,6 +1908,106 @@ var generateZodObjectPaths = function generateZodObjectPaths(schema) {
|
|
|
1883
1908
|
return traverse(schema, []);
|
|
1884
1909
|
};
|
|
1885
1910
|
|
|
1911
|
+
// avoid circular dependency with logger
|
|
1912
|
+
|
|
1913
|
+
var resolvePathOnDataSchema = function resolvePathOnDataSchema(_ref) {
|
|
1914
|
+
var logger = _ref.logger,
|
|
1915
|
+
dataSchema = _ref.dataSchema,
|
|
1916
|
+
path = _ref.path;
|
|
1917
|
+
function traverse(schema, path) {
|
|
1918
|
+
if (path.length === 0) {
|
|
1919
|
+
return schema;
|
|
1920
|
+
}
|
|
1921
|
+
var _path = _toArray(path),
|
|
1922
|
+
part = _path[0],
|
|
1923
|
+
rest = _path.slice(1);
|
|
1924
|
+
if (!part) {
|
|
1925
|
+
return null; // unreachable due to previous check
|
|
1926
|
+
}
|
|
1927
|
+
if (schema.shape) {
|
|
1928
|
+
if (!(part in schema.shape)) {
|
|
1929
|
+
logger.error({
|
|
1930
|
+
msg: "part not found in schema.shape",
|
|
1931
|
+
data: {
|
|
1932
|
+
path: path,
|
|
1933
|
+
dataSchema: dataSchema
|
|
1934
|
+
}
|
|
1935
|
+
});
|
|
1936
|
+
return null;
|
|
1937
|
+
}
|
|
1938
|
+
return traverse(schema.shape[part], rest);
|
|
1939
|
+
} else if (schema instanceof z.ZodOptional) {
|
|
1940
|
+
return traverse(schema.unwrap(), path);
|
|
1941
|
+
} else if (schema instanceof z.ZodArray) {
|
|
1942
|
+
return traverse(schema.element, path);
|
|
1943
|
+
} else if (schema instanceof z.ZodIntersection) {
|
|
1944
|
+
// @ts-expect-error -- TODO: fix this
|
|
1945
|
+
var right = schema._def.right;
|
|
1946
|
+
if (!right) {
|
|
1947
|
+
logger.error({
|
|
1948
|
+
msg: "Intersection has no .right field",
|
|
1949
|
+
data: {
|
|
1950
|
+
path: path,
|
|
1951
|
+
dataSchema: dataSchema
|
|
1952
|
+
}
|
|
1953
|
+
});
|
|
1954
|
+
return null;
|
|
1955
|
+
}
|
|
1956
|
+
return traverse(right, path);
|
|
1957
|
+
} else if (schema instanceof z.ZodUnion) {
|
|
1958
|
+
var options = schema.options;
|
|
1959
|
+
var _iterator2 = _createForOfIteratorHelper(options),
|
|
1960
|
+
_step2;
|
|
1961
|
+
try {
|
|
1962
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
1963
|
+
var option = _step2.value;
|
|
1964
|
+
var _result = traverse(option, path);
|
|
1965
|
+
if (_result) {
|
|
1966
|
+
return _result;
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1969
|
+
} catch (err) {
|
|
1970
|
+
_iterator2.e(err);
|
|
1971
|
+
} finally {
|
|
1972
|
+
_iterator2.f();
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1975
|
+
return null;
|
|
1976
|
+
}
|
|
1977
|
+
var parts = path.split(Separator);
|
|
1978
|
+
var result = traverse(dataSchema, parts);
|
|
1979
|
+
if (!result) {
|
|
1980
|
+
logger.error({
|
|
1981
|
+
msg: "path not found",
|
|
1982
|
+
data: {
|
|
1983
|
+
path: path,
|
|
1984
|
+
dataSchema: dataSchema
|
|
1985
|
+
}
|
|
1986
|
+
});
|
|
1987
|
+
return null;
|
|
1988
|
+
}
|
|
1989
|
+
return result;
|
|
1990
|
+
};
|
|
1991
|
+
var resolvePathOnMapSchema = function resolvePathOnMapSchema(_ref2) {
|
|
1992
|
+
var logger = _ref2.logger,
|
|
1993
|
+
mapSchema = _ref2.mapSchema,
|
|
1994
|
+
path = _ref2.path;
|
|
1995
|
+
var rest = path;
|
|
1996
|
+
while (rest.length > 0) {
|
|
1997
|
+
if (rest in mapSchema.shape) {
|
|
1998
|
+
return mapSchema.shape[rest];
|
|
1999
|
+
}
|
|
2000
|
+
rest = rest.slice(0, rest.lastIndexOf(Separator));
|
|
2001
|
+
}
|
|
2002
|
+
logger.error({
|
|
2003
|
+
msg: "path not found",
|
|
2004
|
+
data: {
|
|
2005
|
+
path: path
|
|
2006
|
+
}
|
|
2007
|
+
});
|
|
2008
|
+
return null;
|
|
2009
|
+
};
|
|
2010
|
+
|
|
1886
2011
|
var allDataLinkVersions = ["v1"];
|
|
1887
2012
|
var DataLinkVersionZodSchema = z["enum"](allDataLinkVersions);
|
|
1888
2013
|
var allDataLinkTypes = ["pointer", "search", "embedded"];
|
|
@@ -6382,4 +6507,4 @@ var GenericVaultDataLinkZodSchema = z.union([GenericVaultPointerLinkZodSchema, G
|
|
|
6382
6507
|
// that a generic vault data link is indeed a valid vault data link
|
|
6383
6508
|
// ================================
|
|
6384
6509
|
|
|
6385
|
-
export { IDScanCredentialSchema as $, ALPHA_2_COUNTRIES as A, BasicCustomerContactInformation as B, CurrencyCodes as C, CUSTOMER_AUTOMATION_REASONS as D, ID3CredentialSubjectSchema as E, IDScanCredentialSubjectSchema as F, IDScanPassportCredentialSubjectSchema as G, IDScanSelfieCredentialSubjectSchema as H, ISO3CountryCode as I, OLD_IDInformationCredentialSubjectSchema as J, KycOnboardingLevels as K, OLD_ProofOfResidenceCredentialSubjectSchema as L, OLD_SelfieImageCredentialSubjectSchema as M, OLD_AMLScreeningsResultsCredentialSubjectSchema as N, OLD_IDImageCredentialSubjectSchema as O, IDInformationCredentialSubjectSchema as P, IDImageCredentialSubjectSchema as Q, RiskScoreTypes as R, SelfieImageCredentialSubjectSchema as S, ProofOfResidenceCredentialSubjectSchema as T, GenericVerifiableCredentialSchema as U, IDInformationCredentialSchema as V, WalletRiskScoreTypes as W, IDImageCredentialSchema as X, SelfieImageCredentialSchema as Y, ProofOfResidenceCredentialSchema as Z, ID3CredentialSchema as _, CurrencyCode as a, IDScanPassportCredentialSchema as a0, IDScanSelfieCredentialSchema as a1, OLD_IDImageCredentialSchema as a2, OLD_IDInformationCredentialSchema as a3, OLD_ProofOfResidenceCredentialSchema as a4, OLD_SelfieImageCredentialSchema as a5, OLD_AMLScreeningsResultsCredentialSchema as a6, TRANSACTION_CHARTS as a7, TransactionsChartType as a8, TRANSACTION_TABLE_COLUMNS as a9, TRANSACTIONS_STATS_CURRENCIES as aA, TransactionStatsCurrency as aB, allDataLinkVersions as aC, DataLinkVersionZodSchema as aD, allDataLinkTypes as aE, DataLinkTypeZodSchema as aF,
|
|
6510
|
+
export { IDScanCredentialSchema as $, ALPHA_2_COUNTRIES as A, BasicCustomerContactInformation as B, CurrencyCodes as C, CUSTOMER_AUTOMATION_REASONS as D, ID3CredentialSubjectSchema as E, IDScanCredentialSubjectSchema as F, IDScanPassportCredentialSubjectSchema as G, IDScanSelfieCredentialSubjectSchema as H, ISO3CountryCode as I, OLD_IDInformationCredentialSubjectSchema as J, KycOnboardingLevels as K, OLD_ProofOfResidenceCredentialSubjectSchema as L, OLD_SelfieImageCredentialSubjectSchema as M, OLD_AMLScreeningsResultsCredentialSubjectSchema as N, OLD_IDImageCredentialSubjectSchema as O, IDInformationCredentialSubjectSchema as P, IDImageCredentialSubjectSchema as Q, RiskScoreTypes as R, SelfieImageCredentialSubjectSchema as S, ProofOfResidenceCredentialSubjectSchema as T, GenericVerifiableCredentialSchema as U, IDInformationCredentialSchema as V, WalletRiskScoreTypes as W, IDImageCredentialSchema as X, SelfieImageCredentialSchema as Y, ProofOfResidenceCredentialSchema as Z, ID3CredentialSchema as _, CurrencyCode as a, IDScanPassportCredentialSchema as a0, IDScanSelfieCredentialSchema as a1, OLD_IDImageCredentialSchema as a2, OLD_IDInformationCredentialSchema as a3, OLD_ProofOfResidenceCredentialSchema as a4, OLD_SelfieImageCredentialSchema as a5, OLD_AMLScreeningsResultsCredentialSchema as a6, TRANSACTION_CHARTS as a7, TransactionsChartType as a8, TRANSACTION_TABLE_COLUMNS as a9, TRANSACTIONS_STATS_CURRENCIES as aA, TransactionStatsCurrency as aB, allDataLinkVersions as aC, DataLinkVersionZodSchema as aD, allDataLinkTypes as aE, DataLinkTypeZodSchema as aF, Separator as aG, generateZodObjectPaths as aH, resolvePathOnDataSchema as aI, resolvePathOnMapSchema as aJ, VaultJsonSchemas as aK, VaultZodSchema as aL, VaultSchemaIdZodSchema as aM, VaultSchemaPathsZodSchema as aN, VaultPointerKeyMapZodSchema as aO, VaultQueryMapZodSchema as aP, VaultMetadataLinkZodSchema as aQ, GenericVaultPointerLinkZodSchema as aR, GenericVaultSearchLinkZodSchema as aS, GenericVaultEmbeddedLinkZodSchema as aT, GenericVaultDataLinkZodSchema as aU, _toConsumableArray as aV, _toArray as aW, _slicedToArray as aX, TransactionTableColumn as aa, TransactionTypes as ab, TransactionType as ac, TransactionTypesWithAll as ad, TransactionTypeWithAll as ae, TransactionRiskLevels as af, TransactionRiskLevel as ag, TransactionReviewStatuses as ah, TransactionReviewStatus as ai, HumanReadableTransactionReviewStatuses as aj, HumanReadableTransactionReviewStatus as ak, TransactionStatusMapping as al, HumanReadableTransactionStatusMapping as am, TransactionDirections as an, TransactionDirection as ao, TransactionCurrencyCodes as ap, TransactionCurrencyCode as aq, TransactionProviders as ar, TransactionProvider as as, PaymentTypes as at, PaymentType as au, TransactionPartiesTypes as av, TransactionPartiesType as aw, TransactionAmountsFieldNames as ax, TransactionAmountsFieldName as ay, DEFAULT_FIAT_CURRENCY as az, CryptoCodes as b, CryptoCode as c, Alpha2Country as d, countryISO3toISO2Mapping as e, countryISO2toISO3Mapping as f, RiskScoreType as g, WalletRiskScoreType as h, isoCountriesNameFromISO2 as i, compareRiskScores as j, WalletRiskScoreProviders as k, WalletRiskScoreProvider as l, CustomerTypes as m, CustomerType as n, KycOnboardingLevel as o, parseISO3CountryCode as p, KybOnboardingLevels as q, KybOnboardingLevel as r, CustomerOnboardingLevels as s, CustomerOnboardingLevel as t, CustomerStatuses as u, CustomerStatus as v, CUSTOMERS_CHARTS as w, CustomersChartType as x, CUSTOMER_TABLE_COLUMNS as y, CustomerTableColumn as z };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var zod = require('zod');
|
|
4
|
-
require('remeda');
|
|
5
4
|
var Decimal = require('decimal.js');
|
|
6
5
|
|
|
7
6
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -1727,6 +1726,60 @@ function _toConsumableArray(r) {
|
|
|
1727
1726
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
1728
1727
|
}
|
|
1729
1728
|
|
|
1729
|
+
zod.z.literal("v1");
|
|
1730
|
+
|
|
1731
|
+
// this lib is too generic to follow the linting rules, a lot of types end up resolved to any
|
|
1732
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1733
|
+
|
|
1734
|
+
/**
|
|
1735
|
+
* Hint on how to resolve that link
|
|
1736
|
+
*/
|
|
1737
|
+
/* | "zama-chain"? | "etherscan"? | "coingecko"? ... */
|
|
1738
|
+
|
|
1739
|
+
var allDataLinkTypes$1 = ["pointer", "search", "embedded"];
|
|
1740
|
+
zod.z["enum"](allDataLinkTypes$1);
|
|
1741
|
+
|
|
1742
|
+
/**
|
|
1743
|
+
* Common data link properties
|
|
1744
|
+
*/
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* PointerDataLink
|
|
1748
|
+
*
|
|
1749
|
+
* A link to a specific property in the schema
|
|
1750
|
+
*/
|
|
1751
|
+
|
|
1752
|
+
/**
|
|
1753
|
+
* SearchLink
|
|
1754
|
+
*
|
|
1755
|
+
* A query to search the schema that returns a list of objects
|
|
1756
|
+
*/
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
* EmbeddedDataLink
|
|
1760
|
+
*
|
|
1761
|
+
* A link that contains a specific object
|
|
1762
|
+
*/
|
|
1763
|
+
|
|
1764
|
+
// tools to work with object paths in TypeScript
|
|
1765
|
+
|
|
1766
|
+
var Separator = "/";
|
|
1767
|
+
|
|
1768
|
+
// recursively get the type of a nested object property
|
|
1769
|
+
// TODO: support unions: {a: {b: string } | {c: number}} + "a/b" -> string | undefined
|
|
1770
|
+
|
|
1771
|
+
function _arrayWithHoles(r) {
|
|
1772
|
+
if (Array.isArray(r)) return r;
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
function _nonIterableRest() {
|
|
1776
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
function _toArray(r) {
|
|
1780
|
+
return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1730
1783
|
function _createForOfIteratorHelper(r, e) {
|
|
1731
1784
|
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
1732
1785
|
if (!t) {
|
|
@@ -1776,14 +1829,6 @@ function _createForOfIteratorHelper(r, e) {
|
|
|
1776
1829
|
};
|
|
1777
1830
|
}
|
|
1778
1831
|
|
|
1779
|
-
function _arrayWithHoles(r) {
|
|
1780
|
-
if (Array.isArray(r)) return r;
|
|
1781
|
-
}
|
|
1782
|
-
|
|
1783
|
-
function _nonIterableRest() {
|
|
1784
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1785
|
-
}
|
|
1786
|
-
|
|
1787
1832
|
function _iterableToArrayLimit(r, l) {
|
|
1788
1833
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
1789
1834
|
if (null != t) {
|
|
@@ -1816,26 +1861,6 @@ function _slicedToArray(r, e) {
|
|
|
1816
1861
|
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
1817
1862
|
}
|
|
1818
1863
|
|
|
1819
|
-
zod.z.literal("v1");
|
|
1820
|
-
|
|
1821
|
-
// this lib is too generic to follow the linting rules, a lot of types end up resolved to any
|
|
1822
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1823
|
-
|
|
1824
|
-
/**
|
|
1825
|
-
* Hint on how to resolve that link
|
|
1826
|
-
*/
|
|
1827
|
-
/* | "zama-chain"? | "etherscan"? | "coingecko"? ... */
|
|
1828
|
-
|
|
1829
|
-
var allDataLinkTypes$1 = ["pointer", "search", "embedded"];
|
|
1830
|
-
zod.z["enum"](allDataLinkTypes$1);
|
|
1831
|
-
|
|
1832
|
-
// tools to work with object paths in TypeScript
|
|
1833
|
-
|
|
1834
|
-
var Separator = "/";
|
|
1835
|
-
|
|
1836
|
-
// recursively get the type of a nested object property
|
|
1837
|
-
// TODO: support unions: {a: {b: string } | {c: number}} + "a/b" -> string | undefined
|
|
1838
|
-
|
|
1839
1864
|
// this lib is too generic to follow the linting rules, a lot of types end up resolved to any
|
|
1840
1865
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1841
1866
|
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
|
@@ -1889,6 +1914,106 @@ var generateZodObjectPaths = function generateZodObjectPaths(schema) {
|
|
|
1889
1914
|
return traverse(schema, []);
|
|
1890
1915
|
};
|
|
1891
1916
|
|
|
1917
|
+
// avoid circular dependency with logger
|
|
1918
|
+
|
|
1919
|
+
var resolvePathOnDataSchema = function resolvePathOnDataSchema(_ref) {
|
|
1920
|
+
var logger = _ref.logger,
|
|
1921
|
+
dataSchema = _ref.dataSchema,
|
|
1922
|
+
path = _ref.path;
|
|
1923
|
+
function traverse(schema, path) {
|
|
1924
|
+
if (path.length === 0) {
|
|
1925
|
+
return schema;
|
|
1926
|
+
}
|
|
1927
|
+
var _path = _toArray(path),
|
|
1928
|
+
part = _path[0],
|
|
1929
|
+
rest = _path.slice(1);
|
|
1930
|
+
if (!part) {
|
|
1931
|
+
return null; // unreachable due to previous check
|
|
1932
|
+
}
|
|
1933
|
+
if (schema.shape) {
|
|
1934
|
+
if (!(part in schema.shape)) {
|
|
1935
|
+
logger.error({
|
|
1936
|
+
msg: "part not found in schema.shape",
|
|
1937
|
+
data: {
|
|
1938
|
+
path: path,
|
|
1939
|
+
dataSchema: dataSchema
|
|
1940
|
+
}
|
|
1941
|
+
});
|
|
1942
|
+
return null;
|
|
1943
|
+
}
|
|
1944
|
+
return traverse(schema.shape[part], rest);
|
|
1945
|
+
} else if (schema instanceof zod.z.ZodOptional) {
|
|
1946
|
+
return traverse(schema.unwrap(), path);
|
|
1947
|
+
} else if (schema instanceof zod.z.ZodArray) {
|
|
1948
|
+
return traverse(schema.element, path);
|
|
1949
|
+
} else if (schema instanceof zod.z.ZodIntersection) {
|
|
1950
|
+
// @ts-expect-error -- TODO: fix this
|
|
1951
|
+
var right = schema._def.right;
|
|
1952
|
+
if (!right) {
|
|
1953
|
+
logger.error({
|
|
1954
|
+
msg: "Intersection has no .right field",
|
|
1955
|
+
data: {
|
|
1956
|
+
path: path,
|
|
1957
|
+
dataSchema: dataSchema
|
|
1958
|
+
}
|
|
1959
|
+
});
|
|
1960
|
+
return null;
|
|
1961
|
+
}
|
|
1962
|
+
return traverse(right, path);
|
|
1963
|
+
} else if (schema instanceof zod.z.ZodUnion) {
|
|
1964
|
+
var options = schema.options;
|
|
1965
|
+
var _iterator2 = _createForOfIteratorHelper(options),
|
|
1966
|
+
_step2;
|
|
1967
|
+
try {
|
|
1968
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
1969
|
+
var option = _step2.value;
|
|
1970
|
+
var _result = traverse(option, path);
|
|
1971
|
+
if (_result) {
|
|
1972
|
+
return _result;
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1975
|
+
} catch (err) {
|
|
1976
|
+
_iterator2.e(err);
|
|
1977
|
+
} finally {
|
|
1978
|
+
_iterator2.f();
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
return null;
|
|
1982
|
+
}
|
|
1983
|
+
var parts = path.split(Separator);
|
|
1984
|
+
var result = traverse(dataSchema, parts);
|
|
1985
|
+
if (!result) {
|
|
1986
|
+
logger.error({
|
|
1987
|
+
msg: "path not found",
|
|
1988
|
+
data: {
|
|
1989
|
+
path: path,
|
|
1990
|
+
dataSchema: dataSchema
|
|
1991
|
+
}
|
|
1992
|
+
});
|
|
1993
|
+
return null;
|
|
1994
|
+
}
|
|
1995
|
+
return result;
|
|
1996
|
+
};
|
|
1997
|
+
var resolvePathOnMapSchema = function resolvePathOnMapSchema(_ref2) {
|
|
1998
|
+
var logger = _ref2.logger,
|
|
1999
|
+
mapSchema = _ref2.mapSchema,
|
|
2000
|
+
path = _ref2.path;
|
|
2001
|
+
var rest = path;
|
|
2002
|
+
while (rest.length > 0) {
|
|
2003
|
+
if (rest in mapSchema.shape) {
|
|
2004
|
+
return mapSchema.shape[rest];
|
|
2005
|
+
}
|
|
2006
|
+
rest = rest.slice(0, rest.lastIndexOf(Separator));
|
|
2007
|
+
}
|
|
2008
|
+
logger.error({
|
|
2009
|
+
msg: "path not found",
|
|
2010
|
+
data: {
|
|
2011
|
+
path: path
|
|
2012
|
+
}
|
|
2013
|
+
});
|
|
2014
|
+
return null;
|
|
2015
|
+
};
|
|
2016
|
+
|
|
1892
2017
|
var allDataLinkVersions = ["v1"];
|
|
1893
2018
|
var DataLinkVersionZodSchema = zod.z["enum"](allDataLinkVersions);
|
|
1894
2019
|
var allDataLinkTypes = ["pointer", "search", "embedded"];
|
|
@@ -6452,6 +6577,7 @@ exports.RiskScoreType = RiskScoreType;
|
|
|
6452
6577
|
exports.RiskScoreTypes = RiskScoreTypes;
|
|
6453
6578
|
exports.SelfieImageCredentialSchema = SelfieImageCredentialSchema;
|
|
6454
6579
|
exports.SelfieImageCredentialSubjectSchema = SelfieImageCredentialSubjectSchema;
|
|
6580
|
+
exports.Separator = Separator;
|
|
6455
6581
|
exports.TRANSACTIONS_STATS_CURRENCIES = TRANSACTIONS_STATS_CURRENCIES;
|
|
6456
6582
|
exports.TRANSACTION_CHARTS = TRANSACTION_CHARTS;
|
|
6457
6583
|
exports.TRANSACTION_TABLE_COLUMNS = TRANSACTION_TABLE_COLUMNS;
|
|
@@ -6488,16 +6614,16 @@ exports.WalletRiskScoreProvider = WalletRiskScoreProvider;
|
|
|
6488
6614
|
exports.WalletRiskScoreProviders = WalletRiskScoreProviders;
|
|
6489
6615
|
exports.WalletRiskScoreType = WalletRiskScoreType;
|
|
6490
6616
|
exports.WalletRiskScoreTypes = WalletRiskScoreTypes;
|
|
6491
|
-
exports._arrayWithHoles = _arrayWithHoles;
|
|
6492
|
-
exports._iterableToArray = _iterableToArray;
|
|
6493
|
-
exports._nonIterableRest = _nonIterableRest;
|
|
6494
6617
|
exports._slicedToArray = _slicedToArray;
|
|
6618
|
+
exports._toArray = _toArray;
|
|
6495
6619
|
exports._toConsumableArray = _toConsumableArray;
|
|
6496
|
-
exports._unsupportedIterableToArray = _unsupportedIterableToArray;
|
|
6497
6620
|
exports.allDataLinkTypes = allDataLinkTypes;
|
|
6498
6621
|
exports.allDataLinkVersions = allDataLinkVersions;
|
|
6499
6622
|
exports.compareRiskScores = compareRiskScores;
|
|
6500
6623
|
exports.countryISO2toISO3Mapping = countryISO2toISO3Mapping;
|
|
6501
6624
|
exports.countryISO3toISO2Mapping = countryISO3toISO2Mapping;
|
|
6625
|
+
exports.generateZodObjectPaths = generateZodObjectPaths;
|
|
6502
6626
|
exports.isoCountriesNameFromISO2 = isoCountriesNameFromISO2;
|
|
6503
6627
|
exports.parseISO3CountryCode = parseISO3CountryCode;
|
|
6628
|
+
exports.resolvePathOnDataSchema = resolvePathOnDataSchema;
|
|
6629
|
+
exports.resolvePathOnMapSchema = resolvePathOnMapSchema;
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var identityApi_schema = require('../../dist/identity-api.schema-
|
|
5
|
+
var identityApi_schema = require('../../dist/identity-api.schema-f4d1d9f8.cjs.dev.cjs');
|
|
6
6
|
require('zod');
|
|
7
|
-
require('../../dist/vault.schema-
|
|
8
|
-
require('remeda');
|
|
7
|
+
require('../../dist/vault.schema-bce4b304.cjs.dev.cjs');
|
|
9
8
|
require('decimal.js');
|
|
10
9
|
require('nanoid');
|
|
11
10
|
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var identityApi_schema = require('../../dist/identity-api.schema-
|
|
5
|
+
var identityApi_schema = require('../../dist/identity-api.schema-a0ad7c7b.cjs.prod.cjs');
|
|
6
6
|
require('zod');
|
|
7
|
-
require('../../dist/vault.schema-
|
|
8
|
-
require('remeda');
|
|
7
|
+
require('../../dist/vault.schema-666eefd8.cjs.prod.cjs');
|
|
9
8
|
require('decimal.js');
|
|
10
9
|
require('nanoid');
|
|
11
10
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export { dy as ARRAY_OPERATORS, df as AUTHORIZATION_REQUEST_MESSAGE_TYPES, c9 as AVAILABLE_FLOWS, cA as AbbreviatedWorkflowScenario, dL as AllCredentialValues, ej as AllScenarioExecutionAuthorizationData, eb as AnyTxAuthDataSignatureResponse, ee as AnyTxAuthInputJsSdk, e4 as ApiTezosTxAuthInput, e0 as ApiTxAuthInput, dz as ArrayOperator, dn as AuthQrCodeData, cV as AuthSession, cW as AuthSessionData, di as AuthorizationRequestMessage, dh as AuthorizationRequestMessageType, dg as AuthorizationRequestMessageTypes, dl as AuthorizationResponseMessage, ca as AvailableFlow, dE as BOOLEAN_OPERATORS, cm as BackwardsCompatibleScenarioType, cl as BackwardsCompatibleScenarioTypes, cn as BaseQueryResponse, dF as BooleanOperator, dc as CIRCUIT_IDS, cX as ChallengeResponse, dd as CircuitId, bT as CloseScreenNotification, cD as ComplianceImplementationStepsInput, ei as CreateAuthRequestProps, cC as CreateTemplateScenario, dm as CredentialQrCodeData, dG as DATE_OPERATORS, cb as DataAvailableOnStart, dH as DateOperator, ec as Eip155TxAuthInputJsSdk, cp as ExecuteQueryResponse, ea as ExtendedTezosTxAuthDataSignatureResponse, e8 as ExtendedTezosTxAuthInput, e9 as ExtendedTxAuthDataSignatureResponse, e7 as ExtendedTxAuthInput, cU as GenerateWalletChallengeRequest, cF as GetCredentialsRequest, cG as GetCredentialsResponse, c_ as GetCustomerStatusRequest, d3 as GetCustomerStatusResponse, e6 as GetTezosTxAuthDataSignatureResponse, e2 as GetTxAuthDataSignatureResponse, cO as GetTxAuthSigRequest, cQ as GetTxAuthSigRequestTezos, cP as GetTxAuthSigResponse, cR as GetTxAuthSigResponseTezos, d6 as HostMessage, cS as HostRequestMessage, cf as HostResponseMessage, d4 as IdentityAppMessage, d7 as IdentityMessage, c3 as IdentityNotificationMessage, c8 as IdentityRequestMessage, cT as IdentityResponseMessage, c$ as IdentitySdkMessage, d0 as IdentitySdkMessageWithIdentifier, d5 as IdentityWallet, c4 as InitialDataRequest, cc as InitialDataResponse, b$ as IsVerifiedNotification, cM as IsVerifiedRequest, cN as IsVerifiedResponse, bU as KycCompletionData, bV as KycCompletionNotification, da as MediaType, db as MediaTypePID, dC as NUMERIC_OPERATORS, dD as NumericOperator, dR as OLD_CHALLENGE_QUERY_OPERATORS, dS as OLD_ChallengeQueryOperator, dV as OLD_ChallengeQueryOperatorToOperator, dQ as OLD_ChallengeQuerySchema, dX as OLD_QueryCredentialType, dW as OLD_QueryCredentialTypes, du as OPERATORS, c1 as OcvSdkInitialized, bX as OffChainScenarioExecutionData, co as OffChainZKPRuleResult, bY as OnChainScenarioExecutionData, dv as Operator, dT as OperatorMappings, dU as OperatorToOLD_ChallengeQueryOperator, dP as PartialQueryConfigSimplified, c0 as PolygonIdInitialized, cI as PolygonIdRequest, cH as PolygonIdRequestData, cK as PolygonIdResponse, cJ as PolygonIdResponseData, eh as PrivacyPreservingMonitoring, dj as ProofData, ds as QUERY_LOGIC_OPERATOR, dp as QrCodeLinkWithSchemaType, dN as QueryConfigSimplified, dt as QueryLogicOperator, dM as QueryType, d8 as RequiredDataRowSchema, d9 as RequiredVerificationData, cq as RuleEngineResponse, bW as RuleEngineScenarioExecutionData, dO as RuleResultQueryConfig, ct as RuleResultStatus, cu as RuleResultStatusLabels, cs as RuleResultStatuses, ek as SCENARIO_AUTHORIZATION_STATUSES, dA as STRING_OPERATORS, dI as SUPPORTED_TYPES, cz as Scenario, bR as ScenarioAuthorizationData, el as ScenarioAuthorizationStatus, bZ as ScenarioExecutionData, b_ as ScenarioExecutionNotification, cr as ScenarioExecutionResponse, ck as ScenarioSchema, cj as ScenarioStatus, ci as ScenarioStatuses, ch as ScenarioType, cg as ScenarioTypes, cv as SdkVerificationOutput, bS as SdkVerificationResponseSchema, c7 as SendTransactionRequest, c5 as SignatureRequest, cd as SignatureResponse, cE as SimplifiedCredential, c2 as StartCompletedNotification, cL as StartFlowRequest, dB as StringOperator, dJ as SupportedType, dK as SupportedTypes, cB as TemplateScenario, e3 as TezosTxAuthInput, ed as TezosTxAuthInputJsSdk, e5 as TezosTxSignatureResponse, c6 as TransactionData, ce as TransactionResponse, d2 as TxAuthDataSignatureGatingError, cZ as TxAuthDataSignatureGatingRequest, d1 as TxAuthDataSignatureResponse, d$ as TxAuthInput, e1 as TxSignatureResponse, cy as VerificationOutput, cx as VerificationSessionStatus, cw as VerificationSessionStatuses, en as VerifyWalletChallengeRequest, cY as WalletSignResponse, em as WalletSignatureResponse, dw as ZKPOperator, ef as ZKPRequest, eg as ZKPRequestFromZKVerifier, de as ZeroKnowledgeProofRequest, dk as ZeroKnowledgeProofResponse, dZ as getOldCredentialPath, dY as getOldCredentialType, d_ as oldCredentialPathToDataLink, dx as operatorDisplayMap, dq as parseIden3Message, dr as parseSessionIdFromUrl } from '../../dist/identity-api.schema-
|
|
1
|
+
export { dy as ARRAY_OPERATORS, df as AUTHORIZATION_REQUEST_MESSAGE_TYPES, c9 as AVAILABLE_FLOWS, cA as AbbreviatedWorkflowScenario, dL as AllCredentialValues, ej as AllScenarioExecutionAuthorizationData, eb as AnyTxAuthDataSignatureResponse, ee as AnyTxAuthInputJsSdk, e4 as ApiTezosTxAuthInput, e0 as ApiTxAuthInput, dz as ArrayOperator, dn as AuthQrCodeData, cV as AuthSession, cW as AuthSessionData, di as AuthorizationRequestMessage, dh as AuthorizationRequestMessageType, dg as AuthorizationRequestMessageTypes, dl as AuthorizationResponseMessage, ca as AvailableFlow, dE as BOOLEAN_OPERATORS, cm as BackwardsCompatibleScenarioType, cl as BackwardsCompatibleScenarioTypes, cn as BaseQueryResponse, dF as BooleanOperator, dc as CIRCUIT_IDS, cX as ChallengeResponse, dd as CircuitId, bT as CloseScreenNotification, cD as ComplianceImplementationStepsInput, ei as CreateAuthRequestProps, cC as CreateTemplateScenario, dm as CredentialQrCodeData, dG as DATE_OPERATORS, cb as DataAvailableOnStart, dH as DateOperator, ec as Eip155TxAuthInputJsSdk, cp as ExecuteQueryResponse, ea as ExtendedTezosTxAuthDataSignatureResponse, e8 as ExtendedTezosTxAuthInput, e9 as ExtendedTxAuthDataSignatureResponse, e7 as ExtendedTxAuthInput, cU as GenerateWalletChallengeRequest, cF as GetCredentialsRequest, cG as GetCredentialsResponse, c_ as GetCustomerStatusRequest, d3 as GetCustomerStatusResponse, e6 as GetTezosTxAuthDataSignatureResponse, e2 as GetTxAuthDataSignatureResponse, cO as GetTxAuthSigRequest, cQ as GetTxAuthSigRequestTezos, cP as GetTxAuthSigResponse, cR as GetTxAuthSigResponseTezos, d6 as HostMessage, cS as HostRequestMessage, cf as HostResponseMessage, d4 as IdentityAppMessage, d7 as IdentityMessage, c3 as IdentityNotificationMessage, c8 as IdentityRequestMessage, cT as IdentityResponseMessage, c$ as IdentitySdkMessage, d0 as IdentitySdkMessageWithIdentifier, d5 as IdentityWallet, c4 as InitialDataRequest, cc as InitialDataResponse, b$ as IsVerifiedNotification, cM as IsVerifiedRequest, cN as IsVerifiedResponse, bU as KycCompletionData, bV as KycCompletionNotification, da as MediaType, db as MediaTypePID, dC as NUMERIC_OPERATORS, dD as NumericOperator, dR as OLD_CHALLENGE_QUERY_OPERATORS, dS as OLD_ChallengeQueryOperator, dV as OLD_ChallengeQueryOperatorToOperator, dQ as OLD_ChallengeQuerySchema, dX as OLD_QueryCredentialType, dW as OLD_QueryCredentialTypes, du as OPERATORS, c1 as OcvSdkInitialized, bX as OffChainScenarioExecutionData, co as OffChainZKPRuleResult, bY as OnChainScenarioExecutionData, dv as Operator, dT as OperatorMappings, dU as OperatorToOLD_ChallengeQueryOperator, dP as PartialQueryConfigSimplified, c0 as PolygonIdInitialized, cI as PolygonIdRequest, cH as PolygonIdRequestData, cK as PolygonIdResponse, cJ as PolygonIdResponseData, eh as PrivacyPreservingMonitoring, dj as ProofData, ds as QUERY_LOGIC_OPERATOR, dp as QrCodeLinkWithSchemaType, dN as QueryConfigSimplified, dt as QueryLogicOperator, dM as QueryType, d8 as RequiredDataRowSchema, d9 as RequiredVerificationData, cq as RuleEngineResponse, bW as RuleEngineScenarioExecutionData, dO as RuleResultQueryConfig, ct as RuleResultStatus, cu as RuleResultStatusLabels, cs as RuleResultStatuses, ek as SCENARIO_AUTHORIZATION_STATUSES, dA as STRING_OPERATORS, dI as SUPPORTED_TYPES, cz as Scenario, bR as ScenarioAuthorizationData, el as ScenarioAuthorizationStatus, bZ as ScenarioExecutionData, b_ as ScenarioExecutionNotification, cr as ScenarioExecutionResponse, ck as ScenarioSchema, cj as ScenarioStatus, ci as ScenarioStatuses, ch as ScenarioType, cg as ScenarioTypes, cv as SdkVerificationOutput, bS as SdkVerificationResponseSchema, c7 as SendTransactionRequest, c5 as SignatureRequest, cd as SignatureResponse, cE as SimplifiedCredential, c2 as StartCompletedNotification, cL as StartFlowRequest, dB as StringOperator, dJ as SupportedType, dK as SupportedTypes, cB as TemplateScenario, e3 as TezosTxAuthInput, ed as TezosTxAuthInputJsSdk, e5 as TezosTxSignatureResponse, c6 as TransactionData, ce as TransactionResponse, d2 as TxAuthDataSignatureGatingError, cZ as TxAuthDataSignatureGatingRequest, d1 as TxAuthDataSignatureResponse, d$ as TxAuthInput, e1 as TxSignatureResponse, cy as VerificationOutput, cx as VerificationSessionStatus, cw as VerificationSessionStatuses, en as VerifyWalletChallengeRequest, cY as WalletSignResponse, em as WalletSignatureResponse, dw as ZKPOperator, ef as ZKPRequest, eg as ZKPRequestFromZKVerifier, de as ZeroKnowledgeProofRequest, dk as ZeroKnowledgeProofResponse, dZ as getOldCredentialPath, dY as getOldCredentialType, d_ as oldCredentialPathToDataLink, dx as operatorDisplayMap, dq as parseIden3Message, dr as parseSessionIdFromUrl } from '../../dist/identity-api.schema-01880e1c.esm.mjs';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../../dist/vault.schema-
|
|
4
|
-
import 'remeda';
|
|
3
|
+
import '../../dist/vault.schema-789028ce.esm.mjs';
|
|
5
4
|
import 'decimal.js';
|
|
6
5
|
import 'nanoid';
|
package/package.json
CHANGED
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var CoinMarketCap_schema = require('../../dist/CoinMarketCap.schema-
|
|
5
|
+
var CoinMarketCap_schema = require('../../dist/CoinMarketCap.schema-9747956b.cjs.dev.cjs');
|
|
6
6
|
require('zod');
|
|
7
|
-
require('../../dist/vault.schema-
|
|
8
|
-
require('remeda');
|
|
7
|
+
require('../../dist/vault.schema-bce4b304.cjs.dev.cjs');
|
|
9
8
|
require('decimal.js');
|
|
10
|
-
require('../../dist/identity-api.schema-
|
|
9
|
+
require('../../dist/identity-api.schema-f4d1d9f8.cjs.dev.cjs');
|
|
11
10
|
require('nanoid');
|
|
12
11
|
|
|
13
12
|
var CoinMarketCapCryptoId={$BABA:"30040",// Name: Baba, Slug: baba
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var CoinMarketCap_schema = require('../../dist/CoinMarketCap.schema-
|
|
5
|
+
var CoinMarketCap_schema = require('../../dist/CoinMarketCap.schema-e0f6e89c.cjs.prod.cjs');
|
|
6
6
|
require('zod');
|
|
7
|
-
require('../../dist/vault.schema-
|
|
8
|
-
require('remeda');
|
|
7
|
+
require('../../dist/vault.schema-666eefd8.cjs.prod.cjs');
|
|
9
8
|
require('decimal.js');
|
|
10
|
-
require('../../dist/identity-api.schema-
|
|
9
|
+
require('../../dist/identity-api.schema-a0ad7c7b.cjs.prod.cjs');
|
|
11
10
|
require('nanoid');
|
|
12
11
|
|
|
13
12
|
var CoinMarketCapCryptoId={$BABA:"30040",// Name: Baba, Slug: baba
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export { a2 as AMLMetadata, A as ANALYSIS_TYPES, c as AnalysisType, bL as ApplicantMemberOfSchema, b_ as BENEFICIARY_TYPES, e as BLOCKCHAIN_TYPES, bN as BaseApplicantActionSchema, bl as BaseProvider, c0 as BeneficiaryCompanyCustomerClaims, c1 as BeneficiaryCompanyCustomerClaimsArray, b$ as BeneficiaryType, d7 as BeneficiaryVerificationStatus, d8 as BeneficiaryVerificationStatusArray, u as BigCSErrorCodes, bi as BigConfig, p as BigCryptoChain, r as BigProperties, q as BigPropertiesLiteral, s as BigProperty, bo 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, dr as ChainalysisApiError, be as ChainalysisConfig, dp as ChainalysisErrorCodes, br as ChainalysisProvider, dm as ChainalysisRegisterApiResponse, ds as ChainalysisRegisterResponse, dl as ChainalysisRequest, dq as ChainalysisRiskAssessmentApiResponse, C as ChainalysisRiskAssessmentResponse, dn as ChainalysisRiskLevel, ah as CoerceDateUTC, g as Coin, dw as CoinMarketCapApiResponse, dx as CoinMarketCapFiatId, du as CoinMarketCapQuote, dv as CoinMarketCapQuotes, dt as CoinMarketCapRequest, d6 as CompanyDocumentMetaData, aW as ComplyAdvantageAmlFullListing, aV as ComplyAdvantageAmlItemSource, aD as ComplyAdvantageCountryFieldSources, aF as ComplyAdvantageDateOfBirthFieldSources, aU as ComplyAdvantageKeyInformation, aP as ComplyAdvantageMedia, b4 as ComplyAdvantageMonitorSearchDataResponse, b6 as ComplyAdvantageMonitorSearchResponse, b5 as ComplyAdvantageMonitorSearchSuccessResponse, b7 as ComplyAdvantageMonitoredSearchUpdate, aB as ComplyAdvantageNationalityFieldSources, bw as ComplyAdvantageProvider, bv as ComplyAdvantageProviderConfigElement, bu as ComplyAdvantageProviderConfigFilters, bt 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, a$ as ComplyAdvantageSearchRequests, b as ComplyAdvantageSearchResponse, aS as ComplyAdvantageSearchSuccessResponse, b1 as ComplyAdvantageUpdateSearchEntitiesRequest, b3 as ComplyAdvantageUpdateSearchEntitiesResponse, b2 as ComplyAdvantageUpdateSearchEntitiesSuccessResponse, b0 as ComplyAdvantageUpdateSearchRequest, aN as ComplyAdvantageUser, bC as CreateProviderInput, bD as CreateProviderResponse, aG as CreateSearchInput, c_ as CredentialMetadata, cZ as CustomerContactInformationOutput, dd as CustomerDocumentMetaData, de as CustomerStatusResults, bb as DataProviderOptions, bc as DataProviders, bH as DeleteProviderInput, bI as DeleteProviderResponse, X as DocumentIdMetadata, V as DocumentIdType, U as DocumentIdTypes, cq as DocumentMetadataSchema, a1 as EmailMetadata, E as EmailVerificationAnalysisResponse, cO as EmailVerificationResponse, T as File, cY as GetCredentialsOutput, da as GetKybSessionInput, db as GetKybSessionResponse, cS as GetKycSessionInput, cT as GetKycSessionResponse, c$ as GetKycSessionResponseWithCredentialsMetadata, bB as GetProviderResponse, bA as GetProvidersResponse, ao as HIGH_RISK_TYPES, bY as INDIVIDUAL_BENEFICIARY_RELATIONS, b9 as IdentityProviderOptions, ba as IdentityProviders, bZ as IndividualBeneficiaryRelation, l as IpQualityAnalysisRequest, m as IpQualityAnalysisResponse, bh as IpQualityConfig, n as IpQualityServiceAnalysis, I as IpQualityServiceAnalysisResponse, o as IpQualityServiceErrorResponse, bs as IpqualityscoreProvider, d2 as KYB_RESULTS, d4 as KYB_SESSION_STATUSES, d0 as KYB_STEP_TYPES, cK as KYC_RESULTS, cM as KYC_SESSION_STATUSES, cG as KYC_STEP_TYPES, d3 as KybResult, d5 as KybSessionStatus, d1 as KybStep, cL as KycResult, cN as KycSessionStatus, cH as KycStep, cJ as KycStepStatus, cI as KycStepStatuses, $ as LivenessMetadata, ap as MEDIUM_RISK_TYPES, aI as MatchStatus, aH as MatchStatuses, aO as MatchTypeDetail, M as MergedProviders, dk as MerkleAddressApiError, dj as MerkleAddressApiResponse, di as MerkleAddressRequest, a as MerkleAddressResponse, dh as MerkleBlockChainCodes, dg as MerkleBlockChainNames, df as MerkleBlockChainTypes, bd as MerkleScienceConfig, bq as MerkleScienceProvider, N as NestedSession, bn as NexeraIdKYBProvider, bm as NexeraIdSSIDProvider, O as OBJECT_TYPES, d as ObjectType, a0 as PhoneMetadata, P as PhoneVerificationAnalysisResponse, Z as ProofOfAddressDocumentType, Y as ProofOfAddressDocumentTypes, _ as ProofOfAddressMetadata, cX as ProofOfResidenceDocumentType, cW as ProofOfResidenceMetaData, by as ProviderData, bz as ProviderDataProject, bk as ProviderIntegrationType, bj as ProviderIntegrationTypeOptions, b8 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, bQ as SUMSUB_APPLICANT_TYPES, cj as SUMSUB_COMPANY_BENEFICIARY_GROUP, c7 as SUMSUB_DOC_TYPES, c9 as SUMSUB_FLOW_LEVEL, cy as SUMSUB_KYB_SESSION_FLOW_SECTION_STATUS, co as SUMSUB_MEDIA_CONTENT_TYPES, bS as SUMSUB_REVIEW_ANSWERS, cD as SUMSUB_REVIEW_REJECT_LABELS, cF as SUMSUB_REVIEW_REJECT_LABELS_DESCRIPTION, bU as SUMSUB_REVIEW_REJECT_TYPES, c5 as SUMSUB_REVIEW_STATUSES, bO as SUMSUB_STEPS, c3 as SUMSUB_WEBHOOK_INTERNAL_STATUS, j as ScorechainAnalysis, bf as ScorechainConfig, i as ScorechainError, h as ScorechainErrorResponse, bp 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, d9 as SelectKybSession, cQ as SelectKycSession, cP as SelectKycSessionStep, cR as SelectKycSessionWithCompletedSteps, G as Session, H as SessionWithoutSteps, D as Status, z as Statuses, a3 as Step, K as StepType, J as StepTypes, bW as SumSubAddress, bX as SumSubApplicantInfo, cs as SumSubApplicantResetSchema, cr as SumSubApplicantReviewStatusSchema, cx as SumSubApplicantSchema, bR as SumSubApplicantType, cn as SumSubApplicantVerificationStepSchema, c2 as SumSubCompanyApplicantInfo, ch as SumSubCompanyApplicantSchema, c8 as SumSubDocType, ca as SumSubFlowLevel, ct as SumSubGenerateExternalWebSdkLinkSchema, ci as SumSubImageId, cd as SumSubImageReviewResultSchema, cg as SumSubIndividualApplicantSchema, cp as SumSubMediaContentType, cb as SumSubRequiredIdDoc, bT as SumSubReviewAnswer, cE as SumSubReviewRejectLabel, bV as SumSubReviewRejectType, cc as SumSubReviewResultSchema, c6 as SumSubReviewStatus, cC as SumSubSimilarApplicantsSchema, bP as SumSubStep, cm as SumSubVerificationStepSchema, bM as SumSubWebhookSchema, cf as SumsubApplicantType, ce as SumsubApplicantTypes, ck as SumsubCompanyBeneficiaryGroup, cw as SumsubKybDataSchema, cB as SumsubKybSessionFlowSection, cA as SumsubKybSessionFlowSectionItem, cz as SumsubKybSessionFlowSectionStatus, cv as SumsubKycDataSchema, cl as SumsubStepStatus, cu as SumsubVideoCallData, c4 as SumsubWebhookInternalStatus, bx 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, bG as ToggleProviderInput, a9 as UNKNOWN_ERROR, dc as UpdateKybSessionOutput, cU as UpdateKycSessionOutput, bE as UpdateProviderInput, bF as UpdateProviderResponse, aM as UpdateSearchEntitiesInput, aL as UpdateSearchInput, cV as VideoKycMetaData, bJ as WEBHOOK_TYPES, F as WebhookPayload, bK as WebhookType, bg as WorkflowsScorechainConfig, W as WorkflowsScoringAnalysisRequest, as as mappingMatchTypeToLabel, a6 as typeToHumanReadable } from '../../dist/CoinMarketCap.schema-
|
|
1
|
+
export { a2 as AMLMetadata, A as ANALYSIS_TYPES, c as AnalysisType, bL as ApplicantMemberOfSchema, b_ as BENEFICIARY_TYPES, e as BLOCKCHAIN_TYPES, bN as BaseApplicantActionSchema, bl as BaseProvider, c0 as BeneficiaryCompanyCustomerClaims, c1 as BeneficiaryCompanyCustomerClaimsArray, b$ as BeneficiaryType, d7 as BeneficiaryVerificationStatus, d8 as BeneficiaryVerificationStatusArray, u as BigCSErrorCodes, bi as BigConfig, p as BigCryptoChain, r as BigProperties, q as BigPropertiesLiteral, s as BigProperty, bo 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, dr as ChainalysisApiError, be as ChainalysisConfig, dp as ChainalysisErrorCodes, br as ChainalysisProvider, dm as ChainalysisRegisterApiResponse, ds as ChainalysisRegisterResponse, dl as ChainalysisRequest, dq as ChainalysisRiskAssessmentApiResponse, C as ChainalysisRiskAssessmentResponse, dn as ChainalysisRiskLevel, ah as CoerceDateUTC, g as Coin, dw as CoinMarketCapApiResponse, dx as CoinMarketCapFiatId, du as CoinMarketCapQuote, dv as CoinMarketCapQuotes, dt as CoinMarketCapRequest, d6 as CompanyDocumentMetaData, aW as ComplyAdvantageAmlFullListing, aV as ComplyAdvantageAmlItemSource, aD as ComplyAdvantageCountryFieldSources, aF as ComplyAdvantageDateOfBirthFieldSources, aU as ComplyAdvantageKeyInformation, aP as ComplyAdvantageMedia, b4 as ComplyAdvantageMonitorSearchDataResponse, b6 as ComplyAdvantageMonitorSearchResponse, b5 as ComplyAdvantageMonitorSearchSuccessResponse, b7 as ComplyAdvantageMonitoredSearchUpdate, aB as ComplyAdvantageNationalityFieldSources, bw as ComplyAdvantageProvider, bv as ComplyAdvantageProviderConfigElement, bu as ComplyAdvantageProviderConfigFilters, bt 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, a$ as ComplyAdvantageSearchRequests, b as ComplyAdvantageSearchResponse, aS as ComplyAdvantageSearchSuccessResponse, b1 as ComplyAdvantageUpdateSearchEntitiesRequest, b3 as ComplyAdvantageUpdateSearchEntitiesResponse, b2 as ComplyAdvantageUpdateSearchEntitiesSuccessResponse, b0 as ComplyAdvantageUpdateSearchRequest, aN as ComplyAdvantageUser, bC as CreateProviderInput, bD as CreateProviderResponse, aG as CreateSearchInput, c_ as CredentialMetadata, cZ as CustomerContactInformationOutput, dd as CustomerDocumentMetaData, de as CustomerStatusResults, bb as DataProviderOptions, bc as DataProviders, bH as DeleteProviderInput, bI as DeleteProviderResponse, X as DocumentIdMetadata, V as DocumentIdType, U as DocumentIdTypes, cq as DocumentMetadataSchema, a1 as EmailMetadata, E as EmailVerificationAnalysisResponse, cO as EmailVerificationResponse, T as File, cY as GetCredentialsOutput, da as GetKybSessionInput, db as GetKybSessionResponse, cS as GetKycSessionInput, cT as GetKycSessionResponse, c$ as GetKycSessionResponseWithCredentialsMetadata, bB as GetProviderResponse, bA as GetProvidersResponse, ao as HIGH_RISK_TYPES, bY as INDIVIDUAL_BENEFICIARY_RELATIONS, b9 as IdentityProviderOptions, ba as IdentityProviders, bZ as IndividualBeneficiaryRelation, l as IpQualityAnalysisRequest, m as IpQualityAnalysisResponse, bh as IpQualityConfig, n as IpQualityServiceAnalysis, I as IpQualityServiceAnalysisResponse, o as IpQualityServiceErrorResponse, bs as IpqualityscoreProvider, d2 as KYB_RESULTS, d4 as KYB_SESSION_STATUSES, d0 as KYB_STEP_TYPES, cK as KYC_RESULTS, cM as KYC_SESSION_STATUSES, cG as KYC_STEP_TYPES, d3 as KybResult, d5 as KybSessionStatus, d1 as KybStep, cL as KycResult, cN as KycSessionStatus, cH as KycStep, cJ as KycStepStatus, cI as KycStepStatuses, $ as LivenessMetadata, ap as MEDIUM_RISK_TYPES, aI as MatchStatus, aH as MatchStatuses, aO as MatchTypeDetail, M as MergedProviders, dk as MerkleAddressApiError, dj as MerkleAddressApiResponse, di as MerkleAddressRequest, a as MerkleAddressResponse, dh as MerkleBlockChainCodes, dg as MerkleBlockChainNames, df as MerkleBlockChainTypes, bd as MerkleScienceConfig, bq as MerkleScienceProvider, N as NestedSession, bn as NexeraIdKYBProvider, bm as NexeraIdSSIDProvider, O as OBJECT_TYPES, d as ObjectType, a0 as PhoneMetadata, P as PhoneVerificationAnalysisResponse, Z as ProofOfAddressDocumentType, Y as ProofOfAddressDocumentTypes, _ as ProofOfAddressMetadata, cX as ProofOfResidenceDocumentType, cW as ProofOfResidenceMetaData, by as ProviderData, bz as ProviderDataProject, bk as ProviderIntegrationType, bj as ProviderIntegrationTypeOptions, b8 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, bQ as SUMSUB_APPLICANT_TYPES, cj as SUMSUB_COMPANY_BENEFICIARY_GROUP, c7 as SUMSUB_DOC_TYPES, c9 as SUMSUB_FLOW_LEVEL, cy as SUMSUB_KYB_SESSION_FLOW_SECTION_STATUS, co as SUMSUB_MEDIA_CONTENT_TYPES, bS as SUMSUB_REVIEW_ANSWERS, cD as SUMSUB_REVIEW_REJECT_LABELS, cF as SUMSUB_REVIEW_REJECT_LABELS_DESCRIPTION, bU as SUMSUB_REVIEW_REJECT_TYPES, c5 as SUMSUB_REVIEW_STATUSES, bO as SUMSUB_STEPS, c3 as SUMSUB_WEBHOOK_INTERNAL_STATUS, j as ScorechainAnalysis, bf as ScorechainConfig, i as ScorechainError, h as ScorechainErrorResponse, bp 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, d9 as SelectKybSession, cQ as SelectKycSession, cP as SelectKycSessionStep, cR as SelectKycSessionWithCompletedSteps, G as Session, H as SessionWithoutSteps, D as Status, z as Statuses, a3 as Step, K as StepType, J as StepTypes, bW as SumSubAddress, bX as SumSubApplicantInfo, cs as SumSubApplicantResetSchema, cr as SumSubApplicantReviewStatusSchema, cx as SumSubApplicantSchema, bR as SumSubApplicantType, cn as SumSubApplicantVerificationStepSchema, c2 as SumSubCompanyApplicantInfo, ch as SumSubCompanyApplicantSchema, c8 as SumSubDocType, ca as SumSubFlowLevel, ct as SumSubGenerateExternalWebSdkLinkSchema, ci as SumSubImageId, cd as SumSubImageReviewResultSchema, cg as SumSubIndividualApplicantSchema, cp as SumSubMediaContentType, cb as SumSubRequiredIdDoc, bT as SumSubReviewAnswer, cE as SumSubReviewRejectLabel, bV as SumSubReviewRejectType, cc as SumSubReviewResultSchema, c6 as SumSubReviewStatus, cC as SumSubSimilarApplicantsSchema, bP as SumSubStep, cm as SumSubVerificationStepSchema, bM as SumSubWebhookSchema, cf as SumsubApplicantType, ce as SumsubApplicantTypes, ck as SumsubCompanyBeneficiaryGroup, cw as SumsubKybDataSchema, cB as SumsubKybSessionFlowSection, cA as SumsubKybSessionFlowSectionItem, cz as SumsubKybSessionFlowSectionStatus, cv as SumsubKycDataSchema, cl as SumsubStepStatus, cu as SumsubVideoCallData, c4 as SumsubWebhookInternalStatus, bx 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, bG as ToggleProviderInput, a9 as UNKNOWN_ERROR, dc as UpdateKybSessionOutput, cU as UpdateKycSessionOutput, bE as UpdateProviderInput, bF as UpdateProviderResponse, aM as UpdateSearchEntitiesInput, aL as UpdateSearchInput, cV as VideoKycMetaData, bJ as WEBHOOK_TYPES, F as WebhookPayload, bK as WebhookType, bg as WorkflowsScorechainConfig, W as WorkflowsScoringAnalysisRequest, as as mappingMatchTypeToLabel, a6 as typeToHumanReadable } from '../../dist/CoinMarketCap.schema-fa72c081.esm.mjs';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../../dist/vault.schema-
|
|
4
|
-
import 'remeda';
|
|
3
|
+
import '../../dist/vault.schema-789028ce.esm.mjs';
|
|
5
4
|
import 'decimal.js';
|
|
6
|
-
import '../../dist/identity-api.schema-
|
|
5
|
+
import '../../dist/identity-api.schema-01880e1c.esm.mjs';
|
|
7
6
|
import 'nanoid';
|
|
8
7
|
|
|
9
8
|
var CoinMarketCapCryptoId={$BABA:"30040",// Name: Baba, Slug: baba
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var vault_schema = require('../../dist/vault.schema-
|
|
5
|
+
var vault_schema = require('../../dist/vault.schema-bce4b304.cjs.dev.cjs');
|
|
6
6
|
require('zod');
|
|
7
|
-
require('remeda');
|
|
8
7
|
require('decimal.js');
|
|
9
8
|
|
|
10
9
|
|
|
@@ -15,6 +14,7 @@ exports.GenericVaultDataLinkZodSchema = vault_schema.GenericVaultDataLinkZodSche
|
|
|
15
14
|
exports.GenericVaultEmbeddedLinkZodSchema = vault_schema.GenericVaultEmbeddedLinkZodSchema;
|
|
16
15
|
exports.GenericVaultPointerLinkZodSchema = vault_schema.GenericVaultPointerLinkZodSchema;
|
|
17
16
|
exports.GenericVaultSearchLinkZodSchema = vault_schema.GenericVaultSearchLinkZodSchema;
|
|
17
|
+
exports.Separator = vault_schema.Separator;
|
|
18
18
|
exports.VaultJsonSchemas = vault_schema.VaultJsonSchemas;
|
|
19
19
|
exports.VaultMetadataLinkZodSchema = vault_schema.VaultMetadataLinkZodSchema;
|
|
20
20
|
exports.VaultPointerKeyMapZodSchema = vault_schema.VaultPointerKeyMapZodSchema;
|
|
@@ -24,3 +24,6 @@ exports.VaultSchemaPathsZodSchema = vault_schema.VaultSchemaPathsZodSchema;
|
|
|
24
24
|
exports.VaultZodSchema = vault_schema.VaultZodSchema;
|
|
25
25
|
exports.allDataLinkTypes = vault_schema.allDataLinkTypes;
|
|
26
26
|
exports.allDataLinkVersions = vault_schema.allDataLinkVersions;
|
|
27
|
+
exports.generateZodObjectPaths = vault_schema.generateZodObjectPaths;
|
|
28
|
+
exports.resolvePathOnDataSchema = vault_schema.resolvePathOnDataSchema;
|
|
29
|
+
exports.resolvePathOnMapSchema = vault_schema.resolvePathOnMapSchema;
|