@vouchsafe/node 0.1.84 → 0.1.86

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.
Files changed (133) hide show
  1. package/README.md +1 -8
  2. package/dist/VouchsafeClient.d.ts +7 -0
  3. package/dist/VouchsafeClient.d.ts.map +1 -1
  4. package/dist/VouchsafeClient.js +9 -0
  5. package/dist/VouchsafeClient.js.map +1 -1
  6. package/dist/index.d.ts +1 -0
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/openapi/endpoints.d.ts +5 -1
  9. package/dist/openapi/endpoints.d.ts.map +1 -1
  10. package/dist/openapi/endpoints.js.map +1 -1
  11. package/dist/openapi/models/aMLAlertResponse.d.ts +24 -0
  12. package/dist/openapi/models/aMLAlertResponse.d.ts.map +1 -0
  13. package/dist/openapi/models/aMLAlertResponse.js +3 -0
  14. package/dist/openapi/models/aMLAlertResponse.js.map +1 -0
  15. package/dist/openapi/models/aMLAlertResponseSource.d.ts +15 -0
  16. package/dist/openapi/models/aMLAlertResponseSource.d.ts.map +1 -0
  17. package/dist/openapi/models/aMLAlertResponseSource.js +16 -0
  18. package/dist/openapi/models/aMLAlertResponseSource.js.map +1 -0
  19. package/dist/openapi/models/alertResponse.d.ts +3 -8
  20. package/dist/openapi/models/alertResponse.d.ts.map +1 -1
  21. package/dist/openapi/models/fraudBlocklistAlertResponse.d.ts +24 -0
  22. package/dist/openapi/models/fraudBlocklistAlertResponse.d.ts.map +1 -0
  23. package/dist/openapi/models/fraudBlocklistAlertResponse.js +3 -0
  24. package/dist/openapi/models/fraudBlocklistAlertResponse.js.map +1 -0
  25. package/dist/openapi/models/fraudBlocklistAlertResponseMatchedOnItem.d.ts +15 -0
  26. package/dist/openapi/models/fraudBlocklistAlertResponseMatchedOnItem.d.ts.map +1 -0
  27. package/dist/openapi/models/fraudBlocklistAlertResponseMatchedOnItem.js +16 -0
  28. package/dist/openapi/models/fraudBlocklistAlertResponseMatchedOnItem.js.map +1 -0
  29. package/dist/openapi/models/fraudBlocklistAlertResponseSource.d.ts +15 -0
  30. package/dist/openapi/models/fraudBlocklistAlertResponseSource.d.ts.map +1 -0
  31. package/dist/openapi/models/fraudBlocklistAlertResponseSource.js +16 -0
  32. package/dist/openapi/models/fraudBlocklistAlertResponseSource.js.map +1 -0
  33. package/dist/openapi/models/index.d.ts +5 -0
  34. package/dist/openapi/models/index.d.ts.map +1 -1
  35. package/dist/openapi/models/index.js +5 -0
  36. package/dist/openapi/models/index.js.map +1 -1
  37. package/dist/openapi-v2/endpoints.d.ts +97 -0
  38. package/dist/openapi-v2/endpoints.d.ts.map +1 -0
  39. package/dist/openapi-v2/endpoints.js +39 -0
  40. package/dist/openapi-v2/endpoints.js.map +1 -0
  41. package/dist/openapi-v2/models/amlVerificationReport.d.ts +14 -0
  42. package/dist/openapi-v2/models/amlVerificationReport.d.ts.map +1 -0
  43. package/dist/openapi-v2/models/amlVerificationReport.js +3 -0
  44. package/dist/openapi-v2/models/amlVerificationReport.js.map +1 -0
  45. package/dist/openapi-v2/models/apiErrorResponse.d.ts +15 -0
  46. package/dist/openapi-v2/models/apiErrorResponse.d.ts.map +1 -0
  47. package/dist/openapi-v2/models/apiErrorResponse.js +3 -0
  48. package/dist/openapi-v2/models/apiErrorResponse.js.map +1 -0
  49. package/dist/openapi-v2/models/checkResult.d.ts +14 -0
  50. package/dist/openapi-v2/models/checkResult.d.ts.map +1 -0
  51. package/dist/openapi-v2/models/checkResult.js +3 -0
  52. package/dist/openapi-v2/models/checkResult.js.map +1 -0
  53. package/dist/openapi-v2/models/checkRiskBody.d.ts +47 -0
  54. package/dist/openapi-v2/models/checkRiskBody.d.ts.map +1 -0
  55. package/dist/openapi-v2/models/checkRiskBody.js +10 -0
  56. package/dist/openapi-v2/models/checkRiskBody.js.map +1 -0
  57. package/dist/openapi-v2/models/checkState.d.ts +9 -0
  58. package/dist/openapi-v2/models/checkState.d.ts.map +1 -0
  59. package/dist/openapi-v2/models/checkState.js +10 -0
  60. package/dist/openapi-v2/models/checkState.js.map +1 -0
  61. package/dist/openapi-v2/models/creditBureauVerificationReport.d.ts +14 -0
  62. package/dist/openapi-v2/models/creditBureauVerificationReport.d.ts.map +1 -0
  63. package/dist/openapi-v2/models/creditBureauVerificationReport.js +3 -0
  64. package/dist/openapi-v2/models/creditBureauVerificationReport.js.map +1 -0
  65. package/dist/openapi-v2/models/enrichmentReports.d.ts +19 -0
  66. package/dist/openapi-v2/models/enrichmentReports.d.ts.map +1 -0
  67. package/dist/openapi-v2/models/enrichmentReports.js +3 -0
  68. package/dist/openapi-v2/models/enrichmentReports.js.map +1 -0
  69. package/dist/openapi-v2/models/failedReason.d.ts +9 -0
  70. package/dist/openapi-v2/models/failedReason.d.ts.map +1 -0
  71. package/dist/openapi-v2/models/failedReason.js +10 -0
  72. package/dist/openapi-v2/models/failedReason.js.map +1 -0
  73. package/dist/openapi-v2/models/getRiskResponse.d.ts +56 -0
  74. package/dist/openapi-v2/models/getRiskResponse.d.ts.map +1 -0
  75. package/dist/openapi-v2/models/getRiskResponse.js +3 -0
  76. package/dist/openapi-v2/models/getRiskResponse.js.map +1 -0
  77. package/dist/openapi-v2/models/getRiskResponseAddress.d.ts +13 -0
  78. package/dist/openapi-v2/models/getRiskResponseAddress.d.ts.map +1 -0
  79. package/dist/openapi-v2/models/getRiskResponseAddress.js +3 -0
  80. package/dist/openapi-v2/models/getRiskResponseAddress.js.map +1 -0
  81. package/dist/openapi-v2/models/getRiskResponseEnrichmentsItem.d.ts +9 -0
  82. package/dist/openapi-v2/models/getRiskResponseEnrichmentsItem.d.ts.map +1 -0
  83. package/dist/openapi-v2/models/getRiskResponseEnrichmentsItem.js +10 -0
  84. package/dist/openapi-v2/models/getRiskResponseEnrichmentsItem.js.map +1 -0
  85. package/dist/openapi-v2/models/index.d.ts +23 -0
  86. package/dist/openapi-v2/models/index.d.ts.map +1 -0
  87. package/dist/openapi-v2/models/index.js +42 -0
  88. package/dist/openapi-v2/models/index.js.map +1 -0
  89. package/dist/openapi-v2/models/onlineFootprintChecks.d.ts +11 -0
  90. package/dist/openapi-v2/models/onlineFootprintChecks.d.ts.map +1 -0
  91. package/dist/openapi-v2/models/onlineFootprintChecks.js +3 -0
  92. package/dist/openapi-v2/models/onlineFootprintChecks.js.map +1 -0
  93. package/dist/openapi-v2/models/onlineFootprintChecksAnyOf.d.ts +13 -0
  94. package/dist/openapi-v2/models/onlineFootprintChecksAnyOf.d.ts.map +1 -0
  95. package/dist/openapi-v2/models/onlineFootprintChecksAnyOf.js +3 -0
  96. package/dist/openapi-v2/models/onlineFootprintChecksAnyOf.js.map +1 -0
  97. package/dist/openapi-v2/models/onlineFootprintChecksAnyOfTwo.d.ts +13 -0
  98. package/dist/openapi-v2/models/onlineFootprintChecksAnyOfTwo.d.ts.map +1 -0
  99. package/dist/openapi-v2/models/onlineFootprintChecksAnyOfTwo.js +3 -0
  100. package/dist/openapi-v2/models/onlineFootprintChecksAnyOfTwo.js.map +1 -0
  101. package/dist/openapi-v2/models/onlineFootprintVerificationReport.d.ts +14 -0
  102. package/dist/openapi-v2/models/onlineFootprintVerificationReport.d.ts.map +1 -0
  103. package/dist/openapi-v2/models/onlineFootprintVerificationReport.js +3 -0
  104. package/dist/openapi-v2/models/onlineFootprintVerificationReport.js.map +1 -0
  105. package/dist/openapi-v2/models/publicAddressV2.d.ts +22 -0
  106. package/dist/openapi-v2/models/publicAddressV2.d.ts.map +1 -0
  107. package/dist/openapi-v2/models/publicAddressV2.js +10 -0
  108. package/dist/openapi-v2/models/publicAddressV2.js.map +1 -0
  109. package/dist/openapi-v2/models/reason.d.ts +9 -0
  110. package/dist/openapi-v2/models/reason.d.ts.map +1 -0
  111. package/dist/openapi-v2/models/reason.js +10 -0
  112. package/dist/openapi-v2/models/reason.js.map +1 -0
  113. package/dist/openapi-v2/models/recommendation.d.ts +9 -0
  114. package/dist/openapi-v2/models/recommendation.d.ts.map +1 -0
  115. package/dist/openapi-v2/models/recommendation.js +10 -0
  116. package/dist/openapi-v2/models/recommendation.js.map +1 -0
  117. package/dist/openapi-v2/models/recordAmlVerificationChecksCheckResult.d.ts +15 -0
  118. package/dist/openapi-v2/models/recordAmlVerificationChecksCheckResult.d.ts.map +1 -0
  119. package/dist/openapi-v2/models/recordAmlVerificationChecksCheckResult.js +3 -0
  120. package/dist/openapi-v2/models/recordAmlVerificationChecksCheckResult.js.map +1 -0
  121. package/dist/openapi-v2/models/recordCreditBureauVerificationChecksCheckResult.d.ts +16 -0
  122. package/dist/openapi-v2/models/recordCreditBureauVerificationChecksCheckResult.d.ts.map +1 -0
  123. package/dist/openapi-v2/models/recordCreditBureauVerificationChecksCheckResult.js +3 -0
  124. package/dist/openapi-v2/models/recordCreditBureauVerificationChecksCheckResult.js.map +1 -0
  125. package/dist/openapi-v2/models/riskMetadata.d.ts +13 -0
  126. package/dist/openapi-v2/models/riskMetadata.d.ts.map +1 -0
  127. package/dist/openapi-v2/models/riskMetadata.js +3 -0
  128. package/dist/openapi-v2/models/riskMetadata.js.map +1 -0
  129. package/dist/openapi-v2/models/riskMetadataThresholds.d.ts +17 -0
  130. package/dist/openapi-v2/models/riskMetadataThresholds.d.ts.map +1 -0
  131. package/dist/openapi-v2/models/riskMetadataThresholds.js +10 -0
  132. package/dist/openapi-v2/models/riskMetadataThresholds.js.map +1 -0
  133. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,qDAAqD;AACrD,wDAAsC;AACtC,6DAA2C;AAC3C,4CAA0B;AAC1B,sDAAoC;AACpC,sDAAoC;AACpC,iDAA+B;AAC/B,kDAAgC;AAChC,wDAAsC;AACtC,sDAAoC;AACpC,yDAAuC;AACvC,+DAA6C;AAC7C,+DAA6C;AAC7C,yDAAuC;AACvC,uDAAqC;AACrC,uDAAqC;AACrC,kDAAgC;AAChC,gDAA8B;AAC9B,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AwD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,qDAAqD;AACrD,wDAAsC;AACtC,qDAAmC;AACnC,2DAAyC;AACzC,6DAA2C;AAC3C,4CAA0B;AAC1B,sDAAoC;AACpC,sDAAoC;AACpC,iDAA+B;AAC/B,kDAAgC;AAChC,wDAAsC;AACtC,sDAAoC;AACpC,yDAAuC;AACvC,+DAA6C;AAC7C,+DAA6C;AAC7C,yDAAuC;AACvC,uDAAqC;AACrC,uDAAqC;AACrC,kDAAgC;AAChC,gDAA8B;AAC9B,uDAAqC;AACrC,oDAAkC;AAClC,gDAA8B;AAC9B,0DAAwC;AACxC,sEAAoD;AACpD,oEAAkD;AAClD,iEAA+C;AAC/C,+DAA6C;AAC7C,kEAAgD;AAChD,0DAAwC;AACxC,qDAAmC;AACnC,wDAAsC;AACtC,gDAA8B;AAC9B,oDAAkC;AAClC,qDAAmC;AACnC,sDAAoC;AACpC,yDAAuC;AACvC,0DAAwC;AACxC,qEAAmD;AACnD,yEAAuD;AACvD,+DAA6C;AAC7C,sEAAoD;AACpD,mEAAiD;AACjD,8DAA4C;AAC5C,+CAA6B;AAC7B,8DAA4C;AAC5C,wDAAsC;AACtC,+DAA6C;AAC7C,oEAAkD;AAClD,8FAA4E;AAC5E,8FAA4E;AAC5E,gEAA8C;AAC9C,8DAA4C;AAC5C,gDAA8B;AAC9B,2DAAyC;AACzC,+CAA6B;AAC7B,4DAA0C;AAC1C,uEAAqD;AACrD,0DAAwC;AACxC,6DAA2C;AAC3C,oFAAkE;AAClE,0FAAwE;AACxE,sEAAoD;AACpD,4EAA0D;AAC1D,iDAA+B;AAC/B,wDAAsC;AACtC,mFAAiE;AACjE,wFAAsE;AACtE,8FAA4E;AAC5E,6FAA2E;AAC3E,qGAAmF;AACnF,mGAAiF;AACjF,iFAA+D;AAC/D,sFAAoE;AACpE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oC;AACpC,2DAAyC;AACzC,wDAAsC;AACtC,4DAA0C;AAC1C,mEAAiD;AACjD,gFAA8D;AAC9D,sFAAoE;AACpE,8DAA4C;AAC5C,kEAAgD;AAChD,yEAAuD;AACvD,sFAAoE;AACpE,4FAA0E;AAC1E,sDAAoC;AACpC,iEAA+C;AAC/C,wDAAsC;AACtC,4DAA0C;AAC1C,mEAAiD;AACjD,4EAA0D;AAC1D,kFAAgE;AAChE,gFAA8D;AAC9D,sFAAoE;AACpE,4FAA0E;AAC1E,kGAAgF;AAChF,oDAAkC;AAClC,gEAA8C;AAC9C,qDAAmC;AACnC,wDAAsC;AACtC,wDAAsC;AACtC,2DAAyC;AACzC,kFAAgE;AAChE,wFAAsE;AACtE,oEAAkD;AAClD,0EAAwD"}
