gap-nodejs-sdk 1.0.258 → 1.0.259

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 (190) hide show
  1. package/dist/api/appointment_api/1.0.0/api/appointment.d.ts +1 -0
  2. package/dist/api/appointment_api/1.0.0/api/appointment.d.ts.map +1 -1
  3. package/dist/api/appointment_api/1.0.0/api/appointment.js +10 -0
  4. package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts +1 -0
  5. package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts.map +1 -1
  6. package/dist/api/appointment_api/1.0.0/endpoints/appointment.js +2 -1
  7. package/dist/api/appointment_api/1.0.0/models/appointment.d.ts +1 -0
  8. package/dist/api/appointment_api/1.0.0/models/appointment.d.ts.map +1 -1
  9. package/dist/api/appointment_api/1.0.0/models/appointment.js +96 -0
  10. package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts +23 -20
  11. package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts.map +1 -1
  12. package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts +1 -1
  13. package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts.map +1 -1
  14. package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts +3 -3
  15. package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts.map +1 -1
  16. package/dist/api/appointment_api/1.0.0/types/request/service.d.ts +1 -1
  17. package/dist/api/appointment_api/1.0.0/types/request/service.d.ts.map +1 -1
  18. package/dist/api/appointment_api/1.0.0/types/request/settings.d.ts +2 -2
  19. package/dist/api/appointment_api/1.0.0/types/request/settings.d.ts.map +1 -1
  20. package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts +1 -1
  21. package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts.map +1 -1
  22. package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts +110 -26
  23. package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts.map +1 -1
  24. package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts +2 -2
  25. package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts.map +1 -1
  26. package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts +17 -17
  27. package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts.map +1 -1
  28. package/dist/api/appointment_api/1.0.0/types/response/service.d.ts +6 -6
  29. package/dist/api/appointment_api/1.0.0/types/response/service.d.ts.map +1 -1
  30. package/dist/api/appointment_api/1.0.0/types/response/settings.d.ts +2 -2
  31. package/dist/api/appointment_api/1.0.0/types/response/settings.d.ts.map +1 -1
  32. package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts +3 -3
  33. package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts.map +1 -1
  34. package/dist/api/base_api/1.0.0/types/request/auth.d.ts +3 -3
  35. package/dist/api/base_api/1.0.0/types/request/auth.d.ts.map +1 -1
  36. package/dist/api/base_api/1.0.0/types/response/auth.d.ts +6 -6
  37. package/dist/api/base_api/1.0.0/types/response/auth.d.ts.map +1 -1
  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/category.d.ts +5 -5
  41. package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts.map +1 -1
  42. package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts +2 -2
  43. package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts.map +1 -1
  44. package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts +3 -3
  45. package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts.map +1 -1
  46. package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts +6 -6
  47. package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts.map +1 -1
  48. package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts +12 -12
  49. package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts.map +1 -1
  50. package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts +2 -2
  51. package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts.map +1 -1
  52. package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts +17 -17
  53. package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts.map +1 -1
  54. package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts +10 -10
  55. package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts.map +1 -1
  56. package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts +3 -3
  57. package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts.map +1 -1
  58. package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts +5 -5
  59. package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts.map +1 -1
  60. package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts +2 -2
  61. package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts.map +1 -1
  62. package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts +4 -4
  63. package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts.map +1 -1
  64. package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts +9 -9
  65. package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts.map +1 -1
  66. package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts +14 -14
  67. package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts.map +1 -1
  68. package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts +2 -2
  69. package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts.map +1 -1
  70. package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts +17 -17
  71. package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts.map +1 -1
  72. package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts +12 -12
  73. package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts.map +1 -1
  74. package/dist/api/pos_client_api/1.0.0/api/income.d.ts +3 -0
  75. package/dist/api/pos_client_api/1.0.0/api/income.d.ts.map +1 -1
  76. package/dist/api/pos_client_api/1.0.0/api/income.js +30 -0
  77. package/dist/api/pos_client_api/1.0.0/endpoints/income.d.ts +3 -0
  78. package/dist/api/pos_client_api/1.0.0/endpoints/income.d.ts.map +1 -1
  79. package/dist/api/pos_client_api/1.0.0/endpoints/income.js +3 -0
  80. package/dist/api/pos_client_api/1.0.0/models/income.d.ts +3 -0
  81. package/dist/api/pos_client_api/1.0.0/models/income.d.ts.map +1 -1
  82. package/dist/api/pos_client_api/1.0.0/models/income.js +31 -0
  83. package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts +2 -2
  84. package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts.map +1 -1
  85. package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts +2 -2
  86. package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts.map +1 -1
  87. package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts +1 -1
  88. package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts.map +1 -1
  89. package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts +1 -1
  90. package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts.map +1 -1
  91. package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts +6 -6
  92. package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts.map +1 -1
  93. package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts +11 -11
  94. package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts.map +1 -1
  95. package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts +6 -6
  96. package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts.map +1 -1
  97. package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts +1 -1
  98. package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts.map +1 -1
  99. package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts +4 -4
  100. package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts.map +1 -1
  101. package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts +2 -2
  102. package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts.map +1 -1
  103. package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts +14 -2
  104. package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts.map +1 -1
  105. package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts +1 -1
  106. package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
  107. package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts +17 -17
  108. package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts.map +1 -1
  109. package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts +13 -13
  110. package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts.map +1 -1
  111. package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts +4 -4
  112. package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts.map +1 -1
  113. package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts +5 -5
  114. package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts.map +1 -1
  115. package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts +2 -2
  116. package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts.map +1 -1
  117. package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts +14 -14
  118. package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts.map +1 -1
  119. package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts +3 -3
  120. package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts.map +1 -1
  121. package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts +10 -10
  122. package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts.map +1 -1
  123. package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts +7 -7
  124. package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts.map +1 -1
  125. package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts +1 -1
  126. package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts.map +1 -1
  127. package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts +1 -1
  128. package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts.map +1 -1
  129. package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts +4 -4
  130. package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts.map +1 -1
  131. package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts +2 -2
  132. package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts.map +1 -1
  133. package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts +2 -2
  134. package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts.map +1 -1
  135. package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts +15 -15
  136. package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts.map +1 -1
  137. package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts +34 -34
  138. package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts.map +1 -1
  139. package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts +8 -8
  140. package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts.map +1 -1
  141. package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts +4 -4
  142. package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts.map +1 -1
  143. package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts +10 -10
  144. package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts.map +1 -1
  145. package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts +1 -1
  146. package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts.map +1 -1
  147. package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts +25 -6
  148. package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts.map +1 -1
  149. package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts +5 -5
  150. package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
  151. package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts +30 -30
  152. package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts.map +1 -1
  153. package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts +19 -19
  154. package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts.map +1 -1
  155. package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts +4 -4
  156. package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts.map +1 -1
  157. package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts +5 -5
  158. package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts.map +1 -1
  159. package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts +2 -2
  160. package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts.map +1 -1
  161. package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts +18 -18
  162. package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts.map +1 -1
  163. package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts +5 -5
  164. package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts.map +1 -1
  165. package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts +12 -12
  166. package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts.map +1 -1
  167. package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts +2 -2
  168. package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts.map +1 -1
  169. package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts +1 -1
  170. package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts.map +1 -1
  171. package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts +1 -1
  172. package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts.map +1 -1
  173. package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts +6 -6
  174. package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
  175. package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts +3 -3
  176. package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts.map +1 -1
  177. package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts +17 -17
  178. package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts.map +1 -1
  179. package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts +7 -7
  180. package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
  181. package/dist/api/user_api/1.0.0/types/request/auth.d.ts +1 -1
  182. package/dist/api/user_api/1.0.0/types/request/auth.d.ts.map +1 -1
  183. package/dist/api/user_api/1.0.0/types/response/auth.d.ts +1 -1
  184. package/dist/api/user_api/1.0.0/types/response/auth.d.ts.map +1 -1
  185. package/dist/gap-sdk.js +1 -1
  186. package/dist/http_client/types.d.ts +5 -5
  187. package/dist/http_client/types.d.ts.map +1 -1
  188. package/dist/types/meta.d.ts +2 -2
  189. package/dist/types/meta.d.ts.map +1 -1
  190. package/package.json +1 -1
@@ -18,5 +18,6 @@ export default class Appointment extends Base implements AppointmentAbstractClas
18
18
  static addBusinessTimeOff(data: Request.AddBusinessTimeOffRequest): Promise<Response.AddBusinessTimeOffResponse>;
19
19
  static updateBusinessTimeOff(data: Request.UpdateBusinessTimeOffRequest): Promise<Response.UpdateBusinessTimeOffResponse>;
20
20
  static deleteBusinessTimeOff(data: Request.DeleteBusinessTimeOffRequest): Promise<Response.DeleteBusinessTimeOffResponse>;
21
+ static getAppointmentCustomerHistory(data: Request.GetAppointmentCustomerHistoryRequest): Promise<Response.GetAppointmentCustomerHistoryReponse>;
21
22
  }
22
23
  //# sourceMappingURL=appointment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/api/appointment.ts"],"names":[],"mappings":"AACA,OAAO,wBAAwB,MAAM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4B,CAAC;WAU/G,uBAAuB,CAAC,IAAI,EAAE,OAAO,CAAC,8BAA8B,GAAG,OAAO,CAAC,QAAQ,CAAC,+BAA+B,CAAC;WAUxH,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,wBAAwB,GAAG,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC;WAUtG,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,wBAAwB,GAAG,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAC;WAUtG,yBAAyB,CAAC,IAAI,EAAE,OAAO,CAAC,gCAAgC,GAAG,OAAO,CAAC,QAAQ,CAAC,iCAAiC,CAAC;WAU9H,sBAAsB,CAAC,IAAI,EAAE,OAAO,CAAC,6BAA6B,GAAG,OAAO,CAAC,oBAAoB,CAAC,QAAQ,CAAC,8BAA8B,CAAC,CAAC;WAU3I,kBAAkB,CAAC,IAAI,EAAE,OAAO,CAAC,yBAAyB,GAAG,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAAC;WAUzG,qBAAqB,CAAC,IAAI,EAAE,OAAO,CAAC,4BAA4B,GAAG,OAAO,CAAC,QAAQ,CAAC,6BAA6B,CAAC;WAUlH,qBAAqB,CAAC,IAAI,EAAE,OAAO,CAAC,4BAA4B,GAAG,OAAO,CAAC,QAAQ,CAAC,6BAA6B,CAAC;WASlH,6BAA6B,CAAC,IAAI,EAAE,OAAO,CAAC,oCAAoC,GAAG,OAAO,CAAC,QAAQ,CAAC,oCAAoC,CAAC;CAShK"}
