@nomalism-com/api 0.40.12 → 0.40.13

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
@@ -43,6 +43,7 @@ __export(main_exports, {
43
43
  File: () => file_exports,
44
44
  GmailsClass: () => gmails_exports,
45
45
  GoogleFilePermission: () => googleFilePermission_exports,
46
+ GoogleSheetPoolClass: () => googleSheetPool_exports,
46
47
  GoogleSheets: () => googleSheets_exports,
47
48
  GroupPermissions: () => groupPermission_exports,
48
49
  Inventario: () => inventario_exports,
@@ -4190,6 +4191,23 @@ var Repository120 = class {
4190
4191
  }
4191
4192
  };
4192
4193
 
4194
+ // src/modules/supply/googleSheetPool.ts
4195
+ var googleSheetPool_exports = {};
4196
+ __export(googleSheetPool_exports, {
4197
+ default: () => Repository121
4198
+ });
4199
+ var Repository121 = class {
4200
+ constructor({ api, route, publicRoute }) {
4201
+ this.api = api;
4202
+ this.route = route;
4203
+ this.publicRoute = publicRoute;
4204
+ }
4205
+ async clearAndFill() {
4206
+ const response = await this.api.post(`${this.route}clear_and_fill`);
4207
+ return response.data;
4208
+ }
4209
+ };
4210
+
4193
4211
  // src/main.ts
4194
4212
  var API = class {
4195
4213
  constructor({ processEnvironment, services, gatewayUrl, apikey, tokenBearer }) {
@@ -4388,6 +4406,7 @@ var API = class {
4388
4406
  this.PaymentBatch = new Repository119(getModuleParams("stock", "payment_batch"));
4389
4407
  this.CurrentAccount = new Repository118(getModuleParams("stock", "current_account"));
4390
4408
  this.Portal = new Repository120(getModuleParams("stock", "portal"));
4409
+ this.GoogleSheetPool = new Repository121(getModuleParams("stock", "google_sheet_pool"));
4391
4410
  }
4392
4411
  };
4393
4412
 
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.40.12",
4
+ "version": "0.40.13",
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.40.14",
26
+ "@nomalism-com/types": "^0.40.15",
27
27
  "axios": "^1.9.0"
28
28
  },
29
29
  "devDependencies": {