gap-nodejs-sdk 1.0.211 → 1.0.212

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 (172) hide show
  1. package/dist/api/appointment_api/1.0.0/models/appointment.js +17 -17
  2. package/dist/api/appointment_api/1.0.0/models/pos.d.ts +18 -0
  3. package/dist/api/appointment_api/1.0.0/models/pos.d.ts.map +1 -1
  4. package/dist/api/appointment_api/1.0.0/models/pos.js +19 -1
  5. package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts +15 -15
  6. package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts.map +1 -1
  7. package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts +1 -1
  8. package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts.map +1 -1
  9. package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts +3 -3
  10. package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts.map +1 -1
  11. package/dist/api/appointment_api/1.0.0/types/request/service.d.ts +1 -1
  12. package/dist/api/appointment_api/1.0.0/types/request/service.d.ts.map +1 -1
  13. package/dist/api/appointment_api/1.0.0/types/request/settings.d.ts +2 -2
  14. package/dist/api/appointment_api/1.0.0/types/request/settings.d.ts.map +1 -1
  15. package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts +1 -1
  16. package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts.map +1 -1
  17. package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts +21 -21
  18. package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts.map +1 -1
  19. package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts +2 -2
  20. package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts.map +1 -1
  21. package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts +31 -13
  22. package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts.map +1 -1
  23. package/dist/api/appointment_api/1.0.0/types/response/service.d.ts +6 -6
  24. package/dist/api/appointment_api/1.0.0/types/response/service.d.ts.map +1 -1
  25. package/dist/api/appointment_api/1.0.0/types/response/settings.d.ts +2 -2
  26. package/dist/api/appointment_api/1.0.0/types/response/settings.d.ts.map +1 -1
  27. package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts +3 -3
  28. package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts.map +1 -1
  29. package/dist/api/base_api/1.0.0/types/request/auth.d.ts +3 -3
  30. package/dist/api/base_api/1.0.0/types/request/auth.d.ts.map +1 -1
  31. package/dist/api/base_api/1.0.0/types/response/auth.d.ts +6 -6
  32. package/dist/api/base_api/1.0.0/types/response/auth.d.ts.map +1 -1
  33. package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts +5 -5
  34. package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts.map +1 -1
  35. package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts +2 -2
  36. package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts.map +1 -1
  37. package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts +3 -3
  38. package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts.map +1 -1
  39. package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts +6 -6
  40. package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts.map +1 -1
  41. package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts +12 -12
  42. package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts.map +1 -1
  43. package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts +2 -2
  44. package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts.map +1 -1
  45. package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts +17 -17
  46. package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts.map +1 -1
  47. package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts +10 -10
  48. package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts.map +1 -1
  49. package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts +5 -5
  50. package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts.map +1 -1
  51. package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts +2 -2
  52. package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts.map +1 -1
  53. package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts +3 -3
  54. package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts.map +1 -1
  55. package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts +9 -9
  56. package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts.map +1 -1
  57. package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts +14 -14
  58. package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts.map +1 -1
  59. package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts +2 -2
  60. package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts.map +1 -1
  61. package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts +17 -17
  62. package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts.map +1 -1
  63. package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts +12 -12
  64. package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts.map +1 -1
  65. package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts +2 -2
  66. package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts.map +1 -1
  67. package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts +2 -2
  68. package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts.map +1 -1
  69. package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts +1 -1
  70. package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts.map +1 -1
  71. package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts +1 -1
  72. package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts.map +1 -1
  73. package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts +6 -6
  74. package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts.map +1 -1
  75. package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts +11 -11
  76. package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts.map +1 -1
  77. package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts +6 -6
  78. package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts.map +1 -1
  79. package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts +1 -1
  80. package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts.map +1 -1
  81. package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts +4 -4
  82. package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts.map +1 -1
  83. package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts +2 -2
  84. package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts.map +1 -1
  85. package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts +2 -2
  86. package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts.map +1 -1
  87. package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts +1 -1
  88. package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
  89. package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts +11 -11
  90. package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts.map +1 -1
  91. package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts +13 -13
  92. package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts.map +1 -1
  93. package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts +4 -4
  94. package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts.map +1 -1
  95. package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts +5 -5
  96. package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts.map +1 -1
  97. package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts +2 -2
  98. package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts.map +1 -1
  99. package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts +14 -14
  100. package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts.map +1 -1
  101. package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts +3 -3
  102. package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts.map +1 -1
  103. package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts +10 -10
  104. package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts.map +1 -1
  105. package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts +7 -7
  106. package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts.map +1 -1
  107. package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts +1 -1
  108. package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts.map +1 -1
  109. package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts +1 -1
  110. package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts.map +1 -1
  111. package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts +4 -4
  112. package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts.map +1 -1
  113. package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts +2 -2
  114. package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts.map +1 -1
  115. package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts +2 -2
  116. package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts.map +1 -1
  117. package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts +15 -15
  118. package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts.map +1 -1
  119. package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts +34 -34
  120. package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts.map +1 -1
  121. package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts +8 -8
  122. package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts.map +1 -1
  123. package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts +4 -4
  124. package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts.map +1 -1
  125. package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts +10 -10
  126. package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts.map +1 -1
  127. package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts +1 -1
  128. package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts.map +1 -1
  129. package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts +6 -6
  130. package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts.map +1 -1
  131. package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts +5 -5
  132. package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
  133. package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts +22 -22
  134. package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts.map +1 -1
  135. package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts +19 -19
  136. package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts.map +1 -1
  137. package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts +4 -4
  138. package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts.map +1 -1
  139. package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts +5 -5
  140. package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts.map +1 -1
  141. package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts +2 -2
  142. package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts.map +1 -1
  143. package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts +18 -18
  144. package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts.map +1 -1
  145. package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts +5 -5
  146. package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts.map +1 -1
  147. package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts +12 -12
  148. package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts.map +1 -1
  149. package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts +2 -2
  150. package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts.map +1 -1
  151. package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts +1 -1
  152. package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts.map +1 -1
  153. package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts +1 -1
  154. package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts.map +1 -1
  155. package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts +6 -6
  156. package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
  157. package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts +3 -3
  158. package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts.map +1 -1
  159. package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts +17 -17
  160. package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts.map +1 -1
  161. package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts +7 -7
  162. package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
  163. package/dist/api/user_api/1.0.0/types/request/auth.d.ts +1 -1
  164. package/dist/api/user_api/1.0.0/types/request/auth.d.ts.map +1 -1
  165. package/dist/api/user_api/1.0.0/types/response/auth.d.ts +1 -1
  166. package/dist/api/user_api/1.0.0/types/response/auth.d.ts.map +1 -1
  167. package/dist/gap-sdk.js +1 -1
  168. package/dist/http_client/types.d.ts +5 -5
  169. package/dist/http_client/types.d.ts.map +1 -1
  170. package/dist/types/meta.d.ts +2 -2
  171. package/dist/types/meta.d.ts.map +1 -1
  172. package/package.json +1 -1