@@ -132,5 +132,15 @@ export default class Appointment extends Base {
132
132
  return null;
133
133
  });
134
134
  }
135
+ static getAppointmentCustomerHistory(data) {
136
+ var _a;
137
+ return __awaiter(this, void 0, void 0, function* () {
138
+ const response = yield this.client.get({
139
+ path: appointment.GET_APPOINTMENT_CUSTOMER_HISTORY,
140
+ query: data
141
+ });
142
+ return Model.AppointmentCustomerHistoryModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
143
+ });
144
+ }
135
145
  }
136
146
  Appointment.API_VERSION = GapApiVersion.V1;
@@ -11,6 +11,7 @@ declare const _default: {
11
11
  UPDATE_BUSINESS_TIME_OFF: string;
12
12
  DELETE_BUSINESS_TIME_OFF: string;
13
13
  SEARCH_APPOINTMENT: string;
14
+ GET_APPOINTMENT_CUSTOMER_HISTORY: string;
14
15
  };
15
16
  export default _default;
16
17
  //# sourceMappingURL=appointment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/endpoints/appointment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,wBAcC"}
1
+ {"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/endpoints/appointment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,wBAeC"}
@@ -11,5 +11,6 @@ export default {
11
11
  ADD_BUSINESS_TIME_OFF: "/v1/appointment/appointment/business-time-off/create",
12
12
  UPDATE_BUSINESS_TIME_OFF: "/v1/appointment/appointment/business-time-off/update",
13
13
  DELETE_BUSINESS_TIME_OFF: "/v1/appointment/appointment/business-time-off/delete",
14
- SEARCH_APPOINTMENT: "/v1/appointment/appointment/list/search"
14
+ SEARCH_APPOINTMENT: "/v1/appointment/appointment/list/search",
15
+ GET_APPOINTMENT_CUSTOMER_HISTORY: "v1/appointment/customer/list/history",
15
16
  };
@@ -114,4 +114,5 @@ export declare function AppointmentResourceModel(data: any): {
114
114
  };
115
115
  export declare function AppointmentDetailModel(data: any): Response.GetAppointmentDetailResponse;
116
116
  export declare function BusinessTimeOffModel(data: any): Response.GetListBusinessTimeOffResponse;
117
+ export declare function AppointmentCustomerHistoryModel(data: any): Response.GetAppointmentCustomerHistoryReponse;
117
118
  //# sourceMappingURL=appointment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/models/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AA+O9C,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBrD;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,iCAAiC,CAmCpG;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;EAcjD;AA6BD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,4BAA4B,CA4BvF;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,8BAA8B,CAkBvF"}
1
+ {"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/models/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AA+O9C,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBrD;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,iCAAiC,CAmCpG;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;EAcjD;AA6BD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,4BAA4B,CA4BvF;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,8BAA8B,CAkBvF;AAqFD,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,oCAAoC,CAWxG"}
@@ -390,3 +390,99 @@ export function BusinessTimeOffModel(data) {
390
390
  description: (_q = data === null || data === void 0 ? void 0 : data.description) !== null && _q !== void 0 ? _q : null,
391
391
  };
392
392
  }
