gemcap-be-common 1.5.142 → 1.5.144

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.
@@ -30,6 +30,7 @@ export interface IBorrowerAssumption {
30
30
  uploadedAt: Date;
31
31
  uploadedBy: string;
32
32
  }
33
+ export type TCreateBorrowerAssumption = Omit<IBorrowerAssumptionPlain, '_id'>;
33
34
  export interface IBorrowerAssumptionLean extends IBorrowerAssumption {
34
35
  _id: mongoose.Types.ObjectId;
35
36
  }
@@ -10,6 +10,8 @@ export interface IBorrowerAssumption {
10
10
  uploadedBy: string;
11
11
  }
12
12
 
13
+ export type TCreateBorrowerAssumption = Omit<IBorrowerAssumptionPlain, '_id'>
14
+
13
15
  export interface IBorrowerAssumptionLean extends IBorrowerAssumption {
14
16
  _id: mongoose.Types.ObjectId;
15
17
  }
@@ -47,6 +47,11 @@ export type TUploadFilesParams = {
47
47
  filesMetadata: TFileMetadataItem[];
48
48
  context: TFileUploadContext;
49
49
  };
50
+ export type TPreparedFile = {
51
+ fileId: string;
52
+ role: string;
53
+ filename: string;
54
+ };
50
55
  export declare const FILE_BUCKET: {
51
56
  readonly compliance: "compliance";
52
57
  readonly CRM: "crm";
@@ -29,6 +29,12 @@ export type TUploadFilesParams = {
29
29
  context: TFileUploadContext;
30
30
  };
31
31
 
32
+ export type TPreparedFile = {
33
+ fileId: string;
34
+ role: string;
35
+ filename: string;
36
+ };
37
+
32
38
  export const FILE_BUCKET = {
33
39
  compliance: 'compliance',
34
40
  CRM: 'crm',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.5.142",
3
+ "version": "1.5.144",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {