gap-nodejs-sdk 1.0.289 → 1.0.291

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 (185) 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 +1 -0
  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 +60 -0
  10. package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts +24 -21
  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 +87 -30
  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/models/key_storage.d.ts.map +1 -1
  75. package/dist/api/pos_client_api/1.0.0/models/key_storage.js +3 -2
  76. package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts +2 -2
  77. package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts.map +1 -1
  78. package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts +2 -2
  79. package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts.map +1 -1
  80. package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts +1 -1
  81. package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts.map +1 -1
  82. package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts +1 -1
  83. package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts.map +1 -1
  84. package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts +6 -6
  85. package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts.map +1 -1
  86. package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts +12 -12
  87. package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts.map +1 -1
  88. package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts +6 -6
  89. package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts.map +1 -1
  90. package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts +1 -1
  91. package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts.map +1 -1
  92. package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts +4 -4
  93. package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts.map +1 -1
  94. package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts +2 -2
  95. package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts.map +1 -1
  96. package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts +5 -5
  97. package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts.map +1 -1
  98. package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts +1 -1
  99. package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
  100. package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts +18 -18
  101. package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts.map +1 -1
  102. package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts +13 -13
  103. package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts.map +1 -1
  104. package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts +4 -4
  105. package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts.map +1 -1
  106. package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts +5 -5
  107. package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts.map +1 -1
  108. package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts +2 -2
  109. package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts.map +1 -1
  110. package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts +14 -14
  111. package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts.map +1 -1
  112. package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts +3 -3
  113. package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts.map +1 -1
  114. package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts +10 -10
  115. package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts.map +1 -1
  116. package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts +7 -7
  117. package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts.map +1 -1
  118. package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts +1 -1
  119. package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts.map +1 -1
  120. package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts +1 -1
  121. package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts.map +1 -1
  122. package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts +4 -4
  123. package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts.map +1 -1
  124. package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts +2 -2
  125. package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts.map +1 -1
  126. package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts +2 -2
  127. package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts.map +1 -1
  128. package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts +15 -15
  129. package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts.map +1 -1
  130. package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts +35 -35
  131. package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts.map +1 -1
  132. package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts +8 -8
  133. package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts.map +1 -1
  134. package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts +4 -4
  135. package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts.map +1 -1
  136. package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts +10 -10
  137. package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts.map +1 -1
  138. package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts +1 -1
  139. package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts.map +1 -1
  140. package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts +10 -10
  141. package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts.map +1 -1
  142. package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts +6 -5
  143. package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
  144. package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts +31 -31
  145. package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts.map +1 -1
  146. package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts +19 -19
  147. package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts.map +1 -1
  148. package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts +4 -4
  149. package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts.map +1 -1
  150. package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts +5 -5
  151. package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts.map +1 -1
  152. package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts +2 -2
  153. package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts.map +1 -1
  154. package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts +18 -18
  155. package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts.map +1 -1
  156. package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts +5 -5
  157. package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts.map +1 -1
  158. package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts +12 -12
  159. package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts.map +1 -1
  160. package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts +2 -2
  161. package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts.map +1 -1
  162. package/dist/api/settings_api/1.0.0/models/checkout.d.ts.map +1 -1
  163. package/dist/api/settings_api/1.0.0/models/checkout.js +3 -2
  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 +18 -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/gap-sdk.js +1 -1
  181. package/dist/http_client/types.d.ts +5 -5
  182. package/dist/http_client/types.d.ts.map +1 -1
  183. package/dist/types/meta.d.ts +2 -2
  184. package/dist/types/meta.d.ts.map +1 -1
  185. package/package.json +1 -1
@@ -10,6 +10,7 @@ export default class Appointment extends Base implements AppointmentAbstractClas
10
10
  static getAppointmentResourceList(data: Request.GetAppointmentResourceListRequest): Promise<Response.GetAppointmentResourceListResponse>;
11
11
  static searchAppointment(data: Request.SearchAppointmentRequest): Promise<DataWithMetaResponse<Response.SearchAppointmentReponse>>;
12
12
  static getAppointmentDetail(data: Request.GetAppointmentDetailRequest): Promise<Response.GetAppointmentDetailResponse>;
