@nomalism-com/api 0.13.1 → 0.13.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -258,6 +258,8 @@ export * as EmailTemplate from './modules/integration/emailTemplate';
258
258
  export * as EmailTemplateAttachment from './modules/integration/emailTemplateAttachment';
259
259
  export { shared };
260
260
  type IEnvironment = 'production' | 'uat' | 'development' | 'localhost';
261
+ declare const serviceEnum: readonly ["stock", "user", "integration", "documentmanagement", "view", "print", "ticket", "pdf"];
262
+ type IService = (typeof serviceEnum)[number];
261
263
  export interface IServiceExternalPath {
262
264
  authPath: string;
263
265
  publicPath: string;
@@ -277,8 +279,8 @@ export declare class API {
277
279
  private processEnvironment;
278
280
  private gatewayUrl;
279
281
  private defaultHeaders;
280
- private client;
281
- private services;
282
+ client: AxiosInstance;
283
+ services: Record<IService, IServiceExternalPath>;
282
284
  constructor({ processEnvironment, gatewayUrl, apikey }: IOptions);
283
285
  private getModuleParams;
284
286
  Address: AddressClass;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.13.1",
12
+ "version": "0.13.2",
13
13
  "main": "dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [