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.
- package/dist/api/appointment_api/1.0.0/api/appointment.d.ts +17 -0
- package/dist/api/appointment_api/1.0.0/api/appointment.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/api/appointment.js +88 -0
- package/dist/api/appointment_api/1.0.0/api/customer.d.ts +11 -0
- package/dist/api/appointment_api/1.0.0/api/customer.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/api/customer.js +18 -0
- package/dist/api/appointment_api/1.0.0/api/index.d.ts +5 -0
- package/dist/api/appointment_api/1.0.0/api/index.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/api/index.js +5 -0
- package/dist/api/appointment_api/1.0.0/api/pos.d.ts +11 -0
- package/dist/api/appointment_api/1.0.0/api/pos.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/api/pos.js +28 -0
- package/dist/api/appointment_api/1.0.0/api/service.d.ts +11 -0
- package/dist/api/appointment_api/1.0.0/api/service.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/api/service.js +18 -0
- package/dist/api/appointment_api/1.0.0/api/staff.d.ts +10 -0
- package/dist/api/appointment_api/1.0.0/api/staff.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/api/staff.js +18 -0
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts +12 -0
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/endpoints/appointment.js +10 -0
- package/dist/api/appointment_api/1.0.0/endpoints/customer.d.ts +5 -0
- package/dist/api/appointment_api/1.0.0/endpoints/customer.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/endpoints/customer.js +3 -0
- package/dist/api/appointment_api/1.0.0/endpoints/index.d.ts +5 -0
- package/dist/api/appointment_api/1.0.0/endpoints/index.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/endpoints/index.js +5 -0
- package/dist/api/appointment_api/1.0.0/endpoints/pos.d.ts +6 -0
- package/dist/api/appointment_api/1.0.0/endpoints/pos.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/endpoints/pos.js +4 -0
- package/dist/api/appointment_api/1.0.0/endpoints/service.d.ts +5 -0
- package/dist/api/appointment_api/1.0.0/endpoints/service.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/endpoints/service.js +3 -0
- package/dist/api/appointment_api/1.0.0/endpoints/staff.d.ts +5 -0
- package/dist/api/appointment_api/1.0.0/endpoints/staff.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/endpoints/staff.js +3 -0
- package/dist/api/appointment_api/1.0.0/interfaces/appointment.d.ts +3 -0
- package/dist/api/appointment_api/1.0.0/interfaces/appointment.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/interfaces/appointment.js +2 -0
- package/dist/api/appointment_api/1.0.0/interfaces/customer.d.ts +3 -0
- package/dist/api/appointment_api/1.0.0/interfaces/customer.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/interfaces/customer.js +2 -0
- package/dist/api/appointment_api/1.0.0/interfaces/pos.d.ts +3 -0
- package/dist/api/appointment_api/1.0.0/interfaces/pos.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/interfaces/pos.js +2 -0
- package/dist/api/appointment_api/1.0.0/interfaces/service.d.ts +3 -0
- package/dist/api/appointment_api/1.0.0/interfaces/service.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/interfaces/service.js +2 -0
- package/dist/api/appointment_api/1.0.0/interfaces/staff.d.ts +3 -0
- package/dist/api/appointment_api/1.0.0/interfaces/staff.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/interfaces/staff.js +2 -0
- package/dist/api/appointment_api/1.0.0/models/appointment.d.ts +209 -0
- package/dist/api/appointment_api/1.0.0/models/appointment.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/models/appointment.js +366 -0
- package/dist/api/appointment_api/1.0.0/models/customer.d.ts +18 -0
- package/dist/api/appointment_api/1.0.0/models/customer.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/models/customer.js +20 -0
- package/dist/api/appointment_api/1.0.0/models/index.d.ts +5 -0
- package/dist/api/appointment_api/1.0.0/models/index.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/models/index.js +5 -0
- package/dist/api/appointment_api/1.0.0/models/pos.d.ts +227 -0
- package/dist/api/appointment_api/1.0.0/models/pos.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/models/pos.js +335 -0
- package/dist/api/appointment_api/1.0.0/models/service.d.ts +28 -0
- package/dist/api/appointment_api/1.0.0/models/service.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/models/service.js +75 -0
- package/dist/api/appointment_api/1.0.0/models/staff.d.ts +11 -0
- package/dist/api/appointment_api/1.0.0/models/staff.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/models/staff.js +39 -0
- package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts +84 -0
- package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/types/request/appointment.js +1 -0
- package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts +5 -0
- package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/types/request/customer.js +1 -0
- package/dist/api/appointment_api/1.0.0/types/request/index.d.ts +5 -0
- package/dist/api/appointment_api/1.0.0/types/request/index.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/index.js +5 -0
- package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts +7 -0
- package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/types/request/pos.js +1 -0
- package/dist/api/appointment_api/1.0.0/types/request/service.d.ts +2 -0
- package/dist/api/appointment_api/1.0.0/types/request/service.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/types/request/service.js +1 -0
- package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts +2 -0
- package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/types/request/staff.js +1 -0
- package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts +293 -0
- package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/types/response/appointment.js +1 -0
- package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts +23 -0
- package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/types/response/customer.js +1 -0
- package/dist/api/appointment_api/1.0.0/types/response/index.d.ts +5 -0
- package/dist/api/appointment_api/1.0.0/types/response/index.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/index.js +5 -0
- package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts +302 -0
- package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/types/response/pos.js +1 -0
- package/dist/api/appointment_api/1.0.0/types/response/service.d.ts +61 -0
- package/dist/api/appointment_api/1.0.0/types/response/service.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/types/response/service.js +1 -0
- package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts +33 -0
- package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts.map +1 -0
- package/dist/api/appointment_api/1.0.0/types/response/staff.js +1 -0
- package/dist/api/appointment_api/index.d.ts +5 -0
- package/dist/api/appointment_api/index.d.ts.map +1 -1
- package/dist/api/appointment_api/index.js +5 -0
- package/dist/gap-sdk.js +1 -1
- package/dist/http_client/http_client.d.ts.map +1 -1
- package/dist/http_client/http_client.js +69 -34
- package/package.json +1 -1
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import { Nullable } from "../../../../../base_type";
|
|
2
|
+
export declare type GetWaitListResponse = Nullable<{
|
|
3
|
+
id: number;
|
|
4
|
+
customer_id: number;
|
|
5
|
+
create_at: string;
|
|
6
|
+
status: number;
|
|
7
|
+
update_at: string;
|
|
8
|
+
attachment: any;
|
|
9
|
+
type: any;
|
|
10
|
+
show_on_wait_list: number;
|
|
11
|
+
services: Service[];
|
|
12
|
+
staffs: any[];
|
|
13
|
+
order: Order;
|
|
14
|
+
appointment: any;
|
|
15
|
+
customer: Customer;
|
|
16
|
+
}[]>;
|
|
17
|
+
declare type Service = Nullable<{
|
|
18
|
+
id: number;
|
|
19
|
+
name: string;
|
|
20
|
+
price: number;
|
|
21
|
+
duration: number;
|
|
22
|
+
}>;
|
|
23
|
+
declare type Order = Nullable<{
|
|
24
|
+
id: number;
|
|
25
|
+
customer_id: number;
|
|
26
|
+
customer_name: string;
|
|
27
|
+
customer_phone: string;
|
|
28
|
+
customer_email: any;
|
|
29
|
+
customer_address: any;
|
|
30
|
+
payment_method: any;
|
|
31
|
+
currency: any;
|
|
32
|
+
start_time: any;
|
|
33
|
+
expected_end_time: any;
|
|
34
|
+
end_time: any;
|
|
35
|
+
picked_up_time: any;
|
|
36
|
+
promotion_code: any;
|
|
37
|
+
total_before_discount: any;
|
|
38
|
+
total_after_discount: any;
|
|
39
|
+
employee_id: any;
|
|
40
|
+
employee_name: any;
|
|
41
|
+
type: string;
|
|
42
|
+
note: any;
|
|
43
|
+
owner_note: any;
|
|
44
|
+
order_status: number;
|
|
45
|
+
status: number;
|
|
46
|
+
created_at: string;
|
|
47
|
+
updated_at: string;
|
|
48
|
+
cancel_reason: any;
|
|
49
|
+
delivered_time: any;
|
|
50
|
+
completed_time: any;
|
|
51
|
+
order_code: string;
|
|
52
|
+
checkin_id: number;
|
|
53
|
+
total_change: any;
|
|
54
|
+
tip: any;
|
|
55
|
+
tax: any;
|
|
56
|
+
is_waiting: number;
|
|
57
|
+
is_recheck: number;
|
|
58
|
+
gift_card_price: any;
|
|
59
|
+
pax_standalone_active: any;
|
|
60
|
+
ach_payment_active: any;
|
|
61
|
+
ach_payment_data: any;
|
|
62
|
+
total_cash_discount: number;
|
|
63
|
+
is_tip_on_device: number;
|
|
64
|
+
tip_by_credit_card: number;
|
|
65
|
+
service_fee: number;
|
|
66
|
+
external_credit_card: number;
|
|
67
|
+
qr_code: any;
|
|
68
|
+
in_service: any;
|
|
69
|
+
}>;
|
|
70
|
+
declare type Customer = Nullable<{
|
|
71
|
+
id: number;
|
|
72
|
+
first_name: any;
|
|
73
|
+
last_name: any;
|
|
74
|
+
full_name: string;
|
|
75
|
+
phone: string;
|
|
76
|
+
email: any;
|
|
77
|
+
address: any;
|
|
78
|
+
city: any;
|
|
79
|
+
state: any;
|
|
80
|
+
country: any;
|
|
81
|
+
gender: any;
|
|
82
|
+
birthday: any;
|
|
83
|
+
create_at: string;
|
|
84
|
+
update_at: string;
|
|
85
|
+
status: any;
|
|
86
|
+
group_id: any;
|
|
87
|
+
note: any;
|
|
88
|
+
parent_id: number;
|
|
89
|
+
rating: any;
|
|
90
|
+
is_yelp: any;
|
|
91
|
+
reachable_email: number;
|
|
92
|
+
reachable_push: number;
|
|
93
|
+
reachable_sms: number;
|
|
94
|
+
visit_count: number;
|
|
95
|
+
last_visited: string;
|
|
96
|
+
image_url: any;
|
|
97
|
+
address2: any;
|
|
98
|
+
postal_code: any;
|
|
99
|
+
is_send_sms: number;
|
|
100
|
+
is_import: number;
|
|
101
|
+
is_checked_in: number;
|
|
102
|
+
}>;
|
|
103
|
+
export declare type CreateOrderResponse = Nullable<{
|
|
104
|
+
id: number;
|
|
105
|
+
customer_id: number;
|
|
106
|
+
customer_name: string;
|
|
107
|
+
customer_phone: string;
|
|
108
|
+
customer_email: any;
|
|
109
|
+
customer_address: any;
|
|
110
|
+
payment_method: any;
|
|
111
|
+
currency: any;
|
|
112
|
+
start_time: any;
|
|
113
|
+
expected_end_time: any;
|
|
114
|
+
end_time: any;
|
|
115
|
+
picked_up_time: any;
|
|
116
|
+
promotion_code: any;
|
|
117
|
+
total_before_discount: number;
|
|
118
|
+
total_after_discount: number;
|
|
119
|
+
employee_id: any;
|
|
120
|
+
employee_name: any;
|
|
121
|
+
type: string;
|
|
122
|
+
note: any;
|
|
123
|
+
owner_note: any;
|
|
124
|
+
order_status: number;
|
|
125
|
+
status: number;
|
|
126
|
+
created_at: string;
|
|
127
|
+
updated_at: any;
|
|
128
|
+
cancel_reason: any;
|
|
129
|
+
delivered_time: any;
|
|
130
|
+
completed_time: any;
|
|
131
|
+
order_code: string;
|
|
132
|
+
checkin_id: any;
|
|
133
|
+
total_change: any;
|
|
134
|
+
tip: any;
|
|
135
|
+
tax: number;
|
|
136
|
+
is_waiting: number;
|
|
137
|
+
is_recheck: number;
|
|
138
|
+
gift_card_price: any;
|
|
139
|
+
pax_standalone_active: any;
|
|
140
|
+
ach_payment_active: any;
|
|
141
|
+
ach_payment_data: any;
|
|
142
|
+
total_cash_discount: number;
|
|
143
|
+
is_tip_on_device: number;
|
|
144
|
+
tip_by_credit_card: number;
|
|
145
|
+
service_fee: number;
|
|
146
|
+
external_credit_card: number;
|
|
147
|
+
qr_code: any;
|
|
148
|
+
in_service: any;
|
|
149
|
+
pos_key: string;
|
|
150
|
+
pos_status: string;
|
|
151
|
+
invoice: any;
|
|
152
|
+
visit_count: number;
|
|
153
|
+
current_point: number;
|
|
154
|
+
last_visited: string;
|
|
155
|
+
customer: OrderCustomer;
|
|
156
|
+
list_promotion: any[];
|
|
157
|
+
list_redeem: any[];
|
|
158
|
+
order_discount: any[];
|
|
159
|
+
order_items: OrderItem[];
|
|
160
|
+
created_date: string;
|
|
161
|
+
created_time: string;
|
|
162
|
+
payment: any[];
|
|
163
|
+
refund_amount: any;
|
|
164
|
+
payment_payment_id: any;
|
|
165
|
+
payment_order_id: any;
|
|
166
|
+
services: OrderService[];
|
|
167
|
+
staffs: Staff[];
|
|
168
|
+
order_batch: OrderBatch;
|
|
169
|
+
last_four: any;
|
|
170
|
+
customer_point: number;
|
|
171
|
+
card_type: any;
|
|
172
|
+
entry_type: any;
|
|
173
|
+
payment_history: any[];
|
|
174
|
+
amount_info: any;
|
|
175
|
+
customer_type: string;
|
|
176
|
+
tax_product: number;
|
|
177
|
+
tax_service: number;
|
|
178
|
+
deposit: any;
|
|
179
|
+
product_subtotal: number;
|
|
180
|
+
service_subtotal: number;
|
|
181
|
+
checkin_number: number;
|
|
182
|
+
appointment_id: number;
|
|
183
|
+
}>;
|
|
184
|
+
declare type OrderCustomer = Nullable<{
|
|
185
|
+
id: number;
|
|
186
|
+
first_name: any;
|
|
187
|
+
last_name: any;
|
|
188
|
+
full_name: string;
|
|
189
|
+
phone: string;
|
|
190
|
+
email: any;
|
|
191
|
+
address: any;
|
|
192
|
+
city: any;
|
|
193
|
+
state: any;
|
|
194
|
+
country: any;
|
|
195
|
+
gender: any;
|
|
196
|
+
birthday: string;
|
|
197
|
+
create_at: string;
|
|
198
|
+
update_at: string;
|
|
199
|
+
status: any;
|
|
200
|
+
group_id: any;
|
|
201
|
+
note: any;
|
|
202
|
+
parent_id: number;
|
|
203
|
+
rating: any;
|
|
204
|
+
is_yelp: any;
|
|
205
|
+
reachable_email: number;
|
|
206
|
+
reachable_push: number;
|
|
207
|
+
reachable_sms: number;
|
|
208
|
+
visit_count: number;
|
|
209
|
+
last_visited: string;
|
|
210
|
+
image_url: any;
|
|
211
|
+
address2: any;
|
|
212
|
+
postal_code: any;
|
|
213
|
+
is_send_sms: number;
|
|
214
|
+
is_import: number;
|
|
215
|
+
is_checked_in: number;
|
|
216
|
+
current_point: number;
|
|
217
|
+
lifetime_point: number;
|
|
218
|
+
type: string;
|
|
219
|
+
last_review: any;
|
|
220
|
+
review_type: string;
|
|
221
|
+
}>;
|
|
222
|
+
declare type OrderItem = Nullable<{
|
|
223
|
+
item_variant: any[];
|
|
224
|
+
item_modifier: any[];
|
|
225
|
+
id: number;
|
|
226
|
+
order_id: number;
|
|
227
|
+
item_id: number;
|
|
228
|
+
quantity: number;
|
|
229
|
+
item_name: string;
|
|
230
|
+
price: number;
|
|
231
|
+
note: any;
|
|
232
|
+
owner_note: any;
|
|
233
|
+
status: number;
|
|
234
|
+
created_at: string;
|
|
235
|
+
updated_at: string;
|
|
236
|
+
cancel_reason: any;
|
|
237
|
+
item_type: number;
|
|
238
|
+
staff_id: number;
|
|
239
|
+
staff_name: string;
|
|
240
|
+
combo_id: any;
|
|
241
|
+
additional_data: any;
|
|
242
|
+
giftcard_data: any;
|
|
243
|
+
sub_total: number;
|
|
244
|
+
items: Item[];
|
|
245
|
+
}>;
|
|
246
|
+
declare type Item = Nullable<{
|
|
247
|
+
id: number;
|
|
248
|
+
item_type: number;
|
|
249
|
+
item_id: number;
|
|
250
|
+
item_name: string;
|
|
251
|
+
quantity: number;
|
|
252
|
+
price: number;
|
|
253
|
+
staff_id: number;
|
|
254
|
+
combo_name: any;
|
|
255
|
+
combo_id: any;
|
|
256
|
+
note: any;
|
|
257
|
+
gift_card_code: any;
|
|
258
|
+
additional_data: any;
|
|
259
|
+
giftcard_data: any;
|
|
260
|
+
}>;
|
|
261
|
+
declare type OrderService = Nullable<{
|
|
262
|
+
staff_id: number;
|
|
263
|
+
staff_name: string;
|
|
264
|
+
items: Item2[];
|
|
265
|
+
}>;
|
|
266
|
+
declare type Item2 = Nullable<{
|
|
267
|
+
item_name: string;
|
|
268
|
+
quantity: number;
|
|
269
|
+
note: any;
|
|
270
|
+
price: number;
|
|
271
|
+
supply_share: number;
|
|
272
|
+
base_service_price: number;
|
|
273
|
+
card_charge_value: number;
|
|
274
|
+
discount_charge_value: number;
|
|
275
|
+
tip_paid: number;
|
|
276
|
+
tip_on_credit_card_share: number;
|
|
277
|
+
commission: number;
|
|
278
|
+
cash_discount: number;
|
|
279
|
+
}>;
|
|
280
|
+
declare type Staff = Nullable<{
|
|
281
|
+
employee_name: string;
|
|
282
|
+
employee_image: any;
|
|
283
|
+
employee_color: string;
|
|
284
|
+
}>;
|
|
285
|
+
declare type OrderBatch = Nullable<{
|
|
286
|
+
card_amount: number;
|
|
287
|
+
cash_amount: number;
|
|
288
|
+
check_amount: number;
|
|
289
|
+
giftcard_amount: number;
|
|
290
|
+
ach_amount: number;
|
|
291
|
+
external_cc_amount: number;
|
|
292
|
+
subtotal: number;
|
|
293
|
+
tax: number;
|
|
294
|
+
tip: number;
|
|
295
|
+
discount: number;
|
|
296
|
+
redeem: number;
|
|
297
|
+
total_income: number;
|
|
298
|
+
cash_discount: number;
|
|
299
|
+
change: number;
|
|
300
|
+
}>;
|
|
301
|
+
export {};
|
|
302
|
+
//# 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/response/pos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,oBAAY,mBAAmB,GAAG,QAAQ,CAAC;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,GAAG,CAAA;IACf,IAAI,EAAE,GAAG,CAAA;IACT,iBAAiB,EAAE,MAAM,CAAA;IACzB,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,MAAM,EAAE,GAAG,EAAE,CAAA;IACb,KAAK,EAAE,KAAK,CAAA;IACZ,WAAW,EAAE,GAAG,CAAA;IAChB,QAAQ,EAAE,QAAQ,CAAA;CACrB,EAAE,CAAC,CAAA;AAEJ,aAAK,OAAO,GAAG,QAAQ,CAAC;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA;AAEF,aAAK,KAAK,GAAG,QAAQ,CAAC;IAClB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AA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,GAAG,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,EAAE,MAAM,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,iBAAiB,EAAE,MAAM,CAAA;IACzB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,QAAQ,EAAE,MAAM,CAAA;IAChB,wBAAwB,EAAE,MAAM,CAAA;IAChC,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;CACxB,CAAC,CAAA;AAEF,aAAK,KAAK,GAAG,QAAQ,CAAC;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,GAAG,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;CACzB,CAAC,CAAA;AAEF,aAAK,UAAU,GAAG,QAAQ,CAAC;IACvB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Nullable } from "../../../../../base_type";
|
|
2
|
+
export declare type GetAppointmentServiceListResponse = Nullable<{
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
priority: number;
|
|
6
|
+
description: string;
|
|
7
|
+
parent_id: any;
|
|
8
|
+
owner_id: any;
|
|
9
|
+
created_by: any;
|
|
10
|
+
created_at: string;
|
|
11
|
+
group_id: any;
|
|
12
|
+
status: string;
|
|
13
|
+
type: string;
|
|
14
|
+
updated_at: string;
|
|
15
|
+
image_base_url: any;
|
|
16
|
+
image_path: any;
|
|
17
|
+
services: Service[];
|
|
18
|
+
color_detail: ColorDetail;
|
|
19
|
+
}[]>;
|
|
20
|
+
declare type Service = Nullable<{
|
|
21
|
+
id: number;
|
|
22
|
+
name: string;
|
|
23
|
+
duration: number;
|
|
24
|
+
price: number;
|
|
25
|
+
point_bonus: any;
|
|
26
|
+
type: string;
|
|
27
|
+
employee_list: EmployeeList[];
|
|
28
|
+
}>;
|
|
29
|
+
declare type EmployeeList = Nullable<{
|
|
30
|
+
employee: Employee;
|
|
31
|
+
}>;
|
|
32
|
+
declare type Employee = Nullable<{
|
|
33
|
+
name: string;
|
|
34
|
+
code: number;
|
|
35
|
+
working_hours: WorkingHour[];
|
|
36
|
+
}>;
|
|
37
|
+
declare type WorkingHour = Nullable<{
|
|
38
|
+
id: number;
|
|
39
|
+
employee_id: number;
|
|
40
|
+
working_day: string;
|
|
41
|
+
mo: string;
|
|
42
|
+
tu: string;
|
|
43
|
+
we: string;
|
|
44
|
+
th: string;
|
|
45
|
+
fr: string;
|
|
46
|
+
sa: string;
|
|
47
|
+
su: string;
|
|
48
|
+
is_active: number;
|
|
49
|
+
}>;
|
|
50
|
+
declare type ColorDetail = Nullable<{
|
|
51
|
+
id: number;
|
|
52
|
+
type: number;
|
|
53
|
+
item_id: number;
|
|
54
|
+
color_code: string;
|
|
55
|
+
priority: number;
|
|
56
|
+
created_at: string;
|
|
57
|
+
updated_at: string;
|
|
58
|
+
status: number;
|
|
59
|
+
}>;
|
|
60
|
+
export {};
|
|
61
|
+
//# sourceMappingURL=service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../src/api/appointment_api/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MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;CACpB,CAAC,CAAA;AAEF,aAAK,WAAW,GAAG,QAAQ,CAAC;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Nullable } from "../../../../../base_type";
|
|
2
|
+
export declare type GetAppointmentStaffListResponse = Nullable<{
|
|
3
|
+
user_id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
code: number;
|
|
6
|
+
working_hours: WorkingHour[];
|
|
7
|
+
service_ids: ServiceId[];
|
|
8
|
+
blocked_time: any;
|
|
9
|
+
color_code: string;
|
|
10
|
+
image_url: string;
|
|
11
|
+
}[]>;
|
|
12
|
+
declare type WorkingHour = Nullable<{
|
|
13
|
+
id: number;
|
|
14
|
+
employee_id: number;
|
|
15
|
+
working_day: string;
|
|
16
|
+
mo: string;
|
|
17
|
+
tu: string;
|
|
18
|
+
we: string;
|
|
19
|
+
th: string;
|
|
20
|
+
fr: string;
|
|
21
|
+
sa: string;
|
|
22
|
+
su: string;
|
|
23
|
+
is_active: number;
|
|
24
|
+
}>;
|
|
25
|
+
declare type ServiceId = Nullable<{
|
|
26
|
+
id: number;
|
|
27
|
+
employee_id: number;
|
|
28
|
+
service_id: number;
|
|
29
|
+
created_at: any;
|
|
30
|
+
is_active: any;
|
|
31
|
+
}>;
|
|
32
|
+
export {};
|
|
33
|
+
//# 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/response/staff.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,oBAAY,+BAA+B,GAAG,QAAQ,CAAC;IACnD,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,WAAW,EAAE,CAAA;IAC5B,WAAW,EAAE,SAAS,EAAE,CAAA;IACxB,YAAY,EAAE,GAAG,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;CACpB,EAAE,CAAC,CAAA;AAEJ,aAAK,WAAW,GAAG,QAAQ,CAAC;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;CACpB,CAAC,CAAA;AAEF,aAAK,SAAS,GAAG,QAAQ,CAAC;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,GAAG,CAAA;IACf,SAAS,EAAE,GAAG,CAAA;CACjB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { GapApiVersion } from "../../base_type";
|
|
2
2
|
export default class SettingsApi {
|
|
3
3
|
settings: any;
|
|
4
|
+
customer: any;
|
|
5
|
+
service: any;
|
|
6
|
+
staff: any;
|
|
7
|
+
appointment: any;
|
|
8
|
+
pos: any;
|
|
4
9
|
constructor(domain: string, gClientId: string, token: string, version: GapApiVersion);
|
|
5
10
|
}
|
|
6
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/appointment_api/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,WAAW;IAC5B,QAAQ,MAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/appointment_api/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAG9C,MAAM,CAAC,OAAO,OAAO,WAAW;IAC5B,QAAQ,MAAC;IACT,QAAQ,MAAC;IACT,OAAO,MAAC;IACR,KAAK,MAAC;IACN,WAAW,MAAC;IACZ,GAAG,MAAC;gBACQ,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa;CAUvF"}
|
|
@@ -5,5 +5,10 @@ export default class SettingsApi {
|
|
|
5
5
|
Base.setClient(domain, gClientId, token, version);
|
|
6
6
|
const API = getApi(version);
|
|
7
7
|
this.settings = API.Settings;
|
|
8
|
+
this.customer = API.Customer;
|
|
9
|
+
this.service = API.Service;
|
|
10
|
+
this.staff = API.Staff;
|
|
11
|
+
this.appointment = API.Appointment;
|
|
12
|
+
this.pos = API.Pos;
|
|
8
13
|
}
|
|
9
14
|
}
|