gap-nodejs-sdk 1.0.322 → 1.0.324

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 (189) 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/customer.d.ts +13 -0
  30. package/dist/api/go_check_in_api/1.0.0/api/customer.d.ts.map +1 -1
  31. package/dist/api/go_check_in_api/1.0.0/api/customer.js +131 -2
  32. package/dist/api/go_check_in_api/1.0.0/endpoints/customer.d.ts +13 -0
  33. package/dist/api/go_check_in_api/1.0.0/endpoints/customer.d.ts.map +1 -1
  34. package/dist/api/go_check_in_api/1.0.0/endpoints/customer.js +13 -0
  35. package/dist/api/go_check_in_api/1.0.0/models/customer.d.ts +107 -2
  36. package/dist/api/go_check_in_api/1.0.0/models/customer.d.ts.map +1 -1
  37. package/dist/api/go_check_in_api/1.0.0/models/customer.js +148 -8
  38. package/dist/api/go_check_in_api/1.0.0/types/request/business.d.ts +3 -3
  39. package/dist/api/go_check_in_api/1.0.0/types/request/business.d.ts.map +1 -1
  40. package/dist/api/go_check_in_api/1.0.0/types/request/campaign.d.ts +18 -18
  41. package/dist/api/go_check_in_api/1.0.0/types/request/campaign.d.ts.map +1 -1
  42. package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts +5 -5
  43. package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts.map +1 -1
  44. package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts +39 -9
  45. package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts.map +1 -1
  46. package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts +3 -3
  47. package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts.map +1 -1
  48. package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts +6 -6
  49. package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts.map +1 -1
  50. package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts +12 -12
  51. package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts.map +1 -1
  52. package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts +2 -2
  53. package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts.map +1 -1
  54. package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts +17 -17
  55. package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts.map +1 -1
  56. package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts +10 -10
  57. package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts.map +1 -1
  58. package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts +3 -3
  59. package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts.map +1 -1
  60. package/dist/api/go_check_in_api/1.0.0/types/response/campaign.d.ts +25 -25
  61. package/dist/api/go_check_in_api/1.0.0/types/response/campaign.d.ts.map +1 -1
  62. package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts +5 -5
  63. package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts.map +1 -1
  64. package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts +117 -2
  65. package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts.map +1 -1
  66. package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts +4 -4
  67. package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts.map +1 -1
  68. package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts +9 -9
  69. package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts.map +1 -1
  70. package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts +14 -14
  71. package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts.map +1 -1
  72. package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts +2 -2
  73. package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts.map +1 -1
  74. package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts +17 -17
  75. package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts.map +1 -1
  76. package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts +12 -12
  77. package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts.map +1 -1
  78. package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts +4 -4
  79. package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts.map +1 -1
  80. package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts +2 -2
  81. package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts.map +1 -1
  82. package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts +1 -1
  83. package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts.map +1 -1
  84. package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts +1 -1
  85. package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts.map +1 -1
  86. package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts +6 -6
  87. package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts.map +1 -1
  88. package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts +12 -12
  89. package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts.map +1 -1
  90. package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts +6 -6
  91. package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts.map +1 -1
  92. package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts +1 -1
  93. package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts.map +1 -1
  94. package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts +4 -4
  95. package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts.map +1 -1
  96. package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts +2 -2
  97. package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts.map +1 -1
  98. package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts +5 -5
  99. package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts.map +1 -1
  100. package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts +1 -1
  101. package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
  102. package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts +18 -18
  103. package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts.map +1 -1
  104. package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts +13 -13
  105. package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts.map +1 -1
  106. package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts +4 -4
  107. package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts.map +1 -1
  108. package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts +5 -5
  109. package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts.map +1 -1
  110. package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts +2 -2
  111. package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts.map +1 -1
  112. package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts +14 -14
  113. package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts.map +1 -1
  114. package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts +3 -3
  115. package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts.map +1 -1
  116. package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts +10 -10
  117. package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts.map +1 -1
  118. package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts +7 -7
  119. package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts.map +1 -1
  120. package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts +1 -1
  121. package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts.map +1 -1
  122. package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts +1 -1
  123. package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts.map +1 -1
  124. package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts +4 -4
  125. package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts.map +1 -1
  126. package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts +2 -2
  127. package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts.map +1 -1
  128. package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts +2 -2
  129. package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts.map +1 -1
  130. package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts +15 -15
  131. package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts.map +1 -1
  132. package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts +35 -35
  133. package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts.map +1 -1
  134. package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts +8 -8
  135. package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts.map +1 -1
  136. package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts +4 -4
  137. package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts.map +1 -1
  138. package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts +10 -10
  139. package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts.map +1 -1
  140. package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts +1 -1
  141. package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts.map +1 -1
  142. package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts +10 -10
  143. package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts.map +1 -1
  144. package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts +5 -5
  145. package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
  146. package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts +31 -31
  147. package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts.map +1 -1
  148. package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts +19 -19
  149. package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts.map +1 -1
  150. package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts +4 -4
  151. package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts.map +1 -1
  152. package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts +5 -5
  153. package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts.map +1 -1
  154. package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts +2 -2
  155. package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts.map +1 -1
  156. package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts +18 -18
  157. package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts.map +1 -1
  158. package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts +5 -5
  159. package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts.map +1 -1
  160. package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts +12 -12
  161. package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts.map +1 -1
  162. package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts +2 -2
  163. package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts.map +1 -1
  164. package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts +1 -1
  165. package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts.map +1 -1
  166. package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts +1 -1
  167. package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts.map +1 -1
  168. package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts +6 -6
  169. package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
  170. package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts +3 -3
  171. package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts.map +1 -1
  172. package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts +17 -17
  173. package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts.map +1 -1
  174. package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts +7 -7
  175. package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
  176. package/dist/api/user_api/1.0.0/types/request/auth.d.ts +1 -1
  177. package/dist/api/user_api/1.0.0/types/request/auth.d.ts.map +1 -1
  178. package/dist/api/user_api/1.0.0/types/response/auth.d.ts +1 -1
  179. package/dist/api/user_api/1.0.0/types/response/auth.d.ts.map +1 -1
  180. package/dist/base_type.d.ts +8 -4
  181. package/dist/base_type.d.ts.map +1 -1
  182. package/dist/clover/types.d.ts +2 -1
  183. package/dist/clover/types.d.ts.map +1 -1
  184. package/dist/gap-sdk.js +1 -1
  185. package/dist/http_client/types.d.ts +5 -5
  186. package/dist/http_client/types.d.ts.map +1 -1
  187. package/dist/types/meta.d.ts +2 -6
  188. package/dist/types/meta.d.ts.map +1 -1
  189. package/package.json +1 -1
