gap-nodejs-sdk 1.0.695 → 1.0.696

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.
@@ -6,6 +6,6 @@ import * as Response from "../types/response";
6
6
  export default class KeyStorage extends Base implements KeyStorageAbstractClass {
7
7
  static API_VERSION: GapApiVersion;
8
8
  static getPosKeyStorage(data: Request.GetPosKeyStorageRequest): Promise<Response.GetPosKeyStorageResponse>;
9
- static getPosKeyStorageAppointment(data: Request.GetPosKeyStorageAppointmentRequest): Promise<any>;
9
+ static getKeyStorageList(data: Request.GetPosKeyStorageAppointmentRequest): Promise<any>;
10
10
  }
11
11
  //# sourceMappingURL=key_storage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/api/key_storage.ts"],"names":[],"mappings":"AACA,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAChE,OAAO,IAAI,MAAM,uBAAuB,CAAC;AACzC,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,IAAK,YAAW,uBAAuB;IAC3E,OAAc,WAAW,gBAAoB;WAEzB,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC;WAUnG,2BAA2B,CAAC,IAAI,EAAE,OAAO,CAAC,kCAAkC,GAAG,OAAO,CAAC,GAAG,CAAC;CASlH"}
1
+ {"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../../src/api/pos_client_api/1.0.0/api/key_storage.ts"],"names":[],"mappings":"AACA,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAChE,OAAO,IAAI,MAAM,uBAAuB,CAAC;AACzC,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,IAAK,YAAW,uBAAuB;IAC3E,OAAc,WAAW,gBAAoB;WAEzB,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC;WAUnG,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,kCAAkC,GAAG,OAAO,CAAC,GAAG,CAAC;CASxG"}
@@ -14,11 +14,11 @@ export default class KeyStorage extends Base {
14
14
  return Model.KeyStorageModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
15
15
  });
16
16
  }
17
- static getPosKeyStorageAppointment(data) {
17
+ static getKeyStorageList(data) {
18
18
  var _a;
19
19
  return __awaiter(this, void 0, void 0, function* () {
20
20
  const response = yield this.client.get({
21
- path: key_storage.GET_POS_KEY_STORAGE,
21
+ path: key_storage.GET_KEY_STORAGE_LIST,
22
22
  query: data
23
23
  });
24
24
  return (_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  GET_POS_KEY_STORAGE: string;
3
- GET_POS_KEY_STORAGE_APPOINTMENT: string;
3
+ GET_KEY_STORAGE_LIST: string;
4
4
  };
5
5
  export default _default;
6
6
  //# sourceMappingURL=key_storage.d.ts.map
@@ -1,4 +1,4 @@
1
1
  export default {
2
2
  GET_POS_KEY_STORAGE: '/v1/pos/user/site/get-key-storage',
3
- GET_POS_KEY_STORAGE_APPOINTMENT: '/v1/settings/key-storage/get-key',
3
+ GET_KEY_STORAGE_LIST: '/v1/settings/key-storage/get-key',
4
4
  };
@@ -1,4 +1,4 @@
1
1
  export default {
2
2
  POST_LOGIN_API: '/v1/pos/user/form/login',
3
- POST_GET_KEY_STORAGE_APPOINTMENT: '/v1/pos/user/site/get-key-storage-appointment'
3
+ POST_GET_KEY_STORAGE_APPOINTMENT: '/v1/settings/key-storage/get-key'
4
4
  };
@@ -3,6 +3,6 @@ export type GetPosKeyStorageRequest = {
3
3
  end_date: string;
4
4
  };
5
5
  export type GetPosKeyStorageAppointmentRequest = {
6
- key: string;
6
+ keys: string[];
7
7
  };
8
8
  //# sourceMappingURL=key_storage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/key_storage.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AACD,MAAM,MAAM,kCAAkC,GAAG;IAC7C,GAAG,EAAE,MAAM,CAAC;CACf,CAAA"}
1
+ {"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/request/key_storage.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AACD,MAAM,MAAM,kCAAkC,GAAG;IAC7C,IAAI,EAAE,MAAM,EAAE,CAAC;CAClB,CAAA"}