gap-nodejs-sdk 1.0.194 → 1.0.196
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/types/request/appointment.d.ts +15 -15
- package/dist/api/appointment_api/1.0.0/types/request/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/customer.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts +3 -3
- package/dist/api/appointment_api/1.0.0/types/request/pos.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/service.d.ts +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/service.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/settings.d.ts +2 -2
- package/dist/api/appointment_api/1.0.0/types/request/settings.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts +1 -1
- package/dist/api/appointment_api/1.0.0/types/request/staff.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts +21 -21
- package/dist/api/appointment_api/1.0.0/types/response/appointment.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts +2 -2
- package/dist/api/appointment_api/1.0.0/types/response/customer.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts +13 -13
- package/dist/api/appointment_api/1.0.0/types/response/pos.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/service.d.ts +6 -6
- package/dist/api/appointment_api/1.0.0/types/response/service.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/settings.d.ts +2 -2
- package/dist/api/appointment_api/1.0.0/types/response/settings.d.ts.map +1 -1
- package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts +3 -3
- package/dist/api/appointment_api/1.0.0/types/response/staff.d.ts.map +1 -1
- package/dist/api/base_api/1.0.0/types/request/auth.d.ts +3 -3
- package/dist/api/base_api/1.0.0/types/request/auth.d.ts.map +1 -1
- package/dist/api/base_api/1.0.0/types/response/auth.d.ts +6 -6
- package/dist/api/base_api/1.0.0/types/response/auth.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts +5 -5
- package/dist/api/go_check_in_api/1.0.0/types/request/category.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts +3 -3
- package/dist/api/go_check_in_api/1.0.0/types/request/notification.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts +6 -6
- package/dist/api/go_check_in_api/1.0.0/types/request/service.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts +12 -12
- package/dist/api/go_check_in_api/1.0.0/types/request/settings.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/request/sms.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts +17 -17
- package/dist/api/go_check_in_api/1.0.0/types/request/staff.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts +10 -10
- package/dist/api/go_check_in_api/1.0.0/types/request/ticket.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts +5 -5
- package/dist/api/go_check_in_api/1.0.0/types/response/category.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts +3 -3
- package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts +9 -9
- package/dist/api/go_check_in_api/1.0.0/types/response/service.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts +14 -14
- package/dist/api/go_check_in_api/1.0.0/types/response/settings.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts +2 -2
- package/dist/api/go_check_in_api/1.0.0/types/response/sms.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts +17 -17
- package/dist/api/go_check_in_api/1.0.0/types/response/staff.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts +12 -12
- package/dist/api/go_check_in_api/1.0.0/types/response/ticket.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/check_out.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/models/check_out.js +2 -1
- package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/batch_history.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/business.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/call.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/category.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts +6 -6
- package/dist/api/pos_client_api/1.0.0/types/request/check_in.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts +11 -11
- package/dist/api/pos_client_api/1.0.0/types/request/check_out.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts +6 -6
- package/dist/api/pos_client_api/1.0.0/types/request/combo.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/commission.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/request/customer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/gift_card.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/income.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts +11 -11
- package/dist/api/pos_client_api/1.0.0/types/request/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts +13 -13
- package/dist/api/pos_client_api/1.0.0/types/request/payroll.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/request/printer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts +5 -5
- package/dist/api/pos_client_api/1.0.0/types/request/product.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/request/service.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts +14 -14
- package/dist/api/pos_client_api/1.0.0/types/request/setting.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts +3 -3
- package/dist/api/pos_client_api/1.0.0/types/request/staff.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts +10 -10
- package/dist/api/pos_client_api/1.0.0/types/request/ticket.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts +7 -7
- package/dist/api/pos_client_api/1.0.0/types/request/time_keeping.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/unsubscribe_contact.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/request/user.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/response/batch_history.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/response/business.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/response/category.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts +15 -15
- package/dist/api/pos_client_api/1.0.0/types/response/check_in.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts +34 -34
- package/dist/api/pos_client_api/1.0.0/types/response/check_out.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts +8 -8
- package/dist/api/pos_client_api/1.0.0/types/response/combo.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/response/commission.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts +10 -10
- package/dist/api/pos_client_api/1.0.0/types/response/customer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/gift_card.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts +6 -6
- package/dist/api/pos_client_api/1.0.0/types/response/income.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts +5 -5
- package/dist/api/pos_client_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts +22 -22
- package/dist/api/pos_client_api/1.0.0/types/response/order.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts +19 -19
- package/dist/api/pos_client_api/1.0.0/types/response/payroll.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts +4 -4
- package/dist/api/pos_client_api/1.0.0/types/response/printer.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts +5 -5
- package/dist/api/pos_client_api/1.0.0/types/response/product.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/response/service.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts +18 -18
- package/dist/api/pos_client_api/1.0.0/types/response/setting.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts +5 -5
- package/dist/api/pos_client_api/1.0.0/types/response/staff.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts +12 -12
- package/dist/api/pos_client_api/1.0.0/types/response/ticket.d.ts.map +1 -1
- package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts +2 -2
- package/dist/api/pos_client_api/1.0.0/types/response/time_keeping.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts +1 -1
- package/dist/api/settings_api/1.0.0/types/request/check_in.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts +1 -1
- package/dist/api/settings_api/1.0.0/types/request/checkout.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts +6 -6
- package/dist/api/settings_api/1.0.0/types/request/key_storage.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts +3 -3
- package/dist/api/settings_api/1.0.0/types/response/check_in.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts +17 -17
- package/dist/api/settings_api/1.0.0/types/response/checkout.d.ts.map +1 -1
- package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts +7 -7
- package/dist/api/settings_api/1.0.0/types/response/key_storage.d.ts.map +1 -1
- package/dist/api/user_api/1.0.0/types/request/auth.d.ts +1 -1
- package/dist/api/user_api/1.0.0/types/request/auth.d.ts.map +1 -1
- package/dist/api/user_api/1.0.0/types/response/auth.d.ts +1 -1
- package/dist/api/user_api/1.0.0/types/response/auth.d.ts.map +1 -1
- package/dist/clover/CloverPaymentObject.d.ts.map +1 -1
- package/dist/clover/CloverPaymentObject.js +4 -0
- package/dist/gap-sdk.js +1 -1
- package/dist/http_client/types.d.ts +5 -5
- package/dist/http_client/types.d.ts.map +1 -1
- package/dist/types/meta.d.ts +2 -2
- package/dist/types/meta.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetPayrollSettingResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
start_date: string;
|
|
5
5
|
period: string;
|
|
@@ -8,8 +8,8 @@ export declare type GetPayrollSettingResponse = Nullable<{
|
|
|
8
8
|
status: number;
|
|
9
9
|
custom_days: number;
|
|
10
10
|
}>;
|
|
11
|
-
export
|
|
12
|
-
export
|
|
11
|
+
export type UpdatePayrollSettingResponse = GetPayrollSettingResponse;
|
|
12
|
+
export type GetDiscountSettingResponse = Nullable<{
|
|
13
13
|
id: number;
|
|
14
14
|
owner_percentage: number;
|
|
15
15
|
staff_percentage: number;
|
|
@@ -17,8 +17,8 @@ export declare type GetDiscountSettingResponse = Nullable<{
|
|
|
17
17
|
updated_at: string;
|
|
18
18
|
status: number;
|
|
19
19
|
}>;
|
|
20
|
-
export
|
|
21
|
-
export
|
|
20
|
+
export type UpdateDiscountSettingResponse = GetDiscountSettingResponse;
|
|
21
|
+
export type TaxSetting = Nullable<{
|
|
22
22
|
id: number;
|
|
23
23
|
type: string;
|
|
24
24
|
code: any;
|
|
@@ -29,22 +29,22 @@ export declare type TaxSetting = Nullable<{
|
|
|
29
29
|
updated_at: string;
|
|
30
30
|
status: number;
|
|
31
31
|
}>;
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
32
|
+
export type GetTaxSettingResponse = TaxSetting[];
|
|
33
|
+
export type UpdateTaxSettingResponse = null;
|
|
34
|
+
export type GetTurnValueResponse = Nullable<number>;
|
|
35
|
+
export type UpdateTurnValueResponse = GetTurnValueResponse;
|
|
36
|
+
export type TipItem = Nullable<{
|
|
37
37
|
title: string;
|
|
38
38
|
active: number;
|
|
39
39
|
value: any;
|
|
40
40
|
}>;
|
|
41
|
-
export
|
|
41
|
+
export type GetTipResponse = Nullable<{
|
|
42
42
|
type: string;
|
|
43
43
|
status: number;
|
|
44
44
|
tip_items: TipItem[];
|
|
45
45
|
}>;
|
|
46
|
-
export
|
|
47
|
-
export
|
|
46
|
+
export type UpdateTipResponse = Nullable<number>;
|
|
47
|
+
export type Answer = Nullable<{
|
|
48
48
|
id: number;
|
|
49
49
|
system: string;
|
|
50
50
|
type: string;
|
|
@@ -53,17 +53,17 @@ export declare type Answer = Nullable<{
|
|
|
53
53
|
updated_at: string;
|
|
54
54
|
status: number;
|
|
55
55
|
}>;
|
|
56
|
-
export
|
|
56
|
+
export type ListAnswer = Nullable<{
|
|
57
57
|
type: string;
|
|
58
58
|
answer: Answer[];
|
|
59
59
|
}>;
|
|
60
|
-
export
|
|
61
|
-
export
|
|
60
|
+
export type GetListAnswerResponse = ListAnswer[];
|
|
61
|
+
export type CreateAnswerResponse = Nullable<{
|
|
62
62
|
type: string;
|
|
63
63
|
content: string;
|
|
64
64
|
system: string;
|
|
65
65
|
id: number;
|
|
66
66
|
}>;
|
|
67
|
-
export
|
|
68
|
-
export
|
|
67
|
+
export type UpdateAnswerResponse = Answer;
|
|
68
|
+
export type ChangeAnswerStatusResponse = Answer;
|
|
69
69
|
//# sourceMappingURL=setting.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/setting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"setting.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/setting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC7C,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;CACtB,CAAC,CAAA;AAEF,MAAM,MAAM,4BAA4B,GAAG,yBAAyB,CAAA;AAEpE,MAAM,MAAM,0BAA0B,GAAG,QAAQ,CAAC;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,gBAAgB,EAAE,MAAM,CAAA;IACxB,gBAAgB,EAAE,MAAM,CAAA;IACxB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAC,CAAA;AAEF,MAAM,MAAM,6BAA6B,GAAG,0BAA0B,CAAA;AAEtE,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,E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AE,CAAA;AAEhD,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;IACxC,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,EAAE,EAAE,MAAM,CAAA;CACb,CAAC,CAAA;AAEF,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAA;AAEzC,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type Permission = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
type: string;
|
|
@@ -7,7 +7,7 @@ declare type Permission = Nullable<{
|
|
|
7
7
|
created_at: string;
|
|
8
8
|
updated_at: string;
|
|
9
9
|
}>;
|
|
10
|
-
|
|
10
|
+
type Staff = Nullable<{
|
|
11
11
|
user_id: number;
|
|
12
12
|
name: string;
|
|
13
13
|
image_url?: string;
|
|
@@ -22,7 +22,7 @@ declare type Staff = Nullable<{
|
|
|
22
22
|
turn_count: number;
|
|
23
23
|
checkin: string;
|
|
24
24
|
}>;
|
|
25
|
-
export
|
|
25
|
+
export type GetStaffListResponse = Nullable<{
|
|
26
26
|
user_id: number;
|
|
27
27
|
name: string;
|
|
28
28
|
image_url: string;
|
|
@@ -31,14 +31,14 @@ export declare type GetStaffListResponse = Nullable<{
|
|
|
31
31
|
status: number;
|
|
32
32
|
permission: Permission[];
|
|
33
33
|
}>;
|
|
34
|
-
export
|
|
34
|
+
export type GetStaffListByCheckoutResponse = Nullable<{
|
|
35
35
|
user_id: number;
|
|
36
36
|
name: string;
|
|
37
37
|
image_url?: string;
|
|
38
38
|
color_code: string;
|
|
39
39
|
sub_total: number;
|
|
40
40
|
}>;
|
|
41
|
-
export
|
|
41
|
+
export type GetStaffTurnChartResponse = Nullable<{
|
|
42
42
|
staff: Staff[];
|
|
43
43
|
turn_value: number;
|
|
44
44
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/staff.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"staff.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/staff.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,KAAK,UAAU,GAAG,QAAQ,CAAC;IACvB,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,KAAK,KAAK,GAAG,QAAQ,CAAC;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,UAAU,EAAE,CAAA;IACxB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,0BAA0B,EAAE,MAAM,CAAA;IAClC,6BAA6B,EAAE,MAAM,CAAA;IACrC,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC,CAAA;AAEF,MAAM,MAAM,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,UAAU,EAAE,CAAA;CAC3B,CAAC,CAAA;AAEF,MAAM,MAAM,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;AAEF,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC7C,KAAK,EAAE,KAAK,EAAE,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;CACrB,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type Ticket = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
subject: string;
|
|
5
5
|
content: string;
|
|
@@ -10,21 +10,21 @@ export declare type Ticket = Nullable<{
|
|
|
10
10
|
status: number;
|
|
11
11
|
name: string;
|
|
12
12
|
}>;
|
|
13
|
-
export
|
|
13
|
+
export type GetPosTicketInfoResponse = Nullable<{
|
|
14
14
|
items: Ticket[];
|
|
15
15
|
template_text: string;
|
|
16
16
|
}>;
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
17
|
+
export type CreatePosTicketTemplateResponse = Ticket;
|
|
18
|
+
export type UpdatePosTicketTemplateResponse = Ticket;
|
|
19
|
+
export type GetPosTicketTemplateResponse = Nullable<Ticket[]>;
|
|
20
|
+
export type PosTicketBlockName = Nullable<{
|
|
21
21
|
subject: string;
|
|
22
22
|
name: string;
|
|
23
23
|
}>;
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
24
|
+
export type GetPosTicketListBlockNameResponse = Nullable<PosTicketBlockName[]>;
|
|
25
|
+
export type GetPosTicketListResponse = Nullable<Ticket[]>;
|
|
26
|
+
export type MovePosSubjectResponse = null;
|
|
27
|
+
export type SetPosDefaultTicketTemplateResponse = null;
|
|
28
|
+
export type SortPosPriorityResponse = null;
|
|
29
|
+
export type DeletePosTicketTemplateResponse = null;
|
|
30
30
|
//# sourceMappingURL=ticket.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ticket.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/ticket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"ticket.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/ticket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,MAAM,GAAG,QAAQ,CAAC;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,GAAG,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAAC;IAC5C,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;CACxB,CAAC,CAAA;AAEF,MAAM,MAAM,+BAA+B,GAAG,MAAM,CAAA;AAEpD,MAAM,MAAM,+BAA+B,GAAG,MAAM,CAAA;AAEpD,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAA;AAE7D,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACtC,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AACF,MAAM,MAAM,iCAAiC,GAAG,QAAQ,CAAC,kBAAkB,EAAE,CAAC,CAAA;AAE9E,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAA;AAEzD,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC;AAE1C,MAAM,MAAM,mCAAmC,GAAG,IAAI,CAAC;AAEvD,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAC3C,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetTimeKeepingListResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
staff_id: number;
|
|
5
5
|
staff_name: string;
|
|
@@ -10,7 +10,7 @@ export declare type GetTimeKeepingListResponse = Nullable<{
|
|
|
10
10
|
updated_at: string;
|
|
11
11
|
status: number;
|
|
12
12
|
}>;
|
|
13
|
-
export
|
|
13
|
+
export type GetTimeKeepingListStaffResponse = Nullable<{
|
|
14
14
|
user_id: number;
|
|
15
15
|
name: string;
|
|
16
16
|
time_checked: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time_keeping.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/time_keeping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"time_keeping.d.ts","sourceRoot":"","sources":["../../../../../../src/api/pos_client_api/1.0.0/types/response/time_keeping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,0BAA0B,GAAG,QAAQ,CAAC;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,GAAG,CAAA;IACT,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAC,CAAA;AAEF,MAAM,MAAM,+BAA+B,GAAG,QAAQ,CAAC;IACnD,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,OAAO,CAAA;IACtB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;CACrB,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../../src/api/settings_api/1.0.0/types/request/check_in.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../../src/api/settings_api/1.0.0/types/request/check_in.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;CACf,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../../../../src/api/settings_api/1.0.0/types/request/checkout.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../../../../src/api/settings_api/1.0.0/types/request/checkout.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAAG;IACnC,GAAG,EAAE,MAAM,CAAC;CACf,CAAA"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetKeyStorageRequest = {
|
|
2
2
|
key: string;
|
|
3
3
|
pos_version?: number;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export type GetListKeyStorageRequest = {};
|
|
6
|
+
export type AddKeyStorageRequest = {
|
|
7
7
|
key: string;
|
|
8
8
|
value: string;
|
|
9
9
|
comment?: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type UpdateKeyStorageRequest = {
|
|
12
12
|
key: string;
|
|
13
13
|
value: string;
|
|
14
14
|
comment?: string;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type UpdateListKeyStorageRequest = {
|
|
17
17
|
data: AddKeyStorageRequest[];
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type DeleteKeyStorageRequest = {
|
|
20
20
|
key: string;
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=key_storage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../../../src/api/settings_api/1.0.0/types/request/key_storage.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../../../src/api/settings_api/1.0.0/types/request/key_storage.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAA;AAEzC,MAAM,MAAM,oBAAoB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG;IACtC,IAAI,EAAE,oBAAoB,EAAE,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAA;CACd,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type CheckIn = Nullable<{
|
|
3
3
|
page_email: number;
|
|
4
4
|
page_birthday: number;
|
|
5
5
|
ask_email: number;
|
|
@@ -10,10 +10,10 @@ declare type CheckIn = Nullable<{
|
|
|
10
10
|
printer_active: number;
|
|
11
11
|
phone: Phone;
|
|
12
12
|
}>;
|
|
13
|
-
|
|
13
|
+
type Phone = Nullable<{
|
|
14
14
|
multiple_type: number;
|
|
15
15
|
}>;
|
|
16
|
-
export
|
|
16
|
+
export type GetCheckInConfigResponse = Nullable<{
|
|
17
17
|
host_package: string;
|
|
18
18
|
service_feature: number;
|
|
19
19
|
staff_feature: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../../src/api/settings_api/1.0.0/types/response/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"check_in.d.ts","sourceRoot":"","sources":["../../../../../../src/api/settings_api/1.0.0/types/response/check_in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,KAAK,OAAO,GAAG,QAAQ,CAAC;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,MAAM,CAAA;IACvB,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,KAAK,EAAE,KAAK,CAAA;CACf,CAAC,CAAA;AAEF,KAAK,KAAK,GAAG,QAAQ,CAAC;IAClB,aAAa,EAAE,MAAM,CAAA;CACxB,CAAC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAAC;IAC5C,YAAY,EAAE,MAAM,CAAA;IACpB,eAAe,EAAE,MAAM,CAAA;IACvB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,OAAO,CAAA;CACpB,CAAC,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type Info = Nullable<{
|
|
3
3
|
username: string;
|
|
4
4
|
access_token: string;
|
|
5
5
|
email: string;
|
|
6
6
|
logged_at: number;
|
|
7
7
|
}>;
|
|
8
|
-
|
|
8
|
+
type Business = Nullable<{
|
|
9
9
|
name: string;
|
|
10
10
|
address: string;
|
|
11
11
|
city: string;
|
|
@@ -15,7 +15,7 @@ declare type Business = Nullable<{
|
|
|
15
15
|
phone: string;
|
|
16
16
|
description: string;
|
|
17
17
|
}>;
|
|
18
|
-
|
|
18
|
+
type Settings = Nullable<{
|
|
19
19
|
package_limit: number;
|
|
20
20
|
host_package: string;
|
|
21
21
|
staff_code_active: number;
|
|
@@ -55,11 +55,11 @@ declare type Settings = Nullable<{
|
|
|
55
55
|
tip_passcode_enabled: number;
|
|
56
56
|
lshape_checkin: number;
|
|
57
57
|
}>;
|
|
58
|
-
|
|
58
|
+
type SquareupFeature = Nullable<{
|
|
59
59
|
active: number;
|
|
60
60
|
app_id: string;
|
|
61
61
|
}>;
|
|
62
|
-
|
|
62
|
+
type CheckIn = Nullable<{
|
|
63
63
|
page_email: number;
|
|
64
64
|
page_birthday: number;
|
|
65
65
|
ask_email: number;
|
|
@@ -72,37 +72,37 @@ declare type CheckIn = Nullable<{
|
|
|
72
72
|
app_version: AppVersion;
|
|
73
73
|
signature_active: number;
|
|
74
74
|
}>;
|
|
75
|
-
|
|
75
|
+
type AppVersion = Nullable<{
|
|
76
76
|
version: number;
|
|
77
77
|
content: Content;
|
|
78
78
|
}>;
|
|
79
|
-
|
|
79
|
+
type Content = Nullable<{
|
|
80
80
|
type: string;
|
|
81
81
|
title: string;
|
|
82
82
|
description: string;
|
|
83
83
|
button: Button[];
|
|
84
84
|
}>;
|
|
85
|
-
|
|
85
|
+
type Button = Nullable<{
|
|
86
86
|
type: string;
|
|
87
87
|
name: string;
|
|
88
88
|
url: string;
|
|
89
89
|
}>;
|
|
90
|
-
|
|
90
|
+
type CheckOut = Nullable<{
|
|
91
91
|
mode_status: any;
|
|
92
92
|
}>;
|
|
93
|
-
|
|
93
|
+
type Devices = Nullable<{
|
|
94
94
|
printer: Printer;
|
|
95
95
|
}>;
|
|
96
|
-
|
|
96
|
+
type Printer = Nullable<{
|
|
97
97
|
selected_id: number;
|
|
98
98
|
options: Options;
|
|
99
99
|
lists: List[];
|
|
100
100
|
}>;
|
|
101
|
-
|
|
101
|
+
type Options = Nullable<{
|
|
102
102
|
"font-size": string;
|
|
103
103
|
transfer_speed: number;
|
|
104
104
|
}>;
|
|
105
|
-
|
|
105
|
+
type List = Nullable<{
|
|
106
106
|
id: number;
|
|
107
107
|
name: string;
|
|
108
108
|
type: string;
|
|
@@ -110,23 +110,23 @@ declare type List = Nullable<{
|
|
|
110
110
|
status: number;
|
|
111
111
|
data: Data;
|
|
112
112
|
}>;
|
|
113
|
-
|
|
113
|
+
type Data = Nullable<{
|
|
114
114
|
ip: string;
|
|
115
115
|
port: string;
|
|
116
116
|
peripheralId: string;
|
|
117
117
|
characteristicUUID: string;
|
|
118
118
|
serviceUUID: string;
|
|
119
119
|
}>;
|
|
120
|
-
|
|
120
|
+
type Mqtt = Nullable<{
|
|
121
121
|
id: string;
|
|
122
122
|
username: string;
|
|
123
123
|
password: string;
|
|
124
124
|
config: Config;
|
|
125
125
|
}>;
|
|
126
|
-
|
|
126
|
+
type Config = Nullable<{
|
|
127
127
|
call_feature: number;
|
|
128
128
|
}>;
|
|
129
|
-
export
|
|
129
|
+
export type GetCheckoutConfigResponse = Nullable<{
|
|
130
130
|
info: Info;
|
|
131
131
|
business: Business;
|
|
132
132
|
settings: Settings;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../../../../src/api/settings_api/1.0.0/types/response/checkout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../../../../src/api/settings_api/1.0.0/types/response/checkout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,KAAK,IAAI,GAAG,QAAQ,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;CACpB,CAAC,CAAA;AAEF,KAAK,QAAQ,GAAG,QAAQ,CAAC;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;CACtB,CAAC,CAAA;AAEF,KAAK,QAAQ,GAAG,QAAQ,CAAC;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,MAAM,CAAA;IACpB,iBAAiB,EAAE,MAAM,CAAA;IACzB,gBAAgB,EAAE,MAAM,CAAA;IACxB,eAAe,EAAE,MAAM,CAAA;IACvB,aAAa,EAAE,MAAM,CAAA;IACrB,e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CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,IAAI,CAAA;CACb,CAAC,CAAA;AAEF,KAAK,IAAI,GAAG,QAAQ,CAAC;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE,MAAM,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,WAAW,EAAE,MAAM,CAAA;CACtB,CAAC,CAAA;AAEF,KAAK,IAAI,GAAG,QAAQ,CAAC;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAC,CAAA;AAEF,KAAK,MAAM,GAAG,QAAQ,CAAC;IACnB,YAAY,EAAE,MAAM,CAAA;CACvB,CAAC,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC7C,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,EAAE,QAAQ,CAAA;IAClB,QAAQ,EAAE,QAAQ,CAAA;CACrB,CAAC,CAAA"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type KeyStorage = {
|
|
3
3
|
key: string;
|
|
4
4
|
value: string;
|
|
5
5
|
comment: string;
|
|
6
6
|
updated_at: number;
|
|
7
7
|
created_at: number;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
9
|
+
export type GetKeyStorageResponse = Nullable<KeyStorage>;
|
|
10
|
+
export type GetListKeyStorageResponse = Nullable<Array<KeyStorage>>;
|
|
11
|
+
export type AddKeyStorageResponse = Nullable<{
|
|
12
12
|
key: string;
|
|
13
13
|
value: string;
|
|
14
14
|
comment: string;
|
|
15
15
|
}>;
|
|
16
|
-
export
|
|
16
|
+
export type UpdateKeyStorageResponse = Nullable<{
|
|
17
17
|
key: string;
|
|
18
18
|
value: string;
|
|
19
19
|
comment: string;
|
|
20
20
|
}>;
|
|
21
|
-
export
|
|
22
|
-
export
|
|
21
|
+
export type UpdateListKeyStorageResponse = null;
|
|
22
|
+
export type DeleteKeyStorageResponse = null;
|
|
23
23
|
export {};
|
|
24
24
|
//# sourceMappingURL=key_storage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../../../src/api/settings_api/1.0.0/types/response/key_storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"key_storage.d.ts","sourceRoot":"","sources":["../../../../../../src/api/settings_api/1.0.0/types/response/key_storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,KAAK,UAAU,GAAG;IACd,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAA;AAExD,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAA;AAEnE,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC;IACzC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAAC;IAC5C,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC,CAAA;AAEF,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAA;AAE/C,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GetUserInfoRequest = {};
|
|
2
2
|
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../../../src/api/user_api/1.0.0/types/request/auth.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../../../src/api/user_api/1.0.0/types/request/auth.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../../../src/api/user_api/1.0.0/types/response/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../../../src/api/user_api/1.0.0/types/response/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;CACxB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloverPaymentObject.d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iB,CAAC,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ;IAalE,wBAAwB;IAWxB,UAAU,CAAC,QAAQ,EAAE,QAAQ;IAgB7B,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC,SAAS,CAAC,YAAY;IAInD,OAAO;IAMP,WAAW,CAAC,OAAO,KAAA;IAInB,iBAAiB;IAMjB,iBAAiB;IAIjB,kBAAkB;IAIlB,kBAAkB,CAAC,KAAK,EAAE,KAAK;IAmB/B,oBAAoB,CAAC,KAAK,EAAE,KAAK;IAiBjC,cAAc;IAMd,OAAO,CAAC,6BAA6B;IAqNrC,WAAW,CAAC,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI;IAetC,OAAO,CAAC,gCAAgC;IA4BxC,OAAO,CAAC,kBAAkB;IAoB1B,OAAO,CAAC,qBAAqB;IAO7B,OAAO,CAAC,mBAAmB;CAO9B"}
|
|
@@ -83,6 +83,7 @@ export default class CloverPaymentObject {
|
|
|
83
83
|
this.pendingSaleRequest.setApproveOfflinePaymentWithoutPrompt(true);
|
|
84
84
|
this.pendingSaleRequest.setDisableDuplicateChecking(true);
|
|
85
85
|
this.pendingSaleRequest.setCardEntryMethods(clover.CardEntryMethods.ALL);
|
|
86
|
+
this.pendingSaleRequest.setDisableReceiptSelection(true);
|
|
86
87
|
if (paymentInput.tipAmount != null) {
|
|
87
88
|
this.pendingSaleRequest.setTipAmount(paymentInput.tipAmount);
|
|
88
89
|
}
|
|
@@ -112,6 +113,7 @@ export default class CloverPaymentObject {
|
|
|
112
113
|
this.pendingSaleRequest.setApproveOfflinePaymentWithoutPrompt(true);
|
|
113
114
|
this.pendingSaleRequest.setDisableDuplicateChecking(true);
|
|
114
115
|
this.pendingSaleRequest.setCardEntryMethods(clover.CardEntryMethods.ALL);
|
|
116
|
+
this.pendingSaleRequest.setDisableReceiptSelection(true);
|
|
115
117
|
if (paymentInput.tippableAmount) {
|
|
116
118
|
this.pendingSaleRequest.setTippableAmount(paymentInput.tippableAmount);
|
|
117
119
|
}
|
|
@@ -153,6 +155,7 @@ export default class CloverPaymentObject {
|
|
|
153
155
|
this.pendingSaleRequest.setOrderId(voidInput.orderId);
|
|
154
156
|
this.pendingSaleRequest.setPaymentId(voidInput.paymentId);
|
|
155
157
|
this.pendingSaleRequest.setVoidReason(clover.order.VoidReason.USER_CANCEL);
|
|
158
|
+
this.pendingSaleRequest.setDisableReceiptSelection(true);
|
|
156
159
|
console.log({ message: "Sending void", request: this.pendingSaleRequest });
|
|
157
160
|
console.log(`Payment: ${this.pendingSaleRequest.getPaymentId()} is in progress.`);
|
|
158
161
|
// Send the void to the device.
|
|
@@ -172,6 +175,7 @@ export default class CloverPaymentObject {
|
|
|
172
175
|
this.pendingSaleRequest.setOrderId(refundInput.orderId);
|
|
173
176
|
this.pendingSaleRequest.setAmount(refundInput.amount);
|
|
174
177
|
this.pendingSaleRequest.setPaymentId(refundInput.paymentId);
|
|
178
|
+
this.pendingSaleRequest.setDisableReceiptSelection(true);
|
|
175
179
|
console.log({ message: "Sending refund", request: this.pendingSaleRequest });
|
|
176
180
|
console.log(`Payment: ${this.pendingSaleRequest.getPaymentId()} for $${this.pendingSaleRequest.getAmount() / 100} is in progress.`);
|
|
177
181
|
// Send the refund to the device.
|