gap-nodejs-sdk 1.0.27 → 1.0.28
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 +3 -1
- 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 +5 -1
- 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 -0
- 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 +2 -0
- 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 +2 -0
- 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/models/key_storage.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/check_out.d.ts +1 -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/key_storage.d.ts +1 -0
- package/dist/pos_client_api/1.0.0/types/response/key_storage.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>>>;
|
|
@@ -20,7 +22,7 @@ export default class CheckOut extends Base implements CheckOutAbstractClass {
|
|
|
20
22
|
static postCheckOutAdjustTipPayment(data: Request.PostCheckOutAdjustTipPaymentRequest): Promise<any>;
|
|
21
23
|
static postCheckOutCloseOut(data: Request.PostCheckOutCloseOutRequest): Promise<any>;
|
|
22
24
|
static postCheckOutUpdateIsWaiting(data: Request.PostCheckOutUpdateIsWaitingRequest): Promise<Response.PostCheckOutUpdateIsWaitingResponse>;
|
|
23
|
-
static postCheckOutDiscountPromotion(data: Request.PostCheckOutDiscountPromotionRequest): Promise<
|
|
25
|
+
static postCheckOutDiscountPromotion(data: Request.PostCheckOutDiscountPromotionRequest): Promise<Response.PostCheckOutDiscountPromotionResponse>;
|
|
24
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>;
|
|
@@ -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;AAG9C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,IAAK,YAAW,qBAAqB;
|
|
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,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,k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UnG,oBAAoB,CAAC,IAAI,EAAE,OAAO,CAAC,2BAA2B;WAS9D,yBAAyB,CAAC,IAAI,EAAE,OAAO,CAAC,gCAAgC,GAAG,OAAO,CAAC,QAAQ,CAAC,iCAAiC,CAAC;WAU9H,sBAAsB,CAAC,IAAI,EAAE,OAAO,CAAC,6BAA6B,GAAG,OAAO,CAAC,QAAQ,CAAC,8BAA8B,CAAC;WAUrH,uBAAuB,CAAC,IAAI,EAAE,OAAO,CAAC,8BAA8B,GAAG,OAAO,CAAC,QAAQ,CAAC,+BAA+B,CAAC;CAS/I"}
|
|
@@ -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) {
|
|
@@ -162,11 +163,13 @@ export default class CheckOut extends Base {
|
|
|
162
163
|
});
|
|
163
164
|
}
|
|
164
165
|
static postCheckOutDiscountPromotion(data) {
|
|
166
|
+
var _a;
|
|
165
167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
166
|
-
|
|
168
|
+
const response = yield this.client.post({
|
|
167
169
|
path: posEndpoints.check_out.POST_CHECKOUT_DISCOUNT_PROMOTION,
|
|
168
170
|
data: data
|
|
169
171
|
});
|
|
172
|
+
return Model.CheckOutInfoModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
|
|
170
173
|
});
|
|
171
174
|
}
|
|
172
175
|
static postCheckOutDiscountRedeem(data) {
|
|
@@ -306,3 +309,4 @@ export default class CheckOut extends Base {
|
|
|
306
309
|
});
|
|
307
310
|
}
|
|
308
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,8 +1,10 @@
|
|
|
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
9
|
static getOrderDetail(data: Request.GetOrderDetailRequest): Promise<Response.GetOrderDetailResponse>;
|
|
8
10
|
static getOrderHistoryList(data: Request.GetOrderHistoryListRequest): Promise<Response.DataWithMeta<Array<Response.GetOrderHistoryListResponse>>>;
|
|
@@ -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;WAarI,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC;WAU7F,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 {
|
|
@@ -98,3 +99,4 @@ export default class Order extends Base {
|
|
|
98
99
|
});
|
|
99
100
|
}
|
|
100
101
|
}
|
|
102
|
+
Order.API_VERSION = GapApiVersion.V1;
|
|
@@ -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>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"printer.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/printer.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,MAAM,uBAAuB,CAAC;AACzD,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":"printer.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/printer.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,MAAM,uBAAuB,CAAC;AACzD,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,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC;WAU7F,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,QAAQ,CAAC,yBAAyB,CAAC;WAUtG,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 Printer extends Base {
|
|
6
7
|
static getPrinterList(data) {
|
|
@@ -44,3 +45,4 @@ export default class Printer extends Base {
|
|
|
44
45
|
});
|
|
45
46
|
}
|
|
46
47
|
}
|
|
48
|
+
Printer.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import ServiceAbstractClass from "../interfaces/service";
|
|
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 Service extends Base implements ServiceAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static getServiceList(data: Request.GetServiceListRequest): Promise<Response.GetServiceListResponse>;
|
|
7
9
|
}
|
|
8
10
|
//# sourceMappingURL=service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/service.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,MAAM,uBAAuB,CAAC;AACzD,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":"service.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/service.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,MAAM,uBAAuB,CAAC;AACzD,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,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 Service extends Base {
|
|
6
7
|
static getServiceList(data) {
|
|
@@ -14,3 +15,4 @@ export default class Service extends Base {
|
|
|
14
15
|
});
|
|
15
16
|
}
|
|
16
17
|
}
|
|
18
|
+
Service.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import SettingTurnAbstractClass from "../interfaces/setting_turn";
|
|
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 SettingTurn extends Base implements SettingTurnAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static getTurnValue(data: Request.GetTurnValueRequest): Promise<Response.GetSettingTurnResponse>;
|
|
7
9
|
static postTurnUpdateValue(data: Request.PostTurnUpdateValueRequest): Promise<Response.PostSettingTurnResponse>;
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting_turn.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/setting_turn.ts"],"names":[],"mappings":"AACA,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAClE,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,IAAK,YAAW,wBAAwB;
|
|
1
|
+
{"version":3,"file":"setting_turn.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/setting_turn.ts"],"names":[],"mappings":"AACA,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAClE,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,WAAY,SAAQ,IAAK,YAAW,wBAAwB;IAC7E,OAAc,WAAW,gBAAoB;WAEzB,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,mBAAmB,GAAG,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAC;WAUzF,mBAAmB,CAAC,IAAI,EAAE,OAAO,CAAC,0BAA0B,GAAG,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAAC;CAS/H"}
|
|
@@ -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 SettingTurn extends Base {
|
|
6
7
|
static getTurnValue(data) {
|
|
@@ -24,3 +25,4 @@ export default class SettingTurn extends Base {
|
|
|
24
25
|
});
|
|
25
26
|
}
|
|
26
27
|
}
|
|
28
|
+
SettingTurn.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import StaffAbstractClass from "../interfaces/staff";
|
|
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 Staff extends Base implements StaffAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static getStaffList(data: Request.GetStaffListRequest): Promise<Response.GetStaffListResponse>;
|
|
7
9
|
static getStaffListByCheckout(data: Request.GetStaffListByCheckoutRequest): Promise<Response.GetStaffListByCheckoutResponse>;
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/staff.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":"staff.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/staff.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,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,mBAAmB,GAAG,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC;WAUvF,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 Staff extends Base {
|
|
6
7
|
static getStaffList(data) {
|
|
@@ -24,3 +25,4 @@ export default class Staff extends Base {
|
|
|
24
25
|
});
|
|
25
26
|
}
|
|
26
27
|
}
|
|
28
|
+
Staff.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import TicketAbstractClass from "../interfaces/ticket";
|
|
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 Ticket extends Base implements TicketAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static getTicketList(data: Request.GetTicketListRequest): Promise<Response.GetTicketListResponse>;
|
|
7
9
|
static createTicketTemplate(data: Request.CreateTicketTemplateRequest): Promise<Response.CreateTicketTemplateResponse>;
|
|
8
10
|
static deleteTicketTemplate(data: Request.DeleteTicketTemplateRequest): Promise<null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ticket.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/ticket.ts"],"names":[],"mappings":"A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,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 Ticket extends Base {
|
|
6
7
|
static getTicketList(data) {
|
|
@@ -80,3 +81,4 @@ export default class Ticket extends Base {
|
|
|
80
81
|
});
|
|
81
82
|
}
|
|
82
83
|
}
|
|
84
|
+
Ticket.API_VERSION = GapApiVersion.V1;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import TimeKeepingAbstractClass from "../interfaces/time_keeping";
|
|
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 TimeKeeping extends Base implements TimeKeepingAbstractClass {
|
|
7
|
+
static API_VERSION: GapApiVersion;
|
|
6
8
|
static getTimeKeepingList(data: Request.GetTimeKeepingListRequest): Promise<Response.DataWithMeta<Array<Response.GetTimeKeepingListResponse>>>;
|
|
7
9
|
static addTimeKeeping(data: Request.AddTimeKeepingRequest): Promise<null>;
|
|
8
10
|
static updateTimeKeeping(data: Request.UpdateTimeKeepingRequest): Promise<null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time_keeping.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/1.0.0/api/time_keeping.ts"],"names":[],"mappings":"AACA,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAClE,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAG9C,MAAM,CAAC,OA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