gap-nodejs-sdk 1.0.313 → 1.0.314

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 (208) 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/campaign.d.ts +19 -0
  30. package/dist/api/go_check_in_api/1.0.0/api/campaign.d.ts.map +1 -0
  31. package/dist/api/go_check_in_api/1.0.0/api/campaign.js +93 -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/campaign.d.ts +13 -0
  36. package/dist/api/go_check_in_api/1.0.0/endpoints/campaign.d.ts.map +1 -0
  37. package/dist/api/go_check_in_api/1.0.0/endpoints/campaign.js +11 -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/campaign.d.ts +3 -0
  42. package/dist/api/go_check_in_api/1.0.0/interfaces/campaign.d.ts.map +1 -0
  43. package/dist/api/go_check_in_api/1.0.0/interfaces/campaign.js +2 -0
  44. package/dist/api/go_check_in_api/1.0.0/models/campaign.d.ts +75 -0
  45. package/dist/api/go_check_in_api/1.0.0/models/campaign.d.ts.map +1 -0
  46. package/dist/api/go_check_in_api/1.0.0/models/campaign.js +95 -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 +51 -0
  53. package/dist/api/go_check_in_api/1.0.0/types/request/campaign.d.ts.map +1 -0
  54. package/dist/api/go_check_in_api/1.0.0/types/request/campaign.js +1 -0
  55. package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts +5 -5
  56. package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts.map +1 -1
  57. package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts +2 -2
  58. package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts.map +1 -1
  59. package/dist/api/go_check_in_api/1.0.0/types/request/index.d.ts +1 -0
  60. package/dist/api/go_check_in_api/1.0.0/types/request/index.d.ts.map +1 -1
  61. package/dist/api/go_check_in_api/1.0.0/types/request/index.js +1 -0
  62. package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts +3 -3
  63. package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts.map +1 -1
  64. package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts +6 -6
  65. package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts.map +1 -1
  66. package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts +12 -12
  67. package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts.map +1 -1
  68. package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts +2 -2
  69. package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts.map +1 -1
  70. package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts +17 -17
  71. package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts.map +1 -1
  72. package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts +10 -10
  73. package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts.map +1 -1
  74. package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts +3 -3
  75. package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts.map +1 -1
  76. package/dist/api/go_check_in_api/1.0.0/types/response/campaign.d.ts +87 -0
  77. package/dist/api/go_check_in_api/1.0.0/types/response/campaign.d.ts.map +1 -0
  78. package/dist/api/go_check_in_api/1.0.0/types/response/campaign.js +1 -0
  79. package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts +5 -5
  80. package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts.map +1 -1
  81. package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts +2 -2
  82. package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts.map +1 -1
  83. package/dist/api/go_check_in_api/1.0.0/types/response/index.d.ts +1 -0
  84. package/dist/api/go_check_in_api/1.0.0/types/response/index.d.ts.map +1 -1
  85. package/dist/api/go_check_in_api/1.0.0/types/response/index.js +1 -0
  86. package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts +4 -4
  87. package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts.map +1 -1
  88. package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts +9 -9
  89. package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts.map +1 -1
  90. package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts +14 -14
  91. package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts.map +1 -1
  92. package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts +2 -2
  93. package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts.map +1 -1
  94. package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts +17 -17
  95. package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts.map +1 -1
  96. package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts +12 -12
  97. package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts.map +1 -1
  98. package/dist/api/go_check_in_api/index.d.ts +1 -0
  99. package/dist/api/go_check_in_api/index.d.ts.map +1 -1
  100. package/dist/api/go_check_in_api/index.js +1 -0
  101. package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts +4 -4
  102. package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts.map +1 -1
  103. package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts +2 -2
  104. package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts.map +1 -1
  105. package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts +1 -1
  106. package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts.map +1 -1
  107. package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts +1 -1
  108. package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts.map +1 -1
  109. package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts +6 -6
  110. package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts.map +1 -1
  111. package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts +12 -12
  112. package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts.map +1 -1
  113. package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts +6 -6
  114. package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts.map +1 -1
  115. package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts +1 -1
  116. package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts.map +1 -1
  117. package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts +4 -4
  118. package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts.map +1 -1
  119. package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts +2 -2
  120. package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts.map +1 -1
  121. package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts +5 -5
  122. package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts.map +1 -1
  123. package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts +1 -1
  124. package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
  125. package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts +18 -18
  126. package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts.map +1 -1
  127. package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts +13 -13
  128. package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts.map +1 -1
  129. package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts +4 -4
  130. package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts.map +1 -1
  131. package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts +5 -5
  132. package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts.map +1 -1
  133. package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts +2 -2
  134. package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts.map +1 -1
  135. package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts +14 -14
  136. package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts.map +1 -1
  137. package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts +3 -3
  138. package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts.map +1 -1
  139. package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts +10 -10
  140. package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts.map +1 -1
  141. package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts +7 -7
  142. package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts.map +1 -1
  143. package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts +1 -1
  144. package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts.map +1 -1
  145. package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts +1 -1
  146. package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts.map +1 -1
  147. package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts +4 -4
  148. package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts.map +1 -1
  149. package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts +2 -2
  150. package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts.map +1 -1
  151. package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts +2 -2
  152. package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts.map +1 -1
  153. package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts +15 -15
  154. package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts.map +1 -1
  155. package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts +35 -35
  156. package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts.map +1 -1
  157. package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts +8 -8
  158. package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts.map +1 -1
  159. package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts +4 -4
  160. package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts.map +1 -1
  161. package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts +10 -10
  162. package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts.map +1 -1
  163. package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts +1 -1
  164. package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts.map +1 -1
  165. package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts +10 -10
  166. package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts.map +1 -1
  167. package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts +5 -5
  168. package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
  169. package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts +31 -31
  170. package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts.map +1 -1
  171. package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts +19 -19
  172. package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts.map +1 -1
  173. package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts +4 -4
  174. package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts.map +1 -1
  175. package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts +5 -5
  176. package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts.map +1 -1
  177. package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts +2 -2
  178. package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts.map +1 -1
  179. package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts +18 -18
  180. package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts.map +1 -1
  181. package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts +5 -5
  182. package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts.map +1 -1
  183. package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts +12 -12
  184. package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts.map +1 -1
  185. package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts +2 -2
  186. package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts.map +1 -1
  187. package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts +1 -1
  188. package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts.map +1 -1
  189. package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts +1 -1
  190. package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts.map +1 -1
  191. package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts +6 -6
  192. package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
  193. package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts +3 -3
  194. package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts.map +1 -1
  195. package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts +17 -17
  196. package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts.map +1 -1
  197. package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts +7 -7
  198. package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
  199. package/dist/api/user_api/1.0.0/types/request/auth.d.ts +1 -1
  200. package/dist/api/user_api/1.0.0/types/request/auth.d.ts.map +1 -1
  201. package/dist/api/user_api/1.0.0/types/response/auth.d.ts +1 -1
  202. package/dist/api/user_api/1.0.0/types/response/auth.d.ts.map +1 -1
  203. package/dist/gap-sdk.js +1 -1
  204. package/dist/http_client/types.d.ts +5 -5
  205. package/dist/http_client/types.d.ts.map +1 -1
  206. package/dist/types/meta.d.ts +2 -2
  207. package/dist/types/meta.d.ts.map +1 -1
  208. package/package.json +1 -1
