gap-nodejs-sdk 1.0.7 → 1.0.10
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/base/Base.d.ts +7 -0
- package/dist/base/Base.d.ts.map +1 -0
- package/dist/base_type.d.ts +11 -0
- package/dist/base_type.d.ts.map +1 -1
- package/dist/error.d.ts +20 -2
- package/dist/error.d.ts.map +1 -1
- package/dist/gci_client_api/interface/customer.d.ts +18 -0
- package/dist/gci_client_api/interface/customer.d.ts.map +1 -0
- package/dist/gci_client_api/interface/index.d.ts +4 -5
- package/dist/gci_client_api/interface/index.d.ts.map +1 -1
- package/dist/gci_client_api/interface/staff.d.ts +3 -0
- package/dist/gci_client_api/interface/staff.d.ts.map +1 -0
- package/dist/gci_client_api/types/customer.d.ts +2 -0
- package/dist/gci_client_api/types/customer.d.ts.map +1 -0
- package/dist/gci_client_api/types/index.d.ts +3 -0
- package/dist/gci_client_api/types/index.d.ts.map +1 -0
- package/dist/gci_client_api/types/staff.d.ts +2 -0
- package/dist/gci_client_api/types/staff.d.ts.map +1 -0
- package/dist/gci_client_api/v1/GciClientApi.d.ts +8 -0
- package/dist/gci_client_api/v1/GciClientApi.d.ts.map +1 -0
- package/dist/gci_client_api/v1/api/customer.d.ts +20 -0
- package/dist/gci_client_api/v1/api/customer.d.ts.map +1 -0
- package/dist/gci_client_api/v1/api/index.d.ts +3 -0
- package/dist/gci_client_api/v1/api/index.d.ts.map +1 -0
- package/dist/gci_client_api/v1/api/staff.d.ts +5 -0
- package/dist/gci_client_api/v1/api/staff.d.ts.map +1 -0
- package/dist/gci_client_api/v1/endpoint/customer.d.ts +1 -0
- package/dist/gci_client_api/v1/endpoint/customer.d.ts.map +1 -0
- package/dist/gci_client_api/v1/endpoint/index.d.ts +15 -0
- package/dist/gci_client_api/v1/endpoint/index.d.ts.map +1 -0
- package/dist/gci_client_api/v1/endpoint/staff.d.ts +1 -0
- package/dist/gci_client_api/v1/endpoint/staff.d.ts.map +1 -0
- package/dist/http_client/http_client.d.ts +16 -0
- package/dist/http_client/http_client.d.ts.map +1 -1
- package/dist/http_client/types.d.ts +59 -7
- package/dist/http_client/types.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/pos_client_api/enums/index.d.ts +12 -0
- package/dist/pos_client_api/enums/index.d.ts.map +1 -0
- package/dist/pos_client_api/interface/appointment.d.ts +8 -0
- package/dist/pos_client_api/interface/appointment.d.ts.map +1 -0
- package/dist/pos_client_api/interface/batch_history.d.ts +7 -0
- package/dist/pos_client_api/interface/batch_history.d.ts.map +1 -0
- package/dist/pos_client_api/interface/business.d.ts +7 -0
- package/dist/pos_client_api/interface/business.d.ts.map +1 -0
- package/dist/pos_client_api/interface/call.d.ts +6 -0
- package/dist/pos_client_api/interface/call.d.ts.map +1 -0
- package/dist/pos_client_api/interface/category.d.ts +6 -0
- package/dist/pos_client_api/interface/category.d.ts.map +1 -0
- package/dist/pos_client_api/interface/check_in.d.ts +7 -0
- package/dist/pos_client_api/interface/check_in.d.ts.map +1 -0
- package/dist/pos_client_api/interface/check_out.d.ts +7 -0
- package/dist/pos_client_api/interface/check_out.d.ts.map +1 -0
- package/dist/pos_client_api/interface/combo.d.ts +6 -0
- package/dist/pos_client_api/interface/combo.d.ts.map +1 -0
- package/dist/pos_client_api/interface/customer.d.ts +7 -0
- package/dist/pos_client_api/interface/customer.d.ts.map +1 -0
- package/dist/pos_client_api/interface/gift_card.d.ts +7 -0
- package/dist/pos_client_api/interface/gift_card.d.ts.map +1 -0
- package/dist/pos_client_api/interface/income.d.ts +7 -0
- package/dist/pos_client_api/interface/income.d.ts.map +1 -0
- package/dist/pos_client_api/interface/index.d.ts +26 -0
- package/dist/pos_client_api/interface/index.d.ts.map +1 -0
- package/dist/pos_client_api/interface/key_storage.d.ts +6 -0
- package/dist/pos_client_api/interface/key_storage.d.ts.map +1 -0
- package/dist/pos_client_api/interface/order.d.ts +12 -0
- package/dist/pos_client_api/interface/order.d.ts.map +1 -0
- package/dist/pos_client_api/interface/payroll.d.ts +19 -0
- package/dist/pos_client_api/interface/payroll.d.ts.map +1 -0
- package/dist/pos_client_api/interface/printer.d.ts +9 -0
- package/dist/pos_client_api/interface/printer.d.ts.map +1 -0
- package/dist/pos_client_api/interface/service.d.ts +6 -0
- package/dist/pos_client_api/interface/service.d.ts.map +1 -0
- package/dist/pos_client_api/interface/setting_turn.d.ts +7 -0
- package/dist/pos_client_api/interface/setting_turn.d.ts.map +1 -0
- package/dist/pos_client_api/interface/staff.d.ts +7 -0
- package/dist/pos_client_api/interface/staff.d.ts.map +1 -0
- package/dist/pos_client_api/interface/ticket.d.ts +12 -0
- package/dist/pos_client_api/interface/ticket.d.ts.map +1 -0
- package/dist/pos_client_api/interface/time_keeping.d.ts +12 -0
- package/dist/pos_client_api/interface/time_keeping.d.ts.map +1 -0
- package/dist/pos_client_api/interface/unsubscribe_contact.d.ts +3 -0
- package/dist/pos_client_api/interface/unsubscribe_contact.d.ts.map +1 -0
- package/dist/pos_client_api/interface/user.d.ts +6 -0
- package/dist/pos_client_api/interface/user.d.ts.map +1 -0
- package/dist/pos_client_api/types/appointment.d.ts +13 -0
- package/dist/pos_client_api/types/appointment.d.ts.map +1 -0
- package/dist/pos_client_api/types/batch_history.d.ts +8 -0
- package/dist/pos_client_api/types/batch_history.d.ts.map +1 -0
- package/dist/pos_client_api/types/business.d.ts +10 -0
- package/dist/pos_client_api/types/business.d.ts.map +1 -0
- package/dist/pos_client_api/types/call.d.ts +7 -0
- package/dist/pos_client_api/types/call.d.ts.map +1 -0
- package/dist/pos_client_api/types/category.d.ts +2 -0
- package/dist/pos_client_api/types/category.d.ts.map +1 -0
- package/dist/pos_client_api/types/check_in.d.ts +18 -0
- package/dist/pos_client_api/types/check_in.d.ts.map +1 -0
- package/dist/pos_client_api/types/check_out.d.ts +134 -0
- package/dist/pos_client_api/types/check_out.d.ts.map +1 -0
- package/dist/pos_client_api/types/combo.d.ts +4 -0
- package/dist/pos_client_api/types/combo.d.ts.map +1 -0
- package/dist/pos_client_api/types/customer.d.ts +7 -0
- package/dist/pos_client_api/types/customer.d.ts.map +1 -0
- package/dist/pos_client_api/types/gift_card.d.ts +8 -0
- package/dist/pos_client_api/types/gift_card.d.ts.map +1 -0
- package/dist/pos_client_api/types/income.d.ts +11 -0
- package/dist/pos_client_api/types/income.d.ts.map +1 -0
- package/dist/pos_client_api/types/index.d.ts +23 -0
- package/dist/pos_client_api/types/index.d.ts.map +1 -0
- package/dist/pos_client_api/types/index.js +22 -0
- package/dist/pos_client_api/types/key_storage.d.ts +5 -0
- package/dist/pos_client_api/types/key_storage.d.ts.map +1 -0
- package/dist/pos_client_api/types/order.d.ts +43 -0
- package/dist/pos_client_api/types/order.d.ts.map +1 -0
- package/dist/pos_client_api/types/payroll.d.ts +61 -0
- package/dist/pos_client_api/types/payroll.d.ts.map +1 -0
- package/dist/pos_client_api/types/printer.d.ts +23 -0
- package/dist/pos_client_api/types/printer.d.ts.map +1 -0
- package/dist/pos_client_api/types/service.d.ts +2 -0
- package/dist/pos_client_api/types/service.d.ts.map +1 -0
- package/dist/pos_client_api/types/setting_turn.d.ts +5 -0
- package/dist/pos_client_api/types/setting_turn.d.ts.map +1 -0
- package/dist/pos_client_api/types/staff.d.ts +5 -0
- package/dist/pos_client_api/types/staff.d.ts.map +1 -0
- package/dist/pos_client_api/types/ticket.d.ts +28 -0
- package/dist/pos_client_api/types/ticket.d.ts.map +1 -0
- package/dist/pos_client_api/types/time_keeping.d.ts +49 -0
- package/dist/pos_client_api/types/time_keeping.d.ts.map +1 -0
- package/dist/pos_client_api/types/unsubscribe_contact.d.ts +2 -0
- package/dist/pos_client_api/types/unsubscribe_contact.d.ts.map +1 -0
- package/dist/pos_client_api/types/user.d.ts +6 -0
- package/dist/pos_client_api/types/user.d.ts.map +1 -0
- package/dist/pos_client_api/types/user.js +1 -0
- package/dist/pos_client_api/v1/PosClientApi.d.ts +28 -0
- package/dist/pos_client_api/v1/PosClientApi.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/appointment.d.ts +9 -0
- package/dist/pos_client_api/v1/api/appointment.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/batch_history.d.ts +8 -0
- package/dist/pos_client_api/v1/api/batch_history.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/business.d.ts +8 -0
- package/dist/pos_client_api/v1/api/business.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/call.d.ts +7 -0
- package/dist/pos_client_api/v1/api/call.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/category.d.ts +7 -0
- package/dist/pos_client_api/v1/api/category.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/check_in.d.ts +11 -0
- package/dist/pos_client_api/v1/api/check_in.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/check_out.d.ts +35 -0
- package/dist/pos_client_api/v1/api/check_out.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/combo.d.ts +7 -0
- package/dist/pos_client_api/v1/api/combo.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/customer.d.ts +8 -0
- package/dist/pos_client_api/v1/api/customer.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/gift_card.d.ts +8 -0
- package/dist/pos_client_api/v1/api/gift_card.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/income.d.ts +8 -0
- package/dist/pos_client_api/v1/api/income.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/index.d.ts +23 -0
- package/dist/pos_client_api/v1/api/index.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/key_storage.d.ts +7 -0
- package/dist/pos_client_api/v1/api/key_storage.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/order.d.ts +13 -0
- package/dist/pos_client_api/v1/api/order.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/payroll.d.ts +22 -0
- package/dist/pos_client_api/v1/api/payroll.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/printer.d.ts +10 -0
- package/dist/pos_client_api/v1/api/printer.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/service.d.ts +7 -0
- package/dist/pos_client_api/v1/api/service.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/setting_turn.d.ts +8 -0
- package/dist/pos_client_api/v1/api/setting_turn.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/staff.d.ts +8 -0
- package/dist/pos_client_api/v1/api/staff.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/ticket.d.ts +13 -0
- package/dist/pos_client_api/v1/api/ticket.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/time_keeping.d.ts +13 -0
- package/dist/pos_client_api/v1/api/time_keeping.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/unsubscribe_contact.d.ts +5 -0
- package/dist/pos_client_api/v1/api/unsubscribe_contact.d.ts.map +1 -0
- package/dist/pos_client_api/v1/api/user.d.ts +7 -0
- package/dist/pos_client_api/v1/api/user.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/appointment.d.ts +7 -0
- package/dist/pos_client_api/v1/endpoint/appointment.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/batch_history.d.ts +6 -0
- package/dist/pos_client_api/v1/endpoint/batch_history.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/business.d.ts +6 -0
- package/dist/pos_client_api/v1/endpoint/business.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/call.d.ts +5 -0
- package/dist/pos_client_api/v1/endpoint/call.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/category.d.ts +5 -0
- package/dist/pos_client_api/v1/endpoint/category.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/check_in.d.ts +9 -0
- package/dist/pos_client_api/v1/endpoint/check_in.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/check_out.d.ts +33 -0
- package/dist/pos_client_api/v1/endpoint/check_out.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/combo.d.ts +5 -0
- package/dist/pos_client_api/v1/endpoint/combo.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/customer.d.ts +6 -0
- package/dist/pos_client_api/v1/endpoint/customer.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/gift_card.d.ts +6 -0
- package/dist/pos_client_api/v1/endpoint/gift_card.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/income.d.ts +6 -0
- package/dist/pos_client_api/v1/endpoint/income.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/index.d.ts +23 -0
- package/dist/pos_client_api/v1/endpoint/index.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/key_storage.d.ts +5 -0
- package/dist/pos_client_api/v1/endpoint/key_storage.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/order.d.ts +11 -0
- package/dist/pos_client_api/v1/endpoint/order.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/payroll.d.ts +20 -0
- package/dist/pos_client_api/v1/endpoint/payroll.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/printer.d.ts +8 -0
- package/dist/pos_client_api/v1/endpoint/printer.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/service.d.ts +5 -0
- package/dist/pos_client_api/v1/endpoint/service.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/setting_turn.d.ts +6 -0
- package/dist/pos_client_api/v1/endpoint/setting_turn.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/staff.d.ts +6 -0
- package/dist/pos_client_api/v1/endpoint/staff.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/ticket.d.ts +11 -0
- package/dist/pos_client_api/v1/endpoint/ticket.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/time_keeping.d.ts +11 -0
- package/dist/pos_client_api/v1/endpoint/time_keeping.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/unsubscribe_contact.d.ts +3 -0
- package/dist/pos_client_api/v1/endpoint/unsubscribe_contact.d.ts.map +1 -0
- package/dist/pos_client_api/v1/endpoint/user.d.ts +5 -0
- package/dist/pos_client_api/v1/endpoint/user.d.ts.map +1 -0
- package/dist/utils/date-time.d.ts +2 -0
- package/dist/utils/date-time.d.ts.map +1 -0
- package/dist/utils/processed-query.d.ts +18 -0
- package/dist/utils/processed-query.d.ts.map +1 -0
- package/package.json +6 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/appointment.ts"],"names":[],"mappings":";;;;;AAAA,wBAIC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch_history.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/batch_history.ts"],"names":[],"mappings":";;;;AAAA,wBAGC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/business.ts"],"names":[],"mappings":";;;;AAAA,wBAGC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/call.ts"],"names":[],"mappings":";;;AAAA,wBAGC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/category.ts"],"names":[],"mappings":";;;AAAA,wBAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/check_in.ts"],"names":[],"mappings":";;;;;;;AAAA,wBAMC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
GET_ITEM_LIST: string;
|
|
3
|
+
GET_CHECK_OUT_HISTORY_LIST: string;
|
|
4
|
+
GET_CHECK_OUT_INFO: string;
|
|
5
|
+
GET_CHECKOUT_HISTORY_INFO: string;
|
|
6
|
+
GET_CHECKOUT_BATCH_CLOSE_SUMMARY: string;
|
|
7
|
+
POST_CHECKOUT_ADD_ITEM: string;
|
|
8
|
+
POST_CHECKOUT_REMOVE_ITEM: string;
|
|
9
|
+
POST_CHECKOUT_SUBMIT_ORDER: string;
|
|
10
|
+
POST_CHECKOUT_UPDATE_STATUS: string;
|
|
11
|
+
POST_CHECKOUT_UPDATE_ORDER_WITH_CREDIT_CARD_PAYMENT: string;
|
|
12
|
+
POST_CHECKOUT_DO_AUTH: string;
|
|
13
|
+
POST_CHECKOUT_VOID_PAYMENT: string;
|
|
14
|
+
POST_CHECKOUT_REFUND_PAYMENT: string;
|
|
15
|
+
POST_CHECKOUT_ADJUST_TIP_PAYMENT: string;
|
|
16
|
+
POST_CHECKOUT_CLOSE_OUT: string;
|
|
17
|
+
POST_CHECKOUT_UPDATE_IS_WAITING: string;
|
|
18
|
+
POST_CHECKOUT_DISCOUNT_PROMOTION: string;
|
|
19
|
+
POST_CHECKOUT_DISCOUNT_REDEEM: string;
|
|
20
|
+
POST_CHECKOUT_UPDATE_TIP_DATA: string;
|
|
21
|
+
POST_CHECKOUT_ITEM_ADJUST_PRICE: string;
|
|
22
|
+
POST_CHECKOUT_UPDATE_PAYMENT_DATA: string;
|
|
23
|
+
POST_CHECKOUT_ITEM_ADD_COMBO: string;
|
|
24
|
+
GET_CHECKOUT_RESEND_RATING: string;
|
|
25
|
+
POST_CUSTOMER_ACH_AVAILABLE: string;
|
|
26
|
+
POST_ACH_RESEND: string;
|
|
27
|
+
POST_ACH_VOID: string;
|
|
28
|
+
POST_UPDATE_ORDER_SUCCESS_TO_SETTLED: string;
|
|
29
|
+
POST_CALCULATE_TAX: string;
|
|
30
|
+
POST_CALCULATE_PAYMENT: string;
|
|
31
|
+
};
|
|
32
|
+
export default _default;
|
|
33
|
+
//# sourceMappingURL=check_out.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check_out.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/check_out.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA8BC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combo.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/combo.ts"],"names":[],"mappings":";;;AAAA,wBAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/customer.ts"],"names":[],"mappings":";;;;AAAA,wBAGC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gift_card.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/gift_card.ts"],"names":[],"mappings":";;;;AAAA,wBAGC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"income.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/income.ts"],"names":[],"mappings":";;;;AAAA,wBAGC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { default as appointment } from "./appointment";
|
|
2
|
+
export { default as batch_history } from "./batch_history";
|
|
3
|
+
export { default as business } from "./business";
|
|
4
|
+
export { default as call } from "./call";
|
|
5
|
+
export { default as category } from "./category";
|
|
6
|
+
export { default as check_in } from "./check_in";
|
|
7
|
+
export { default as check_out } from "./check_out";
|
|
8
|
+
export { default as combo } from "./combo";
|
|
9
|
+
export { default as customer } from "./customer";
|
|
10
|
+
export { default as gift_card } from "./gift_card";
|
|
11
|
+
export { default as income } from "./income";
|
|
12
|
+
export { default as key_storage } from "./key_storage";
|
|
13
|
+
export { default as order } from "./order";
|
|
14
|
+
export { default as payroll } from "./payroll";
|
|
15
|
+
export { default as printer } from "./printer";
|
|
16
|
+
export { default as service } from "./service";
|
|
17
|
+
export { default as setting_turn } from "./setting_turn";
|
|
18
|
+
export { default as staff } from "./staff";
|
|
19
|
+
export { default as ticket } from "./ticket";
|
|
20
|
+
export { default as time_keeping } from "./time_keeping";
|
|
21
|
+
export { default as unsubscribe_contact } from "./unsubscribe_contact";
|
|
22
|
+
export { default as user } from "./user";
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,IAAI,EAAC,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,SAAS,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAC;AACzC,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,SAAS,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAC;AACzC,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAC;AACzC,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAC,OAAO,IAAI,IAAI,EAAC,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/key_storage.ts"],"names":[],"mappings":";;;AAAA,wBAEC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
GET_CHECKIN_LIST: string;
|
|
3
|
+
GET_ORDER_DETAIL: string;
|
|
4
|
+
GET_ORDER_HISTORY_LIST: string;
|
|
5
|
+
GET_REPORT_CHECKIN: string;
|
|
6
|
+
UPDATE_ORDER_STAFF: string;
|
|
7
|
+
REMOVE_ORDER: string;
|
|
8
|
+
EXPORT_ORDER: string;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=order.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/order.ts"],"names":[],"mappings":";;;;;;;;;AAAA,wBAeC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
GET_PAYROLL_LIST: string;
|
|
3
|
+
GET_PAYROLL_SETTING: string;
|
|
4
|
+
APPROVE_PAYROLL: string;
|
|
5
|
+
UPDATE_PAYROLL_SETTING: string;
|
|
6
|
+
GET_DISCOUNT_SETTING: string;
|
|
7
|
+
UPDATE_DISCOUNT_SETTING: string;
|
|
8
|
+
GET_CASH_DISCOUNT_SETTING: string;
|
|
9
|
+
UPDATE_CASH_DISCOUNT_SETTING: string;
|
|
10
|
+
GET_INCOME_DETAIL: string;
|
|
11
|
+
GET_APPROVE_PAYROLL: string;
|
|
12
|
+
EXPORT_PAYROLL: string;
|
|
13
|
+
EXPORT_APPROVE_PAYROLL: string;
|
|
14
|
+
EXPORT_INCOME_DETAIL: string;
|
|
15
|
+
GET_SALARY_CHART: string;
|
|
16
|
+
GET_APP_LIST_PAYROLL: string;
|
|
17
|
+
GET_PAYROLL_DETAIL: string;
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
20
|
+
//# sourceMappingURL=payroll.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payroll.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/payroll.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,wBAiBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"printer.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/printer.ts"],"names":[],"mappings":";;;;;;AAAA,wBAKC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/service.ts"],"names":[],"mappings":";;;AAAA,wBAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setting_turn.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/setting_turn.ts"],"names":[],"mappings":";;;;AAAA,wBAGC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/staff.ts"],"names":[],"mappings":";;;;AAAA,wBAGC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
GET_TICKET_LIST: string;
|
|
3
|
+
CREATE_TICKET_TEMPLATE: string;
|
|
4
|
+
DELETE_TICKET_TEMPLATE: string;
|
|
5
|
+
UPDATE_TICKET_TEMPLATE: string;
|
|
6
|
+
MOVE_SUBJECT: string;
|
|
7
|
+
SET_DEFAULT_TICKET_TEMPLATE: string;
|
|
8
|
+
GET_TICKET_TEMPLATE: string;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=ticket.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ticket.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/ticket.ts"],"names":[],"mappings":";;;;;;;;;AAAA,wBASC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
GET_TIME_KEEPING_LIST: string;
|
|
3
|
+
ADD_TIME_KEEPING: string;
|
|
4
|
+
UPDATE_TIME_KEEPING: string;
|
|
5
|
+
REMOVE_TIME_KEEPING: string;
|
|
6
|
+
GET_TIME_KEEPING_LIST_STAFF: string;
|
|
7
|
+
POST_TIME_KEEPING_CHECK_IN: string;
|
|
8
|
+
POST_TIME_KEEPING_CHECK_OUT: string;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=time_keeping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time_keeping.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/time_keeping.ts"],"names":[],"mappings":";;;;;;;;;AAAA,wBAQC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unsubscribe_contact.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/unsubscribe_contact.ts"],"names":[],"mappings":";AAAA,wBAGC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../src/pos_client_api/v1/endpoint/user.ts"],"names":[],"mappings":";;;AAAA,wBAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-time.d.ts","sourceRoot":"","sources":["../../src/utils/date-time.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,WAQlC,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default class ProcessedQuery {
|
|
2
|
+
static stringify(keyValuePairs?: {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}): string;
|
|
5
|
+
processedQuery: {
|
|
6
|
+
[key: string]: string | number | (string | number)[];
|
|
7
|
+
};
|
|
8
|
+
constructor();
|
|
9
|
+
putAll(keyValuePairs: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}): ProcessedQuery;
|
|
12
|
+
put(key: string, value: any): void;
|
|
13
|
+
putArray(key: string, value: (string | number)[]): void;
|
|
14
|
+
putObject(key: string, value: object): void;
|
|
15
|
+
putSimple(key: string, value: string | number): void;
|
|
16
|
+
stringify(): string;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=processed-query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processed-query.d.ts","sourceRoot":"","sources":["../../src/utils/processed-query.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC,MAAM,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,GAAG,MAAM;IAM9D,cAAc,EAAE;QACd,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;KACtD,CAAC;;IAMF,MAAM,CAAC,aAAa,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,GAAG,cAAc;IAO3D,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAUlC,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GAAG,IAAI;IAIvD,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAQ3C,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAIpD,SAAS,IAAI,MAAM;CAKpB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gap-nodejs-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "GCI App Platform Library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"author": "TanNX",
|
|
22
22
|
"license": "ISC",
|
|
23
23
|
"devDependencies": {
|
|
24
|
+
"@types/node": "^18.0.1",
|
|
24
25
|
"esmify": "^2.1.1",
|
|
25
26
|
"rimraf": "^3.0.2",
|
|
26
27
|
"typescript": "^4.7.2",
|
|
@@ -29,6 +30,10 @@
|
|
|
29
30
|
"browserify": "^17.0.0"
|
|
30
31
|
},
|
|
31
32
|
"dependencies": {
|
|
33
|
+
"axios": "^0.27.2",
|
|
34
|
+
"browserify": "^17.0.0",
|
|
35
|
+
"dayjs": "^1.11.3",
|
|
36
|
+
"js-file-download": "^0.4.12",
|
|
32
37
|
"tslib": "^2.4.0"
|
|
33
38
|
}
|
|
34
39
|
}
|