393
+ function AppointmentModel(data) {
394
+ 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;
395
+ return {
396
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
397
+ created_at: (_b = data === null || data === void 0 ? void 0 : data.created_at) !== null && _b !== void 0 ? _b : null,
398
+ updated_at: (_c = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _c !== void 0 ? _c : null,
399
+ booker_name: (_d = data === null || data === void 0 ? void 0 : data.booker_name) !== null && _d !== void 0 ? _d : null,
400
+ booker_contact: (_e = data === null || data === void 0 ? void 0 : data.booker_contact) !== null && _e !== void 0 ? _e : null,
401
+ customer_id: (_f = data === null || data === void 0 ? void 0 : data.customer_id) !== null && _f !== void 0 ? _f : null,
402
+ employee_id: (_g = data === null || data === void 0 ? void 0 : data.employee_id) !== null && _g !== void 0 ? _g : null,
403
+ service_id: (_h = data === null || data === void 0 ? void 0 : data.service_id) !== null && _h !== void 0 ? _h : null,
404
+ start_time: (_j = data === null || data === void 0 ? void 0 : data.start_time) !== null && _j !== void 0 ? _j : null,
405
+ end_time_expected: (_k = data === null || data === void 0 ? void 0 : data.end_time_expected) !== null && _k !== void 0 ? _k : null,
406
+ end_time: (_l = data === null || data === void 0 ? void 0 : data.end_time) !== null && _l !== void 0 ? _l : null,
407
+ price_expected: (_m = data === null || data === void 0 ? void 0 : data.price_expected) !== null && _m !== void 0 ? _m : null,
408
+ price_full: (_o = data === null || data === void 0 ? void 0 : data.price_full) !== null && _o !== void 0 ? _o : null,
409
+ discount: (_p = data === null || data === void 0 ? void 0 : data.discount) !== null && _p !== void 0 ? _p : null,
410
+ price_final: (_q = data === null || data === void 0 ? void 0 : data.price_final) !== null && _q !== void 0 ? _q : null,
411
+ canceled: (_r = data === null || data === void 0 ? void 0 : data.canceled) !== null && _r !== void 0 ? _r : null,
412
+ cancellation_resion: (_s = data === null || data === void 0 ? void 0 : data.cancellation_resion) !== null && _s !== void 0 ? _s : null,
413
+ status: (_t = data === null || data === void 0 ? void 0 : data.status) !== null && _t !== void 0 ? _t : null,
414
+ flag: (_u = data === null || data === void 0 ? void 0 : data.flag) !== null && _u !== void 0 ? _u : null,
415
+ note: (_v = data === null || data === void 0 ? void 0 : data.note) !== null && _v !== void 0 ? _v : null,
416
+ key: (_w = data === null || data === void 0 ? void 0 : data.key) !== null && _w !== void 0 ? _w : null,
417
+ staff_note: (_x = data === null || data === void 0 ? void 0 : data.staff_note) !== null && _x !== void 0 ? _x : null,
418
+ user_ip: (_y = data === null || data === void 0 ? void 0 : data.user_ip) !== null && _y !== void 0 ? _y : null,
419
+ parent_id: (_z = data === null || data === void 0 ? void 0 : data.parent_id) !== null && _z !== void 0 ? _z : null,
420
+ referer: (_0 = data === null || data === void 0 ? void 0 : data.referer) !== null && _0 !== void 0 ? _0 : null,
421
+ is_auto_assign: (_1 = data === null || data === void 0 ? void 0 : data.is_auto_assign) !== null && _1 !== void 0 ? _1 : null,
422
+ booker_email: (_2 = data === null || data === void 0 ? void 0 : data.booker_email) !== null && _2 !== void 0 ? _2 : null,
423
+ order_id: (_3 = data === null || data === void 0 ? void 0 : data.order_id) !== null && _3 !== void 0 ? _3 : null,
424
+ checkin_id: (_4 = data === null || data === void 0 ? void 0 : data.checkin_id) !== null && _4 !== void 0 ? _4 : null,
425
+ accept_consent_term: (_5 = data === null || data === void 0 ? void 0 : data.accept_consent_term) !== null && _5 !== void 0 ? _5 : null,
426
+ custom_service: (_6 = data === null || data === void 0 ? void 0 : data.custom_service) !== null && _6 !== void 0 ? _6 : null,
427
+ extra_data: (_7 = data === null || data === void 0 ? void 0 : data.extra_data) !== null && _7 !== void 0 ? _7 : null,
428
+ service: ServiceAppointmentModel(data === null || data === void 0 ? void 0 : data.service)
429
+ };
430
+ }
431
+ function ServiceAppointmentModel(data) {
432
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
433
+ return {
434
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
435
+ name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
436
+ create_at: (_c = data === null || data === void 0 ? void 0 : data.create_at) !== null && _c !== void 0 ? _c : null,
437
+ type: (_d = data === null || data === void 0 ? void 0 : data.type) !== null && _d !== void 0 ? _d : null,
438
+ status: (_e = data === null || data === void 0 ? void 0 : data.status) !== null && _e !== void 0 ? _e : null,
439
+ group_id: (_f = data === null || data === void 0 ? void 0 : data.group_id) !== null && _f !== void 0 ? _f : null,
440
+ priority: (_g = data === null || data === void 0 ? void 0 : data.priority) !== null && _g !== void 0 ? _g : null,
441
+ category_id: (_h = data === null || data === void 0 ? void 0 : data.category_id) !== null && _h !== void 0 ? _h : null,
442
+ onwer_id: (_j = data === null || data === void 0 ? void 0 : data.onwer_id) !== null && _j !== void 0 ? _j : null,
443
+ price: (_k = data === null || data === void 0 ? void 0 : data.price) !== null && _k !== void 0 ? _k : null,
444
+ note: (_l = data === null || data === void 0 ? void 0 : data.note) !== null && _l !== void 0 ? _l : null,
445
+ point_bonus: (_m = data === null || data === void 0 ? void 0 : data.point_bonus) !== null && _m !== void 0 ? _m : null,
446
+ duration: (_o = data === null || data === void 0 ? void 0 : data.duration) !== null && _o !== void 0 ? _o : null,
447
+ buffer_time: (_p = data === null || data === void 0 ? void 0 : data.buffer_time) !== null && _p !== void 0 ? _p : null,
448
+ web_booking_visible: (_q = data === null || data === void 0 ? void 0 : data.web_booking_visible) !== null && _q !== void 0 ? _q : null,
449
+ supply_share: (_r = data === null || data === void 0 ? void 0 : data.supply_share) !== null && _r !== void 0 ? _r : null,
450
+ show_on_checkin: (_s = data === null || data === void 0 ? void 0 : data.show_on_checkin) !== null && _s !== void 0 ? _s : null,
451
+ show_on_booking: (_t = data === null || data === void 0 ? void 0 : data.show_on_booking) !== null && _t !== void 0 ? _t : null,
452
+ show_on_pos: (_u = data === null || data === void 0 ? void 0 : data.show_on_pos) !== null && _u !== void 0 ? _u : null,
453
+ image_base_url: (_v = data === null || data === void 0 ? void 0 : data.image_base_url) !== null && _v !== void 0 ? _v : null,
454
+ image_path: (_w = data === null || data === void 0 ? void 0 : data.image_path) !== null && _w !== void 0 ? _w : null,
455
+ };
456
+ }
457
+ function CheckinAppointmentModel(data) {
458
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
459
+ return {
460
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
461
+ customer_id: (_b = data === null || data === void 0 ? void 0 : data.customer_id) !== null && _b !== void 0 ? _b : null,
462
+ created_at: (_c = data === null || data === void 0 ? void 0 : data.created_at) !== null && _c !== void 0 ? _c : null,
463
+ update_at: (_d = data === null || data === void 0 ? void 0 : data.update_at) !== null && _d !== void 0 ? _d : null,
464
+ owner_id: (_e = data === null || data === void 0 ? void 0 : data.owner_id) !== null && _e !== void 0 ? _e : null,
465
+ checkin_id: (_f = data === null || data === void 0 ? void 0 : data.checkin_id) !== null && _f !== void 0 ? _f : null,
466
+ status: (_g = data === null || data === void 0 ? void 0 : data.status) !== null && _g !== void 0 ? _g : null,
467
+ note: (_h = data === null || data === void 0 ? void 0 : data.note) !== null && _h !== void 0 ? _h : null,
468
+ total_price: (_j = data === null || data === void 0 ? void 0 : data.total_price) !== null && _j !== void 0 ? _j : null,
469
+ discount: (_k = data === null || data === void 0 ? void 0 : data.discount) !== null && _k !== void 0 ? _k : null,
470
+ user_id: (_l = data === null || data === void 0 ? void 0 : data.user_id) !== null && _l !== void 0 ? _l : null,
471
+ point_bonus: (_m = data === null || data === void 0 ? void 0 : data.point_bonus) !== null && _m !== void 0 ? _m : null,
472
+ sms_sent: (_o = data === null || data === void 0 ? void 0 : data.sms_sent) !== null && _o !== void 0 ? _o : null,
473
+ order_id: (_p = data === null || data === void 0 ? void 0 : data.order_id) !== null && _p !== void 0 ? _p : null,
474
+ };
475
+ }
476
+ export function AppointmentCustomerHistoryModel(data) {
477
+ var _a, _b, _c, _d, _e, _f;
478
+ return {
479
+ appointment: ((data === null || data === void 0 ? void 0 : data.appointment) || []).map((item) => AppointmentModel(item)),
480
+ checkin: ((data === null || data === void 0 ? void 0 : data.checkin) || []).map((item) => CheckinAppointmentModel(item)),
481
+ full_name: (_a = data === null || data === void 0 ? void 0 : data.full_name) !== null && _a !== void 0 ? _a : null,
482
+ lifetime_point: (_b = data === null || data === void 0 ? void 0 : data.lifetime_point) !== null && _b !== void 0 ? _b : null,
483
+ phone: (_c = data === null || data === void 0 ? void 0 : data.phone) !== null && _c !== void 0 ? _c : null,
484
+ total_appointment: (_d = data === null || data === void 0 ? void 0 : data.total_appointment) !== null && _d !== void 0 ? _d : null,
485
+ total_money: (_e = data === null || data === void 0 ? void 0 : data.total_money) !== null && _e !== void 0 ? _e : null,
486
+ visit_count: (_f = data === null || data === void 0 ? void 0 : data.visit_count) !== null && _f !== void 0 ? _f : null,
487
+ };
488
+ }
@@ -1,22 +1,22 @@
1
1
  import { Nullable } from "../../../../../base_type";
2
- export declare type GetAppointmentSpecificDateListRequest = {
2
+ export type GetAppointmentSpecificDateListRequest = {
3
3
  date: string;
4
4
  appointment_id?: number;
5
5
  };
6
- export declare type GetAppointmentResourceListRequest = {
6
+ export type GetAppointmentResourceListRequest = {
7
7
  start_time: string;
8
8
  };
9
- export declare type SearchAppointmentRequest = {
9
+ export type SearchAppointmentRequest = {
10
10
  keywords: string;
11
11
  };
12
- export declare type GetAppointmentDetailRequest = {
12
+ export type GetAppointmentDetailRequest = {
13
13
  id: number;
14
14
  };
15
- export declare type ChangeAppointmentStatusRequest = {
15
+ export type ChangeAppointmentStatusRequest = {
16
16
  id: number;
17
17
  status: 'scheduled' | 'confirmed' | 'done' | 'canceled';
18
18
  };
19
- export declare type CreateAppointmentRequest = {
19
+ export type CreateAppointmentRequest = {
20
20
  date: string;
21
21
  customer: Customer | null;
22
22
  booker: Booker | null;
@@ -24,44 +24,44 @@ export declare type CreateAppointmentRequest = {
24
24
  items: Item[];
25
25
  extra_data: ExtraData;
26
26
  };
27
- declare type Booker = Nullable<{
27
+ type Booker = Nullable<{
28
28
  booker_name: string;
29
29
  booker_phone: string;
30
30
  }>;
31
- declare type Customer = Nullable<{
31
+ type Customer = Nullable<{
32
32
  id: number;
33
33
  full_name: string;
34
34
  phone: string;
35
35
  }>;
36
- declare type Item = Nullable<{
36
+ type Item = Nullable<{
37
37
  duration: Duration;
38
38
  staff: Staff;
39
39
  start_time: StartTime;
40
40
  service: Service;
41
41
  }>;
42
- declare type Duration = Nullable<{
42
+ type Duration = Nullable<{
43
43
  text: string;
44
44
  value: number;
45
45
  }>;
46
- declare type Staff = Nullable<{
46
+ type Staff = Nullable<{
47
47
  user_id: number;
48
48
  }>;
49
- declare type StartTime = Nullable<{
49
+ type StartTime = Nullable<{
50
50
  value: number;
51
51
  text: string;
52
52
  }>;
53
- declare type Service = Nullable<{
53
+ type Service = Nullable<{
54
54
  id: number;
55
55
  name: string;
56
56
  duration: number;
57
57
  price: number;
58
58
  }>;
59
- declare type ExtraData = Nullable<{
59
+ type ExtraData = Nullable<{
60
60
  highlight: number;
61
61
  request: number;
62
62
  no_show: number;
63
63
  }>;
64
- export declare type UpdateAppointmentRequest = {
64
+ export type UpdateAppointmentRequest = {
65
65
  date: string;
66
66
  customer: Customer | null;
67
67
  booker: Booker | null;
@@ -71,7 +71,7 @@ export declare type UpdateAppointmentRequest = {
71
71
  appointment_base_id: number;
72
72
  status: string;
73
73
  };
74
- export declare type DragDropUpdateAppointmentRequest = {
74
+ export type DragDropUpdateAppointmentRequest = {
75
75
  event: {
76
76
  id: number;
77
77
  start: string;
@@ -79,13 +79,13 @@ export declare type DragDropUpdateAppointmentRequest = {
79
79
  };
80
80
  resource: string;
81
81
  };
82
- export declare type GetListBusinessTimeOffRequest = {
82
+ export type GetListBusinessTimeOffRequest = {
83
83
  filterType?: number;
84
84
  filterStaffId?: number;
85
85
  page?: number;
86
86
  'per-page'?: number;
87
87
  };
88
- export declare type AddBusinessTimeOffRequest = {
88
+ export type AddBusinessTimeOffRequest = {
89
89
  staff_id?: number;
90
90
  all_day: number;
91
91
  data: {
@@ -98,10 +98,13 @@ export declare type AddBusinessTimeOffRequest = {
98
98
  start_date: string;
99
99
  end_date: string;
100
100
  };
101
- export declare type UpdateBusinessTimeOffRequest = AddBusinessTimeOffRequest;
102
- export declare type DeleteBusinessTimeOffRequest = {
101
+ export type UpdateBusinessTimeOffRequest = AddBusinessTimeOffRequest;
102
+ export type DeleteBusinessTimeOffRequest = {
103
103
  id: number;
104
104
  type?: number;
105
105
  };
106
+ export type GetAppointmentCustomerHistoryRequest = {
107
+ id: number;
108
+ };
106
109
  export {};
107
110
  //# sourceMappingURL=appointment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,oBAAY,qCAAqC,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAA;AACD,oBAAY,iCAAiC,GAAG;IAC5C,UAAU,EAAE,MAAM,CAAC;CACtB,CAAA;AAKD,oBAAY,wBAAwB,GAAG;IACnC,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AACD,oBAAY,2BAA2B,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;CACd,CAAA;AACD,oBAAY,8BAA8B,GAAG;IACzC,EAAE,EAAE,MAAM,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AED,oBAAY,4BAA4B,GAAG,yBAAyB,CAAC;AAErE,oBAAY,4BAA4B,GAAG;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAA"}
1
+ {"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,qCAAqC,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAA;AACD,MAAM,MAAM,iCAAiC,GAAG;IAC5C,UAAU,EAAE,MAAM,CAAC;CACtB,CAAA;AAKD,MAAM,MAAM,wBAAwB,GAAG;IACnC,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AACD,MAAM,MAAM,2BAA2B,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;CACd,CAAA;AACD,MAAM,MAAM,8BAA8B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,WAAW,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,CAAC;CAC3D,CAAA;AACD,MAAM,MAAM,wBAAwB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,UAAU,EAAE,SAAS,CAAC;CACzB,CAAA;AACD,KAAK,MAAM,GAAG,QAAQ,CAAC;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;CACvB,CAAC,CAAA;AACF,KAAK,QAAQ,GAAG,QAAQ,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC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QACH,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;KACf,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG;IACxC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAA;AACD,MAAM,MAAM,yBAAyB,GAAG;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE;QACF,cAAc,EAAE,MAAM,CAAC;QACvB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;KACrC,GAAG,EAAE,CAAC;IACP,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,yBAAyB,CAAC;AAErE,MAAM,MAAM,4BAA4B,GAAG;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,MAAM,MAAM,oCAAoC,GAAG;IAC/C,EAAE,EAAE,MAAM,CAAC;CACd,CAAA"}
@@ -1,4 +1,4 @@
1
- export declare type GetAppointmentCustomerListRequest = {
1
+ export type GetAppointmentCustomerListRequest = {
2
2
  customer_name?: string;
3
3
  phone?: string;
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/customer.ts"],"names":[],"mappings":"AAAA,oBAAY,iCAAiC,GAAG;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA"}
1
+ {"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/customer.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iCAAiC,GAAG;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA"}
@@ -1,10 +1,10 @@
1
- export declare type GetWaitListRequest = {
1
+ export type GetWaitListRequest = {
2
2
  date: string;
3
3
  };
4
- export declare type CreateOrderRequest = {
4
+ export type CreateOrderRequest = {
5
5
  appointment_id: number;
6
6
  };
7
- export declare type GetAppointmentListRequest = {
7
+ export type GetAppointmentListRequest = {
8
8
  start_time: string;
9
9
  status?: string;
10
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"pos.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/pos.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;CAChB,CAAA;AACD,oBAAY,kBAAkB,GAAG;IAC7B,cAAc,EAAE,MAAM,CAAC;CAC1B,CAAA;AAED,oBAAY,yBAAyB,GAAG;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAA"}
1
+ {"version":3,"file":"pos.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/pos.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;CAChB,CAAA;AACD,MAAM,MAAM,kBAAkB,GAAG;IAC7B,cAAc,EAAE,MAAM,CAAC;CAC1B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare type GetAppointmentServiceListRequest = {};
1
+ export type GetAppointmentServiceListRequest = {};
2
2
  //# sourceMappingURL=service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/service.ts"],"names":[],"mappings":"AAAA,oBAAY,gCAAgC,GAAG,EAE9C,CAAA"}
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/service.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gCAAgC,GAAG,EAE9C,CAAA"}
@@ -1,5 +1,5 @@
1
- export declare type GetSMSContentRequest = {};
2
- export declare type UpdateSMSContentRequest = {
1
+ export type GetSMSContentRequest = {};
2
+ export type UpdateSMSContentRequest = {
3
3
  key: string;
4
4
  value: string;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/settings.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB,GAAG,EAAE,CAAA;AACrC,oBAAY,uBAAuB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/settings.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG,EAAE,CAAA;AACrC,MAAM,MAAM,uBAAuB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACjB,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare type GetAppointmentStaffListRequest = {};
1
+ export type GetAppointmentStaffListRequest = {};
2
2
  //# sourceMappingURL=staff.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/staff.ts"],"names":[],"mappings":"AAAA,oBAAY,8BAA8B,GAAG,EAAE,CAAA"}
1
+ {"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/staff.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,8BAA8B,GAAG,EAAE,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { Nullable } from "../../../../../base_type";
2
- export declare type GetAppointmentSpecificDateListResponse = Nullable<{
2
+ export type GetAppointmentSpecificDateListResponse = Nullable<{
3
3
  id: number;
4
4
  resourceId: number;
5
5
  backgroundColor: string;
@@ -23,7 +23,7 @@ export declare type GetAppointmentSpecificDateListResponse = Nullable<{
23
23
  custom_service: any;
24
24
  extra_data: string;
25
25
  }[]>;
26
- declare type Customer = Nullable<{
26
+ type Customer = Nullable<{
27
27
  id: number;
28
28
  first_name: any;
29
29
  last_name: any;
@@ -59,7 +59,7 @@ declare type Customer = Nullable<{
59
59
  lifetime_point: number;
60
60
  type: string;
61
61
  }>;
62
- declare type Staff = Nullable<{
62
+ type Staff = Nullable<{
63
63
  user_id: number;
64
64
  name: string;
65
65
  code: number;
@@ -77,7 +77,7 @@ declare type Staff = Nullable<{
77
77
  nickname: string;
78
78
  priority_calendar: number;
79
79
  }>;
80
- declare type Service = Nullable<{
80
+ type Service = Nullable<{
81
81
  id: number;
82
82
  name: string;
83
83
  create_at: string;
@@ -101,7 +101,7 @@ declare type Service = Nullable<{
101
101
  image_path: string;
102
102
  employee_list: EmployeeList[];
103
103
  }>;
104
- export declare type GetAppointmentResourceListResponse = Nullable<{
104
+ export type GetAppointmentResourceListResponse = Nullable<{
105
105
  id: any;
106
106
  title: string;
107
107
  index: number;
@@ -110,13 +110,13 @@ export declare type GetAppointmentResourceListResponse = Nullable<{
110
110
  image_url: string;
111
111
  status: number;
112
112
  }[]>;
113
- declare type BusinessHour = Nullable<{
113
+ type BusinessHour = Nullable<{
114
114
  daysOfWeek: number[];
115
115
  startTime: string;
116
116
  endTime: string;
117
117
  }>;
118
- export declare type SearchAppointmentReponse = GetAppointmentDetailResponse;
119
- export declare type GetAppointmentDetailResponse = Nullable<{
118
+ export type SearchAppointmentReponse = GetAppointmentDetailResponse;
119
+ export type GetAppointmentDetailResponse = Nullable<{
120
120
  id: number;
121
121
  start_time: string;
122
122
  end_time: string;
@@ -143,14 +143,14 @@ export declare type GetAppointmentDetailResponse = Nullable<{
143
143
  extra_data: string;
144
144
  order_id: number;
145
145
  }>;
146
- declare type Duration = Nullable<{
146
+ type Duration = Nullable<{
147
147
  text: string;
148
148
  value: number;
149
149
  }>;
150
- declare type EmployeeList = Nullable<{
150
+ type EmployeeList = Nullable<{
151
151
  employee: Employee;
152
152
  }>;
153
- declare type Employee = Nullable<{
153
+ type Employee = Nullable<{
154
154
  name: string;
155
155
  code: number;
156
156
  working_hours: WorkingHour[];
@@ -169,7 +169,7 @@ declare type Employee = Nullable<{
169
169
  nickname: string;
170
170
  priority_calendar: number;
171
171
  }>;
172
- declare type WorkingHour = Nullable<{
172
+ type WorkingHour = Nullable<{
173
173
  id: number;
174
174
  employee_id: number;
175
175
  working_day: string;
@@ -182,7 +182,7 @@ declare type WorkingHour = Nullable<{
182
182
  su: string;
183
183
  is_active: number;
184
184
  }>;
185
- declare type Checkin = Nullable<{
185
+ type Checkin = Nullable<{
186
186
  id: number;
187
187
  customer_id: number;
188
188
  create_at: string;
@@ -204,7 +204,7 @@ declare type Checkin = Nullable<{
204
204
  products: any[];
205
205
  groups: Group[];
206
206
  }>;
207
- declare type CustomerCheckinService = Nullable<{
207
+ type CustomerCheckinService = Nullable<{
208
208
  id: number;
209
209
  checkin_id: number;
210
210
  service_id: number;
@@ -215,13 +215,13 @@ declare type CustomerCheckinService = Nullable<{
215
215
  staff: any;
216
216
  service: Service;
217
217
  }>;
218
- declare type Group = Nullable<{
218
+ type Group = Nullable<{
219
219
  id: number;
220
220
  name: string;
221
221
  description: any;
222
222
  status: string;
223
223
  }>;
224
- declare type History = Nullable<{
224
+ type History = Nullable<{
225
225
  id: number;
226
226
  appointment_id: number;
227
227
  customer_id: number;
@@ -232,14 +232,14 @@ declare type History = Nullable<{
232
232
  data: any;
233
233
  created_at: string;
234
234
  }>;
235
- declare type CustomerPoint = Nullable<{
235
+ type CustomerPoint = Nullable<{
236
236
  customer_id: number;
237
237
  point: number;
238
238
  created_at: any;
239
239
  update_at: any;
240
240
  lifetime_point: number;
241
241
  }>;
242
- declare type CheckOut = Nullable<{
242
+ type CheckOut = Nullable<{
243
243
  id: number;
244
244
  customer_id: number;
245
245
  created_at: string;
@@ -255,10 +255,10 @@ declare type CheckOut = Nullable<{
255
255
  sms_sent: number;
256
256
  order_id: number;
257
257
  }>;
258
- export declare type ChangeAppointmentStatusResponse = Nullable<string>;
259
- export declare type CreateAppointmentResponse = Nullable<number>;
260
- export declare type UpdateAppointmentResponse = Nullable<number>;
261
- export declare type DragDropUpdateAppointmentResponse = Nullable<{
258
+ export type ChangeAppointmentStatusResponse = Nullable<string>;
259
+ export type CreateAppointmentResponse = Nullable<number>;
260
+ export type UpdateAppointmentResponse = Nullable<number>;
261
+ export type DragDropUpdateAppointmentResponse = Nullable<{
262
262
  id: number;
263
263
  created_at: string;
264
264
  updated_at: string;
@@ -292,7 +292,7 @@ export declare type DragDropUpdateAppointmentResponse = Nullable<{
292
292
  custom_service: any;
293
293
  extra_data: string;
294
294
  }>;
295
- export declare type GetListBusinessTimeOffResponse = Nullable<{
295
+ export type GetListBusinessTimeOffResponse = Nullable<{
296
296
  data: {
297
297
  recurring_type: string;
298
298
  recurring_end_date: string;
@@ -309,8 +309,92 @@ export declare type GetListBusinessTimeOffResponse = Nullable<{
309
309
  recurring: string;
310
310
  description: string;
311
311
  }>;
312
- export declare type AddBusinessTimeOffResponse = GetListBusinessTimeOffResponse;
313
- export declare type UpdateBusinessTimeOffResponse = GetListBusinessTimeOffResponse;
314
- export declare type DeleteBusinessTimeOffResponse = null;
312
+ export type AddBusinessTimeOffResponse = GetListBusinessTimeOffResponse;
313
+ export type UpdateBusinessTimeOffResponse = GetListBusinessTimeOffResponse;
314
+ export type DeleteBusinessTimeOffResponse = null;
315
+ export type GetAppointmentCustomerHistoryReponse = Nullable<{
316
+ appointment: Appointment[];
317
+ checkin: CheckinAppointment[];
318
+ full_name: string;
319
+ lifetime_point: number;
320
+ phone: string;
321
+ total_appointment: number;
322
+ total_money: number;
323
+ visit_count: number;
324
+ }>;
325
+ type Appointment = Nullable<{
326
+ id: string;
327
+ created_at: string;
328
+ updated_at: string;
329
+ booker_name: string;
330
+ booker_contact: string;
331
+ customer_id: string;
332
+ employee_id: string;
333
+ service_id: string;
334
+ start_time: string;
335
+ end_time_expected: string;
336
+ end_time: string;
337
+ price_expected: string;
338
+ price_full: string;
339
+ discount: any;
340
+ price_final: string;
341
+ canceled: any;
342
+ cancellation_resion: any;
343
+ status: string;
344
+ flag: any;
345
+ note: string;
346
+ key: any;
347
+ staff_note: any;
348
+ user_ip: any;
349
+ parent_id: string;
350
+ referer: any;
351
+ is_auto_assign: string;
352
+ booker_email: any;
353
+ order_id: any;
354
+ checkin_id: any;
355
+ accept_consent_term: string;
356
+ custom_service: any;
357
+ extra_data: string;
358
+ service: ServiceAppointment;
359
+ }>;
360
+ type ServiceAppointment = Nullable<{
361
+ id: string;
362
+ name: string;
363
+ create_at: string;
364
+ type: any;
365
+ status: string;
366
+ group_id: any;
367
+ priority: any;
368
+ category_id: string;
369
+ onwer_id: any;
370
+ price: string;
371
+ note: string;
372
+ point_bonus: any;
373
+ duration: string;
374
+ buffer_time: any;
375
+ web_booking_visible: string;
376
+ supply_share: string;
377
+ show_on_checkin: string;
378
+ show_on_booking: string;
379
+ show_on_pos: string;
380
+ image_base_url: any;
381
+ image_path: any;
382
+ }>;
383
+ type CheckinAppointment = Nullable<{
384
+ id: number;
385
+ customer_id: number;
386
+ created_at: string;
387
+ update_at: string;
388
+ owner_id: number;
389
+ checkin_id: number;
390
+ status: string;
391
+ note: any;
392
+ total_price: string;
393
+ discount: number;
394
+ user_id: number;
395
+ point_bonus: number;
396
+ sms_sent: number;
397
+ order_id: number;
398
+ }>;
315
399
  export {};
316
400
  //# sourceMappingURL=appointment.d.ts.map