@nexeraid/identity-schemas 2.130.0 → 2.132.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-3fa2dbfe.cjs.dev.cjs → CoinMarketCap.schema-3aac6153.cjs.dev.cjs} +2 -2
- package/dist/{CoinMarketCap.schema-d51e69ae.esm.mjs → CoinMarketCap.schema-9d73712c.esm.mjs} +2 -2
- package/dist/{CoinMarketCap.schema-52c35587.cjs.prod.cjs → CoinMarketCap.schema-fad706d9.cjs.prod.cjs} +2 -2
- package/dist/declarations/src/identity/app-requests.schema.d.ts +94 -94
- package/dist/declarations/src/identity/host-requests.schema.d.ts +16 -16
- package/dist/declarations/src/identity/identity-v2.schema.d.ts +76 -76
- package/dist/declarations/src/identity/kyc.schema.d.ts +74 -74
- package/dist/declarations/src/identity/query.schema.d.ts +84 -84
- package/dist/declarations/src/identity/query.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/scenario.schema.d.ts +156 -156
- package/dist/declarations/src/identity/txAuthData.schema.d.ts +28 -28
- package/dist/declarations/src/identity/zkps.schema.d.ts +46 -46
- package/dist/declarations/src/identity-ids.schema.d.ts +6 -2
- package/dist/declarations/src/identity-ids.schema.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +1 -0
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/vault/data-links/data-links.schema.d.ts +4 -3
- package/dist/declarations/src/vault/data-links/data-links.schema.d.ts.map +1 -1
- package/dist/declarations/src/vault/data-links/metadata-links.schema.d.ts.map +1 -1
- package/dist/declarations/src/vault/data-links/object-path.d.ts +5 -2
- package/dist/declarations/src/vault/data-links/object-path.d.ts.map +1 -1
- package/dist/declarations/src/vault/data-links/type-util.d.ts +2 -2
- package/dist/declarations/src/vault/data-links/type-util.d.ts.map +1 -1
- package/dist/declarations/src/vault/data-links/zod-utils.d.ts.map +1 -1
- package/dist/declarations/src/vault/schemas/generated/Web3Transaction.schema.json.d.ts +31 -0
- package/dist/declarations/src/vault/schemas/generated/Web3Transaction.type.d.ts +13 -0
- package/dist/declarations/src/vault/schemas/generated/Web3Transaction.type.d.ts.map +1 -0
- package/dist/declarations/src/vault/vault.schema.d.ts +74 -23
- package/dist/declarations/src/vault/vault.schema.d.ts.map +1 -1
- package/dist/declarations/src/web3-transaction.schema.d.ts +24 -0
- package/dist/declarations/src/web3-transaction.schema.d.ts.map +1 -0
- package/dist/{identity-api.schema-b2947339.cjs.dev.cjs → identity-api.schema-34dc18f9.cjs.dev.cjs} +1 -1
- package/dist/{identity-api.schema-ba16c8c3.cjs.prod.cjs → identity-api.schema-6fae0c5e.cjs.prod.cjs} +1 -1
- package/dist/{identity-api.schema-3f7334e3.esm.mjs → identity-api.schema-8d890442.esm.mjs} +1 -1
- package/dist/nexeraid-identity-schemas.cjs.dev.cjs +13 -7
- package/dist/nexeraid-identity-schemas.cjs.prod.cjs +13 -7
- package/dist/nexeraid-identity-schemas.esm.mjs +6 -4
- package/dist/package.json +1 -1
- package/dist/{tfhe-utilities-aa85d5c3.cjs.dev.cjs → tfhe-utilities-27940c87.cjs.dev.cjs} +2 -2
- package/dist/{tfhe-utilities-7c18a426.cjs.prod.cjs → tfhe-utilities-5a8dd592.cjs.prod.cjs} +2 -2
- package/dist/{tfhe-utilities-e3085d72.esm.mjs → tfhe-utilities-c40b161b.esm.mjs} +2 -2
- package/dist/toArray-37b1fb19.cjs.dev.cjs +9 -0
- package/dist/toArray-3c87317a.cjs.prod.cjs +9 -0
- package/dist/toArray-4d4dc74b.esm.mjs +7 -0
- package/dist/{vault.schema-c797be4e.cjs.dev.cjs → vault.schema-519df11c.cjs.dev.cjs} +89 -229
- package/dist/{vault.schema-d8294208.cjs.prod.cjs → vault.schema-780fe133.cjs.prod.cjs} +89 -229
- package/dist/{vault.schema-e1eca1dd.esm.mjs → vault.schema-b56c5882.esm.mjs} +82 -225
- package/dist/zod-utils-c91cd04c.cjs.prod.cjs +222 -0
- package/dist/zod-utils-c9be4fe1.esm.mjs +217 -0
- package/dist/zod-utils-ce615cbb.cjs.dev.cjs +222 -0
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +2 -2
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +2 -2
- package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +2 -2
- package/package.json +2 -2
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +3 -3
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +3 -3
- package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +3 -3
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.dev.cjs +7 -5
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.prod.cjs +7 -5
- package/vault/dist/nexeraid-identity-schemas-vault.esm.mjs +3 -1
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +3 -3
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +3 -3
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +3 -3
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +5 -4
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +5 -4
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +4 -3
|
@@ -2613,9 +2613,8 @@ var DatasetColumnTypePrefix = "datasetct";
|
|
|
2613
2613
|
var DatasetColumnTypeOptionPrefix = "datasetcto";
|
|
2614
2614
|
var DatasetRowPrefix = "datasetr";
|
|
2615
2615
|
var DatasetRowValuePrefix = "datasetrv";
|
|
2616
|
-
|
|
2617
|
-
// Dataset views
|
|
2618
2616
|
var DatasetViewPrefix = "datasetv";
|
|
2617
|
+
var DatasetFolderPrefix = "datasetf";
|
|
2619
2618
|
|
|
2620
2619
|
// Alert
|
|
2621
2620
|
var MetaAlertPrefix = "alrt";
|
|
@@ -2682,8 +2681,6 @@ var AiMessagePrefix = "aimsg";
|
|
|
2682
2681
|
|
|
2683
2682
|
// Dataset
|
|
2684
2683
|
|
|
2685
|
-
// Dataset views
|
|
2686
|
-
|
|
2687
2684
|
// Alerts
|
|
2688
2685
|
|
|
2689
2686
|
// TMS
|
|
@@ -2700,8 +2697,6 @@ var AiMessagePrefix = "aimsg";
|
|
|
2700
2697
|
|
|
2701
2698
|
// Dataset
|
|
2702
2699
|
|
|
2703
|
-
// Dataset views
|
|
2704
|
-
|
|
2705
2700
|
// Alerts
|
|
2706
2701
|
|
|
2707
2702
|
// TMS
|
|
@@ -2753,9 +2748,8 @@ var DatasetColumnTypeId = createBrandedSchemaId("".concat(DatasetColumnTypePrefi
|
|
|
2753
2748
|
var DatasetColumnTypeOptionId = createBrandedSchemaId("".concat(DatasetColumnTypeOptionPrefix, "_"));
|
|
2754
2749
|
var DatasetRowId = createBrandedSchemaId("".concat(DatasetRowPrefix, "_"));
|
|
2755
2750
|
var DatasetRowValueId = createBrandedSchemaId("".concat(DatasetRowValuePrefix, "_"));
|
|
2756
|
-
|
|
2757
|
-
// Dataset views
|
|
2758
2751
|
var DatasetViewId = createBrandedSchemaId("".concat(DatasetViewPrefix, "_"));
|
|
2752
|
+
var DatasetFolderId = createBrandedSchemaId("".concat(DatasetFolderPrefix, "_"));
|
|
2759
2753
|
|
|
2760
2754
|
// Alert
|
|
2761
2755
|
var MetaAlertId = createBrandedSchemaId("".concat(MetaAlertPrefix, "_"));
|
|
@@ -2822,6 +2816,10 @@ zod.z["enum"](allDataLinkTypes$1);
|
|
|
2822
2816
|
* A link to a specific property in the schema
|
|
2823
2817
|
*/
|
|
2824
2818
|
|
|
2819
|
+
// set to unknown to avoid type errors
|
|
2820
|
+
// because now path is string because we have dynamic path
|
|
2821
|
+
// due to Web3TransactionData/functionArgs
|
|
2822
|
+
|
|
2825
2823
|
/**
|
|
2826
2824
|
* SearchLink
|
|
2827
2825
|
*
|
|
@@ -2834,218 +2832,14 @@ zod.z["enum"](allDataLinkTypes$1);
|
|
|
2834
2832
|
* A link that contains a specific object
|
|
2835
2833
|
*/
|
|
2836
2834
|
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
|
|
2846
|
-
}
|
|
2847
|
-
|
|
2848
|
-
function _createForOfIteratorHelper(r, e) {
|
|
2849
|
-
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
2850
|
-
if (!t) {
|
|
2851
|
-
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
2852
|
-
t && (r = t);
|
|
2853
|
-
var n = 0,
|
|
2854
|
-
F = function () {};
|
|
2855
|
-
return {
|
|
2856
|
-
s: F,
|
|
2857
|
-
n: function () {
|
|
2858
|
-
return n >= r.length ? {
|
|
2859
|
-
done: !0
|
|
2860
|
-
} : {
|
|
2861
|
-
done: !1,
|
|
2862
|
-
value: r[n++]
|
|
2863
|
-
};
|
|
2864
|
-
},
|
|
2865
|
-
e: function (r) {
|
|
2866
|
-
throw r;
|
|
2867
|
-
},
|
|
2868
|
-
f: F
|
|
2869
|
-
};
|
|
2870
|
-
}
|
|
2871
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2872
|
-
}
|
|
2873
|
-
var o,
|
|
2874
|
-
a = !0,
|
|
2875
|
-
u = !1;
|
|
2876
|
-
return {
|
|
2877
|
-
s: function () {
|
|
2878
|
-
t = t.call(r);
|
|
2879
|
-
},
|
|
2880
|
-
n: function () {
|
|
2881
|
-
var r = t.next();
|
|
2882
|
-
return a = r.done, r;
|
|
2883
|
-
},
|
|
2884
|
-
e: function (r) {
|
|
2885
|
-
u = !0, o = r;
|
|
2886
|
-
},
|
|
2887
|
-
f: function () {
|
|
2888
|
-
try {
|
|
2889
|
-
a || null == t.return || t.return();
|
|
2890
|
-
} finally {
|
|
2891
|
-
if (u) throw o;
|
|
2892
|
-
}
|
|
2893
|
-
}
|
|
2894
|
-
};
|
|
2895
|
-
}
|
|
2896
|
-
|
|
2897
|
-
// this lib is too generic to follow the linting rules, a lot of types end up resolved to any
|
|
2898
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2899
|
-
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
|
2900
|
-
/* eslint-disable @typescript-eslint/no-unsafe-argument */
|
|
2901
|
-
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
2902
|
-
|
|
2903
|
-
var generateZodObjectPaths = function generateZodObjectPaths(schema) {
|
|
2904
|
-
function traverse(schema, pathToHere) {
|
|
2905
|
-
var paths = [];
|
|
2906
|
-
if (schema.shape) {
|
|
2907
|
-
for (var _i = 0, _Object$entries = Object.entries(schema.shape); _i < _Object$entries.length; _i++) {
|
|
2908
|
-
var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
|
|
2909
|
-
key = _Object$entries$_i[0],
|
|
2910
|
-
value = _Object$entries$_i[1];
|
|
2911
|
-
var newPath = [].concat(_toConsumableArray(pathToHere), [key]);
|
|
2912
|
-
var deep = traverse(value, newPath);
|
|
2913
|
-
paths = [].concat(_toConsumableArray(paths), [newPath.join(Separator)], _toConsumableArray(deep));
|
|
2914
|
-
}
|
|
2915
|
-
} else if (schema instanceof zod.z.ZodOptional) {
|
|
2916
|
-
var _deep = traverse(schema.unwrap(), pathToHere);
|
|
2917
|
-
paths = [].concat(_toConsumableArray(paths), _toConsumableArray(_deep));
|
|
2918
|
-
} else if (schema instanceof zod.z.ZodArray) {
|
|
2919
|
-
var _deep2 = traverse(schema.element, pathToHere);
|
|
2920
|
-
paths = [].concat(_toConsumableArray(paths), _toConsumableArray(_deep2));
|
|
2921
|
-
} else if (schema instanceof zod.z.ZodIntersection) {
|
|
2922
|
-
// @ts-expect-error -- TODO: fix this
|
|
2923
|
-
var deepLeft = traverse(schema._def.left, pathToHere);
|
|
2924
|
-
paths = [].concat(_toConsumableArray(paths), _toConsumableArray(deepLeft));
|
|
2925
|
-
// @ts-expect-error -- TODO: fix this
|
|
2926
|
-
var deepRight = traverse(schema._def.right, pathToHere);
|
|
2927
|
-
paths = [].concat(_toConsumableArray(paths), _toConsumableArray(deepRight));
|
|
2928
|
-
} else if (schema instanceof zod.z.ZodUnion) {
|
|
2929
|
-
var _iterator = _createForOfIteratorHelper(schema.options),
|
|
2930
|
-
_step;
|
|
2931
|
-
try {
|
|
2932
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
2933
|
-
var option = _step.value;
|
|
2934
|
-
var _deep3 = traverse(option, pathToHere);
|
|
2935
|
-
paths = [].concat(_toConsumableArray(paths), _toConsumableArray(_deep3));
|
|
2936
|
-
}
|
|
2937
|
-
} catch (err) {
|
|
2938
|
-
_iterator.e(err);
|
|
2939
|
-
} finally {
|
|
2940
|
-
_iterator.f();
|
|
2941
|
-
}
|
|
2942
|
-
} else if (schema instanceof zod.z.ZodType) {
|
|
2943
|
-
paths.push(pathToHere.join(Separator));
|
|
2944
|
-
}
|
|
2945
|
-
return Array.from(new Set(paths));
|
|
2946
|
-
}
|
|
2947
|
-
return traverse(schema, []);
|
|
2948
|
-
};
|
|
2949
|
-
|
|
2950
|
-
// avoid circular dependency with logger
|
|
2951
|
-
|
|
2952
|
-
var resolvePathOnDataSchema = function resolvePathOnDataSchema(_ref) {
|
|
2953
|
-
var logger = _ref.logger,
|
|
2954
|
-
dataSchema = _ref.dataSchema,
|
|
2955
|
-
path = _ref.path;
|
|
2956
|
-
function traverse(schema, path) {
|
|
2957
|
-
if (path.length === 0) {
|
|
2958
|
-
return schema;
|
|
2959
|
-
}
|
|
2960
|
-
var _path = _toArray(path),
|
|
2961
|
-
part = _path[0],
|
|
2962
|
-
rest = _path.slice(1);
|
|
2963
|
-
if (!part) {
|
|
2964
|
-
return null; // unreachable due to previous check
|
|
2965
|
-
}
|
|
2966
|
-
if (schema.shape) {
|
|
2967
|
-
if (!(part in schema.shape)) {
|
|
2968
|
-
logger.error({
|
|
2969
|
-
msg: "part not found in schema.shape",
|
|
2970
|
-
data: {
|
|
2971
|
-
path: path,
|
|
2972
|
-
dataSchema: dataSchema
|
|
2973
|
-
}
|
|
2974
|
-
});
|
|
2975
|
-
return null;
|
|
2976
|
-
}
|
|
2977
|
-
return traverse(schema.shape[part], rest);
|
|
2978
|
-
} else if (schema instanceof zod.z.ZodOptional) {
|
|
2979
|
-
return traverse(schema.unwrap(), path);
|
|
2980
|
-
} else if (schema instanceof zod.z.ZodArray) {
|
|
2981
|
-
return traverse(schema.element, path);
|
|
2982
|
-
} else if (schema instanceof zod.z.ZodIntersection) {
|
|
2983
|
-
// @ts-expect-error -- TODO: fix this
|
|
2984
|
-
var right = schema._def.right;
|
|
2985
|
-
if (!right) {
|
|
2986
|
-
logger.error({
|
|
2987
|
-
msg: "Intersection has no .right field",
|
|
2988
|
-
data: {
|
|
2989
|
-
path: path,
|
|
2990
|
-
dataSchema: dataSchema
|
|
2991
|
-
}
|
|
2992
|
-
});
|
|
2993
|
-
return null;
|
|
2994
|
-
}
|
|
2995
|
-
return traverse(right, path);
|
|
2996
|
-
} else if (schema instanceof zod.z.ZodUnion) {
|
|
2997
|
-
var options = schema.options;
|
|
2998
|
-
var _iterator2 = _createForOfIteratorHelper(options),
|
|
2999
|
-
_step2;
|
|
3000
|
-
try {
|
|
3001
|
-
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3002
|
-
var option = _step2.value;
|
|
3003
|
-
var _result = traverse(option, path);
|
|
3004
|
-
if (_result) {
|
|
3005
|
-
return _result;
|
|
3006
|
-
}
|
|
3007
|
-
}
|
|
3008
|
-
} catch (err) {
|
|
3009
|
-
_iterator2.e(err);
|
|
3010
|
-
} finally {
|
|
3011
|
-
_iterator2.f();
|
|
3012
|
-
}
|
|
3013
|
-
}
|
|
3014
|
-
return null;
|
|
3015
|
-
}
|
|
3016
|
-
var parts = path.split(Separator);
|
|
3017
|
-
var result = traverse(dataSchema, parts);
|
|
3018
|
-
if (!result) {
|
|
3019
|
-
logger.error({
|
|
3020
|
-
msg: "path not found",
|
|
3021
|
-
data: {
|
|
3022
|
-
path: path,
|
|
3023
|
-
dataSchema: dataSchema
|
|
3024
|
-
}
|
|
3025
|
-
});
|
|
3026
|
-
return null;
|
|
3027
|
-
}
|
|
3028
|
-
return result;
|
|
3029
|
-
};
|
|
3030
|
-
var resolvePathOnMapSchema = function resolvePathOnMapSchema(_ref2) {
|
|
3031
|
-
var logger = _ref2.logger,
|
|
3032
|
-
mapSchema = _ref2.mapSchema,
|
|
3033
|
-
path = _ref2.path;
|
|
3034
|
-
var rest = path;
|
|
3035
|
-
while (rest.length > 0) {
|
|
3036
|
-
if (rest in mapSchema.shape) {
|
|
3037
|
-
return mapSchema.shape[rest];
|
|
3038
|
-
}
|
|
3039
|
-
rest = rest.slice(0, rest.lastIndexOf(Separator));
|
|
3040
|
-
}
|
|
3041
|
-
logger.error({
|
|
3042
|
-
msg: "path not found",
|
|
3043
|
-
data: {
|
|
3044
|
-
path: path
|
|
3045
|
-
}
|
|
3046
|
-
});
|
|
3047
|
-
return null;
|
|
3048
|
-
};
|
|
2835
|
+
var Web3ArgsType = zod.z.union([zod.z.string(), zod.z.number(), zod.z["boolean"]()]);
|
|
2836
|
+
var Web3TransactionData = zod.z.object({
|
|
2837
|
+
senderAddress: EvmAddress,
|
|
2838
|
+
contractAddress: EvmAddress,
|
|
2839
|
+
functionName: zod.z.string().optional(),
|
|
2840
|
+
functionArgs: zod.z.record(zod.z.string(), Web3ArgsType).optional(),
|
|
2841
|
+
transactionRequestDate: zod.z.coerce.date().optional()
|
|
2842
|
+
});
|
|
3049
2843
|
|
|
3050
2844
|
var allDataLinkVersions = ["v1"];
|
|
3051
2845
|
var DataLinkVersionZodSchema = zod.z["enum"](allDataLinkVersions);
|
|
@@ -10891,6 +10685,48 @@ var TransactionJsonSchema = {
|
|
|
10891
10685
|
$schema: "http://json-schema.org/draft-07/schema#"
|
|
10892
10686
|
};
|
|
10893
10687
|
|
|
10688
|
+
var Web3TransactionJsonSchema = {
|
|
10689
|
+
$ref: "#/definitions/Web3Transaction",
|
|
10690
|
+
definitions: {
|
|
10691
|
+
Web3Transaction: {
|
|
10692
|
+
type: "object",
|
|
10693
|
+
properties: {
|
|
10694
|
+
senderAddress: {
|
|
10695
|
+
type: "string",
|
|
10696
|
+
description: "String value that identifies the address of a specific user. Normally tied to an EOA that includes the Smart Wallet."
|
|
10697
|
+
},
|
|
10698
|
+
contractAddress: {
|
|
10699
|
+
type: "string",
|
|
10700
|
+
description: "String value that identifies the address of a specific user. Normally tied to an EOA that includes the Smart Wallet."
|
|
10701
|
+
},
|
|
10702
|
+
functionName: {
|
|
10703
|
+
type: "string"
|
|
10704
|
+
},
|
|
10705
|
+
functionArgs: {
|
|
10706
|
+
type: "object",
|
|
10707
|
+
additionalProperties: {
|
|
10708
|
+
type: [
|
|
10709
|
+
"string",
|
|
10710
|
+
"number",
|
|
10711
|
+
"boolean"
|
|
10712
|
+
]
|
|
10713
|
+
}
|
|
10714
|
+
},
|
|
10715
|
+
transactionRequestDate: {
|
|
10716
|
+
type: "string",
|
|
10717
|
+
format: "date-time"
|
|
10718
|
+
}
|
|
10719
|
+
},
|
|
10720
|
+
required: [
|
|
10721
|
+
"senderAddress",
|
|
10722
|
+
"contractAddress"
|
|
10723
|
+
],
|
|
10724
|
+
additionalProperties: false
|
|
10725
|
+
}
|
|
10726
|
+
},
|
|
10727
|
+
$schema: "http://json-schema.org/draft-07/schema#"
|
|
10728
|
+
};
|
|
10729
|
+
|
|
10894
10730
|
var KycSessionZodSchema = zod.z.object({
|
|
10895
10731
|
vcs: zod.z.object({
|
|
10896
10732
|
// "v1" here refers the version of the credential schema
|
|
@@ -11473,22 +11309,40 @@ var TransactionZodSchema = zod.z.object({
|
|
|
11473
11309
|
}).optional()
|
|
11474
11310
|
});
|
|
11475
11311
|
|
|
11312
|
+
var Web3TransactionZodSchema = zod.z.object({
|
|
11313
|
+
senderAddress: EvmAddress,
|
|
11314
|
+
contractAddress: EvmAddress,
|
|
11315
|
+
functionName: zod.z.string().optional(),
|
|
11316
|
+
functionArgs: zod.z.record(zod.z.string(), Web3ArgsType).optional(),
|
|
11317
|
+
transactionRequestDate: zod.z.coerce.date().optional()
|
|
11318
|
+
});
|
|
11319
|
+
|
|
11476
11320
|
var VaultJsonSchemas = {
|
|
11477
11321
|
Customer: CustomerJsonSchema,
|
|
11478
11322
|
KycSession: KycSessionJsonSchema,
|
|
11479
11323
|
Transaction: TransactionJsonSchema,
|
|
11480
11324
|
TfheKycSession: TfheKycSessionJsonSchema,
|
|
11481
|
-
Tfhe: TfheJsonSchema
|
|
11325
|
+
Tfhe: TfheJsonSchema,
|
|
11326
|
+
Web3Transaction: Web3TransactionJsonSchema
|
|
11482
11327
|
};
|
|
11483
11328
|
var VaultZodSchema = zod.z.object({
|
|
11484
11329
|
Customer: CustomerZodSchema,
|
|
11485
11330
|
KycSession: KycSessionZodSchema,
|
|
11486
11331
|
Transaction: TransactionZodSchema,
|
|
11487
11332
|
TfheKycSession: TfheKycSessionZodSchema,
|
|
11488
|
-
Tfhe: TfheZodSchema
|
|
11333
|
+
Tfhe: TfheZodSchema,
|
|
11334
|
+
Web3Transaction: Web3TransactionZodSchema
|
|
11489
11335
|
});
|
|
11490
11336
|
var VaultSchemaIdZodSchema = zod.z["enum"](Object.keys(VaultZodSchema.shape));
|
|
11491
|
-
|
|
11337
|
+
// Paths<VaultSchema>;
|
|
11338
|
+
var VaultSchemaPathsZodSchema = zod.z.string();
|
|
11339
|
+
// z.enum(
|
|
11340
|
+
// generateZodObjectPaths(VaultZodSchema) as [
|
|
11341
|
+
// VaultSchemaPaths,
|
|
11342
|
+
// ...VaultSchemaPaths[],
|
|
11343
|
+
// ],
|
|
11344
|
+
// );
|
|
11345
|
+
|
|
11492
11346
|
var VaultPointerKeyMapZodSchema = zod.z.object({
|
|
11493
11347
|
Customer: zod.z.object({
|
|
11494
11348
|
customerId: CustomerId,
|
|
@@ -11515,7 +11369,10 @@ var VaultPointerKeyMapZodSchema = zod.z.object({
|
|
|
11515
11369
|
workflowId: WorkflowId,
|
|
11516
11370
|
identityId: IdentityId,
|
|
11517
11371
|
workflowSessionId: WorkflowSessionId
|
|
11518
|
-
}).strict()
|
|
11372
|
+
}).strict(),
|
|
11373
|
+
Web3Transaction: zod.z.object({
|
|
11374
|
+
workflowSessionId: WorkflowSessionId
|
|
11375
|
+
})
|
|
11519
11376
|
});
|
|
11520
11377
|
var VaultQueryMapZodSchema = zod.z.object({
|
|
11521
11378
|
KycSession: zod.z.object({
|
|
@@ -11675,6 +11532,8 @@ exports.DatasetColumnTypeId = DatasetColumnTypeId;
|
|
|
11675
11532
|
exports.DatasetColumnTypeOptionId = DatasetColumnTypeOptionId;
|
|
11676
11533
|
exports.DatasetColumnTypeOptionPrefix = DatasetColumnTypeOptionPrefix;
|
|
11677
11534
|
exports.DatasetColumnTypePrefix = DatasetColumnTypePrefix;
|
|
11535
|
+
exports.DatasetFolderId = DatasetFolderId;
|
|
11536
|
+
exports.DatasetFolderPrefix = DatasetFolderPrefix;
|
|
11678
11537
|
exports.DatasetId = DatasetId;
|
|
11679
11538
|
exports.DatasetPrefix = DatasetPrefix;
|
|
11680
11539
|
exports.DatasetRowId = DatasetRowId;
|
|
@@ -11867,7 +11726,6 @@ exports.ScoringAnalysisRequest = ScoringAnalysisRequest;
|
|
|
11867
11726
|
exports.ScoringAnalysisResponse = ScoringAnalysisResponse;
|
|
11868
11727
|
exports.SelfieImageCredentialSchema = SelfieImageCredentialSchema;
|
|
11869
11728
|
exports.SelfieImageCredentialSubjectSchema = SelfieImageCredentialSubjectSchema;
|
|
11870
|
-
exports.Separator = Separator;
|
|
11871
11729
|
exports.SigGatingId = SigGatingId;
|
|
11872
11730
|
exports.SigGatingPrefix = SigGatingPrefix;
|
|
11873
11731
|
exports.SolanaChainId = SolanaChainId;
|
|
@@ -11969,16 +11827,21 @@ exports.WalletScreeningData = WalletScreeningData;
|
|
|
11969
11827
|
exports.WalletScreeningProvider = WalletScreeningProvider;
|
|
11970
11828
|
exports.WalletScreeningProviders = WalletScreeningProviders;
|
|
11971
11829
|
exports.Web2CreateSessionParams = Web2CreateSessionParams;
|
|
11830
|
+
exports.Web3ArgsType = Web3ArgsType;
|
|
11831
|
+
exports.Web3TransactionData = Web3TransactionData;
|
|
11972
11832
|
exports.WorkflowId = WorkflowId;
|
|
11973
11833
|
exports.WorkflowSessionAttributeId = WorkflowSessionAttributeId;
|
|
11974
11834
|
exports.WorkflowSessionAttributePrefix = WorkflowSessionAttributePrefix;
|
|
11975
11835
|
exports.WorkflowSessionId = WorkflowSessionId;
|
|
11976
11836
|
exports.WorkflowsScoringAnalysisRequest = WorkflowsScoringAnalysisRequest;
|
|
11977
11837
|
exports.WorkspaceId = WorkspaceId;
|
|
11838
|
+
exports._arrayWithHoles = _arrayWithHoles;
|
|
11978
11839
|
exports._defineProperty = _defineProperty;
|
|
11840
|
+
exports._iterableToArray = _iterableToArray;
|
|
11841
|
+
exports._nonIterableRest = _nonIterableRest;
|
|
11979
11842
|
exports._slicedToArray = _slicedToArray;
|
|
11980
|
-
exports._toArray = _toArray;
|
|
11981
11843
|
exports._toConsumableArray = _toConsumableArray;
|
|
11844
|
+
exports._unsupportedIterableToArray = _unsupportedIterableToArray;
|
|
11982
11845
|
exports.allDataLinkTypes = allDataLinkTypes;
|
|
11983
11846
|
exports.allDataLinkVersions = allDataLinkVersions;
|
|
11984
11847
|
exports.compareRiskLevels = compareRiskLevels;
|
|
@@ -11987,7 +11850,6 @@ exports.countryISO3toISO2Mapping = countryISO3toISO2Mapping;
|
|
|
11987
11850
|
exports.createBrandedSchemaId = createBrandedSchemaId;
|
|
11988
11851
|
exports.createBrandedSchemaIdWithParams = createBrandedSchemaIdWithParams;
|
|
11989
11852
|
exports.generateId = generateId;
|
|
11990
|
-
exports.generateZodObjectPaths = generateZodObjectPaths;
|
|
11991
11853
|
exports.getRiskLevelByRiskScore = getRiskLevelByRiskScore;
|
|
11992
11854
|
exports.getTagTypeFromEntityType = getTagTypeFromEntityType;
|
|
11993
11855
|
exports.initializeStatistics = initializeStatistics;
|
|
@@ -11995,7 +11857,5 @@ exports.isValidAddress = isValidAddress;
|
|
|
11995
11857
|
exports.isoCountriesNameFromISO2 = isoCountriesNameFromISO2;
|
|
11996
11858
|
exports.isoCountriesNameFromISO3 = isoCountriesNameFromISO3;
|
|
11997
11859
|
exports.parseISO3CountryCode = parseISO3CountryCode;
|
|
11998
|
-
exports.resolvePathOnDataSchema = resolvePathOnDataSchema;
|
|
11999
|
-
exports.resolvePathOnMapSchema = resolvePathOnMapSchema;
|
|
12000
11860
|
exports.scorechainCountriesNameFromISO2 = scorechainCountriesNameFromISO2;
|
|
12001
11861
|
exports.shortBlockchainAddress = shortBlockchainAddress;
|