ggez-banking-sdk 0.1.119 → 0.1.120

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.
@@ -14,7 +14,7 @@ const FillUploadDocumentData = (data) => {
14
14
  entity_id: data.entityId,
15
15
  type: data.type,
16
16
  },
17
- attachment: [data.attachment],
17
+ attachment: data.attachment,
18
18
  };
19
19
  return document;
20
20
  };
@@ -1,3 +1,4 @@
1
+ import { Attachment } from "../../banking";
1
2
  interface ICreateOrganizationData {
2
3
  name: string;
3
4
  localName: string;
@@ -32,6 +33,6 @@ interface IUpdateOrganizationData {
32
33
  }
33
34
  interface ICreateOrganizationDocumentData {
34
35
  subject: string;
35
- attachment: any;
36
+ attachment: Attachment[];
36
37
  }
37
38
  export type { ICreateOrganizationData, IUpdateOrganizationData, ICreateOrganizationDocumentData, };
@@ -7,7 +7,7 @@ interface IUploadDocumentData {
7
7
  entity: number;
8
8
  entityId: number;
9
9
  type: number;
10
- attachment?: Attachment;
10
+ attachment?: Attachment[];
11
11
  }
12
12
  interface IUploadProfilePictureData {
13
13
  fileName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.1.119",
3
+ "version": "0.1.120",
4
4
  "description": "A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",