gap-nodejs-sdk 1.0.22 → 1.0.25
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/base_type.d.ts +3 -0
- package/dist/base_type.d.ts.map +1 -1
- package/dist/gap-sdk.js +1 -1
- package/dist/http_client/http_client.d.ts +1 -0
- package/dist/http_client/http_client.d.ts.map +1 -1
- package/dist/http_client/http_client.js +4 -3
- package/dist/pos_client_api/1.0.0/api/batch_history.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/call.d.ts +1 -1
- package/dist/pos_client_api/1.0.0/api/call.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/call.js +2 -1
- package/dist/pos_client_api/1.0.0/api/check_in.d.ts +3 -3
- package/dist/pos_client_api/1.0.0/api/check_in.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/check_in.js +9 -3
- package/dist/pos_client_api/1.0.0/api/check_out.d.ts +6 -5
- package/dist/pos_client_api/1.0.0/api/check_out.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/check_out.js +28 -5
- package/dist/pos_client_api/1.0.0/api/combo.d.ts +2 -1
- package/dist/pos_client_api/1.0.0/api/combo.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/combo.js +4 -1
- package/dist/pos_client_api/1.0.0/api/gift_card.d.ts +3 -2
- package/dist/pos_client_api/1.0.0/api/gift_card.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/gift_card.js +6 -2
- package/dist/pos_client_api/1.0.0/api/index.d.ts +0 -1
- package/dist/pos_client_api/1.0.0/api/index.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/index.js +0 -1
- package/dist/pos_client_api/1.0.0/api/printer.d.ts +5 -4
- package/dist/pos_client_api/1.0.0/api/printer.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/printer.js +17 -8
- package/dist/pos_client_api/1.0.0/api/service.d.ts +2 -1
- package/dist/pos_client_api/1.0.0/api/service.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/service.js +4 -1
- package/dist/pos_client_api/1.0.0/api/setting_turn.d.ts +3 -2
- package/dist/pos_client_api/1.0.0/api/setting_turn.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/setting_turn.js +7 -2
- package/dist/pos_client_api/1.0.0/api/staff.d.ts +3 -2
- package/dist/pos_client_api/1.0.0/api/staff.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/staff.js +7 -2
- package/dist/pos_client_api/1.0.0/api/ticket.d.ts +8 -7
- package/dist/pos_client_api/1.0.0/api/ticket.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/api/ticket.js +19 -7
- package/dist/pos_client_api/1.0.0/endpoints/check_out.d.ts +1 -0
- package/dist/pos_client_api/1.0.0/endpoints/check_out.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/endpoints/check_out.js +1 -0
- package/dist/pos_client_api/1.0.0/endpoints/index.d.ts +0 -1
- package/dist/pos_client_api/1.0.0/endpoints/index.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/endpoints/index.js +0 -1
- package/dist/pos_client_api/1.0.0/interfaces/check_out.d.ts +7 -7
- package/dist/pos_client_api/1.0.0/interfaces/check_out.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/gift_card.d.ts +4 -4
- package/dist/pos_client_api/1.0.0/interfaces/gift_card.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/index.d.ts +0 -1
- package/dist/pos_client_api/1.0.0/interfaces/index.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/payroll.d.ts +18 -17
- package/dist/pos_client_api/1.0.0/interfaces/payroll.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/printer.d.ts +5 -5
- package/dist/pos_client_api/1.0.0/interfaces/printer.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/service.d.ts +2 -2
- package/dist/pos_client_api/1.0.0/interfaces/service.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/setting_turn.d.ts +3 -3
- package/dist/pos_client_api/1.0.0/interfaces/setting_turn.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/staff.d.ts +3 -3
- package/dist/pos_client_api/1.0.0/interfaces/staff.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/interfaces/ticket.d.ts +8 -8
- package/dist/pos_client_api/1.0.0/interfaces/ticket.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/models/category.js +10 -10
- package/dist/pos_client_api/1.0.0/models/check_in.d.ts +3 -0
- package/dist/pos_client_api/1.0.0/models/check_in.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/models/check_in.js +94 -3
- package/dist/pos_client_api/1.0.0/models/check_out.d.ts +4 -0
- package/dist/pos_client_api/1.0.0/models/check_out.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/models/check_out.js +383 -0
- package/dist/pos_client_api/1.0.0/models/combo.d.ts +3 -0
- package/dist/pos_client_api/1.0.0/models/combo.d.ts.map +1 -0
- package/dist/pos_client_api/1.0.0/models/combo.js +68 -0
- package/dist/pos_client_api/1.0.0/models/gift_card.d.ts +3 -0
- package/dist/pos_client_api/1.0.0/models/gift_card.d.ts.map +1 -0
- package/dist/pos_client_api/1.0.0/models/gift_card.js +24 -0
- package/dist/pos_client_api/1.0.0/models/index.d.ts +7 -0
- package/dist/pos_client_api/1.0.0/models/index.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/models/index.js +7 -0
- package/dist/pos_client_api/1.0.0/models/payroll.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/models/printer.d.ts +5 -0
- package/dist/pos_client_api/1.0.0/models/printer.d.ts.map +1 -0
- package/dist/pos_client_api/1.0.0/models/printer.js +45 -0
- package/dist/pos_client_api/1.0.0/models/service.d.ts +3 -0
- package/dist/pos_client_api/1.0.0/models/service.d.ts.map +1 -0
- package/dist/pos_client_api/1.0.0/models/service.js +18 -0
- package/dist/pos_client_api/1.0.0/models/setting_turn.d.ts +3 -0
- package/dist/pos_client_api/1.0.0/models/setting_turn.d.ts.map +1 -0
- package/dist/pos_client_api/1.0.0/models/setting_turn.js +3 -0
- package/dist/pos_client_api/1.0.0/models/staff.d.ts +4 -0
- package/dist/pos_client_api/1.0.0/models/staff.d.ts.map +1 -0
- package/dist/pos_client_api/1.0.0/models/staff.js +33 -0
- package/dist/pos_client_api/1.0.0/models/ticket.d.ts +4 -0
- package/dist/pos_client_api/1.0.0/models/ticket.d.ts.map +1 -0
- package/dist/pos_client_api/1.0.0/models/ticket.js +21 -0
- package/dist/pos_client_api/1.0.0/types/request/check_in.d.ts +5 -2
- package/dist/pos_client_api/1.0.0/types/request/check_in.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/request/check_out.d.ts +4 -0
- package/dist/pos_client_api/1.0.0/types/request/check_out.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/request/gift_card.d.ts +1 -1
- package/dist/pos_client_api/1.0.0/types/request/gift_card.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/request/index.d.ts +0 -1
- package/dist/pos_client_api/1.0.0/types/request/index.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/request/index.js +0 -1
- package/dist/pos_client_api/1.0.0/types/request/printer.d.ts +8 -4
- package/dist/pos_client_api/1.0.0/types/request/printer.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/request/staff.d.ts +1 -1
- package/dist/pos_client_api/1.0.0/types/request/staff.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/request/ticket.d.ts +1 -1
- package/dist/pos_client_api/1.0.0/types/request/ticket.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/response/check_in.d.ts +131 -64
- package/dist/pos_client_api/1.0.0/types/response/check_in.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/response/check_out.d.ts +333 -0
- package/dist/pos_client_api/1.0.0/types/response/check_out.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/response/combo.d.ts +61 -0
- package/dist/pos_client_api/1.0.0/types/response/combo.d.ts.map +1 -0
- package/dist/pos_client_api/1.0.0/types/{request/appointment.js → response/combo.js} +0 -0
- package/dist/pos_client_api/1.0.0/types/response/gift_card.d.ts +23 -0
- package/dist/pos_client_api/1.0.0/types/response/gift_card.d.ts.map +1 -0
- package/dist/pos_client_api/1.0.0/types/response/gift_card.js +1 -0
- package/dist/pos_client_api/1.0.0/types/response/index.d.ts +7 -0
- package/dist/pos_client_api/1.0.0/types/response/index.d.ts.map +1 -1
- package/dist/pos_client_api/1.0.0/types/response/index.js +7 -0
- package/dist/pos_client_api/1.0.0/types/response/printer.d.ts +27 -0
- package/dist/pos_client_api/1.0.0/types/response/printer.d.ts.map +1 -0
- package/dist/pos_client_api/1.0.0/types/response/printer.js +1 -0
- package/dist/pos_client_api/1.0.0/types/response/service.d.ts +17 -0
- package/dist/pos_client_api/1.0.0/types/response/service.d.ts.map +1 -0
- package/dist/pos_client_api/1.0.0/types/response/service.js +1 -0
- package/dist/pos_client_api/1.0.0/types/response/setting_turn.d.ts +4 -0
- package/dist/pos_client_api/1.0.0/types/response/setting_turn.d.ts.map +1 -0
- package/dist/pos_client_api/1.0.0/types/response/setting_turn.js +1 -0
- package/dist/pos_client_api/1.0.0/types/response/staff.d.ts +26 -0
- package/dist/pos_client_api/1.0.0/types/response/staff.d.ts.map +1 -0
- package/dist/pos_client_api/1.0.0/types/response/staff.js +1 -0
- package/dist/pos_client_api/1.0.0/types/response/ticket.d.ts +20 -0
- package/dist/pos_client_api/1.0.0/types/response/ticket.d.ts.map +1 -0
- package/dist/pos_client_api/1.0.0/types/response/ticket.js +1 -0
- package/dist/pos_client_api/PosClientApi.d.ts +0 -1
- package/dist/pos_client_api/PosClientApi.d.ts.map +1 -1
- package/dist/pos_client_api/PosClientApi.js +0 -31
- package/package.json +1 -1
- package/dist/pos_client_api/1.0.0/api/appointment.d.ts +0 -9
- package/dist/pos_client_api/1.0.0/api/appointment.d.ts.map +0 -1
- package/dist/pos_client_api/1.0.0/api/appointment.js +0 -29
- package/dist/pos_client_api/1.0.0/endpoints/appointment.d.ts +0 -7
- package/dist/pos_client_api/1.0.0/endpoints/appointment.d.ts.map +0 -1
- package/dist/pos_client_api/1.0.0/endpoints/appointment.js +0 -5
- package/dist/pos_client_api/1.0.0/interfaces/appointment.d.ts +0 -8
- package/dist/pos_client_api/1.0.0/interfaces/appointment.d.ts.map +0 -1
- package/dist/pos_client_api/1.0.0/interfaces/appointment.js +0 -2
- package/dist/pos_client_api/1.0.0/types/request/appointment.d.ts +0 -13
- package/dist/pos_client_api/1.0.0/types/request/appointment.d.ts.map +0 -1
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { Nullable } from "../../../../base_type";
|
|
2
|
+
export declare type PostUpdateInServiceResponse = GetCheckOutInfoResponse & {
|
|
3
|
+
checkin_number: number | null;
|
|
4
|
+
appointment_id: number | null;
|
|
5
|
+
in_service: 0 | 1 | null;
|
|
6
|
+
};
|
|
2
7
|
export declare type GetCheckOutHistoryInfoResponse = Nullable<{
|
|
3
8
|
id: number;
|
|
4
9
|
order_code: string;
|
|
@@ -7,4 +12,332 @@ export declare type GetCheckOutHistoryInfoResponse = Nullable<{
|
|
|
7
12
|
total_after_discount: number;
|
|
8
13
|
qr_code: any;
|
|
9
14
|
}>;
|
|
15
|
+
export declare type GetCheckOutInfoResponse = Nullable<{
|
|
16
|
+
id: number;
|
|
17
|
+
customer_id: number;
|
|
18
|
+
customer_name: string;
|
|
19
|
+
customer_phone: string;
|
|
20
|
+
customer_email: any;
|
|
21
|
+
customer_address: any;
|
|
22
|
+
payment_method: any;
|
|
23
|
+
currency: any;
|
|
24
|
+
start_time: any;
|
|
25
|
+
expected_end_time: any;
|
|
26
|
+
end_time: any;
|
|
27
|
+
picked_up_time: any;
|
|
28
|
+
promotion_code: any;
|
|
29
|
+
total_before_discount: number;
|
|
30
|
+
total_after_discount: number;
|
|
31
|
+
employee_id: any;
|
|
32
|
+
employee_name: any;
|
|
33
|
+
type: string;
|
|
34
|
+
note: any;
|
|
35
|
+
owner_note: any;
|
|
36
|
+
order_status: number;
|
|
37
|
+
status: number;
|
|
38
|
+
created_at: string;
|
|
39
|
+
updated_at: string;
|
|
40
|
+
cancel_reason: any;
|
|
41
|
+
delivered_time: any;
|
|
42
|
+
completed_time: any;
|
|
43
|
+
order_code: string;
|
|
44
|
+
checkin_id: number;
|
|
45
|
+
total_change: number;
|
|
46
|
+
tip: GetCheckOutInfoResponseTip;
|
|
47
|
+
tax: number;
|
|
48
|
+
is_waiting: number;
|
|
49
|
+
is_recheck: number;
|
|
50
|
+
gift_card_price: any;
|
|
51
|
+
pax_standalone_active: any;
|
|
52
|
+
ach_payment_active: any;
|
|
53
|
+
ach_payment_data: any;
|
|
54
|
+
total_cash_discount: number;
|
|
55
|
+
is_tip_on_device: number;
|
|
56
|
+
tip_by_credit_card: number;
|
|
57
|
+
service_fee: number;
|
|
58
|
+
external_credit_card: number;
|
|
59
|
+
qr_code: any;
|
|
60
|
+
pos_key: string;
|
|
61
|
+
pos_status: string;
|
|
62
|
+
invoice: GetCheckOutInfoResponseInvoice;
|
|
63
|
+
visit_count: number;
|
|
64
|
+
current_point: number;
|
|
65
|
+
last_visited: string;
|
|
66
|
+
customer: GetCheckOutInfoResponseCustomer;
|
|
67
|
+
list_promotion: any[];
|
|
68
|
+
list_redeem: GetCheckOutInfoResponseRedeem[];
|
|
69
|
+
order_discount: GetCheckOutInfoResponseOrderDiscount[];
|
|
70
|
+
order_items: GetCheckOutInfoResponseOrder[];
|
|
71
|
+
created_date: string;
|
|
72
|
+
created_time: string;
|
|
73
|
+
payment: GetCheckOutInfoResponsePayment[];
|
|
74
|
+
refund_amount: any;
|
|
75
|
+
payment_payment_id: any;
|
|
76
|
+
payment_order_id: any;
|
|
77
|
+
services: GetCheckOutInfoResponseService[];
|
|
78
|
+
staffs: GetCheckOutInfoResponseStaff[];
|
|
79
|
+
order_batch: GetCheckOutInfoResponseOrderBatch;
|
|
80
|
+
last_four: any;
|
|
81
|
+
customer_point: number;
|
|
82
|
+
card_type: any;
|
|
83
|
+
entry_type: any;
|
|
84
|
+
payment_history: any[];
|
|
85
|
+
amount_info: any;
|
|
86
|
+
customer_type: string;
|
|
87
|
+
tax_product: number;
|
|
88
|
+
tax_service: number;
|
|
89
|
+
deposit: any;
|
|
90
|
+
product_subtotal: number;
|
|
91
|
+
service_subtotal: number;
|
|
92
|
+
}>;
|
|
93
|
+
export declare type GetCheckOutInfoResponseCustomer = Nullable<{
|
|
94
|
+
id: number;
|
|
95
|
+
first_name: any;
|
|
96
|
+
last_name: any;
|
|
97
|
+
full_name: string;
|
|
98
|
+
phone: string;
|
|
99
|
+
email: any;
|
|
100
|
+
address: any;
|
|
101
|
+
city: any;
|
|
102
|
+
state: any;
|
|
103
|
+
country: any;
|
|
104
|
+
gender: any;
|
|
105
|
+
birthday: any;
|
|
106
|
+
create_at: string;
|
|
107
|
+
update_at: string;
|
|
108
|
+
status: any;
|
|
109
|
+
group_id: any;
|
|
110
|
+
note: any;
|
|
111
|
+
parent_id: number;
|
|
112
|
+
rating: any;
|
|
113
|
+
is_yelp: any;
|
|
114
|
+
reachable_email: number;
|
|
115
|
+
reachable_push: number;
|
|
116
|
+
reachable_sms: number;
|
|
117
|
+
visit_count: number;
|
|
118
|
+
last_visited: string;
|
|
119
|
+
image_url: any;
|
|
120
|
+
address2: any;
|
|
121
|
+
postal_code: any;
|
|
122
|
+
is_send_sms: number;
|
|
123
|
+
is_import: number;
|
|
124
|
+
is_checked_in: number;
|
|
125
|
+
current_point: number;
|
|
126
|
+
lifetime_point: number;
|
|
127
|
+
type: string;
|
|
128
|
+
last_review: any;
|
|
129
|
+
review_type: string;
|
|
130
|
+
}>;
|
|
131
|
+
export declare type GetCheckOutInfoResponseRedeem = Nullable<{
|
|
132
|
+
id: number;
|
|
133
|
+
point: number;
|
|
134
|
+
content: string;
|
|
135
|
+
created_at: string;
|
|
136
|
+
updated_at: string;
|
|
137
|
+
is_active: number;
|
|
138
|
+
logic_type: string;
|
|
139
|
+
logic_value: string;
|
|
140
|
+
}>;
|
|
141
|
+
export declare type GetCheckOutInfoResponseOrder = Nullable<{
|
|
142
|
+
item_variant: any[];
|
|
143
|
+
item_modifier: any[];
|
|
144
|
+
id: number;
|
|
145
|
+
order_id: number;
|
|
146
|
+
item_id: number;
|
|
147
|
+
quantity: number;
|
|
148
|
+
item_name: string;
|
|
149
|
+
price: number;
|
|
150
|
+
note: any;
|
|
151
|
+
owner_note: any;
|
|
152
|
+
status: number;
|
|
153
|
+
created_at: string;
|
|
154
|
+
updated_at: any;
|
|
155
|
+
cancel_reason: any;
|
|
156
|
+
item_type: number;
|
|
157
|
+
staff_id: number;
|
|
158
|
+
staff_name: string;
|
|
159
|
+
combo_id: number;
|
|
160
|
+
sub_total: number;
|
|
161
|
+
items: GetCheckOutInfoResponseOrderItem[];
|
|
162
|
+
}>;
|
|
163
|
+
export declare type GetCheckOutInfoResponseOrderItem = Nullable<{
|
|
164
|
+
id: number;
|
|
165
|
+
item_type: number;
|
|
166
|
+
item_id: number;
|
|
167
|
+
item_name: string;
|
|
168
|
+
quantity: number;
|
|
169
|
+
price: number;
|
|
170
|
+
staff_id: number;
|
|
171
|
+
combo_name: string;
|
|
172
|
+
combo_id: number;
|
|
173
|
+
note: any;
|
|
174
|
+
gift_card_code: any;
|
|
175
|
+
}>;
|
|
176
|
+
export declare type GetCheckOutInfoResponseService = Nullable<{
|
|
177
|
+
staff_name: string;
|
|
178
|
+
items: GetCheckOutInfoResponseServiceItem[];
|
|
179
|
+
}>;
|
|
180
|
+
export declare type GetCheckOutInfoResponseServiceItem = Nullable<{
|
|
181
|
+
item_name: string;
|
|
182
|
+
quantity: number;
|
|
183
|
+
note: any;
|
|
184
|
+
price: number;
|
|
185
|
+
supply_share: number;
|
|
186
|
+
base_service_price: number;
|
|
187
|
+
card_charge_value: number;
|
|
188
|
+
discount_charge_value: number;
|
|
189
|
+
tip_paid: number;
|
|
190
|
+
tip_on_credit_card_share: number;
|
|
191
|
+
commission: number;
|
|
192
|
+
cash_discount: number;
|
|
193
|
+
}>;
|
|
194
|
+
export declare type GetCheckOutInfoResponseStaff = Nullable<{
|
|
195
|
+
employee_name: string;
|
|
196
|
+
employee_image?: string;
|
|
197
|
+
employee_color: string;
|
|
198
|
+
}>;
|
|
199
|
+
export declare type GetCheckOutInfoResponseOrderBatch = Nullable<{
|
|
200
|
+
card_amount: number;
|
|
201
|
+
cash_amount: number;
|
|
202
|
+
check_amount: number;
|
|
203
|
+
giftcard_amount: number;
|
|
204
|
+
ach_amount: number;
|
|
205
|
+
external_cc_amount: number;
|
|
206
|
+
subtotal: number;
|
|
207
|
+
tax: number;
|
|
208
|
+
tip: number;
|
|
209
|
+
discount: number;
|
|
210
|
+
redeem: number;
|
|
211
|
+
total_income: number;
|
|
212
|
+
cash_discount: number;
|
|
213
|
+
change: number;
|
|
214
|
+
}>;
|
|
215
|
+
export declare type GetCheckOutInfoResponseTip = Nullable<{
|
|
216
|
+
data: GetCheckOutInfoResponseDaum[];
|
|
217
|
+
id: number;
|
|
218
|
+
order_id: number;
|
|
219
|
+
created_at: string;
|
|
220
|
+
updated_at: any;
|
|
221
|
+
status: any;
|
|
222
|
+
tip_type: string;
|
|
223
|
+
total_tip: number;
|
|
224
|
+
data_after_charge: string;
|
|
225
|
+
payment_method: any;
|
|
226
|
+
giftcard_code: any;
|
|
227
|
+
is_updated: number;
|
|
228
|
+
}>;
|
|
229
|
+
export declare type GetCheckOutInfoResponseDaum = Nullable<{
|
|
230
|
+
staff_id: number;
|
|
231
|
+
staff_name: string;
|
|
232
|
+
value_type: string;
|
|
233
|
+
value: string;
|
|
234
|
+
total: string;
|
|
235
|
+
}>;
|
|
236
|
+
export declare type GetCheckOutInfoResponseInvoice = Nullable<{
|
|
237
|
+
id: number;
|
|
238
|
+
checkout_id: number;
|
|
239
|
+
customer_id: any;
|
|
240
|
+
customer_name: string;
|
|
241
|
+
customer_phone: any;
|
|
242
|
+
promotion_code: any;
|
|
243
|
+
redeem_id: any;
|
|
244
|
+
total_discount: number;
|
|
245
|
+
has_tax: number;
|
|
246
|
+
tax_price: number;
|
|
247
|
+
total_before_discount: number;
|
|
248
|
+
total_after_discount: number;
|
|
249
|
+
total_after_tax: number;
|
|
250
|
+
payment_method: any;
|
|
251
|
+
employee_id: any;
|
|
252
|
+
employee_name: any;
|
|
253
|
+
status: number;
|
|
254
|
+
created_at: string;
|
|
255
|
+
updated_at: string;
|
|
256
|
+
type: string;
|
|
257
|
+
invoice_details: GetCheckOutInfoResponseInvoiceDetail[];
|
|
258
|
+
}>;
|
|
259
|
+
export declare type GetCheckOutInfoResponseInvoiceDetail = Nullable<{
|
|
260
|
+
id: number;
|
|
261
|
+
invoice_id: number;
|
|
262
|
+
product_type: string;
|
|
263
|
+
product_id: number;
|
|
264
|
+
product_name: string;
|
|
265
|
+
description: any;
|
|
266
|
+
duration?: number;
|
|
267
|
+
product_price: number;
|
|
268
|
+
quantity: number;
|
|
269
|
+
promotion_code: any;
|
|
270
|
+
discount_price: number;
|
|
271
|
+
has_tax: number;
|
|
272
|
+
tax_price: number;
|
|
273
|
+
total_after_tax: number;
|
|
274
|
+
total_before_discount: number;
|
|
275
|
+
total_after_discount: number;
|
|
276
|
+
detail: string;
|
|
277
|
+
payment_method: any;
|
|
278
|
+
employee_id: any;
|
|
279
|
+
employee_name: any;
|
|
280
|
+
status: number;
|
|
281
|
+
created_at: string;
|
|
282
|
+
updated_at: any;
|
|
283
|
+
}>;
|
|
284
|
+
export declare type GetCheckOutInfoResponseOrderDiscount = Nullable<{
|
|
285
|
+
id: number;
|
|
286
|
+
order_id: number;
|
|
287
|
+
item_type: string;
|
|
288
|
+
item_id: number;
|
|
289
|
+
discount_type: string;
|
|
290
|
+
discount_value: number;
|
|
291
|
+
created_at: string;
|
|
292
|
+
updated_at: any;
|
|
293
|
+
status: number;
|
|
294
|
+
total_value: number;
|
|
295
|
+
total_discount: number;
|
|
296
|
+
}>;
|
|
297
|
+
export declare type GetCheckOutInfoResponsePayment = Nullable<{
|
|
298
|
+
id: number;
|
|
299
|
+
order_id: number;
|
|
300
|
+
payment_method_type: number;
|
|
301
|
+
payment_method_name: string;
|
|
302
|
+
total_paid: number;
|
|
303
|
+
created_at: string;
|
|
304
|
+
updated_at: any;
|
|
305
|
+
status: number;
|
|
306
|
+
}>;
|
|
307
|
+
export declare type GetCheckOutHistoryListResponse = GetCheckOutInfoResponse;
|
|
308
|
+
export declare type GetCheckOutBatchCloseSummaryResponse = Nullable<{
|
|
309
|
+
amount: number;
|
|
310
|
+
count: number;
|
|
311
|
+
summary: GetCheckOutBatchCloseSummaryResponseSummary;
|
|
312
|
+
}>;
|
|
313
|
+
export declare type GetCheckOutBatchCloseSummaryResponseSummary = Nullable<{
|
|
314
|
+
card_amount: number;
|
|
315
|
+
card_amount_count: number;
|
|
316
|
+
cash_amount: number;
|
|
317
|
+
cash_amount_count: number;
|
|
318
|
+
check_amount: number;
|
|
319
|
+
check_amount_count: number;
|
|
320
|
+
giftcard_amount: number;
|
|
321
|
+
giftcard_amount_count: number;
|
|
322
|
+
ach_amount: number;
|
|
323
|
+
ach_amount_count: number;
|
|
324
|
+
external_cc_amount: number;
|
|
325
|
+
external_cc_amount_count: number;
|
|
326
|
+
subtotal: number;
|
|
327
|
+
tax: number;
|
|
328
|
+
tip: number;
|
|
329
|
+
discount: number;
|
|
330
|
+
redeem: number;
|
|
331
|
+
total_income: number;
|
|
332
|
+
change: number;
|
|
333
|
+
order_count: number;
|
|
334
|
+
cash_discount: number;
|
|
335
|
+
service_fee: number;
|
|
336
|
+
total: number;
|
|
337
|
+
}>;
|
|
338
|
+
export declare type PostCheckOutAddItemResponse = GetCheckOutInfoResponse;
|
|
339
|
+
export declare type GetCheckoutResendRatingResponse = Nullable<{
|
|
340
|
+
sent_id: string;
|
|
341
|
+
topic: string;
|
|
342
|
+
}>;
|
|
10
343
|
//# sourceMappingURL=check_out.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check_out.d.ts","sourceRoot":"","sources":["../../../../../src/pos_client_api/1.0.0/types/response/check_out.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAE/C,oBAAY,8BAA8B,GAAG,QAAQ,CAAC;IAClD,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,OAAO,EAAE,GAAG,CAAA;CACf,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"check_out.d.ts","sourceRoot":"","sources":["../../../../../src/pos_client_api/1.0.0/types/response/check_out.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAE/C,oBAAY,2BAA2B,GAAG,uBAAuB,GAAG;IAChE,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,EAAE,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;CAC5B,CAAA;AAED,oBAAY,8BAA8B,GAAG,QAAQ,CAAC;IAClD,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,OAAO,EAAE,GAAG,CAAA;CACf,CAAC,CAAA;AAEF,oBAAY,uBAAuB,GAAG,QAAQ,CAAC;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,MAAM,CAAA;IACtB,cAAc,EAAE,GAAG,CAAA;IAC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;CAChB,CAAC,CAAA"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Nullable } from "../../../../base_type";
|
|
2
|
+
export declare type GetComboSiteInfoResponse = Nullable<{
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
image: any;
|
|
7
|
+
category_id: number;
|
|
8
|
+
note: any;
|
|
9
|
+
type: string;
|
|
10
|
+
visibility: any;
|
|
11
|
+
prepare_duration: any;
|
|
12
|
+
nutritional_information: any;
|
|
13
|
+
slug: any;
|
|
14
|
+
modifier: any;
|
|
15
|
+
created_at: string;
|
|
16
|
+
updated_at: any;
|
|
17
|
+
status: number;
|
|
18
|
+
sku: any;
|
|
19
|
+
price: number;
|
|
20
|
+
duration: number;
|
|
21
|
+
priority: any;
|
|
22
|
+
combo_item: ComboItem[];
|
|
23
|
+
}>;
|
|
24
|
+
export declare type ComboItem = Nullable<{
|
|
25
|
+
id: number;
|
|
26
|
+
item_combo_id: number;
|
|
27
|
+
item_id: number;
|
|
28
|
+
item_type: string;
|
|
29
|
+
price: number;
|
|
30
|
+
priority: number;
|
|
31
|
+
type: string;
|
|
32
|
+
data: string;
|
|
33
|
+
created_at: string;
|
|
34
|
+
updated_at: any;
|
|
35
|
+
status: number;
|
|
36
|
+
item_detail: ComboItemDetail;
|
|
37
|
+
}>;
|
|
38
|
+
export declare type ComboItemDetail = Nullable<{
|
|
39
|
+
id: number;
|
|
40
|
+
name: string;
|
|
41
|
+
create_at: string;
|
|
42
|
+
type: any;
|
|
43
|
+
status: number;
|
|
44
|
+
group_id: number;
|
|
45
|
+
priority: number;
|
|
46
|
+
category_id?: number;
|
|
47
|
+
onwer_id: any;
|
|
48
|
+
price?: number;
|
|
49
|
+
note: string;
|
|
50
|
+
point_bonus: any;
|
|
51
|
+
duration: number;
|
|
52
|
+
buffer_time: any;
|
|
53
|
+
web_booking_visible: string;
|
|
54
|
+
supply_share: number;
|
|
55
|
+
show_on_checkin: number;
|
|
56
|
+
show_on_booking: number;
|
|
57
|
+
show_on_pos: number;
|
|
58
|
+
image_base_url: any;
|
|
59
|
+
image_path: any;
|
|
60
|
+
}>;
|
|
61
|
+
//# sourceMappingURL=combo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combo.d.ts","sourceRoot":"","sources":["../../../../../src/pos_client_api/1.0.0/types/response/combo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAE/C,oBAAY,wBAAwB,GAAG,QAAQ,CAAC;IAC5C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,GAAG,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,GAAG,CAAA;IACT,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,GAAG,CAAA;IACf,gBAAgB,EAAE,GAAG,CAAA;IACrB,uBAAuB,EAAE,GAAG,CAAA;IAC5B,IAAI,EAAE,GAAG,CAAA;IACT,QAAQ,EAAE,GAAG,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,GAAG,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,GAAG,CAAA;IACR,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,GAAG,CAAA;IACb,UAAU,EAAE,SAAS,EAAE,CAAA;CAC1B,CAAC,CAAA;AAEF,oBAAY,SAAS,GAAG,QAAQ,CAAC;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,aAAa,EAAE,MAAM,CAAA;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,GAAG,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,eAAe,CAAA;CAC/B,CAAC,CAAA;AAEF,oBAAY,eAAe,GAAG,QAAQ,CAAC;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,GAAG,CAAA;IACT,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAE,GAAG,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,GAAG,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,GAAG,CAAA;IAChB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,YAAY,EAAE,MAAM,CAAA;IACpB,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,MAAM,CAAA;IACvB,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,GAAG,CAAA;IACnB,UAAU,EAAE,GAAG,CAAA;CAClB,CAAC,CAAA"}
|
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Nullable } from "../../../../base_type";
|
|
2
|
+
export declare type GetCheckGiftCardResponse = Nullable<{
|
|
3
|
+
id: number;
|
|
4
|
+
code: string;
|
|
5
|
+
amount: number;
|
|
6
|
+
balance: number;
|
|
7
|
+
price: number;
|
|
8
|
+
data: any;
|
|
9
|
+
customer_id: any;
|
|
10
|
+
customer_name: string;
|
|
11
|
+
customer_phone: any;
|
|
12
|
+
type: string;
|
|
13
|
+
source: string;
|
|
14
|
+
staff_id: number;
|
|
15
|
+
staff_name: string;
|
|
16
|
+
status: number;
|
|
17
|
+
created_at: string;
|
|
18
|
+
updated_at: string;
|
|
19
|
+
order_id: any;
|
|
20
|
+
last_used_order_id: any;
|
|
21
|
+
history: any[];
|
|
22
|
+
}>;
|
|
23
|
+
//# sourceMappingURL=gift_card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gift_card.d.ts","sourceRoot":"","sources":["../../../../../src/pos_client_api/1.0.0/types/response/gift_card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAE/C,oBAAY,wBAAwB,GAAG,QAAQ,CAAC;IAC5C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,GAAG,CAAA;IACT,WAAW,EAAE,GAAG,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,GAAG,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,GAAG,CAAA;IACb,kBAAkB,EAAE,GAAG,CAAA;IACvB,OAAO,EAAE,GAAG,EAAE,CAAA;CACjB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -11,6 +11,13 @@ export * from './time_keeping';
|
|
|
11
11
|
export * from './business';
|
|
12
12
|
export * from './category';
|
|
13
13
|
export * from './key_storage';
|
|
14
|
+
export * from './staff';
|
|
15
|
+
export * from './service';
|
|
16
|
+
export * from './printer';
|
|
17
|
+
export * from './setting_turn';
|
|
18
|
+
export * from './ticket';
|
|
19
|
+
export * from './gift_card';
|
|
20
|
+
export * from './combo';
|
|
14
21
|
import { MetaResponse } from "./meta";
|
|
15
22
|
export declare type DataWithMeta<T> = {
|
|
16
23
|
data: T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/pos_client_api/1.0.0/types/response/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/pos_client_api/1.0.0/types/response/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AAExB,OAAO,EAAC,YAAY,EAAC,MAAM,QAAQ,CAAC;AAEpC,oBAAY,YAAY,CAAC,CAAC,IAAI;IAC1B,IAAI,EAAE,CAAC,CAAC;IACR,KAAK,EAAE,YAAY,CAAA;CACtB,CAAA"}
|
|
@@ -11,3 +11,10 @@ export * from './time_keeping';
|
|
|
11
11
|
export * from './business';
|
|
12
12
|
export * from './category';
|
|
13
13
|
export * from './key_storage';
|
|
14
|
+
export * from './staff';
|
|
15
|
+
export * from './service';
|
|
16
|
+
export * from './printer';
|
|
17
|
+
export * from './setting_turn';
|
|
18
|
+
export * from './ticket';
|
|
19
|
+
export * from './gift_card';
|
|
20
|
+
export * from './combo';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Nullable } from "../../../../base_type";
|
|
2
|
+
export declare type GetPrinterListResponse = Nullable<{
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
printer_name: string;
|
|
6
|
+
printer_id: string;
|
|
7
|
+
ip_address: string;
|
|
8
|
+
printer_mac_address: string;
|
|
9
|
+
is_bluetooth: number;
|
|
10
|
+
data: string;
|
|
11
|
+
created_at: string;
|
|
12
|
+
updated_at: string;
|
|
13
|
+
status: any;
|
|
14
|
+
}>;
|
|
15
|
+
export declare type GetPrinterDetailResponse = GetPrinterListResponse;
|
|
16
|
+
export declare type CreatePrinterInfoResponse = Nullable<{
|
|
17
|
+
id: number;
|
|
18
|
+
name: string;
|
|
19
|
+
printer_name: string;
|
|
20
|
+
printer_id: string;
|
|
21
|
+
ip_address: string;
|
|
22
|
+
printer_mac_address: string;
|
|
23
|
+
is_bluetooth: number;
|
|
24
|
+
data: string;
|
|
25
|
+
}>;
|
|
26
|
+
export declare type UpdatePrinterInfoResponse = GetPrinterListResponse;
|
|
27
|
+
//# sourceMappingURL=printer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"printer.d.ts","sourceRoot":"","sources":["../../../../../src/pos_client_api/1.0.0/types/response/printer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAE/C,oBAAY,sBAAsB,GAAG,QAAQ,CAAC;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,GAAG,CAAA;CACd,CAAC,CAAA;AAEF,oBAAY,wBAAwB,GAAG,sBAAsB,CAAA;AAE7D,oBAAY,yBAAyB,GAAG,QAAQ,CAAC;IAC7C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AAEF,oBAAY,yBAAyB,GAAG,sBAAsB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Nullable } from "../../../../base_type";
|
|
2
|
+
export declare type GetServiceListResponse = Nullable<{
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
create_at: string;
|
|
6
|
+
status: number;
|
|
7
|
+
priority: number;
|
|
8
|
+
category_id: number;
|
|
9
|
+
price: number;
|
|
10
|
+
note: string;
|
|
11
|
+
point_bonus: any;
|
|
12
|
+
duration: number;
|
|
13
|
+
buffer_time: any;
|
|
14
|
+
web_booking_visible: string;
|
|
15
|
+
group_id: number;
|
|
16
|
+
}>;
|
|
17
|
+
//# sourceMappingURL=service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../src/pos_client_api/1.0.0/types/response/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAE/C,oBAAY,sBAAsB,GAAG,QAAQ,CAAC;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,GAAG,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,GAAG,CAAA;IAChB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setting_turn.d.ts","sourceRoot":"","sources":["../../../../../src/pos_client_api/1.0.0/types/response/setting_turn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAE/C,oBAAY,sBAAsB,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAA;AACrD,oBAAY,uBAAuB,GAAG,sBAAsB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Nullable } from "../../../../base_type";
|
|
2
|
+
export declare type GetStaffListResponse = Nullable<{
|
|
3
|
+
user_id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
image_url: string;
|
|
6
|
+
color_code: string;
|
|
7
|
+
code: number;
|
|
8
|
+
status: number;
|
|
9
|
+
permission: GetStaffListResponsePermission[];
|
|
10
|
+
}>;
|
|
11
|
+
export declare type GetStaffListResponsePermission = Nullable<{
|
|
12
|
+
id: number;
|
|
13
|
+
name: string;
|
|
14
|
+
type: string;
|
|
15
|
+
status: number;
|
|
16
|
+
created_at: string;
|
|
17
|
+
updated_at: string;
|
|
18
|
+
}>;
|
|
19
|
+
export declare type GetStaffListByCheckoutResponse = Nullable<{
|
|
20
|
+
user_id: number;
|
|
21
|
+
name: string;
|
|
22
|
+
image_url?: string;
|
|
23
|
+
color_code: string;
|
|
24
|
+
sub_total: number;
|
|
25
|
+
}>;
|
|
26
|
+
//# sourceMappingURL=staff.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../src/pos_client_api/1.0.0/types/response/staff.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAE/C,oBAAY,oBAAoB,GAAG,QAAQ,CAAC;IACxC,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,8BAA8B,EAAE,CAAA;CAC/C,CAAC,CAAA;AAEF,oBAAY,8BAA8B,GAAG,QAAQ,CAAC;IAClD,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACrB,CAAC,CAAA;AAEF,oBAAY,8BAA8B,GAAG,QAAQ,CAAC;IAClD,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;CACpB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Nullable } from "../../../../base_type";
|
|
2
|
+
export declare type Ticket = Nullable<{
|
|
3
|
+
id: number;
|
|
4
|
+
subject: string;
|
|
5
|
+
content?: string;
|
|
6
|
+
created_at: string;
|
|
7
|
+
type: string;
|
|
8
|
+
group_id?: any;
|
|
9
|
+
priority: number;
|
|
10
|
+
status: number;
|
|
11
|
+
name: string;
|
|
12
|
+
}>;
|
|
13
|
+
export declare type GetTicketListResponse = Nullable<{
|
|
14
|
+
items: Ticket[];
|
|
15
|
+
template_text: string;
|
|
16
|
+
}>;
|
|
17
|
+
export declare type CreateTicketTemplateResponse = Ticket;
|
|
18
|
+
export declare type UpdateTicketTemplateResponse = Ticket;
|
|
19
|
+
export declare type GetTicketTemplateResponse = Nullable<Ticket[]>;
|
|
20
|
+
//# sourceMappingURL=ticket.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ticket.d.ts","sourceRoot":"","sources":["../../../../../src/pos_client_api/1.0.0/types/response/ticket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,uBAAuB,CAAC;AAE/C,oBAAY,MAAM,GAAG,QAAQ,CAAC;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,GAAG,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AAEF,oBAAY,qBAAqB,GAAG,QAAQ,CAAC;IACzC,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;CACxB,CAAC,CAAA;AAEF,oBAAY,4BAA4B,GAAG,MAAM,CAAA;AAEjD,oBAAY,4BAA4B,GAAG,MAAM,CAAA;AAEjD,oBAAY,yBAAyB,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PosClientApi.d.ts","sourceRoot":"","sources":["../../src/pos_client_api/PosClientApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"PosClientApi.d.ts","sourceRoot":"","sources":["../../src/pos_client_api/PosClientApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,cAAc,CAAC;AAG3C,qBAAa,YAAY;IACrB,aAAa,MAAC;IACd,QAAQ,MAAC;IACT,IAAI,MAAC;IACL,QAAQ,MAAC;IACT,QAAQ,MAAC;IACT,SAAS,MAAC;IACV,KAAK,MAAC;IACN,QAAQ,MAAC;IACT,SAAS,MAAC;IACV,MAAM,MAAC;IACP,WAAW,MAAC;IACZ,KAAK,MAAC;IACN,OAAO,MAAC;IACR,OAAO,MAAC;IACR,OAAO,MAAC;IACR,YAAY,MAAC;IACb,KAAK,MAAC;IACN,MAAM,MAAC;IACP,YAAY,MAAC;IACb,mBAAmB,MAAC;IACpB,IAAI,MAAC;gBAEO,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa;CAyBvF"}
|