gap-nodejs-sdk 1.0.159 → 1.0.161

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 (112) hide show
  1. package/dist/api/appointment_api/1.0.0/api/appointment.d.ts +17 -0
  2. package/dist/api/appointment_api/1.0.0/api/appointment.d.ts.map +1 -0
  3. package/dist/api/appointment_api/1.0.0/api/appointment.js +88 -0
  4. package/dist/api/appointment_api/1.0.0/api/customer.d.ts +11 -0
  5. package/dist/api/appointment_api/1.0.0/api/customer.d.ts.map +1 -0
  6. package/dist/api/appointment_api/1.0.0/api/customer.js +18 -0
  7. package/dist/api/appointment_api/1.0.0/api/index.d.ts +5 -0
  8. package/dist/api/appointment_api/1.0.0/api/index.d.ts.map +1 -1
  9. package/dist/api/appointment_api/1.0.0/api/index.js +5 -0
  10. package/dist/api/appointment_api/1.0.0/api/pos.d.ts +11 -0
  11. package/dist/api/appointment_api/1.0.0/api/pos.d.ts.map +1 -0
  12. package/dist/api/appointment_api/1.0.0/api/pos.js +28 -0
  13. package/dist/api/appointment_api/1.0.0/api/service.d.ts +11 -0
  14. package/dist/api/appointment_api/1.0.0/api/service.d.ts.map +1 -0
  15. package/dist/api/appointment_api/1.0.0/api/service.js +18 -0
  16. package/dist/api/appointment_api/1.0.0/api/staff.d.ts +10 -0
  17. package/dist/api/appointment_api/1.0.0/api/staff.d.ts.map +1 -0
  18. package/dist/api/appointment_api/1.0.0/api/staff.js +18 -0
  19. package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts +12 -0
  20. package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts.map +1 -0
  21. package/dist/api/appointment_api/1.0.0/endpoints/appointment.js +10 -0
  22. package/dist/api/appointment_api/1.0.0/endpoints/customer.d.ts +5 -0
  23. package/dist/api/appointment_api/1.0.0/endpoints/customer.d.ts.map +1 -0
  24. package/dist/api/appointment_api/1.0.0/endpoints/customer.js +3 -0
  25. package/dist/api/appointment_api/1.0.0/endpoints/index.d.ts +5 -0
  26. package/dist/api/appointment_api/1.0.0/endpoints/index.d.ts.map +1 -1
  27. package/dist/api/appointment_api/1.0.0/endpoints/index.js +5 -0
  28. package/dist/api/appointment_api/1.0.0/endpoints/pos.d.ts +6 -0
  29. package/dist/api/appointment_api/1.0.0/endpoints/pos.d.ts.map +1 -0
  30. package/dist/api/appointment_api/1.0.0/endpoints/pos.js +4 -0
  31. package/dist/api/appointment_api/1.0.0/endpoints/service.d.ts +5 -0
  32. package/dist/api/appointment_api/1.0.0/endpoints/service.d.ts.map +1 -0
  33. package/dist/api/appointment_api/1.0.0/endpoints/service.js +3 -0
  34. package/dist/api/appointment_api/1.0.0/endpoints/staff.d.ts +5 -0
  35. package/dist/api/appointment_api/1.0.0/endpoints/staff.d.ts.map +1 -0
  36. package/dist/api/appointment_api/1.0.0/endpoints/staff.js +3 -0
  37. package/dist/api/appointment_api/1.0.0/interfaces/appointment.d.ts +3 -0
  38. package/dist/api/appointment_api/1.0.0/interfaces/appointment.d.ts.map +1 -0
  39. package/dist/api/appointment_api/1.0.0/interfaces/appointment.js +2 -0
  40. package/dist/api/appointment_api/1.0.0/interfaces/customer.d.ts +3 -0
  41. package/dist/api/appointment_api/1.0.0/interfaces/customer.d.ts.map +1 -0
  42. package/dist/api/appointment_api/1.0.0/interfaces/customer.js +2 -0
  43. package/dist/api/appointment_api/1.0.0/interfaces/pos.d.ts +3 -0
  44. package/dist/api/appointment_api/1.0.0/interfaces/pos.d.ts.map +1 -0
  45. package/dist/api/appointment_api/1.0.0/interfaces/pos.js +2 -0
  46. package/dist/api/appointment_api/1.0.0/interfaces/service.d.ts +3 -0
  47. package/dist/api/appointment_api/1.0.0/interfaces/service.d.ts.map +1 -0
  48. package/dist/api/appointment_api/1.0.0/interfaces/service.js +2 -0
  49. package/dist/api/appointment_api/1.0.0/interfaces/staff.d.ts +3 -0
  50. package/dist/api/appointment_api/1.0.0/interfaces/staff.d.ts.map +1 -0
  51. package/dist/api/appointment_api/1.0.0/interfaces/staff.js +2 -0
  52. package/dist/api/appointment_api/1.0.0/models/appointment.d.ts +209 -0
  53. package/dist/api/appointment_api/1.0.0/models/appointment.d.ts.map +1 -0
  54. package/dist/api/appointment_api/1.0.0/models/appointment.js +366 -0
  55. package/dist/api/appointment_api/1.0.0/models/customer.d.ts +18 -0
  56. package/dist/api/appointment_api/1.0.0/models/customer.d.ts.map +1 -0
  57. package/dist/api/appointment_api/1.0.0/models/customer.js +20 -0
  58. package/dist/api/appointment_api/1.0.0/models/index.d.ts +5 -0
  59. package/dist/api/appointment_api/1.0.0/models/index.d.ts.map +1 -1
  60. package/dist/api/appointment_api/1.0.0/models/index.js +5 -0
  61. package/dist/api/appointment_api/1.0.0/models/pos.d.ts +227 -0
  62. package/dist/api/appointment_api/1.0.0/models/pos.d.ts.map +1 -0
  63. package/dist/api/appointment_api/1.0.0/models/pos.js +335 -0
  64. package/dist/api/appointment_api/1.0.0/models/service.d.ts +28 -0
  65. package/dist/api/appointment_api/1.0.0/models/service.d.ts.map +1 -0
  66. package/dist/api/appointment_api/1.0.0/models/service.js +75 -0
  67. package/dist/api/appointment_api/1.0.0/models/staff.d.ts +11 -0
  68. package/dist/api/appointment_api/1.0.0/models/staff.d.ts.map +1 -0
  69. package/dist/api/appointment_api/1.0.0/models/staff.js +39 -0
  70. package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts +84 -0
  71. package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts.map +1 -0
  72. package/dist/api/appointment_api/1.0.0/types/request/appointment.js +1 -0
  73. package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts +5 -0
  74. package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts.map +1 -0
  75. package/dist/api/appointment_api/1.0.0/types/request/customer.js +1 -0
  76. package/dist/api/appointment_api/1.0.0/types/request/index.d.ts +5 -0
  77. package/dist/api/appointment_api/1.0.0/types/request/index.d.ts.map +1 -1
  78. package/dist/api/appointment_api/1.0.0/types/request/index.js +5 -0
  79. package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts +7 -0
  80. package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts.map +1 -0
  81. package/dist/api/appointment_api/1.0.0/types/request/pos.js +1 -0
  82. package/dist/api/appointment_api/1.0.0/types/request/service.d.ts +2 -0
  83. package/dist/api/appointment_api/1.0.0/types/request/service.d.ts.map +1 -0
  84. package/dist/api/appointment_api/1.0.0/types/request/service.js +1 -0
  85. package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts +2 -0
  86. package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts.map +1 -0
  87. package/dist/api/appointment_api/1.0.0/types/request/staff.js +1 -0
  88. package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts +293 -0
  89. package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts.map +1 -0
  90. package/dist/api/appointment_api/1.0.0/types/response/appointment.js +1 -0
  91. package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts +23 -0
  92. package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts.map +1 -0
  93. package/dist/api/appointment_api/1.0.0/types/response/customer.js +1 -0
  94. package/dist/api/appointment_api/1.0.0/types/response/index.d.ts +5 -0
  95. package/dist/api/appointment_api/1.0.0/types/response/index.d.ts.map +1 -1
  96. package/dist/api/appointment_api/1.0.0/types/response/index.js +5 -0
  97. package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts +302 -0
  98. package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts.map +1 -0
  99. package/dist/api/appointment_api/1.0.0/types/response/pos.js +1 -0
  100. package/dist/api/appointment_api/1.0.0/types/response/service.d.ts +61 -0
  101. package/dist/api/appointment_api/1.0.0/types/response/service.d.ts.map +1 -0
  102. package/dist/api/appointment_api/1.0.0/types/response/service.js +1 -0
  103. package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts +33 -0
  104. package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts.map +1 -0
  105. package/dist/api/appointment_api/1.0.0/types/response/staff.js +1 -0
  106. package/dist/api/appointment_api/index.d.ts +5 -0
  107. package/dist/api/appointment_api/index.d.ts.map +1 -1
  108. package/dist/api/appointment_api/index.js +5 -0
  109. package/dist/gap-sdk.js +1 -1
  110. package/dist/http_client/http_client.d.ts.map +1 -1
  111. package/dist/http_client/http_client.js +69 -34
  112. package/package.json +1 -1
