gap-nodejs-sdk 1.0.331 → 1.0.332

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 (218) 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 +12 -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 +38 -0
  32. package/dist/api/go_check_in_api/1.0.0/api/index.d.ts +1 -0
  33. package/dist/api/go_check_in_api/1.0.0/api/index.d.ts.map +1 -1
  34. package/dist/api/go_check_in_api/1.0.0/api/index.js +1 -0
  35. package/dist/api/go_check_in_api/1.0.0/endpoints/checkin.d.ts +7 -0
  36. package/dist/api/go_check_in_api/1.0.0/endpoints/checkin.d.ts.map +1 -0
  37. package/dist/api/go_check_in_api/1.0.0/endpoints/checkin.js +5 -0
  38. package/dist/api/go_check_in_api/1.0.0/endpoints/index.d.ts +1 -0
  39. package/dist/api/go_check_in_api/1.0.0/endpoints/index.d.ts.map +1 -1
  40. package/dist/api/go_check_in_api/1.0.0/endpoints/index.js +1 -0
  41. package/dist/api/go_check_in_api/1.0.0/interfaces/checkin.d.ts +3 -0
  42. package/dist/api/go_check_in_api/1.0.0/interfaces/checkin.d.ts.map +1 -0
  43. package/dist/api/go_check_in_api/1.0.0/interfaces/checkin.js +2 -0
  44. package/dist/api/go_check_in_api/1.0.0/models/checkin.d.ts +152 -0
  45. package/dist/api/go_check_in_api/1.0.0/models/checkin.d.ts.map +1 -0
  46. package/dist/api/go_check_in_api/1.0.0/models/checkin.js +287 -0
  47. package/dist/api/go_check_in_api/1.0.0/models/index.d.ts +1 -0
  48. package/dist/api/go_check_in_api/1.0.0/models/index.d.ts.map +1 -1
  49. package/dist/api/go_check_in_api/1.0.0/models/index.js +1 -0
  50. package/dist/api/go_check_in_api/1.0.0/types/request/business.d.ts +3 -3
  51. package/dist/api/go_check_in_api/1.0.0/types/request/business.d.ts.map +1 -1
  52. package/dist/api/go_check_in_api/1.0.0/types/request/campaign.d.ts +17 -17
  53. package/dist/api/go_check_in_api/1.0.0/types/request/campaign.d.ts.map +1 -1
  54. package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts +5 -5
  55. package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts.map +1 -1
  56. package/dist/api/go_check_in_api/1.0.0/types/request/checkin.d.ts +14 -0
  57. package/dist/api/go_check_in_api/1.0.0/types/request/checkin.d.ts.map +1 -0
  58. package/dist/api/go_check_in_api/1.0.0/types/request/checkin.js +1 -0
  59. package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts +8 -8
  60. package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts.map +1 -1
  61. package/dist/api/go_check_in_api/1.0.0/types/request/group.d.ts +7 -7
  62. package/dist/api/go_check_in_api/1.0.0/types/request/group.d.ts.map +1 -1
  63. package/dist/api/go_check_in_api/1.0.0/types/request/index.d.ts +1 -0
  64. package/dist/api/go_check_in_api/1.0.0/types/request/index.d.ts.map +1 -1
  65. package/dist/api/go_check_in_api/1.0.0/types/request/index.js +1 -0
  66. package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts +3 -3
  67. package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts.map +1 -1
  68. package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts +6 -6
  69. package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts.map +1 -1
  70. package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts +12 -12
  71. package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts.map +1 -1
  72. package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts +2 -2
  73. package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts.map +1 -1
  74. package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts +17 -17
  75. package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts.map +1 -1
  76. package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts +10 -10
  77. package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts.map +1 -1
  78. package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts +3 -3
  79. package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts.map +1 -1
  80. package/dist/api/go_check_in_api/1.0.0/types/response/campaign.d.ts +25 -25
  81. package/dist/api/go_check_in_api/1.0.0/types/response/campaign.d.ts.map +1 -1
  82. package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts +5 -5
  83. package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts.map +1 -1
  84. package/dist/api/go_check_in_api/1.0.0/types/response/checkin.d.ts +278 -0
  85. package/dist/api/go_check_in_api/1.0.0/types/response/checkin.d.ts.map +1 -0
  86. package/dist/api/go_check_in_api/1.0.0/types/response/checkin.js +1 -0
  87. package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts +13 -13
  88. package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts.map +1 -1
  89. package/dist/api/go_check_in_api/1.0.0/types/response/group.d.ts +10 -10
  90. package/dist/api/go_check_in_api/1.0.0/types/response/group.d.ts.map +1 -1
  91. package/dist/api/go_check_in_api/1.0.0/types/response/index.d.ts +1 -0
  92. package/dist/api/go_check_in_api/1.0.0/types/response/index.d.ts.map +1 -1
  93. package/dist/api/go_check_in_api/1.0.0/types/response/index.js +1 -0
  94. package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts +4 -4
  95. package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts.map +1 -1
  96. package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts +9 -9
  97. package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts.map +1 -1
  98. package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts +14 -14
  99. package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts.map +1 -1
  100. package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts +2 -2
  101. package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts.map +1 -1
  102. package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts +17 -17
  103. package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts.map +1 -1
  104. package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts +12 -12
  105. package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts.map +1 -1
  106. package/dist/api/go_check_in_api/index.d.ts +1 -0
  107. package/dist/api/go_check_in_api/index.d.ts.map +1 -1
  108. package/dist/api/go_check_in_api/index.js +1 -0
  109. package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts +4 -4
  110. package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts.map +1 -1
  111. package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts +2 -2
  112. package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts.map +1 -1
  113. package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts +1 -1
  114. package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts.map +1 -1
  115. package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts +1 -1
  116. package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts.map +1 -1
  117. package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts +6 -6
  118. package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts.map +1 -1
  119. package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts +12 -12
  120. package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts.map +1 -1
  121. package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts +6 -6
  122. package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts.map +1 -1
  123. package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts +1 -1
  124. package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts.map +1 -1
  125. package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts +4 -4
  126. package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts.map +1 -1
  127. package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts +2 -2
  128. package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts.map +1 -1
  129. package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts +5 -5
  130. package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts.map +1 -1
  131. package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts +1 -1
  132. package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
  133. package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts +18 -18
  134. package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts.map +1 -1
  135. package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts +13 -13
  136. package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts.map +1 -1
  137. package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts +4 -4
  138. package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts.map +1 -1
  139. package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts +5 -5
  140. package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts.map +1 -1
  141. package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts +2 -2
  142. package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts.map +1 -1
  143. package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts +14 -14
  144. package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts.map +1 -1
  145. package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts +3 -3
  146. package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts.map +1 -1
  147. package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts +10 -10
  148. package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts.map +1 -1
  149. package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts +7 -7
  150. package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts.map +1 -1
  151. package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts +1 -1
  152. package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts.map +1 -1
  153. package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts +1 -1
  154. package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts.map +1 -1
  155. package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts +4 -4
  156. package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts.map +1 -1
  157. package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts +2 -2
  158. package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts.map +1 -1
  159. package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts +2 -2
  160. package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts.map +1 -1
  161. package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts +15 -15
  162. package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts.map +1 -1
  163. package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts +35 -35
  164. package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts.map +1 -1
  165. package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts +8 -8
  166. package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts.map +1 -1
  167. package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts +4 -4
  168. package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts.map +1 -1
  169. package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts +10 -10
  170. package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts.map +1 -1
  171. package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts +1 -1
  172. package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts.map +1 -1
  173. package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts +10 -10
  174. package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts.map +1 -1
  175. package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts +5 -5
  176. package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
  177. package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts +31 -31
  178. package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts.map +1 -1
  179. package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts +19 -19
  180. package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts.map +1 -1
  181. package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts +4 -4
  182. package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts.map +1 -1
  183. package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts +5 -5
  184. package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts.map +1 -1
  185. package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts +2 -2
  186. package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts.map +1 -1
  187. package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts +18 -18
  188. package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts.map +1 -1
  189. package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts +5 -5
  190. package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts.map +1 -1
  191. package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts +12 -12
  192. package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts.map +1 -1
  193. package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts +2 -2
  194. package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts.map +1 -1
  195. package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts +1 -1
  196. package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts.map +1 -1
  197. package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts +1 -1
  198. package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts.map +1 -1
  199. package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts +6 -6
  200. package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
  201. package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts +3 -3
  202. package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts.map +1 -1
  203. package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts +17 -17
  204. package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts.map +1 -1
  205. package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts +7 -7
  206. package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
  207. package/dist/api/user_api/1.0.0/types/request/auth.d.ts +1 -1
  208. package/dist/api/user_api/1.0.0/types/request/auth.d.ts.map +1 -1
  209. package/dist/api/user_api/1.0.0/types/response/auth.d.ts +1 -1
  210. package/dist/api/user_api/1.0.0/types/response/auth.d.ts.map +1 -1
  211. package/dist/base_type.d.ts +2 -2
  212. package/dist/base_type.d.ts.map +1 -1
  213. package/dist/gap-sdk.js +1 -1
  214. package/dist/http_client/types.d.ts +5 -5
  215. package/dist/http_client/types.d.ts.map +1 -1
  216. package/dist/types/meta.d.ts +2 -2
  217. package/dist/types/meta.d.ts.map +1 -1
  218. package/package.json +1 -1