@@ -1,12 +1,117 @@
1
- export declare function GetInfoGroupModel(data: any): {
1
+ export declare const GetInfoGroupModel: (data: any) => {
2
2
  id: any;
3
3
  name: any;
4
4
  description: any;
5
5
  status: any;
6
6
  };
7
- export declare function UpdateListGroupModel(data: any): {
7
+ export declare const UpdateListGroupModel: (data: any) => {
8
8
  customer_id: any;
9
9
  group_id: any;
10
10
  id: any;
11
11
  };
12
+ export declare const CustomerModel: (data: any) => {
13
+ id: any;
14
+ full_name: any;
15
+ phone: any;
16
+ email: any;
17
+ birthday: any;
18
+ visit_count: any;
19
+ last_visited: any;
20
+ create_at: any;
21
+ is_send_sms: any;
22
+ note: any;
23
+ type: any;
24
+ lifetime_point: any;
25
+ current_point: any;
26
+ groups: any;
27
+ checkin_count: any;
28
+ is_blocked_from_booking: any;
29
+ source: any;
30
+ };
31
+ export declare const CheckedOutByModel: (data: any) => {
32
+ user_id: any;
33
+ name: any;
34
+ code: any;
35
+ created_at: any;
36
+ updated_at: any;
37
+ color_code: any;
38
+ image_url: any;
39
+ delete_image_url: any;
40
+ priority: any;
41
+ commission_type: any;
42
+ turn_priority: any;
43
+ last_turn_priority: any;
44
+ phone: any;
45
+ address: any;
46
+ nickname: any;
47
+ priority_calendar: any;
48
+ };
49
+ export declare const CheckinModel: (data: any) => {
50
+ id: any;
51
+ customer_id: any;
52
+ create_at: any;
53
+ status: any;
54
+ update_at: any;
55
+ attachment: any;
56
+ type: any;
57
+ show_on_wait_list: any;
58
+ };
59
+ export declare const NameModel: (data: any) => {
60
+ name: any;
61
+ };
62
+ export declare const HistoryModel: (data: any) => {
63
+ checked_in_at: any;
64
+ checked_out_at: any;
65
+ point_added: any;
66
+ checked_out_by: any;
67
+ staffs: any;
68
+ services: any;
69
+ checkout_staffs: any;
70
+ checkin: any;
71
+ };
72
+ export declare const RemoveCustomersModel: (data: any) => {
73
+ group: {
74
+ id: any;
75
+ name: any;
76
+ description: any;
77
+ status: any;
78
+ };
79
+ customers: any;
80
+ };
81
+ export declare const ChartInfoModel: (data: any) => {
82
+ all: any;
83
+ vip: any;
84
+ regular: any;
85
+ new: any;
86
+ atrisk: any;
87
+ normal: any;
88
+ import: any;
89
+ booking: any;
90
+ };
91
+ export declare const GetGroupModel: (data: any) => {
92
+ customer: any;
93
+ };
94
+ export declare const CreateGroupModel: (data: any) => {
95
+ id: any;
96
+ name: any;
97
+ status: any;
98
+ };
99
+ export declare const UpdateGroupModel: (data: any) => {
100
+ group: {
101
+ id: any;
102
+ name: any;
103
+ description: any;
104
+ status: any;
105
+ };
106
+ customers: any;
107
+ };
108
+ export declare const DeleteGroupModel: (data: any) => {
109
+ id: any;
110
+ name: any;
111
+ description: any;
112
+ status: any;
113
+ };
114
+ export declare const GetListCustomerToAddGroupModel: (data: any) => {
115
+ customer: any;
116
+ };
12
117
  //# sourceMappingURL=customer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/customer.ts"],"names":[],"mappings":"AAAA,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG;;;;;EAO1C;AACD,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG;;;;EAM7C"}
1
+ {"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../src/api/go_check_in_api/1.0.0/models/customer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,SAAU,GAAG;;;;;CAKzC,CAAC;AACH,eAAO,MAAM,oBAAoB,SAAU,GAAG;;;;CAI5C,CAAC;AAKH,eAAO,MAAM,aAAa,SAAU,GAAG;;;;;;;;;;;;;;;;;;CAkBrC,CAAC;AAEH,eAAO,MAAM,iBAAiB,SAAU,GAAG;;;;;;;;;;;;;;;;;CAiBzC,CAAA;AACF,eAAO,MAAM,YAAY,SAAU,GAAG;;;;;;;;;CASpC,CAAA;AACF,eAAO,MAAM,SAAS,SAAU,GAAG;;CAEjC,CAAA;AACF,eAAO,MAAM,YAAY,SAAU,GAAG;;;;;;;;;CASpC,CAAC;AAaH,eAAO,MAAM,oBAAoB,SAAU,GAAG;;;;;;;;CAQ5C,CAAC;AAEH,eAAO,MAAM,cAAc,SAAU,GAAG;;;;;;;;;CAStC,CAAC;AAEH,eAAO,MAAM,aAAa,SAhCQ,GAAG;;CAgCU,CAAC;AAChD,eAAO,MAAM,gBAAgB,SAAU,GAAG;;;;CAIxC,CAAC;AACH,eAAO,MAAM,gBAAgB,SA3Bc,GAAG;;;;;;;;CA2BM,CAAC;AACrD,eAAO,MAAM,gBAAgB,SAAU,GAAG;;;;;CAKxC,CAAA;AACF,eAAO,MAAM,8BAA8B,SA7CT,GAAG;;CA6C2B,CAAC"}
@@ -1,17 +1,157 @@
1
- export function GetInfoGroupModel(data) {
1
+ export const GetInfoGroupModel = (data) => {
2
2
  var _a, _b, _c, _d;
3
- return {
3
+ return ({
4
4
  id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
5
5
  name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
6
6
  description: (_c = data === null || data === void 0 ? void 0 : data.description) !== null && _c !== void 0 ? _c : null,
7
7
  status: (_d = data === null || data === void 0 ? void 0 : data.status) !== null && _d !== void 0 ? _d : null,
8
- };
9
- }
10
- export function UpdateListGroupModel(data) {
8
+ });
9
+ };
10
+ export const UpdateListGroupModel = (data) => {
11
11
  var _a, _b, _c;
12
- return {
12
+ return ({
13
13
  customer_id: (_a = data === null || data === void 0 ? void 0 : data.customer_id) !== null && _a !== void 0 ? _a : null,
14
14
  group_id: (_b = data === null || data === void 0 ? void 0 : data.group_id) !== null && _b !== void 0 ? _b : null,
15
15
  id: (_c = data === null || data === void 0 ? void 0 : data.id) !== null && _c !== void 0 ? _c : null,
16
- };
17
- }
16
+ });
17
+ };
18
+ const GroupModel = (data) => {
19
+ var _a;
20
+ return ({
21
+ group_id: (_a = data === null || data === void 0 ? void 0 : data.group_id) !== null && _a !== void 0 ? _a : null,
22
+ });
23
+ };
24
+ export const CustomerModel = (data) => {
25
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
26
+ return ({
27
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
28
+ full_name: (_b = data === null || data === void 0 ? void 0 : data.full_name) !== null && _b !== void 0 ? _b : null,
29
+ phone: (_c = data === null || data === void 0 ? void 0 : data.phone) !== null && _c !== void 0 ? _c : null,
30
+ email: (_d = data === null || data === void 0 ? void 0 : data.email) !== null && _d !== void 0 ? _d : null,
31
+ birthday: (_e = data === null || data === void 0 ? void 0 : data.birthday) !== null && _e !== void 0 ? _e : null,
32
+ visit_count: (_f = data === null || data === void 0 ? void 0 : data.visit_count) !== null && _f !== void 0 ? _f : null,
33
+ last_visited: (_g = data === null || data === void 0 ? void 0 : data.last_visited) !== null && _g !== void 0 ? _g : null,
34
+ create_at: (_h = data === null || data === void 0 ? void 0 : data.create_at) !== null && _h !== void 0 ? _h : null,
35
+ is_send_sms: (_j = data === null || data === void 0 ? void 0 : data.is_send_sms) !== null && _j !== void 0 ? _j : null,
36
+ note: (_k = data === null || data === void 0 ? void 0 : data.note) !== null && _k !== void 0 ? _k : null,
37
+ type: (_l = data === null || data === void 0 ? void 0 : data.type) !== null && _l !== void 0 ? _l : null,
38
+ lifetime_point: (_m = data === null || data === void 0 ? void 0 : data.lifetime_point) !== null && _m !== void 0 ? _m : null,
39
+ current_point: (_o = data === null || data === void 0 ? void 0 : data.current_point) !== null && _o !== void 0 ? _o : null,
40
+ groups: ((data === null || data === void 0 ? void 0 : data.groups) || []).map(GroupModel),
41
+ checkin_count: (_p = data === null || data === void 0 ? void 0 : data.checkin_count) !== null && _p !== void 0 ? _p : null,
42
+ is_blocked_from_booking: (_q = data === null || data === void 0 ? void 0 : data.is_blocked_from_booking) !== null && _q !== void 0 ? _q : null,
43
+ source: (_r = data === null || data === void 0 ? void 0 : data.source) !== null && _r !== void 0 ? _r : null,
44
+ });
45
+ };
46
+ export const CheckedOutByModel = (data) => {
47
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
48
+ return ({
49
+ user_id: (_a = data === null || data === void 0 ? void 0 : data.user_id) !== null && _a !== void 0 ? _a : null,
50
+ name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
51
+ code: (_c = data === null || data === void 0 ? void 0 : data.code) !== null && _c !== void 0 ? _c : null,
52
+ created_at: (_d = data === null || data === void 0 ? void 0 : data.created_at) !== null && _d !== void 0 ? _d : null,
53
+ updated_at: (_e = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _e !== void 0 ? _e : null,
54
+ color_code: (_f = data === null || data === void 0 ? void 0 : data.color_code) !== null && _f !== void 0 ? _f : null,
55
+ image_url: (_g = data === null || data === void 0 ? void 0 : data.image_url) !== null && _g !== void 0 ? _g : null,
56
+ delete_image_url: (_h = data === null || data === void 0 ? void 0 : data.delete_image_url) !== null && _h !== void 0 ? _h : null,
57
+ priority: (_j = data === null || data === void 0 ? void 0 : data.priority) !== null && _j !== void 0 ? _j : null,
58
+ commission_type: (_k = data === null || data === void 0 ? void 0 : data.commission_type) !== null && _k !== void 0 ? _k : null,
59
+ turn_priority: (_l = data === null || data === void 0 ? void 0 : data.turn_priority) !== null && _l !== void 0 ? _l : null,
60
+ last_turn_priority: (_m = data === null || data === void 0 ? void 0 : data.last_turn_priority) !== null && _m !== void 0 ? _m : null,
61
+ phone: (_o = data === null || data === void 0 ? void 0 : data.phone) !== null && _o !== void 0 ? _o : null,
62
+ address: (_p = data === null || data === void 0 ? void 0 : data.address) !== null && _p !== void 0 ? _p : null,
63
+ nickname: (_q = data === null || data === void 0 ? void 0 : data.nickname) !== null && _q !== void 0 ? _q : null,
64
+ priority_calendar: (_r = data === null || data === void 0 ? void 0 : data.priority_calendar) !== null && _r !== void 0 ? _r : null,
65
+ });
66
+ };
67
+ export const CheckinModel = (data) => {
68
+ var _a, _b, _c, _d, _e, _f, _g, _h;
69
+ return ({
70
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
71
+ customer_id: (_b = data === null || data === void 0 ? void 0 : data.customer_id) !== null && _b !== void 0 ? _b : null,
72
+ create_at: (_c = data === null || data === void 0 ? void 0 : data.create_at) !== null && _c !== void 0 ? _c : null,
73
+ status: (_d = data === null || data === void 0 ? void 0 : data.status) !== null && _d !== void 0 ? _d : null,
74
+ update_at: (_e = data === null || data === void 0 ? void 0 : data.update_at) !== null && _e !== void 0 ? _e : null,
75
+ attachment: (_f = data === null || data === void 0 ? void 0 : data.attachment) !== null && _f !== void 0 ? _f : null,
76
+ type: (_g = data === null || data === void 0 ? void 0 : data.type) !== null && _g !== void 0 ? _g : null,
77
+ show_on_wait_list: (_h = data === null || data === void 0 ? void 0 : data.show_on_wait_list) !== null && _h !== void 0 ? _h : null,
78
+ });
79
+ };
80
+ export const NameModel = (data) => {
81
+ var _a;
82
+ return ({
83
+ name: (_a = data === null || data === void 0 ? void 0 : data.name) !== null && _a !== void 0 ? _a : null
84
+ });
85
+ };
86
+ export const HistoryModel = (data) => {
87
+ var _a, _b, _c;
88
+ return ({
89
+ checked_in_at: (_a = data === null || data === void 0 ? void 0 : data.checked_in_at) !== null && _a !== void 0 ? _a : null,
90
+ checked_out_at: (_b = data === null || data === void 0 ? void 0 : data.checked_out_at) !== null && _b !== void 0 ? _b : null,
91
+ point_added: (_c = data === null || data === void 0 ? void 0 : data.point_added) !== null && _c !== void 0 ? _c : null,
92
+ checked_out_by: ((data === null || data === void 0 ? void 0 : data.checked_out_by) || []).map(CheckedOutByModel),
93
+ staffs: ((data === null || data === void 0 ? void 0 : data.staffs) || []).map(NameModel),
94
+ services: ((data === null || data === void 0 ? void 0 : data.services) || []).map(NameModel),
95
+ checkout_staffs: ((data === null || data === void 0 ? void 0 : data.checkout_staffs) || []).map(NameModel),
96
+ checkin: ((data === null || data === void 0 ? void 0 : data.checkin) || []).map(CheckinModel),
97
+ });
98
+ };
99
+ const GroupCustomerModel = (data) => ({
100
+ customer: ((data === null || data === void 0 ? void 0 : data.customer) || []).map(item => {
101
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
102
+ return ({
103
+ id: (_b = (_a = item === null || item === void 0 ? void 0 : item.customer) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : null,
104
+ full_name: (_d = (_c = item === null || item === void 0 ? void 0 : item.customer) === null || _c === void 0 ? void 0 : _c.full_name) !== null && _d !== void 0 ? _d : null,
105
+ email: (_f = (_e = item === null || item === void 0 ? void 0 : item.customer) === null || _e === void 0 ? void 0 : _e.email) !== null && _f !== void 0 ? _f : null,
106
+ create_at: (_h = (_g = item === null || item === void 0 ? void 0 : item.customer) === null || _g === void 0 ? void 0 : _g.create_at) !== null && _h !== void 0 ? _h : null,
107
+ phone: (_k = (_j = item === null || item === void 0 ? void 0 : item.customer) === null || _j === void 0 ? void 0 : _j.phone) !== null && _k !== void 0 ? _k : null,
108
+ lifetime_point: (_m = (_l = item === null || item === void 0 ? void 0 : item.customer) === null || _l === void 0 ? void 0 : _l.lifetime_point) !== null && _m !== void 0 ? _m : null,
109
+ current_point: (_p = (_o = item === null || item === void 0 ? void 0 : item.customer) === null || _o === void 0 ? void 0 : _o.current_point) !== null && _p !== void 0 ? _p : null,
110
+ });
111
+ })
112
+ });
113
+ export const RemoveCustomersModel = (data) => {
114
+ var _a, _b, _c, _d, _e, _f, _g, _h;
115
+ return ({
116
+ group: {
117
+ id: (_b = (_a = data === null || data === void 0 ? void 0 : data.group) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : null,
118
+ name: (_d = (_c = data === null || data === void 0 ? void 0 : data.group) === null || _c === void 0 ? void 0 : _c.name) !== null && _d !== void 0 ? _d : null,
119
+ description: (_f = (_e = data === null || data === void 0 ? void 0 : data.group) === null || _e === void 0 ? void 0 : _e.description) !== null && _f !== void 0 ? _f : null,
120
+ status: (_h = (_g = data === null || data === void 0 ? void 0 : data.group) === null || _g === void 0 ? void 0 : _g.status) !== null && _h !== void 0 ? _h : null,
121
+ },
122
+ customers: ((data === null || data === void 0 ? void 0 : data.customers) || []).map(GroupCustomerModel),
123
+ });
124
+ };
125
+ export const ChartInfoModel = (data) => {
126
+ var _a, _b, _c, _d, _e, _f, _g, _h;
127
+ return ({
128
+ all: (_a = data === null || data === void 0 ? void 0 : data.all) !== null && _a !== void 0 ? _a : null,
129
+ vip: (_b = data === null || data === void 0 ? void 0 : data.vip) !== null && _b !== void 0 ? _b : null,
130
+ regular: (_c = data === null || data === void 0 ? void 0 : data.regular) !== null && _c !== void 0 ? _c : null,
131
+ new: (_d = data === null || data === void 0 ? void 0 : data.new) !== null && _d !== void 0 ? _d : null,
132
+ atrisk: (_e = data === null || data === void 0 ? void 0 : data.atrisk) !== null && _e !== void 0 ? _e : null,
133
+ normal: (_f = data === null || data === void 0 ? void 0 : data.normal) !== null && _f !== void 0 ? _f : null,
134
+ import: (_g = data === null || data === void 0 ? void 0 : data.import) !== null && _g !== void 0 ? _g : null,
135
+ booking: (_h = data === null || data === void 0 ? void 0 : data.booking) !== null && _h !== void 0 ? _h : null,
136
+ });
137
+ };
138
+ export const GetGroupModel = GroupCustomerModel;
139
+ export const CreateGroupModel = (data) => {
140
+ var _a, _b, _c;
141
+ return ({
142
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
143
+ name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
144
+ status: (_c = data === null || data === void 0 ? void 0 : data.status) !== null && _c !== void 0 ? _c : null,
145
+ });
146
+ };
147
+ export const UpdateGroupModel = RemoveCustomersModel;
148
+ export const DeleteGroupModel = (data) => {
149
+ var _a, _b, _c, _d;
150
+ return ({
151
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
152
+ name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
153
+ description: (_c = data === null || data === void 0 ? void 0 : data.description) !== null && _c !== void 0 ? _c : null,
154
+ status: (_d = data === null || data === void 0 ? void 0 : data.status) !== null && _d !== void 0 ? _d : null
155
+ });
156
+ };
157
+ export const GetListCustomerToAddGroupModel = GroupCustomerModel;
@@ -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
- import { PaginationQueryRequest } from "../../../../../types";
2
- export declare type GetCampaignPromotionGroupRequest = {};
3
- export declare type GetCampaignPromotionListRequest = {
1
+ import { BaseGetListRequest } from "../../../../../types";
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 = PaginationQueryRequest;
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 = PaginationQueryRequest;
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":["../../../../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IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAA"}
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,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAExD,MAAM,MAAM,gCAAgC,GAAG,EAAE,CAAA;AACjD,MAAM,MAAM,+BAA+B,GAAG;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAA;AACD,MAAM,MAAM,sCAAsC,GAAG;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAA;AACD,MAAM,MAAM,iCAAiC,GAAG;IAC5C,EAAE,EAAE,MAAM,CAAA;CACb,CAAA;AACD,MAAM,MAAM,kCAAkC,GAAG,EAAE,CAAA;AACnD,MAAM,MAAM,mCAAmC,GAAG,EAAE,CAAA;AACpD,MAAM,MAAM,8BAA8B,GAAG;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE,MAAM,CAAA;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,IAAI,CAAA;CACd,CAAA;AACD,MAAM,MAAM,kCAAkC,GAAG;IA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AU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;CAC1B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,EAAE,CAAA;AAC9C,MAAM,MAAM,gCAAgC,GAAG;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACtB,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,12 +1,42 @@
1
- export declare type GetInfoGroupRequest = {
2
- page: number;
3
- 'per-page': number;
4
- };
5
- export declare type UpdateListGroupRequest = {
1
+ import { BaseGetListRequest, BaseGetDetailRequest } from "../../../../../types";
2
+ export type GetInfoGroupRequest = BaseGetListRequest;
3
+ export type UpdateListGroupRequest = {
6
4
  customer_id: number;
7
- group_ids: number;
8
- page?: number;
9
- 'per-page'?: number;
10
- checkout_filter: any;
5
+ group_ids: number[];
6
+ };
7
+ export type GetListCustomerRequest = BaseGetListRequest;
8
+ export type GetCustomerRequest = BaseGetDetailRequest;
9
+ export type UpdateCustomerCheckinRequest = {
10
+ id: number;
11
+ full_name?: string;
12
+ phone?: string;
13
+ email?: string;
14
+ note?: string;
15
+ visit_count?: number;
16
+ is_send_sms?: number;
17
+ point_changed?: number;
18
+ checkout_filter?: Record<any, any>;
19
+ isFromCalling?: boolean;
20
+ is_blocked_from_booking?: number;
21
+ };
22
+ export type GetCustomerHistoryCheckinRequest = BaseGetListRequest & BaseGetDetailRequest;
23
+ export type DeleteCustomersRequest = {
24
+ ids: number[];
25
+ };
26
+ export type RemoveCustomerRequest = {
27
+ id: number;
28
+ customer_ids: number[];
29
+ };
30
+ export type GetChartInfoRequest = {};
31
+ export type ExportMemberRequest = {};
32
+ export type CreateGroupRequest = {
33
+ name: string;
34
+ };
35
+ export type GetGroupRequest = BaseGetListRequest & BaseGetDetailRequest;
36
+ export type UpdateGroupRequest = {
37
+ id: number;
38
+ name: string;
11
39
  };
40
+ export type DeleteGroupRequest = BaseGetDetailRequest;
41
+ export type GetListCustomerToAddGroupRequest = BaseGetListRequest & BaseGetDetailRequest;
12
42
  //# sourceMappingURL=customer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/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,OAAO,EAAC,kBAAkB,EAAE,oBAAoB,EAAC,MAAM,sBAAsB,CAAC;AAC9E,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC;AACrD,MAAM,MAAM,sBAAsB,GAAG;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,kBAAkB,CAAC;AACxD,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;AACtD,MAAM,MAAM,4BAA4B,GAAG;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IACnC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,uBAAuB,CAAC,EAAE,MAAM,CAAC;CACpC,CAAC;AACF,MAAM,MAAM,gCAAgC,GAAG,kBAAkB,GAAG,oBAAoB,CAAC;AACzF,MAAM,MAAM,sBAAsB,GAAG;IACjC,GAAG,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,EAAE,CAAC;AACrC,MAAM,MAAM,mBAAmB,GAAG,EAAE,CAAC;AACrC,MAAM,MAAM,kBAAkB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,kBAAkB,GAAG,oBAAoB,CAAC;AACxE,MAAM,MAAM,kBAAkB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;AACtD,MAAM,MAAM,gCAAgC,GAAG,kBAAkB,GAAG,oBAAoB,CAAC"}
@@ -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,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