@fatehan/tsrp 1.3.6 → 1.3.8

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/api.d.ts CHANGED
@@ -9,6 +9,7 @@ export declare class ApiService {
9
9
  private _call;
10
10
  MeIndex(request: import("./fatehan/services/api").MeRequest): Promise<import("./fatehan/services/api").MeResponse>;
11
11
  DeviceIndex(request: import("./fatehan/services/api").DeviceRequest): Promise<import("./fatehan/services/api").DeviceResponse>;
12
+ DeviceShow(request: import("./fatehan/services/api").DeviceShowRequest): Promise<import("./fatehan/services/api").DeviceShowResponse>;
12
13
  AreaIndex(request: import("./fatehan/services/api").AreaIndexRequest): Promise<import("./fatehan/services/api").AreaIndexResponse>;
13
14
  ConfigIndex(request: import("./fatehan/services/api").ConfigRequest): Promise<import("./fatehan/services/api").ConfigResponse>;
14
15
  UserIndex(request: import("./fatehan/services/api").UserRequest): Promise<import("./fatehan/services/api").UserResponse>;
package/dist/api.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,GAAG,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AASnD,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAS;IAC7B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA6C;IACvE,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAiB;gBAEvC,GAAG,EAAE,MAAM,EAAE,cAAc,EAAE,cAAc;YAKzC,KAAK;IAgCN,OAAO,CAClB,OAAO,EAAE,OAAO,wBAAwB,EAAE,SAAS,GAClD,OAAO,CAAC,OAAO,wBAAwB,EAAE,UAAU,CAAC;IAK1C,WAAW,CACtB,OAAO,EAAE,OAAO,wBAAwB,E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;IAO9C,UAAU,CACnB,OAAO,EAAE,OAAO,wBAAwB,EAAE,iBAAiB,GAC5D,OAAO,CAAC,OAAO,wBAAwB,EAAE,kBAAkB,CAAC;IAOlD,SAAS,CAClB,OAAO,EAAE,OAAO,wBAAwB,EAAE,gBAAgB,GAC3D,OAAO,CAAC,OAAO,wBAAwB,EAAE,iBAAiB,CAAC;IAYjD,WAAW,CACpB,OAAO,EAAE,OAAO,wBAAwB,EAAE,aAAa,GACxD,OAAO,CAAC,OAAO,wBAAwB,EAAE,cAAc,CAAC;IAO9C,SAAS,CAClB,OAAO,EAAE,OAAO,wBAAwB,EAAE,WAAW,GACtD,OAAO,CAAC,OAAO,wBAAwB,EAAE,YAAY,CAAC;IAO5C,OAAO,CAChB,OAAO,EAAE,OAAO,wBAAwB,EAAE,SAAS,GACpD,OAAO,CAAC,OAAO,wBAAwB,EAAE,UAAU,CAAC;IAgC1C,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAuB5D"}
package/dist/api.js CHANGED
@@ -74,6 +74,10 @@ class ApiService {
74
74
  const { DeviceRequest, DeviceResponse } = await Promise.resolve().then(() => __importStar(require("./fatehan/services/api")));
75
75
  return this._call("DeviceIndex", request, DeviceRequest, DeviceResponse);
76
76
  }
77
+ async DeviceShow(request) {
78
+ const { DeviceShowRequest, DeviceShowResponse } = await Promise.resolve().then(() => __importStar(require("./fatehan/services/api")));
79
+ return this._call("DeviceShow", request, DeviceShowRequest, DeviceShowResponse);
80
+ }
77
81
  async AreaIndex(request) {
78
82
  const { AreaIndexRequest, AreaIndexResponse } = await Promise.resolve().then(() => __importStar(require("./fatehan/services/api")));
79
83
  return this._call("AreaIndex", request, AreaIndexRequest, AreaIndexResponse);
package/dist/auth.d.ts CHANGED
@@ -5,7 +5,7 @@ export declare class AuthService {
5
5
  private readonly getDynamicHeaders;
6
6
  constructor(url: string, headerProvider: HeaderProvider);
7
7
  private _call;
8
- AuthRequest(request: import("./fatehan/identities/authentication").AuthRequest): Promise<import("./fatehan/identities/authentication").AuthResponse>;
8
+ Authenticate(request: import("./fatehan/identities/authentication").AuthRequest): Promise<import("./fatehan/identities/authentication").AuthResponse>;
9
9
  OtpCode(request: import("./fatehan/identities/authentication").OtpCodeRequest): Promise<import("./fatehan/identities/authentication").OtpCodeResponse>;
10
10
  }
11
11
  //# sourceMappingURL=auth.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,GAAG,CAAC;AAEnC,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAS;IAC7B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAgD;IAC1E,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAiB;gBAEvC,GAAG,EAAE,MAAM,EAAE,cAAc,EAAE,cAAc;YAKzC,KAAK;IAgCN,WAAW,CACtB,OAAO,EAAE,OAAO,qCAAqC,EAAE,WAAW,GACjE,OAAO,CAAC,OAAO,qCAAqC,EAAE,YAAY,CAAC;IAOzD,OAAO,CAClB,OAAO,EAAE,OAAO,qCAAqC,EAAE,cAAc,GACpE,OAAO,CAAC,OAAO,qCAAqC,EAAE,eAAe,CAAC;CAM1E"}
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,GAAG,CAAC;AAEnC,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAS;IAC7B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAgD;IAC1E,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAiB;gBAEvC,GAAG,EAAE,MAAM,EAAE,cAAc,EAAE,cAAc;YAKzC,KAAK;IAgCN,YAAY,CACvB,OAAO,EAAE,OAAO,qCAAqC,EAAE,WAAW,GACjE,OAAO,CAAC,OAAO,qCAAqC,EAAE,YAAY,CAAC;IAOzD,OAAO,CAClB,OAAO,EAAE,OAAO,qCAAqC,EAAE,cAAc,GACpE,OAAO,CAAC,OAAO,qCAAqC,EAAE,eAAe,CAAC;CAM1E"}
package/dist/auth.js CHANGED
@@ -61,9 +61,9 @@ class AuthService {
61
61
  throw new Error(`API Error (${response.status}): ${errorText}`);
62
62
  }
63
63
  }
64
- async AuthRequest(request) {
64
+ async Authenticate(request) {
65
65
  const { AuthRequest, AuthResponse } = await Promise.resolve().then(() => __importStar(require("./fatehan/identities/authentication")));
66
- return this._call("AuthRequest", request, AuthRequest, AuthResponse);
66
+ return this._call("Authenticate", request, AuthRequest, AuthResponse);
67
67
  }
68
68
  async OtpCode(request) {
69
69
  const { OtpCodeRequest, OtpCodeResponse } = await Promise.resolve().then(() => __importStar(require("./fatehan/identities/authentication")));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fatehan/tsrp",
3
- "version": "1.3.6",
3
+ "version": "1.3.8",
4
4
  "description": "fatehan main models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",