gap-nodejs-sdk 1.0.698 → 1.0.699

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.
@@ -9,7 +9,7 @@ export default class CheckIn extends Base implements CheckInAbstractClass {
9
9
  static getCheckInReport(data: Request.GetCheckInReportRequest): Promise<Response.GetCheckInReportResponse>;
10
10
  static getLastCheckIn(data: Request.GetLastCheckInRequest): Promise<Response.GetLastCheckInResponse>;
11
11
  static getCheckInList(data: Request.GetCheckInListRequest): Promise<Array<Response.GetCheckInInfoResponse>>;
12
- static getCheckInListV1(data: Request.GetCheckInListV1Request): Promise<Array<Response.GetCheckInInfoResponse>>;
12
+ static getCheckInListV2(data: Request.GetCheckInListV2Request): Promise<Array<Response.GetCheckInInfoResponse>>;
13
13
  static getNewCheckInList(data: Request.GetCheckInListRequest): Promise<Array<Response.GetNewCheckInInfoResponse>>;
14
14
  static getCheckInInfo(data: Request.GetCheckInInfoRequest): Promise<Response.GetCheckInInfoResponse>;
15
15
  static searchCheckIn(data: Request.SearchCheckInRequest): Promise<Response.SearchCheckInResponse>;
@@ -44,11 +44,11 @@ export default class CheckIn extends Base {
44
44
  return (((_b = (_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.items) || []).map(item => Model.CheckInInfoModel(item));
45
45
  });
46
46
  }
47
- static getCheckInListV1(data) {
47
+ static getCheckInListV2(data) {
48
48
  var _a, _b;
49
49
  return __awaiter(this, void 0, void 0, function* () {
50
50
  const response = yield this.client.get({
51
- path: check_in.GET_CHECK_IN_LIST_V1,
51
+ path: check_in.GET_CHECK_IN_LIST_V2,
52
52
  query: data
53
53
  });
54
54
  return (((_b = (_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.items) || []).map(item => Model.CheckInInfoModel(item));
@@ -1,7 +1,7 @@
1
1
  declare const _default: {
2
2
  POST_CHECK_IN_FORM_SUBMIT: string;
3
3
  GET_CHECK_IN_LIST: string;
4
- GET_CHECK_IN_LIST_V1: string;
4
+ GET_CHECK_IN_LIST_V2: string;
5
5
  GET_CHECK_IN_NEW_LIST: string;
6
6
  GET_CHECK_IN_REPORT: string;
7
7
  GET_LAST_CHECK_IN: string;
@@ -1,7 +1,7 @@
1
1
  export default {
2
2
  POST_CHECK_IN_FORM_SUBMIT: '/v1/pos/checkin/form/submit',
3
3
  GET_CHECK_IN_LIST: '/v1/pos/checkin/site/list',
4
- GET_CHECK_IN_LIST_V1: '/v1/pos/checkin/site/list-v1',
4
+ GET_CHECK_IN_LIST_V2: '/v1/pos/checkin/site/list-v2',
5
5
  GET_CHECK_IN_NEW_LIST: '/v1/pos/checkin/site/new-list',
6
6
  GET_CHECK_IN_REPORT: '/v1/pos/checkin/site/report',
7
7
  GET_LAST_CHECK_IN: '/v1/pos/checkin/site/check-update',
@@ -13,7 +13,7 @@ export type GetCheckInListRequest = {
13
13
  'per-page'?: number;
14
14
  pos_device_name?: string;
15
15
  };
16
- export type GetCheckInListV1Request = GetCheckInListRequest & {
16
+ export type GetCheckInListV2Request = GetCheckInListRequest & {
17
17
  from_date: string;
18
18
  to_date: string;
19
19
  };