gap-nodejs-sdk 1.0.210 → 1.0.211
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/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/types.d.ts +4 -2
- package/dist/clover/types.d.ts.map +1 -1
- 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 type GetPayrollSettingResponse = Nullable<{
|
|
2
|
+
export declare type GetPayrollSettingResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
start_date: string;
|
|
5
5
|
period: string;
|
|
@@ -8,8 +8,8 @@ export type GetPayrollSettingResponse = Nullable<{
|
|
|
8
8
|
status: number;
|
|
9
9
|
custom_days: number;
|
|
10
10
|
}>;
|
|
11
|
-
export type UpdatePayrollSettingResponse = GetPayrollSettingResponse;
|
|
12
|
-
export type GetDiscountSettingResponse = Nullable<{
|
|
11
|
+
export declare type UpdatePayrollSettingResponse = GetPayrollSettingResponse;
|
|
12
|
+
export declare type GetDiscountSettingResponse = Nullable<{
|
|
13
13
|
id: number;
|
|
14
14
|
owner_percentage: number;
|
|
15
15
|
staff_percentage: number;
|
|
@@ -17,8 +17,8 @@ export type GetDiscountSettingResponse = Nullable<{
|
|
|
17
17
|
updated_at: string;
|
|
18
18
|
status: number;
|
|
19
19
|
}>;
|
|
20
|
-
export type UpdateDiscountSettingResponse = GetDiscountSettingResponse;
|
|
21
|
-
export type TaxSetting = Nullable<{
|
|
20
|
+
export declare type UpdateDiscountSettingResponse = GetDiscountSettingResponse;
|
|
21
|
+
export declare type TaxSetting = Nullable<{
|
|
22
22
|
id: number;
|
|
23
23
|
type: string;
|
|
24
24
|
code: any;
|
|
@@ -29,22 +29,22 @@ export type TaxSetting = Nullable<{
|
|
|
29
29
|
updated_at: string;
|
|
30
30
|
status: number;
|
|
31
31
|
}>;
|
|
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<{
|
|
32
|
+
export declare type GetTaxSettingResponse = TaxSetting[];
|
|
33
|
+
export declare type UpdateTaxSettingResponse = null;
|
|
34
|
+
export declare type GetTurnValueResponse = Nullable<number>;
|
|
35
|
+
export declare type UpdateTurnValueResponse = GetTurnValueResponse;
|
|
36
|
+
export declare type TipItem = Nullable<{
|
|
37
37
|
title: string;
|
|
38
38
|
active: number;
|
|
39
39
|
value: any;
|
|
40
40
|
}>;
|
|
41
|
-
export type GetTipResponse = Nullable<{
|
|
41
|
+
export declare type GetTipResponse = Nullable<{
|
|
42
42
|
type: string;
|
|
43
43
|
status: number;
|
|
44
44
|
tip_items: TipItem[];
|
|
45
45
|
}>;
|
|
46
|
-
export type UpdateTipResponse = Nullable<number>;
|
|
47
|
-
export type Answer = Nullable<{
|
|
46
|
+
export declare type UpdateTipResponse = Nullable<number>;
|
|
47
|
+
export declare type Answer = Nullable<{
|
|
48
48
|
id: number;
|
|
49
49
|
system: string;
|
|
50
50
|
type: string;
|
|
@@ -53,17 +53,17 @@ export type Answer = Nullable<{
|
|
|
53
53
|
updated_at: string;
|
|
54
54
|
status: number;
|
|
55
55
|
}>;
|
|
56
|
-
export type ListAnswer = Nullable<{
|
|
56
|
+
export declare type ListAnswer = Nullable<{
|
|
57
57
|
type: string;
|
|
58
58
|
answer: Answer[];
|
|
59
59
|
}>;
|
|
60
|
-
export type GetListAnswerResponse = ListAnswer[];
|
|
61
|
-
export type CreateAnswerResponse = Nullable<{
|
|
60
|
+
export declare type GetListAnswerResponse = ListAnswer[];
|
|
61
|
+
export declare type CreateAnswerResponse = Nullable<{
|
|
62
62
|
type: string;
|
|
63
63
|
content: string;
|
|
64
64
|
system: string;
|
|
65
65
|
id: number;
|
|
66
66
|
}>;
|
|
67
|
-
export type UpdateAnswerResponse = Answer;
|
|
68
|
-
export type ChangeAnswerStatusResponse = Answer;
|
|
67
|
+
export declare type UpdateAnswerResponse = Answer;
|
|
68
|
+
export declare 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,oBAAY,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,oBAAY,4BAA4B,GAAG,yBAAyB,CAAA;AAEpE,oBAAY,0BAA0B,GAAG,QAAQ,CAAC;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,gBAAg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;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAC,CAAA;AAEF,oBAAY,UAAU,GAAG,QAAQ,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,EAAE,CAAA;CACnB,CAAC,CAAA;AAEF,oBAAY,qBAAqB,GAAG,UAAU,EAAE,CAAA;AAEhD,oBAAY,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,oBAAY,oBAAoB,GAAG,MAAM,CAAA;AAEzC,oBAAY,0BAA0B,GAAG,MAAM,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
type Permission = Nullable<{
|
|
2
|
+
declare type Permission = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
type: string;
|
|
@@ -7,7 +7,7 @@ type Permission = Nullable<{
|
|
|
7
7
|
created_at: string;
|
|
8
8
|
updated_at: string;
|
|
9
9
|
}>;
|
|
10
|
-
type Staff = Nullable<{
|
|
10
|
+
declare type Staff = Nullable<{
|
|
11
11
|
user_id: number;
|
|
12
12
|
name: string;
|
|
13
13
|
image_url?: string;
|
|
@@ -22,7 +22,7 @@ type Staff = Nullable<{
|
|
|
22
22
|
turn_count: number;
|
|
23
23
|
checkin: string;
|
|
24
24
|
}>;
|
|
25
|
-
export type GetStaffListResponse = Nullable<{
|
|
25
|
+
export declare type GetStaffListResponse = Nullable<{
|
|
26
26
|
user_id: number;
|
|
27
27
|
name: string;
|
|
28
28
|
image_url: string;
|
|
@@ -31,14 +31,14 @@ export type GetStaffListResponse = Nullable<{
|
|
|
31
31
|
status: number;
|
|
32
32
|
permission: Permission[];
|
|
33
33
|
}>;
|
|
34
|
-
export type GetStaffListByCheckoutResponse = Nullable<{
|
|
34
|
+
export declare 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 type GetStaffTurnChartResponse = Nullable<{
|
|
41
|
+
export declare 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,aAAK,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,aAAK,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,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,UAAU,EAAE,CAAA;CAC3B,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;AAEF,oBAAY,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 type Ticket = Nullable<{
|
|
2
|
+
export declare type Ticket = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
subject: string;
|
|
5
5
|
content: string;
|
|
@@ -10,21 +10,21 @@ export type Ticket = Nullable<{
|
|
|
10
10
|
status: number;
|
|
11
11
|
name: string;
|
|
12
12
|
}>;
|
|
13
|
-
export type GetPosTicketInfoResponse = Nullable<{
|
|
13
|
+
export declare type GetPosTicketInfoResponse = Nullable<{
|
|
14
14
|
items: Ticket[];
|
|
15
15
|
template_text: string;
|
|
16
16
|
}>;
|
|
17
|
-
export type CreatePosTicketTemplateResponse = Ticket;
|
|
18
|
-
export type UpdatePosTicketTemplateResponse = Ticket;
|
|
19
|
-
export type GetPosTicketTemplateResponse = Nullable<Ticket[]>;
|
|
20
|
-
export type PosTicketBlockName = Nullable<{
|
|
17
|
+
export declare type CreatePosTicketTemplateResponse = Ticket;
|
|
18
|
+
export declare type UpdatePosTicketTemplateResponse = Ticket;
|
|
19
|
+
export declare type GetPosTicketTemplateResponse = Nullable<Ticket[]>;
|
|
20
|
+
export declare type PosTicketBlockName = Nullable<{
|
|
21
21
|
subject: string;
|
|
22
22
|
name: string;
|
|
23
23
|
}>;
|
|
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;
|
|
24
|
+
export declare type GetPosTicketListBlockNameResponse = Nullable<PosTicketBlockName[]>;
|
|
25
|
+
export declare type GetPosTicketListResponse = Nullable<Ticket[]>;
|
|
26
|
+
export declare type MovePosSubjectResponse = null;
|
|
27
|
+
export declare type SetPosDefaultTicketTemplateResponse = null;
|
|
28
|
+
export declare type SortPosPriorityResponse = null;
|
|
29
|
+
export declare 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,oBAAY,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,oBAAY,wBAAwB,GAAG,QAAQ,CAAC;IAC5C,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;CACxB,CAAC,CAAA;AAEF,oBAAY,+BAA+B,GAAG,MAAM,CAAA;AAEpD,oBAAY,+BAA+B,GAAG,MAAM,CAAA;AAEpD,oBAAY,4BAA4B,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAA;AAE7D,oBAAY,kBAAkB,GAAG,QAAQ,CAAC;IACtC,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AACF,oBAAY,iCAAiC,GAAG,QAAQ,CAAC,kBAAkB,EAAE,CAAC,CAAA;AAE9E,oBAAY,wBAAwB,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAA;AAEzD,oBAAY,sBAAsB,GAAG,IAAI,CAAC;AAE1C,oBAAY,mCAAmC,GAAG,IAAI,CAAC;AAEvD,oBAAY,uBAAuB,GAAG,IAAI,CAAC;AAC3C,oBAAY,+BAA+B,GAAG,IAAI,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export type GetTimeKeepingListResponse = Nullable<{
|
|
2
|
+
export declare type GetTimeKeepingListResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
staff_id: number;
|
|
5
5
|
staff_name: string;
|
|
@@ -10,7 +10,7 @@ export type GetTimeKeepingListResponse = Nullable<{
|
|
|
10
10
|
updated_at: string;
|
|
11
11
|
status: number;
|
|
12
12
|
}>;
|
|
13
|
-
export type GetTimeKeepingListStaffResponse = Nullable<{
|
|
13
|
+
export declare 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,oBAAY,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,oBAAY,+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,oBAAY,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,oBAAY,wBAAwB,GAAG;IACnC,GAAG,EAAE,MAAM,CAAC;CACf,CAAA"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export type GetKeyStorageRequest = {
|
|
1
|
+
export declare type GetKeyStorageRequest = {
|
|
2
2
|
key: string;
|
|
3
3
|
pos_version?: number;
|
|
4
4
|
};
|
|
5
|
-
export type GetListKeyStorageRequest = {};
|
|
6
|
-
export type AddKeyStorageRequest = {
|
|
5
|
+
export declare type GetListKeyStorageRequest = {};
|
|
6
|
+
export declare type AddKeyStorageRequest = {
|
|
7
7
|
key: string;
|
|
8
8
|
value: string;
|
|
9
9
|
comment?: string;
|
|
10
10
|
};
|
|
11
|
-
export type UpdateKeyStorageRequest = {
|
|
11
|
+
export declare type UpdateKeyStorageRequest = {
|
|
12
12
|
key: string;
|
|
13
13
|
value: string;
|
|
14
14
|
comment?: string;
|
|
15
15
|
};
|
|
16
|
-
export type UpdateListKeyStorageRequest = {
|
|
16
|
+
export declare type UpdateListKeyStorageRequest = {
|
|
17
17
|
data: AddKeyStorageRequest[];
|
|
18
18
|
};
|
|
19
|
-
export type DeleteKeyStorageRequest = {
|
|
19
|
+
export declare 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,oBAAY,oBAAoB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAA;AAED,oBAAY,wBAAwB,GAAG,EAAE,CAAA;AAEzC,oBAAY,oBAAoB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,oBAAY,uBAAuB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,oBAAY,2BAA2B,GAAG;IACtC,IAAI,EAAE,oBAAoB,EAAE,CAAA;CAC/B,CAAA;AAED,oBAAY,uBAAuB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAA;CACd,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
type CheckIn = Nullable<{
|
|
2
|
+
declare type CheckIn = Nullable<{
|
|
3
3
|
page_email: number;
|
|
4
4
|
page_birthday: number;
|
|
5
5
|
ask_email: number;
|
|
@@ -10,10 +10,10 @@ type CheckIn = Nullable<{
|
|
|
10
10
|
printer_active: number;
|
|
11
11
|
phone: Phone;
|
|
12
12
|
}>;
|
|
13
|
-
type Phone = Nullable<{
|
|
13
|
+
declare type Phone = Nullable<{
|
|
14
14
|
multiple_type: number;
|
|
15
15
|
}>;
|
|
16
|
-
export type GetCheckInConfigResponse = Nullable<{
|
|
16
|
+
export declare 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,aAAK,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,aAAK,KAAK,GAAG,QAAQ,CAAC;IAClB,aAAa,EAAE,MAAM,CAAA;CACxB,CAAC,CAAA;AAEF,oBAAY,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
|
-
type Info = Nullable<{
|
|
2
|
+
declare type Info = Nullable<{
|
|
3
3
|
username: string;
|
|
4
4
|
access_token: string;
|
|
5
5
|
email: string;
|
|
6
6
|
logged_at: number;
|
|
7
7
|
}>;
|
|
8
|
-
type Business = Nullable<{
|
|
8
|
+
declare type Business = Nullable<{
|
|
9
9
|
name: string;
|
|
10
10
|
address: string;
|
|
11
11
|
city: string;
|
|
@@ -15,7 +15,7 @@ type Business = Nullable<{
|
|
|
15
15
|
phone: string;
|
|
16
16
|
description: string;
|
|
17
17
|
}>;
|
|
18
|
-
type Settings = Nullable<{
|
|
18
|
+
declare type Settings = Nullable<{
|
|
19
19
|
package_limit: number;
|
|
20
20
|
host_package: string;
|
|
21
21
|
staff_code_active: number;
|
|
@@ -61,11 +61,11 @@ type Settings = Nullable<{
|
|
|
61
61
|
checkin_staffs_active: number;
|
|
62
62
|
checkin_services_active: number;
|
|
63
63
|
}>;
|
|
64
|
-
type SquareupFeature = Nullable<{
|
|
64
|
+
declare type SquareupFeature = Nullable<{
|
|
65
65
|
active: number;
|
|
66
66
|
app_id: string;
|
|
67
67
|
}>;
|
|
68
|
-
type CheckIn = Nullable<{
|
|
68
|
+
declare type CheckIn = Nullable<{
|
|
69
69
|
page_email: number;
|
|
70
70
|
page_birthday: number;
|
|
71
71
|
ask_email: number;
|
|
@@ -78,37 +78,37 @@ type CheckIn = Nullable<{
|
|
|
78
78
|
app_version: AppVersion;
|
|
79
79
|
signature_active: number;
|
|
80
80
|
}>;
|
|
81
|
-
type AppVersion = Nullable<{
|
|
81
|
+
declare type AppVersion = Nullable<{
|
|
82
82
|
version: number;
|
|
83
83
|
content: Content;
|
|
84
84
|
}>;
|
|
85
|
-
type Content = Nullable<{
|
|
85
|
+
declare type Content = Nullable<{
|
|
86
86
|
type: string;
|
|
87
87
|
title: string;
|
|
88
88
|
description: string;
|
|
89
89
|
button: Button[];
|
|
90
90
|
}>;
|
|
91
|
-
type Button = Nullable<{
|
|
91
|
+
declare type Button = Nullable<{
|
|
92
92
|
type: string;
|
|
93
93
|
name: string;
|
|
94
94
|
url: string;
|
|
95
95
|
}>;
|
|
96
|
-
type CheckOut = Nullable<{
|
|
96
|
+
declare type CheckOut = Nullable<{
|
|
97
97
|
mode_status: any;
|
|
98
98
|
}>;
|
|
99
|
-
type Devices = Nullable<{
|
|
99
|
+
declare type Devices = Nullable<{
|
|
100
100
|
printer: Printer;
|
|
101
101
|
}>;
|
|
102
|
-
type Printer = Nullable<{
|
|
102
|
+
declare type Printer = Nullable<{
|
|
103
103
|
selected_id: number;
|
|
104
104
|
options: Options;
|
|
105
105
|
lists: List[];
|
|
106
106
|
}>;
|
|
107
|
-
type Options = Nullable<{
|
|
107
|
+
declare type Options = Nullable<{
|
|
108
108
|
"font-size": string;
|
|
109
109
|
transfer_speed: number;
|
|
110
110
|
}>;
|
|
111
|
-
type List = Nullable<{
|
|
111
|
+
declare type List = Nullable<{
|
|
112
112
|
id: number;
|
|
113
113
|
name: string;
|
|
114
114
|
type: string;
|
|
@@ -116,23 +116,23 @@ type List = Nullable<{
|
|
|
116
116
|
status: number;
|
|
117
117
|
data: Data;
|
|
118
118
|
}>;
|
|
119
|
-
type Data = Nullable<{
|
|
119
|
+
declare type Data = Nullable<{
|
|
120
120
|
ip: string;
|
|
121
121
|
port: string;
|
|
122
122
|
peripheralId: string;
|
|
123
123
|
characteristicUUID: string;
|
|
124
124
|
serviceUUID: string;
|
|
125
125
|
}>;
|
|
126
|
-
type Mqtt = Nullable<{
|
|
126
|
+
declare type Mqtt = Nullable<{
|
|
127
127
|
id: string;
|
|
128
128
|
username: string;
|
|
129
129
|
password: string;
|
|
130
130
|
config: Config;
|
|
131
131
|
}>;
|
|
132
|
-
type Config = Nullable<{
|
|
132
|
+
declare type Config = Nullable<{
|
|
133
133
|
call_feature: number;
|
|
134
134
|
}>;
|
|
135
|
-
export type GetCheckoutConfigResponse = Nullable<{
|
|
135
|
+
export declare type GetCheckoutConfigResponse = Nullable<{
|
|
136
136
|
info: Info;
|
|
137
137
|
business: Business;
|
|
138
138
|
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,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,
|
|
1
|
+
{"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../../../../src/api/settings_api/1.0.0/types/response/checkout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,aAAK,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,aAAK,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,aAAK,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,eAAe,EAAE,MAAM,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,iBAAiB,EAAE,MAAM,CAAA;IACzB,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AAC,CAAA;AAEF,aAAK,IAAI,GAAG,QAAQ,CAAC;IACjB,EAAE,EAAE,MAAM,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,aAAK,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,aAAK,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,aAAK,MAAM,GAAG,QAAQ,CAAC;IACnB,YAAY,EAAE,MAAM,CAAA;CACvB,CAAC,CAAA;AAEF,oBAAY,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
|
-
type KeyStorage = {
|
|
2
|
+
declare 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 type GetKeyStorageResponse = Nullable<KeyStorage>;
|
|
10
|
-
export type GetListKeyStorageResponse = Nullable<Array<KeyStorage>>;
|
|
11
|
-
export type AddKeyStorageResponse = Nullable<{
|
|
9
|
+
export declare type GetKeyStorageResponse = Nullable<KeyStorage>;
|
|
10
|
+
export declare type GetListKeyStorageResponse = Nullable<Array<KeyStorage>>;
|
|
11
|
+
export declare type AddKeyStorageResponse = Nullable<{
|
|
12
12
|
key: string;
|
|
13
13
|
value: string;
|
|
14
14
|
comment: string;
|
|
15
15
|
}>;
|
|
16
|
-
export type UpdateKeyStorageResponse = Nullable<{
|
|
16
|
+
export declare type UpdateKeyStorageResponse = Nullable<{
|
|
17
17
|
key: string;
|
|
18
18
|
value: string;
|
|
19
19
|
comment: string;
|
|
20
20
|
}>;
|
|
21
|
-
export type UpdateListKeyStorageResponse = null;
|
|
22
|
-
export type DeleteKeyStorageResponse = null;
|
|
21
|
+
export declare type UpdateListKeyStorageResponse = null;
|
|
22
|
+
export declare 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,aAAK,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,oBAAY,qBAAqB,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAA;AAExD,oBAAY,yBAAyB,GAAG,QAAQ,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAA;AAEnE,oBAAY,qBAAqB,GAAG,QAAQ,CAAC;IACzC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC,CAAA;AAEF,oBAAY,wBAAwB,GAAG,QAAQ,CAAC;IAC5C,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC,CAAA;AAEF,oBAAY,4BAA4B,GAAG,IAAI,CAAA;AAE/C,oBAAY,wBAAwB,GAAG,IAAI,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type GetUserInfoRequest = {};
|
|
1
|
+
export declare 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,oBAAY,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,oBAAY,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"}
|
package/dist/clover/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AtLeastOne } from "src/base_type";
|
|
1
2
|
import { clover } from "./CloverPaymentObject";
|
|
2
3
|
export declare type PaymentInput = {
|
|
3
4
|
amount: number;
|
|
@@ -20,9 +21,10 @@ export declare type RefundInput = {
|
|
|
20
21
|
paymentId: number | string;
|
|
21
22
|
amount: number;
|
|
22
23
|
};
|
|
23
|
-
export declare type RetrieveInput = {
|
|
24
|
+
export declare type RetrieveInput = AtLeastOne<{
|
|
24
25
|
refId: number | string;
|
|
25
|
-
|
|
26
|
+
transactionNum: number | string;
|
|
27
|
+
}>;
|
|
26
28
|
export declare type Order = {
|
|
27
29
|
id: string;
|
|
28
30
|
currency?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/clover/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAE9C,MAAM,CAAC,OAAO,MAAM,YAAY,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAA;AAED,MAAM,CAAC,OAAO,MAAM,WAAW,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;CAC9B,CAAA;AAED,MAAM,CAAC,OAAO,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