@nomalism-com/api 0.39.48 → 0.39.50

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.d.ts CHANGED
@@ -948,6 +948,7 @@ declare class Repository$V implements Nomalism$1.Payment.IRepository {
948
948
  exportPayments(body: Nomalism$1.Payment.IExportPaymentsRequest[]): Promise<void>;
949
949
  getExportCurrentAccountUrl({ owner_id, start_date, end_date, output, token, }: Nomalism$1.Payment.IExportCurrentAccountRequest): string;
950
950
  findCurrentAccountPaginated(params: Nomalism$1.Payment.IFindCurrentAccountPaginatedRequest): Promise<Nomalism$1.shared.IPaginationResponse<Nomalism$1.Payment.IFindCurrentAccountByOwnerIdResponse>>;
951
+ getBatchPdfUrl(month: number, year: number, token: string): string;
951
952
  }
952
953
 
953
954
  declare namespace payment {
package/dist/index.js CHANGED
@@ -2335,6 +2335,11 @@ var Repository58 = class {
2335
2335
  });
2336
2336
  return response.data;
2337
2337
  }
2338
+ getBatchPdfUrl(month, year, token) {
2339
+ const qs = new URLSearchParams();
2340
+ qs.set("token", token);
2341
+ return `${this.route}create_batch_pdf/${month}/${year}?${qs.toString()}`;
2342
+ }
2338
2343
  };
2339
2344
 
2340
2345
  // src/modules/supply/externalDocumentHeader.ts
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.39.48",
4
+ "version": "0.39.50",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -23,7 +23,7 @@
23
23
  "prepack": "npm run lint && npm run build"
24
24
  },
25
25
  "dependencies": {
26
- "@nomalism-com/types": "^0.39.49",
26
+ "@nomalism-com/types": "^0.39.50",
27
27
  "axios": "^1.9.0"
28
28
  },
29
29
  "devDependencies": {