gap-nodejs-sdk 1.0.323 → 1.0.325

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 (223) hide show
  1. package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts +26 -26
  2. package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts.map +1 -1
  3. package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts +1 -1
  4. package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts.map +1 -1
  5. package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts +3 -3
  6. package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts.map +1 -1
  7. package/dist/api/appointment_api/1.0.0/types/request/service.d.ts +1 -1
  8. package/dist/api/appointment_api/1.0.0/types/request/service.d.ts.map +1 -1
  9. package/dist/api/appointment_api/1.0.0/types/request/settings.d.ts +2 -2
  10. package/dist/api/appointment_api/1.0.0/types/request/settings.d.ts.map +1 -1
  11. package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts +1 -1
  12. package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts.map +1 -1
  13. package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts +35 -35
  14. package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts.map +1 -1
  15. package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts +2 -2
  16. package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts.map +1 -1
  17. package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts +17 -17
  18. package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts.map +1 -1
  19. package/dist/api/appointment_api/1.0.0/types/response/service.d.ts +6 -6
  20. package/dist/api/appointment_api/1.0.0/types/response/service.d.ts.map +1 -1
  21. package/dist/api/appointment_api/1.0.0/types/response/settings.d.ts +2 -2
  22. package/dist/api/appointment_api/1.0.0/types/response/settings.d.ts.map +1 -1
  23. package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts +3 -3
  24. package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts.map +1 -1
  25. package/dist/api/base_api/1.0.0/types/request/auth.d.ts +3 -3
  26. package/dist/api/base_api/1.0.0/types/request/auth.d.ts.map +1 -1
  27. package/dist/api/base_api/1.0.0/types/response/auth.d.ts +6 -6
  28. package/dist/api/base_api/1.0.0/types/response/auth.d.ts.map +1 -1
  29. package/dist/api/go_check_in_api/1.0.0/api/checkin.d.ts +10 -0
  30. package/dist/api/go_check_in_api/1.0.0/api/checkin.d.ts.map +1 -0
  31. package/dist/api/go_check_in_api/1.0.0/api/checkin.js +18 -0
  32. package/dist/api/go_check_in_api/1.0.0/api/customer.d.ts +13 -0
  33. package/dist/api/go_check_in_api/1.0.0/api/customer.d.ts.map +1 -1
  34. package/dist/api/go_check_in_api/1.0.0/api/customer.js +131 -2
  35. package/dist/api/go_check_in_api/1.0.0/api/index.d.ts +1 -0
  36. package/dist/api/go_check_in_api/1.0.0/api/index.d.ts.map +1 -1
  37. package/dist/api/go_check_in_api/1.0.0/api/index.js +1 -0
  38. package/dist/api/go_check_in_api/1.0.0/endpoints/checkin.d.ts +5 -0
  39. package/dist/api/go_check_in_api/1.0.0/endpoints/checkin.d.ts.map +1 -0
  40. package/dist/api/go_check_in_api/1.0.0/endpoints/checkin.js +3 -0
  41. package/dist/api/go_check_in_api/1.0.0/endpoints/customer.d.ts +13 -0
  42. package/dist/api/go_check_in_api/1.0.0/endpoints/customer.d.ts.map +1 -1
  43. package/dist/api/go_check_in_api/1.0.0/endpoints/customer.js +13 -0
  44. package/dist/api/go_check_in_api/1.0.0/endpoints/index.d.ts +1 -0
  45. package/dist/api/go_check_in_api/1.0.0/endpoints/index.d.ts.map +1 -1
  46. package/dist/api/go_check_in_api/1.0.0/endpoints/index.js +1 -0
  47. package/dist/api/go_check_in_api/1.0.0/interfaces/checkin.d.ts +3 -0
  48. package/dist/api/go_check_in_api/1.0.0/interfaces/checkin.d.ts.map +1 -0
  49. package/dist/api/go_check_in_api/1.0.0/interfaces/checkin.js +2 -0
  50. package/dist/api/go_check_in_api/1.0.0/models/checkin.d.ts +84 -0
  51. package/dist/api/go_check_in_api/1.0.0/models/checkin.d.ts.map +1 -0
  52. package/dist/api/go_check_in_api/1.0.0/models/checkin.js +173 -0
  53. package/dist/api/go_check_in_api/1.0.0/models/customer.d.ts +107 -2
  54. package/dist/api/go_check_in_api/1.0.0/models/customer.d.ts.map +1 -1
  55. package/dist/api/go_check_in_api/1.0.0/models/customer.js +148 -8
  56. package/dist/api/go_check_in_api/1.0.0/models/index.d.ts +1 -0
  57. package/dist/api/go_check_in_api/1.0.0/models/index.d.ts.map +1 -1
  58. package/dist/api/go_check_in_api/1.0.0/models/index.js +1 -0
  59. package/dist/api/go_check_in_api/1.0.0/types/request/business.d.ts +3 -3
  60. package/dist/api/go_check_in_api/1.0.0/types/request/business.d.ts.map +1 -1
  61. package/dist/api/go_check_in_api/1.0.0/types/request/campaign.d.ts +18 -18
  62. package/dist/api/go_check_in_api/1.0.0/types/request/campaign.d.ts.map +1 -1
  63. package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts +5 -5
  64. package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts.map +1 -1
  65. package/dist/api/go_check_in_api/1.0.0/types/request/checkin.d.ts +6 -0
  66. package/dist/api/go_check_in_api/1.0.0/types/request/checkin.d.ts.map +1 -0
  67. package/dist/api/go_check_in_api/1.0.0/types/request/checkin.js +1 -0
  68. package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts +39 -9
  69. package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts.map +1 -1
  70. package/dist/api/go_check_in_api/1.0.0/types/request/index.d.ts +1 -0
  71. package/dist/api/go_check_in_api/1.0.0/types/request/index.d.ts.map +1 -1
  72. package/dist/api/go_check_in_api/1.0.0/types/request/index.js +1 -0
  73. package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts +3 -3
  74. package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts.map +1 -1
  75. package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts +6 -6
  76. package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts.map +1 -1
  77. package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts +12 -12
  78. package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts.map +1 -1
  79. package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts +2 -2
  80. package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts.map +1 -1
  81. package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts +17 -17
  82. package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts.map +1 -1
  83. package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts +10 -10
  84. package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts.map +1 -1
  85. package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts +3 -3
  86. package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts.map +1 -1
  87. package/dist/api/go_check_in_api/1.0.0/types/response/campaign.d.ts +25 -25
  88. package/dist/api/go_check_in_api/1.0.0/types/response/campaign.d.ts.map +1 -1
  89. package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts +5 -5
  90. package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts.map +1 -1
  91. package/dist/api/go_check_in_api/1.0.0/types/response/checkin.d.ts +133 -0
  92. package/dist/api/go_check_in_api/1.0.0/types/response/checkin.d.ts.map +1 -0
  93. package/dist/api/go_check_in_api/1.0.0/types/response/checkin.js +1 -0
  94. package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts +117 -2
  95. package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts.map +1 -1
  96. package/dist/api/go_check_in_api/1.0.0/types/response/index.d.ts +1 -0
  97. package/dist/api/go_check_in_api/1.0.0/types/response/index.d.ts.map +1 -1
  98. package/dist/api/go_check_in_api/1.0.0/types/response/index.js +1 -0
  99. package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts +4 -4
  100. package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts.map +1 -1
  101. package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts +9 -9
  102. package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts.map +1 -1
  103. package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts +14 -14
  104. package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts.map +1 -1
  105. package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts +2 -2
  106. package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts.map +1 -1
  107. package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts +17 -17
  108. package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts.map +1 -1
  109. package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts +12 -12
  110. package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts.map +1 -1
  111. package/dist/api/go_check_in_api/index.d.ts +1 -0
  112. package/dist/api/go_check_in_api/index.d.ts.map +1 -1
  113. package/dist/api/go_check_in_api/index.js +1 -0
  114. package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts +4 -4
  115. package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts.map +1 -1
  116. package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts +2 -2
  117. package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts.map +1 -1
  118. package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts +1 -1
  119. package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts.map +1 -1
  120. package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts +1 -1
  121. package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts.map +1 -1
  122. package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts +6 -6
  123. package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts.map +1 -1
  124. package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts +12 -12
  125. package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts.map +1 -1
  126. package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts +6 -6
  127. package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts.map +1 -1
  128. package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts +1 -1
  129. package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts.map +1 -1
  130. package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts +4 -4
  131. package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts.map +1 -1
  132. package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts +2 -2
  133. package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts.map +1 -1
  134. package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts +5 -5
  135. package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts.map +1 -1
  136. package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts +1 -1
  137. package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
  138. package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts +18 -18
  139. package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts.map +1 -1
  140. package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts +13 -13
  141. package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts.map +1 -1
  142. package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts +4 -4
  143. package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts.map +1 -1
  144. package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts +5 -5
  145. package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts.map +1 -1
  146. package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts +2 -2
  147. package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts.map +1 -1
  148. package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts +14 -14
  149. package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts.map +1 -1
  150. package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts +3 -3
  151. package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts.map +1 -1
  152. package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts +10 -10
  153. package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts.map +1 -1
  154. package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts +7 -7
  155. package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts.map +1 -1
  156. package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts +1 -1
  157. package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts.map +1 -1
  158. package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts +1 -1
  159. package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts.map +1 -1
  160. package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts +4 -4
  161. package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts.map +1 -1
  162. package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts +2 -2
  163. package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts.map +1 -1
  164. package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts +2 -2
  165. package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts.map +1 -1
  166. package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts +15 -15
  167. package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts.map +1 -1
  168. package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts +35 -35
  169. package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts.map +1 -1
  170. package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts +8 -8
  171. package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts.map +1 -1
  172. package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts +4 -4
  173. package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts.map +1 -1
  174. package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts +10 -10
  175. package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts.map +1 -1
  176. package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts +1 -1
  177. package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts.map +1 -1
  178. package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts +10 -10
  179. package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts.map +1 -1
  180. package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts +5 -5
  181. package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
  182. package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts +31 -31
  183. package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts.map +1 -1
  184. package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts +19 -19
  185. package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts.map +1 -1
  186. package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts +4 -4
  187. package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts.map +1 -1
  188. package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts +5 -5
  189. package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts.map +1 -1
  190. package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts +2 -2
  191. package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts.map +1 -1
  192. package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts +18 -18
  193. package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts.map +1 -1
  194. package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts +5 -5
  195. package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts.map +1 -1
  196. package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts +12 -12
  197. package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts.map +1 -1
  198. package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts +2 -2
  199. package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts.map +1 -1
  200. package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts +1 -1
  201. package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts.map +1 -1
  202. package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts +1 -1
  203. package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts.map +1 -1
  204. package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts +6 -6
  205. package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
  206. package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts +3 -3
  207. package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts.map +1 -1
  208. package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts +17 -17
  209. package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts.map +1 -1
  210. package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts +7 -7
  211. package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
  212. package/dist/api/user_api/1.0.0/types/request/auth.d.ts +1 -1
  213. package/dist/api/user_api/1.0.0/types/request/auth.d.ts.map +1 -1
  214. package/dist/api/user_api/1.0.0/types/response/auth.d.ts +1 -1
  215. package/dist/api/user_api/1.0.0/types/response/auth.d.ts.map +1 -1
  216. package/dist/base_type.d.ts +8 -4
  217. package/dist/base_type.d.ts.map +1 -1
  218. package/dist/gap-sdk.js +1 -1
  219. package/dist/http_client/types.d.ts +5 -5
  220. package/dist/http_client/types.d.ts.map +1 -1
  221. package/dist/types/meta.d.ts +2 -6
  222. package/dist/types/meta.d.ts.map +1 -1
  223. package/package.json +1 -1