13
+ static getDepositDetail(data: Request.GetDepositDetailRequest): Promise<Response.GetDepositDetailResponse>;
13
14
  static changeAppointmentStatus(data: Request.ChangeAppointmentStatusRequest): Promise<Response.ChangeAppointmentStatusResponse>;
14
15
  static createAppointment(data: Request.CreateAppointmentRequest): Promise<Response.CreateAppointmentResponse>;
15
16
  static updateAppointment(data: Request.UpdateAppointmentRequest): Promise<Response.UpdateAppointmentResponse>;
@@ -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,2BAA2B,CAAC;AACjE,OAAO,IAAI,MAAM,uBAAuB,CAAC;AACzC,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;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AC;WAU/G,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC;WAUnG,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"}
@@ -54,6 +54,16 @@ export default class Appointment extends Base {
54
54
  return Model.AppointmentDetailModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
55
55
  });
56
56
  }
57
+ static getDepositDetail(data) {
58
+ var _a;
59
+ return __awaiter(this, void 0, void 0, function* () {
60
+ const response = yield this.client.get({
61
+ path: appointment.GET_DEPOSIT_DETAIL,
62
+ query: data
63
+ });
64
+ return Model.DepositDetailModel((_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data);
65
+ });
66
+ }
57
67
  static changeAppointmentStatus(data) {
58
68
  var _a;
59
69
  return __awaiter(this, void 0, void 0, function* () {
@@ -12,6 +12,7 @@ declare const _default: {
12
12
  DELETE_BUSINESS_TIME_OFF: string;
13
13
  SEARCH_APPOINTMENT: string;
14
14
  GET_APPOINTMENT_CUSTOMER_HISTORY: string;
15
+ GET_DEPOSIT_DETAIL: string;
15
16
  };
16
17
  export default _default;
17
18
  //# 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,wBAeC"}
1
+ {"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/endpoints/appointment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wBAgBC"}
@@ -13,4 +13,5 @@ export default {
13
13
  DELETE_BUSINESS_TIME_OFF: "/v1/appointment/appointment/business-time-off/delete",
14
14
  SEARCH_APPOINTMENT: "/v1/appointment/appointment/list/search",
15
15
  GET_APPOINTMENT_CUSTOMER_HISTORY: "v1/appointment/customer/list/history",
16
+ GET_DEPOSIT_DETAIL: "v1/appointment/deposit/site/detail",
16
17
  };
@@ -113,6 +113,7 @@ export declare function AppointmentResourceModel(data: any): {
113
113
  status: any;
114
114
  };
115
115
  export declare function AppointmentDetailModel(data: any): Response.GetAppointmentDetailResponse;
116
+ export declare function DepositDetailModel(data: any): Response.GetDepositDetailResponse;
116
117
  export declare function BusinessTimeOffModel(data: any): Response.GetListBusinessTimeOffResponse;
117
118
  export declare function AppointmentCustomerHistoryModel(data: any): Response.GetAppointmentCustomerHistoryReponse;
118
119
  //# 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;AAqFD,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,oCAAoC,CAWxG"}
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,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAAC,wBAAwB,CA0D/E;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"}
@@ -370,6 +370,66 @@ export function AppointmentDetailModel(data) {
370
370
  order_id: (_u = data === null || data === void 0 ? void 0 : data.order_id) !== null && _u !== void 0 ? _u : null,
371
371
  };
372
372
  }
373
+ export function DepositDetailModel(data) {
374
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56;
375
+ return {
376
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
377
+ external_deposit_id: (_b = data === null || data === void 0 ? void 0 : data.external_deposit_id) !== null && _b !== void 0 ? _b : null,
378
+ order_id: (_c = data === null || data === void 0 ? void 0 : data.order_id) !== null && _c !== void 0 ? _c : null,
379
+ appointment_id: (_d = data === null || data === void 0 ? void 0 : data.appointment_id) !== null && _d !== void 0 ? _d : null,
380
+ amount: (_e = data === null || data === void 0 ? void 0 : data.amount) !== null && _e !== void 0 ? _e : null,
381
+ currency: (_f = data === null || data === void 0 ? void 0 : data.currency) !== null && _f !== void 0 ? _f : null,
382
+ customer_email: (_g = data === null || data === void 0 ? void 0 : data.customer_email) !== null && _g !== void 0 ? _g : null,
383
+ customer_name: (_h = data === null || data === void 0 ? void 0 : data.customer_name) !== null && _h !== void 0 ? _h : null,
384
+ customer_phone: (_j = data === null || data === void 0 ? void 0 : data.customer_phone) !== null && _j !== void 0 ? _j : null,
385
+ data: (_k = data === null || data === void 0 ? void 0 : data.data) !== null && _k !== void 0 ? _k : null,
386
+ status: (_l = data === null || data === void 0 ? void 0 : data.status) !== null && _l !== void 0 ? _l : null,
387
+ linking_status: (_m = data === null || data === void 0 ? void 0 : data.linking_status) !== null && _m !== void 0 ? _m : null,
388
+ created_at: (_o = data === null || data === void 0 ? void 0 : data.created_at) !== null && _o !== void 0 ? _o : null,
389
+ updated_at: (_p = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _p !== void 0 ? _p : null,
390
+ detail_info: (_q = data === null || data === void 0 ? void 0 : data.detail_info) !== null && _q !== void 0 ? _q : null,
391
+ balance: (_r = data === null || data === void 0 ? void 0 : data.balance) !== null && _r !== void 0 ? _r : null,
392
+ type: (_s = data === null || data === void 0 ? void 0 : data.type) !== null && _s !== void 0 ? _s : null,
393
+ services: (_t = data === null || data === void 0 ? void 0 : data.services) !== null && _t !== void 0 ? _t : null,
394
+ staff: (_u = data === null || data === void 0 ? void 0 : data.staff) !== null && _u !== void 0 ? _u : null,
395
+ total_refund: (_v = data === null || data === void 0 ? void 0 : data.total_refund) !== null && _v !== void 0 ? _v : null,
396
+ customer: {
397
+ id: (_x = (_w = data === null || data === void 0 ? void 0 : data.customer) === null || _w === void 0 ? void 0 : _w.id) !== null && _x !== void 0 ? _x : null,
398
+ full_name: (_z = (_y = data === null || data === void 0 ? void 0 : data.customer) === null || _y === void 0 ? void 0 : _y.full_name) !== null && _z !== void 0 ? _z : null,
399
+ phone: (_1 = (_0 = data === null || data === void 0 ? void 0 : data.customer) === null || _0 === void 0 ? void 0 : _0.phone) !== null && _1 !== void 0 ? _1 : null,
400
+ email: (_3 = (_2 = data === null || data === void 0 ? void 0 : data.customer) === null || _2 === void 0 ? void 0 : _2.email) !== null && _3 !== void 0 ? _3 : null,
401
+ birthday: (_5 = (_4 = data === null || data === void 0 ? void 0 : data.customer) === null || _4 === void 0 ? void 0 : _4.birthday) !== null && _5 !== void 0 ? _5 : null,
402
+ visit_count: (_7 = (_6 = data === null || data === void 0 ? void 0 : data.customer) === null || _6 === void 0 ? void 0 : _6.visit_count) !== null && _7 !== void 0 ? _7 : null,
403
+ last_visited: (_9 = (_8 = data === null || data === void 0 ? void 0 : data.customer) === null || _8 === void 0 ? void 0 : _8.last_visited) !== null && _9 !== void 0 ? _9 : null,
404
+ create_at: (_11 = (_10 = data === null || data === void 0 ? void 0 : data.customer) === null || _10 === void 0 ? void 0 : _10.create_at) !== null && _11 !== void 0 ? _11 : null,
405
+ is_send_sms: (_13 = (_12 = data === null || data === void 0 ? void 0 : data.customer) === null || _12 === void 0 ? void 0 : _12.is_send_sms) !== null && _13 !== void 0 ? _13 : null,
406
+ note: (_15 = (_14 = data === null || data === void 0 ? void 0 : data.customer) === null || _14 === void 0 ? void 0 : _14.note) !== null && _15 !== void 0 ? _15 : null,
407
+ type: (_17 = (_16 = data === null || data === void 0 ? void 0 : data.customer) === null || _16 === void 0 ? void 0 : _16.type) !== null && _17 !== void 0 ? _17 : null,
408
+ lifetime_point: (_19 = (_18 = data === null || data === void 0 ? void 0 : data.customer) === null || _18 === void 0 ? void 0 : _18.lifetime_point) !== null && _19 !== void 0 ? _19 : null,
409
+ current_point: (_21 = (_20 = data === null || data === void 0 ? void 0 : data.customer) === null || _20 === void 0 ? void 0 : _20.current_point) !== null && _21 !== void 0 ? _21 : null,
410
+ groups: (_23 = (_22 = data === null || data === void 0 ? void 0 : data.customer) === null || _22 === void 0 ? void 0 : _22.groups) !== null && _23 !== void 0 ? _23 : null,
411
+ checkin_count: (_25 = (_24 = data === null || data === void 0 ? void 0 : data.customer) === null || _24 === void 0 ? void 0 : _24.checkin_count) !== null && _25 !== void 0 ? _25 : null,
412
+ is_blocked_from_booking: (_27 = (_26 = data === null || data === void 0 ? void 0 : data.customer) === null || _26 === void 0 ? void 0 : _26.is_blocked_from_booking) !== null && _27 !== void 0 ? _27 : null,
413
+ },
414
+ refunds: {
415
+ id: (_29 = (_28 = data === null || data === void 0 ? void 0 : data.refunds) === null || _28 === void 0 ? void 0 : _28.id) !== null && _29 !== void 0 ? _29 : null,
416
+ appointment_deposit_id: (_31 = (_30 = data === null || data === void 0 ? void 0 : data.refunds) === null || _30 === void 0 ? void 0 : _30.appointment_deposit_id) !== null && _31 !== void 0 ? _31 : null,
417
+ external_transaction_id: (_33 = (_32 = data === null || data === void 0 ? void 0 : data.refunds) === null || _32 === void 0 ? void 0 : _32.external_transaction_id) !== null && _33 !== void 0 ? _33 : null,
418
+ external_deposit_id: (_35 = (_34 = data === null || data === void 0 ? void 0 : data.refunds) === null || _34 === void 0 ? void 0 : _34.external_deposit_id) !== null && _35 !== void 0 ? _35 : null,
419
+ amount: (_37 = (_36 = data === null || data === void 0 ? void 0 : data.refunds) === null || _36 === void 0 ? void 0 : _36.amount) !== null && _37 !== void 0 ? _37 : null,
420
+ currency: (_39 = (_38 = data === null || data === void 0 ? void 0 : data.refunds) === null || _38 === void 0 ? void 0 : _38.currency) !== null && _39 !== void 0 ? _39 : null,
421
+ customer_email: (_41 = (_40 = data === null || data === void 0 ? void 0 : data.refunds) === null || _40 === void 0 ? void 0 : _40.customer_email) !== null && _41 !== void 0 ? _41 : null,
422
+ customer_name: (_43 = (_42 = data === null || data === void 0 ? void 0 : data.refunds) === null || _42 === void 0 ? void 0 : _42.customer_name) !== null && _43 !== void 0 ? _43 : null,
423
+ customer_phone: (_45 = (_44 = data === null || data === void 0 ? void 0 : data.refunds) === null || _44 === void 0 ? void 0 : _44.customer_phone) !== null && _45 !== void 0 ? _45 : null,
424
+ data: (_47 = (_46 = data === null || data === void 0 ? void 0 : data.refunds) === null || _46 === void 0 ? void 0 : _46.data) !== null && _47 !== void 0 ? _47 : null,
425
+ status: (_49 = (_48 = data === null || data === void 0 ? void 0 : data.refunds) === null || _48 === void 0 ? void 0 : _48.status) !== null && _49 !== void 0 ? _49 : null,
426
+ created_at: (_51 = (_50 = data === null || data === void 0 ? void 0 : data.refunds) === null || _50 === void 0 ? void 0 : _50.created_at) !== null && _51 !== void 0 ? _51 : null,
427
+ updated_at: (_53 = (_52 = data === null || data === void 0 ? void 0 : data.refunds) === null || _52 === void 0 ? void 0 : _52.updated_at) !== null && _53 !== void 0 ? _53 : null,
428
+ reason: (_55 = (_54 = data === null || data === void 0 ? void 0 : data.refunds) === null || _54 === void 0 ? void 0 : _54.reason) !== null && _55 !== void 0 ? _55 : null,
429
+ },
430
+ service_detail: (_56 = data === null || data === void 0 ? void 0 : data.service_detail) !== null && _56 !== void 0 ? _56 : null,
431
+ };
432
+ }
373
433
  export function BusinessTimeOffModel(data) {
374
434
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
375
435
  return {
@@ -1,22 +1,25 @@
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 GetDepositDetailRequest = {
16
+ id: number;
17
+ };
18
+ export type ChangeAppointmentStatusRequest = {
16
19
  id: number;
17
20
  status: 'scheduled' | 'confirmed' | 'done' | 'canceled';
18
21
  };
19
- export declare type CreateAppointmentRequest = {
22
+ export type CreateAppointmentRequest = {
20
23
  date: string;
21
24
  customer: Customer | null;
22
25
  booker: Booker | null;
@@ -24,44 +27,44 @@ export declare type CreateAppointmentRequest = {
24
27
  items: Item[];
25
28
  extra_data: ExtraData;
26
29
  };
27
- declare type Booker = Nullable<{
30
+ type Booker = Nullable<{
28
31
  booker_name: string;
29
32
  booker_phone: string;
30
33
  }>;
31
- declare type Customer = Nullable<{
34
+ type Customer = Nullable<{
32
35
  id: number;
33
36
  full_name: string;
34
37
  phone: string;
35
38
  }>;
36
- declare type Item = Nullable<{
39
+ type Item = Nullable<{
37
40
  duration: Duration;
38
41
  staff: Staff;
39
42
  start_time: StartTime;
40
43
  service: Service;
41
44
  }>;
42
- declare type Duration = Nullable<{
45
+ type Duration = Nullable<{
43
46
  text: string;
44
47
  value: number;
45
48
  }>;
46
- declare type Staff = Nullable<{
49
+ type Staff = Nullable<{
47
50
  user_id: number;
48
51
  }>;
49
- declare type StartTime = Nullable<{
52
+ type StartTime = Nullable<{
50
53
  value: number;
51
54
  text: string;
52
55
  }>;
53
- declare type Service = Nullable<{
56
+ type Service = Nullable<{
54
57
  id: number;
55
58
  name: string;
56
59
  duration: number;
57
60
  price: number;
58
61
  }>;
59
- declare type ExtraData = Nullable<{
62
+ type ExtraData = Nullable<{
60
63
  highlight: number;
61
64
  request: number;
62
65
  no_show: number;
63
66
  }>;
64
- export declare type UpdateAppointmentRequest = {
67
+ export type UpdateAppointmentRequest = {
65
68
  date: string;
66
69
  customer: Customer | null;
67
70
  booker: Booker | null;
@@ -71,7 +74,7 @@ export declare type UpdateAppointmentRequest = {
71
74
  appointment_base_id: number;
72
75
  status: string;
73
76
  };
74
- export declare type DragDropUpdateAppointmentRequest = {
77
+ export type DragDropUpdateAppointmentRequest = {
75
78
  event: {
76
79
  id: number;
77
80
  start: string;
@@ -79,13 +82,13 @@ export declare type DragDropUpdateAppointmentRequest = {
79
82
  };
80
83
  resource: string;
81
84
  };
82
- export declare type GetListBusinessTimeOffRequest = {
85
+ export type GetListBusinessTimeOffRequest = {
83
86
  filterType?: number;
84
87
  filterStaffId?: number;
85
88
  page?: number;
86
89
  'per-page'?: number;
87
90
  };
88
- export declare type AddBusinessTimeOffRequest = {
91
+ export type AddBusinessTimeOffRequest = {
89
92
  staff_id?: number;
90
93
  all_day: number;
91
94
  data: {
@@ -98,12 +101,12 @@ export declare type AddBusinessTimeOffRequest = {
98
101
  start_date: string;
99
102
  end_date: string;
100
103
  };
101
- export declare type UpdateBusinessTimeOffRequest = AddBusinessTimeOffRequest;
102
- export declare type DeleteBusinessTimeOffRequest = {
104
+ export type UpdateBusinessTimeOffRequest = AddBusinessTimeOffRequest;
105
+ export type DeleteBusinessTimeOffRequest = {
103
106
  id: number;
104
107
  type?: number;
105
108
  };
106
- export declare type GetAppointmentCustomerHistoryRequest = {
109
+ export type GetAppointmentCustomerHistoryRequest = {
107
110
  id: number;
108
111
  };
109
112
  export {};
@@ -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,CAAC;IACX,MAAM,EAAE,WAAW,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,CAAC;CAC3D,CAAA;AACD,oBAAY,wBAAwB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,MAAM,EAAE,MAAM,GAAG,I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
+ {"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,uBAAuB,GAAG;IAClC,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;IAClB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC,CAAA;AAEF,KAAK,IAAI,GAAG,QA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AAM,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,67 @@ 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 GetDepositDetailResponse = Nullable<{
259
+ id: number;
260
+ external_deposit_id: string;
261
+ order_id: any;
262
+ appointment_id: number;
263
+ amount: any;
264
+ currency: any;
265
+ customer_email: string;
266
+ customer_name: string;
267
+ customer_phone: string;
268
+ data: string;
269
+ status: string;
270
+ linking_status: string;
271
+ created_at: string;
272
+ updated_at: string;
273
+ detail_info: any;
274
+ balance: any;
275
+ type: any;
276
+ services: string[];
277
+ staff: string[];
278
+ total_refund: number;
279
+ customer: {
280
+ id: number;
281
+ full_name: string;
282
+ phone: string;
283
+ email: string;
284
+ birthday: any;
285
+ visit_count: number;
286
+ last_visited: string;
287
+ create_at: string;
288
+ is_send_sms: number;
289
+ note: string;
290
+ type: string;
291
+ lifetime_point: number;
292
+ current_point: number;
293
+ groups: any[];
294
+ checkin_count: string;
295
+ is_blocked_from_booking: any;
296
+ };
297
+ refunds: {
298
+ id: number;
299
+ appointment_deposit_id: number;
300
+ external_transaction_id: string;
301
+ external_deposit_id: string;
302
+ amount: number;
303
+ currency: any;
304
+ customer_email: string;
305
+ customer_name: string;
306
+ customer_phone: string;
307
+ data: string;
308
+ status: any;
309
+ created_at: string;
310
+ updated_at: string;
311
+ reason: any;
312
+ };
313
+ service_detail: any;
314
+ }>;
315
+ export type ChangeAppointmentStatusResponse = Nullable<string>;
316
+ export type CreateAppointmentResponse = Nullable<number>;
317
+ export type UpdateAppointmentResponse = Nullable<number>;
318
+ export type DragDropUpdateAppointmentResponse = Nullable<{
262
319
  id: number;
263
320
  created_at: string;
264
321
  updated_at: string;
@@ -292,7 +349,7 @@ export declare type DragDropUpdateAppointmentResponse = Nullable<{
292
349
  custom_service: any;
293
350
  extra_data: string;
294
351
  }>;
295
- export declare type GetListBusinessTimeOffResponse = Nullable<{
352
+ export type GetListBusinessTimeOffResponse = Nullable<{
296
353
  data: {
297
354
  recurring_type: string;
298
355
  recurring_end_date: string;
@@ -309,10 +366,10 @@ export declare type GetListBusinessTimeOffResponse = Nullable<{
309
366
  recurring: string;
310
367
  description: string;
311
368
  }>;
312
- export declare type AddBusinessTimeOffResponse = GetListBusinessTimeOffResponse;
313
- export declare type UpdateBusinessTimeOffResponse = GetListBusinessTimeOffResponse;
314
- export declare type DeleteBusinessTimeOffResponse = null;
315
- export declare type GetAppointmentCustomerHistoryReponse = Nullable<{
369
+ export type AddBusinessTimeOffResponse = GetListBusinessTimeOffResponse;
370
+ export type UpdateBusinessTimeOffResponse = GetListBusinessTimeOffResponse;
371
+ export type DeleteBusinessTimeOffResponse = null;
372
+ export type GetAppointmentCustomerHistoryReponse = Nullable<{
316
373
  appointment: Appointment[];
317
374
  checkin: CheckinAppointment[];
318
375
  full_name: string;
@@ -322,7 +379,7 @@ export declare type GetAppointmentCustomerHistoryReponse = Nullable<{
322
379
  total_money: number;
323
380
  visit_count: number;
324
381
  }>;
325
- declare type Appointment = Nullable<{
382
+ type Appointment = Nullable<{
326
383
  id: string;
327
384
  created_at: string;
328
385
  updated_at: string;
@@ -357,7 +414,7 @@ declare type Appointment = Nullable<{
357
414
  extra_data: string;
358
415
  service: ServiceAppointment;
359
416
  }>;
360
- declare type ServiceAppointment = Nullable<{
417
+ type ServiceAppointment = Nullable<{
361
418
  id: string;
362
419
  name: string;
363
420
  create_at: string;
@@ -380,7 +437,7 @@ declare type ServiceAppointment = Nullable<{
380
437
  image_base_url: any;
381
438
  image_path: any;
382
439
  }>;
383
- declare type CheckinAppointment = Nullable<{
440
+ type CheckinAppointment = Nullable<{
384
441
  id: number;
385
442
  customer_id: number;
386
443
  created_at: string;