@nexeraid/identity-schemas
Advanced tools
Comparing version 2.38.0-dev to 2.39.0-dev
@@ -31,4 +31,4 @@ import { z } from "zod"; | ||
export declare const DateOperator: z.ZodEnum<["$eq", "$ne", "$gt", "$gte", "$lt", "$lte"]>; | ||
export declare const SUPPORTED_TYPES: readonly ["string", "integer", "boolean", "number", "array", "date"]; | ||
export declare const SupportedType: z.ZodEnum<["string", "integer", "boolean", "number", "array", "date"]>; | ||
export declare const SUPPORTED_TYPES: readonly ["string", "integer", "boolean", "number", "array", "date", "decimal"]; | ||
export declare const SupportedType: z.ZodEnum<["string", "integer", "boolean", "number", "array", "date", "decimal"]>; | ||
export type SupportedType = z.infer<typeof SupportedType>; | ||
@@ -42,2 +42,3 @@ export declare const SupportedTypes: z.ZodObject<{ | ||
date: z.ZodEnum<["$eq", "$ne", "$gt", "$gte", "$lt", "$lte"]>; | ||
decimal: z.ZodEnum<["$eq", "$ne", "$gt", "$gte", "$lt", "$lte"]>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -50,2 +51,3 @@ string: "$eq" | "$in" | "$nin" | "$ne" | "$exists"; | ||
array: "$eq" | "$in" | "$nin" | "$ne"; | ||
decimal: "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$ne"; | ||
}, { | ||
@@ -58,2 +60,3 @@ string: "$eq" | "$in" | "$nin" | "$ne" | "$exists"; | ||
array: "$eq" | "$in" | "$nin" | "$ne"; | ||
decimal: "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$ne"; | ||
}>; | ||
@@ -60,0 +63,0 @@ export declare const AllCredentialValues: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>; |
@@ -10,5 +10,6 @@ interface Transaction { | ||
properties: { | ||
datetime: { type: "string"; format: "date-time" }; | ||
transactionDate: { type: "string"; format: "date-time" }; | ||
amount: { type: "string" }; | ||
riskScore: { type: "number" }; | ||
riskLevel: { type: "string" }; | ||
type: { type: "string"; enum: ["crypto", "fiat"] }; | ||
@@ -280,264 +281,279 @@ assets: { type: "array"; items: { type: "string" } }; | ||
nationality: { | ||
type: "string"; | ||
enum: [ | ||
"AFG", | ||
"ALB", | ||
"DZA", | ||
"ASM", | ||
"AND", | ||
"AGO", | ||
"AIA", | ||
"ATA", | ||
"ATG", | ||
"ARG", | ||
"ARM", | ||
"ABW", | ||
"AUS", | ||
"AUT", | ||
"AZE", | ||
"BHS", | ||
"BHR", | ||
"BGD", | ||
"BRB", | ||
"BLR", | ||
"BEL", | ||
"BLZ", | ||
"BEN", | ||
"BMU", | ||
"BTN", | ||
"BOL", | ||
"BES", | ||
"BIH", | ||
"BWA", | ||
"BVT", | ||
"BRA", | ||
"IOT", | ||
"BRN", | ||
"BGR", | ||
"BFA", | ||
"BDI", | ||
"CPV", | ||
"KHM", | ||
"CMR", | ||
"CAN", | ||
"CYM", | ||
"CAF", | ||
"TCD", | ||
"CHL", | ||
"CHN", | ||
"CXR", | ||
"CCK", | ||
"COL", | ||
"COM", | ||
"COD", | ||
"COG", | ||
"COK", | ||
"CRI", | ||
"HRV", | ||
"CUB", | ||
"CUW", | ||
"CYP", | ||
"CZE", | ||
"CIV", | ||
"DNK", | ||
"DJI", | ||
"DMA", | ||
"DOM", | ||
"ECU", | ||
"EGY", | ||
"SLV", | ||
"GNQ", | ||
"ERI", | ||
"EST", | ||
"SWZ", | ||
"ETH", | ||
"FLK", | ||
"FRO", | ||
"FJI", | ||
"FIN", | ||
"FRA", | ||
"GUF", | ||
"PYF", | ||
"ATF", | ||
"GAB", | ||
"GMB", | ||
"GEO", | ||
"DEU", | ||
"GHA", | ||
"GIB", | ||
"GRC", | ||
"GRL", | ||
"GRD", | ||
"GLP", | ||
"GUM", | ||
"GTM", | ||
"GGY", | ||
"GIN", | ||
"GNB", | ||
"GUY", | ||
"HTI", | ||
"HMD", | ||
"VAT", | ||
"HND", | ||
"HKG", | ||
"HUN", | ||
"ISL", | ||
"IND", | ||
"IDN", | ||
"IRN", | ||
"IRQ", | ||
"IRL", | ||
"IMN", | ||
"ISR", | ||
"ITA", | ||
"JAM", | ||
"JPN", | ||
"JEY", | ||
"JOR", | ||
"KAZ", | ||
"KEN", | ||
"KIR", | ||
"PRK", | ||
"KOR", | ||
"KWT", | ||
"KGZ", | ||
"LAO", | ||
"LVA", | ||
"LBN", | ||
"LSO", | ||
"LBR", | ||
"LBY", | ||
"LIE", | ||
"LTU", | ||
"LUX", | ||
"MAC", | ||
"MDG", | ||
"MWI", | ||
"MYS", | ||
"MDV", | ||
"MLI", | ||
"MLT", | ||
"MHL", | ||
"MTQ", | ||
"MRT", | ||
"MUS", | ||
"MYT", | ||
"MEX", | ||
"FSM", | ||
"MDA", | ||
"MCO", | ||
"MNG", | ||
"MNE", | ||
"MSR", | ||
"MAR", | ||
"MOZ", | ||
"MMR", | ||
"NAM", | ||
"NRU", | ||
"NPL", | ||
"NLD", | ||
"NCL", | ||
"NZL", | ||
"NIC", | ||
"NER", | ||
"NGA", | ||
"NIU", | ||
"NFK", | ||
"MNP", | ||
"NOR", | ||
"OMN", | ||
"PAK", | ||
"PLW", | ||
"PSE", | ||
"PAN", | ||
"PNG", | ||
"PRY", | ||
"PER", | ||
"PHL", | ||
"PCN", | ||
"POL", | ||
"PRT", | ||
"PRI", | ||
"QAT", | ||
"MKD", | ||
"ROU", | ||
"RUS", | ||
"RWA", | ||
"REU", | ||
"BLM", | ||
"SHN", | ||
"KNA", | ||
"LCA", | ||
"MAF", | ||
"SPM", | ||
"VCT", | ||
"WSM", | ||
"SMR", | ||
"STP", | ||
"SAU", | ||
"SEN", | ||
"SRB", | ||
"SYC", | ||
"SLE", | ||
"SGP", | ||
"SXM", | ||
"SVK", | ||
"SVN", | ||
"SLB", | ||
"SOM", | ||
"ZAF", | ||
"SGS", | ||
"SSD", | ||
"ESP", | ||
"LKA", | ||
"SDN", | ||
"SUR", | ||
"SJM", | ||
"SWE", | ||
"CHE", | ||
"SYR", | ||
"TWN", | ||
"TJK", | ||
"TZA", | ||
"THA", | ||
"TLS", | ||
"TGO", | ||
"TKL", | ||
"TON", | ||
"TTO", | ||
"TUN", | ||
"TUR", | ||
"TKM", | ||
"TCA", | ||
"TUV", | ||
"UGA", | ||
"UKR", | ||
"ARE", | ||
"GBR", | ||
"UMI", | ||
"USA", | ||
"URY", | ||
"UZB", | ||
"VUT", | ||
"VEN", | ||
"VNM", | ||
"VGB", | ||
"VIR", | ||
"WLF", | ||
"ESH", | ||
"YEM", | ||
"ZMB", | ||
"ZWE", | ||
"ALA", | ||
"ANT", | ||
"XKX", | ||
anyOf: [ | ||
{ | ||
type: "string"; | ||
enum: [ | ||
"AFG", | ||
"ALB", | ||
"DZA", | ||
"ASM", | ||
"AND", | ||
"AGO", | ||
"AIA", | ||
"ATA", | ||
"ATG", | ||
"ARG", | ||
"ARM", | ||
"ABW", | ||
"AUS", | ||
"AUT", | ||
"AZE", | ||
"BHS", | ||
"BHR", | ||
"BGD", | ||
"BRB", | ||
"BLR", | ||
"BEL", | ||
"BLZ", | ||
"BEN", | ||
"BMU", | ||
"BTN", | ||
"BOL", | ||
"BES", | ||
"BIH", | ||
"BWA", | ||
"BVT", | ||
"BRA", | ||
"IOT", | ||
"BRN", | ||
"BGR", | ||
"BFA", | ||
"BDI", | ||
"CPV", | ||
"KHM", | ||
"CMR", | ||
"CAN", | ||
"CYM", | ||
"CAF", | ||
"TCD", | ||
"CHL", | ||
"CHN", | ||
"CXR", | ||
"CCK", | ||
"COL", | ||
"COM", | ||
"COD", | ||
"COG", | ||
"COK", | ||
"CRI", | ||
"HRV", | ||
"CUB", | ||
"CUW", | ||
"CYP", | ||
"CZE", | ||
"CIV", | ||
"DNK", | ||
"DJI", | ||
"DMA", | ||
"DOM", | ||
"ECU", | ||
"EGY", | ||
"SLV", | ||
"GNQ", | ||
"ERI", | ||
"EST", | ||
"SWZ", | ||
"ETH", | ||
"FLK", | ||
"FRO", | ||
"FJI", | ||
"FIN", | ||
"FRA", | ||
"GUF", | ||
"PYF", | ||
"ATF", | ||
"GAB", | ||
"GMB", | ||
"GEO", | ||
"DEU", | ||
"GHA", | ||
"GIB", | ||
"GRC", | ||
"GRL", | ||
"GRD", | ||
"GLP", | ||
"GUM", | ||
"GTM", | ||
"GGY", | ||
"GIN", | ||
"GNB", | ||
"GUY", | ||
"HTI", | ||
"HMD", | ||
"VAT", | ||
"HND", | ||
"HKG", | ||
"HUN", | ||
"ISL", | ||
"IND", | ||
"IDN", | ||
"IRN", | ||
"IRQ", | ||
"IRL", | ||
"IMN", | ||
"ISR", | ||
"ITA", | ||
"JAM", | ||
"JPN", | ||
"JEY", | ||
"JOR", | ||
"KAZ", | ||
"KEN", | ||
"KIR", | ||
"PRK", | ||
"KOR", | ||
"KWT", | ||
"KGZ", | ||
"LAO", | ||
"LVA", | ||
"LBN", | ||
"LSO", | ||
"LBR", | ||
"LBY", | ||
"LIE", | ||
"LTU", | ||
"LUX", | ||
"MAC", | ||
"MDG", | ||
"MWI", | ||
"MYS", | ||
"MDV", | ||
"MLI", | ||
"MLT", | ||
"MHL", | ||
"MTQ", | ||
"MRT", | ||
"MUS", | ||
"MYT", | ||
"MEX", | ||
"FSM", | ||
"MDA", | ||
"MCO", | ||
"MNG", | ||
"MNE", | ||
"MSR", | ||
"MAR", | ||
"MOZ", | ||
"MMR", | ||
"NAM", | ||
"NRU", | ||
"NPL", | ||
"NLD", | ||
"NCL", | ||
"NZL", | ||
"NIC", | ||
"NER", | ||
"NGA", | ||
"NIU", | ||
"NFK", | ||
"MNP", | ||
"NOR", | ||
"OMN", | ||
"PAK", | ||
"PLW", | ||
"PSE", | ||
"PAN", | ||
"PNG", | ||
"PRY", | ||
"PER", | ||
"PHL", | ||
"PCN", | ||
"POL", | ||
"PRT", | ||
"PRI", | ||
"QAT", | ||
"MKD", | ||
"ROU", | ||
"RUS", | ||
"RWA", | ||
"REU", | ||
"BLM", | ||
"SHN", | ||
"KNA", | ||
"LCA", | ||
"MAF", | ||
"SPM", | ||
"VCT", | ||
"WSM", | ||
"SMR", | ||
"STP", | ||
"SAU", | ||
"SEN", | ||
"SRB", | ||
"SYC", | ||
"SLE", | ||
"SGP", | ||
"SXM", | ||
"SVK", | ||
"SVN", | ||
"SLB", | ||
"SOM", | ||
"ZAF", | ||
"SGS", | ||
"SSD", | ||
"ESP", | ||
"LKA", | ||
"SDN", | ||
"SUR", | ||
"SJM", | ||
"SWE", | ||
"CHE", | ||
"SYR", | ||
"TWN", | ||
"TJK", | ||
"TZA", | ||
"THA", | ||
"TLS", | ||
"TGO", | ||
"TKL", | ||
"TON", | ||
"TTO", | ||
"TUN", | ||
"TUR", | ||
"TKM", | ||
"TCA", | ||
"TUV", | ||
"UGA", | ||
"UKR", | ||
"ARE", | ||
"GBR", | ||
"UMI", | ||
"USA", | ||
"URY", | ||
"UZB", | ||
"VUT", | ||
"VEN", | ||
"VNM", | ||
"VGB", | ||
"VIR", | ||
"WLF", | ||
"ESH", | ||
"YEM", | ||
"ZMB", | ||
"ZWE", | ||
"ALA", | ||
"ANT", | ||
"XKX", | ||
]; | ||
description: "Citizenship status of the credential subject - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)"; | ||
}, | ||
{ type: "null" }, | ||
]; | ||
description: "Citizenship status of the credential subject - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)"; | ||
}; | ||
riskScore: { type: "number" }; | ||
riskScore: { | ||
anyOf: [{ type: "number" }, { type: "null" }]; | ||
}; | ||
riskLevel: { | ||
type: "string"; | ||
enum: ["low", "medium", "high", "unknown"]; | ||
anyOf: [ | ||
{ type: "string"; enum: ["Low", "Medium", "High", "No risk"] }, | ||
{ type: "null" }, | ||
]; | ||
}; | ||
originatorType: { type: "string" }; | ||
type: { | ||
anyOf: [{ type: "string" }, { type: "null" }]; | ||
}; | ||
address: { | ||
anyOf: [{ type: "string" }, { type: "null" }]; | ||
}; | ||
}; | ||
@@ -807,264 +823,279 @@ additionalProperties: false; | ||
nationality: { | ||
type: "string"; | ||
enum: [ | ||
"AFG", | ||
"ALB", | ||
"DZA", | ||
"ASM", | ||
"AND", | ||
"AGO", | ||
"AIA", | ||
"ATA", | ||
"ATG", | ||
"ARG", | ||
"ARM", | ||
"ABW", | ||
"AUS", | ||
"AUT", | ||
"AZE", | ||
"BHS", | ||
"BHR", | ||
"BGD", | ||
"BRB", | ||
"BLR", | ||
"BEL", | ||
"BLZ", | ||
"BEN", | ||
"BMU", | ||
"BTN", | ||
"BOL", | ||
"BES", | ||
"BIH", | ||
"BWA", | ||
"BVT", | ||
"BRA", | ||
"IOT", | ||
"BRN", | ||
"BGR", | ||
"BFA", | ||
"BDI", | ||
"CPV", | ||
"KHM", | ||
"CMR", | ||
"CAN", | ||
"CYM", | ||
"CAF", | ||
"TCD", | ||
"CHL", | ||
"CHN", | ||
"CXR", | ||
"CCK", | ||
"COL", | ||
"COM", | ||
"COD", | ||
"COG", | ||
"COK", | ||
"CRI", | ||
"HRV", | ||
"CUB", | ||
"CUW", | ||
"CYP", | ||
"CZE", | ||
"CIV", | ||
"DNK", | ||
"DJI", | ||
"DMA", | ||
"DOM", | ||
"ECU", | ||
"EGY", | ||
"SLV", | ||
"GNQ", | ||
"ERI", | ||
"EST", | ||
"SWZ", | ||
"ETH", | ||
"FLK", | ||
"FRO", | ||
"FJI", | ||
"FIN", | ||
"FRA", | ||
"GUF", | ||
"PYF", | ||
"ATF", | ||
"GAB", | ||
"GMB", | ||
"GEO", | ||
"DEU", | ||
"GHA", | ||
"GIB", | ||
"GRC", | ||
"GRL", | ||
"GRD", | ||
"GLP", | ||
"GUM", | ||
"GTM", | ||
"GGY", | ||
"GIN", | ||
"GNB", | ||
"GUY", | ||
"HTI", | ||
"HMD", | ||
"VAT", | ||
"HND", | ||
"HKG", | ||
"HUN", | ||
"ISL", | ||
"IND", | ||
"IDN", | ||
"IRN", | ||
"IRQ", | ||
"IRL", | ||
"IMN", | ||
"ISR", | ||
"ITA", | ||
"JAM", | ||
"JPN", | ||
"JEY", | ||
"JOR", | ||
"KAZ", | ||
"KEN", | ||
"KIR", | ||
"PRK", | ||
"KOR", | ||
"KWT", | ||
"KGZ", | ||
"LAO", | ||
"LVA", | ||
"LBN", | ||
"LSO", | ||
"LBR", | ||
"LBY", | ||
"LIE", | ||
"LTU", | ||
"LUX", | ||
"MAC", | ||
"MDG", | ||
"MWI", | ||
"MYS", | ||
"MDV", | ||
"MLI", | ||
"MLT", | ||
"MHL", | ||
"MTQ", | ||
"MRT", | ||
"MUS", | ||
"MYT", | ||
"MEX", | ||
"FSM", | ||
"MDA", | ||
"MCO", | ||
"MNG", | ||
"MNE", | ||
"MSR", | ||
"MAR", | ||
"MOZ", | ||
"MMR", | ||
"NAM", | ||
"NRU", | ||
"NPL", | ||
"NLD", | ||
"NCL", | ||
"NZL", | ||
"NIC", | ||
"NER", | ||
"NGA", | ||
"NIU", | ||
"NFK", | ||
"MNP", | ||
"NOR", | ||
"OMN", | ||
"PAK", | ||
"PLW", | ||
"PSE", | ||
"PAN", | ||
"PNG", | ||
"PRY", | ||
"PER", | ||
"PHL", | ||
"PCN", | ||
"POL", | ||
"PRT", | ||
"PRI", | ||
"QAT", | ||
"MKD", | ||
"ROU", | ||
"RUS", | ||
"RWA", | ||
"REU", | ||
"BLM", | ||
"SHN", | ||
"KNA", | ||
"LCA", | ||
"MAF", | ||
"SPM", | ||
"VCT", | ||
"WSM", | ||
"SMR", | ||
"STP", | ||
"SAU", | ||
"SEN", | ||
"SRB", | ||
"SYC", | ||
"SLE", | ||
"SGP", | ||
"SXM", | ||
"SVK", | ||
"SVN", | ||
"SLB", | ||
"SOM", | ||
"ZAF", | ||
"SGS", | ||
"SSD", | ||
"ESP", | ||
"LKA", | ||
"SDN", | ||
"SUR", | ||
"SJM", | ||
"SWE", | ||
"CHE", | ||
"SYR", | ||
"TWN", | ||
"TJK", | ||
"TZA", | ||
"THA", | ||
"TLS", | ||
"TGO", | ||
"TKL", | ||
"TON", | ||
"TTO", | ||
"TUN", | ||
"TUR", | ||
"TKM", | ||
"TCA", | ||
"TUV", | ||
"UGA", | ||
"UKR", | ||
"ARE", | ||
"GBR", | ||
"UMI", | ||
"USA", | ||
"URY", | ||
"UZB", | ||
"VUT", | ||
"VEN", | ||
"VNM", | ||
"VGB", | ||
"VIR", | ||
"WLF", | ||
"ESH", | ||
"YEM", | ||
"ZMB", | ||
"ZWE", | ||
"ALA", | ||
"ANT", | ||
"XKX", | ||
anyOf: [ | ||
{ | ||
type: "string"; | ||
enum: [ | ||
"AFG", | ||
"ALB", | ||
"DZA", | ||
"ASM", | ||
"AND", | ||
"AGO", | ||
"AIA", | ||
"ATA", | ||
"ATG", | ||
"ARG", | ||
"ARM", | ||
"ABW", | ||
"AUS", | ||
"AUT", | ||
"AZE", | ||
"BHS", | ||
"BHR", | ||
"BGD", | ||
"BRB", | ||
"BLR", | ||
"BEL", | ||
"BLZ", | ||
"BEN", | ||
"BMU", | ||
"BTN", | ||
"BOL", | ||
"BES", | ||
"BIH", | ||
"BWA", | ||
"BVT", | ||
"BRA", | ||
"IOT", | ||
"BRN", | ||
"BGR", | ||
"BFA", | ||
"BDI", | ||
"CPV", | ||
"KHM", | ||
"CMR", | ||
"CAN", | ||
"CYM", | ||
"CAF", | ||
"TCD", | ||
"CHL", | ||
"CHN", | ||
"CXR", | ||
"CCK", | ||
"COL", | ||
"COM", | ||
"COD", | ||
"COG", | ||
"COK", | ||
"CRI", | ||
"HRV", | ||
"CUB", | ||
"CUW", | ||
"CYP", | ||
"CZE", | ||
"CIV", | ||
"DNK", | ||
"DJI", | ||
"DMA", | ||
"DOM", | ||
"ECU", | ||
"EGY", | ||
"SLV", | ||
"GNQ", | ||
"ERI", | ||
"EST", | ||
"SWZ", | ||
"ETH", | ||
"FLK", | ||
"FRO", | ||
"FJI", | ||
"FIN", | ||
"FRA", | ||
"GUF", | ||
"PYF", | ||
"ATF", | ||
"GAB", | ||
"GMB", | ||
"GEO", | ||
"DEU", | ||
"GHA", | ||
"GIB", | ||
"GRC", | ||
"GRL", | ||
"GRD", | ||
"GLP", | ||
"GUM", | ||
"GTM", | ||
"GGY", | ||
"GIN", | ||
"GNB", | ||
"GUY", | ||
"HTI", | ||
"HMD", | ||
"VAT", | ||
"HND", | ||
"HKG", | ||
"HUN", | ||
"ISL", | ||
"IND", | ||
"IDN", | ||
"IRN", | ||
"IRQ", | ||
"IRL", | ||
"IMN", | ||
"ISR", | ||
"ITA", | ||
"JAM", | ||
"JPN", | ||
"JEY", | ||
"JOR", | ||
"KAZ", | ||
"KEN", | ||
"KIR", | ||
"PRK", | ||
"KOR", | ||
"KWT", | ||
"KGZ", | ||
"LAO", | ||
"LVA", | ||
"LBN", | ||
"LSO", | ||
"LBR", | ||
"LBY", | ||
"LIE", | ||
"LTU", | ||
"LUX", | ||
"MAC", | ||
"MDG", | ||
"MWI", | ||
"MYS", | ||
"MDV", | ||
"MLI", | ||
"MLT", | ||
"MHL", | ||
"MTQ", | ||
"MRT", | ||
"MUS", | ||
"MYT", | ||
"MEX", | ||
"FSM", | ||
"MDA", | ||
"MCO", | ||
"MNG", | ||
"MNE", | ||
"MSR", | ||
"MAR", | ||
"MOZ", | ||
"MMR", | ||
"NAM", | ||
"NRU", | ||
"NPL", | ||
"NLD", | ||
"NCL", | ||
"NZL", | ||
"NIC", | ||
"NER", | ||
"NGA", | ||
"NIU", | ||
"NFK", | ||
"MNP", | ||
"NOR", | ||
"OMN", | ||
"PAK", | ||
"PLW", | ||
"PSE", | ||
"PAN", | ||
"PNG", | ||
"PRY", | ||
"PER", | ||
"PHL", | ||
"PCN", | ||
"POL", | ||
"PRT", | ||
"PRI", | ||
"QAT", | ||
"MKD", | ||
"ROU", | ||
"RUS", | ||
"RWA", | ||
"REU", | ||
"BLM", | ||
"SHN", | ||
"KNA", | ||
"LCA", | ||
"MAF", | ||
"SPM", | ||
"VCT", | ||
"WSM", | ||
"SMR", | ||
"STP", | ||
"SAU", | ||
"SEN", | ||
"SRB", | ||
"SYC", | ||
"SLE", | ||
"SGP", | ||
"SXM", | ||
"SVK", | ||
"SVN", | ||
"SLB", | ||
"SOM", | ||
"ZAF", | ||
"SGS", | ||
"SSD", | ||
"ESP", | ||
"LKA", | ||
"SDN", | ||
"SUR", | ||
"SJM", | ||
"SWE", | ||
"CHE", | ||
"SYR", | ||
"TWN", | ||
"TJK", | ||
"TZA", | ||
"THA", | ||
"TLS", | ||
"TGO", | ||
"TKL", | ||
"TON", | ||
"TTO", | ||
"TUN", | ||
"TUR", | ||
"TKM", | ||
"TCA", | ||
"TUV", | ||
"UGA", | ||
"UKR", | ||
"ARE", | ||
"GBR", | ||
"UMI", | ||
"USA", | ||
"URY", | ||
"UZB", | ||
"VUT", | ||
"VEN", | ||
"VNM", | ||
"VGB", | ||
"VIR", | ||
"WLF", | ||
"ESH", | ||
"YEM", | ||
"ZMB", | ||
"ZWE", | ||
"ALA", | ||
"ANT", | ||
"XKX", | ||
]; | ||
description: "Citizenship status of the credential subject - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)"; | ||
}, | ||
{ type: "null" }, | ||
]; | ||
description: "Citizenship status of the credential subject - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes)"; | ||
}; | ||
riskScore: { type: "number" }; | ||
riskScore: { | ||
anyOf: [{ type: "number" }, { type: "null" }]; | ||
}; | ||
riskLevel: { | ||
type: "string"; | ||
enum: ["low", "medium", "high", "unknown"]; | ||
anyOf: [ | ||
{ type: "string"; enum: ["Low", "Medium", "High", "No risk"] }, | ||
{ type: "null" }, | ||
]; | ||
}; | ||
counterpartyType: { type: "string" }; | ||
type: { | ||
anyOf: [{ type: "string" }, { type: "null" }]; | ||
}; | ||
address: { | ||
anyOf: [{ type: "string" }, { type: "null" }]; | ||
}; | ||
}; | ||
@@ -1071,0 +1102,0 @@ additionalProperties: false; |
type Transaction = { | ||
event?: { | ||
datetime?: Date | undefined; | ||
amount?: string | undefined; | ||
transactionDate?: Date | undefined; | ||
amount?: any | undefined; | ||
riskScore?: number | undefined; | ||
riskLevel?: string | undefined; | ||
type?: ("crypto" | "fiat") | undefined; | ||
@@ -13,6 +14,7 @@ assets?: string[] | undefined; | ||
/** Citizenship status of the credential subject - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes) */ | ||
nationality?: ("AFG" | "ALB" | "DZA" | "ASM" | "AND" | "AGO" | "AIA" | "ATA" | "ATG" | "ARG" | "ARM" | "ABW" | "AUS" | "AUT" | "AZE" | "BHS" | "BHR" | "BGD" | "BRB" | "BLR" | "BEL" | "BLZ" | "BEN" | "BMU" | "BTN" | "BOL" | "BES" | "BIH" | "BWA" | "BVT" | "BRA" | "IOT" | "BRN" | "BGR" | "BFA" | "BDI" | "CPV" | "KHM" | "CMR" | "CAN" | "CYM" | "CAF" | "TCD" | "CHL" | "CHN" | "CXR" | "CCK" | "COL" | "COM" | "COD" | "COG" | "COK" | "CRI" | "HRV" | "CUB" | "CUW" | "CYP" | "CZE" | "CIV" | "DNK" | "DJI" | "DMA" | "DOM" | "ECU" | "EGY" | "SLV" | "GNQ" | "ERI" | "EST" | "SWZ" | "ETH" | "FLK" | "FRO" | "FJI" | "FIN" | "FRA" | "GUF" | "PYF" | "ATF" | "GAB" | "GMB" | "GEO" | "DEU" | "GHA" | "GIB" | "GRC" | "GRL" | "GRD" | "GLP" | "GUM" | "GTM" | "GGY" | "GIN" | "GNB" | "GUY" | "HTI" | "HMD" | "VAT" | "HND" | "HKG" | "HUN" | "ISL" | "IND" | "IDN" | "IRN" | "IRQ" | "IRL" | "IMN" | "ISR" | "ITA" | "JAM" | "JPN" | "JEY" | "JOR" | "KAZ" | "KEN" | "KIR" | "PRK" | "KOR" | "KWT" | "KGZ" | "LAO" | "LVA" | "LBN" | "LSO" | "LBR" | "LBY" | "LIE" | "LTU" | "LUX" | "MAC" | "MDG" | "MWI" | "MYS" | "MDV" | "MLI" | "MLT" | "MHL" | "MTQ" | "MRT" | "MUS" | "MYT" | "MEX" | "FSM" | "MDA" | "MCO" | "MNG" | "MNE" | "MSR" | "MAR" | "MOZ" | "MMR" | "NAM" | "NRU" | "NPL" | "NLD" | "NCL" | "NZL" | "NIC" | "NER" | "NGA" | "NIU" | "NFK" | "MNP" | "NOR" | "OMN" | "PAK" | "PLW" | "PSE" | "PAN" | "PNG" | "PRY" | "PER" | "PHL" | "PCN" | "POL" | "PRT" | "PRI" | "QAT" | "MKD" | "ROU" | "RUS" | "RWA" | "REU" | "BLM" | "SHN" | "KNA" | "LCA" | "MAF" | "SPM" | "VCT" | "WSM" | "SMR" | "STP" | "SAU" | "SEN" | "SRB" | "SYC" | "SLE" | "SGP" | "SXM" | "SVK" | "SVN" | "SLB" | "SOM" | "ZAF" | "SGS" | "SSD" | "ESP" | "LKA" | "SDN" | "SUR" | "SJM" | "SWE" | "CHE" | "SYR" | "TWN" | "TJK" | "TZA" | "THA" | "TLS" | "TGO" | "TKL" | "TON" | "TTO" | "TUN" | "TUR" | "TKM" | "TCA" | "TUV" | "UGA" | "UKR" | "ARE" | "GBR" | "UMI" | "USA" | "URY" | "UZB" | "VUT" | "VEN" | "VNM" | "VGB" | "VIR" | "WLF" | "ESH" | "YEM" | "ZMB" | "ZWE" | "ALA" | "ANT" | "XKX") | undefined; | ||
riskScore?: number | undefined; | ||
riskLevel?: ("low" | "medium" | "high" | "unknown") | undefined; | ||
originatorType?: string | undefined; | ||
nationality?: (("AFG" | "ALB" | "DZA" | "ASM" | "AND" | "AGO" | "AIA" | "ATA" | "ATG" | "ARG" | "ARM" | "ABW" | "AUS" | "AUT" | "AZE" | "BHS" | "BHR" | "BGD" | "BRB" | "BLR" | "BEL" | "BLZ" | "BEN" | "BMU" | "BTN" | "BOL" | "BES" | "BIH" | "BWA" | "BVT" | "BRA" | "IOT" | "BRN" | "BGR" | "BFA" | "BDI" | "CPV" | "KHM" | "CMR" | "CAN" | "CYM" | "CAF" | "TCD" | "CHL" | "CHN" | "CXR" | "CCK" | "COL" | "COM" | "COD" | "COG" | "COK" | "CRI" | "HRV" | "CUB" | "CUW" | "CYP" | "CZE" | "CIV" | "DNK" | "DJI" | "DMA" | "DOM" | "ECU" | "EGY" | "SLV" | "GNQ" | "ERI" | "EST" | "SWZ" | "ETH" | "FLK" | "FRO" | "FJI" | "FIN" | "FRA" | "GUF" | "PYF" | "ATF" | "GAB" | "GMB" | "GEO" | "DEU" | "GHA" | "GIB" | "GRC" | "GRL" | "GRD" | "GLP" | "GUM" | "GTM" | "GGY" | "GIN" | "GNB" | "GUY" | "HTI" | "HMD" | "VAT" | "HND" | "HKG" | "HUN" | "ISL" | "IND" | "IDN" | "IRN" | "IRQ" | "IRL" | "IMN" | "ISR" | "ITA" | "JAM" | "JPN" | "JEY" | "JOR" | "KAZ" | "KEN" | "KIR" | "PRK" | "KOR" | "KWT" | "KGZ" | "LAO" | "LVA" | "LBN" | "LSO" | "LBR" | "LBY" | "LIE" | "LTU" | "LUX" | "MAC" | "MDG" | "MWI" | "MYS" | "MDV" | "MLI" | "MLT" | "MHL" | "MTQ" | "MRT" | "MUS" | "MYT" | "MEX" | "FSM" | "MDA" | "MCO" | "MNG" | "MNE" | "MSR" | "MAR" | "MOZ" | "MMR" | "NAM" | "NRU" | "NPL" | "NLD" | "NCL" | "NZL" | "NIC" | "NER" | "NGA" | "NIU" | "NFK" | "MNP" | "NOR" | "OMN" | "PAK" | "PLW" | "PSE" | "PAN" | "PNG" | "PRY" | "PER" | "PHL" | "PCN" | "POL" | "PRT" | "PRI" | "QAT" | "MKD" | "ROU" | "RUS" | "RWA" | "REU" | "BLM" | "SHN" | "KNA" | "LCA" | "MAF" | "SPM" | "VCT" | "WSM" | "SMR" | "STP" | "SAU" | "SEN" | "SRB" | "SYC" | "SLE" | "SGP" | "SXM" | "SVK" | "SVN" | "SLB" | "SOM" | "ZAF" | "SGS" | "SSD" | "ESP" | "LKA" | "SDN" | "SUR" | "SJM" | "SWE" | "CHE" | "SYR" | "TWN" | "TJK" | "TZA" | "THA" | "TLS" | "TGO" | "TKL" | "TON" | "TTO" | "TUN" | "TUR" | "TKM" | "TCA" | "TUV" | "UGA" | "UKR" | "ARE" | "GBR" | "UMI" | "USA" | "URY" | "UZB" | "VUT" | "VEN" | "VNM" | "VGB" | "VIR" | "WLF" | "ESH" | "YEM" | "ZMB" | "ZWE" | "ALA" | "ANT" | "XKX") | null) | undefined; | ||
riskScore?: (number | null) | undefined; | ||
riskLevel?: (("Low" | "Medium" | "High" | "No risk") | null) | undefined; | ||
type?: (string | null) | undefined; | ||
address?: (string | null) | undefined; | ||
} | undefined; | ||
@@ -23,6 +25,7 @@ beneficiary?: { | ||
/** Citizenship status of the credential subject - ISO 3166-1 alpha-3 country code (https://www.iban.com/country-codes) */ | ||
nationality?: ("AFG" | "ALB" | "DZA" | "ASM" | "AND" | "AGO" | "AIA" | "ATA" | "ATG" | "ARG" | "ARM" | "ABW" | "AUS" | "AUT" | "AZE" | "BHS" | "BHR" | "BGD" | "BRB" | "BLR" | "BEL" | "BLZ" | "BEN" | "BMU" | "BTN" | "BOL" | "BES" | "BIH" | "BWA" | "BVT" | "BRA" | "IOT" | "BRN" | "BGR" | "BFA" | "BDI" | "CPV" | "KHM" | "CMR" | "CAN" | "CYM" | "CAF" | "TCD" | "CHL" | "CHN" | "CXR" | "CCK" | "COL" | "COM" | "COD" | "COG" | "COK" | "CRI" | "HRV" | "CUB" | "CUW" | "CYP" | "CZE" | "CIV" | "DNK" | "DJI" | "DMA" | "DOM" | "ECU" | "EGY" | "SLV" | "GNQ" | "ERI" | "EST" | "SWZ" | "ETH" | "FLK" | "FRO" | "FJI" | "FIN" | "FRA" | "GUF" | "PYF" | "ATF" | "GAB" | "GMB" | "GEO" | "DEU" | "GHA" | "GIB" | "GRC" | "GRL" | "GRD" | "GLP" | "GUM" | "GTM" | "GGY" | "GIN" | "GNB" | "GUY" | "HTI" | "HMD" | "VAT" | "HND" | "HKG" | "HUN" | "ISL" | "IND" | "IDN" | "IRN" | "IRQ" | "IRL" | "IMN" | "ISR" | "ITA" | "JAM" | "JPN" | "JEY" | "JOR" | "KAZ" | "KEN" | "KIR" | "PRK" | "KOR" | "KWT" | "KGZ" | "LAO" | "LVA" | "LBN" | "LSO" | "LBR" | "LBY" | "LIE" | "LTU" | "LUX" | "MAC" | "MDG" | "MWI" | "MYS" | "MDV" | "MLI" | "MLT" | "MHL" | "MTQ" | "MRT" | "MUS" | "MYT" | "MEX" | "FSM" | "MDA" | "MCO" | "MNG" | "MNE" | "MSR" | "MAR" | "MOZ" | "MMR" | "NAM" | "NRU" | "NPL" | "NLD" | "NCL" | "NZL" | "NIC" | "NER" | "NGA" | "NIU" | "NFK" | "MNP" | "NOR" | "OMN" | "PAK" | "PLW" | "PSE" | "PAN" | "PNG" | "PRY" | "PER" | "PHL" | "PCN" | "POL" | "PRT" | "PRI" | "QAT" | "MKD" | "ROU" | "RUS" | "RWA" | "REU" | "BLM" | "SHN" | "KNA" | "LCA" | "MAF" | "SPM" | "VCT" | "WSM" | "SMR" | "STP" | "SAU" | "SEN" | "SRB" | "SYC" | "SLE" | "SGP" | "SXM" | "SVK" | "SVN" | "SLB" | "SOM" | "ZAF" | "SGS" | "SSD" | "ESP" | "LKA" | "SDN" | "SUR" | "SJM" | "SWE" | "CHE" | "SYR" | "TWN" | "TJK" | "TZA" | "THA" | "TLS" | "TGO" | "TKL" | "TON" | "TTO" | "TUN" | "TUR" | "TKM" | "TCA" | "TUV" | "UGA" | "UKR" | "ARE" | "GBR" | "UMI" | "USA" | "URY" | "UZB" | "VUT" | "VEN" | "VNM" | "VGB" | "VIR" | "WLF" | "ESH" | "YEM" | "ZMB" | "ZWE" | "ALA" | "ANT" | "XKX") | undefined; | ||
riskScore?: number | undefined; | ||
riskLevel?: ("low" | "medium" | "high" | "unknown") | undefined; | ||
counterpartyType?: string | undefined; | ||
nationality?: (("AFG" | "ALB" | "DZA" | "ASM" | "AND" | "AGO" | "AIA" | "ATA" | "ATG" | "ARG" | "ARM" | "ABW" | "AUS" | "AUT" | "AZE" | "BHS" | "BHR" | "BGD" | "BRB" | "BLR" | "BEL" | "BLZ" | "BEN" | "BMU" | "BTN" | "BOL" | "BES" | "BIH" | "BWA" | "BVT" | "BRA" | "IOT" | "BRN" | "BGR" | "BFA" | "BDI" | "CPV" | "KHM" | "CMR" | "CAN" | "CYM" | "CAF" | "TCD" | "CHL" | "CHN" | "CXR" | "CCK" | "COL" | "COM" | "COD" | "COG" | "COK" | "CRI" | "HRV" | "CUB" | "CUW" | "CYP" | "CZE" | "CIV" | "DNK" | "DJI" | "DMA" | "DOM" | "ECU" | "EGY" | "SLV" | "GNQ" | "ERI" | "EST" | "SWZ" | "ETH" | "FLK" | "FRO" | "FJI" | "FIN" | "FRA" | "GUF" | "PYF" | "ATF" | "GAB" | "GMB" | "GEO" | "DEU" | "GHA" | "GIB" | "GRC" | "GRL" | "GRD" | "GLP" | "GUM" | "GTM" | "GGY" | "GIN" | "GNB" | "GUY" | "HTI" | "HMD" | "VAT" | "HND" | "HKG" | "HUN" | "ISL" | "IND" | "IDN" | "IRN" | "IRQ" | "IRL" | "IMN" | "ISR" | "ITA" | "JAM" | "JPN" | "JEY" | "JOR" | "KAZ" | "KEN" | "KIR" | "PRK" | "KOR" | "KWT" | "KGZ" | "LAO" | "LVA" | "LBN" | "LSO" | "LBR" | "LBY" | "LIE" | "LTU" | "LUX" | "MAC" | "MDG" | "MWI" | "MYS" | "MDV" | "MLI" | "MLT" | "MHL" | "MTQ" | "MRT" | "MUS" | "MYT" | "MEX" | "FSM" | "MDA" | "MCO" | "MNG" | "MNE" | "MSR" | "MAR" | "MOZ" | "MMR" | "NAM" | "NRU" | "NPL" | "NLD" | "NCL" | "NZL" | "NIC" | "NER" | "NGA" | "NIU" | "NFK" | "MNP" | "NOR" | "OMN" | "PAK" | "PLW" | "PSE" | "PAN" | "PNG" | "PRY" | "PER" | "PHL" | "PCN" | "POL" | "PRT" | "PRI" | "QAT" | "MKD" | "ROU" | "RUS" | "RWA" | "REU" | "BLM" | "SHN" | "KNA" | "LCA" | "MAF" | "SPM" | "VCT" | "WSM" | "SMR" | "STP" | "SAU" | "SEN" | "SRB" | "SYC" | "SLE" | "SGP" | "SXM" | "SVK" | "SVN" | "SLB" | "SOM" | "ZAF" | "SGS" | "SSD" | "ESP" | "LKA" | "SDN" | "SUR" | "SJM" | "SWE" | "CHE" | "SYR" | "TWN" | "TJK" | "TZA" | "THA" | "TLS" | "TGO" | "TKL" | "TON" | "TTO" | "TUN" | "TUR" | "TKM" | "TCA" | "TUV" | "UGA" | "UKR" | "ARE" | "GBR" | "UMI" | "USA" | "URY" | "UZB" | "VUT" | "VEN" | "VNM" | "VGB" | "VIR" | "WLF" | "ESH" | "YEM" | "ZMB" | "ZWE" | "ALA" | "ANT" | "XKX") | null) | undefined; | ||
riskScore?: (number | null) | undefined; | ||
riskLevel?: (("Low" | "Medium" | "High" | "No risk") | null) | undefined; | ||
type?: (string | null) | undefined; | ||
address?: (string | null) | undefined; | ||
} | undefined; | ||
@@ -29,0 +32,0 @@ transactionStats?: { |
@@ -25,2 +25,3 @@ import { z } from "zod"; | ||
riskScore: string | null; | ||
transactionDate: Date; | ||
transactionId: string; | ||
@@ -30,3 +31,2 @@ reason: string | null; | ||
externalTransactionId: string; | ||
transactionDate: Date; | ||
}, { | ||
@@ -41,2 +41,3 @@ id: string; | ||
riskScore: string | null; | ||
transactionDate: Date; | ||
transactionId: string; | ||
@@ -46,5 +47,4 @@ reason: string | null; | ||
externalTransactionId: string; | ||
transactionDate: Date; | ||
}>; | ||
export type TMSWebhookPayload = z.infer<typeof TMSWebhookPayload>; | ||
//# sourceMappingURL=tms.webhooks.schema.d.ts.map |
{ | ||
"name": "@nexeraid/identity-schemas", | ||
"version": "2.38.0", | ||
"version": "2.39.0", | ||
"description": "", | ||
@@ -90,2 +90,3 @@ "keywords": [], | ||
"@unblokttechnology/data-links": "workspace:*", | ||
"decimal.js": "^10.4.3", | ||
"nanoid": "3.3.4", | ||
@@ -92,0 +93,0 @@ "zod": "^3.23.8", |
{ | ||
"name": "@nexeraid/identity-schemas", | ||
"version": "2.38.0-dev", | ||
"version": "2.39.0-dev", | ||
"description": "", | ||
@@ -64,2 +64,3 @@ "keywords": [], | ||
"dependencies": { | ||
"decimal.js": "^10.4.3", | ||
"nanoid": "3.3.4", | ||
@@ -66,0 +67,0 @@ "zod": "^3.23.8", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18212669
188125
5
+ Addeddecimal.js@^10.4.3
+ Addeddecimal.js@10.4.3(transitive)