@@ -1,4 +1,17 @@
1
1
  export default {
2
2
  GET_INFO_GROUP: '/v1/gocheckin/group/site/list',
3
3
  UPDATE_LIST_GROUP: '/v1/gocheckin/customer/form/update-list-group',
4
+ GET_GROUP: '/v1/gocheckin/group/site/get',
5
+ CREATE_GROUP: '/v1/gocheckin/group/form/create',
6
+ UPDATE_GROUP: '/v1/gocheckin/group/form/update',
7
+ DELETE_GROUP: '/v1/gocheckin/group/form/delete',
8
+ GET_LIST_CUSTOMER_TO_ADD_GROUP: '/v1/gocheckin/group/site/list-to-add',
9
+ GET_LIST_CUSTOMER: '/v1/gocheckin/customer/site/list',
10
+ GET_CUSTOMER: '/v1/gocheckin/customer/site/get',
11
+ UPDATE_CUSTOMER: '/v1/gocheckin/customer/form/update',
12
+ DELETE_CUSTOMERS: '/v1/gocheckin/customer/form/bulk-delete',
13
+ GET_CUSTOMER_HISTORY: '/v1/gocheckin/customer/history/get',
14
+ REMOVE_CUSTOMERS: '/v1/gocheckin/group/form/remove-customers',
15
+ GET_CHART_INFO: '/v1/gocheckin/customer/site/chart-info',
16
+ EXPORT_MEMBER: '/v1/gocheckin/customer/site/export-member',
4
17
  };