@@ -0,0 +1,152 @@
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
+ export declare const UpdateStatusModel: (data: any) => {
85
+ id: any;
86
+ customer_id: any;
87
+ created_at: any;
88
+ update_at: any;
89
+ owner_id: any;
90
+ checkin_id: any;
91
+ status: any;
92
+ note: any;
93
+ total_price: any;
94
+ discount: any;
95
+ user_id: any;
96
+ point_bonus: any;
97
+ sms_sent: any;
98
+ order_id: any;
99
+ check_in: any;
100
+ survey: any;
101
+ staff: any;
102
+ customer: {
103
+ full_name: any;
104
+ phone: any;
105
+ email: any;
106
+ note: any;
107
+ current_point: any;
108
+ lifetime_point: any;
109
+ create_at: any;
110
+ type: any;
111
+ last_visited: any;
112
+ number_checkin: any;
113
+ yelp: any;
114
+ last_review: any;
115
+ review_type: any;
116
+ };
117
+ customer_point: {
118
+ customer_id: any;
119
+ point: any;
120
+ created_at: any;
121
+ update_at: any;
122
+ lifetime_point: any;
123
+ };
124
+ redeem: any;
125
+ promotion: any;
126
+ list_redeem: any;
127
+ list_promotion: any;
128
+ invoice: {
129
+ id: any;
130
+ checkout_id: any;
131
+ customer_id: any;
132
+ customer_name: any;
133
+ customer_phone: any;
134
+ promotion_code: any;
135
+ redeem_id: any;
136
+ total_discount: any;
137
+ has_tax: any;
138
+ tax_price: any;
139
+ total_before_discount: any;
140
+ total_after_discount: any;
141
+ total_after_tax: any;
142
+ payment_method: any;
143
+ employee_id: any;
144
+ employee_name: any;
145
+ status: any;
146
+ created_at: any;
147
+ updated_at: any;
148
+ type: any;
149
+ invoice_details: any;
150
+ };
151
+ };
152
+ //# 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;AAwJD,eAAO,MAAM,iBAAiB,SAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+C1C,CAAA"}
@@ -0,0 +1,287 @@
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
+ };
174
+ export const UpdateStatusModel = (data) => {
175
+ 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, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29;
176
+ return {
177
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
178
+ customer_id: (_b = data === null || data === void 0 ? void 0 : data.customer_id) !== null && _b !== void 0 ? _b : null,
179
+ created_at: (_c = data === null || data === void 0 ? void 0 : data.created_at) !== null && _c !== void 0 ? _c : null,
180
+ update_at: (_d = data === null || data === void 0 ? void 0 : data.update_at) !== null && _d !== void 0 ? _d : null,
181
+ owner_id: (_e = data === null || data === void 0 ? void 0 : data.owner_id) !== null && _e !== void 0 ? _e : null,
182
+ checkin_id: (_f = data === null || data === void 0 ? void 0 : data.checkin_id) !== null && _f !== void 0 ? _f : null,
183
+ status: (_g = data === null || data === void 0 ? void 0 : data.status) !== null && _g !== void 0 ? _g : null,
184
+ note: (_h = data === null || data === void 0 ? void 0 : data.note) !== null && _h !== void 0 ? _h : null,
185
+ total_price: (_j = data === null || data === void 0 ? void 0 : data.total_price) !== null && _j !== void 0 ? _j : null,
186
+ discount: (_k = data === null || data === void 0 ? void 0 : data.discount) !== null && _k !== void 0 ? _k : null,
187
+ user_id: (_l = data === null || data === void 0 ? void 0 : data.user_id) !== null && _l !== void 0 ? _l : null,
188
+ point_bonus: (_m = data === null || data === void 0 ? void 0 : data.point_bonus) !== null && _m !== void 0 ? _m : null,
189
+ sms_sent: (_o = data === null || data === void 0 ? void 0 : data.sms_sent) !== null && _o !== void 0 ? _o : null,
190
+ order_id: (_p = data === null || data === void 0 ? void 0 : data.order_id) !== null && _p !== void 0 ? _p : null,
191
+ check_in: (_q = data === null || data === void 0 ? void 0 : data.check_in) !== null && _q !== void 0 ? _q : null,
192
+ survey: (_r = data === null || data === void 0 ? void 0 : data.survey) !== null && _r !== void 0 ? _r : null,
193
+ staff: (_s = data === null || data === void 0 ? void 0 : data.staff) !== null && _s !== void 0 ? _s : null,
194
+ customer: {
195
+ full_name: (_u = (_t = data === null || data === void 0 ? void 0 : data.customer) === null || _t === void 0 ? void 0 : _t.full_name) !== null && _u !== void 0 ? _u : null,
196
+ phone: (_w = (_v = data === null || data === void 0 ? void 0 : data.customer) === null || _v === void 0 ? void 0 : _v.phone) !== null && _w !== void 0 ? _w : null,
197
+ email: (_y = (_x = data === null || data === void 0 ? void 0 : data.customer) === null || _x === void 0 ? void 0 : _x.email) !== null && _y !== void 0 ? _y : null,
198
+ note: (_0 = (_z = data === null || data === void 0 ? void 0 : data.customer) === null || _z === void 0 ? void 0 : _z.note) !== null && _0 !== void 0 ? _0 : null,
199
+ current_point: (_2 = (_1 = data === null || data === void 0 ? void 0 : data.customer) === null || _1 === void 0 ? void 0 : _1.current_point) !== null && _2 !== void 0 ? _2 : null,
200
+ lifetime_point: (_4 = (_3 = data === null || data === void 0 ? void 0 : data.customer) === null || _3 === void 0 ? void 0 : _3.lifetime_point) !== null && _4 !== void 0 ? _4 : null,
201
+ create_at: (_6 = (_5 = data === null || data === void 0 ? void 0 : data.customer) === null || _5 === void 0 ? void 0 : _5.create_at) !== null && _6 !== void 0 ? _6 : null,
202
+ type: (_8 = (_7 = data === null || data === void 0 ? void 0 : data.customer) === null || _7 === void 0 ? void 0 : _7.type) !== null && _8 !== void 0 ? _8 : null,
203
+ last_visited: (_10 = (_9 = data === null || data === void 0 ? void 0 : data.customer) === null || _9 === void 0 ? void 0 : _9.last_visited) !== null && _10 !== void 0 ? _10 : null,
204
+ number_checkin: (_12 = (_11 = data === null || data === void 0 ? void 0 : data.customer) === null || _11 === void 0 ? void 0 : _11.number_checkin) !== null && _12 !== void 0 ? _12 : null,
205
+ yelp: (_14 = (_13 = data === null || data === void 0 ? void 0 : data.customer) === null || _13 === void 0 ? void 0 : _13.yelp) !== null && _14 !== void 0 ? _14 : null,
206
+ last_review: (_16 = (_15 = data === null || data === void 0 ? void 0 : data.customer) === null || _15 === void 0 ? void 0 : _15.last_review) !== null && _16 !== void 0 ? _16 : null,
207
+ review_type: (_18 = (_17 = data === null || data === void 0 ? void 0 : data.customer) === null || _17 === void 0 ? void 0 : _17.review_type) !== null && _18 !== void 0 ? _18 : null,
208
+ },
209
+ customer_point: {
210
+ customer_id: (_20 = (_19 = data === null || data === void 0 ? void 0 : data.customer_point) === null || _19 === void 0 ? void 0 : _19.customer_id) !== null && _20 !== void 0 ? _20 : null,
211
+ point: (_22 = (_21 = data === null || data === void 0 ? void 0 : data.customer_point) === null || _21 === void 0 ? void 0 : _21.point) !== null && _22 !== void 0 ? _22 : null,
212
+ created_at: (_24 = (_23 = data === null || data === void 0 ? void 0 : data.customer_point) === null || _23 === void 0 ? void 0 : _23.created_at) !== null && _24 !== void 0 ? _24 : null,
213
+ update_at: (_26 = (_25 = data === null || data === void 0 ? void 0 : data.customer_point) === null || _25 === void 0 ? void 0 : _25.update_at) !== null && _26 !== void 0 ? _26 : null,
214
+ lifetime_point: (_28 = (_27 = data === null || data === void 0 ? void 0 : data.customer_point) === null || _27 === void 0 ? void 0 : _27.lifetime_point) !== null && _28 !== void 0 ? _28 : null,
215
+ },
216
+ redeem: Redeem(data === null || data === void 0 ? void 0 : data.redeem),
217
+ promotion: (_29 = data === null || data === void 0 ? void 0 : data.promotion) !== null && _29 !== void 0 ? _29 : null,
218
+ list_redeem: ListRedeem(data === null || data === void 0 ? void 0 : data.list_redeem),
219
+ list_promotion: ListPromotion(data === null || data === void 0 ? void 0 : data.list_promotion),
220
+ invoice: Invoice(data === null || data === void 0 ? void 0 : data.invoice),
221
+ };
222
+ };
223
+ const Redeem = (data) => {
224
+ return data;
225
+ };
226
+ const ListRedeem = (data) => {
227
+ return data;
228
+ };
229
+ const ListPromotion = (data) => {
230
+ return data;
231
+ };
232
+ const Invoice = (data) => {
233
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
234
+ return {
235
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
236
+ checkout_id: (_b = data === null || data === void 0 ? void 0 : data.checkout_id) !== null && _b !== void 0 ? _b : null,
237
+ customer_id: (_c = data === null || data === void 0 ? void 0 : data.customer_id) !== null && _c !== void 0 ? _c : null,
238
+ customer_name: (_d = data === null || data === void 0 ? void 0 : data.customer_name) !== null && _d !== void 0 ? _d : null,
239
+ customer_phone: (_e = data === null || data === void 0 ? void 0 : data.customer_phone) !== null && _e !== void 0 ? _e : null,
240
+ promotion_code: (_f = data === null || data === void 0 ? void 0 : data.promotion_code) !== null && _f !== void 0 ? _f : null,
241
+ redeem_id: (_g = data === null || data === void 0 ? void 0 : data.redeem_id) !== null && _g !== void 0 ? _g : null,
242
+ total_discount: (_h = data === null || data === void 0 ? void 0 : data.total_discount) !== null && _h !== void 0 ? _h : null,
243
+ has_tax: (_j = data === null || data === void 0 ? void 0 : data.has_tax) !== null && _j !== void 0 ? _j : null,
244
+ tax_price: (_k = data === null || data === void 0 ? void 0 : data.tax_price) !== null && _k !== void 0 ? _k : null,
245
+ total_before_discount: (_l = data === null || data === void 0 ? void 0 : data.total_before_discount) !== null && _l !== void 0 ? _l : null,
246
+ total_after_discount: (_m = data === null || data === void 0 ? void 0 : data.total_after_discount) !== null && _m !== void 0 ? _m : null,
247
+ total_after_tax: (_o = data === null || data === void 0 ? void 0 : data.total_after_tax) !== null && _o !== void 0 ? _o : null,
248
+ payment_method: (_p = data === null || data === void 0 ? void 0 : data.payment_method) !== null && _p !== void 0 ? _p : null,
249
+ employee_id: (_q = data === null || data === void 0 ? void 0 : data.employee_id) !== null && _q !== void 0 ? _q : null,
250
+ employee_name: (_r = data === null || data === void 0 ? void 0 : data.employee_name) !== null && _r !== void 0 ? _r : null,
251
+ status: (_s = data === null || data === void 0 ? void 0 : data.status) !== null && _s !== void 0 ? _s : null,
252
+ created_at: (_t = data === null || data === void 0 ? void 0 : data.created_at) !== null && _t !== void 0 ? _t : null,
253
+ updated_at: (_u = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _u !== void 0 ? _u : null,
254
+ type: (_v = data === null || data === void 0 ? void 0 : data.type) !== null && _v !== void 0 ? _v : null,
255
+ invoice_details: InvoiceDetail(data === null || data === void 0 ? void 0 : data.invoice_details),
256
+ };
257
+ };
258
+ const InvoiceDetail = (data) => {
259
+ return (data || []).map((item) => {
260
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
261
+ return {
262
+ id: (_a = item === null || item === void 0 ? void 0 : item.id) !== null && _a !== void 0 ? _a : null,
263
+ invoice_id: (_b = item === null || item === void 0 ? void 0 : item.invoice_id) !== null && _b !== void 0 ? _b : null,
264
+ product_type: (_c = item === null || item === void 0 ? void 0 : item.product_type) !== null && _c !== void 0 ? _c : null,
265
+ product_id: (_d = item === null || item === void 0 ? void 0 : item.product_id) !== null && _d !== void 0 ? _d : null,
266
+ product_name: (_e = item === null || item === void 0 ? void 0 : item.product_name) !== null && _e !== void 0 ? _e : null,
267
+ description: (_f = item === null || item === void 0 ? void 0 : item.description) !== null && _f !== void 0 ? _f : null,
268
+ duration: (_g = item === null || item === void 0 ? void 0 : item.duration) !== null && _g !== void 0 ? _g : null,
269
+ product_price: (_h = item === null || item === void 0 ? void 0 : item.product_price) !== null && _h !== void 0 ? _h : null,
270
+ quantity: (_j = item === null || item === void 0 ? void 0 : item.quantity) !== null && _j !== void 0 ? _j : null,
271
+ promotion_code: (_k = item === null || item === void 0 ? void 0 : item.promotion_code) !== null && _k !== void 0 ? _k : null,
272
+ discount_price: (_l = item === null || item === void 0 ? void 0 : item.discount_price) !== null && _l !== void 0 ? _l : null,
273
+ has_tax: (_m = item === null || item === void 0 ? void 0 : item.has_tax) !== null && _m !== void 0 ? _m : null,
274
+ tax_price: (_o = item === null || item === void 0 ? void 0 : item.tax_price) !== null && _o !== void 0 ? _o : null,
275
+ total_after_tax: (_p = item === null || item === void 0 ? void 0 : item.total_after_tax) !== null && _p !== void 0 ? _p : null,
276
+ total_before_discount: (_q = item === null || item === void 0 ? void 0 : item.total_before_discount) !== null && _q !== void 0 ? _q : null,
277
+ total_after_discount: (_r = item === null || item === void 0 ? void 0 : item.total_after_discount) !== null && _r !== void 0 ? _r : null,
278
+ detail: (_s = item === null || item === void 0 ? void 0 : item.detail) !== null && _s !== void 0 ? _s : null,
279
+ payment_method: (_t = item === null || item === void 0 ? void 0 : item.payment_method) !== null && _t !== void 0 ? _t : null,
280
+ employee_id: (_u = item === null || item === void 0 ? void 0 : item.employee_id) !== null && _u !== void 0 ? _u : null,
281
+ employee_name: (_v = item === null || item === void 0 ? void 0 : item.employee_name) !== null && _v !== void 0 ? _v : null,
282
+ status: (_w = item === null || item === void 0 ? void 0 : item.status) !== null && _w !== void 0 ? _w : null,
283
+ created_at: (_x = item === null || item === void 0 ? void 0 : item.created_at) !== null && _x !== void 0 ? _x : null,
284
+ updated_at: (_y = item === null || item === void 0 ? void 0 : item.updated_at) !== null && _y !== void 0 ? _y : null,
285
+ };
286
+ });
287
+ };
@@ -8,5 +8,6 @@ export * from "./notification";
8
8
  export * from "./customer";
9
9
  export * from "./business";
10
10
  export * from "./campaign";
11
+ export * from "./checkin";
11
12
  export * from "./group";
12
13
  //# 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;AAC1B,cAAc,SAAS,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;AACzB,cAAc,SAAS,CAAA"}
@@ -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
  export * from "./group";
@@ -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
@@ -1 +1 @@
1
- {"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/business.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B,GAAG,EAAE,CAAA;AAE3C,oBAAY,6BAA6B,GAAG;IACxC,YAAY,EAAE,GAAG,CAAA;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,oBAAY,aAAa,GAAG;IACxB,IAAI,EAAE,IAAI,CAAC;CACd,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"business.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/business.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG,EAAE,CAAA;AAE3C,MAAM,MAAM,6BAA6B,GAAG;IACxC,YAAY,EAAE,GAAG,CAAA;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IACxB,IAAI,EAAE,IAAI,CAAC;CACd,GAAG,QAAQ,CAAC"}
@@ -1,19 +1,19 @@
1
1
  import { BaseGetListRequest } from "../../../../../types";
2
- export declare type GetCampaignPromotionGroupRequest = {};
3
- export declare type GetCampaignPromotionListRequest = {
2
+ export type GetCampaignPromotionGroupRequest = {};
3
+ export type GetCampaignPromotionListRequest = {
4
4
  page?: number;
5
5
  'per-page'?: number;
6
6
  };
7
- export declare type GetCampaignPromotionListExpiredRequest = {
7
+ export type GetCampaignPromotionListExpiredRequest = {
8
8
  page?: number;
9
9
  'per-page'?: number;
10
10
  };
11
- export declare type GetCampaignPromotionDetailRequest = {
11
+ export type GetCampaignPromotionDetailRequest = {
12
12
  id: number;
13
13
  };
14
- export declare type CheckCampaignPromotionLimitRequest = {};
15
- export declare type CheckCampaignPromotionOptOutRequest = {};
16
- export declare type CreateCampaignPromotionRequest = {
14
+ export type CheckCampaignPromotionLimitRequest = {};
15
+ export type CheckCampaignPromotionOptOutRequest = {};
16
+ export type CreateCampaignPromotionRequest = {
17
17
  name: string;
18
18
  logic_value: number;
19
19
  logic_type: string;
@@ -30,13 +30,13 @@ export declare type CreateCampaignPromotionRequest = {
30
30
  email_subject: string;
31
31
  file?: File;
32
32
  };
33
- export declare type GetCampaignPromotionHistoryRequest = {
33
+ export type GetCampaignPromotionHistoryRequest = {
34
34
  id: number;
35
35
  page?: number;
36
36
  'per-page'?: number;
37
37
  keyword?: string;
38
38
  };
39
- export declare type SendCampaignPromotionTestRequest = {
39
+ export type SendCampaignPromotionTestRequest = {
40
40
  email_test: string;
41
41
  phone_test: string;
42
42
  content: string;
@@ -49,11 +49,11 @@ export declare type SendCampaignPromotionTestRequest = {
49
49
  type: string;
50
50
  campaign_name: string;
51
51
  };
52
- export declare type GetCampaignReminderListRequest = BaseGetListRequest;
53
- export declare type GetCampaignReminderDetailRequest = {
52
+ export type GetCampaignReminderListRequest = BaseGetListRequest;
53
+ export type GetCampaignReminderDetailRequest = {
54
54
  id: number;
55
55
  };
56
- export declare type UpdateCampaignReminderRequest = {
56
+ export type UpdateCampaignReminderRequest = {
57
57
  id: number;
58
58
  name: string;
59
59
  content: string;
@@ -63,11 +63,11 @@ export declare type UpdateCampaignReminderRequest = {
63
63
  expired_day_in: number;
64
64
  after_date: number;
65
65
  };
66
- export declare type GetCampaignBirthdayListRequest = BaseGetListRequest;
67
- export declare type GetCampaignBirthdayDetailRequest = {
66
+ export type GetCampaignBirthdayListRequest = BaseGetListRequest;
67
+ export type GetCampaignBirthdayDetailRequest = {
68
68
  id: number;
69
69
  };
70
- export declare type UpdateCampaignBirthdayRequest = {
70
+ export type UpdateCampaignBirthdayRequest = {
71
71
  id: number;
72
72
  name: string;
73
73
  content: string;
@@ -77,8 +77,8 @@ export declare type UpdateCampaignBirthdayRequest = {
77
77
  before_date: number;
78
78
  expired_day_in: number;
79
79
  };
80
- export declare type GetCampaignFirstSignUpRequest = {};
81
- export declare type UpdateCampaignFirstSignUpRequest = {
80
+ export type GetCampaignFirstSignUpRequest = {};
81
+ export type UpdateCampaignFirstSignUpRequest = {
82
82
  id: number;
83
83
  name: string;
84
84
  is_active: number;
@@ -1 +1 @@
1
- {"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/campaign.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/campaign.ts"],"names":[],"mappings":"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"}
@@ -1,11 +1,11 @@
1
- export declare type ShortCheckInCategoryRequest = {
1
+ export type ShortCheckInCategoryRequest = {
2
2
  categories: string;
3
3
  statusFilter?: string;
4
4
  };
5
- export declare type GetCheckInListCategoryRequest = {
5
+ export type GetCheckInListCategoryRequest = {
6
6
  status?: string;
7
7
  };
8
- export declare type UpdateCheckInCategoryRequest = {
8
+ export type UpdateCheckInCategoryRequest = {
9
9
  id: number;
10
10
  data: {
11
11
  id: number;
@@ -18,14 +18,14 @@ export declare type UpdateCheckInCategoryRequest = {
18
18
  statusFilter?: string;
19
19
  };
20
20
  };
21
- export declare type DeleteCheckInCategoryRequest = {
21
+ export type DeleteCheckInCategoryRequest = {
22
22
  id: number;
23
23
  page?: number;
24
24
  'per-page'?: number;
25
25
  type: string;
26
26
  statusFilter?: string;
27
27
  };
28
- export declare type CreateCheckInCategoryRequest = {
28
+ export type CreateCheckInCategoryRequest = {
29
29
  name: string;
30
30
  color_code: string;
31
31
  type: string;
@@ -1 +1 @@
1
- {"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,oBAAY,2BAA2B,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,oBAAY,6BAA6B,GAAG;IACxC,MAAM,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,oBAAY,4BAA4B,GAAG;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE;QACF,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,CAAC,EAAE,MAAM,CAAC;KACzB,CAAA;CACJ,CAAA;AAED,oBAAY,4BAA4B,GAAG;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB,CAAA;AAED,oBAAY,4BAA4B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAA"}
1
+ {"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/category.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,2BAA2B,GAAG;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG;IACxC,MAAM,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE;QACF,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,CAAC,EAAE,MAAM,CAAC;KACzB,CAAA;CACJ,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAA"}