@nomalism-com/api 0.39.45 → 0.39.47

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
+ createBatchPdf(selector: Nomalism$1.Payment.ICreateBatchPdfRequest): Promise<string>;
951
952
  }
952
953
 
953
954
  declare namespace payment {
package/dist/index.js CHANGED
@@ -2335,6 +2335,12 @@ var Repository58 = class {
2335
2335
  });
2336
2336
  return response.data;
2337
2337
  }
2338
+ async createBatchPdf(selector) {
2339
+ const response = await this.api.get(
2340
+ `${this.route}create_batch_pdf${selector.month}/${selector.year}`
2341
+ );
2342
+ return response.data;
2343
+ }
2338
2344
  };
2339
2345
 
2340
2346
  // 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.45",
4
+ "version": "0.39.47",
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.39",
26
+ "@nomalism-com/types": "^0.39.48",
27
27
  "axios": "^1.9.0"
28
28
  },
29
29
  "devDependencies": {