@@ -0,0 +1,75 @@
1
+ export declare const CampaignPromotionGroupModel: (data: any) => {
2
+ id: any;
3
+ name: any;
4
+ customer_quantity: any;
5
+ };
6
+ export declare const CampaignPromotionItemModel: (data: any) => {
7
+ id: any;
8
+ name: any;
9
+ type: any;
10
+ created_at: any;
11
+ updated_at: any;
12
+ is_active: any;
13
+ delivery_time: any;
14
+ read_tracking: any;
15
+ link_tracking: any;
16
+ reply_tracking: any;
17
+ google_analytics: any;
18
+ expired_date: any;
19
+ usable_limit: any;
20
+ start_date: any;
21
+ sent_at: any;
22
+ total_delivered_email: any;
23
+ total_delivered_push: any;
24
+ total_delivered_sms: any;
25
+ total_open: any;
26
+ total_optout: any;
27
+ total_sent: any;
28
+ total_visits: any;
29
+ tracker_id: any;
30
+ groups: any;
31
+ has_promotion: any;
32
+ expired_day_in: any;
33
+ logic_type: any;
34
+ logic_value: any;
35
+ is_show_exp: any;
36
+ business_name: any;
37
+ is_sent_opt_out: any;
38
+ email_subject: any;
39
+ campaign_report: {
40
+ total_email_sent: any;
41
+ total_sms_sent: any;
42
+ total_receive_message: any;
43
+ total_claim: any;
44
+ total_redemption: any;
45
+ claim_percent: any;
46
+ redemption_percent: any;
47
+ total_income: any;
48
+ total_expense: any;
49
+ percent_expense: any;
50
+ };
51
+ promotion_campaign: {
52
+ content: any;
53
+ };
54
+ };
55
+ export declare const CampaignPromotionHistory: (data: any) => {
56
+ customer: {
57
+ full_name: any;
58
+ phone: any;
59
+ email: any;
60
+ birthday: any;
61
+ visit_count: any;
62
+ last_visited: any;
63
+ create_at: any;
64
+ note: any;
65
+ lifetime_point: any;
66
+ current_point: any;
67
+ };
68
+ code: any;
69
+ created_at: any;
70
+ updated_at: any;
71
+ is_used: any;
72
+ limit_used: any;
73
+ total_used: any;
74
+ };
75
+ //# sourceMappingURL=campaign.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/campaign.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,SAAU,GAAG;;;;CAMpD,CAAA;AAuBD,eAAO,MAAM,0BAA0B,SAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCnD,CAAA;AAiBD,eAAO,MAAM,wBAAwB,SAAU,GAAG;;;;;;;;;;;;;;;;;;;CAUjD,CAAA"}
@@ -0,0 +1,95 @@
1
+ export const CampaignPromotionGroupModel = (data) => {
2
+ var _a, _b, _c;
3
+ return {
4
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
5
+ name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
6
+ customer_quantity: (_c = data === null || data === void 0 ? void 0 : data.customer_quantity) !== null && _c !== void 0 ? _c : null,
7
+ };
8
+ };
9
+ const CampaignReportModel = (data) => {
10
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
11
+ return {
12
+ total_email_sent: (_a = data === null || data === void 0 ? void 0 : data.total_email_sent) !== null && _a !== void 0 ? _a : null,
13
+ total_sms_sent: (_b = data === null || data === void 0 ? void 0 : data.total_sms_sent) !== null && _b !== void 0 ? _b : null,
14
+ total_receive_message: (_c = data === null || data === void 0 ? void 0 : data.total_receive_message) !== null && _c !== void 0 ? _c : null,
15
+ total_claim: (_d = data === null || data === void 0 ? void 0 : data.total_claim) !== null && _d !== void 0 ? _d : null,
16
+ total_redemption: (_e = data === null || data === void 0 ? void 0 : data.total_redemption) !== null && _e !== void 0 ? _e : null,
17
+ claim_percent: (_f = data === null || data === void 0 ? void 0 : data.claim_percent) !== null && _f !== void 0 ? _f : null,
18
+ redemption_percent: (_g = data === null || data === void 0 ? void 0 : data.redemption_percent) !== null && _g !== void 0 ? _g : null,
19
+ total_income: (_h = data === null || data === void 0 ? void 0 : data.total_income) !== null && _h !== void 0 ? _h : null,
20
+ total_expense: (_j = data === null || data === void 0 ? void 0 : data.total_expense) !== null && _j !== void 0 ? _j : null,
21
+ percent_expense: (_k = data === null || data === void 0 ? void 0 : data.percent_expense) !== null && _k !== void 0 ? _k : null,
22
+ };
23
+ };
24
+ const PromotionCampaignModel = (data) => {
25
+ var _a;
26
+ return {
27
+ content: (_a = data === null || data === void 0 ? void 0 : data.content) !== null && _a !== void 0 ? _a : null,
28
+ };
29
+ };
30
+ export const CampaignPromotionItemModel = (data) => {
31
+ 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;
32
+ return {
33
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
34
+ name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
35
+ type: (_c = data === null || data === void 0 ? void 0 : data.type) !== null && _c !== void 0 ? _c : null,
36
+ created_at: (_d = data === null || data === void 0 ? void 0 : data.created_at) !== null && _d !== void 0 ? _d : null,
37
+ updated_at: (_e = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _e !== void 0 ? _e : null,
38
+ is_active: (_f = data === null || data === void 0 ? void 0 : data.is_active) !== null && _f !== void 0 ? _f : null,
39
+ delivery_time: (_g = data === null || data === void 0 ? void 0 : data.delivery_time) !== null && _g !== void 0 ? _g : null,
40
+ read_tracking: (_h = data === null || data === void 0 ? void 0 : data.read_tracking) !== null && _h !== void 0 ? _h : null,
41
+ link_tracking: (_j = data === null || data === void 0 ? void 0 : data.link_tracking) !== null && _j !== void 0 ? _j : null,
42
+ reply_tracking: (_k = data === null || data === void 0 ? void 0 : data.reply_tracking) !== null && _k !== void 0 ? _k : null,
43
+ google_analytics: (_l = data === null || data === void 0 ? void 0 : data.google_analytics) !== null && _l !== void 0 ? _l : null,
44
+ expired_date: (_m = data === null || data === void 0 ? void 0 : data.expired_date) !== null && _m !== void 0 ? _m : null,
45
+ usable_limit: (_o = data === null || data === void 0 ? void 0 : data.usable_limit) !== null && _o !== void 0 ? _o : null,
46
+ start_date: (_p = data === null || data === void 0 ? void 0 : data.start_date) !== null && _p !== void 0 ? _p : null,
47
+ sent_at: (_q = data === null || data === void 0 ? void 0 : data.sent_at) !== null && _q !== void 0 ? _q : null,
48
+ total_delivered_email: (_r = data === null || data === void 0 ? void 0 : data.total_delivered_email) !== null && _r !== void 0 ? _r : null,
49
+ total_delivered_push: (_s = data === null || data === void 0 ? void 0 : data.total_delivered_push) !== null && _s !== void 0 ? _s : null,
50
+ total_delivered_sms: (_t = data === null || data === void 0 ? void 0 : data.total_delivered_sms) !== null && _t !== void 0 ? _t : null,
51
+ total_open: (_u = data === null || data === void 0 ? void 0 : data.total_open) !== null && _u !== void 0 ? _u : null,
52
+ total_optout: (_v = data === null || data === void 0 ? void 0 : data.total_optout) !== null && _v !== void 0 ? _v : null,
53
+ total_sent: (_w = data === null || data === void 0 ? void 0 : data.total_sent) !== null && _w !== void 0 ? _w : null,
54
+ total_visits: (_x = data === null || data === void 0 ? void 0 : data.total_visits) !== null && _x !== void 0 ? _x : null,
55
+ tracker_id: (_y = data === null || data === void 0 ? void 0 : data.tracker_id) !== null && _y !== void 0 ? _y : null,
56
+ groups: (_z = data === null || data === void 0 ? void 0 : data.groups) !== null && _z !== void 0 ? _z : null,
57
+ has_promotion: (_0 = data === null || data === void 0 ? void 0 : data.has_promotion) !== null && _0 !== void 0 ? _0 : null,
58
+ expired_day_in: (_1 = data === null || data === void 0 ? void 0 : data.expired_day_in) !== null && _1 !== void 0 ? _1 : null,
59
+ logic_type: (_2 = data === null || data === void 0 ? void 0 : data.logic_type) !== null && _2 !== void 0 ? _2 : null,
60
+ logic_value: (_3 = data === null || data === void 0 ? void 0 : data.logic_value) !== null && _3 !== void 0 ? _3 : null,
61
+ is_show_exp: (_4 = data === null || data === void 0 ? void 0 : data.is_show_exp) !== null && _4 !== void 0 ? _4 : null,
62
+ business_name: (_5 = data === null || data === void 0 ? void 0 : data.business_name) !== null && _5 !== void 0 ? _5 : null,
63
+ is_sent_opt_out: (_6 = data === null || data === void 0 ? void 0 : data.is_sent_opt_out) !== null && _6 !== void 0 ? _6 : null,
64
+ email_subject: (_7 = data === null || data === void 0 ? void 0 : data.email_subject) !== null && _7 !== void 0 ? _7 : null,
65
+ campaign_report: CampaignReportModel(data === null || data === void 0 ? void 0 : data.campaign_report),
66
+ promotion_campaign: PromotionCampaignModel(data === null || data === void 0 ? void 0 : data.promotion_campaign),
67
+ };
68
+ };
69
+ const CustomerModel = (data) => {
70
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
71
+ return {
72
+ full_name: (_a = data === null || data === void 0 ? void 0 : data.full_name) !== null && _a !== void 0 ? _a : null,
73
+ phone: (_b = data === null || data === void 0 ? void 0 : data.phone) !== null && _b !== void 0 ? _b : null,
74
+ email: (_c = data === null || data === void 0 ? void 0 : data.email) !== null && _c !== void 0 ? _c : null,
75
+ birthday: (_d = data === null || data === void 0 ? void 0 : data.birthday) !== null && _d !== void 0 ? _d : null,
76
+ visit_count: (_e = data === null || data === void 0 ? void 0 : data.visit_count) !== null && _e !== void 0 ? _e : null,
77
+ last_visited: (_f = data === null || data === void 0 ? void 0 : data.last_visited) !== null && _f !== void 0 ? _f : null,
78
+ create_at: (_g = data === null || data === void 0 ? void 0 : data.create_at) !== null && _g !== void 0 ? _g : null,
79
+ note: (_h = data === null || data === void 0 ? void 0 : data.note) !== null && _h !== void 0 ? _h : null,
80
+ lifetime_point: (_j = data === null || data === void 0 ? void 0 : data.lifetime_point) !== null && _j !== void 0 ? _j : null,
81
+ current_point: (_k = data === null || data === void 0 ? void 0 : data.current_point) !== null && _k !== void 0 ? _k : null,
82
+ };
83
+ };
84
+ export const CampaignPromotionHistory = (data) => {
85
+ var _a, _b, _c, _d, _e, _f;
86
+ return {
87
+ customer: CustomerModel(data === null || data === void 0 ? void 0 : data.customer),
88
+ code: (_a = data === null || data === void 0 ? void 0 : data.code) !== null && _a !== void 0 ? _a : null,
89
+ created_at: (_b = data === null || data === void 0 ? void 0 : data.created_at) !== null && _b !== void 0 ? _b : null,
90
+ updated_at: (_c = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _c !== void 0 ? _c : null,
91
+ is_used: (_d = data === null || data === void 0 ? void 0 : data.is_used) !== null && _d !== void 0 ? _d : null,
92
+ limit_used: (_e = data === null || data === void 0 ? void 0 : data.limit_used) !== null && _e !== void 0 ? _e : null,
93
+ total_used: (_f = data === null || data === void 0 ? void 0 : data.total_used) !== null && _f !== void 0 ? _f : null,
94
+ };
95
+ };
@@ -7,4 +7,5 @@ export * from "./staff";
7
7
  export * from "./notification";
8
8
  export * from "./customer";
9
9
  export * from "./business";
10
+ export * from "./campaign";
10
11
  //# 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"}
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"}
@@ -7,3 +7,4 @@ export * from "./staff";
7
7
  export * from "./notification";
8
8
  export * from "./customer";
9
9
  export * from "./business";
10
+ export * from "./campaign";
@@ -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"}
@@ -0,0 +1,51 @@
1
+ export type GetCampaignPromotionGroupRequest = {};
2
+ export type GetCampaignPromotionListRequest = {
3
+ page?: number;
4
+ 'per-page'?: number;
5
+ };
6
+ export type GetCampaignPromotionListExpiredRequest = {
7
+ page?: number;
8
+ 'per-page'?: number;
9
+ };
10
+ export type GetCampaignPromotionDetailRequest = {
11
+ id: number;
12
+ };
13
+ export type CheckCampaignPromotionLimitRequest = {};
14
+ export type CheckCampaignPromotionOptOutRequest = {};
15
+ export type CreateCampaignPromotionRequest = {
16
+ name: string;
17
+ logic_value: number;
18
+ logic_type: string;
19
+ start_date: string;
20
+ expired_date: string;
21
+ has_promotion: number;
22
+ groups: number[];
23
+ content: string;
24
+ type_submit: number;
25
+ scheduler_date: string;
26
+ business_name: string;
27
+ is_show_exp: number;
28
+ is_sent_opt_out: number;
29
+ email_subject: string;
30
+ file?: File;
31
+ };
32
+ export type GetCampaignPromotionHistoryRequest = {
33
+ id: number;
34
+ page?: number;
35
+ 'per-page'?: number;
36
+ keyword?: string;
37
+ };
38
+ export type SendCampaignPromotionTestRequest = {
39
+ email_test: string;
40
+ phone_test: string;
41
+ content: string;
42
+ exp_date: string;
43
+ date_start: string;
44
+ email_subject: string;
45
+ business_name: string;
46
+ is_show_exp: number;
47
+ is_sent_opt_out: number;
48
+ type: string;
49
+ campaign_name: string;
50
+ };
51
+ //# sourceMappingURL=campaign.d.ts.map
@@ -0,0 +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":"AAAA,MAAM,MAAM,gCAAgC,GAAG,EAAE,CAAA;AAEjD,MAAM,MAAM,+BAA+B,GAAG;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAA;AAED,MAAM,MAAM,sCAAsC,GAAG;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;I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,aAAa,EAAE,MAAM,CAAA;CACxB,CAAA"}
@@ -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"}
@@ -1,8 +1,8 @@
1
- export declare type GetInfoGroupRequest = {
1
+ export type GetInfoGroupRequest = {
2
2
  page: number;
3
3
  'per-page': number;
4
4
  };
5
- export declare type UpdateListGroupRequest = {
5
+ export type UpdateListGroupRequest = {
6
6
  customer_id: number;
7
7
  group_ids: number;
8
8
  page?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/customer.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,oBAAY,sBAAsB,GAAG;IACjC,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE,GAAG,CAAA;CACvB,CAAA"}
1
+ {"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/customer.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACjC,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE,GAAG,CAAA;CACvB,CAAA"}
@@ -7,4 +7,5 @@ export * from './staff';
7
7
  export * from './notification';
8
8
  export * from './customer';
9
9
  export * from './business';
10
+ export * from './campaign';
10
11
  //# 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/types/request/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"}
@@ -7,3 +7,4 @@ export * from './staff';
7
7
  export * from './notification';
8
8
  export * from './customer';
9
9
  export * from './business';
10
+ export * from './campaign';
@@ -1,12 +1,12 @@
1
- export declare type GetNotifyAppointmentRequest = {
1
+ export type GetNotifyAppointmentRequest = {
2
2
  page: number;
3
3
  'per-page': number;
4
4
  };
5
- export declare type GetNotifySystemRequest = {
5
+ export type GetNotifySystemRequest = {
6
6
  page: number;
7
7
  'per-page': number;
8
8
  };
9
- export declare type MaskAsReadRequest = {
9
+ export type MaskAsReadRequest = {
10
10
  type: 'appointment' | 'normal';
11
11
  id: number;
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/notification.ts"],"names":[],"mappings":"AAAA,oBAAY,2BAA2B,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,oBAAY,sBAAsB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,oBAAY,iBAAiB,GAAG;IAC5B,IAAI,EAAE,aAAa,GAAG,QAAQ,CAAC;IAC/B,EAAE,EAAE,MAAM,CAAA;CACb,CAAA"}
1
+ {"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/notification.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,2BAA2B,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC5B,IAAI,EAAE,aAAa,GAAG,QAAQ,CAAC;IAC/B,EAAE,EAAE,MAAM,CAAA;CACb,CAAA"}
@@ -1,15 +1,15 @@
1
- export declare type GetCheckInListByCategoryRequest = {
1
+ export type GetCheckInListByCategoryRequest = {
2
2
  items: string;
3
3
  };
4
- export declare type ShortCheckInServiceRequest = {
4
+ export type ShortCheckInServiceRequest = {
5
5
  services: string;
6
6
  cate_id: number;
7
7
  };
8
- export declare type GetCheckInListServiceRequest = {
8
+ export type GetCheckInListServiceRequest = {
9
9
  category_id: number;
10
10
  status: string;
11
11
  };
12
- export declare type UpdateCheckInServiceRequest = {
12
+ export type UpdateCheckInServiceRequest = {
13
13
  id: number;
14
14
  data: {
15
15
  id: number;
@@ -29,12 +29,12 @@ export declare type UpdateCheckInServiceRequest = {
29
29
  image_base_url: string;
30
30
  };
31
31
  };
32
- export declare type DeleteCheckInServiceRequest = {
32
+ export type DeleteCheckInServiceRequest = {
33
33
  id: number;
34
34
  category_id: number;
35
35
  statusFilter?: string;
36
36
  };
37
- export declare type CreateCheckInServiceRequest = {
37
+ export type CreateCheckInServiceRequest = {
38
38
  name: string;
39
39
  category_id: number;
40
40
  cate_name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/service.ts"],"names":[],"mappings":"AAAA,oBAAY,+BAA+B,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,oBAAY,0BAA0B,GAAG;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACnB,CAAA;AAED,oBAAY,4BAA4B,GAAG;IACvC,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAA;AAED,oBAAY,2BAA2B,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE;QACF,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,mBAAmB,EAAE,MAAM,CAAA;QAC3B,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAA;QACd,YAAY,EAAE,MAAM,CAAA;QACpB,eAAe,EAAE,MAAM,CAAA;QACvB,eAAe,EAAE,MAAM,CAAA;QACvB,WAAW,EAAE,MAAM,CAAA;QACnB,UAAU,EAAE,MAAM,CAAA;QAClB,cAAc,EAAE,MAAM,CAAA;KACzB,CAAA;CACJ,CAAA;AAED,oBAAY,2BAA2B,GAAG;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,oBAAY,2BAA2B,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAA"}
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/service.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,+BAA+B,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACnB,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG;IACvC,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE;QACF,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,mBAAmB,EAAE,MAAM,CAAA;QAC3B,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAA;QACd,YAAY,EAAE,MAAM,CAAA;QACpB,eAAe,EAAE,MAAM,CAAA;QACvB,eAAe,EAAE,MAAM,CAAA;QACvB,WAAW,EAAE,MAAM,CAAA;QACnB,UAAU,EAAE,MAAM,CAAA;QAClB,cAAc,EAAE,MAAM,CAAA;KACzB,CAAA;CACJ,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACvB,CAAA"}
@@ -1,24 +1,24 @@
1
- export declare type GetServiceFeeRequest = {};
2
- export declare type UpdateServiceFeeRequest = {
1
+ export type GetServiceFeeRequest = {};
2
+ export type UpdateServiceFeeRequest = {
3
3
  fee: number;
4
4
  state: number;
5
5
  };
6
- export declare type GetStoreRatingDisplayRequest = {};
7
- export declare type UpdateStoreRatingDisplayRequest = {
6
+ export type GetStoreRatingDisplayRequest = {};
7
+ export type UpdateStoreRatingDisplayRequest = {
8
8
  status: number;
9
9
  };
10
- export declare type GetCheckOutConfigRequest = {};
11
- export declare type UpdateCheckOutConfigRequest = {
10
+ export type GetCheckOutConfigRequest = {};
11
+ export type UpdateCheckOutConfigRequest = {
12
12
  type: string;
13
13
  point_bonus: number;
14
14
  };
15
- export declare type GetPoliciesRequest = {};
16
- export declare type UpdatePoliciesRequest = {
15
+ export type GetPoliciesRequest = {};
16
+ export type UpdatePoliciesRequest = {
17
17
  type: string;
18
18
  value: string;
19
19
  };
20
- export declare type GetGeneralConfigRequest = {};
21
- export declare type UpdateGeneralConfigRequest = Partial<{
20
+ export type GetGeneralConfigRequest = {};
21
+ export type UpdateGeneralConfigRequest = Partial<{
22
22
  "config.services.active": number;
23
23
  "config.staffs.active": number;
24
24
  "config.checkin.ask_email.active": number;
@@ -26,8 +26,8 @@ export declare type UpdateGeneralConfigRequest = Partial<{
26
26
  "config.review.notification": number;
27
27
  "config.checkin.printer.active": number;
28
28
  }>;
29
- export declare type GetBusinessWorkHourRequest = Partial<{}>;
30
- export declare type UpdateBusinessWorkHourRequest = Partial<{
29
+ export type GetBusinessWorkHourRequest = Partial<{}>;
30
+ export type UpdateBusinessWorkHourRequest = Partial<{
31
31
  working_day: string;
32
32
  mo: string;
33
33
  tu: string;
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/settings.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB,GAAG,EAAE,CAAA;AAErC,oBAAY,uBAAuB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,oBAAY,4BAA4B,GAAG,EAAE,CAAA;AAE7C,oBAAY,+BAA+B,GAAG;IAC1C,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,oBAAY,wBAAwB,GAAG,EAAE,CAAA;AAEzC,oBAAY,2BAA2B,GAAG;IACtC,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,oBAAY,kBAAkB,GAAG,EAAE,CAAA;AAEnC,oBAAY,qBAAqB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,oBAAY,uBAAuB,GAAG,EAAE,CAAA;AAExC,oBAAY,0BAA0B,GAAG,OAAO,CAAC;IAC7C,wBAAwB,EAAE,MAAM,CAAA;IAChC,sBAAsB,EAAE,MAAM,CAAA;IAC9B,iCAAiC,EAAE,MAAM,CAAA;IACzC,oCAAoC,EAAE,MAAM,CAAA;IAC5C,4BAA4B,EAAE,MAAM,CAAA;IACpC,+BAA+B,EAAE,MAAM,CAAA;CAC1C,CAAC,CAAA;AAEF,oBAAY,0BAA0B,GAAG,OAAO,CAAC,EAEhD,CAAC,CAAA;AAEF,oBAAY,6BAA6B,GAAG,OAAO,CAAC;IAChD,WAAW,EAAE,MAAM,CAAA;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;CACpB,CAAC,CAAA"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/settings.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG,EAAE,CAAA;AAErC,MAAM,MAAM,uBAAuB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,EAAE,CAAA;AAE7C,MAAM,MAAM,+BAA+B,GAAG;IAC1C,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAA;AAEzC,MAAM,MAAM,2BAA2B,GAAG;IACtC,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAA;AAEnC,MAAM,MAAM,qBAAqB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,EAAE,CAAA;AAExC,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC;IAC7C,wBAAwB,EAAE,MAAM,CAAA;IAChC,sBAAsB,EAAE,MAAM,CAAA;IAC9B,iCAAiC,EAAE,MAAM,CAAA;IACzC,oCAAoC,EAAE,MAAM,CAAA;IAC5C,4BAA4B,EAAE,MAAM,CAAA;IACpC,+BAA+B,EAAE,MAAM,CAAA;CAC1C,CAAC,CAAA;AAEF,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC,EAEhD,CAAC,CAAA;AAEF,MAAM,MAAM,6BAA6B,GAAG,OAAO,CAAC;IAChD,WAAW,EAAE,MAAM,CAAA;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;CACpB,CAAC,CAAA"}
@@ -1,8 +1,8 @@
1
- export declare type GetSMSRemainRequest = {
1
+ export type GetSMSRemainRequest = {
2
2
  from: string;
3
3
  to: string;
4
4
  };
5
- export declare type GetSMSHistoryRequest = {
5
+ export type GetSMSHistoryRequest = {
6
6
  page: number;
7
7
  'per-page': number;
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"sms.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/sms.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACd,CAAA;AAED,oBAAY,oBAAoB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;CACrB,CAAA"}
1
+ {"version":3,"file":"sms.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/sms.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACd,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;CACrB,CAAA"}
@@ -1,10 +1,10 @@
1
- export declare type GetListStaffRequest = {
1
+ export type GetListStaffRequest = {
2
2
  page?: number;
3
3
  'per-page'?: number;
4
4
  sort?: string;
5
5
  status?: number | null;
6
6
  };
7
- export declare type CreateStaffRequest = {
7
+ export type CreateStaffRequest = {
8
8
  staff_name: string;
9
9
  staff_code: string;
10
10
  color_code: string;
@@ -21,24 +21,24 @@ export declare type CreateStaffRequest = {
21
21
  status: number;
22
22
  }[];
23
23
  };
24
- export declare type UpdateStaffRequest = CreateStaffRequest & {
24
+ export type UpdateStaffRequest = CreateStaffRequest & {
25
25
  id: number;
26
26
  };
27
- export declare type DeleteStaffRequest = {
27
+ export type DeleteStaffRequest = {
28
28
  id: number;
29
29
  page?: number;
30
30
  'per-page'?: number;
31
31
  name?: string;
32
32
  };
33
- export declare type SortStaffRequest = {
33
+ export type SortStaffRequest = {
34
34
  employees: string;
35
35
  page?: number;
36
36
  'per-page'?: number;
37
37
  };
38
- export declare type GetStaffWorkHourRequest = {
38
+ export type GetStaffWorkHourRequest = {
39
39
  id: number;
40
40
  };
41
- export declare type UpdateStaffWorkHourRequest = {
41
+ export type UpdateStaffWorkHourRequest = {
42
42
  id: number;
43
43
  working_day: string;
44
44
  mo: string;
@@ -49,17 +49,17 @@ export declare type UpdateStaffWorkHourRequest = {
49
49
  sa: string;
50
50
  su: string;
51
51
  };
52
- export declare type GetListServiceByStaffRequest = {
52
+ export type GetListServiceByStaffRequest = {
53
53
  id: number;
54
54
  'per-page'?: number;
55
55
  };
56
- export declare type AddListServiceByStaffRequest = {
56
+ export type AddListServiceByStaffRequest = {
57
57
  staff_id: number;
58
58
  services: string;
59
59
  };
60
- export declare type DeleteListServiceByStaffRequest = AddListServiceByStaffRequest;
61
- export declare type GetListPermissionRequest = {};
62
- declare type SaveCommissionOne = {
60
+ export type DeleteListServiceByStaffRequest = AddListServiceByStaffRequest;
61
+ export type GetListPermissionRequest = {};
62
+ type SaveCommissionOne = {
63
63
  type: string;
64
64
  service_rate: number;
65
65
  product_rate: number;
@@ -70,7 +70,7 @@ declare type SaveCommissionOne = {
70
70
  tip_to_check_percentage: number;
71
71
  staff_id: number;
72
72
  };
73
- declare type SaveCommissionTwo = {
73
+ type SaveCommissionTwo = {
74
74
  type: string;
75
75
  service_rate: number;
76
76
  product_rate: number;
@@ -84,7 +84,7 @@ declare type SaveCommissionTwo = {
84
84
  count_day_off_state: number;
85
85
  count_day_off_value: number;
86
86
  };
87
- declare type SaveCommissionThree = {
87
+ type SaveCommissionThree = {
88
88
  type: string;
89
89
  cash_check_percentage: number;
90
90
  is_tip_to_check: number;
@@ -94,15 +94,15 @@ declare type SaveCommissionThree = {
94
94
  salary_by_period?: number;
95
95
  salary_type: number;
96
96
  };
97
- export declare type SaveCommissionRequest = SaveCommissionOne | SaveCommissionTwo | SaveCommissionThree;
98
- export declare type UpdateStaffCommissionRequest = {
97
+ export type SaveCommissionRequest = SaveCommissionOne | SaveCommissionTwo | SaveCommissionThree;
98
+ export type UpdateStaffCommissionRequest = {
99
99
  id: number;
100
100
  commission_type: string;
101
101
  page: number;
102
102
  'per-page': number;
103
103
  filter: number;
104
104
  };
105
- export declare type UpdateRoleAppointmentRequest = {
105
+ export type UpdateRoleAppointmentRequest = {
106
106
  id: number;
107
107
  is_active: number;
108
108
  };
@@ -1 +1 @@
1
- {"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/staff.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB,GAAG;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CAAA;AAED,oBAAY,kBAAkB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE;QACb,EAAE,EAAE,MAAM,CAAC;QACX,MAAM,EAAE,MAAM,CAAA;KACjB,EAAE,CAAA;CACN,CAAA;AAED,oBAAY,kBAAkB,GAAG,kBAAkB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAA;AAEpE,oBAAY,kBAAkB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,oBAAY,gBAAgB,GAAG;IAC3B,SAAS,EAAE,MAAM,CAAA;I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IAC7B,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE,MAAM,CAAA;IACvB,uBAAuB,EAAE,MAAM,CAAA;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,MAAM,EAAE,CAAA;IACzB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,mBAAmB,EAAE,MAAM,CAAA;CAC9B,CAAA;AAED,aAAK,mBAAmB,GAAG;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,qBAAqB,EAAE,MAAM,CAAA;IAC7B,eAAe,EAAE,MAAM,CAAA;IACvB,uBAAuB,EAAE,MAAM,CAAA;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,oBAAY,qBAAqB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,mBAAmB,CAAA;AAE/F,oBAAY,4BAA4B,GAAG;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,eAAe,EAAE,MAAM,CAAA;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,oBAAY,4BAA4B,GAAG;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;CACpB,CAAA"}
1
+ {"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/request/staff.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;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