@royalinvest/dto 0.63.4 → 0.64.2

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.
@@ -107,7 +107,7 @@ export interface ICreditCheckSubjectRequest {
107
107
  email?: string;
108
108
  phone?: string;
109
109
  ssn?: string;
110
- addresses: ISubjectAddress[];
110
+ addresses?: ISubjectAddress[];
111
111
  credit_type?: string;
112
112
  credit_number?: string;
113
113
  addons?: string[];
@@ -1,15 +1,18 @@
1
1
  import { IKeyValue } from "./key-value";
2
2
  export interface ICreditCheckReportData {
3
3
  bureau: string;
4
- title: string;
5
- subtitle: string;
6
4
  header: IKeyValue[];
7
5
  footer: ICreditCheckReportFooter;
8
- details: ICreditCheckReportDetails;
6
+ chapters: ICreditCheckReportChapter[];
7
+ }
8
+ export interface ICreditCheckReportChapter {
9
+ title: string;
10
+ subtitle?: string;
11
+ details?: ICreditCheckReportDetails;
9
12
  sections: ICreditCheckReportSection[];
10
13
  }
11
14
  export interface ICreditCheckReportSection {
12
- title: string;
15
+ title?: string;
13
16
  newPage?: boolean;
14
17
  subsections: ICreditCheckReportSubsection[];
15
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.63.4",
3
+ "version": "0.64.2",
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",