@royalinvest/dto 0.66.1 → 0.67.1

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.
@@ -0,0 +1,4 @@
1
+ export interface IDocumentAttachment {
2
+ blob_path: string;
3
+ mime_type: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
+ import { IDocumentAttachment } from "../attachment";
1
2
  import { QuestionOptionType } from "./screeningQuestionnaire";
2
3
  export interface IAnsweredQuestionnaire {
3
4
  sections: IAnsweredQuestionnaireSection[];
@@ -20,5 +21,5 @@ export interface IAnsweredQuestionnaireOptionAnswer {
20
21
  option_keys: string[];
21
22
  }
22
23
  export interface IAnsweredQuestionnaireFileAnswer {
23
- file_paths: string[];
24
+ files: IDocumentAttachment[];
24
25
  }
@@ -1,3 +1,4 @@
1
+ import { IDocumentAttachment } from "./attachment";
1
2
  import { IKeyValue } from "./key-value";
2
3
  export interface ICreditCheckReportData {
3
4
  bureau: string;
@@ -10,6 +11,7 @@ export interface ICreditCheckReportChapter {
10
11
  subtitle?: string;
11
12
  details?: ICreditCheckReportDetails;
12
13
  sections: ICreditCheckReportSection[];
14
+ attachments?: IDocumentAttachment[];
13
15
  }
14
16
  export interface ICreditCheckReportSection {
15
17
  title?: string;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from "./address";
2
+ export * from "./attachment";
2
3
  export * from "./auth";
3
4
  export * from "./balance";
4
5
  export * from "./base64Image";
package/dist/index.js CHANGED
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./address"), exports);
18
+ __exportStar(require("./attachment"), exports);
18
19
  __exportStar(require("./auth"), exports);
19
20
  __exportStar(require("./balance"), exports);
20
21
  __exportStar(require("./base64Image"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.66.1",
3
+ "version": "0.67.1",
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",