@nomalism-com/api 0.16.43 → 0.16.44
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.
|
@@ -41,5 +41,5 @@ export default class Repository implements Entity.IRepository {
|
|
|
41
41
|
exportCurrentAccount(params: IExportCurrentAccountRequest): Promise<IFindCurrentAccountByOwnerIdResponse[]>;
|
|
42
42
|
findSettledMaterialEntranceByDate(params: IUnpaidByDatePurchasesRequest): Promise<IUnpaidPurchasesResponse[]>;
|
|
43
43
|
exportPayments(body: IExportPaymentsRequest[]): Promise<void>;
|
|
44
|
-
getExportCurrentAccountUrl({ owner_id, start_date, end_date, token, }: IExportCurrentAccountRequest): string;
|
|
44
|
+
getExportCurrentAccountUrl({ owner_id, start_date, end_date, output, token, }: IExportCurrentAccountRequest): string;
|
|
45
45
|
}
|
|
@@ -246,9 +246,10 @@ var Repository = (function () {
|
|
|
246
246
|
});
|
|
247
247
|
};
|
|
248
248
|
Repository.prototype.getExportCurrentAccountUrl = function (_a) {
|
|
249
|
-
var owner_id = _a.owner_id, start_date = _a.start_date, end_date = _a.end_date, token = _a.token;
|
|
249
|
+
var owner_id = _a.owner_id, start_date = _a.start_date, end_date = _a.end_date, output = _a.output, token = _a.token;
|
|
250
250
|
var qs = new URLSearchParams();
|
|
251
251
|
qs.set('owner_id', owner_id);
|
|
252
|
+
qs.set('output', output);
|
|
252
253
|
if (start_date)
|
|
253
254
|
qs.set('start_date', start_date.toISOString());
|
|
254
255
|
if (end_date)
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.16.
|
|
12
|
+
"version": "0.16.44",
|
|
13
13
|
"main": "dist/index.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/convert-units": "^2.3.9",
|
|
35
|
-
"@types/node": "^20.11.
|
|
36
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
37
|
-
"@typescript-eslint/parser": "^6.
|
|
35
|
+
"@types/node": "^20.11.3",
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
37
|
+
"@typescript-eslint/parser": "^6.19.0",
|
|
38
38
|
"concurrently": "^8.2.2",
|
|
39
39
|
"eslint": "^8.56.0",
|
|
40
40
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"typescript": "^5.3.3"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@nomalism-com/types": "^0.16.
|
|
50
|
+
"@nomalism-com/types": "^0.16.59",
|
|
51
51
|
"axios": "^0.27.2"
|
|
52
52
|
}
|
|
53
53
|
}
|