@nomalism-com/api 0.16.43 → 0.16.45

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.43",
12
+ "version": "0.16.45",
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.2",
36
- "@typescript-eslint/eslint-plugin": "^6.18.1",
37
- "@typescript-eslint/parser": "^6.18.1",
35
+ "@types/node": "^20.11.5",
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",
@@ -42,12 +42,12 @@
42
42
  "eslint-import-resolver-typescript": "^3.6.1",
43
43
  "eslint-plugin-import": "^2.29.1",
44
44
  "eslint-plugin-prettier": "^5.1.3",
45
- "prettier": "^3.2.2",
45
+ "prettier": "^3.2.4",
46
46
  "tsx": "^4.7.0",
47
47
  "typescript": "^5.3.3"
48
48
  },
49
49
  "dependencies": {
50
- "@nomalism-com/types": "^0.16.58",
50
+ "@nomalism-com/types": "^0.16.63",
51
51
  "axios": "^0.27.2"
52
52
  }
53
53
  }