@nomalism-com/api 0.46.19 → 0.46.21

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
@@ -4586,7 +4586,7 @@ var Repository128 = class {
4586
4586
  }
4587
4587
  };
4588
4588
 
4589
- // src/modules/stock/smsSender.ts
4589
+ // src/modules/sms/smsSender.ts
4590
4590
  var smsSender_exports = {};
4591
4591
  __export(smsSender_exports, {
4592
4592
  default: () => Repository129
@@ -4645,7 +4645,8 @@ var API = class {
4645
4645
  view: getServicePath("view"),
4646
4646
  print: getServicePath("print"),
4647
4647
  tickets: getServicePath("tickets"),
4648
- llm: getServicePath("llm")
4648
+ llm: getServicePath("llm"),
4649
+ sms: getServicePath("sms")
4649
4650
  };
4650
4651
  const getModuleParams = (service, module) => ({
4651
4652
  api: this.client,
@@ -4920,7 +4921,7 @@ var API = class {
4920
4921
  );
4921
4922
  this.TimeSheet = new TimesheetRepository(getModuleParams("users", Nomalism.TimeSheet.Route));
4922
4923
  this.Catalogo = new Repository128(getModuleParams("stock", Nomalism.Catalogo.Route));
4923
- this.SmsSender = new Repository129(getModuleParams("stock", Nomalism.SmsSender.Route));
4924
+ this.SmsSender = new Repository129(getModuleParams("sms", Nomalism.SmsSender.Route));
4924
4925
  }
4925
4926
  };
4926
4927
 
package/dist/main.d.ts CHANGED
@@ -129,7 +129,7 @@ import SaftClass from './modules/supply/saft';
129
129
  import ProductLocationClass from './modules/stock/productLocation';
130
130
  import TimeSheetClass from './modules/user/timeSheet';
131
131
  import CatalogoClass from './modules/document/CAT';
132
- import SmsSenderClass from './modules/stock/smsSender';
132
+ import SmsSenderClass from './modules/sms/smsSender';
133
133
  export * as BankData from './modules/user/bankData';
134
134
  export * as Client from './modules/user/clients';
135
135
  export * as ClientType from './modules/user/clientType';
@@ -251,9 +251,9 @@ export * as Saft from './modules/supply/saft';
251
251
  export * as ProductLocation from './modules/stock/productLocation';
252
252
  export * as TimeSheet from './modules/user/timeSheet';
253
253
  export * as Catalogo from './modules/document/CAT';
254
- export * as SmsSender from './modules/stock/smsSender';
254
+ export * as SmsSender from './modules/sms/smsSender';
255
255
  export type IEnvironment = 'production' | 'uat' | 'development' | 'localhost';
256
- type IService = 'stock' | 'users' | 'integration' | 'documents' | 'view' | 'print' | 'tickets' | 'llm';
256
+ type IService = 'stock' | 'users' | 'integration' | 'documents' | 'view' | 'print' | 'tickets' | 'llm' | 'sms';
257
257
  export interface IOptions {
258
258
  processEnvironment: IEnvironment;
259
259
  services: Record<IService, string>;
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.46.19",
4
+ "version": "0.46.21",
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.46.19",
26
+ "@nomalism-com/types": "^0.46.20",
27
27
  "axios": "^1.18.0"
28
28
  },
29
29
  "devDependencies": {
File without changes