@@ -0,0 +1,75 @@
1
+ export function AppointmentServiceModel(data) {
2
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
3
+ return {
4
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
5
+ name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
6
+ priority: (_c = data === null || data === void 0 ? void 0 : data.priority) !== null && _c !== void 0 ? _c : null,
7
+ description: (_d = data === null || data === void 0 ? void 0 : data.description) !== null && _d !== void 0 ? _d : null,
8
+ parent_id: (_e = data === null || data === void 0 ? void 0 : data.parent_id) !== null && _e !== void 0 ? _e : null,
9
+ owner_id: (_f = data === null || data === void 0 ? void 0 : data.owner_id) !== null && _f !== void 0 ? _f : null,
10
+ created_by: (_g = data === null || data === void 0 ? void 0 : data.created_by) !== null && _g !== void 0 ? _g : null,
11
+ created_at: (_h = data === null || data === void 0 ? void 0 : data.created_at) !== null && _h !== void 0 ? _h : null,
12
+ group_id: (_j = data === null || data === void 0 ? void 0 : data.group_id) !== null && _j !== void 0 ? _j : null,
13
+ status: (_k = data === null || data === void 0 ? void 0 : data.status) !== null && _k !== void 0 ? _k : null,
14
+ type: (_l = data === null || data === void 0 ? void 0 : data.type) !== null && _l !== void 0 ? _l : null,
15
+ updated_at: (_m = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _m !== void 0 ? _m : null,
16
+ image_base_url: (_o = data === null || data === void 0 ? void 0 : data.image_base_url) !== null && _o !== void 0 ? _o : null,
17
+ image_path: (_p = data === null || data === void 0 ? void 0 : data.image_path) !== null && _p !== void 0 ? _p : null,
18
+ services: ((data === null || data === void 0 ? void 0 : data.services) || []).map((item) => ServiceModel(item)),
19
+ color_detail: ColorDetailModel(data === null || data === void 0 ? void 0 : data.color_detail),
20
+ };
21
+ }
22
+ function ServiceModel(data) {
23
+ var _a, _b, _c, _d, _e, _f;
24
+ return {
25
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
26
+ name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
27
+ duration: (_c = data === null || data === void 0 ? void 0 : data.duration) !== null && _c !== void 0 ? _c : null,
28
+ price: (_d = data === null || data === void 0 ? void 0 : data.price) !== null && _d !== void 0 ? _d : null,
29
+ point_bonus: (_e = data === null || data === void 0 ? void 0 : data.point_bonus) !== null && _e !== void 0 ? _e : null,
30
+ type: (_f = data === null || data === void 0 ? void 0 : data.type) !== null && _f !== void 0 ? _f : null,
31
+ employee_list: ((data === null || data === void 0 ? void 0 : data.employee_list) || []).map((item) => EmployeeListModel(item)),
32
+ };
33
+ }
34
+ function EmployeeListModel(data) {
35
+ return {
36
+ employee: EmployeeModel(data === null || data === void 0 ? void 0 : data.employee)
37
+ };
38
+ }
39
+ function EmployeeModel(data) {
40
+ var _a, _b;
41
+ return {
42
+ name: (_a = data === null || data === void 0 ? void 0 : data.name) !== null && _a !== void 0 ? _a : null,
43
+ code: (_b = data === null || data === void 0 ? void 0 : data.code) !== null && _b !== void 0 ? _b : null,
44
+ working_hours: ((data === null || data === void 0 ? void 0 : data.working_hours) || []).map((item) => WorkingHourModel(item)),
45
+ };
46
+ }
47
+ function WorkingHourModel(data) {
48
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
49
+ return {
50
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
51
+ employee_id: (_b = data === null || data === void 0 ? void 0 : data.employee_id) !== null && _b !== void 0 ? _b : null,
52
+ working_day: (_c = data === null || data === void 0 ? void 0 : data.working_day) !== null && _c !== void 0 ? _c : null,
53
+ mo: (_d = data === null || data === void 0 ? void 0 : data.mo) !== null && _d !== void 0 ? _d : null,
54
+ tu: (_e = data === null || data === void 0 ? void 0 : data.tu) !== null && _e !== void 0 ? _e : null,
55
+ we: (_f = data === null || data === void 0 ? void 0 : data.we) !== null && _f !== void 0 ? _f : null,
56
+ th: (_g = data === null || data === void 0 ? void 0 : data.th) !== null && _g !== void 0 ? _g : null,
57
+ fr: (_h = data === null || data === void 0 ? void 0 : data.fr) !== null && _h !== void 0 ? _h : null,
58
+ sa: (_j = data === null || data === void 0 ? void 0 : data.sa) !== null && _j !== void 0 ? _j : null,
59
+ su: (_k = data === null || data === void 0 ? void 0 : data.su) !== null && _k !== void 0 ? _k : null,
60
+ is_active: (_l = data === null || data === void 0 ? void 0 : data.is_active) !== null && _l !== void 0 ? _l : null,
61
+ };
62
+ }
63
+ function ColorDetailModel(data) {
64
+ var _a, _b, _c, _d, _e, _f, _g, _h;
65
+ return {
66
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
67
+ type: (_b = data === null || data === void 0 ? void 0 : data.type) !== null && _b !== void 0 ? _b : null,
68
+ item_id: (_c = data === null || data === void 0 ? void 0 : data.item_id) !== null && _c !== void 0 ? _c : null,
69
+ color_code: (_d = data === null || data === void 0 ? void 0 : data.color_code) !== null && _d !== void 0 ? _d : null,
70
+ priority: (_e = data === null || data === void 0 ? void 0 : data.priority) !== null && _e !== void 0 ? _e : null,
71
+ created_at: (_f = data === null || data === void 0 ? void 0 : data.created_at) !== null && _f !== void 0 ? _f : null,
72
+ updated_at: (_g = data === null || data === void 0 ? void 0 : data.updated_at) !== null && _g !== void 0 ? _g : null,
73
+ status: (_h = data === null || data === void 0 ? void 0 : data.status) !== null && _h !== void 0 ? _h : null,
74
+ };
75
+ }
@@ -0,0 +1,11 @@
1
+ export declare function AppointmentStaffModel(data: any): {
2
+ user_id: any;
3
+ name: any;
4
+ code: any;
5
+ working_hours: any;
6
+ service_ids: any;
7
+ blocked_time: any;
8
+ color_code: any;
9
+ image_url: any;
10
+ };
11
+ //# sourceMappingURL=staff.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../src/api/appointment_api/1.0.0/models/staff.ts"],"names":[],"mappings":"AAAA,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG;;;;;;;;;EAW9C"}
@@ -0,0 +1,39 @@
1
+ export function AppointmentStaffModel(data) {
2
+ var _a, _b, _c, _d, _e, _f;
3
+ return {
4
+ user_id: (_a = data === null || data === void 0 ? void 0 : data.user_id) !== null && _a !== void 0 ? _a : null,
5
+ name: (_b = data === null || data === void 0 ? void 0 : data.name) !== null && _b !== void 0 ? _b : null,
6
+ code: (_c = data === null || data === void 0 ? void 0 : data.code) !== null && _c !== void 0 ? _c : null,
7
+ working_hours: ((data === null || data === void 0 ? void 0 : data.working_hours) || []).map((item) => WorkingHourModel(item)),
8
+ service_ids: ((data === null || data === void 0 ? void 0 : data.service_ids) || []).map((item) => ServiceIdModel(item)),
9
+ blocked_time: (_d = data === null || data === void 0 ? void 0 : data.blocked_time) !== null && _d !== void 0 ? _d : null,
10
+ color_code: (_e = data === null || data === void 0 ? void 0 : data.color_code) !== null && _e !== void 0 ? _e : null,
11
+ image_url: (_f = data === null || data === void 0 ? void 0 : data.image_url) !== null && _f !== void 0 ? _f : null,
12
+ };
13
+ }
14
+ function WorkingHourModel(data) {
15
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
16
+ return {
17
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
18
+ employee_id: (_b = data === null || data === void 0 ? void 0 : data.employee_id) !== null && _b !== void 0 ? _b : null,
19
+ working_day: (_c = data === null || data === void 0 ? void 0 : data.working_day) !== null && _c !== void 0 ? _c : null,
20
+ mo: (_d = data === null || data === void 0 ? void 0 : data.mo) !== null && _d !== void 0 ? _d : null,
21
+ tu: (_e = data === null || data === void 0 ? void 0 : data.tu) !== null && _e !== void 0 ? _e : null,
22
+ we: (_f = data === null || data === void 0 ? void 0 : data.we) !== null && _f !== void 0 ? _f : null,
23
+ th: (_g = data === null || data === void 0 ? void 0 : data.th) !== null && _g !== void 0 ? _g : null,
24
+ fr: (_h = data === null || data === void 0 ? void 0 : data.fr) !== null && _h !== void 0 ? _h : null,
25
+ sa: (_j = data === null || data === void 0 ? void 0 : data.sa) !== null && _j !== void 0 ? _j : null,
26
+ su: (_k = data === null || data === void 0 ? void 0 : data.su) !== null && _k !== void 0 ? _k : null,
27
+ is_active: (_l = data === null || data === void 0 ? void 0 : data.is_active) !== null && _l !== void 0 ? _l : null,
28
+ };
29
+ }
30
+ function ServiceIdModel(data) {
31
+ var _a, _b, _c, _d, _e;
32
+ return {
33
+ id: (_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : null,
34
+ employee_id: (_b = data === null || data === void 0 ? void 0 : data.employee_id) !== null && _b !== void 0 ? _b : null,
35
+ service_id: (_c = data === null || data === void 0 ? void 0 : data.service_id) !== null && _c !== void 0 ? _c : null,
36
+ created_at: (_d = data === null || data === void 0 ? void 0 : data.created_at) !== null && _d !== void 0 ? _d : null,
37
+ is_active: (_e = data === null || data === void 0 ? void 0 : data.is_active) !== null && _e !== void 0 ? _e : null,
38
+ };
39
+ }
@@ -0,0 +1,84 @@
1
+ import { Nullable } from "../../../../../base_type";
2
+ export declare type GetAppointmentSpecificDateListRequest = {
3
+ date: string;
4
+ appointment_id?: number;
5
+ };
6
+ export declare type GetAppointmentResourceListRequest = {
7
+ start_time: string;
8
+ };
9
+ export declare type GetAppointmentListRequest = {
10
+ start_time: string;
11
+ status?: string;
12
+ };
13
+ export declare type GetAppointmentDetailRequest = {
14
+ id: number;
15
+ };
16
+ export declare type ChangeAppointmentStatusRequest = {
17
+ id: number;
18
+ status: 'scheduled' | 'confirmed' | 'done' | 'canceled';
19
+ };
20
+ export declare type CreateAppointmentRequest = {
21
+ date: string;
22
+ customer: Customer | null;
23
+ booker: Booker | null;
24
+ note: string;
25
+ items: Item[];
26
+ extra_data: ExtraData;
27
+ };
28
+ declare type Booker = Nullable<{
29
+ booker_name: string;
30
+ booker_phone: string;
31
+ }>;
32
+ declare type Customer = Nullable<{
33
+ id: number;
34
+ full_name: string;
35
+ phone: string;
36
+ }>;
37
+ declare type Item = Nullable<{
38
+ duration: Duration;
39
+ staff: Staff;
40
+ start_time: StartTime;
41
+ service: Service;
42
+ }>;
43
+ declare type Duration = Nullable<{
44
+ text: string;
45
+ value: number;
46
+ }>;
47
+ declare type Staff = Nullable<{
48
+ user_id: number;
49
+ }>;
50
+ declare type StartTime = Nullable<{
51
+ value: number;
52
+ text: string;
53
+ }>;
54
+ declare type Service = Nullable<{
55
+ id: number;
56
+ name: string;
57
+ duration: number;
58
+ price: number;
59
+ }>;
60
+ declare type ExtraData = Nullable<{
61
+ highlight: number;
62
+ request: number;
63
+ no_show: number;
64
+ }>;
65
+ export declare type UpdateAppointmentRequest = {
66
+ date: string;
67
+ customer: Customer | null;
68
+ booker: Booker | null;
69
+ note: string;
70
+ items: Item[];
71
+ extra_data: ExtraData;
72
+ appointment_base_id: number;
73
+ status: string;
74
+ };
75
+ export declare type DragDropUpdateAppointmentRequest = {
76
+ event: {
77
+ id: number;
78
+ start: string;
79
+ end: string;
80
+ };
81
+ resource: string;
82
+ };
83
+ export {};
84
+ //# sourceMappingURL=appointment.d.ts.map
@@ -0,0 +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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AAEF,aAAK,SAAS,GAAG,QAAQ,CAAC;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AAEF,aAAK,OAAO,GAAG,QAAQ,CAAC;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;CAChB,CAAC,CAAA;AAEF,aAAK,SAAS,GAAG,QAAQ,CAAC;IACtB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC,CAAA;AAEF,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;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"}
@@ -0,0 +1,5 @@
1
+ export declare type GetAppointmentCustomerListRequest = {
2
+ customer_name?: string;
3
+ phone?: string;
4
+ };
5
+ //# sourceMappingURL=customer.d.ts.map
@@ -0,0 +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,2 +1,7 @@
1
1
  export * from './settings';
2
+ export * from './customer';
3
+ export * from './service';
4
+ export * from './staff';
5
+ export * from './appointment';
6
+ export * from './pos';
2
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/request/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC"}
@@ -1 +1,6 @@
1
1
  export * from './settings';
2
+ export * from './customer';
3
+ export * from './service';
4
+ export * from './staff';
5
+ export * from './appointment';
6
+ export * from './pos';
@@ -0,0 +1,7 @@
1
+ export declare type GetWaitListRequest = {
2
+ date: string;
3
+ };
4
+ export declare type CreateOrderRequest = {
5
+ appointment_id: number;
6
+ };
7
+ //# sourceMappingURL=pos.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,2 @@
1
+ export declare type GetAppointmentServiceListRequest = {};
2
+ //# sourceMappingURL=service.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,2 @@
1
+ export declare type GetAppointmentStaffListRequest = {};
2
+ //# sourceMappingURL=staff.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,293 @@
1
+ import { Nullable } from "../../../../../base_type";
2
+ export declare type GetAppointmentSpecificDateListResponse = GetAppointmentListResponse;
3
+ declare type Customer = Nullable<{
4
+ id: number;
5
+ first_name: any;
6
+ last_name: any;
7
+ full_name: string;
8
+ phone: string;
9
+ email: any;
10
+ address: string;
11
+ city: any;
12
+ state: any;
13
+ country: any;
14
+ gender: any;
15
+ birthday?: string;
16
+ create_at: string;
17
+ update_at: string;
18
+ status: any;
19
+ group_id: any;
20
+ note: string;
21
+ parent_id: number;
22
+ rating: any;
23
+ is_yelp: number;
24
+ reachable_email: number;
25
+ reachable_push: number;
26
+ reachable_sms: number;
27
+ visit_count: number;
28
+ last_visited: string;
29
+ image_url: any;
30
+ address2: any;
31
+ postal_code: any;
32
+ is_send_sms: number;
33
+ is_import: number;
34
+ is_checked_in: number;
35
+ current_point: number;
36
+ lifetime_point: number;
37
+ type: string;
38
+ }>;
39
+ declare type Staff = Nullable<{
40
+ user_id: number;
41
+ name: string;
42
+ code: number;
43
+ created_at: string;
44
+ updated_at: any;
45
+ color_code: string;
46
+ image_url: string;
47
+ delete_image_url: any;
48
+ priority: number;
49
+ commission_type: string;
50
+ turn_priority: number;
51
+ last_turn_priority: number;
52
+ phone: string;
53
+ address: string;
54
+ nickname: string;
55
+ priority_calendar: number;
56
+ }>;
57
+ declare type Service = Nullable<{
58
+ id: number;
59
+ name: string;
60
+ create_at: string;
61
+ type: any;
62
+ status: number;
63
+ group_id: any;
64
+ priority: any;
65
+ category_id: any;
66
+ onwer_id: any;
67
+ price: number;
68
+ note: string;
69
+ point_bonus: any;
70
+ duration: number;
71
+ buffer_time: any;
72
+ web_booking_visible: string;
73
+ supply_share: number;
74
+ show_on_checkin: number;
75
+ show_on_booking: number;
76
+ show_on_pos: number;
77
+ image_base_url: string;
78
+ image_path: string;
79
+ employee_list: EmployeeList[];
80
+ }>;
81
+ export declare type GetAppointmentResourceListResponse = Nullable<{
82
+ id: any;
83
+ title: string;
84
+ index: number;
85
+ color_code: string;
86
+ businessHours: BusinessHour[];
87
+ }[]>;
88
+ declare type BusinessHour = Nullable<{
89
+ daysOfWeek: number[];
90
+ startTime: string;
91
+ endTime: string;
92
+ }>;
93
+ export declare type GetAppointmentListResponse = Nullable<{
94
+ id: number;
95
+ resourceId: number;
96
+ backgroundColor: string;
97
+ borderColor: string;
98
+ rendering: string;
99
+ note: string;
100
+ start: string;
101
+ end: string;
102
+ title: string;
103
+ overlap: boolean;
104
+ is_auto_assign: number;
105
+ service_id: number;
106
+ child_appointment_id: number;
107
+ checkin_id: any;
108
+ order_id: number;
109
+ status: string;
110
+ customer: Customer;
111
+ staff: Staff;
112
+ services: Service;
113
+ customer_type: string;
114
+ custom_service: any;
115
+ extra_data: string;
116
+ }[]>;
117
+ export declare type GetAppointmentDetailResponse = Nullable<{
118
+ id: number;
119
+ start_time: string;
120
+ end_time: string;
121
+ booker_name: string;
122
+ booker_contact: string;
123
+ date: string;
124
+ duration: Duration;
125
+ service: Service;
126
+ employee: Employee;
127
+ customer: Customer;
128
+ status: string;
129
+ price_final: number;
130
+ note: string;
131
+ additional_appointments: any[];
132
+ created_at: string;
133
+ updated_at: string;
134
+ checkin_available: boolean;
135
+ checkin: Checkin;
136
+ history: History[];
137
+ service_booked: any[];
138
+ flag: any;
139
+ deposit: any;
140
+ custom_service: any;
141
+ extra_data: string;
142
+ }>;
143
+ declare type Duration = Nullable<{
144
+ text: string;
145
+ value: number;
146
+ }>;
147
+ declare type EmployeeList = Nullable<{
148
+ employee: Employee;
149
+ }>;
150
+ declare type Employee = Nullable<{
151
+ name: string;
152
+ code: number;
153
+ working_hours: WorkingHour[];
154
+ user_id: number;
155
+ created_at: string;
156
+ updated_at: any;
157
+ color_code: any;
158
+ image_url: string;
159
+ delete_image_url: string;
160
+ priority: number;
161
+ commission_type: string;
162
+ turn_priority: number;
163
+ last_turn_priority: number;
164
+ phone: string;
165
+ address: string;
166
+ nickname: string;
167
+ priority_calendar: number;
168
+ }>;
169
+ declare type WorkingHour = Nullable<{
170
+ id: number;
171
+ employee_id: number;
172
+ working_day: string;
173
+ mo: string;
174
+ tu: string;
175
+ we: string;
176
+ th: string;
177
+ fr: string;
178
+ sa: string;
179
+ su: string;
180
+ is_active: number;
181
+ }>;
182
+ declare type Checkin = Nullable<{
183
+ id: number;
184
+ customer_id: number;
185
+ create_at: string;
186
+ status: number;
187
+ update_at: string;
188
+ attachment: any;
189
+ type: any;
190
+ show_on_wait_list: number;
191
+ counter: number;
192
+ number_checkin: number;
193
+ customer: Customer;
194
+ customer_point: CustomerPoint;
195
+ check_out: CheckOut;
196
+ promotions: any[];
197
+ services: Service[];
198
+ staffs: Staff[];
199
+ rewards: any[];
200
+ customer_checkin_services: CustomerCheckinService[];
201
+ products: any[];
202
+ groups: Group[];
203
+ }>;
204
+ declare type CustomerCheckinService = Nullable<{
205
+ id: number;
206
+ checkin_id: number;
207
+ service_id: number;
208
+ created_at: string;
209
+ updated_at: any;
210
+ staff_id: any;
211
+ price: any;
212
+ staff: any;
213
+ service: Service;
214
+ }>;
215
+ declare type Group = Nullable<{
216
+ id: number;
217
+ name: string;
218
+ description: any;
219
+ status: string;
220
+ }>;
221
+ declare type History = Nullable<{
222
+ id: number;
223
+ appointment_id: number;
224
+ customer_id: number;
225
+ type: string;
226
+ content: string;
227
+ isRead: number;
228
+ staff_name: string;
229
+ data: any;
230
+ created_at: string;
231
+ }>;
232
+ declare type CustomerPoint = Nullable<{
233
+ customer_id: number;
234
+ point: number;
235
+ created_at: any;
236
+ update_at: any;
237
+ lifetime_point: number;
238
+ }>;
239
+ declare type CheckOut = Nullable<{
240
+ id: number;
241
+ customer_id: number;
242
+ created_at: string;
243
+ update_at: string;
244
+ owner_id: number;
245
+ checkin_id: number;
246
+ status: string;
247
+ note: any;
248
+ total_price: string;
249
+ discount: any;
250
+ user_id: any;
251
+ point_bonus: number;
252
+ sms_sent: number;
253
+ order_id: number;
254
+ }>;
255
+ export declare type ChangeAppointmentStatusResponse = Nullable<string>;
256
+ export declare type CreateAppointmentResponse = Nullable<number>;
257
+ export declare type UpdateAppointmentResponse = Nullable<number>;
258
+ export declare type DragDropUpdateAppointmentResponse = Nullable<{
259
+ id: number;
260
+ created_at: string;
261
+ updated_at: string;
262
+ booker_name: string;
263
+ booker_contact: string;
264
+ customer_id: number;
265
+ employee_id: number;
266
+ service_id: number;
267
+ start_time: string;
268
+ end_time_expected: string;
269
+ end_time: string;
270
+ price_expected: number;
271
+ price_full: number;
272
+ discount: any;
273
+ price_final: number;
274
+ canceled: any;
275
+ cancellation_resion: any;
276
+ status: string;
277
+ flag: any;
278
+ note: string;
279
+ key: string;
280
+ staff_note: any;
281
+ user_ip: any;
282
+ parent_id: any;
283
+ referer: any;
284
+ is_auto_assign: number;
285
+ booker_email: any;
286
+ order_id: any;
287
+ checkin_id: any;
288
+ accept_consent_term: number;
289
+ custom_service: any;
290
+ extra_data: string;
291
+ }>;
292
+ export {};
293
+ //# sourceMappingURL=appointment.d.ts.map
@@ -0,0 +1 @@
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,oBAAY,sCAAsC,GAAG,0BAA0B,CAAA;AAE/E,aAAK,QAAQ,GAAG,QAAQ,CAAC;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,GAAG,CAAA;IACf,SAAS,EAAE,GAAG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cAAc,EAAE,GAAG,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;CACrB,CAAC,CAAA"}
@@ -0,0 +1,23 @@
1
+ import { Nullable } from "../../../../../base_type";
2
+ export declare type GetAppointmentCustomerListResponse = Nullable<{
3
+ id: number;
4
+ full_name: string;
5
+ phone: string;
6
+ email: string;
7
+ birthday?: string;
8
+ visit_count: number;
9
+ last_visited: string;
10
+ create_at: string;
11
+ is_send_sms: number;
12
+ note: string;
13
+ type: string;
14
+ lifetime_point: number;
15
+ current_point: number;
16
+ groups: Group[];
17
+ checkin_count: string;
18
+ }>;
19
+ declare type Group = Nullable<{
20
+ group_id: number;
21
+ }>;
22
+ export {};
23
+ //# sourceMappingURL=customer.d.ts.map
@@ -0,0 +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,2 +1,7 @@
1
1
  export * from './settings';
2
+ export * from './customer';
3
+ export * from './service';
4
+ export * from './staff';
5
+ export * from './appointment';
6
+ export * from './pos';
2
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/response/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/1.0.0/types/response/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC"}