@nexeraid/identity-schemas 2.51.0-dev → 2.52.0-staging
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-7547cfab.cjs.dev.cjs → CoinMarketCap.schema-27ba8fcb.cjs.dev.cjs} +3 -45
- package/dist/{CoinMarketCap.schema-92f631cd.esm.mjs → CoinMarketCap.schema-9f4d27e2.esm.mjs} +3 -43
- package/dist/{CoinMarketCap.schema-458718fc.cjs.prod.cjs → CoinMarketCap.schema-ffdc20a8.cjs.prod.cjs} +3 -45
- package/dist/declarations/src/data-links-temp/data-links-serialize.d.ts +18 -0
- package/dist/declarations/src/data-links-temp/data-links-serialize.d.ts.map +1 -0
- package/dist/declarations/src/data-links-temp/data-links-transformer.d.ts +50 -0
- package/dist/declarations/src/data-links-temp/data-links-transformer.d.ts.map +1 -0
- package/dist/declarations/src/data-links-temp/data-links-zod.d.ts +16 -0
- package/dist/declarations/src/data-links-temp/data-links-zod.d.ts.map +1 -0
- package/dist/declarations/src/data-links-temp/data-links.d.ts +63 -0
- package/dist/declarations/src/data-links-temp/data-links.d.ts.map +1 -0
- package/dist/declarations/src/data-links-temp/debug-util.d.ts +4 -0
- package/dist/declarations/src/data-links-temp/debug-util.d.ts.map +1 -0
- package/dist/declarations/src/data-links-temp/index.d.ts +12 -0
- package/dist/declarations/src/data-links-temp/index.d.ts.map +1 -0
- package/dist/declarations/src/data-links-temp/metadata-links-serialize.d.ts +16 -0
- package/dist/declarations/src/data-links-temp/metadata-links-serialize.d.ts.map +1 -0
- package/dist/declarations/src/data-links-temp/metadata-links-zod.d.ts +17 -0
- package/dist/declarations/src/data-links-temp/metadata-links-zod.d.ts.map +1 -0
- package/dist/declarations/src/data-links-temp/metadata-links.d.ts +21 -0
- package/dist/declarations/src/data-links-temp/metadata-links.d.ts.map +1 -0
- package/dist/declarations/src/data-links-temp/object-path.d.ts +10 -0
- package/dist/declarations/src/data-links-temp/object-path.d.ts.map +1 -0
- package/dist/declarations/src/data-links-temp/type-util.d.ts +10 -0
- package/dist/declarations/src/data-links-temp/type-util.d.ts.map +1 -0
- package/dist/declarations/src/data-links-temp/zod-utils.d.ts +17 -0
- package/dist/declarations/src/data-links-temp/zod-utils.d.ts.map +1 -0
- package/dist/declarations/src/nexeraSSID.schema.d.ts +12 -12
- 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-1fc1ac89.esm.mjs → frontend-utilities.schema-0fe69c3f.esm.mjs} +2 -2
- package/dist/{frontend-utilities.schema-6e49840a.cjs.prod.cjs → frontend-utilities.schema-3430626e.cjs.prod.cjs} +2 -2
- package/dist/{frontend-utilities.schema-85f9876c.cjs.dev.cjs → frontend-utilities.schema-c8e27771.cjs.dev.cjs} +2 -2
- package/dist/{identity-api.schema-85818eef.cjs.dev.cjs → identity-api.schema-a55b7df2.cjs.dev.cjs} +3 -3
- package/dist/{identity-api.schema-a209ace8.esm.mjs → identity-api.schema-ab31801c.esm.mjs} +3 -3
- package/dist/{identity-api.schema-3624d24d.cjs.prod.cjs → identity-api.schema-cc70165f.cjs.prod.cjs} +3 -3
- package/dist/nexeraid-identity-schemas.cjs.dev.cjs +4 -4
- package/dist/nexeraid-identity-schemas.cjs.prod.cjs +4 -4
- package/dist/nexeraid-identity-schemas.esm.mjs +5 -5
- package/dist/package.json +4 -3
- package/dist/{vault.schema-91351642.cjs.dev.cjs → vault.schema-2048f78f.cjs.dev.cjs} +167 -2
- package/dist/{vault.schema-c69b9a1d.cjs.prod.cjs → vault.schema-33b925bb.cjs.prod.cjs} +167 -2
- package/dist/{vault.schema-1c695a28.esm.mjs → vault.schema-5cdddf4f.esm.mjs} +164 -2
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +3 -3
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +3 -3
- package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +3 -3
- package/package.json +3 -2
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +4 -4
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +4 -4
- package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +4 -4
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.dev.cjs +2 -2
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.prod.cjs +2 -2
- package/vault/dist/nexeraid-identity-schemas-vault.esm.mjs +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +4 -4
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +4 -4
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +4 -4
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +8 -8
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +8 -8
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +8 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var zod = require('zod');
|
|
4
|
-
|
|
4
|
+
require('remeda');
|
|
5
5
|
var Decimal = require('decimal.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -1727,6 +1727,168 @@ function _toConsumableArray(r) {
|
|
|
1727
1727
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
1728
1728
|
}
|
|
1729
1729
|
|
|
1730
|
+
function _createForOfIteratorHelper(r, e) {
|
|
1731
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
1732
|
+
if (!t) {
|
|
1733
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
1734
|
+
t && (r = t);
|
|
1735
|
+
var n = 0,
|
|
1736
|
+
F = function () {};
|
|
1737
|
+
return {
|
|
1738
|
+
s: F,
|
|
1739
|
+
n: function () {
|
|
1740
|
+
return n >= r.length ? {
|
|
1741
|
+
done: !0
|
|
1742
|
+
} : {
|
|
1743
|
+
done: !1,
|
|
1744
|
+
value: r[n++]
|
|
1745
|
+
};
|
|
1746
|
+
},
|
|
1747
|
+
e: function (r) {
|
|
1748
|
+
throw r;
|
|
1749
|
+
},
|
|
1750
|
+
f: F
|
|
1751
|
+
};
|
|
1752
|
+
}
|
|
1753
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1754
|
+
}
|
|
1755
|
+
var o,
|
|
1756
|
+
a = !0,
|
|
1757
|
+
u = !1;
|
|
1758
|
+
return {
|
|
1759
|
+
s: function () {
|
|
1760
|
+
t = t.call(r);
|
|
1761
|
+
},
|
|
1762
|
+
n: function () {
|
|
1763
|
+
var r = t.next();
|
|
1764
|
+
return a = r.done, r;
|
|
1765
|
+
},
|
|
1766
|
+
e: function (r) {
|
|
1767
|
+
u = !0, o = r;
|
|
1768
|
+
},
|
|
1769
|
+
f: function () {
|
|
1770
|
+
try {
|
|
1771
|
+
a || null == t.return || t.return();
|
|
1772
|
+
} finally {
|
|
1773
|
+
if (u) throw o;
|
|
1774
|
+
}
|
|
1775
|
+
}
|
|
1776
|
+
};
|
|
1777
|
+
}
|
|
1778
|
+
|
|
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
|
+
function _iterableToArrayLimit(r, l) {
|
|
1788
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
1789
|
+
if (null != t) {
|
|
1790
|
+
var e,
|
|
1791
|
+
n,
|
|
1792
|
+
i,
|
|
1793
|
+
u,
|
|
1794
|
+
a = [],
|
|
1795
|
+
f = !0,
|
|
1796
|
+
o = !1;
|
|
1797
|
+
try {
|
|
1798
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
1799
|
+
if (Object(t) !== t) return;
|
|
1800
|
+
f = !1;
|
|
1801
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
1802
|
+
} catch (r) {
|
|
1803
|
+
o = !0, n = r;
|
|
1804
|
+
} finally {
|
|
1805
|
+
try {
|
|
1806
|
+
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
1807
|
+
} finally {
|
|
1808
|
+
if (o) throw n;
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1811
|
+
return a;
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
function _slicedToArray(r, e) {
|
|
1816
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
1817
|
+
}
|
|
1818
|
+
|
|
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
|
+
// this lib is too generic to follow the linting rules, a lot of types end up resolved to any
|
|
1840
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1841
|
+
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
|
1842
|
+
/* eslint-disable @typescript-eslint/no-unsafe-argument */
|
|
1843
|
+
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
1844
|
+
|
|
1845
|
+
var generateZodObjectPaths = function generateZodObjectPaths(schema) {
|
|
1846
|
+
function traverse(schema, pathToHere) {
|
|
1847
|
+
var paths = [];
|
|
1848
|
+
if (schema.shape) {
|
|
1849
|
+
for (var _i = 0, _Object$entries = Object.entries(schema.shape); _i < _Object$entries.length; _i++) {
|
|
1850
|
+
var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
|
|
1851
|
+
key = _Object$entries$_i[0],
|
|
1852
|
+
value = _Object$entries$_i[1];
|
|
1853
|
+
var newPath = [].concat(_toConsumableArray(pathToHere), [key]);
|
|
1854
|
+
var deep = traverse(value, newPath);
|
|
1855
|
+
paths = [].concat(_toConsumableArray(paths), [newPath.join(Separator)], _toConsumableArray(deep));
|
|
1856
|
+
}
|
|
1857
|
+
} else if (schema instanceof zod.z.ZodOptional) {
|
|
1858
|
+
var _deep = traverse(schema.unwrap(), pathToHere);
|
|
1859
|
+
paths = [].concat(_toConsumableArray(paths), _toConsumableArray(_deep));
|
|
1860
|
+
} else if (schema instanceof zod.z.ZodArray) {
|
|
1861
|
+
var _deep2 = traverse(schema.element, pathToHere);
|
|
1862
|
+
paths = [].concat(_toConsumableArray(paths), _toConsumableArray(_deep2));
|
|
1863
|
+
} else if (schema instanceof zod.z.ZodIntersection) {
|
|
1864
|
+
// @ts-expect-error -- TODO: fix this
|
|
1865
|
+
var deepLeft = traverse(schema._def.left, pathToHere);
|
|
1866
|
+
paths = [].concat(_toConsumableArray(paths), _toConsumableArray(deepLeft));
|
|
1867
|
+
// @ts-expect-error -- TODO: fix this
|
|
1868
|
+
var deepRight = traverse(schema._def.right, pathToHere);
|
|
1869
|
+
paths = [].concat(_toConsumableArray(paths), _toConsumableArray(deepRight));
|
|
1870
|
+
} else if (schema instanceof zod.z.ZodUnion) {
|
|
1871
|
+
var _iterator = _createForOfIteratorHelper(schema.options),
|
|
1872
|
+
_step;
|
|
1873
|
+
try {
|
|
1874
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
1875
|
+
var option = _step.value;
|
|
1876
|
+
var _deep3 = traverse(option, pathToHere);
|
|
1877
|
+
paths = [].concat(_toConsumableArray(paths), _toConsumableArray(_deep3));
|
|
1878
|
+
}
|
|
1879
|
+
} catch (err) {
|
|
1880
|
+
_iterator.e(err);
|
|
1881
|
+
} finally {
|
|
1882
|
+
_iterator.f();
|
|
1883
|
+
}
|
|
1884
|
+
} else if (schema instanceof zod.z.ZodType) {
|
|
1885
|
+
paths.push(pathToHere.join(Separator));
|
|
1886
|
+
}
|
|
1887
|
+
return Array.from(new Set(paths));
|
|
1888
|
+
}
|
|
1889
|
+
return traverse(schema, []);
|
|
1890
|
+
};
|
|
1891
|
+
|
|
1730
1892
|
var allDataLinkVersions = ["v1"];
|
|
1731
1893
|
var DataLinkVersionZodSchema = zod.z["enum"](allDataLinkVersions);
|
|
1732
1894
|
var allDataLinkTypes = ["pointer", "search", "embedded"];
|
|
@@ -6165,7 +6327,7 @@ var VaultZodSchema = zod.z.object({
|
|
|
6165
6327
|
Transaction: TransactionZodSchema
|
|
6166
6328
|
});
|
|
6167
6329
|
var VaultSchemaIdZodSchema = zod.z["enum"](Object.keys(VaultZodSchema.shape));
|
|
6168
|
-
var VaultSchemaPathsZodSchema = zod.z["enum"](
|
|
6330
|
+
var VaultSchemaPathsZodSchema = zod.z["enum"](generateZodObjectPaths(VaultZodSchema));
|
|
6169
6331
|
var VaultPointerKeyMapZodSchema = zod.z.object({
|
|
6170
6332
|
Customer: zod.z.object({
|
|
6171
6333
|
customerId: zod.z.string(),
|
|
@@ -6326,7 +6488,10 @@ exports.WalletRiskScoreProvider = WalletRiskScoreProvider;
|
|
|
6326
6488
|
exports.WalletRiskScoreProviders = WalletRiskScoreProviders;
|
|
6327
6489
|
exports.WalletRiskScoreType = WalletRiskScoreType;
|
|
6328
6490
|
exports.WalletRiskScoreTypes = WalletRiskScoreTypes;
|
|
6491
|
+
exports._arrayWithHoles = _arrayWithHoles;
|
|
6329
6492
|
exports._iterableToArray = _iterableToArray;
|
|
6493
|
+
exports._nonIterableRest = _nonIterableRest;
|
|
6494
|
+
exports._slicedToArray = _slicedToArray;
|
|
6330
6495
|
exports._toConsumableArray = _toConsumableArray;
|
|
6331
6496
|
exports._unsupportedIterableToArray = _unsupportedIterableToArray;
|
|
6332
6497
|
exports.allDataLinkTypes = allDataLinkTypes;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import
|
|
2
|
+
import 'remeda';
|
|
3
3
|
import Decimal from 'decimal.js';
|
|
4
4
|
|
|
5
5
|
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 +1721,168 @@ function _toConsumableArray(r) {
|
|
|
1721
1721
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
1722
1722
|
}
|
|
1723
1723
|
|
|
1724
|
+
function _createForOfIteratorHelper(r, e) {
|
|
1725
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
1726
|
+
if (!t) {
|
|
1727
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
1728
|
+
t && (r = t);
|
|
1729
|
+
var n = 0,
|
|
1730
|
+
F = function () {};
|
|
1731
|
+
return {
|
|
1732
|
+
s: F,
|
|
1733
|
+
n: function () {
|
|
1734
|
+
return n >= r.length ? {
|
|
1735
|
+
done: !0
|
|
1736
|
+
} : {
|
|
1737
|
+
done: !1,
|
|
1738
|
+
value: r[n++]
|
|
1739
|
+
};
|
|
1740
|
+
},
|
|
1741
|
+
e: function (r) {
|
|
1742
|
+
throw r;
|
|
1743
|
+
},
|
|
1744
|
+
f: F
|
|
1745
|
+
};
|
|
1746
|
+
}
|
|
1747
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1748
|
+
}
|
|
1749
|
+
var o,
|
|
1750
|
+
a = !0,
|
|
1751
|
+
u = !1;
|
|
1752
|
+
return {
|
|
1753
|
+
s: function () {
|
|
1754
|
+
t = t.call(r);
|
|
1755
|
+
},
|
|
1756
|
+
n: function () {
|
|
1757
|
+
var r = t.next();
|
|
1758
|
+
return a = r.done, r;
|
|
1759
|
+
},
|
|
1760
|
+
e: function (r) {
|
|
1761
|
+
u = !0, o = r;
|
|
1762
|
+
},
|
|
1763
|
+
f: function () {
|
|
1764
|
+
try {
|
|
1765
|
+
a || null == t.return || t.return();
|
|
1766
|
+
} finally {
|
|
1767
|
+
if (u) throw o;
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
};
|
|
1771
|
+
}
|
|
1772
|
+
|
|
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
|
+
function _iterableToArrayLimit(r, l) {
|
|
1782
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
1783
|
+
if (null != t) {
|
|
1784
|
+
var e,
|
|
1785
|
+
n,
|
|
1786
|
+
i,
|
|
1787
|
+
u,
|
|
1788
|
+
a = [],
|
|
1789
|
+
f = !0,
|
|
1790
|
+
o = !1;
|
|
1791
|
+
try {
|
|
1792
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
1793
|
+
if (Object(t) !== t) return;
|
|
1794
|
+
f = !1;
|
|
1795
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
1796
|
+
} catch (r) {
|
|
1797
|
+
o = !0, n = r;
|
|
1798
|
+
} finally {
|
|
1799
|
+
try {
|
|
1800
|
+
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
1801
|
+
} finally {
|
|
1802
|
+
if (o) throw n;
|
|
1803
|
+
}
|
|
1804
|
+
}
|
|
1805
|
+
return a;
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
function _slicedToArray(r, e) {
|
|
1810
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
1811
|
+
}
|
|
1812
|
+
|
|
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
|
+
// this lib is too generic to follow the linting rules, a lot of types end up resolved to any
|
|
1834
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1835
|
+
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
|
1836
|
+
/* eslint-disable @typescript-eslint/no-unsafe-argument */
|
|
1837
|
+
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
1838
|
+
|
|
1839
|
+
var generateZodObjectPaths = function generateZodObjectPaths(schema) {
|
|
1840
|
+
function traverse(schema, pathToHere) {
|
|
1841
|
+
var paths = [];
|
|
1842
|
+
if (schema.shape) {
|
|
1843
|
+
for (var _i = 0, _Object$entries = Object.entries(schema.shape); _i < _Object$entries.length; _i++) {
|
|
1844
|
+
var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
|
|
1845
|
+
key = _Object$entries$_i[0],
|
|
1846
|
+
value = _Object$entries$_i[1];
|
|
1847
|
+
var newPath = [].concat(_toConsumableArray(pathToHere), [key]);
|
|
1848
|
+
var deep = traverse(value, newPath);
|
|
1849
|
+
paths = [].concat(_toConsumableArray(paths), [newPath.join(Separator)], _toConsumableArray(deep));
|
|
1850
|
+
}
|
|
1851
|
+
} else if (schema instanceof z.ZodOptional) {
|
|
1852
|
+
var _deep = traverse(schema.unwrap(), pathToHere);
|
|
1853
|
+
paths = [].concat(_toConsumableArray(paths), _toConsumableArray(_deep));
|
|
1854
|
+
} else if (schema instanceof z.ZodArray) {
|
|
1855
|
+
var _deep2 = traverse(schema.element, pathToHere);
|
|
1856
|
+
paths = [].concat(_toConsumableArray(paths), _toConsumableArray(_deep2));
|
|
1857
|
+
} else if (schema instanceof z.ZodIntersection) {
|
|
1858
|
+
// @ts-expect-error -- TODO: fix this
|
|
1859
|
+
var deepLeft = traverse(schema._def.left, pathToHere);
|
|
1860
|
+
paths = [].concat(_toConsumableArray(paths), _toConsumableArray(deepLeft));
|
|
1861
|
+
// @ts-expect-error -- TODO: fix this
|
|
1862
|
+
var deepRight = traverse(schema._def.right, pathToHere);
|
|
1863
|
+
paths = [].concat(_toConsumableArray(paths), _toConsumableArray(deepRight));
|
|
1864
|
+
} else if (schema instanceof z.ZodUnion) {
|
|
1865
|
+
var _iterator = _createForOfIteratorHelper(schema.options),
|
|
1866
|
+
_step;
|
|
1867
|
+
try {
|
|
1868
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
1869
|
+
var option = _step.value;
|
|
1870
|
+
var _deep3 = traverse(option, pathToHere);
|
|
1871
|
+
paths = [].concat(_toConsumableArray(paths), _toConsumableArray(_deep3));
|
|
1872
|
+
}
|
|
1873
|
+
} catch (err) {
|
|
1874
|
+
_iterator.e(err);
|
|
1875
|
+
} finally {
|
|
1876
|
+
_iterator.f();
|
|
1877
|
+
}
|
|
1878
|
+
} else if (schema instanceof z.ZodType) {
|
|
1879
|
+
paths.push(pathToHere.join(Separator));
|
|
1880
|
+
}
|
|
1881
|
+
return Array.from(new Set(paths));
|
|
1882
|
+
}
|
|
1883
|
+
return traverse(schema, []);
|
|
1884
|
+
};
|
|
1885
|
+
|
|
1724
1886
|
var allDataLinkVersions = ["v1"];
|
|
1725
1887
|
var DataLinkVersionZodSchema = z["enum"](allDataLinkVersions);
|
|
1726
1888
|
var allDataLinkTypes = ["pointer", "search", "embedded"];
|
|
@@ -6220,4 +6382,4 @@ var GenericVaultDataLinkZodSchema = z.union([GenericVaultPointerLinkZodSchema, G
|
|
|
6220
6382
|
// that a generic vault data link is indeed a valid vault data link
|
|
6221
6383
|
// ================================
|
|
6222
6384
|
|
|
6223
|
-
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, VaultJsonSchemas as aG, VaultZodSchema as aH, VaultSchemaIdZodSchema as aI, VaultSchemaPathsZodSchema as aJ, VaultPointerKeyMapZodSchema as aK, VaultQueryMapZodSchema as aL, VaultMetadataLinkZodSchema as aM, GenericVaultPointerLinkZodSchema as aN, GenericVaultSearchLinkZodSchema as aO, GenericVaultEmbeddedLinkZodSchema as aP, GenericVaultDataLinkZodSchema as aQ, _toConsumableArray as aR,
|
|
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, VaultJsonSchemas as aG, VaultZodSchema as aH, VaultSchemaIdZodSchema as aI, VaultSchemaPathsZodSchema as aJ, VaultPointerKeyMapZodSchema as aK, VaultQueryMapZodSchema as aL, VaultMetadataLinkZodSchema as aM, GenericVaultPointerLinkZodSchema as aN, GenericVaultSearchLinkZodSchema as aO, GenericVaultEmbeddedLinkZodSchema as aP, GenericVaultDataLinkZodSchema as aQ, _toConsumableArray as aR, _arrayWithHoles as aS, _iterableToArray as aT, _unsupportedIterableToArray as aU, _nonIterableRest as aV, _slicedToArray as aW, 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 };
|
|
@@ -2,10 +2,10 @@
|
|
|
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-a55b7df2.cjs.dev.cjs');
|
|
6
6
|
require('zod');
|
|
7
|
-
require('../../dist/vault.schema-
|
|
8
|
-
require('
|
|
7
|
+
require('../../dist/vault.schema-2048f78f.cjs.dev.cjs');
|
|
8
|
+
require('remeda');
|
|
9
9
|
require('decimal.js');
|
|
10
10
|
require('nanoid');
|
|
11
11
|
|
|
@@ -2,10 +2,10 @@
|
|
|
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-cc70165f.cjs.prod.cjs');
|
|
6
6
|
require('zod');
|
|
7
|
-
require('../../dist/vault.schema-
|
|
8
|
-
require('
|
|
7
|
+
require('../../dist/vault.schema-33b925bb.cjs.prod.cjs');
|
|
8
|
+
require('remeda');
|
|
9
9
|
require('decimal.js');
|
|
10
10
|
require('nanoid');
|
|
11
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
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-ab31801c.esm.mjs';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../../dist/vault.schema-
|
|
4
|
-
import '
|
|
3
|
+
import '../../dist/vault.schema-5cdddf4f.esm.mjs';
|
|
4
|
+
import 'remeda';
|
|
5
5
|
import 'decimal.js';
|
|
6
6
|
import 'nanoid';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexeraid/identity-schemas",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.52.0-staging",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "ISC",
|
|
@@ -63,9 +63,10 @@
|
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"decimal.js": "^10.4.3",
|
|
65
65
|
"nanoid": "3.3.4",
|
|
66
|
+
"remeda": "^2.17.4",
|
|
66
67
|
"zod": "^3.23.8",
|
|
67
68
|
"zod-to-json-schema": "^3.23.5",
|
|
68
|
-
"@
|
|
69
|
+
"@nexeraid/logger": "2.35.1-staging"
|
|
69
70
|
},
|
|
70
71
|
"devDependencies": {
|
|
71
72
|
"@types/bun": "^1.1.10",
|
|
@@ -2,12 +2,12 @@
|
|
|
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-27ba8fcb.cjs.dev.cjs');
|
|
6
6
|
require('zod');
|
|
7
|
-
require('../../dist/vault.schema-
|
|
8
|
-
require('
|
|
7
|
+
require('../../dist/vault.schema-2048f78f.cjs.dev.cjs');
|
|
8
|
+
require('remeda');
|
|
9
9
|
require('decimal.js');
|
|
10
|
-
require('../../dist/identity-api.schema-
|
|
10
|
+
require('../../dist/identity-api.schema-a55b7df2.cjs.dev.cjs');
|
|
11
11
|
require('nanoid');
|
|
12
12
|
|
|
13
13
|
var CoinMarketCapCryptoId={$BABA:"30040",// Name: Baba, Slug: baba
|
|
@@ -2,12 +2,12 @@
|
|
|
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-ffdc20a8.cjs.prod.cjs');
|
|
6
6
|
require('zod');
|
|
7
|
-
require('../../dist/vault.schema-
|
|
8
|
-
require('
|
|
7
|
+
require('../../dist/vault.schema-33b925bb.cjs.prod.cjs');
|
|
8
|
+
require('remeda');
|
|
9
9
|
require('decimal.js');
|
|
10
|
-
require('../../dist/identity-api.schema-
|
|
10
|
+
require('../../dist/identity-api.schema-cc70165f.cjs.prod.cjs');
|
|
11
11
|
require('nanoid');
|
|
12
12
|
|
|
13
13
|
var CoinMarketCapCryptoId={$BABA:"30040",// Name: Baba, Slug: baba
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export {
|
|
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-9f4d27e2.esm.mjs';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../../dist/vault.schema-
|
|
4
|
-
import '
|
|
3
|
+
import '../../dist/vault.schema-5cdddf4f.esm.mjs';
|
|
4
|
+
import 'remeda';
|
|
5
5
|
import 'decimal.js';
|
|
6
|
-
import '../../dist/identity-api.schema-
|
|
6
|
+
import '../../dist/identity-api.schema-ab31801c.esm.mjs';
|
|
7
7
|
import 'nanoid';
|
|
8
8
|
|
|
9
9
|
var CoinMarketCapCryptoId={$BABA:"30040",// Name: Baba, Slug: baba
|
|
@@ -2,9 +2,9 @@
|
|
|
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-2048f78f.cjs.dev.cjs');
|
|
6
6
|
require('zod');
|
|
7
|
-
require('
|
|
7
|
+
require('remeda');
|
|
8
8
|
require('decimal.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -2,9 +2,9 @@
|
|
|
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-33b925bb.cjs.prod.cjs');
|
|
6
6
|
require('zod');
|
|
7
|
-
require('
|
|
7
|
+
require('remeda');
|
|
8
8
|
require('decimal.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aF as DataLinkTypeZodSchema, aD as DataLinkVersionZodSchema, aQ as GenericVaultDataLinkZodSchema, aP as GenericVaultEmbeddedLinkZodSchema, aN as GenericVaultPointerLinkZodSchema, aO as GenericVaultSearchLinkZodSchema, aG as VaultJsonSchemas, aM as VaultMetadataLinkZodSchema, aK as VaultPointerKeyMapZodSchema, aL as VaultQueryMapZodSchema, aI as VaultSchemaIdZodSchema, aJ as VaultSchemaPathsZodSchema, aH as VaultZodSchema, aE as allDataLinkTypes, aC as allDataLinkVersions } from '../../dist/vault.schema-
|
|
1
|
+
export { aF as DataLinkTypeZodSchema, aD as DataLinkVersionZodSchema, aQ as GenericVaultDataLinkZodSchema, aP as GenericVaultEmbeddedLinkZodSchema, aN as GenericVaultPointerLinkZodSchema, aO as GenericVaultSearchLinkZodSchema, aG as VaultJsonSchemas, aM as VaultMetadataLinkZodSchema, aK as VaultPointerKeyMapZodSchema, aL as VaultQueryMapZodSchema, aI as VaultSchemaIdZodSchema, aJ as VaultSchemaPathsZodSchema, aH as VaultZodSchema, aE as allDataLinkTypes, aC as allDataLinkVersions } from '../../dist/vault.schema-5cdddf4f.esm.mjs';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '
|
|
3
|
+
import 'remeda';
|
|
4
4
|
import 'decimal.js';
|
package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var vault_schema = require('../../dist/vault.schema-
|
|
6
|
-
var identityApi_schema = require('../../dist/identity-api.schema-
|
|
7
|
-
var frontendUtilities_schema = require('../../dist/frontend-utilities.schema-
|
|
5
|
+
var vault_schema = require('../../dist/vault.schema-2048f78f.cjs.dev.cjs');
|
|
6
|
+
var identityApi_schema = require('../../dist/identity-api.schema-a55b7df2.cjs.dev.cjs');
|
|
7
|
+
var frontendUtilities_schema = require('../../dist/frontend-utilities.schema-c8e27771.cjs.dev.cjs');
|
|
8
8
|
require('zod');
|
|
9
|
-
require('
|
|
9
|
+
require('remeda');
|
|
10
10
|
require('decimal.js');
|
|
11
11
|
require('nanoid');
|
|
12
12
|
|
package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var vault_schema = require('../../dist/vault.schema-
|
|
6
|
-
var identityApi_schema = require('../../dist/identity-api.schema-
|
|
7
|
-
var frontendUtilities_schema = require('../../dist/frontend-utilities.schema-
|
|
5
|
+
var vault_schema = require('../../dist/vault.schema-33b925bb.cjs.prod.cjs');
|
|
6
|
+
var identityApi_schema = require('../../dist/identity-api.schema-cc70165f.cjs.prod.cjs');
|
|
7
|
+
var frontendUtilities_schema = require('../../dist/frontend-utilities.schema-3430626e.cjs.prod.cjs');
|
|
8
8
|
require('zod');
|
|
9
|
-
require('
|
|
9
|
+
require('remeda');
|
|
10
10
|
require('decimal.js');
|
|
11
11
|
require('nanoid');
|
|
12
12
|
|