@@ -8,4 +8,5 @@ export { default as notification } from "./notification";
8
8
  export { default as customer } from "./customer";
9
9
  export { default as business } from "./business";
10
10
  export { default as campaign } from "./campaign";
11
+ export { default as checkin } from "./checkin";
11
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,GAAG,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAC;AACzC,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC;AACvD,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,QAAQ,EAAC,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,GAAG,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAC;AACzC,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC;AACvD,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,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,WAAW,CAAC"}
@@ -8,3 +8,4 @@ export { default as notification } from "./notification";
8
8
  export { default as customer } from "./customer";
9
9
  export { default as business } from "./business";
10
10
  export { default as campaign } from "./campaign";
11
+ export { default as checkin } from "./checkin";
@@ -0,0 +1,3 @@
1
+ export default abstract class Checkin {
2
+ }
3
+ //# sourceMappingURL=checkin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkin.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/interfaces/checkin.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,OAAO;CACpC"}
@@ -0,0 +1,2 @@
1
+ export default class Checkin {
2
+ }
@@ -0,0 +1,84 @@
1
+ export declare const CheckinListModel: (data: any) => {
2
+ id: any;
3
+ customer_id: any;
4
+ create_at: any;
5
+ status: any;
6
+ update_at: any;
7
+ attachment: any;
8
+ type: any;
9
+ show_on_wait_list: any;
10
+ counter: any;
11
+ number_checkin: any;
12
+ customer: {
13
+ id: any;
14
+ first_name: any;
15
+ last_name: any;
16
+ full_name: any;
17
+ phone: any;
18
+ email: any;
19
+ address: any;
20
+ city: any;
21
+ state: any;
22
+ country: any;
23
+ gender: any;
24
+ birthday: any;
25
+ create_at: any;
26
+ update_at: any;
27
+ status: any;
28
+ group_id: any;
29
+ note: any;
30
+ parent_id: any;
31
+ rating: any;
32
+ is_yelp: any;
33
+ reachable_email: any;
34
+ reachable_push: any;
35
+ reachable_sms: any;
36
+ visit_count: any;
37
+ last_visited: any;
38
+ image_url: any;
39
+ address2: any;
40
+ postal_code: any;
41
+ is_send_sms: any;
42
+ is_import: any;
43
+ is_checked_in: any;
44
+ is_blocked_from_booking: any;
45
+ source: any;
46
+ current_point: any;
47
+ lifetime_point: any;
48
+ type: any;
49
+ yelp: any;
50
+ last_review: any;
51
+ review_type: any;
52
+ };
53
+ customer_point: {
54
+ customer_id: any;
55
+ point: any;
56
+ created_at: any;
57
+ update_at: any;
58
+ lifetime_point: any;
59
+ };
60
+ check_out: {
61
+ id: any;
62
+ customer_id: any;
63
+ created_at: any;
64
+ update_at: any;
65
+ owner_id: any;
66
+ checkin_id: any;
67
+ status: any;
68
+ note: any;
69
+ total_price: any;
70
+ discount: any;
71
+ user_id: any;
72
+ point_bonus: any;
73
+ sms_sent: any;
74
+ order_id: any;
75
+ };
76
+ promotions: any;
77
+ services: any;
78
+ staffs: any;
79
+ rewards: any;
80
+ customer_checkin_services: any;
81
+ products: any;
82
+ groups: any;
83
+ };
84
+ //# sourceMappingURL=checkin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkin.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/checkin.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,SAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBzC,CAAA"}
@@ -0,0 +1,173 @@
1
+ export const CheckinListModel = (data) => {
2
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3
+ return {
4
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
5
+ customer_id: (_b = data === null || data === void 0 ? void 0 : data.customer_id) !== null && _b !== void 0 ? _b : null,
6
+ create_at: (_c = data === null || data === void 0 ? void 0 : data.create_at) !== null && _c !== void 0 ? _c : null,
7
+ status: (_d = data === null || data === void 0 ? void 0 : data.status) !== null && _d !== void 0 ? _d : null,
8
+ update_at: (_e = data === null || data === void 0 ? void 0 : data.update_at) !== null && _e !== void 0 ? _e : null,
9
+ attachment: (_f = data === null || data === void 0 ? void 0 : data.attachment) !== null && _f !== void 0 ? _f : null,
10
+ type: (_g = data === null || data === void 0 ? void 0 : data.type) !== null && _g !== void 0 ? _g : null,
11
+ show_on_wait_list: (_h = data === null || data === void 0 ? void 0 : data.show_on_wait_list) !== null && _h !== void 0 ? _h : null,
12
+ counter: (_j = data === null || data === void 0 ? void 0 : data.counter) !== null && _j !== void 0 ? _j : null,
13
+ number_checkin: (_k = data === null || data === void 0 ? void 0 : data.number_checkin) !== null && _k !== void 0 ? _k : null,
14
+ customer: Customer(data === null || data === void 0 ? void 0 : data.customer),
15
+ customer_point: CustomerPoint(data === null || data === void 0 ? void 0 : data.customer_point),
16
+ check_out: CheckOut(data === null || data === void 0 ? void 0 : data.check_out),
17
+ promotions: Promotions(data === null || data === void 0 ? void 0 : data.promotions),
18
+ services: Services(data === null || data === void 0 ? void 0 : data.services),
19
+ staffs: Staffs(data === null || data === void 0 ? void 0 : data.staffs),
20
+ rewards: Rewards(data === null || data === void 0 ? void 0 : data.rewards),
21
+ customer_checkin_services: CustomerCheckinServices(data === null || data === void 0 ? void 0 : data.customer_checkin_services),
22
+ products: Products(data === null || data === void 0 ? void 0 : data.products),
23
+ groups: Group(data === null || data === void 0 ? void 0 : data.groups),
24
+ };
25
+ };
26
+ const Customer = (data) => {
27
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14;
28
+ return {
29
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
30
+ first_name: (_b = data === null || data === void 0 ? void 0 : data.first_name) !== null && _b !== void 0 ? _b : null,
31
+ last_name: (_c = data === null || data === void 0 ? void 0 : data.last_name) !== null && _c !== void 0 ? _c : null,
32
+ full_name: (_d = data === null || data === void 0 ? void 0 : data.full_name) !== null && _d !== void 0 ? _d : null,
33
+ phone: (_e = data === null || data === void 0 ? void 0 : data.phone) !== null && _e !== void 0 ? _e : null,
34
+ email: (_f = data === null || data === void 0 ? void 0 : data.email) !== null && _f !== void 0 ? _f : null,
35
+ address: (_g = data === null || data === void 0 ? void 0 : data.address) !== null && _g !== void 0 ? _g : null,
36
+ city: (_h = data === null || data === void 0 ? void 0 : data.city) !== null && _h !== void 0 ? _h : null,
37
+ state: (_j = data === null || data === void 0 ? void 0 : data.state) !== null && _j !== void 0 ? _j : null,
38
+ country: (_k = data === null || data === void 0 ? void 0 : data.country) !== null && _k !== void 0 ? _k : null,
39
+ gender: (_l = data === null || data === void 0 ? void 0 : data.gender) !== null && _l !== void 0 ? _l : null,
40
+ birthday: (_m = data === null || data === void 0 ? void 0 : data.birthday) !== null && _m !== void 0 ? _m : null,
41
+ create_at: (_o = data === null || data === void 0 ? void 0 : data.create_at) !== null && _o !== void 0 ? _o : null,
42
+ update_at: (_p = data === null || data === void 0 ? void 0 : data.update_at) !== null && _p !== void 0 ? _p : null,
43
+ status: (_q = data === null || data === void 0 ? void 0 : data.status) !== null && _q !== void 0 ? _q : null,
44
+ group_id: (_r = data === null || data === void 0 ? void 0 : data.group_id) !== null && _r !== void 0 ? _r : null,
45
+ note: (_s = data === null || data === void 0 ? void 0 : data.note) !== null && _s !== void 0 ? _s : null,
46
+ parent_id: (_t = data === null || data === void 0 ? void 0 : data.parent_id) !== null && _t !== void 0 ? _t : null,
47
+ rating: (_u = data === null || data === void 0 ? void 0 : data.rating) !== null && _u !== void 0 ? _u : null,
48
+ is_yelp: (_v = data === null || data === void 0 ? void 0 : data.is_yelp) !== null && _v !== void 0 ? _v : null,
49
+ reachable_email: (_w = data === null || data === void 0 ? void 0 : data.reachable_email) !== null && _w !== void 0 ? _w : null,
50
+ reachable_push: (_x = data === null || data === void 0 ? void 0 : data.reachable_push) !== null && _x !== void 0 ? _x : null,
51
+ reachable_sms: (_y = data === null || data === void 0 ? void 0 : data.reachable_sms) !== null && _y !== void 0 ? _y : null,
52
+ visit_count: (_z = data === null || data === void 0 ? void 0 : data.visit_count) !== null && _z !== void 0 ? _z : null,
53
+ last_visited: (_0 = data === null || data === void 0 ? void 0 : data.last_visited) !== null && _0 !== void 0 ? _0 : null,
54
+ image_url: (_1 = data === null || data === void 0 ? void 0 : data.image_url) !== null && _1 !== void 0 ? _1 : null,
55
+ address2: (_2 = data === null || data === void 0 ? void 0 : data.address2) !== null && _2 !== void 0 ? _2 : null,
56
+ postal_code: (_3 = data === null || data === void 0 ? void 0 : data.postal_code) !== null && _3 !== void 0 ? _3 : null,
57
+ is_send_sms: (_4 = data === null || data === void 0 ? void 0 : data.is_send_sms) !== null && _4 !== void 0 ? _4 : null,
58
+ is_import: (_5 = data === null || data === void 0 ? void 0 : data.is_import) !== null && _5 !== void 0 ? _5 : null,
59
+ is_checked_in: (_6 = data === null || data === void 0 ? void 0 : data.is_checked_in) !== null && _6 !== void 0 ? _6 : null,
60
+ is_blocked_from_booking: (_7 = data === null || data === void 0 ? void 0 : data.is_blocked_from_booking) !== null && _7 !== void 0 ? _7 : null,
61
+ source: (_8 = data === null || data === void 0 ? void 0 : data.source) !== null && _8 !== void 0 ? _8 : null,
62
+ current_point: (_9 = data === null || data === void 0 ? void 0 : data.current_point) !== null && _9 !== void 0 ? _9 : null,
63
+ lifetime_point: (_10 = data === null || data === void 0 ? void 0 : data.lifetime_point) !== null && _10 !== void 0 ? _10 : null,
64
+ type: (_11 = data === null || data === void 0 ? void 0 : data.type) !== null && _11 !== void 0 ? _11 : null,
65
+ yelp: (_12 = data === null || data === void 0 ? void 0 : data.yelp) !== null && _12 !== void 0 ? _12 : null,
66
+ last_review: (_13 = data === null || data === void 0 ? void 0 : data.last_review) !== null && _13 !== void 0 ? _13 : null,
67
+ review_type: (_14 = data === null || data === void 0 ? void 0 : data.review_type) !== null && _14 !== void 0 ? _14 : null,
68
+ };
69
+ };
70
+ const CustomerPoint = (data) => {
71
+ var _a, _b, _c, _d, _e;
72
+ return {
73
+ customer_id: (_a = data === null || data === void 0 ? void 0 : data.customer_id) !== null && _a !== void 0 ? _a : null,
74
+ point: (_b = data === null || data === void 0 ? void 0 : data.point) !== null && _b !== void 0 ? _b : null,
75
+ created_at: (_c = data === null || data === void 0 ? void 0 : data.created_at) !== null && _c !== void 0 ? _c : null,
76
+ update_at: (_d = data === null || data === void 0 ? void 0 : data.update_at) !== null && _d !== void 0 ? _d : null,
77
+ lifetime_point: (_e = data === null || data === void 0 ? void 0 : data.lifetime_point) !== null && _e !== void 0 ? _e : null,
78
+ };
79
+ };
80
+ const CheckOut = (data) => {
81
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
82
+ return {
83
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
84
+ customer_id: (_b = data === null || data === void 0 ? void 0 : data.customer_id) !== null && _b !== void 0 ? _b : null,
85
+ created_at: (_c = data === null || data === void 0 ? void 0 : data.created_at) !== null && _c !== void 0 ? _c : null,
86
+ update_at: (_d = data === null || data === void 0 ? void 0 : data.update_at) !== null && _d !== void 0 ? _d : null,
87
+ owner_id: (_e = data === null || data === void 0 ? void 0 : data.owner_id) !== null && _e !== void 0 ? _e : null,
88
+ checkin_id: (_f = data === null || data === void 0 ? void 0 : data.checkin_id) !== null && _f !== void 0 ? _f : null,
89
+ status: (_g = data === null || data === void 0 ? void 0 : data.status) !== null && _g !== void 0 ? _g : null,
90
+ note: (_h = data === null || data === void 0 ? void 0 : data.note) !== null && _h !== void 0 ? _h : null,
91
+ total_price: (_j = data === null || data === void 0 ? void 0 : data.total_price) !== null && _j !== void 0 ? _j : null,
92
+ discount: (_k = data === null || data === void 0 ? void 0 : data.discount) !== null && _k !== void 0 ? _k : null,
93
+ user_id: (_l = data === null || data === void 0 ? void 0 : data.user_id) !== null && _l !== void 0 ? _l : null,
94
+ point_bonus: (_m = data === null || data === void 0 ? void 0 : data.point_bonus) !== null && _m !== void 0 ? _m : null,
95
+ sms_sent: (_o = data === null || data === void 0 ? void 0 : data.sms_sent) !== null && _o !== void 0 ? _o : null,
96
+ order_id: (_p = data === null || data === void 0 ? void 0 : data.order_id) !== null && _p !== void 0 ? _p : null,
97
+ };
98
+ };
99
+ const Promotions = (data) => {
100
+ return (data || []).map((item) => {
101
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
102
+ return {
103
+ id: (_a = item === null || item === void 0 ? void 0 : item.id) !== null && _a !== void 0 ? _a : null,
104
+ campaign_id: (_b = item === null || item === void 0 ? void 0 : item.campaign_id) !== null && _b !== void 0 ? _b : null,
105
+ code: (_c = item === null || item === void 0 ? void 0 : item.code) !== null && _c !== void 0 ? _c : null,
106
+ customer_id: (_d = item === null || item === void 0 ? void 0 : item.customer_id) !== null && _d !== void 0 ? _d : null,
107
+ created_at: (_e = item === null || item === void 0 ? void 0 : item.created_at) !== null && _e !== void 0 ? _e : null,
108
+ updated_at: (_f = item === null || item === void 0 ? void 0 : item.updated_at) !== null && _f !== void 0 ? _f : null,
109
+ is_used: (_g = item === null || item === void 0 ? void 0 : item.is_used) !== null && _g !== void 0 ? _g : null,
110
+ expired_date: (_h = item === null || item === void 0 ? void 0 : item.expired_date) !== null && _h !== void 0 ? _h : null,
111
+ limit_used: (_j = item === null || item === void 0 ? void 0 : item.limit_used) !== null && _j !== void 0 ? _j : null,
112
+ total_used: (_k = item === null || item === void 0 ? void 0 : item.total_used) !== null && _k !== void 0 ? _k : null,
113
+ };
114
+ });
115
+ };
116
+ const Services = (data) => {
117
+ return (data || []).map((item) => {
118
+ var _a, _b, _c;
119
+ return {
120
+ id: (_a = item === null || item === void 0 ? void 0 : item.id) !== null && _a !== void 0 ? _a : null,
121
+ name: (_b = item === null || item === void 0 ? void 0 : item.name) !== null && _b !== void 0 ? _b : null,
122
+ price: (_c = item === null || item === void 0 ? void 0 : item.price) !== null && _c !== void 0 ? _c : null,
123
+ };
124
+ });
125
+ };
126
+ const Staffs = (data) => {
127
+ return (data || []).map((item) => {
128
+ var _a, _b, _c, _d;
129
+ return {
130
+ user_id: (_a = item === null || item === void 0 ? void 0 : item.user_id) !== null && _a !== void 0 ? _a : null,
131
+ name: (_b = item === null || item === void 0 ? void 0 : item.name) !== null && _b !== void 0 ? _b : null,
132
+ color_code: (_c = item === null || item === void 0 ? void 0 : item.color_code) !== null && _c !== void 0 ? _c : null,
133
+ image_url: (_d = item === null || item === void 0 ? void 0 : item.image_url) !== null && _d !== void 0 ? _d : null,
134
+ };
135
+ });
136
+ };
137
+ const Rewards = (data) => {
138
+ return data;
139
+ };
140
+ const CustomerCheckinServices = (data) => {
141
+ return (data || []).map((item) => {
142
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
143
+ return {
144
+ id: (_a = item === null || item === void 0 ? void 0 : item.id) !== null && _a !== void 0 ? _a : null,
145
+ checkin_id: (_b = item === null || item === void 0 ? void 0 : item.checkin_id) !== null && _b !== void 0 ? _b : null,
146
+ service_id: (_c = item === null || item === void 0 ? void 0 : item.service_id) !== null && _c !== void 0 ? _c : null,
147
+ created_at: (_d = item === null || item === void 0 ? void 0 : item.created_at) !== null && _d !== void 0 ? _d : null,
148
+ updated_at: (_e = item === null || item === void 0 ? void 0 : item.updated_at) !== null && _e !== void 0 ? _e : null,
149
+ staff_id: (_f = item === null || item === void 0 ? void 0 : item.staff_id) !== null && _f !== void 0 ? _f : null,
150
+ price: (_g = item === null || item === void 0 ? void 0 : item.price) !== null && _g !== void 0 ? _g : null,
151
+ staff: (_h = item === null || item === void 0 ? void 0 : item.staff) !== null && _h !== void 0 ? _h : null,
152
+ service: {
153
+ id: (_k = (_j = item === null || item === void 0 ? void 0 : item.service) === null || _j === void 0 ? void 0 : _j.id) !== null && _k !== void 0 ? _k : null,
154
+ name: (_m = (_l = item === null || item === void 0 ? void 0 : item.service) === null || _l === void 0 ? void 0 : _l.name) !== null && _m !== void 0 ? _m : null,
155
+ price: (_p = (_o = item === null || item === void 0 ? void 0 : item.service) === null || _o === void 0 ? void 0 : _o.price) !== null && _p !== void 0 ? _p : null,
156
+ },
157
+ };
158
+ });
159
+ };
160
+ const Products = (data) => {
161
+ return data;
162
+ };
163
+ const Group = (data) => {
164
+ return (data || []).map((item) => {
165
+ var _a, _b, _c, _d;
166
+ return {
167
+ id: (_a = item === null || item === void 0 ? void 0 : item.id) !== null && _a !== void 0 ? _a : null,
168
+ name: (_b = item === null || item === void 0 ? void 0 : item.name) !== null && _b !== void 0 ? _b : null,
169
+ description: (_c = item === null || item === void 0 ? void 0 : item.description) !== null && _c !== void 0 ? _c : null,
170
+ status: (_d = item === null || item === void 0 ? void 0 : item.status) !== null && _d !== void 0 ? _d : null,
171
+ };
172
+ });
173
+ };
@@ -1,12 +1,117 @@
1
- export declare function GetInfoGroupModel(data: any): {
1
+ export declare const GetInfoGroupModel: (data: any) => {
2
2
  id: any;
3
3
  name: any;
4
4
  description: any;
5
5
  status: any;
6
6
  };
7
- export declare function UpdateListGroupModel(data: any): {
7
+ export declare const UpdateListGroupModel: (data: any) => {
8
8
  customer_id: any;
9
9
  group_id: any;
10
10
  id: any;
11
11
  };
12
+ export declare const CustomerModel: (data: any) => {
13
+ id: any;
14
+ full_name: any;
15
+ phone: any;
16
+ email: any;
17
+ birthday: any;
18
+ visit_count: any;
19
+ last_visited: any;
20
+ create_at: any;
21
+ is_send_sms: any;
22
+ note: any;
23
+ type: any;
24
+ lifetime_point: any;
25
+ current_point: any;
26
+ groups: any;
27
+ checkin_count: any;
28
+ is_blocked_from_booking: any;
29
+ source: any;
30
+ };
31
+ export declare const CheckedOutByModel: (data: any) => {
32
+ user_id: any;
33
+ name: any;
34
+ code: any;
35
+ created_at: any;
36
+ updated_at: any;
37
+ color_code: any;
38
+ image_url: any;
39
+ delete_image_url: any;
40
+ priority: any;
41
+ commission_type: any;
42
+ turn_priority: any;
43
+ last_turn_priority: any;
44
+ phone: any;
45
+ address: any;
46
+ nickname: any;
47
+ priority_calendar: any;
48
+ };
49
+ export declare const CheckinModel: (data: any) => {
50
+ id: any;
51
+ customer_id: any;
52
+ create_at: any;
53
+ status: any;
54
+ update_at: any;
55
+ attachment: any;
56
+ type: any;
57
+ show_on_wait_list: any;
58
+ };
59
+ export declare const NameModel: (data: any) => {
60
+ name: any;
61
+ };
62
+ export declare const HistoryModel: (data: any) => {
63
+ checked_in_at: any;
64
+ checked_out_at: any;
65
+ point_added: any;
66
+ checked_out_by: any;
67
+ staffs: any;
68
+ services: any;
69
+ checkout_staffs: any;
70
+ checkin: any;
71
+ };
72
+ export declare const RemoveCustomersModel: (data: any) => {
73
+ group: {
74
+ id: any;
75
+ name: any;
76
+ description: any;
77
+ status: any;
78
+ };
79
+ customers: any;
80
+ };
81
+ export declare const ChartInfoModel: (data: any) => {
82
+ all: any;
83
+ vip: any;
84
+ regular: any;
85
+ new: any;
86
+ atrisk: any;
87
+ normal: any;
88
+ import: any;
89
+ booking: any;
90
+ };
91
+ export declare const GetGroupModel: (data: any) => {
92
+ customer: any;
93
+ };
94
+ export declare const CreateGroupModel: (data: any) => {
95
+ id: any;
96
+ name: any;
97
+ status: any;
98
+ };
99
+ export declare const UpdateGroupModel: (data: any) => {
100
+ group: {
101
+ id: any;
102
+ name: any;
103
+ description: any;
104
+ status: any;
105
+ };
106
+ customers: any;
107
+ };
108
+ export declare const DeleteGroupModel: (data: any) => {
109
+ id: any;
110
+ name: any;
111
+ description: any;
112
+ status: any;
113
+ };
114
+ export declare const GetListCustomerToAddGroupModel: (data: any) => {
115
+ customer: any;
116
+ };
12
117
  //# sourceMappingURL=customer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/customer.ts"],"names":[],"mappings":"AAAA,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG;;;;;EAO1C;AACD,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG;;;;EAM7C"}
1
+ {"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/customer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,SAAU,GAAG;;;;;CAKzC,CAAC;AACH,eAAO,MAAM,oBAAoB,SAAU,GAAG;;;;CAI5C,CAAC;AAKH,eAAO,MAAM,aAAa,SAAU,GAAG;;;;;;;;;;;;;;;;;;CAkBrC,CAAC;AAEH,eAAO,MAAM,iBAAiB,SAAU,GAAG;;;;;;;;;;;;;;;;;CAiBzC,CAAA;AACF,eAAO,MAAM,YAAY,SAAU,GAAG;;;;;;;;;CASpC,CAAA;AACF,eAAO,MAAM,SAAS,SAAU,GAAG;;CAEjC,CAAA;AACF,eAAO,MAAM,YAAY,SAAU,GAAG;;;;;;;;;CASpC,CAAC;AAaH,eAAO,MAAM,oBAAoB,SAAU,GAAG;;;;;;;;CAQ5C,CAAC;AAEH,eAAO,MAAM,cAAc,SAAU,GAAG;;;;;;;;;CAStC,CAAC;AAEH,eAAO,MAAM,aAAa,SAhCQ,GAAG;;CAgCU,CAAC;AAChD,eAAO,MAAM,gBAAgB,SAAU,GAAG;;;;CAIxC,CAAC;AACH,eAAO,MAAM,gBAAgB,SA3Bc,GAAG;;;;;;;;CA2BM,CAAC;AACrD,eAAO,MAAM,gBAAgB,SAAU,GAAG;;;;;CAKxC,CAAA;AACF,eAAO,MAAM,8BAA8B,SA7CT,GAAG;;CA6C2B,CAAC"}
@@ -1,17 +1,157 @@
1
- export function GetInfoGroupModel(data) {
1
+ export const GetInfoGroupModel = (data) => {
2
2
  var _a, _b, _c, _d;
3
- return {
3
+ return ({
4
4
  id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
5
5
  name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
6
6
  description: (_c = data === null || data === void 0 ? void 0 : data.description) !== null && _c !== void 0 ? _c : null,
7
7
  status: (_d = data === null || data === void 0 ? void 0 : data.status) !== null && _d !== void 0 ? _d : null,
8
- };
9
- }
10
- export function UpdateListGroupModel(data) {
8
+ });
9
+ };
10
+ export const UpdateListGroupModel = (data) => {
11
11
  var _a, _b, _c;
12
- return {
12
+ return ({
13
13
  customer_id: (_a = data === null || data === void 0 ? void 0 : data.customer_id) !== null && _a !== void 0 ? _a : null,
14
14
  group_id: (_b = data === null || data === void 0 ? void 0 : data.group_id) !== null && _b !== void 0 ? _b : null,
15
15
  id: (_c = data === null || data === void 0 ? void 0 : data.id) !== null && _c !== void 0 ? _c : null,
16
- };
17
- }
16
+ });
17
+ };
18
+ const GroupModel = (data) => {
19
+ var _a;
20
+ return ({
21
+ group_id: (_a = data === null || data === void 0 ? void 0 : data.group_id) !== null && _a !== void 0 ? _a : null,
22
+ });
23
+ };
24
+ export const CustomerModel = (data) => {
25
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
26
+ return ({
27
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
28
+ full_name: (_b = data === null || data === void 0 ? void 0 : data.full_name) !== null && _b !== void 0 ? _b : null,
29
+ phone: (_c = data === null || data === void 0 ? void 0 : data.phone) !== null && _c !== void 0 ? _c : null,
30
+ email: (_d = data === null || data === void 0 ? void 0 : data.email) !== null && _d !== void 0 ? _d : null,
31
+ birthday: (_e = data === null || data === void 0 ? void 0 : data.birthday) !== null && _e !== void 0 ? _e : null,
32
+ visit_count: (_f = data === null || data === void 0 ? void 0 : data.visit_count) !== null && _f !== void 0 ? _f : null,
33
+ last_visited: (_g = data === null || data === void 0 ? void 0 : data.last_visited) !== null && _g !== void 0 ? _g : null,
34
+ create_at: (_h = data === null || data === void 0 ? void 0 : data.create_at) !== null && _h !== void 0 ? _h : null,
35
+ is_send_sms: (_j = data === null || data === void 0 ? void 0 : data.is_send_sms) !== null && _j !== void 0 ? _j : null,
36
+ note: (_k = data === null || data === void 0 ? void 0 : data.note) !== null && _k !== void 0 ? _k : null,
37
+ type: (_l = data === null || data === void 0 ? void 0 : data.type) !== null && _l !== void 0 ? _l : null,
38
+ lifetime_point: (_m = data === null || data === void 0 ? void 0 : data.lifetime_point) !== null && _m !== void 0 ? _m : null,
39
+ current_point: (_o = data === null || data === void 0 ? void 0 : data.current_point) !== null && _o !== void 0 ? _o : null,
40
+ groups: ((data === null || data === void 0 ? void 0 : data.groups) || []).map(GroupModel),
41
+ checkin_count: (_p = data === null || data === void 0 ? void 0 : data.checkin_count) !== null && _p !== void 0 ? _p : null,
42
+ is_blocked_from_booking: (_q = data === null || data === void 0 ? void 0 : data.is_blocked_from_booking) !== null && _q !== void 0 ? _q : null,
43
+ source: (_r = data === null || data === void 0 ? void 0 : data.source) !== null && _r !== void 0 ? _r : null,
44
+ });
45
+ };
46
+ export const CheckedOutByModel = (data) => {
47
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
48
+ return ({
49
+ user_id: (_a = data === null || data === void 0 ? void 0 : data.user_id) !== null && _a !== void 0 ? _a : null,
50
+ name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
51
+ code: (_c = data === null || data === void 0 ? void 0 : data.code) !== null && _c !== void 0 ? _c : null,
52
+ created_at: (_d = data === null || data === void 0 ? void 0 : data.created_at) !== null && _d !== void 0 ? _d : null,
53
+ updated_at: (_e = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _e !== void 0 ? _e : null,
54
+ color_code: (_f = data === null || data === void 0 ? void 0 : data.color_code) !== null && _f !== void 0 ? _f : null,
55
+ image_url: (_g = data === null || data === void 0 ? void 0 : data.image_url) !== null && _g !== void 0 ? _g : null,
56
+ delete_image_url: (_h = data === null || data === void 0 ? void 0 : data.delete_image_url) !== null && _h !== void 0 ? _h : null,
57
+ priority: (_j = data === null || data === void 0 ? void 0 : data.priority) !== null && _j !== void 0 ? _j : null,
58
+ commission_type: (_k = data === null || data === void 0 ? void 0 : data.commission_type) !== null && _k !== void 0 ? _k : null,
59
+ turn_priority: (_l = data === null || data === void 0 ? void 0 : data.turn_priority) !== null && _l !== void 0 ? _l : null,
60
+ last_turn_priority: (_m = data === null || data === void 0 ? void 0 : data.last_turn_priority) !== null && _m !== void 0 ? _m : null,
61
+ phone: (_o = data === null || data === void 0 ? void 0 : data.phone) !== null && _o !== void 0 ? _o : null,
62
+ address: (_p = data === null || data === void 0 ? void 0 : data.address) !== null && _p !== void 0 ? _p : null,
63
+ nickname: (_q = data === null || data === void 0 ? void 0 : data.nickname) !== null && _q !== void 0 ? _q : null,
64
+ priority_calendar: (_r = data === null || data === void 0 ? void 0 : data.priority_calendar) !== null && _r !== void 0 ? _r : null,
65
+ });
66
+ };
67
+ export const CheckinModel = (data) => {
68
+ var _a, _b, _c, _d, _e, _f, _g, _h;
69
+ return ({
70
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
71
+ customer_id: (_b = data === null || data === void 0 ? void 0 : data.customer_id) !== null && _b !== void 0 ? _b : null,
72
+ create_at: (_c = data === null || data === void 0 ? void 0 : data.create_at) !== null && _c !== void 0 ? _c : null,
73
+ status: (_d = data === null || data === void 0 ? void 0 : data.status) !== null && _d !== void 0 ? _d : null,
74
+ update_at: (_e = data === null || data === void 0 ? void 0 : data.update_at) !== null && _e !== void 0 ? _e : null,
75
+ attachment: (_f = data === null || data === void 0 ? void 0 : data.attachment) !== null && _f !== void 0 ? _f : null,
76
+ type: (_g = data === null || data === void 0 ? void 0 : data.type) !== null && _g !== void 0 ? _g : null,
77
+ show_on_wait_list: (_h = data === null || data === void 0 ? void 0 : data.show_on_wait_list) !== null && _h !== void 0 ? _h : null,
78
+ });
79
+ };
80
+ export const NameModel = (data) => {
81
+ var _a;
82
+ return ({
83
+ name: (_a = data === null || data === void 0 ? void 0 : data.name) !== null && _a !== void 0 ? _a : null
84
+ });
85
+ };
86
+ export const HistoryModel = (data) => {
87
+ var _a, _b, _c;
88
+ return ({
89
+ checked_in_at: (_a = data === null || data === void 0 ? void 0 : data.checked_in_at) !== null && _a !== void 0 ? _a : null,
90
+ checked_out_at: (_b = data === null || data === void 0 ? void 0 : data.checked_out_at) !== null && _b !== void 0 ? _b : null,
91
+ point_added: (_c = data === null || data === void 0 ? void 0 : data.point_added) !== null && _c !== void 0 ? _c : null,
92
+ checked_out_by: ((data === null || data === void 0 ? void 0 : data.checked_out_by) || []).map(CheckedOutByModel),
93
+ staffs: ((data === null || data === void 0 ? void 0 : data.staffs) || []).map(NameModel),
94
+ services: ((data === null || data === void 0 ? void 0 : data.services) || []).map(NameModel),
95
+ checkout_staffs: ((data === null || data === void 0 ? void 0 : data.checkout_staffs) || []).map(NameModel),
96
+ checkin: ((data === null || data === void 0 ? void 0 : data.checkin) || []).map(CheckinModel),
97
+ });
98
+ };
99
+ const GroupCustomerModel = (data) => ({
100
+ customer: ((data === null || data === void 0 ? void 0 : data.customer) || []).map(item => {
101
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
102
+ return ({
103
+ id: (_b = (_a = item === null || item === void 0 ? void 0 : item.customer) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : null,
104
+ full_name: (_d = (_c = item === null || item === void 0 ? void 0 : item.customer) === null || _c === void 0 ? void 0 : _c.full_name) !== null && _d !== void 0 ? _d : null,
105
+ email: (_f = (_e = item === null || item === void 0 ? void 0 : item.customer) === null || _e === void 0 ? void 0 : _e.email) !== null && _f !== void 0 ? _f : null,
106
+ create_at: (_h = (_g = item === null || item === void 0 ? void 0 : item.customer) === null || _g === void 0 ? void 0 : _g.create_at) !== null && _h !== void 0 ? _h : null,
107
+ phone: (_k = (_j = item === null || item === void 0 ? void 0 : item.customer) === null || _j === void 0 ? void 0 : _j.phone) !== null && _k !== void 0 ? _k : null,
108
+ lifetime_point: (_m = (_l = item === null || item === void 0 ? void 0 : item.customer) === null || _l === void 0 ? void 0 : _l.lifetime_point) !== null && _m !== void 0 ? _m : null,
109
+ current_point: (_p = (_o = item === null || item === void 0 ? void 0 : item.customer) === null || _o === void 0 ? void 0 : _o.current_point) !== null && _p !== void 0 ? _p : null,
110
+ });
111
+ })
112
+ });
113
+ export const RemoveCustomersModel = (data) => {
114
+ var _a, _b, _c, _d, _e, _f, _g, _h;
115
+ return ({
116
+ group: {
117
+ id: (_b = (_a = data === null || data === void 0 ? void 0 : data.group) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : null,
118
+ name: (_d = (_c = data === null || data === void 0 ? void 0 : data.group) === null || _c === void 0 ? void 0 : _c.name) !== null && _d !== void 0 ? _d : null,
119
+ description: (_f = (_e = data === null || data === void 0 ? void 0 : data.group) === null || _e === void 0 ? void 0 : _e.description) !== null && _f !== void 0 ? _f : null,
120
+ status: (_h = (_g = data === null || data === void 0 ? void 0 : data.group) === null || _g === void 0 ? void 0 : _g.status) !== null && _h !== void 0 ? _h : null,
121
+ },
122
+ customers: ((data === null || data === void 0 ? void 0 : data.customers) || []).map(GroupCustomerModel),
123
+ });
124
+ };
125
+ export const ChartInfoModel = (data) => {
126
+ var _a, _b, _c, _d, _e, _f, _g, _h;
127
+ return ({
128
+ all: (_a = data === null || data === void 0 ? void 0 : data.all) !== null && _a !== void 0 ? _a : null,
129
+ vip: (_b = data === null || data === void 0 ? void 0 : data.vip) !== null && _b !== void 0 ? _b : null,
130
+ regular: (_c = data === null || data === void 0 ? void 0 : data.regular) !== null && _c !== void 0 ? _c : null,
131
+ new: (_d = data === null || data === void 0 ? void 0 : data.new) !== null && _d !== void 0 ? _d : null,
132
+ atrisk: (_e = data === null || data === void 0 ? void 0 : data.atrisk) !== null && _e !== void 0 ? _e : null,
133
+ normal: (_f = data === null || data === void 0 ? void 0 : data.normal) !== null && _f !== void 0 ? _f : null,
134
+ import: (_g = data === null || data === void 0 ? void 0 : data.import) !== null && _g !== void 0 ? _g : null,
135
+ booking: (_h = data === null || data === void 0 ? void 0 : data.booking) !== null && _h !== void 0 ? _h : null,
136
+ });
137
+ };
138
+ export const GetGroupModel = GroupCustomerModel;
139
+ export const CreateGroupModel = (data) => {
140
+ var _a, _b, _c;
141
+ return ({
142
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
143
+ name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
144
+ status: (_c = data === null || data === void 0 ? void 0 : data.status) !== null && _c !== void 0 ? _c : null,
145
+ });
146
+ };
147
+ export const UpdateGroupModel = RemoveCustomersModel;
148
+ export const DeleteGroupModel = (data) => {
149
+ var _a, _b, _c, _d;
150
+ return ({
151
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
152
+ name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
153
+ description: (_c = data === null || data === void 0 ? void 0 : data.description) !== null && _c !== void 0 ? _c : null,
154
+ status: (_d = data === null || data === void 0 ? void 0 : data.status) !== null && _d !== void 0 ? _d : null
155
+ });
156
+ };
157
+ export const GetListCustomerToAddGroupModel = GroupCustomerModel;
@@ -8,4 +8,5 @@ export * from "./notification";
8
8
  export * from "./customer";
9
9
  export * from "./business";
10
10
  export * from "./campaign";
11
+ export * from "./checkin";
11
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA"}
@@ -8,3 +8,4 @@ export * from "./notification";
8
8
  export * from "./customer";
9
9
  export * from "./business";
10
10
  export * from "./campaign";
11
+ export * from "./checkin";
@@ -1,5 +1,5 @@
1
- export declare type GetBusinessSiteInfoRequest = {};
2
- export declare type UpdateBusinessSiteInfoRequest = {
1
+ export type GetBusinessSiteInfoRequest = {};
2
+ export type UpdateBusinessSiteInfoRequest = {
3
3
  map_location: any;
4
4
  id: number;
5
5
  city: string;
@@ -21,7 +21,7 @@ export declare type UpdateBusinessSiteInfoRequest = {
21
21
  web_booking_active: number;
22
22
  timezone: string;
23
23
  };
24
- export declare type UploadRequest = {
24
+ export type UploadRequest = {
25
25
  file: File;
26
26
  } | FormData;
27
27
  //# sourceMappingURL=business.d.ts.map