gap-nodejs-sdk 1.0.8 → 1.0.11

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.
Files changed (233) hide show
  1. package/dist/base/Base.d.ts +7 -0
  2. package/dist/base/Base.d.ts.map +1 -0
  3. package/dist/base_type.d.ts +11 -0
  4. package/dist/base_type.d.ts.map +1 -1
  5. package/dist/error.d.ts +20 -2
  6. package/dist/error.d.ts.map +1 -1
  7. package/dist/gci_client_api/interface/customer.d.ts +18 -0
  8. package/dist/gci_client_api/interface/customer.d.ts.map +1 -0
  9. package/dist/gci_client_api/interface/index.d.ts +4 -5
  10. package/dist/gci_client_api/interface/index.d.ts.map +1 -1
  11. package/dist/gci_client_api/interface/staff.d.ts +3 -0
  12. package/dist/gci_client_api/interface/staff.d.ts.map +1 -0
  13. package/dist/gci_client_api/types/customer.d.ts +2 -0
  14. package/dist/gci_client_api/types/customer.d.ts.map +1 -0
  15. package/dist/gci_client_api/types/index.d.ts +3 -0
  16. package/dist/gci_client_api/types/index.d.ts.map +1 -0
  17. package/dist/gci_client_api/types/staff.d.ts +2 -0
  18. package/dist/gci_client_api/types/staff.d.ts.map +1 -0
  19. package/dist/gci_client_api/v1/GciClientApi.d.ts +8 -0
  20. package/dist/gci_client_api/v1/GciClientApi.d.ts.map +1 -0
  21. package/dist/gci_client_api/v1/api/customer.d.ts +20 -0
  22. package/dist/gci_client_api/v1/api/customer.d.ts.map +1 -0
  23. package/dist/gci_client_api/v1/api/index.d.ts +3 -0
  24. package/dist/gci_client_api/v1/api/index.d.ts.map +1 -0
  25. package/dist/gci_client_api/v1/api/staff.d.ts +5 -0
  26. package/dist/gci_client_api/v1/api/staff.d.ts.map +1 -0
  27. package/dist/gci_client_api/v1/endpoint/customer.d.ts +1 -0
  28. package/dist/gci_client_api/v1/endpoint/customer.d.ts.map +1 -0
  29. package/dist/gci_client_api/v1/endpoint/index.d.ts +15 -0
  30. package/dist/gci_client_api/v1/endpoint/index.d.ts.map +1 -0
  31. package/dist/gci_client_api/v1/endpoint/staff.d.ts +1 -0
  32. package/dist/gci_client_api/v1/endpoint/staff.d.ts.map +1 -0
  33. package/dist/http_client/http_client.d.ts +16 -0
  34. package/dist/http_client/http_client.d.ts.map +1 -1
  35. package/dist/http_client/types.d.ts +59 -7
  36. package/dist/http_client/types.d.ts.map +1 -1
  37. package/dist/index.d.ts +2 -0
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/pos_client_api/enums/index.d.ts +12 -0
  40. package/dist/pos_client_api/enums/index.d.ts.map +1 -0
  41. package/dist/pos_client_api/interface/appointment.d.ts +8 -0
  42. package/dist/pos_client_api/interface/appointment.d.ts.map +1 -0
  43. package/dist/pos_client_api/interface/batch_history.d.ts +7 -0
  44. package/dist/pos_client_api/interface/batch_history.d.ts.map +1 -0
  45. package/dist/pos_client_api/interface/business.d.ts +7 -0
  46. package/dist/pos_client_api/interface/business.d.ts.map +1 -0
  47. package/dist/pos_client_api/interface/call.d.ts +6 -0
  48. package/dist/pos_client_api/interface/call.d.ts.map +1 -0
  49. package/dist/pos_client_api/interface/category.d.ts +6 -0
  50. package/dist/pos_client_api/interface/category.d.ts.map +1 -0
  51. package/dist/pos_client_api/interface/check_in.d.ts +7 -0
  52. package/dist/pos_client_api/interface/check_in.d.ts.map +1 -0
  53. package/dist/pos_client_api/interface/check_out.d.ts +7 -0
  54. package/dist/pos_client_api/interface/check_out.d.ts.map +1 -0
  55. package/dist/pos_client_api/interface/combo.d.ts +6 -0
  56. package/dist/pos_client_api/interface/combo.d.ts.map +1 -0
  57. package/dist/pos_client_api/interface/customer.d.ts +7 -0
  58. package/dist/pos_client_api/interface/customer.d.ts.map +1 -0
  59. package/dist/pos_client_api/interface/gift_card.d.ts +7 -0
  60. package/dist/pos_client_api/interface/gift_card.d.ts.map +1 -0
  61. package/dist/pos_client_api/interface/income.d.ts +7 -0
  62. package/dist/pos_client_api/interface/income.d.ts.map +1 -0
  63. package/dist/pos_client_api/interface/index.d.ts +26 -0
  64. package/dist/pos_client_api/interface/index.d.ts.map +1 -0
  65. package/dist/pos_client_api/interface/key_storage.d.ts +6 -0
  66. package/dist/pos_client_api/interface/key_storage.d.ts.map +1 -0
  67. package/dist/pos_client_api/interface/order.d.ts +12 -0
  68. package/dist/pos_client_api/interface/order.d.ts.map +1 -0
  69. package/dist/pos_client_api/interface/payroll.d.ts +19 -0
  70. package/dist/pos_client_api/interface/payroll.d.ts.map +1 -0
  71. package/dist/pos_client_api/interface/printer.d.ts +9 -0
  72. package/dist/pos_client_api/interface/printer.d.ts.map +1 -0
  73. package/dist/pos_client_api/interface/service.d.ts +6 -0
  74. package/dist/pos_client_api/interface/service.d.ts.map +1 -0
  75. package/dist/pos_client_api/interface/setting_turn.d.ts +7 -0
  76. package/dist/pos_client_api/interface/setting_turn.d.ts.map +1 -0
  77. package/dist/pos_client_api/interface/staff.d.ts +7 -0
  78. package/dist/pos_client_api/interface/staff.d.ts.map +1 -0
  79. package/dist/pos_client_api/interface/ticket.d.ts +12 -0
  80. package/dist/pos_client_api/interface/ticket.d.ts.map +1 -0
  81. package/dist/pos_client_api/interface/time_keeping.d.ts +12 -0
  82. package/dist/pos_client_api/interface/time_keeping.d.ts.map +1 -0
  83. package/dist/pos_client_api/interface/unsubscribe_contact.d.ts +3 -0
  84. package/dist/pos_client_api/interface/unsubscribe_contact.d.ts.map +1 -0
  85. package/dist/pos_client_api/interface/user.d.ts +6 -0
  86. package/dist/pos_client_api/interface/user.d.ts.map +1 -0
  87. package/dist/pos_client_api/types/appointment.d.ts +13 -0
  88. package/dist/pos_client_api/types/appointment.d.ts.map +1 -0
  89. package/dist/pos_client_api/types/batch_history.d.ts +8 -0
  90. package/dist/pos_client_api/types/batch_history.d.ts.map +1 -0
  91. package/dist/pos_client_api/types/business.d.ts +10 -0
  92. package/dist/pos_client_api/types/business.d.ts.map +1 -0
  93. package/dist/pos_client_api/types/call.d.ts +7 -0
  94. package/dist/pos_client_api/types/call.d.ts.map +1 -0
  95. package/dist/pos_client_api/types/category.d.ts +2 -0
  96. package/dist/pos_client_api/types/category.d.ts.map +1 -0
  97. package/dist/pos_client_api/types/check_in.d.ts +18 -0
  98. package/dist/pos_client_api/types/check_in.d.ts.map +1 -0
  99. package/dist/pos_client_api/types/check_out.d.ts +134 -0
  100. package/dist/pos_client_api/types/check_out.d.ts.map +1 -0
  101. package/dist/pos_client_api/types/combo.d.ts +4 -0
  102. package/dist/pos_client_api/types/combo.d.ts.map +1 -0
  103. package/dist/pos_client_api/types/customer.d.ts +7 -0
  104. package/dist/pos_client_api/types/customer.d.ts.map +1 -0
  105. package/dist/pos_client_api/types/gift_card.d.ts +8 -0
  106. package/dist/pos_client_api/types/gift_card.d.ts.map +1 -0
  107. package/dist/pos_client_api/types/income.d.ts +11 -0
  108. package/dist/pos_client_api/types/income.d.ts.map +1 -0
  109. package/dist/pos_client_api/types/index.d.ts +23 -0
  110. package/dist/pos_client_api/types/index.d.ts.map +1 -0
  111. package/dist/pos_client_api/types/index.js +22 -0
  112. package/dist/pos_client_api/types/key_storage.d.ts +5 -0
  113. package/dist/pos_client_api/types/key_storage.d.ts.map +1 -0
  114. package/dist/pos_client_api/types/order.d.ts +43 -0
  115. package/dist/pos_client_api/types/order.d.ts.map +1 -0
  116. package/dist/pos_client_api/types/payroll.d.ts +61 -0
  117. package/dist/pos_client_api/types/payroll.d.ts.map +1 -0
  118. package/dist/pos_client_api/types/printer.d.ts +23 -0
  119. package/dist/pos_client_api/types/printer.d.ts.map +1 -0
  120. package/dist/pos_client_api/types/service.d.ts +2 -0
  121. package/dist/pos_client_api/types/service.d.ts.map +1 -0
  122. package/dist/pos_client_api/types/setting_turn.d.ts +5 -0
  123. package/dist/pos_client_api/types/setting_turn.d.ts.map +1 -0
  124. package/dist/pos_client_api/types/staff.d.ts +5 -0
  125. package/dist/pos_client_api/types/staff.d.ts.map +1 -0
  126. package/dist/pos_client_api/types/ticket.d.ts +28 -0
  127. package/dist/pos_client_api/types/ticket.d.ts.map +1 -0
  128. package/dist/pos_client_api/types/time_keeping.d.ts +49 -0
  129. package/dist/pos_client_api/types/time_keeping.d.ts.map +1 -0
  130. package/dist/pos_client_api/types/unsubscribe_contact.d.ts +2 -0
  131. package/dist/pos_client_api/types/unsubscribe_contact.d.ts.map +1 -0
  132. package/dist/pos_client_api/types/user.d.ts +6 -0
  133. package/dist/pos_client_api/types/user.d.ts.map +1 -0
  134. package/dist/pos_client_api/types/user.js +1 -0
  135. package/dist/pos_client_api/v1/PosClientApi.d.ts +28 -0
  136. package/dist/pos_client_api/v1/PosClientApi.d.ts.map +1 -0
  137. package/dist/pos_client_api/v1/api/appointment.d.ts +9 -0
  138. package/dist/pos_client_api/v1/api/appointment.d.ts.map +1 -0
  139. package/dist/pos_client_api/v1/api/batch_history.d.ts +8 -0
  140. package/dist/pos_client_api/v1/api/batch_history.d.ts.map +1 -0
  141. package/dist/pos_client_api/v1/api/business.d.ts +8 -0
  142. package/dist/pos_client_api/v1/api/business.d.ts.map +1 -0
  143. package/dist/pos_client_api/v1/api/call.d.ts +7 -0
  144. package/dist/pos_client_api/v1/api/call.d.ts.map +1 -0
  145. package/dist/pos_client_api/v1/api/category.d.ts +7 -0
  146. package/dist/pos_client_api/v1/api/category.d.ts.map +1 -0
  147. package/dist/pos_client_api/v1/api/check_in.d.ts +11 -0
  148. package/dist/pos_client_api/v1/api/check_in.d.ts.map +1 -0
  149. package/dist/pos_client_api/v1/api/check_out.d.ts +35 -0
  150. package/dist/pos_client_api/v1/api/check_out.d.ts.map +1 -0
  151. package/dist/pos_client_api/v1/api/combo.d.ts +7 -0
  152. package/dist/pos_client_api/v1/api/combo.d.ts.map +1 -0
  153. package/dist/pos_client_api/v1/api/customer.d.ts +8 -0
  154. package/dist/pos_client_api/v1/api/customer.d.ts.map +1 -0
  155. package/dist/pos_client_api/v1/api/gift_card.d.ts +8 -0
  156. package/dist/pos_client_api/v1/api/gift_card.d.ts.map +1 -0
  157. package/dist/pos_client_api/v1/api/income.d.ts +8 -0
  158. package/dist/pos_client_api/v1/api/income.d.ts.map +1 -0
  159. package/dist/pos_client_api/v1/api/index.d.ts +23 -0
  160. package/dist/pos_client_api/v1/api/index.d.ts.map +1 -0
  161. package/dist/pos_client_api/v1/api/key_storage.d.ts +7 -0
  162. package/dist/pos_client_api/v1/api/key_storage.d.ts.map +1 -0
  163. package/dist/pos_client_api/v1/api/order.d.ts +13 -0
  164. package/dist/pos_client_api/v1/api/order.d.ts.map +1 -0
  165. package/dist/pos_client_api/v1/api/payroll.d.ts +22 -0
  166. package/dist/pos_client_api/v1/api/payroll.d.ts.map +1 -0
  167. package/dist/pos_client_api/v1/api/printer.d.ts +10 -0
  168. package/dist/pos_client_api/v1/api/printer.d.ts.map +1 -0
  169. package/dist/pos_client_api/v1/api/service.d.ts +7 -0
  170. package/dist/pos_client_api/v1/api/service.d.ts.map +1 -0
  171. package/dist/pos_client_api/v1/api/setting_turn.d.ts +8 -0
  172. package/dist/pos_client_api/v1/api/setting_turn.d.ts.map +1 -0
  173. package/dist/pos_client_api/v1/api/staff.d.ts +8 -0
  174. package/dist/pos_client_api/v1/api/staff.d.ts.map +1 -0
  175. package/dist/pos_client_api/v1/api/ticket.d.ts +13 -0
  176. package/dist/pos_client_api/v1/api/ticket.d.ts.map +1 -0
  177. package/dist/pos_client_api/v1/api/time_keeping.d.ts +13 -0
  178. package/dist/pos_client_api/v1/api/time_keeping.d.ts.map +1 -0
  179. package/dist/pos_client_api/v1/api/unsubscribe_contact.d.ts +5 -0
  180. package/dist/pos_client_api/v1/api/unsubscribe_contact.d.ts.map +1 -0
  181. package/dist/pos_client_api/v1/api/user.d.ts +7 -0
  182. package/dist/pos_client_api/v1/api/user.d.ts.map +1 -0
  183. package/dist/pos_client_api/v1/endpoint/appointment.d.ts +7 -0
  184. package/dist/pos_client_api/v1/endpoint/appointment.d.ts.map +1 -0
  185. package/dist/pos_client_api/v1/endpoint/batch_history.d.ts +6 -0
  186. package/dist/pos_client_api/v1/endpoint/batch_history.d.ts.map +1 -0
  187. package/dist/pos_client_api/v1/endpoint/business.d.ts +6 -0
  188. package/dist/pos_client_api/v1/endpoint/business.d.ts.map +1 -0
  189. package/dist/pos_client_api/v1/endpoint/call.d.ts +5 -0
  190. package/dist/pos_client_api/v1/endpoint/call.d.ts.map +1 -0
  191. package/dist/pos_client_api/v1/endpoint/category.d.ts +5 -0
  192. package/dist/pos_client_api/v1/endpoint/category.d.ts.map +1 -0
  193. package/dist/pos_client_api/v1/endpoint/check_in.d.ts +9 -0
  194. package/dist/pos_client_api/v1/endpoint/check_in.d.ts.map +1 -0
  195. package/dist/pos_client_api/v1/endpoint/check_out.d.ts +33 -0
  196. package/dist/pos_client_api/v1/endpoint/check_out.d.ts.map +1 -0
  197. package/dist/pos_client_api/v1/endpoint/combo.d.ts +5 -0
  198. package/dist/pos_client_api/v1/endpoint/combo.d.ts.map +1 -0
  199. package/dist/pos_client_api/v1/endpoint/customer.d.ts +6 -0
  200. package/dist/pos_client_api/v1/endpoint/customer.d.ts.map +1 -0
  201. package/dist/pos_client_api/v1/endpoint/gift_card.d.ts +6 -0
  202. package/dist/pos_client_api/v1/endpoint/gift_card.d.ts.map +1 -0
  203. package/dist/pos_client_api/v1/endpoint/income.d.ts +6 -0
  204. package/dist/pos_client_api/v1/endpoint/income.d.ts.map +1 -0
  205. package/dist/pos_client_api/v1/endpoint/index.d.ts +23 -0
  206. package/dist/pos_client_api/v1/endpoint/index.d.ts.map +1 -0
  207. package/dist/pos_client_api/v1/endpoint/key_storage.d.ts +5 -0
  208. package/dist/pos_client_api/v1/endpoint/key_storage.d.ts.map +1 -0
  209. package/dist/pos_client_api/v1/endpoint/order.d.ts +11 -0
  210. package/dist/pos_client_api/v1/endpoint/order.d.ts.map +1 -0
  211. package/dist/pos_client_api/v1/endpoint/payroll.d.ts +20 -0
  212. package/dist/pos_client_api/v1/endpoint/payroll.d.ts.map +1 -0
  213. package/dist/pos_client_api/v1/endpoint/printer.d.ts +8 -0
  214. package/dist/pos_client_api/v1/endpoint/printer.d.ts.map +1 -0
  215. package/dist/pos_client_api/v1/endpoint/service.d.ts +5 -0
  216. package/dist/pos_client_api/v1/endpoint/service.d.ts.map +1 -0
  217. package/dist/pos_client_api/v1/endpoint/setting_turn.d.ts +6 -0
  218. package/dist/pos_client_api/v1/endpoint/setting_turn.d.ts.map +1 -0
  219. package/dist/pos_client_api/v1/endpoint/staff.d.ts +6 -0
  220. package/dist/pos_client_api/v1/endpoint/staff.d.ts.map +1 -0
  221. package/dist/pos_client_api/v1/endpoint/ticket.d.ts +11 -0
  222. package/dist/pos_client_api/v1/endpoint/ticket.d.ts.map +1 -0
  223. package/dist/pos_client_api/v1/endpoint/time_keeping.d.ts +11 -0
  224. package/dist/pos_client_api/v1/endpoint/time_keeping.d.ts.map +1 -0
  225. package/dist/pos_client_api/v1/endpoint/unsubscribe_contact.d.ts +3 -0
  226. package/dist/pos_client_api/v1/endpoint/unsubscribe_contact.d.ts.map +1 -0
  227. package/dist/pos_client_api/v1/endpoint/user.d.ts +5 -0
  228. package/dist/pos_client_api/v1/endpoint/user.d.ts.map +1 -0
  229. package/dist/utils/date-time.d.ts +2 -0
  230. package/dist/utils/date-time.d.ts.map +1 -0
  231. package/dist/utils/processed-query.d.ts +18 -0
  232. package/dist/utils/processed-query.d.ts.map +1 -0
  233. package/package.json +7 -1
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ POST_CREATE_APPOINTMENT: string;
3
+ GET_CATEGORY_LIST_APPOINTMENT: string;
4
+ GET_STAFF_LIST_APPOINTMENT: string;
5
+ };
6
+ export default _default;
7
+ //# sourceMappingURL=appointment.d.ts.map
@@ -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,6 @@
1
+ declare const _default: {
2
+ GET_BATCH_HISTORY: string;
3
+ GET_BATCH_DETAIL: string;
4
+ };
5
+ export default _default;
6
+ //# sourceMappingURL=batch_history.d.ts.map
@@ -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,6 @@
1
+ declare const _default: {
2
+ GET_BUSINESS_INFO: string;
3
+ POST_BUSINESS_UPDATE_INFO: string;
4
+ };
5
+ export default _default;
6
+ //# sourceMappingURL=business.d.ts.map
@@ -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,5 @@
1
+ declare const _default: {
2
+ SEND_SMS: string;
3
+ };
4
+ export default _default;
5
+ //# sourceMappingURL=call.d.ts.map
@@ -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,5 @@
1
+ declare const _default: {
2
+ GET_CATEGORY_LIST_ITEM: string;
3
+ };
4
+ export default _default;
5
+ //# sourceMappingURL=category.d.ts.map
@@ -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,9 @@
1
+ declare const _default: {
2
+ POST_CHECK_IN_FORM_SUBMIT: string;
3
+ GET_CHECK_IN_LIST: string;
4
+ GET_CHECK_IN_REPORT: string;
5
+ GET_LAST_CHECK_IN: string;
6
+ GET_CHECK_IN_INFO: string;
7
+ };
8
+ export default _default;
9
+ //# sourceMappingURL=check_in.d.ts.map
@@ -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,5 @@
1
+ declare const _default: {
2
+ GET_COMBO_SITE_INFO: string;
3
+ };
4
+ export default _default;
5
+ //# sourceMappingURL=combo.d.ts.map
@@ -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,6 @@
1
+ declare const _default: {
2
+ GET_CUSTOMER_LIST: string;
3
+ GET_CUSTOMER_DETAIL: string;
4
+ };
5
+ export default _default;
6
+ //# sourceMappingURL=customer.d.ts.map
@@ -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,6 @@
1
+ declare const _default: {
2
+ GET_CHECK_GIFT_CARD: string;
3
+ POST_RESET_GIFT_CARD: string;
4
+ };
5
+ export default _default;
6
+ //# sourceMappingURL=gift_card.d.ts.map
@@ -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,6 @@
1
+ declare const _default: {
2
+ GET_INCOME_HISTORY: string;
3
+ GET_STAFF_DAILY_INCOME: string;
4
+ };
5
+ export default _default;
6
+ //# sourceMappingURL=income.d.ts.map
@@ -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,5 @@
1
+ declare const _default: {
2
+ GET_KEY_STORAGE: string;
3
+ };
4
+ export default _default;
5
+ //# sourceMappingURL=key_storage.d.ts.map
@@ -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,8 @@
1
+ declare const _default: {
2
+ GET_PRINTER_LIST: string;
3
+ GET_PRINTER_DETAIL: string;
4
+ CREATE_PRINTER_INFO: string;
5
+ UPDATE_PRINTER_INFO: string;
6
+ };
7
+ export default _default;
8
+ //# sourceMappingURL=printer.d.ts.map
@@ -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,5 @@
1
+ declare const _default: {
2
+ GET_SERVICE_LIST: string;
3
+ };
4
+ export default _default;
5
+ //# sourceMappingURL=service.d.ts.map
@@ -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,6 @@
1
+ declare const _default: {
2
+ GET_TURN_VALUE: string;
3
+ POST_TURN_UPDATE_VALUE: string;
4
+ };
5
+ export default _default;
6
+ //# sourceMappingURL=setting_turn.d.ts.map
@@ -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,6 @@
1
+ declare const _default: {
2
+ GET_STAFF_LIST_BY_CHECKOUT: string;
3
+ GET_STAFF_LIST: string;
4
+ };
5
+ export default _default;
6
+ //# sourceMappingURL=staff.d.ts.map
@@ -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,3 @@
1
+ declare const _default: {};
2
+ export default _default;
3
+ //# sourceMappingURL=unsubscribe_contact.d.ts.map
@@ -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,5 @@
1
+ declare const _default: {
2
+ POST_LOGIN_API: string;
3
+ };
4
+ export default _default;
5
+ //# sourceMappingURL=user.d.ts.map
@@ -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,2 @@
1
+ export declare const formatExportDateString: () => any;
2
+ //# sourceMappingURL=date-time.d.ts.map
@@ -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.8",
3
+ "version": "1.0.11",
4
4
  "description": "GCI App Platform Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8,6 +8,7 @@
8
8
  "dist/"
9
9
  ],
10
10
  "scripts": {
11
+ "prepublishOnly": "npm run build",
11
12
  "test": "echo \"Error: no test specified\" && exit 1",
12
13
  "build": "tsc && webpack",
13
14
  "lint": "eslint '**/*.{ts,tsx}' --max-warnings 0",
@@ -21,6 +22,7 @@
21
22
  "author": "TanNX",
22
23
  "license": "ISC",
23
24
  "devDependencies": {
25
+ "@types/node": "^18.0.1",
24
26
  "esmify": "^2.1.1",
25
27
  "rimraf": "^3.0.2",
26
28
  "typescript": "^4.7.2",
@@ -29,6 +31,10 @@
29
31
  "browserify": "^17.0.0"
30
32
  },
31
33
  "dependencies": {
34
+ "axios": "^0.27.2",
35
+ "browserify": "^17.0.0",
36
+ "dayjs": "^1.11.3",
37
+ "js-file-download": "^0.4.12",
32
38
  "tslib": "^2.4.0"
33
39
  }
34
40
  }