gap-nodejs-sdk 1.0.26 → 1.0.29
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/gap-sdk.js +1 -1
- package/dist/pos_client_api/1.0.0/api/batch_history.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/batch_history.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/batch_history.js +2 -0
- package/dist/pos_client_api/1.0.0/api/business.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/business.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/business.js +2 -0
- package/dist/pos_client_api/1.0.0/api/call.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/call.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/call.js +2 -0
- package/dist/pos_client_api/1.0.0/api/category.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/category.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/category.js +2 -0
- package/dist/pos_client_api/1.0.0/api/check_in.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/check_in.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/check_in.js +2 -0
- package/dist/pos_client_api/1.0.0/api/check_out.d.ts +9 -7
- package/dist/pos_client_api/1.0.0/api/check_out.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/check_out.js +23 -7
- package/dist/pos_client_api/1.0.0/api/combo.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/combo.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/combo.js +2 -0
- package/dist/pos_client_api/1.0.0/api/customer.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/customer.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/customer.js +2 -0
- package/dist/pos_client_api/1.0.0/api/gift_card.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/gift_card.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/gift_card.js +2 -0
- package/dist/pos_client_api/1.0.0/api/income.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/income.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/income.js +2 -0
- package/dist/pos_client_api/1.0.0/api/key_storage.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/key_storage.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/key_storage.js +2 -0
- package/dist/pos_client_api/1.0.0/api/order.d.ts +2 -1
- package/dist/pos_client_api/1.0.0/api/order.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/order.js +11 -10
- package/dist/pos_client_api/1.0.0/api/payroll.d.ts +1 -2
- package/dist/pos_client_api/1.0.0/api/payroll.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/payroll.js +1 -2
- package/dist/pos_client_api/1.0.0/api/printer.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/printer.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/printer.js +2 -0
- package/dist/pos_client_api/1.0.0/api/service.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/service.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/service.js +2 -0
- package/dist/pos_client_api/1.0.0/api/setting_turn.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/setting_turn.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/setting_turn.js +2 -0
- package/dist/pos_client_api/1.0.0/api/staff.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/staff.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/staff.js +2 -0
- package/dist/pos_client_api/1.0.0/api/ticket.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/ticket.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/ticket.js +2 -0
- package/dist/pos_client_api/1.0.0/api/time_keeping.d.ts +3 -2
- package/dist/pos_client_api/1.0.0/api/time_keeping.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/time_keeping.js +2 -0
- package/dist/pos_client_api/1.0.0/api/unsubscribe_contact.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/unsubscribe_contact.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/unsubscribe_contact.js +2 -0
- package/dist/pos_client_api/1.0.0/api/user.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/api/user.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/user.js +2 -0
- package/dist/pos_client_api/1.0.0/endpoints/order.d.ts +0 -1
- package/dist/pos_client_api/1.0.0/endpoints/order.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/endpoints/order.js +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/call.d.ts +2 -2
- package/dist/pos_client_api/1.0.0/interfaces/call.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/category.d.ts +2 -2
- package/dist/pos_client_api/1.0.0/interfaces/category.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/check_in.d.ts +4 -5
- package/dist/pos_client_api/1.0.0/interfaces/check_in.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/check_out.d.ts +34 -31
- package/dist/pos_client_api/1.0.0/interfaces/check_out.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/combo.d.ts +3 -3
- package/dist/pos_client_api/1.0.0/interfaces/combo.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/customer.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/gift_card.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/income.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/key_storage.d.ts +2 -2
- package/dist/pos_client_api/1.0.0/interfaces/key_storage.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/order.d.ts +8 -8
- package/dist/pos_client_api/1.0.0/interfaces/order.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/payroll.d.ts +17 -18
- package/dist/pos_client_api/1.0.0/interfaces/payroll.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/printer.d.ts +5 -5
- package/dist/pos_client_api/1.0.0/interfaces/printer.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/service.d.ts +2 -2
- package/dist/pos_client_api/1.0.0/interfaces/service.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/setting_turn.d.ts +3 -3
- package/dist/pos_client_api/1.0.0/interfaces/setting_turn.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/staff.d.ts +3 -3
- package/dist/pos_client_api/1.0.0/interfaces/staff.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/ticket.d.ts +8 -8
- package/dist/pos_client_api/1.0.0/interfaces/ticket.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/time_keeping.d.ts +8 -9
- package/dist/pos_client_api/1.0.0/interfaces/time_keeping.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/user.d.ts +2 -2
- package/dist/pos_client_api/1.0.0/interfaces/user.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/models/batch_history.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/models/batch_history.js +26 -23
- package/dist/pos_client_api/1.0.0/models/check_out.d.ts +2 -0
- package/dist/pos_client_api/1.0.0/models/check_out.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/models/check_out.js +31 -12
- package/dist/pos_client_api/1.0.0/models/income.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/models/key_storage.js +34 -33
- package/dist/pos_client_api/1.0.0/types/request/check_out.d.ts +3 -3
- package/dist/pos_client_api/1.0.0/types/request/check_out.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/response/batch_history.d.ts +29 -28
- package/dist/pos_client_api/1.0.0/types/response/batch_history.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/response/category.d.ts +11 -10
- package/dist/pos_client_api/1.0.0/types/response/category.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/response/check_in.d.ts +7 -6
- package/dist/pos_client_api/1.0.0/types/response/check_in.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/response/check_out.d.ts +17 -0
- package/dist/pos_client_api/1.0.0/types/response/check_out.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/response/combo.d.ts +25 -24
- package/dist/pos_client_api/1.0.0/types/response/combo.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/response/income.d.ts +23 -22
- package/dist/pos_client_api/1.0.0/types/response/income.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/response/key_storage.d.ts +27 -25
- package/dist/pos_client_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/response/order.d.ts +91 -90
- package/dist/pos_client_api/1.0.0/types/response/order.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/response/payroll.d.ts +75 -74
- package/dist/pos_client_api/1.0.0/types/response/payroll.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/response/staff.d.ts +10 -9
- package/dist/pos_client_api/1.0.0/types/response/staff.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import BatchHistoryAbstractClass from "../interfaces/batch_history";
|
|
2
2
|
import Base from "../../../base/Base";
|
|
3
|
+
import { GapApiVersion } from "../../../base_type";
|
|
3
4
|
import * as Request from "../types/request";
|
|
4
5
|
import * as Response from "../types/response";
|
|
5
6
|
export default class BatchHistory extends Base implements BatchHistoryAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static getBatchHistory(data: Request.GetBatchHistoryRequest): Promise<Array<Response.GetBatchHistoryResponse>>;
|
|
7
9
|
static getBatchDetail(data: Request.GetBatchDetailRequest): Promise<Response.GetBatchDetailResponse>;
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch_history.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/batch_history.ts"],"names":[],"mappings":"AACA,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AACpE,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,IAAK,YAAW,yBAAyB;
|
|
1
|
+
{"version":3,"file":"batch_history.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/batch_history.ts"],"names":[],"mappings":"AACA,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AACpE,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,IAAK,YAAW,yBAAyB;IAC/E,OAAc,WAAW,gBAAoB;WAEzB,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,sBAAsB,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC;WAUvG,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC;CASpH"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import * as posEndpoints from "../endpoints";
|
|
3
3
|
import Base from "../../../base/Base";
|
|
4
|
+
import { GapApiVersion } from "../../../base_type";
|
|
4
5
|
import * as Model from "../models";
|
|
5
6
|
export default class BatchHistory extends Base {
|
|
6
7
|
static getBatchHistory(data) {
|
|
@@ -23,3 +24,4 @@ export default class BatchHistory extends Base {
|
|
|
23
24
|
});
|
|
24
25
|
}
|
|
25
26
|
}
|
|
27
|
+
BatchHistory.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import BusinessAbstractClass from "../interfaces/business";
|
|
2
2
|
import Base from "../../../base/Base";
|
|
3
|
+
import { GapApiVersion } from "../../../base_type";
|
|
3
4
|
import * as Request from "../types/request";
|
|
4
5
|
import * as Response from "../types/response";
|
|
5
6
|
export default class Business extends Base implements BusinessAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static getBusinessInfo(data: Request.GetBusinessInfoRequest): Promise<Response.GetBusinessInfoResponse>;
|
|
7
9
|
static postBusinessUpdateInfo(data: Request.PostBusinessUpdateInfoRequest): Promise<Response.PostBusinessUpdateInfoResponse>;
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/business.ts"],"names":[],"mappings":"AACA,OAAO,qBAAqB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,IAAK,YAAW,qBAAqB;
|
|
1
|
+
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/business.ts"],"names":[],"mappings":"AACA,OAAO,qBAAqB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,IAAK,YAAW,qBAAqB;IACvE,OAAc,WAAW,gBAAoB;WAEzB,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,sBAAsB,GAAG,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAAC;WAUhG,sBAAsB,CAAC,IAAI,EAAE,OAAO,CAAC,6BAA6B,GAAG,OAAO,CAAC,QAAQ,CAAC,8BAA8B,CAAC;CAS5I"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import * as posEndpoints from "../endpoints";
|
|
3
3
|
import Base from "../../../base/Base";
|
|
4
|
+
import { GapApiVersion } from "../../../base_type";
|
|
4
5
|
import * as Model from "../models";
|
|
5
6
|
export default class Business extends Base {
|
|
6
7
|
static getBusinessInfo(data) {
|
|
@@ -22,3 +23,4 @@ export default class Business extends Base {
|
|
|
22
23
|
});
|
|
23
24
|
}
|
|
24
25
|
}
|
|
26
|
+
Business.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import CallAbstractClass from "../interfaces/call";
|
|
2
2
|
import Base from "../../../base/Base";
|
|
3
|
+
import { GapApiVersion } from "../../../base_type";
|
|
3
4
|
import * as Request from "../types/request";
|
|
4
5
|
export default class Call extends Base implements CallAbstractClass {
|
|
6
|
+
static API_VERSION: GapApiVersion;
|
|
5
7
|
static sendSms(data: Request.SendSmsRequest): Promise<null>;
|
|
6
8
|
}
|
|
7
9
|
//# sourceMappingURL=call.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/call.ts"],"names":[],"mappings":"AACA,OAAO,iBAAiB,MAAM,oBAAoB,CAAC;AACnD,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAA;AAE3C,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,IAAK,YAAW,iBAAiB;
|
|
1
|
+
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/call.ts"],"names":[],"mappings":"AACA,OAAO,iBAAiB,MAAM,oBAAoB,CAAC;AACnD,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAA;AAE3C,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,IAAK,YAAW,iBAAiB;IAC/D,OAAc,WAAW,gBAAoB;WAEzB,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAS3E"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import * as posEndpoints from "../endpoints";
|
|
3
3
|
import Base from "../../../base/Base";
|
|
4
|
+
import { GapApiVersion } from "../../../base_type";
|
|
4
5
|
export default class Call extends Base {
|
|
5
6
|
static sendSms(data) {
|
|
6
7
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12,3 +13,4 @@ export default class Call extends Base {
|
|
|
12
13
|
});
|
|
13
14
|
}
|
|
14
15
|
}
|
|
16
|
+
Call.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import CategoryAbstractClass from "../interfaces/category";
|
|
2
2
|
import Base from "../../../base/Base";
|
|
3
|
+
import { GapApiVersion } from "../../../base_type";
|
|
3
4
|
import * as Request from "../types/request";
|
|
4
5
|
import * as Response from "../types/response";
|
|
5
6
|
export default class Category extends Base implements CategoryAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static getCategoryListItem(data: Request.GetCategoryListItemRequest): Promise<Array<Response.GetCategoryListItemResponse>>;
|
|
7
9
|
}
|
|
8
10
|
//# sourceMappingURL=category.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/category.ts"],"names":[],"mappings":"AACA,OAAO,qBAAqB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,IAAK,YAAW,qBAAqB;
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/category.ts"],"names":[],"mappings":"AACA,OAAO,qBAAqB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,IAAK,YAAW,qBAAqB;IACvE,OAAc,WAAW,gBAAoB;WAEzB,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,0BAA0B,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;CAS1I"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import * as posEndpoints from "../endpoints";
|
|
3
3
|
import Base from "../../../base/Base";
|
|
4
|
+
import { GapApiVersion } from "../../../base_type";
|
|
4
5
|
import * as Model from "../models";
|
|
5
6
|
export default class Category extends Base {
|
|
6
7
|
static getCategoryListItem(data) {
|
|
@@ -14,3 +15,4 @@ export default class Category extends Base {
|
|
|
14
15
|
});
|
|
15
16
|
}
|
|
16
17
|
}
|
|
18
|
+
Category.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import CheckInAbstractClass from "../interfaces/check_in";
|
|
2
2
|
import Base from "../../../base/Base";
|
|
3
|
+
import { GapApiVersion } from "../../../base_type";
|
|
3
4
|
import * as Request from "../types/request";
|
|
4
5
|
import * as Response from "../types/response";
|
|
5
6
|
export default class CheckIn extends Base implements CheckInAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static postCheckInFormSubmit(data: Request.PostCheckInFormSubmitRequest): Promise<Response.PostCheckInFormSubmitResponse>;
|
|
7
9
|
static getCheckInReport(data: Request.GetCheckInReportRequest): Promise<Response.GetCheckInReportResponse>;
|
|
8
10
|
static getLastCheckIn(data: Request.GetLastCheckInRequest): Promise<Response.GetLastCheckInResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/check_in.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAC1D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,IAAK,YAAW,oBAAoB;
|
|
1
|
+
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/check_in.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAC1D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,IAAK,YAAW,oBAAoB;IACrE,OAAc,WAAW,gBAAoB;WAEzB,qBAAqB,CAAC,IAAI,EAAE,OAAO,CAAC,4BAA4B,GAAG,OAAO,CAAC,QAAQ,CAAC,6BAA6B,CAAC;WAUlH,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC;WAUnG,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC;WAU7F,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAC;WAUpG,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC;CASpH"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import * as posEndpoints from "../endpoints";
|
|
3
3
|
import Base from "../../../base/Base";
|
|
4
|
+
import { GapApiVersion } from "../../../base_type";
|
|
4
5
|
import * as Model from "../models";
|
|
5
6
|
export default class CheckIn extends Base {
|
|
6
7
|
static postCheckInFormSubmit(data) {
|
|
@@ -53,3 +54,4 @@ export default class CheckIn extends Base {
|
|
|
53
54
|
});
|
|
54
55
|
}
|
|
55
56
|
}
|
|
57
|
+
CheckIn.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import CheckOutAbstractClass from "../interfaces/check_out";
|
|
2
2
|
import Base from "../../../base/Base";
|
|
3
|
+
import { GapApiVersion } from "../../../base_type";
|
|
3
4
|
import * as Request from "../types/request";
|
|
4
5
|
import * as Response from "../types/response";
|
|
5
6
|
export default class CheckOut extends Base implements CheckOutAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static postUpdateInService(data: Request.PostUpdateInServiceRequest): Promise<Response.PostUpdateInServiceResponse>;
|
|
7
9
|
static getItemList(data: Request.GetItemListRequest): Promise<any>;
|
|
8
10
|
static getCheckOutHistoryList(data: Request.GetCheckOutHistoryListRequest): Promise<Response.DataWithMeta<Array<Response.GetCheckOutHistoryListResponse>>>;
|
|
@@ -12,26 +14,26 @@ export default class CheckOut extends Base implements CheckOutAbstractClass {
|
|
|
12
14
|
static postCheckOutAddItem(data: Request.PostCheckOutAddItemRequest): Promise<Response.PostCheckOutAddItemResponse>;
|
|
13
15
|
static postCheckOutRemoveItem(data: Request.PostCheckOutRemoveItemRequest): Promise<any>;
|
|
14
16
|
static postCheckOutSubmitOrder(data: Request.PostCheckOutSubmitOrderRequest): Promise<any>;
|
|
15
|
-
static postCheckOutUpdateStatus(data: Request.PostCheckOutUpdateStatusRequest): Promise<
|
|
17
|
+
static postCheckOutUpdateStatus(data: Request.PostCheckOutUpdateStatusRequest): Promise<Response.PostCheckOutUpdateStatusResponse>;
|
|
16
18
|
static postCheckOutUpdateOrderWithCreditCardPayment(data: Request.PostCheckOutUpdateOrderWithCreditCardPaymentRequest): Promise<any>;
|
|
17
19
|
static postCheckOutDoAuth(data: Request.PostCheckOutDoAuthRequest): Promise<any>;
|
|
18
20
|
static postCheckOutVoidPayment(data: Request.PostCheckOutVoidPaymentRequest): Promise<any>;
|
|
19
21
|
static postCheckOutRefundPayment(data: Request.PostCheckOutRefundPaymentRequest): Promise<any>;
|
|
20
22
|
static postCheckOutAdjustTipPayment(data: Request.PostCheckOutAdjustTipPaymentRequest): Promise<any>;
|
|
21
23
|
static postCheckOutCloseOut(data: Request.PostCheckOutCloseOutRequest): Promise<any>;
|
|
22
|
-
static postCheckOutUpdateIsWaiting(data: Request.PostCheckOutUpdateIsWaitingRequest): Promise<
|
|
23
|
-
static postCheckOutDiscountPromotion(data: Request.PostCheckOutDiscountPromotionRequest): Promise<
|
|
24
|
-
static postCheckOutDiscountRedeem(data: Request.PostCheckOutDiscountRedeemRequest): Promise<
|
|
24
|
+
static postCheckOutUpdateIsWaiting(data: Request.PostCheckOutUpdateIsWaitingRequest): Promise<Response.PostCheckOutUpdateIsWaitingResponse>;
|
|
25
|
+
static postCheckOutDiscountPromotion(data: Request.PostCheckOutDiscountPromotionRequest): Promise<Response.PostCheckOutDiscountPromotionResponse>;
|
|
26
|
+
static postCheckOutDiscountRedeem(data: Request.PostCheckOutDiscountRedeemRequest): Promise<Response.PostCheckOutDiscountRedeemResponse>;
|
|
25
27
|
static postCheckOutUpdateTipData(data: Request.PostCheckOutUpdateTipDataRequest): Promise<any>;
|
|
26
28
|
static postCheckOutItemAdjustPrice(data: Request.PostCheckOutItemAdjustPriceRequest): Promise<any>;
|
|
27
|
-
static postCheckOutUpdatePaymentData(data: Request.PostCheckOutUpdatePaymentDataRequest): Promise<
|
|
29
|
+
static postCheckOutUpdatePaymentData(data: Request.PostCheckOutUpdatePaymentDataRequest): Promise<Response.PostCheckOutUpdatePaymentDataResponse>;
|
|
28
30
|
static postCheckOutItemAddCombo(data: Request.PostCheckOutItemAddComboRequest): Promise<any>;
|
|
29
31
|
static getCheckoutResendRating(data: Request.GetCheckoutResendRatingRequest): Promise<Response.GetCheckoutResendRatingResponse>;
|
|
30
32
|
static postCustomerAchAvailable(data: Request.PostCustomerAchAvailableRequest): Promise<any>;
|
|
31
33
|
static postAchResend(data: Request.PostAchResendRequest): Promise<any>;
|
|
32
34
|
static postAchVoid(data: Request.PostAchVoidRequest): Promise<any>;
|
|
33
|
-
static postUpdateOrderSuccessToSettled(data: Request.PostUpdateOrderSuccessToSettledRequest): Promise<
|
|
34
|
-
static postCalculateTax(data: Request.PostCalculateTaxRequest): Promise<
|
|
35
|
+
static postUpdateOrderSuccessToSettled(data: Request.PostUpdateOrderSuccessToSettledRequest): Promise<Array<Response.PostUpdateOrderSuccessToSettledResponse>>;
|
|
36
|
+
static postCalculateTax(data: Request.PostCalculateTaxRequest): Promise<Response.PostCalculateTaxResponse>;
|
|
35
37
|
static postCalculatePayment(data: Request.PostCalculatePaymentRequest): Promise<any>;
|
|
36
38
|
static postCheckOutDeleteByStaff(data: Request.PostCheckOutDeleteByStaffRequest): Promise<Response.PostCheckOutDeleteByStaffResponse>;
|
|
37
39
|
static postCheckOutUpdateItem(data: Request.PostCheckOutUpdateItemRequest): Promise<Response.PostCheckOutUpdateItemResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check_out.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/check_out.ts"],"names":[],"mappings":"AACA,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"check_out.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/check_out.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import * as posEndpoints from "../endpoints";
|
|
3
3
|
import Base from "../../../base/Base";
|
|
4
|
+
import { GapApiVersion } from "../../../base_type";
|
|
4
5
|
import * as Model from "../models";
|
|
5
6
|
export default class CheckOut extends Base {
|
|
6
7
|
static postUpdateInService(data) {
|
|
@@ -94,11 +95,13 @@ export default class CheckOut extends Base {
|
|
|
94
95
|
});
|
|
95
96
|
}
|
|
96
97
|
static postCheckOutUpdateStatus(data) {
|
|
98
|
+
var _a;
|
|
97
99
|
return __awaiter(this, void 0, void 0, function* () {
|
|
98
|
-
|
|
100
|
+
const response = yield this.client.post({
|
|
99
101
|
path: posEndpoints.check_out.POST_CHECKOUT_UPDATE_STATUS,
|
|
100
102
|
data: data
|
|
101
103
|
});
|
|
104
|
+
return Model.CheckOutInfoModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
102
105
|
});
|
|
103
106
|
}
|
|
104
107
|
static postCheckOutUpdateOrderWithCreditCardPayment(data) {
|
|
@@ -150,27 +153,33 @@ export default class CheckOut extends Base {
|
|
|
150
153
|
});
|
|
151
154
|
}
|
|
152
155
|
static postCheckOutUpdateIsWaiting(data) {
|
|
156
|
+
var _a;
|
|
153
157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
154
|
-
|
|
158
|
+
const response = yield this.client.post({
|
|
155
159
|
path: posEndpoints.check_out.POST_CHECKOUT_UPDATE_IS_WAITING,
|
|
156
160
|
data: data
|
|
157
161
|
});
|
|
162
|
+
return Model.CheckOutInfoModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
158
163
|
});
|
|
159
164
|
}
|
|
160
165
|
static postCheckOutDiscountPromotion(data) {
|
|
166
|
+
var _a;
|
|
161
167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
162
|
-
|
|
168
|
+
const response = yield this.client.post({
|
|
163
169
|
path: posEndpoints.check_out.POST_CHECKOUT_DISCOUNT_PROMOTION,
|
|
164
170
|
data: data
|
|
165
171
|
});
|
|
172
|
+
return Model.CheckOutInfoModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
166
173
|
});
|
|
167
174
|
}
|
|
168
175
|
static postCheckOutDiscountRedeem(data) {
|
|
176
|
+
var _a;
|
|
169
177
|
return __awaiter(this, void 0, void 0, function* () {
|
|
170
|
-
|
|
178
|
+
const response = yield this.client.post({
|
|
171
179
|
path: posEndpoints.check_out.POST_CHECKOUT_DISCOUNT_REDEEM,
|
|
172
180
|
data: data
|
|
173
181
|
});
|
|
182
|
+
return Model.CheckOutInfoModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
174
183
|
});
|
|
175
184
|
}
|
|
176
185
|
static postCheckOutUpdateTipData(data) {
|
|
@@ -190,11 +199,13 @@ export default class CheckOut extends Base {
|
|
|
190
199
|
});
|
|
191
200
|
}
|
|
192
201
|
static postCheckOutUpdatePaymentData(data) {
|
|
202
|
+
var _a;
|
|
193
203
|
return __awaiter(this, void 0, void 0, function* () {
|
|
194
|
-
|
|
204
|
+
const response = yield this.client.post({
|
|
195
205
|
path: posEndpoints.check_out.POST_CHECKOUT_UPDATE_PAYMENT_DATA,
|
|
196
206
|
data: data
|
|
197
207
|
});
|
|
208
|
+
return Model.CheckOutUpdatePaymentDataModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
198
209
|
});
|
|
199
210
|
}
|
|
200
211
|
static postCheckOutItemAddCombo(data) {
|
|
@@ -240,19 +251,23 @@ export default class CheckOut extends Base {
|
|
|
240
251
|
});
|
|
241
252
|
}
|
|
242
253
|
static postUpdateOrderSuccessToSettled(data) {
|
|
254
|
+
var _a;
|
|
243
255
|
return __awaiter(this, void 0, void 0, function* () {
|
|
244
|
-
|
|
256
|
+
const response = yield this.client.post({
|
|
245
257
|
path: posEndpoints.check_out.POST_UPDATE_ORDER_SUCCESS_TO_SETTLED,
|
|
246
258
|
data: data
|
|
247
259
|
});
|
|
260
|
+
return (((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data) || []).map(item => Model.UpdateOrderSuccessToSettledModel(item));
|
|
248
261
|
});
|
|
249
262
|
}
|
|
250
263
|
static postCalculateTax(data) {
|
|
264
|
+
var _a;
|
|
251
265
|
return __awaiter(this, void 0, void 0, function* () {
|
|
252
|
-
|
|
266
|
+
const response = yield this.client.post({
|
|
253
267
|
path: posEndpoints.check_out.POST_CALCULATE_TAX,
|
|
254
268
|
data: data
|
|
255
269
|
});
|
|
270
|
+
return Model.CheckOutInfoModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
256
271
|
});
|
|
257
272
|
}
|
|
258
273
|
static postCalculatePayment(data) {
|
|
@@ -294,3 +309,4 @@ export default class CheckOut extends Base {
|
|
|
294
309
|
});
|
|
295
310
|
}
|
|
296
311
|
}
|
|
312
|
+
CheckOut.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import ComboAbstractClass from "../interfaces/combo";
|
|
2
2
|
import Base from "../../../base/Base";
|
|
3
|
+
import { GapApiVersion } from "../../../base_type";
|
|
3
4
|
import * as Request from "../types/request";
|
|
4
5
|
import * as Response from "../types/response";
|
|
5
6
|
export default class Combo extends Base implements ComboAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static getComboSiteInfo(data: Request.GetComboSiteInfoRequest): Promise<Response.GetComboSiteInfoResponse>;
|
|
7
9
|
}
|
|
8
10
|
//# sourceMappingURL=combo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combo.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/combo.ts"],"names":[],"mappings":"AACA,OAAO,kBAAkB,MAAM,qBAAqB,CAAC;AACrD,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,IAAK,YAAW,kBAAkB;
|
|
1
|
+
{"version":3,"file":"combo.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/combo.ts"],"names":[],"mappings":"AACA,OAAO,kBAAkB,MAAM,qBAAqB,CAAC;AACrD,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,IAAK,YAAW,kBAAkB;IACjE,OAAc,WAAW,gBAAoB;WAEzB,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC;CAS1H"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import * as posEndpoints from "../endpoints";
|
|
3
3
|
import Base from "../../../base/Base";
|
|
4
|
+
import { GapApiVersion } from "../../../base_type";
|
|
4
5
|
import * as Model from "../models";
|
|
5
6
|
export default class Combo extends Base {
|
|
6
7
|
static getComboSiteInfo(data) {
|
|
@@ -14,3 +15,4 @@ export default class Combo extends Base {
|
|
|
14
15
|
});
|
|
15
16
|
}
|
|
16
17
|
}
|
|
18
|
+
Combo.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import CustomerAbstractClass from "../interfaces/customer";
|
|
2
2
|
import Base from "../../../base/Base";
|
|
3
|
+
import { GapApiVersion } from "../../../base_type";
|
|
3
4
|
import * as Request from "../types/request";
|
|
4
5
|
import * as Response from "../types/response";
|
|
5
6
|
export default class Customer extends Base implements CustomerAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static getCustomerList(data: Request.GetCustomerListRequest): Promise<Array<Response.GetCustomerListResponse>>;
|
|
7
9
|
static getCustomerDetail(data: Request.GetCustomerDetailRequest): Promise<Response.GetCustomerDetailResponse>;
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/customer.ts"],"names":[],"mappings":"AACA,OAAO,qBAAqB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,IAAK,YAAW,qBAAqB;
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/customer.ts"],"names":[],"mappings":"AACA,OAAO,qBAAqB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,IAAK,YAAW,qBAAqB;IACvE,OAAc,WAAW,gBAAoB;WAEzB,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,sBAAsB,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC;WAUvG,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,wBAAwB,GAAG,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC;CAS7H"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import * as posEndpoints from "../endpoints";
|
|
3
3
|
import Base from "../../../base/Base";
|
|
4
|
+
import { GapApiVersion } from "../../../base_type";
|
|
4
5
|
import * as Model from "../models";
|
|
5
6
|
export default class Customer extends Base {
|
|
6
7
|
static getCustomerList(data) {
|
|
@@ -23,3 +24,4 @@ export default class Customer extends Base {
|
|
|
23
24
|
});
|
|
24
25
|
}
|
|
25
26
|
}
|
|
27
|
+
Customer.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import GiftCardAbstractClass from "../interfaces/gift_card";
|
|
2
2
|
import Base from "../../../base/Base";
|
|
3
|
+
import { GapApiVersion } from "../../../base_type";
|
|
3
4
|
import * as Request from "../types/request";
|
|
4
5
|
import * as Response from "../types/response";
|
|
5
6
|
export default class GiftCard extends Base implements GiftCardAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static getCheckGiftCard(data: Request.GetCheckGiftCardRequest): Promise<Response.GetCheckGiftCardResponse>;
|
|
7
9
|
static postResetGiftCard(data: Request.PostResetGiftCardRequest): Promise<null>;
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gift_card.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/gift_card.ts"],"names":[],"mappings":"AACA,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,IAAK,YAAW,qBAAqB;
|
|
1
|
+
{"version":3,"file":"gift_card.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/gift_card.ts"],"names":[],"mappings":"AACA,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,IAAK,YAAW,qBAAqB;IACvE,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,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC;CAS/F"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import * as posEndpoints from "../endpoints";
|
|
3
3
|
import Base from "../../../base/Base";
|
|
4
|
+
import { GapApiVersion } from "../../../base_type";
|
|
4
5
|
import * as Model from "../models";
|
|
5
6
|
export default class GiftCard extends Base {
|
|
6
7
|
static getCheckGiftCard(data) {
|
|
@@ -23,3 +24,4 @@ export default class GiftCard extends Base {
|
|
|
23
24
|
});
|
|
24
25
|
}
|
|
25
26
|
}
|
|
27
|
+
GiftCard.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import IncomeAbstractClass from "../interfaces/income";
|
|
2
2
|
import Base from "../../../base/Base";
|
|
3
|
+
import { GapApiVersion } from "../../../base_type";
|
|
3
4
|
import * as Request from "../types/request";
|
|
4
5
|
import * as Response from "../types/response";
|
|
5
6
|
export default class Income extends Base implements IncomeAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static getIncomeHistory(data: Request.GetIncomeHistoryRequest): Promise<Array<Response.GetStaffDailyIncomeResponse>>;
|
|
7
9
|
static getStaffDailyIncome(data: Request.GetStaffDailyIncomeRequest): Promise<Array<Response.GetStaffDailyIncomeResponse>>;
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"income.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/income.ts"],"names":[],"mappings":"AACA,OAAO,mBAAmB,MAAM,sBAAsB,CAAC;AACvD,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,IAAK,YAAW,mBAAmB;
|
|
1
|
+
{"version":3,"file":"income.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/income.ts"],"names":[],"mappings":"AACA,OAAO,mBAAmB,MAAM,sBAAsB,CAAC;AACvD,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,IAAK,YAAW,mBAAmB;IACnE,OAAc,WAAW,gBAAoB;WAEzB,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;WAU7G,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,0BAA0B,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;CAS1I"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import * as posEndpoints from "../endpoints";
|
|
3
3
|
import Base from "../../../base/Base";
|
|
4
|
+
import { GapApiVersion } from "../../../base_type";
|
|
4
5
|
import * as Model from "../models";
|
|
5
6
|
export default class Income extends Base {
|
|
6
7
|
static getIncomeHistory(data) {
|
|
@@ -24,3 +25,4 @@ export default class Income extends Base {
|
|
|
24
25
|
});
|
|
25
26
|
}
|
|
26
27
|
}
|
|
28
|
+
Income.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import KeyStorageAbstractClass from "../interfaces/key_storage";
|
|
2
2
|
import Base from "../../../base/Base";
|
|
3
|
+
import { GapApiVersion } from "../../../base_type";
|
|
3
4
|
import * as Request from "../types/request";
|
|
4
5
|
import * as Response from "../types/response";
|
|
5
6
|
export default class KeyStorage extends Base implements KeyStorageAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static getKeyStorage(data: Request.GetKeyStorageRequest): Promise<Response.GetKeyStorageResponse>;
|
|
7
9
|
}
|
|
8
10
|
//# sourceMappingURL=key_storage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/key_storage.ts"],"names":[],"mappings":"AACA,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAChE,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,IAAK,YAAW,uBAAuB;
|
|
1
|
+
{"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/key_storage.ts"],"names":[],"mappings":"AACA,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAChE,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,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,aAAa,CAAC,IAAI,EAAE,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAC;CASjH"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import * as posEndpoints from "../endpoints";
|
|
3
3
|
import Base from "../../../base/Base";
|
|
4
|
+
import { GapApiVersion } from "../../../base_type";
|
|
4
5
|
import * as Model from "../models";
|
|
5
6
|
export default class KeyStorage extends Base {
|
|
6
7
|
static getKeyStorage(data) {
|
|
@@ -14,3 +15,4 @@ export default class KeyStorage extends Base {
|
|
|
14
15
|
});
|
|
15
16
|
}
|
|
16
17
|
}
|
|
18
|
+
KeyStorage.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import OrderAbstractClass from "../interfaces/order";
|
|
2
2
|
import Base from "../../../base/Base";
|
|
3
|
+
import { GapApiVersion } from "../../../base_type";
|
|
3
4
|
import * as Request from "../types/request";
|
|
4
5
|
import * as Response from "../types/response";
|
|
5
6
|
export default class Order extends Base implements OrderAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static getOrderCheckInList(data: Request.GetOrderCheckInListRequest): Promise<Response.DataWithMeta<Array<Response.GetOrderDetailResponse>>>;
|
|
7
|
-
static getOrderDetail(data: Request.GetOrderDetailRequest): Promise<Response.GetOrderDetailResponse>;
|
|
8
9
|
static getOrderHistoryList(data: Request.GetOrderHistoryListRequest): Promise<Response.DataWithMeta<Array<Response.GetOrderHistoryListResponse>>>;
|
|
9
10
|
static getReportCheckIn(data: Request.GetReportCheckInRequest): Promise<Response.GetReportCheckInResponse>;
|
|
10
11
|
static updateOrderStaff(data: Request.UpdateOrderStaffRequest): Promise<Array<Response.UpdateOrderStaffResponse>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/order.ts"],"names":[],"mappings":"AACA,OAAO,kBAAkB,MAAM,qBAAqB,CAAC;AACrD,OAAO,IAAI,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/order.ts"],"names":[],"mappings":"AACA,OAAO,kBAAkB,MAAM,qBAAqB,CAAC;AACrD,OAAO,IAAI,MAAM,oBAAoB,CAAC;AAGtC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAE9C,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,IAAK,YAAW,kBAAkB;IACjE,OAAc,WAAW,gBAAoB;WAEzB,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,0BAA0B,GAAG,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC;WAuBrI,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,0BAA0B,GAAG,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,KAAK,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC,CAAC;WAa1I,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC;WAmBnG,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;WAmB1G,WAAW,CAAC,IAAI,EAAE,OAAO,CAAC,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;WAU5D,WAAW,CAAC,IAAI,EAAE,OAAO,CAAC,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;CAoDnF"}
|
|
@@ -3,6 +3,7 @@ import * as posEndpoints from "../endpoints";
|
|
|
3
3
|
import Base from "../../../base/Base";
|
|
4
4
|
import FileDownload from "js-file-download";
|
|
5
5
|
import { formatExportDateString } from "../../../utils/date-time";
|
|
6
|
+
import { GapApiVersion } from "../../../base_type";
|
|
6
7
|
import dayjs from 'dayjs';
|
|
7
8
|
import * as Model from "../models";
|
|
8
9
|
export default class Order extends Base {
|
|
@@ -19,16 +20,15 @@ export default class Order extends Base {
|
|
|
19
20
|
};
|
|
20
21
|
});
|
|
21
22
|
}
|
|
22
|
-
static getOrderDetail(data) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
23
|
+
// public static async getOrderDetail(data: Request.GetOrderDetailRequest): Promise<Response.GetOrderDetailResponse> {
|
|
24
|
+
// const response = await this.client.get(
|
|
25
|
+
// {
|
|
26
|
+
// path: posEndpoints.order.GET_ORDER_DETAIL,
|
|
27
|
+
// query: data
|
|
28
|
+
// }
|
|
29
|
+
// );
|
|
30
|
+
// return Model.OrderDetailModel(response?.result?.data);
|
|
31
|
+
// }
|
|
32
32
|
static getOrderHistoryList(data) {
|
|
33
33
|
var _a, _b, _c, _d;
|
|
34
34
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -98,3 +98,4 @@ export default class Order extends Base {
|
|
|
98
98
|
});
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
+
Order.API_VERSION = GapApiVersion.V1;
|
|
@@ -3,7 +3,6 @@ import Base from "../../../base/Base";
|
|
|
3
3
|
import { GapApiVersion } from "../../../base_type";
|
|
4
4
|
import * as Request from "../types/request";
|
|
5
5
|
import * as Response from "../types/response";
|
|
6
|
-
import { GetSalaryChartResponse } from "../types/response";
|
|
7
6
|
export default class Payroll extends Base implements PayrollAbstractClass {
|
|
8
7
|
static API_VERSION: GapApiVersion;
|
|
9
8
|
static getPayrollList(data: Request.GetPayrollListRequest): Promise<Response.GetPayrollListResponse>;
|
|
@@ -19,7 +18,7 @@ export default class Payroll extends Base implements PayrollAbstractClass {
|
|
|
19
18
|
static exportPayroll(data: Request.ExportPayrollRequest): Promise<null>;
|
|
20
19
|
static exportApprovePayroll(data: Request.ExportApprovePayrollRequest): Promise<null>;
|
|
21
20
|
static exportIncomeDetail(data: Request.ExportIncomeDetailRequest): Promise<null>;
|
|
22
|
-
static getSalaryChart(data: Request.GetSalaryChartRequest): Promise<GetSalaryChartResponse>;
|
|
21
|
+
static getSalaryChart(data: Request.GetSalaryChartRequest): Promise<Response.GetSalaryChartResponse>;
|
|
23
22
|
static getAppListPayroll(data: Request.GetAppListPayrollRequest): Promise<Array<Response.GetAppListPayrollResponse>>;
|
|
24
23
|
static getPayrollDetail(data: Request.GetPayrollDetailRequest): Promise<Array<Response.GetPayrollDetailResponse>>;
|
|
25
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payroll.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/payroll.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,MAAM,uBAAuB,CAAC;AACzD,OAAO,IAAI,MAAM,oBAAoB,CAAC;AAItC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"payroll.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/payroll.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,MAAM,uBAAuB,CAAC;AACzD,OAAO,IAAI,MAAM,oBAAoB,CAAC;AAItC,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,IAAK,YAAW,oBAAoB;IACrE,OAAc,WAAW,gBAAoB;WAEzB,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC;WAU7F,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,wBAAwB,GAAG,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC;WAUtG,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC;WAUlE,oBAAoB,CAAC,IAAI,EAAE,OAAO,CAAC,2BAA2B,GAAG,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC;WAU/G,kBAAkB,CAAC,IAAI,EAAE,OAAO,CAAC,yBAAyB,GAAG,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAAC;WAUzG,qBAAqB,CAAC,IAAI,EAAE,OAAO,CAAC,4BAA4B,GAAG,OAAO,CAAC,QAAQ,CAAC,6BAA6B,CAAC;WAUlH,sBAAsB,CAAC,IAAI,EAAE,OAAO,CAAC,6BAA6B,GAAG,OAAO,CAAC,QAAQ,CAAC,8BAA8B,CAAC;WAUrH,yBAAyB,CAAC,IAAI,EAAE,OAAO,CAAC,gCAAgC,GAAG,OAAO,CAAC,QAAQ,CAAC,iCAAiC,CAAC;WAU9H,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,sBAAsB,GAAG,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAAC;WAUhG,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,wBAAwB,GAAG,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC;WAUtG,aAAa,CAAC,IAAI,EAAE,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;WAYhE,oBAAoB,CAAC,IAAI,EAAE,OAAO,CAAC,2BAA2B,GAAG,OAAO,CAAC,IAAI,CAAC;WAY9E,kBAAkB,CAAC,IAAI,EAAE,OAAO,CAAC,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC;WAY1E,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC;WAU7F,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,wBAAwB,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAC;WAU7G,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;CASjI"}
|
|
@@ -6,7 +6,6 @@ import dayjs from "dayjs";
|
|
|
6
6
|
import { formatExportDateString } from "../../../utils/date-time";
|
|
7
7
|
import { GapApiVersion } from "../../../base_type";
|
|
8
8
|
import * as Model from "../models";
|
|
9
|
-
import { SalaryChartModel } from "../models";
|
|
10
9
|
export default class Payroll extends Base {
|
|
11
10
|
static getPayrollList(data) {
|
|
12
11
|
var _a;
|
|
@@ -147,7 +146,7 @@ export default class Payroll extends Base {
|
|
|
147
146
|
path: posEndpoints.payroll.GET_SALARY_CHART,
|
|
148
147
|
query: data
|
|
149
148
|
});
|
|
150
|
-
return SalaryChartModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
149
|
+
return Model.SalaryChartModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
151
150
|
});
|
|
152
151
|
}
|
|
153
152
|
static getAppListPayroll(data) {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import PrinterAbstractClass from "../interfaces/printer";
|
|
2
2
|
import Base from "../../../base/Base";
|
|
3
|
+
import { GapApiVersion } from "../../../base_type";
|
|
3
4
|
import * as Request from "../types/request";
|
|
4
5
|
import * as Response from "../types/response";
|
|
5
6
|
export default class Printer extends Base implements PrinterAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static getPrinterList(data: Request.GetPrinterListRequest): Promise<Response.GetPrinterListResponse>;
|
|
7
9
|
static getPrinterDetail(data: Request.GetPrinterDetailRequest): Promise<Response.GetPrinterDetailResponse>;
|
|
8
10
|
static createPrinterInfo(data: Request.CreatePrinterInfoRequest): Promise<Response.CreatePrinterInfoResponse>;
|