@@ -91,25 +91,25 @@ function EmployeeListModel(data) {
91
91
  };
92
92
  }
93
93
  function EmployeeModel(data) {
94
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
94
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
95
95
  return {
96
- name: data === null || data === void 0 ? void 0 : data.name,
97
- code: data.code,
96
+ name: (_a = data === null || data === void 0 ? void 0 : data.name) !== null && _a !== void 0 ? _a : null,
97
+ code: (_b = data === null || data === void 0 ? void 0 : data.code) !== null && _b !== void 0 ? _b : null,
98
98
  working_hours: ((data === null || data === void 0 ? void 0 : data.working_hours) || []).map((item) => WorkingHourModel(item)),
99
- user_id: (_a = data === null || data === void 0 ? void 0 : data.user_id) !== null && _a !== void 0 ? _a : null,
100
- created_at: (_b = data === null || data === void 0 ? void 0 : data.created_at) !== null && _b !== void 0 ? _b : null,
101
- updated_at: (_c = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _c !== void 0 ? _c : null,
102
- color_code: (_d = data === null || data === void 0 ? void 0 : data.color_code) !== null && _d !== void 0 ? _d : null,
103
- image_url: (_e = data === null || data === void 0 ? void 0 : data.image_url) !== null && _e !== void 0 ? _e : null,
104
- delete_image_url: (_f = data === null || data === void 0 ? void 0 : data.delete_image_url) !== null && _f !== void 0 ? _f : null,
105
- priority: (_g = data === null || data === void 0 ? void 0 : data.priority) !== null && _g !== void 0 ? _g : null,
106
- commission_type: (_h = data === null || data === void 0 ? void 0 : data.commission_type) !== null && _h !== void 0 ? _h : null,
107
- turn_priority: (_j = data === null || data === void 0 ? void 0 : data.turn_priority) !== null && _j !== void 0 ? _j : null,
108
- last_turn_priority: (_k = data === null || data === void 0 ? void 0 : data.last_turn_priority) !== null && _k !== void 0 ? _k : null,
109
- phone: (_l = data === null || data === void 0 ? void 0 : data.phone) !== null && _l !== void 0 ? _l : null,
110
- address: (_m = data === null || data === void 0 ? void 0 : data.address) !== null && _m !== void 0 ? _m : null,
111
- nickname: (_o = data === null || data === void 0 ? void 0 : data.nickname) !== null && _o !== void 0 ? _o : null,
112
- priority_calendar: (_p = data === null || data === void 0 ? void 0 : data.priority_calendar) !== null && _p !== void 0 ? _p : null,
99
+ user_id: (_c = data === null || data === void 0 ? void 0 : data.user_id) !== null && _c !== void 0 ? _c : null,
100
+ created_at: (_d = data === null || data === void 0 ? void 0 : data.created_at) !== null && _d !== void 0 ? _d : null,
101
+ updated_at: (_e = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _e !== void 0 ? _e : null,
102
+ color_code: (_f = data === null || data === void 0 ? void 0 : data.color_code) !== null && _f !== void 0 ? _f : null,
103
+ image_url: (_g = data === null || data === void 0 ? void 0 : data.image_url) !== null && _g !== void 0 ? _g : null,
104
+ delete_image_url: (_h = data === null || data === void 0 ? void 0 : data.delete_image_url) !== null && _h !== void 0 ? _h : null,
105
+ priority: (_j = data === null || data === void 0 ? void 0 : data.priority) !== null && _j !== void 0 ? _j : null,
106
+ commission_type: (_k = data === null || data === void 0 ? void 0 : data.commission_type) !== null && _k !== void 0 ? _k : null,
107
+ turn_priority: (_l = data === null || data === void 0 ? void 0 : data.turn_priority) !== null && _l !== void 0 ? _l : null,
108
+ last_turn_priority: (_m = data === null || data === void 0 ? void 0 : data.last_turn_priority) !== null && _m !== void 0 ? _m : null,
109
+ phone: (_o = data === null || data === void 0 ? void 0 : data.phone) !== null && _o !== void 0 ? _o : null,
110
+ address: (_p = data === null || data === void 0 ? void 0 : data.address) !== null && _p !== void 0 ? _p : null,
111
+ nickname: (_q = data === null || data === void 0 ? void 0 : data.nickname) !== null && _q !== void 0 ? _q : null,
112
+ priority_calendar: (_r = data === null || data === void 0 ? void 0 : data.priority_calendar) !== null && _r !== void 0 ? _r : null,
113
113
  };
114
114
  }
115
115
  function WorkingHourModel(data) {
@@ -289,5 +289,23 @@ export declare function GetAppointmentListModel(data: any): {
289
289
  status: any;
290
290
  extra_data: any;
291
291
  flag: any;
292
+ employee: {
293
+ user_id: any;
294
+ name: any;
295
+ code: any;
296
+ created_at: any;
297
+ updated_at: any;
298
+ color_code: any;
299
+ image_url: any;
300
+ delete_image_url: any;
301
+ priority: any;
302
+ commission_type: any;
303
+ turn_priority: any;
304
+ last_turn_priority: any;
305
+ phone: any;
306
+ address: any;
307
+ nickname: any;
308
+ priority_calendar: any;
309
+ };
292
310
  };
293
311
  //# sourceMappingURL=pos.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pos.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/models/pos.ts"],"names":[],"mappings":"AAyOA,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBtC;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkFzC;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBhD"}
1
+ {"version":3,"file":"pos.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/models/pos.ts"],"names":[],"mappings":"AAyOA,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBtC;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkFzC;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuChD"}
@@ -334,7 +334,7 @@ export function CreateOrderModel(data) {
334
334
  };
335
335
  }
336
336
  export function GetAppointmentListModel(data) {
337
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
337
+ 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;
338
338
  return {
339
339
  id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
340
340
  resourceId: (_b = data === null || data === void 0 ? void 0 : data.resourceId) !== null && _b !== void 0 ? _b : null,
@@ -354,5 +354,23 @@ export function GetAppointmentListModel(data) {
354
354
  status: (_q = data === null || data === void 0 ? void 0 : data.status) !== null && _q !== void 0 ? _q : null,
355
355
  extra_data: (_r = data === null || data === void 0 ? void 0 : data.extra_data) !== null && _r !== void 0 ? _r : null,
356
356
  flag: (_s = data === null || data === void 0 ? void 0 : data.flag) !== null && _s !== void 0 ? _s : null,
357
+ employee: {
358
+ user_id: (_u = (_t = data === null || data === void 0 ? void 0 : data.employee) === null || _t === void 0 ? void 0 : _t.user_id) !== null && _u !== void 0 ? _u : null,
359
+ name: (_w = (_v = data === null || data === void 0 ? void 0 : data.employee) === null || _v === void 0 ? void 0 : _v.name) !== null && _w !== void 0 ? _w : null,
360
+ code: (_y = (_x = data === null || data === void 0 ? void 0 : data.employee) === null || _x === void 0 ? void 0 : _x.code) !== null && _y !== void 0 ? _y : null,
361
+ created_at: (_0 = (_z = data === null || data === void 0 ? void 0 : data.employee) === null || _z === void 0 ? void 0 : _z.created_at) !== null && _0 !== void 0 ? _0 : null,
362
+ updated_at: (_2 = (_1 = data === null || data === void 0 ? void 0 : data.employee) === null || _1 === void 0 ? void 0 : _1.updated_at) !== null && _2 !== void 0 ? _2 : null,
363
+ color_code: (_4 = (_3 = data === null || data === void 0 ? void 0 : data.employee) === null || _3 === void 0 ? void 0 : _3.color_code) !== null && _4 !== void 0 ? _4 : null,
364
+ image_url: (_6 = (_5 = data === null || data === void 0 ? void 0 : data.employee) === null || _5 === void 0 ? void 0 : _5.image_url) !== null && _6 !== void 0 ? _6 : null,
365
+ delete_image_url: (_8 = (_7 = data === null || data === void 0 ? void 0 : data.employee) === null || _7 === void 0 ? void 0 : _7.delete_image_url) !== null && _8 !== void 0 ? _8 : null,
366
+ priority: (_10 = (_9 = data === null || data === void 0 ? void 0 : data.employee) === null || _9 === void 0 ? void 0 : _9.priority) !== null && _10 !== void 0 ? _10 : null,
367
+ commission_type: (_12 = (_11 = data === null || data === void 0 ? void 0 : data.employee) === null || _11 === void 0 ? void 0 : _11.commission_type) !== null && _12 !== void 0 ? _12 : null,
368
+ turn_priority: (_14 = (_13 = data === null || data === void 0 ? void 0 : data.employee) === null || _13 === void 0 ? void 0 : _13.turn_priority) !== null && _14 !== void 0 ? _14 : null,
369
+ last_turn_priority: (_16 = (_15 = data === null || data === void 0 ? void 0 : data.employee) === null || _15 === void 0 ? void 0 : _15.last_turn_priority) !== null && _16 !== void 0 ? _16 : null,
370
+ phone: (_18 = (_17 = data === null || data === void 0 ? void 0 : data.employee) === null || _17 === void 0 ? void 0 : _17.phone) !== null && _18 !== void 0 ? _18 : null,
371
+ address: (_20 = (_19 = data === null || data === void 0 ? void 0 : data.employee) === null || _19 === void 0 ? void 0 : _19.address) !== null && _20 !== void 0 ? _20 : null,
372
+ nickname: (_22 = (_21 = data === null || data === void 0 ? void 0 : data.employee) === null || _21 === void 0 ? void 0 : _21.nickname) !== null && _22 !== void 0 ? _22 : null,
373
+ priority_calendar: (_24 = (_23 = data === null || data === void 0 ? void 0 : data.employee) === null || _23 === void 0 ? void 0 : _23.priority_calendar) !== null && _24 !== void 0 ? _24 : null,
374
+ }
357
375
  };
358
376
  }
@@ -1,19 +1,19 @@
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 GetAppointmentDetailRequest = {
9
+ export type GetAppointmentDetailRequest = {
10
10
  id: number;
11
11
  };
12
- export declare type ChangeAppointmentStatusRequest = {
12
+ export type ChangeAppointmentStatusRequest = {
13
13
  id: number;
14
14
  status: 'scheduled' | 'confirmed' | 'done' | 'canceled';
15
15
  };
16
- export declare type CreateAppointmentRequest = {
16
+ export type CreateAppointmentRequest = {
17
17
  date: string;
18
18
  customer: Customer | null;
19
19
  booker: Booker | null;
@@ -21,44 +21,44 @@ export declare type CreateAppointmentRequest = {
21
21
  items: Item[];
22
22
  extra_data: ExtraData;
23
23
  };
24
- declare type Booker = Nullable<{
24
+ type Booker = Nullable<{
25
25
  booker_name: string;
26
26
  booker_phone: string;
27
27
  }>;
28
- declare type Customer = Nullable<{
28
+ type Customer = Nullable<{
29
29
  id: number;
30
30
  full_name: string;
31
31
  phone: string;
32
32
  }>;
33
- declare type Item = Nullable<{
33
+ type Item = Nullable<{
34
34
  duration: Duration;
35
35
  staff: Staff;
36
36
  start_time: StartTime;
37
37
  service: Service;
38
38
  }>;
39
- declare type Duration = Nullable<{
39
+ type Duration = Nullable<{
40
40
  text: string;
41
41
  value: number;
42
42
  }>;
43
- declare type Staff = Nullable<{
43
+ type Staff = Nullable<{
44
44
  user_id: number;
45
45
  }>;
46
- declare type StartTime = Nullable<{
46
+ type StartTime = Nullable<{
47
47
  value: number;
48
48
  text: string;
49
49
  }>;
50
- declare type Service = Nullable<{
50
+ type Service = Nullable<{
51
51
  id: number;
52
52
  name: string;
53
53
  duration: number;
54
54
  price: number;
55
55
  }>;
56
- declare type ExtraData = Nullable<{
56
+ type ExtraData = Nullable<{
57
57
  highlight: number;
58
58
  request: number;
59
59
  no_show: number;
60
60
  }>;
61
- export declare type UpdateAppointmentRequest = {
61
+ export type UpdateAppointmentRequest = {
62
62
  date: string;
63
63
  customer: Customer | null;
64
64
  booker: Booker | null;
@@ -68,7 +68,7 @@ export declare type UpdateAppointmentRequest = {
68
68
  appointment_base_id: number;
69
69
  status: string;
70
70
  };
71
- export declare type DragDropUpdateAppointmentRequest = {
71
+ export type DragDropUpdateAppointmentRequest = {
72
72
  event: {
73
73
  id: number;
74
74
  start: string;
@@ -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,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,IAAI,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,UAAU,EAAE,SAAS,CAAC;CACzB,CAAA;AACD,aAAK,MAAM,GAAG,QAAQ,CAAC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I,EAAE,CAAC;IACd,UAAU,EAAE,SAAS,CAAC;IACtB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;CAClB,CAAA;AAED,oBAAY,gCAAgC,GAAG;IAC3C,KAAK,EAAE;QACH,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;KACf,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC;CACpB,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,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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AAM,EAAE,MAAM,CAAC;CAClB,CAAA;AAED,MAAM,MAAM,gCAAgC,GAAG;IAC3C,KAAK,EAAE;QACH,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;KACf,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC;CACpB,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,19 +101,19 @@ 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;
108
108
  color_code: string;
109
109
  businessHours: BusinessHour[];
110
110
  }[]>;
111
- declare type BusinessHour = Nullable<{
111
+ type BusinessHour = Nullable<{
112
112
  daysOfWeek: number[];
113
113
  startTime: string;
114
114
  endTime: string;
115
115
  }>;
116
- export declare type GetAppointmentDetailResponse = Nullable<{
116
+ export type GetAppointmentDetailResponse = Nullable<{
117
117
  id: number;
118
118
  start_time: string;
119
119
  end_time: string;
@@ -139,14 +139,14 @@ export declare type GetAppointmentDetailResponse = Nullable<{
139
139
  custom_service: any;
140
140
  extra_data: string;
141
141
  }>;
142
- declare type Duration = Nullable<{
142
+ type Duration = Nullable<{
143
143
  text: string;
144
144
  value: number;
145
145
  }>;
146
- declare type EmployeeList = Nullable<{
146
+ type EmployeeList = Nullable<{
147
147
  employee: Employee;
148
148
  }>;
149
- declare type Employee = Nullable<{
149
+ type Employee = Nullable<{
150
150
  name: string;
151
151
  code: number;
152
152
  working_hours: WorkingHour[];
@@ -165,7 +165,7 @@ declare type Employee = Nullable<{
165
165
  nickname: string;
166
166
  priority_calendar: number;
167
167
  }>;
168
- declare type WorkingHour = Nullable<{
168
+ type WorkingHour = Nullable<{
169
169
  id: number;
170
170
  employee_id: number;
171
171
  working_day: string;
@@ -178,7 +178,7 @@ declare type WorkingHour = Nullable<{
178
178
  su: string;
179
179
  is_active: number;
180
180
  }>;
181
- declare type Checkin = Nullable<{
181
+ type Checkin = Nullable<{
182
182
  id: number;
183
183
  customer_id: number;
184
184
  create_at: string;
@@ -200,7 +200,7 @@ declare type Checkin = Nullable<{
200
200
  products: any[];
201
201
  groups: Group[];
202
202
  }>;
203
- declare type CustomerCheckinService = Nullable<{
203
+ type CustomerCheckinService = Nullable<{
204
204
  id: number;
205
205
  checkin_id: number;
206
206
  service_id: number;
@@ -211,13 +211,13 @@ declare type CustomerCheckinService = Nullable<{
211
211
  staff: any;
212
212
  service: Service;
213
213
  }>;
214
- declare type Group = Nullable<{
214
+ type Group = Nullable<{
215
215
  id: number;
216
216
  name: string;
217
217
  description: any;
218
218
  status: string;
219
219
  }>;
220
- declare type History = Nullable<{
220
+ type History = Nullable<{
221
221
  id: number;
222
222
  appointment_id: number;
223
223
  customer_id: number;
@@ -228,14 +228,14 @@ declare type History = Nullable<{
228
228
  data: any;
229
229
  created_at: string;
230
230
  }>;
231
- declare type CustomerPoint = Nullable<{
231
+ type CustomerPoint = Nullable<{
232
232
  customer_id: number;
233
233
  point: number;
234
234
  created_at: any;
235
235
  update_at: any;
236
236
  lifetime_point: number;
237
237
  }>;
238
- declare type CheckOut = Nullable<{
238
+ type CheckOut = Nullable<{
239
239
  id: number;
240
240
  customer_id: number;
241
241
  created_at: string;
@@ -251,10 +251,10 @@ declare type CheckOut = Nullable<{
251
251
  sms_sent: number;
252
252
  order_id: number;
253
253
  }>;
254
- export declare type ChangeAppointmentStatusResponse = Nullable<string>;
255
- export declare type CreateAppointmentResponse = Nullable<number>;
256
- export declare type UpdateAppointmentResponse = Nullable<number>;
257
- export declare type DragDropUpdateAppointmentResponse = Nullable<{
254
+ export type ChangeAppointmentStatusResponse = Nullable<string>;
255
+ export type CreateAppointmentResponse = Nullable<number>;
256
+ export type UpdateAppointmentResponse = Nullable<number>;
257
+ export type DragDropUpdateAppointmentResponse = Nullable<{
258
258
  id: number;
259
259
  created_at: string;
260
260
  updated_at: string;
@@ -1 +1 @@
1
- {"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_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AS,EAAE,GAAG,CAAA;IACd,OAAO,EAAE,GAAG,CAAA;IACZ,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,EAAE,GAAG,CAAA;IACjB,QAAQ,EAAE,GAAG,CAAA;IACb,UAAU,EAAE,GAAG,CAAA;IACf,mBAAmB,EAAE,MAAM,CAAA;IAC3B,cAAc,EAAE,GAAG,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;CACrB,CAAC,CAAA"}
1
+ {"version":3,"file":"appointment.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/response/appointment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,sCAAsC,GAAG,QAAQ,CAAC;IAC1D,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,MAAM,CAAA;IACvB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,OAAO,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,UAAU,EAAE,GAAG,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,QAAQ,CAAA;IAClB,KAAK,EAAE,KAAK,CAAA;IACZ,QAAQ,EAAE,OAAO,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,GAAG,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;CACrB,EAAE,CAAC,CAAA;AAEJ,KAAK,QAAQ,GAAG,QAAQ,CAAC;IACrB,EAAE,EAAE,MAAM,C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AAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,GAAG,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,GAAG,CAAA;IACb,mBAAmB,EAAE,GAAG,CAAA;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,GAAG,CAAA;IACT,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,GAAG,CAAA;IACf,OAAO,EAAE,GAAG,CAAA;IACZ,SAAS,EAAE,GAAG,CAAA;IACd,OAAO,EAAE,GAAG,CAAA;IACZ,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,EAAE,GAAG,CAAA;IACjB,QAAQ,EAAE,GAAG,CAAA;IACb,UAAU,EAAE,GAAG,CAAA;IACf,mBAAmB,EAAE,MAAM,CAAA;IAC3B,cAAc,EAAE,GAAG,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;CACrB,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { Nullable } from "../../../../../base_type";
2
- export declare type GetAppointmentCustomerListResponse = Nullable<{
2
+ export type GetAppointmentCustomerListResponse = Nullable<{
3
3
  id: number;
4
4
  full_name: string;
5
5
  phone: string;
@@ -16,7 +16,7 @@ export declare type GetAppointmentCustomerListResponse = Nullable<{
16
16
  groups: Group[];
17
17
  checkin_count: string;
18
18
  }>;
19
- declare type Group = Nullable<{
19
+ type Group = Nullable<{
20
20
  group_id: number;
21
21
  }>;
22
22
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/response/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,oBAAY,kCAAkC,GAAG,QAAQ,CAAC;IACtD,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;CACxB,CAAC,CAAA;AAEF,aAAK,KAAK,GAAG,QAAQ,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA"}
1
+ {"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/response/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,kCAAkC,GAAG,QAAQ,CAAC;IACtD,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;CACxB,CAAC,CAAA;AAEF,KAAK,KAAK,GAAG,QAAQ,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { Nullable } from "../../../../../base_type";
2
- export declare type GetWaitListResponse = Nullable<{
2
+ export type GetWaitListResponse = Nullable<{
3
3
  id: number;
4
4
  customer_id: number;
5
5
  create_at: string;
@@ -14,13 +14,13 @@ export declare type GetWaitListResponse = Nullable<{
14
14
  appointment: any;
15
15
  customer: Customer;
16
16
  }[]>;
17
- declare type Service = Nullable<{
17
+ type Service = Nullable<{
18
18
  id: number;
19
19
  name: string;
20
20
  price: number;
21
21
  duration: number;
22
22
  }>;
23
- declare type Order = Nullable<{
23
+ type Order = Nullable<{
24
24
  id: number;
25
25
  customer_id: number;
26
26
  customer_name: string;
@@ -67,7 +67,7 @@ declare type Order = Nullable<{
67
67
  qr_code: any;
68
68
  in_service: any;
69
69
  }>;
70
- declare type Customer = Nullable<{
70
+ type Customer = Nullable<{
71
71
  id: number;
72
72
  first_name: any;
73
73
  last_name: any;
@@ -100,7 +100,7 @@ declare type Customer = Nullable<{
100
100
  is_import: number;
101
101
  is_checked_in: number;
102
102
  }>;
103
- export declare type CreateOrderResponse = Nullable<{
103
+ export type CreateOrderResponse = Nullable<{
104
104
  id: number;
105
105
  customer_id: number;
106
106
  customer_name: string;
@@ -181,7 +181,7 @@ export declare type CreateOrderResponse = Nullable<{
181
181
  checkin_number: number;
182
182
  appointment_id: number;
183
183
  }>;
184
- declare type OrderCustomer = Nullable<{
184
+ type OrderCustomer = Nullable<{
185
185
  id: number;
186
186
  first_name: any;
187
187
  last_name: any;
@@ -219,7 +219,7 @@ declare type OrderCustomer = Nullable<{
219
219
  last_review: any;
220
220
  review_type: string;
221
221
  }>;
222
- declare type OrderItem = Nullable<{
222
+ type OrderItem = Nullable<{
223
223
  item_variant: any[];
224
224
  item_modifier: any[];
225
225
  id: number;
@@ -243,7 +243,7 @@ declare type OrderItem = Nullable<{
243
243
  sub_total: number;
244
244
  items: Item[];
245
245
  }>;
246
- declare type Item = Nullable<{
246
+ type Item = Nullable<{
247
247
  id: number;
248
248
  item_type: number;
249
249
  item_id: number;
@@ -258,12 +258,12 @@ declare type Item = Nullable<{
258
258
  additional_data: any;
259
259
  giftcard_data: any;
260
260
  }>;
261
- declare type OrderService = Nullable<{
261
+ type OrderService = Nullable<{
262
262
  staff_id: number;
263
263
  staff_name: string;
264
264
  items: Item2[];
265
265
  }>;
266
- declare type Item2 = Nullable<{
266
+ type Item2 = Nullable<{
267
267
  item_name: string;
268
268
  quantity: number;
269
269
  note: any;
@@ -277,12 +277,12 @@ declare type Item2 = Nullable<{
277
277
  commission: number;
278
278
  cash_discount: number;
279
279
  }>;
280
- declare type Staff = Nullable<{
280
+ type Staff = Nullable<{
281
281
  employee_name: string;
282
282
  employee_image: any;
283
283
  employee_color: string;
284
284
  }>;
285
- declare type OrderBatch = Nullable<{
285
+ type OrderBatch = Nullable<{
286
286
  card_amount: number;
287
287
  cash_amount: number;
288
288
  check_amount: number;
@@ -298,7 +298,7 @@ declare type OrderBatch = Nullable<{
298
298
  cash_discount: number;
299
299
  change: number;
300
300
  }>;
301
- export declare type GetAppointmentListResponse = Nullable<{
301
+ export type GetAppointmentListResponse = Nullable<{
302
302
  id: number;
303
303
  resourceId: number;
304
304
  backgroundColor: string;
@@ -317,6 +317,24 @@ export declare type GetAppointmentListResponse = Nullable<{
317
317
  status: string;
318
318
  extra_data: JSON;
319
319
  flag: string;
320
+ employee: {
321
+ user_id: number;
322
+ name: string;
323
+ code: number;
324
+ created_at: string;
325
+ updated_at: any;
326
+ color_code: any;
327
+ image_url: any;
328
+ delete_image_url: any;
329
+ priority: number;
330
+ commission_type: string;
331
+ turn_priority: number;
332
+ last_turn_priority: number;
333
+ phone: string;
334
+ address: string;
335
+ nickname: string;
336
+ priority_calendar: any;
337
+ };
320
338
  }[]>;
321
339
  export {};
322
340
  //# sourceMappingURL=pos.d.ts.map