@royalinvest/dto 0.64.2 → 0.65.0

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.
@@ -60,6 +60,7 @@ export interface ISubjectExtended {
60
60
  ssn?: string;
61
61
  addresses?: ISubjectAddress[];
62
62
  consent?: ISubjectConsent;
63
+ errors?: ICreditCheckError;
63
64
  }
64
65
  export interface ISubjectConsent {
65
66
  id: string;
@@ -265,3 +266,10 @@ export interface ICreditCheckReportFileDownload {
265
266
  file_type: string;
266
267
  file_name: string;
267
268
  }
269
+ export interface ICreditCheckError {
270
+ id: string;
271
+ subject_id: string;
272
+ error_code: string;
273
+ error_message: string;
274
+ bureau_reference_id?: string;
275
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.64.2",
3
+ "version": "0.65.0",
4
4
  "description": "Data Transfer Objects (DTOs) to carry data between frontend and backend processes.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",