@@ -0,0 +1,97 @@
1
+ /**
2
+ * Generated by orval v8.4.0 🍺
3
+ * Do not edit manually.
4
+ * Vouchsafe API docs (V2)
5
+ * Vouchsafe V2 API — experimental endpoints.
6
+ * OpenAPI spec version: 2.0.0
7
+ */
8
+ import type { ApiErrorResponse, CheckRiskBody, GetRiskResponse } from './models';
9
+ /**
10
+ * This is Vouchsafe's headline Risk API.
11
+
12
+ It gives you an instant picture of the identity fraud risk a customer represents, powered by our real-time fraud intelligence network and premium partner data.
13
+
14
+ Pass the information you have about a customer, and Vouchsafe will scan our network for signs that an identity might be stolen, synthetic or otherwise risky, using verification data and shared reports made by other businesses using the platform.
15
+
16
+ You can also run premium `enrichments`:
17
+
18
+ - `CREDIT_BUREAU` will look for authoritative evidence of a claimed idenity and address in official and semi-official databases from around the world, which you can use as an FCA-compliant eKYC onboarding process.
19
+ - `ONLINE_FOOTPRINT` will analyse the identity's digital and online history, to determine if it is likely to be legitimate or recently made-up.
20
+ - `AML` will search over [280 global databases](https://vouchsafe.id/coverage/) of high-risk entities connected to financial or economic crime, including sanctions, watchlists and politically exposed people. It also enrols the person in ongoing monitoring, reported as `alerts_enabled_at`.
21
+ - `NFD` will search the Cifas National Fraud Database to see if the identity is known to be associated with fraud
22
+
23
+ The more checks you turn on, the more complete the data you send needs to be.
24
+
25
+ This endpoint always returns a `risk_score` between 0 and 100, and a `recommendation` based on that risk, along with extensive metadata so you can explore the discovered trust and risk signals.
26
+
27
+ This endpoint can form the basis of a transaction monitoring or data-driven KYC/AML system.
28
+
29
+ ### Recommendations
30
+
31
+ Our Risk API returns one of three recommendations: `CLEAR`, `REVIEW`, and `REJECT`.
32
+
33
+ ### Face scan
34
+
35
+ The endpoint accepts an optional `face_scan` — a live selfie or liveness image
36
+ (JPEG or PNG, max 10 MB). When provided, Radar runs `face_linked_to_multiple_identities`
37
+ — checking whether this face has been submitted under different names in the network.
38
+ Without it, that check returns `NOT_PERFORMED`.
39
+
40
+ ### Address
41
+
42
+ When the credit bureau enrichment is turned on, a structured `address` is required. This should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode).
43
+
44
+ ### Sandbox
45
+
46
+ In sandbox mode, `email` picks the recommendation you get back.
47
+
48
+ | `email` | Recommendation |
49
+ |---|---|
50
+ | contains `+reject` | `REJECT` |
51
+ | contains `+review` | `REVIEW` |
52
+ | anything else | `CLEAR` |
53
+
54
+ The response echoes your input and includes only the enrichments you requested.
55
+
56
+ Requested enrichments are shaped to match the outcome:
57
+
58
+ - CLEAR: all pass
59
+ - REVIEW: only the last requested enrichment fails
60
+ - REJECT: all fail
61
+
62
+ To return a record you can open in the sandbox dashboard, use `dwebb@email.com` (`CLEAR`), `jdoe@email.com` (`REVIEW`), or `eroberts@email.com` (`REJECT`).
63
+ */
64
+ export type checkRiskResponse201 = {
65
+ data: GetRiskResponse;
66
+ status: 201;
67
+ };
68
+ export type checkRiskResponse400 = {
69
+ data: ApiErrorResponse;
70
+ status: 400;
71
+ };
72
+ export type checkRiskResponse401 = {
73
+ data: ApiErrorResponse;
74
+ status: 401;
75
+ };
76
+ export type checkRiskResponse403 = {
77
+ data: ApiErrorResponse;
78
+ status: 403;
79
+ };
80
+ export type checkRiskResponse405 = {
81
+ data: ApiErrorResponse;
82
+ status: 405;
83
+ };
84
+ export type checkRiskResponse422 = {
85
+ data: ApiErrorResponse;
86
+ status: 422;
87
+ };
88
+ export type checkRiskResponseSuccess = (checkRiskResponse201) & {
89
+ headers: Headers;
90
+ };
91
+ export type checkRiskResponseError = (checkRiskResponse400 | checkRiskResponse401 | checkRiskResponse403 | checkRiskResponse405 | checkRiskResponse422) & {
92
+ headers: Headers;
93
+ };
94
+ export type checkRiskResponse = (checkRiskResponseSuccess | checkRiskResponseError);
95
+ export declare const getCheckRiskUrl: () => string;
96
+ export declare const checkRisk: (checkRiskBody: CheckRiskBody, options?: RequestInit) => Promise<checkRiskResponse>;
97
+ //# sourceMappingURL=endpoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../src/openapi-v2/endpoints.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,gBAAgB,EAChB,aAAa,EACb,eAAe,EAChB,MAAM,UAAU,CAAC;AAGlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,eAAe,CAAA;IACrB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,gBAAgB,CAAA;IACtB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,gBAAgB,CAAA;IACtB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,gBAAgB,CAAA;IACtB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,gBAAgB,CAAA;IACtB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,gBAAgB,CAAA;IACtB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,CAAC,oBAAoB,CAAC,GAAG;IAC9D,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,CAAC,oBAAoB,GAAG,oBAAoB,GAAG,oBAAoB,GAAG,oBAAoB,GAAG,oBAAoB,CAAC,GAAG;IACxJ,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,wBAAwB,GAAG,sBAAsB,CAAC,CAAA;AAEnF,eAAO,MAAM,eAAe,cAM3B,CAAA;AAED,eAAO,MAAM,SAAS,GAAU,eAAe,aAAa,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,iBAAiB,CAoC9G,CAAA"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.checkRisk = exports.getCheckRiskUrl = void 0;
4
+ const getCheckRiskUrl = () => {
5
+ return `https://app.vouchsafe.id/api/v2/risk`;
6
+ };
7
+ exports.getCheckRiskUrl = getCheckRiskUrl;
8
+ const checkRisk = async (checkRiskBody, options) => {
9
+ const formData = new FormData();
10
+ formData.append(`first_name`, checkRiskBody.first_name);
11
+ formData.append(`last_name`, checkRiskBody.last_name);
12
+ formData.append(`email`, checkRiskBody.email);
13
+ formData.append(`date_of_birth`, checkRiskBody.date_of_birth);
14
+ if (checkRiskBody.enrichments !== undefined) {
15
+ formData.append(`enrichments`, checkRiskBody.enrichments);
16
+ }
17
+ if (checkRiskBody.address !== undefined) {
18
+ formData.append(`address`, checkRiskBody.address);
19
+ }
20
+ if (checkRiskBody.phone !== undefined) {
21
+ formData.append(`phone`, checkRiskBody.phone);
22
+ }
23
+ if (checkRiskBody.thresholds !== undefined) {
24
+ formData.append(`thresholds`, checkRiskBody.thresholds);
25
+ }
26
+ if (checkRiskBody.face_scan !== undefined) {
27
+ formData.append(`face_scan`, checkRiskBody.face_scan);
28
+ }
29
+ const res = await fetch((0, exports.getCheckRiskUrl)(), {
30
+ ...options,
31
+ method: 'POST',
32
+ body: formData,
33
+ });
34
+ const body = [204, 205, 304].includes(res.status) ? null : await res.text();
35
+ const data = body ? JSON.parse(body) : {};
36
+ return { data, status: res.status, headers: res.headers };
37
+ };
38
+ exports.checkRisk = checkRisk;
39
+ //# sourceMappingURL=endpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../src/openapi-v2/endpoints.ts"],"names":[],"mappings":";;;AA4GO,MAAM,eAAe,GAAG,GAAG,EAAE;IAKlC,OAAO,sCAAsC,CAAA;AAC/C,CAAC,CAAA;AANY,QAAA,eAAe,mBAM3B;AAEM,MAAM,SAAS,GAAG,KAAK,EAAE,aAA4B,EAAE,OAAqB,EAA8B,EAAE;IAC/G,MAAM,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;IACpC,QAAQ,CAAC,MAAM,CAAC,YAAY,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACxD,QAAQ,CAAC,MAAM,CAAC,WAAW,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACtD,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,aAAa,CAAC,KAAK,CAAC,CAAC;IAC9C,QAAQ,CAAC,MAAM,CAAC,eAAe,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAC9D,IAAG,aAAa,CAAC,WAAW,KAAK,SAAS,EAAE,CAAC;QAC5C,QAAQ,CAAC,MAAM,CAAC,aAAa,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IAC1D,CAAC;IACF,IAAG,aAAa,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;QACxC,QAAQ,CAAC,MAAM,CAAC,SAAS,EAAE,a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import type { CheckState } from './checkState';
9
+ import type { RecordAmlVerificationChecksCheckResult } from './recordAmlVerificationChecksCheckResult';
10
+ export interface AmlVerificationReport {
11
+ state: CheckState;
12
+ checks: RecordAmlVerificationChecksCheckResult;
13
+ }
14
+ //# sourceMappingURL=amlVerificationReport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"amlVerificationReport.d.ts","sourceRoot":"","sources":["../../../src/openapi-v2/models/amlVerificationReport.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAEvG,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,UAAU,CAAC;IAClB,MAAM,EAAE,sCAAsC,CAAC;CAChD"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=amlVerificationReport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"amlVerificationReport.js","sourceRoot":"","sources":["../../../src/openapi-v2/models/amlVerificationReport.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by orval v8.4.0 🍺
3
+ * Do not edit manually.
4
+ * Vouchsafe API docs (V2)
5
+ * Vouchsafe V2 API — experimental endpoints.
6
+ * OpenAPI spec version: 2.0.0
7
+ */
8
+ import type { FailedReason } from './failedReason';
9
+ export interface ApiErrorResponse {
10
+ status_code: number;
11
+ message: string;
12
+ error_detail?: unknown;
13
+ failedReason?: FailedReason;
14
+ }
15
+ //# sourceMappingURL=apiErrorResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiErrorResponse.d.ts","sourceRoot":"","sources":["../../../src/openapi-v2/models/apiErrorResponse.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=apiErrorResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiErrorResponse.js","sourceRoot":"","sources":["../../../src/openapi-v2/models/apiErrorResponse.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v8.4.0 🍺
3
+ * Do not edit manually.
4
+ * Vouchsafe API docs (V2)
5
+ * Vouchsafe V2 API — experimental endpoints.
6
+ * OpenAPI spec version: 2.0.0
7
+ */
8
+ import type { CheckState } from './checkState';
9
+ import type { Reason } from './reason';
10
+ export interface CheckResult {
11
+ state: CheckState;
12
+ reason?: Reason;
13
+ }
14
+ //# sourceMappingURL=checkResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkResult.d.ts","sourceRoot":"","sources":["../../../src/openapi-v2/models/checkResult.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,UAAU,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=checkResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkResult.js","sourceRoot":"","sources":["../../../src/openapi-v2/models/checkResult.ts"],"names":[],"mappings":""}
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Generated by orval v8.4.0 🍺
3
+ * Do not edit manually.
4
+ * Vouchsafe API docs (V2)
5
+ * Vouchsafe V2 API — experimental endpoints.
6
+ * OpenAPI spec version: 2.0.0
7
+ */
8
+ export type CheckRiskBody = {
9
+ /** Given name(s). Required. */
10
+ first_name: string;
11
+ /** Family name. Required. */
12
+ last_name: string;
13
+ /** Email address. Required. */
14
+ email: string;
15
+ /** Date of birth in YYYY-MM-DD format. Required. */
16
+ date_of_birth: string;
17
+ /** JSON-encoded array of optional enrichment checks to run.
18
+ Accepted values: `"CREDIT_BUREAU"`, `"ONLINE_FOOTPRINT"`, `"AML"`. */
19
+ enrichments?: string;
20
+ /** JSON-encoded address object. Required when `enrichments` includes `"CREDIT_BUREAU"`. You can get this from `/v1/postcode`
21
+
22
+ At least one of `residence_number` or `building_name` must be present.
23
+
24
+ Expected shape:
25
+ ```json
26
+ {
27
+ "residence_number": "10",
28
+ "building_name": null,
29
+ "street": "Downing St",
30
+ "city": "London",
31
+ "postcode": "SW1A 2AA",
32
+ "region": null,
33
+ "country_code": "GB"
34
+ }
35
+ ``` */
36
+ address?: string;
37
+ /** Phone number in E.164 format. Optional.
38
+
39
+ Recommended when `enrichments` includes `ONLINE_FOOTPRINT` as it improves match rates.
40
+ For `CREDIT_BUREAU` checks, providing a UK phone number can improve match rates by enabling matching against mobile data. */
41
+ phone?: string;
42
+ /** JSON-encoded thresholds object. Used to set the pass/fail threshold for `ONLINE_FOOTPRINT` and `AML` checks, otherwise defaulting to 50 and 96 respectively. */
43
+ thresholds?: string;
44
+ /** Face scan image (JPEG or PNG, max 10 MB). Optional binary file field. */
45
+ face_scan?: Blob;
46
+ };
47
+ //# sourceMappingURL=checkRiskBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkRiskBody.d.ts","sourceRoot":"","sources":["../../../src/openapi-v2/models/checkRiskBody.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,MAAM,aAAa,GAAG;IAC1B,+BAA+B;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,6BAA6B;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,+BAA+B;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,aAAa,EAAE,MAAM,CAAC;IACtB;uEACmE;IACnE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;;;;;;;;;;QAeI;IACJ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;8HAG0H;IAC1H,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mKAAmK;IACnK,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,IAAI,CAAC;CAClB,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.4.0 🍺
4
+ * Do not edit manually.
5
+ * Vouchsafe API docs (V2)
6
+ * Vouchsafe V2 API — experimental endpoints.
7
+ * OpenAPI spec version: 2.0.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=checkRiskBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkRiskBody.js","sourceRoot":"","sources":["../../../src/openapi-v2/models/checkRiskBody.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval v8.4.0 🍺
3
+ * Do not edit manually.
4
+ * Vouchsafe API docs (V2)
5
+ * Vouchsafe V2 API — experimental endpoints.
6
+ * OpenAPI spec version: 2.0.0
7
+ */
8
+ export type CheckState = 'PASS' | 'FAIL' | 'INCONCLUSIVE' | 'PARTIAL' | 'NOT_PERFORMED';
9
+ //# sourceMappingURL=checkState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkState.d.ts","sourceRoot":"","sources":["../../../src/openapi-v2/models/checkState.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,cAAc,GAAG,SAAS,GAAG,eAAe,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.4.0 🍺
4
+ * Do not edit manually.
5
+ * Vouchsafe API docs (V2)
6
+ * Vouchsafe V2 API — experimental endpoints.
7
+ * OpenAPI spec version: 2.0.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=checkState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkState.js","sourceRoot":"","sources":["../../../src/openapi-v2/models/checkState.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v8.4.0 🍺
3
+ * Do not edit manually.
4
+ * Vouchsafe API docs (V2)
5
+ * Vouchsafe V2 API — experimental endpoints.
6
+ * OpenAPI spec version: 2.0.0
7
+ */
8
+ import type { CheckState } from './checkState';
9
+ import type { RecordCreditBureauVerificationChecksCheckResult } from './recordCreditBureauVerificationChecksCheckResult';
10
+ export interface CreditBureauVerificationReport {
11
+ state: CheckState;
12
+ checks: RecordCreditBureauVerificationChecksCheckResult;
13
+ }
14
+ //# sourceMappingURL=creditBureauVerificationReport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"creditBureauVerificationReport.d.ts","sourceRoot":"","sources":["../../../src/openapi-v2/models/creditBureauVerificationReport.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,+CAA+C,EAAE,MAAM,mDAAmD,CAAC;AAEzH,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,UAAU,CAAC;IAClB,MAAM,EAAE,+CAA+C,CAAC;CACzD"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=creditBureauVerificationReport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"creditBureauVerificationReport.js","sourceRoot":"","sources":["../../../src/openapi-v2/models/creditBureauVerificationReport.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.4.0 🍺
3
+ * Do not edit manually.
4
+ * Vouchsafe API docs (V2)
5
+ * Vouchsafe V2 API — experimental endpoints.
6
+ * OpenAPI spec version: 2.0.0
7
+ */
8
+ import type { AmlVerificationReport } from './amlVerificationReport';
9
+ import type { CreditBureauVerificationReport } from './creditBureauVerificationReport';
10
+ import type { OnlineFootprintVerificationReport } from './onlineFootprintVerificationReport';
11
+ export interface EnrichmentReports {
12
+ /** Credit bureau check report. Present when `"CREDIT_BUREAU"` was requested. */
13
+ credit_bureau?: CreditBureauVerificationReport;
14
+ /** Online footprint check report. Present when `"ONLINE_FOOTPRINT"` was requested. */
15
+ online_footprint?: OnlineFootprintVerificationReport;
16
+ /** AML / sanctions check report. Present when `"AML"` was requested. */
17
+ aml?: AmlVerificationReport;
18
+ }
19
+ //# sourceMappingURL=enrichmentReports.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enrichmentReports.d.ts","sourceRoot":"","sources":["../../../src/openapi-v2/models/enrichmentReports.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAE7F,MAAM,WAAW,iBAAiB;IAChC,gFAAgF;IAChF,aAAa,CAAC,EAAE,8BAA8B,CAAC;IAC/C,sFAAsF;IACtF,gBAAgB,CAAC,EAAE,iCAAiC,CAAC;IACrD,wEAAwE;IACxE,GAAG,CAAC,EAAE,qBAAqB,CAAC;CAC7B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=enrichmentReports.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enrichmentReports.js","sourceRoot":"","sources":["../../../src/openapi-v2/models/enrichmentReports.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval v8.4.0 🍺
3
+ * Do not edit manually.
4
+ * Vouchsafe API docs (V2)
5
+ * Vouchsafe V2 API — experimental endpoints.
6
+ * OpenAPI spec version: 2.0.0
7
+ */
8
+ export type FailedReason = 'REFEREE_UNDER_18' | 'UNDER_18' | 'EXPIRY_DATE_PASSED' | 'DOCUMENT_PAST_EXPIRY_WINDOW' | 'ISSUER_NOT_ALLOWED' | 'LOW_ID_FACE_MATCH' | 'MEDIUM_ID_FACE_MATCH' | 'LOW_LIVENESS_CONFIDENCE' | 'LOW_DOC_TYPE_MATCH' | 'MEDIUM_DOC_TYPE_MATCH' | 'PARTIAL_EXTRACTION' | 'NAME_MISMATCH' | 'NAME_HARD_MISMATCH' | 'ADDRESS_MISMATCH' | 'NAME_CHECK_INCONCLUSIVE' | 'ADDRESS_CHECK_INCONCLUSIVE' | 'REFEREE_NAME_MATCHES_USER' | 'REFEREE_SELFIE_MATCHES_USER' | 'DATE_OF_BIRTH_MISMATCH' | 'PHOTO_ID_FEATURE_MISSING' | 'WATERMARK_TEXT_DETECTED' | 'SAMPLE_DOCUMENT_NUMBER_DETECTED' | 'SAMPLE_NAME_DETECTED' | 'SAMPLE_MRZ_CODE_DETECTED' | 'SAMPLE_DOCUMENT_DETECTED' | 'INCOMPLETE_PASSPORT_IMAGE' | 'MRZ_NOT_TD3' | 'MRZ_NOT_TD1' | 'INVALID_MRZ_CODE' | 'INCOMPLETE_MRZ_DATA' | 'ENCODED_ID_MISMATCH_WITH_VIZ' | 'VIZ_MRZ_MISMATCH' | 'INVALID_ID_FORMAT' | 'CONTAINS_UNWANTED_PHRASES' | 'INVALID_ISSUING_AUTHORITY' | 'INVALID_NEC_FORMAT' | 'INVALID_ITSO_FORMAT' | 'DOCUMENT_FEATURE_MISSING' | 'VIZ_DOES_NOT_MATCH_API' | 'INVALID_CARD_NUMBER' | 'ISSUER_MATCH_NOT_FOUND' | 'DOCUMENT_DATE_EXCEEDS_VALIDITY_PERIOD' | 'MULTIPLE_RECIPIENTS' | 'EXTRACTION_FAILED' | 'ORIGINAL_DOC_NOT_DETECTED' | 'ORIGINAL_DOC_INCONCLUSIVE' | 'DUPLICATE_DOC_DETECTED' | 'DUPLICATE_DOC_INCONCLUSIVE' | 'INVALID_DOB_FORMAT' | 'INVALID_DOCUMENT_DATE_FORMAT' | 'POSSIBLY_TAMPERED' | 'DOCUMENT_TAMPERED_INCONCLUSIVE' | 'DOCUMENT_LOOKS_LIKE_SCREENSHOT' | 'DOCUMENT_TEXT_TAMPERED' | 'DOCUMENT_LOOKS_LIKE_PRINT_COPY' | 'DOCUMENT_COLOR_PROFILE_CHANGED' | 'OWNER_NAME_NOT_FOUND' | 'NO_RECENT_TRANSACTIONS' | 'ZERO_BALANCE_ALERT' | 'NO_VALID_ACCOUNT' | 'SHARE_CODE_ERROR' | 'INCORRECT_DETAILS' | 'SHARE_CODE_LOCKED_OUT' | 'EVISA_SERVICE_UNAVAILABLE' | 'NETWORK_ERROR' | 'EVISA_ROUTING_CHANGED' | 'NO_REFERENCE_NUMBER_ON_PAGE' | 'NO_IMAGE_URL_ON_PAGE' | 'NO_NAME_ON_PAGE' | 'NO_EXPIRY_DATE_ON_PAGE' | 'NO_NATIONALITY_ON_PAGE' | 'NO_STATUS_ON_PAGE' | 'NO_VALID_FROM_ON_PAGE' | 'INVALID_IMAGE_DATA' | 'SELECTOR_NOT_FOUND' | 'EVISA_UPLOAD_FAILED' | 'EVISA_CONDITIONS_LLM_UNAVAILABLE' | 'EVISA_CONDITIONS_INVALID_RESPONSE' | 'PDF_DOWNLOAD_TIMEOUT' | 'PDF_DOWNLOAD_ERROR' | 'PDF_DOWNLOAD_DIRECTORY_ERROR' | 'PUPPETEER_BROWSER_LAUNCH_FAILED' | 'DOWNLOAD_DIRECTORY_SETUP_FAILED' | 'INTERNAL_ERROR' | 'IMAGE_PROCESSING_ERROR' | 'EVISA_NOT_YET_VALID' | 'UNRECOGNISED_INDEFINITE_STATUS' | 'BLOCKED_FACE_DETECTED' | 'NO_FACE_ON_DOCUMENT' | 'SERVICE_UNAVAILABLE' | 'SYSTEM_ISSUE' | 'DIGITAL_ID_SESSION_EXPIRED' | 'DIGITAL_ID_VERIFICATION_FAILED' | 'DIGITAL_ID_SESSION_NOT_FOUND' | 'DIGITAL_ID_PROVIDER_ERROR' | 'DIGITAL_ID_MISSING_SESSION_DATA' | 'DIGITAL_ID_USER_ABANDONED' | 'DIGITAL_ID_USER_CANCELLED' | 'DIGITAL_ID_USER_TIMED_OUT' | 'DIGITAL_ID_REQUIRED_DETAILS_MISSING' | 'CRA_NO_RESIDENCY_MATCH';
9
+ //# sourceMappingURL=failedReason.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"failedReason.d.ts","sourceRoot":"","sources":["../../../src/openapi-v2/models/failedReason.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,MAAM,YAAY,GAAG,kBAAkB,GAAG,UAAU,GAAG,oBAAoB,GAAG,6BAA6B,GAAG,oBAAoB,GAAG,mBAAmB,GAAG,sBAAsB,GAAG,yBAAyB,GAAG,oBAAoB,GAAG,uBAAuB,GAAG,oBAAoB,GAAG,eAAe,GAAG,oBAAoB,GAAG,kBAAkB,GAAG,yBAAyB,GAAG,4BAA4B,GAAG,2BAA2B,GAAG,6BAA6B,GAAG,wBAAwB,GAAG,0BAA0B,GAAG,yBAAyB,GAAG,iCAAiC,GAAG,sBAAsB,GAAG,0BAA0B,GAAG,0BAA0B,GAAG,2BAA2B,GAAG,aAAa,GAAG,aAAa,GAAG,kBAAkB,GAAG,qBAAqB,GAAG,8BAA8B,GAAG,kBAAkB,GAAG,mBAAmB,GAAG,2BAA2B,GAAG,2BAA2B,GAAG,oBAAoB,GAAG,qBAAqB,GAAG,0BAA0B,GAAG,wBAAwB,GAAG,qBAAqB,GAAG,wBAAwB,GAAG,uCAAuC,GAAG,qBAAqB,GAAG,mBAAmB,GAAG,2BAA2B,GAAG,2BAA2B,GAAG,wBAAwB,GAAG,4BAA4B,GAAG,oBAAoB,GAAG,8BAA8B,GAAG,mBAAmB,GAAG,gCAAgC,GAAG,gCAAgC,GAAG,wBAAwB,GAAG,gCAAgC,GAAG,gCAAgC,GAAG,sBAAsB,GAAG,wBAAwB,GAAG,oBAAoB,GAAG,kBAAkB,GAAG,kBAAkB,GAAG,mBAAmB,GAAG,uBAAuB,GAAG,2BAA2B,GAAG,eAAe,GAAG,uBAAuB,GAAG,6BAA6B,GAAG,sBAAsB,GAAG,iBAAiB,GAAG,wBAAwB,GAAG,wBAAwB,GAAG,mBAAmB,GAAG,uBAAuB,GAAG,oBAAoB,GAAG,oBAAoB,GAAG,qBAAqB,GAAG,kCAAkC,GAAG,mCAAmC,GAAG,sBAAsB,GAAG,oBAAoB,GAAG,8BAA8B,GAAG,iCAAiC,GAAG,iCAAiC,GAAG,gBAAgB,GAAG,wBAAwB,GAAG,qBAAqB,GAAG,gCAAgC,GAAG,uBAAuB,GAAG,qBAAqB,GAAG,qBAAqB,GAAG,cAAc,GAAG,4BAA4B,GAAG,gCAAgC,GAAG,8BAA8B,GAAG,2BAA2B,GAAG,iCAAiC,GAAG,2BAA2B,GAAG,2BAA2B,GAAG,2BAA2B,GAAG,qCAAqC,GAAG,wBAAwB,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.4.0 🍺
4
+ * Do not edit manually.
5
+ * Vouchsafe API docs (V2)
6
+ * Vouchsafe V2 API — experimental endpoints.
7
+ * OpenAPI spec version: 2.0.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=failedReason.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"failedReason.js","sourceRoot":"","sources":["../../../src/openapi-v2/models/failedReason.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Generated by orval v8.4.0 🍺
3
+ * Do not edit manually.
4
+ * Vouchsafe API docs (V2)
5
+ * Vouchsafe V2 API — experimental endpoints.
6
+ * OpenAPI spec version: 2.0.0
7
+ */
8
+ import type { EnrichmentReports } from './enrichmentReports';
9
+ import type { GetRiskResponseAddress } from './getRiskResponseAddress';
10
+ import type { GetRiskResponseEnrichmentsItem } from './getRiskResponseEnrichmentsItem';
11
+ import type { Recommendation } from './recommendation';
12
+ import type { RiskMetadata } from './riskMetadata';
13
+ export interface GetRiskResponse {
14
+ /** Unique identifier for this risk assessment. */
15
+ id: string;
16
+ /** The team that performed this assessment. */
17
+ team_id: string;
18
+ /** The optional enrichment checks that were requested alongside Radar. */
19
+ enrichments: GetRiskResponseEnrichmentsItem[];
20
+ first_name: string;
21
+ last_name: string;
22
+ /** The address that was submitted, or null if none was provided. */
23
+ address: GetRiskResponseAddress;
24
+ /** Date of birth in YYYY-MM-DD format. */
25
+ date_of_birth: string;
26
+ /** Email address used as the primary Radar matching key. */
27
+ email: string;
28
+ phone?: string;
29
+ /** Risk score from 0 (highest risk) to 100 (lowest risk).
30
+ Derived from the weighted sum of trust and fraud signals detected. */
31
+ risk_score: number;
32
+ /** Recommended action based on `risk_score`.
33
+
34
+ - `"CLEAR"` — score 60–100: low risk, proceed with confidence
35
+ - `"REVIEW"` — score 34–59: elevated risk, consider further checks
36
+ - `"REJECT"` — score 0–33: high risk, additional verification required */
37
+ recommendation: Recommendation;
38
+ /** Signals that contributed positively to the risk score. */
39
+ trust_signals: string[];
40
+ /** Signals that contributed negatively to the risk score. */
41
+ fraud_signals: string[];
42
+ /** Enrichment check reports, keyed by enrichment name. Present when enrichments were requested. */
43
+ enrichment_reports?: EnrichmentReports;
44
+ /** Supplementary data: effective thresholds used for the optional enrichment checks. */
45
+ metadata?: RiskMetadata;
46
+ /** Whether the check consumed billable credits. */
47
+ billable: boolean;
48
+ /**
49
+ * When ongoing AML monitoring was enabled (ISO 8601), or `null` if not active. See [Alerts API](/docs/tag/Alerts).
50
+ * @nullable
51
+ */
52
+ alerts_enabled_at: string | null;
53
+ /** ISO 8601 timestamp of when this risk assessment was created. */
54
+ created_at: string;
55
+ }
56
+ //# sourceMappingURL=getRiskResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRiskResponse.d.ts","sourceRoot":"","sources":["../../../src/openapi-v2/models/getRiskResponse.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,WAAW,eAAe;IAC9B,kDAAkD;IAClD,EAAE,EAAE,MAAM,CAAC;IACX,+CAA+C;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,0EAA0E;IAC1E,WAAW,EAAE,8BAA8B,EAAE,CAAC;IAC9C,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,OAAO,EAAE,sBAAsB,CAAC;IAChC,0CAA0C;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,4DAA4D;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;uEACmE;IACnE,UAAU,EAAE,MAAM,CAAC;IACnB;;;;2EAIuE;IACvE,cAAc,EAAE,cAAc,CAAC;IAC/B,6DAA6D;IAC7D,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,6DAA6D;IAC7D,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,mGAAmG;IACnG,kBAAkB,CAAC,EAAE,iBAAiB,CAAC;IACvC,wFAAwF;IACxF,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,mDAAmD;IACnD,QAAQ,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,mEAAmE;IACnE,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=getRiskResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRiskResponse.js","sourceRoot":"","sources":["../../../src/openapi-v2/models/getRiskResponse.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.4.0 🍺
3
+ * Do not edit manually.
4
+ * Vouchsafe API docs (V2)
5
+ * Vouchsafe V2 API — experimental endpoints.
6
+ * OpenAPI spec version: 2.0.0
7
+ */
8
+ import type { PublicAddressV2 } from './publicAddressV2';
9
+ /**
10
+ * The address that was submitted, or null if none was provided.
11
+ */
12
+ export type GetRiskResponseAddress = PublicAddressV2 | null;
13
+ //# sourceMappingURL=getRiskResponseAddress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRiskResponseAddress.d.ts","sourceRoot":"","sources":["../../../src/openapi-v2/models/getRiskResponseAddress.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,eAAe,GAAG,IAAI,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=getRiskResponseAddress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRiskResponseAddress.js","sourceRoot":"","sources":["../../../src/openapi-v2/models/getRiskResponseAddress.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval v8.4.0 🍺
3
+ * Do not edit manually.
4
+ * Vouchsafe API docs (V2)
5
+ * Vouchsafe V2 API — experimental endpoints.
6
+ * OpenAPI spec version: 2.0.0
7
+ */
8
+ export type GetRiskResponseEnrichmentsItem = 'CREDIT_BUREAU' | 'ONLINE_FOOTPRINT' | 'AML';
9
+ //# sourceMappingURL=getRiskResponseEnrichmentsItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRiskResponseEnrichmentsItem.d.ts","sourceRoot":"","sources":["../../../src/openapi-v2/models/getRiskResponseEnrichmentsItem.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,MAAM,8BAA8B,GAAG,eAAe,GAAG,kBAAkB,GAAG,KAAK,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.4.0 🍺
4
+ * Do not edit manually.
5
+ * Vouchsafe API docs (V2)
6
+ * Vouchsafe V2 API — experimental endpoints.
7
+ * OpenAPI spec version: 2.0.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ //# sourceMappingURL=getRiskResponseEnrichmentsItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRiskResponseEnrichmentsItem.js","sourceRoot":"","sources":["../../../src/openapi-v2/models/getRiskResponseEnrichmentsItem.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
@@ -0,0 +1,23 @@
1
+ export * from './amlVerificationReport';
2
+ export * from './apiErrorResponse';
3
+ export * from './checkResult';
4
+ export * from './checkRiskBody';
5
+ export * from './checkState';
6
+ export * from './creditBureauVerificationReport';
7
+ export * from './enrichmentReports';
8
+ export * from './failedReason';
9
+ export * from './getRiskResponse';
10
+ export * from './getRiskResponseAddress';
11
+ export * from './getRiskResponseEnrichmentsItem';
12
+ export * from './onlineFootprintChecks';
13
+ export * from './onlineFootprintChecksAnyOf';
14
+ export * from './onlineFootprintChecksAnyOfTwo';
15
+ export * from './onlineFootprintVerificationReport';
16
+ export * from './publicAddressV2';
17
+ export * from './reason';
18
+ export * from './recommendation';
19
+ export * from './recordAmlVerificationChecksCheckResult';
20
+ export * from './recordCreditBureauVerificationChecksCheckResult';
21
+ export * from './riskMetadata';
22
+ export * from './riskMetadataThresholds';
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi-v2/models/index.ts"],"names":[],"mappings":"AAGA,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,kCAAkC,CAAC;AACjD,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,0CAA0C,CAAC;AACzD,cAAc,mDAAmD,CAAC;AAClE,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC"}