@abyss-project/banking 3.1.0 → 4.0.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.
- package/dist/types/interface/api/requests/attachment.request.d.ts +1 -0
- package/dist/types/interface/api/requests/invoice.request.d.ts +1 -0
- package/dist/types/interface/api/responses/attachment.response.d.ts +2 -1
- package/dist/types/interface/api/responses/banking-document.response.d.ts +2 -1
- package/dist/types/interface/api/responses/invoice.response.d.ts +2 -2
- package/dist/types/interface/index.d.ts +1 -0
- package/dist/types/interface/index.js +1 -0
- package/dist/types/interface/index.js.map +1 -1
- package/dist/types/interface/models/upload-session.dto.d.ts +10 -0
- package/dist/types/interface/models/upload-session.dto.js +3 -0
- package/dist/types/interface/models/upload-session.dto.js.map +1 -0
- package/dist/types/interface/models/user.model.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { IAttachment } from '../../models/attachment.model';
|
|
2
|
+
import { IUploadSession } from '../../models/upload-session.dto';
|
|
2
3
|
import { IResponse } from '../type-message/response';
|
|
3
4
|
export interface IListAttachmentData {
|
|
4
5
|
attachments: IAttachment[];
|
|
5
6
|
}
|
|
6
7
|
export type IListAttachmentResponse = IResponse<IListAttachmentData>;
|
|
7
8
|
export interface IGetAttachmentUploadUrlData {
|
|
8
|
-
|
|
9
|
+
uploadSession: IUploadSession;
|
|
9
10
|
}
|
|
10
11
|
export type IGetAttachmentUploadUrlResponse = IResponse<IGetAttachmentUploadUrlData>;
|
|
11
12
|
export type IDeleteAttachmentResponse = IResponse<Record<string, never>>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { BasePaginate } from '../..';
|
|
2
2
|
import { IBankingDocument } from '../../models/banking-document.model';
|
|
3
|
+
import { IUploadSession } from '../../models/upload-session.dto';
|
|
3
4
|
import { IResponse } from '../type-message/response';
|
|
4
5
|
export interface IGetDocumentUploadUrlData {
|
|
5
|
-
|
|
6
|
+
uploadSession: IUploadSession;
|
|
6
7
|
documentId: string;
|
|
7
8
|
}
|
|
8
9
|
export type IGetDocumentUploadUrlResponse = IResponse<IGetDocumentUploadUrlData>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BasePaginate, IInvoice, IInvoiceTransactionMatch } from '../..';
|
|
2
|
+
import { IUploadSession } from '../../models/upload-session.dto';
|
|
2
3
|
import { IResponse } from '../type-message/response';
|
|
3
4
|
export type IPaginateInvoiceResponse = IResponse<BasePaginate<IInvoice>>;
|
|
4
5
|
export interface IGetInvoiceData {
|
|
@@ -15,8 +16,7 @@ export interface IUpdateInvoiceData {
|
|
|
15
16
|
}
|
|
16
17
|
export type IUpdateInvoiceResponse = IResponse<IUpdateInvoiceData>;
|
|
17
18
|
export interface IGetInvoiceUploadUrlData {
|
|
18
|
-
|
|
19
|
-
applicationFileId?: string;
|
|
19
|
+
uploadSession: IUploadSession;
|
|
20
20
|
}
|
|
21
21
|
export type IGetInvoiceUploadUrlResponse = IResponse<IGetInvoiceUploadUrlData>;
|
|
22
22
|
export interface IGetInvoiceFileUrlData {
|
|
@@ -15,6 +15,7 @@ export * from './models/recurring-group.model';
|
|
|
15
15
|
export * from './models/transfer-link.model';
|
|
16
16
|
export * from './models/insight.model';
|
|
17
17
|
export * from './models/file-scan.dto';
|
|
18
|
+
export * from './models/upload-session.dto';
|
|
18
19
|
export * from './models/attachment.model';
|
|
19
20
|
export * from './models/transaction-split.model';
|
|
20
21
|
export * from './models/saved-report.model';
|
|
@@ -31,6 +31,7 @@ __exportStar(require("./models/recurring-group.model"), exports);
|
|
|
31
31
|
__exportStar(require("./models/transfer-link.model"), exports);
|
|
32
32
|
__exportStar(require("./models/insight.model"), exports);
|
|
33
33
|
__exportStar(require("./models/file-scan.dto"), exports);
|
|
34
|
+
__exportStar(require("./models/upload-session.dto"), exports);
|
|
34
35
|
__exportStar(require("./models/attachment.model"), exports);
|
|
35
36
|
__exportStar(require("./models/transaction-split.model"), exports);
|
|
36
37
|
__exportStar(require("./models/saved-report.model"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/interface/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iEAA+C;AAC/C,iEAA+C;AAC/C,8DAA4C;AAC5C,sEAAoD;AACpD,qEAAmD;AACnD,iEAA+C;AAC/C,0DAAwC;AACxC,sEAAoD;AACpD,qEAAmD;AACnD,8EAA4D;AAC5D,uDAAqC;AACrC,mEAAiD;AACjD,iEAA+C;AAC/C,+DAA6C;AAC7C,yDAAuC;AACvC,yDAAuC;AACvC,4DAA0C;AAC1C,mEAAiD;AACjD,8DAA4C;AAC5C,4DAA0C;AAC1C,+DAA6C;AAC7C,qEAAmD;AACnD,2DAAyC;AACzC,mEAAiD;AACjD,0DAAwC;AACxC,yDAAuC;AACvC,8DAA4C;AAC5C,2EAAyD;AACzD,+DAA6C;AAC7C,0DAAwC;AACxC,iEAA+C;AAC/C,sEAAoD;AACpD,2EAAyD;AACzD,oEAAkD;AAClD,iEAA+C;AAC/C,kEAAgD;AAChD,+DAA6C;AAC7C,qEAAmD;AACnD,iEAA+C;AAC/C,kEAAgD;AAChD,8DAA4C;AAC5C,yDAAuC;AACvC,oEAAkD;AAClD,iEAA+C;AAC/C,yDAAuC;AACvC,6DAA2C;AAC3C,mEAAiD;AACjD,kEAAgD;AAChD,0EAAwD;AACxD,iEAA+C;AAC/C,6DAA2C;AAC3C,iEAA+C;AAC/C,4EAA0D;AAC1D,6DAA2C;AAC3C,0DAAwC;AACxC,sEAAoD;AACpD,oEAAkD;AAClD,mEAAiD;AACjD,yEAAuD;AAGvD,wCAAsB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/interface/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iEAA+C;AAC/C,iEAA+C;AAC/C,8DAA4C;AAC5C,sEAAoD;AACpD,qEAAmD;AACnD,iEAA+C;AAC/C,0DAAwC;AACxC,sEAAoD;AACpD,qEAAmD;AACnD,8EAA4D;AAC5D,uDAAqC;AACrC,mEAAiD;AACjD,iEAA+C;AAC/C,+DAA6C;AAC7C,yDAAuC;AACvC,yDAAuC;AACvC,8DAA4C;AAC5C,4DAA0C;AAC1C,mEAAiD;AACjD,8DAA4C;AAC5C,4DAA0C;AAC1C,+DAA6C;AAC7C,qEAAmD;AACnD,2DAAyC;AACzC,mEAAiD;AACjD,0DAAwC;AACxC,yDAAuC;AACvC,8DAA4C;AAC5C,2EAAyD;AACzD,+DAA6C;AAC7C,0DAAwC;AACxC,iEAA+C;AAC/C,sEAAoD;AACpD,2EAAyD;AACzD,oEAAkD;AAClD,iEAA+C;AAC/C,kEAAgD;AAChD,+DAA6C;AAC7C,qEAAmD;AACnD,iEAA+C;AAC/C,kEAAgD;AAChD,8DAA4C;AAC5C,yDAAuC;AACvC,oEAAkD;AAClD,iEAA+C;AAC/C,yDAAuC;AACvC,6DAA2C;AAC3C,mEAAiD;AACjD,kEAAgD;AAChD,0EAAwD;AACxD,iEAA+C;AAC/C,6DAA2C;AAC3C,iEAA+C;AAC/C,4EAA0D;AAC1D,6DAA2C;AAC3C,0DAAwC;AACxC,sEAAoD;AACpD,oEAAkD;AAClD,mEAAiD;AACjD,yEAAuD;AAGvD,wCAAsB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upload-session.dto.js","sourceRoot":"","sources":["../../../../src/types/interface/models/upload-session.dto.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyss-project/banking",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Core package to interact with Abyss-Banking",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"homepage": "https://gitlab.com/abyss-group/abyss-banking",
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@abyss-project/compute": "1.0.0",
|
|
16
|
-
"@abyss-project/main": "
|
|
16
|
+
"@abyss-project/main": "33.0.0",
|
|
17
17
|
"axios": "^1.6.0",
|
|
18
18
|
"axios-retry": "^4.5.0",
|
|
19
19
|
"core-js": "^3.37.1",
|