@nomalism-com/api 0.45.20 → 0.45.22
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/index.js
CHANGED
|
@@ -4040,6 +4040,12 @@ var Repository114 = class {
|
|
|
4040
4040
|
});
|
|
4041
4041
|
return response.data;
|
|
4042
4042
|
}
|
|
4043
|
+
async findClientOverpaidCredit(params) {
|
|
4044
|
+
const response = await this.api.get(`${this.route}overpaid_credit`, {
|
|
4045
|
+
params
|
|
4046
|
+
});
|
|
4047
|
+
return response.data;
|
|
4048
|
+
}
|
|
4043
4049
|
async findClientUnpaidDebit(params) {
|
|
4044
4050
|
const response = await this.api.get(`${this.route}unpaid_debit`, {
|
|
4045
4051
|
params
|
|
@@ -7,7 +7,8 @@ export default class Repository implements Nomalism.CurrentAccount.IRepository {
|
|
|
7
7
|
findCurrentAccountByOwnerId(params: Nomalism.shared.IFindByOwnerIdRequest): Promise<Nomalism.CurrentAccount.IFindCurrentAccountByOwnerIdResponse[]>;
|
|
8
8
|
findBalanceByOwnerId(params: Nomalism.shared.IFindByOwnerIdRequest): Promise<number>;
|
|
9
9
|
exportCurrentAccount(params: Nomalism.CurrentAccount.IExportCurrentAccountRequest): Promise<Nomalism.CurrentAccount.IFindCurrentAccountByOwnerIdResponse[]>;
|
|
10
|
-
findClientUnpaidCredit(params: Nomalism.shared.IFindByOwnerIdRequest): Promise<Nomalism.CurrentAccount.
|
|
11
|
-
|
|
10
|
+
findClientUnpaidCredit(params: Nomalism.shared.IFindByOwnerIdRequest): Promise<Nomalism.CurrentAccount.IDocumentResponse[]>;
|
|
11
|
+
findClientOverpaidCredit(params: Nomalism.shared.IFindByOwnerIdRequest): Promise<Nomalism.CurrentAccount.IDocumentResponse[]>;
|
|
12
|
+
findClientUnpaidDebit(params: Nomalism.shared.IFindByOwnerIdRequest): Promise<Nomalism.CurrentAccount.IDocumentResponse[]>;
|
|
12
13
|
getExportCurrentAccountUrl({ owner_id, start_date, end_date, output, token, }: Nomalism.CurrentAccount.IExportCurrentAccountRequest): string;
|
|
13
14
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/api",
|
|
3
3
|
"description": "A nomalism API package for performing HTTP requests on API endpoints",
|
|
4
|
-
"version": "0.45.
|
|
4
|
+
"version": "0.45.22",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"prepack": "npm run lint && npm run build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@nomalism-com/types": "^0.45.
|
|
26
|
+
"@nomalism-com/types": "^0.45.26",
|
|
27
27
|
"axios": "^1.16.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@swc/core": "^1.15.40",
|
|
31
31
|
"@types/node": "^24.12.4",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
33
|
-
"@typescript-eslint/parser": "^8.
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "^8.60.0",
|
|
33
|
+
"@typescript-eslint/parser": "^8.60.0",
|
|
34
34
|
"eslint": "^9.39.4",
|
|
35
35
|
"eslint-config-prettier": "^10.1.8",
|
|
36
36
|
"eslint-import-resolver-typescript": "^4.4.4",
|