gap-nodejs-sdk 1.0.351 → 1.0.352
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 +26 -26
- 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 +35 -35
- 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 +17 -17
- 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/models/review.d.ts +8 -2
- package/dist/api/go_check_in_api/1.0.0/models/review.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/models/review.js +12 -5
- package/dist/api/go_check_in_api/1.0.0/types/request/business.d.ts +3 -3
- package/dist/api/go_check_in_api/1.0.0/types/request/business.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/campaign.d.ts +17 -17
- package/dist/api/go_check_in_api/1.0.0/types/request/campaign.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/checkin.d.ts +3 -3
- package/dist/api/go_check_in_api/1.0.0/types/request/checkin.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/customer.d.ts +8 -8
- 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/group.d.ts +7 -7
- package/dist/api/go_check_in_api/1.0.0/types/request/group.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/review.d.ts +16 -16
- package/dist/api/go_check_in_api/1.0.0/types/request/review.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/request/reward.d.ts +6 -6
- package/dist/api/go_check_in_api/1.0.0/types/request/reward.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/business.d.ts +3 -3
- package/dist/api/go_check_in_api/1.0.0/types/response/business.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/campaign.d.ts +25 -25
- package/dist/api/go_check_in_api/1.0.0/types/response/campaign.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/checkin.d.ts +17 -17
- package/dist/api/go_check_in_api/1.0.0/types/response/checkin.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/customer.d.ts +13 -13
- 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/group.d.ts +10 -10
- package/dist/api/go_check_in_api/1.0.0/types/response/group.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/notification.d.ts +4 -4
- 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/review.d.ts +27 -23
- package/dist/api/go_check_in_api/1.0.0/types/response/review.d.ts.map +1 -1
- package/dist/api/go_check_in_api/1.0.0/types/response/reward.d.ts +7 -7
- package/dist/api/go_check_in_api/1.0.0/types/response/reward.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 +4 -4
- 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 +12 -12
- 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/device.d.ts +3 -3
- package/dist/api/pos_client_api/1.0.0/types/request/device.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 +5 -5
- 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 +18 -18
- 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 +35 -35
- 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/device.d.ts +3 -3
- package/dist/api/pos_client_api/1.0.0/types/response/device.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 +10 -10
- 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 +31 -31
- 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/base_type.d.ts +2 -2
- package/dist/base_type.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
|
-
|
|
2
|
+
type CampaignReport = Nullable<{
|
|
3
3
|
total_email_sent: string;
|
|
4
4
|
total_sms_sent: string;
|
|
5
5
|
total_receive_message: number;
|
|
@@ -11,10 +11,10 @@ declare type CampaignReport = Nullable<{
|
|
|
11
11
|
total_expense: number;
|
|
12
12
|
percent_expense: number;
|
|
13
13
|
}>;
|
|
14
|
-
|
|
14
|
+
type PromotionCampaign = Nullable<{
|
|
15
15
|
content: string;
|
|
16
16
|
}>;
|
|
17
|
-
|
|
17
|
+
type Customer = Nullable<{
|
|
18
18
|
full_name: string;
|
|
19
19
|
phone: string;
|
|
20
20
|
email: any;
|
|
@@ -26,7 +26,7 @@ declare type Customer = Nullable<{
|
|
|
26
26
|
lifetime_point: number;
|
|
27
27
|
current_point: number;
|
|
28
28
|
}>;
|
|
29
|
-
|
|
29
|
+
type CampaignPromotionItem = Nullable<{
|
|
30
30
|
id: number;
|
|
31
31
|
name: string;
|
|
32
32
|
type: string;
|
|
@@ -62,18 +62,18 @@ declare type CampaignPromotionItem = Nullable<{
|
|
|
62
62
|
campaign_report: CampaignReport;
|
|
63
63
|
promotion_campaign: PromotionCampaign;
|
|
64
64
|
}>;
|
|
65
|
-
export
|
|
65
|
+
export type GetCampaignPromotionGroupResponse = Nullable<{
|
|
66
66
|
id: number;
|
|
67
67
|
name: string;
|
|
68
68
|
customer_quantity: any;
|
|
69
69
|
}[]>;
|
|
70
|
-
export
|
|
71
|
-
export
|
|
72
|
-
export
|
|
73
|
-
export
|
|
74
|
-
export
|
|
75
|
-
export
|
|
76
|
-
export
|
|
70
|
+
export type GetCampaignPromotionListResponse = CampaignPromotionItem[];
|
|
71
|
+
export type GetCampaignPromotionListExpiredResponse = CampaignPromotionItem[];
|
|
72
|
+
export type GetCampaignPromotionDetailResponse = CampaignPromotionItem;
|
|
73
|
+
export type CheckCampaignPromotionLimitResponse = Nullable<{}>;
|
|
74
|
+
export type CheckCampaignPromotionOptOutResponse = Nullable<{}>;
|
|
75
|
+
export type CreateCampaignPromotionResponse = CampaignPromotionItem;
|
|
76
|
+
export type GetCampaignPromotionHistoryResponse = Nullable<{
|
|
77
77
|
customer: Customer;
|
|
78
78
|
code: string;
|
|
79
79
|
created_at: string;
|
|
@@ -82,13 +82,13 @@ export declare type GetCampaignPromotionHistoryResponse = Nullable<{
|
|
|
82
82
|
limit_used: number;
|
|
83
83
|
total_used: number;
|
|
84
84
|
}[]>;
|
|
85
|
-
export
|
|
86
|
-
|
|
85
|
+
export type SendCampaignPromotionTestResponse = Nullable<{}>;
|
|
86
|
+
type RemindCampaign = {
|
|
87
87
|
after_date: number;
|
|
88
88
|
content: string;
|
|
89
89
|
expired_in: any;
|
|
90
90
|
};
|
|
91
|
-
|
|
91
|
+
type CampaignReminderItem = Nullable<{
|
|
92
92
|
id: number;
|
|
93
93
|
name: string;
|
|
94
94
|
type: string;
|
|
@@ -124,14 +124,14 @@ declare type CampaignReminderItem = Nullable<{
|
|
|
124
124
|
campaign_report: CampaignReport;
|
|
125
125
|
remind_campaign: RemindCampaign;
|
|
126
126
|
}>;
|
|
127
|
-
export
|
|
128
|
-
export
|
|
129
|
-
export
|
|
130
|
-
|
|
127
|
+
export type GetCampaignReminderListResponse = CampaignReminderItem[];
|
|
128
|
+
export type GetCampaignReminderDetailResponse = CampaignReminderItem;
|
|
129
|
+
export type UpdateCampaignReminderResponse = CampaignReminderItem;
|
|
130
|
+
type BirthdayCampaign = {
|
|
131
131
|
before_date: number;
|
|
132
132
|
content: string;
|
|
133
133
|
};
|
|
134
|
-
|
|
134
|
+
type CampaignBirthdayItem = Nullable<{
|
|
135
135
|
id: number;
|
|
136
136
|
name: string;
|
|
137
137
|
type: string;
|
|
@@ -167,10 +167,10 @@ declare type CampaignBirthdayItem = Nullable<{
|
|
|
167
167
|
campaign_report: CampaignReport;
|
|
168
168
|
birthday_campaign: BirthdayCampaign;
|
|
169
169
|
}>;
|
|
170
|
-
export
|
|
171
|
-
export
|
|
172
|
-
export
|
|
173
|
-
export
|
|
170
|
+
export type GetCampaignBirthdayListResponse = CampaignBirthdayItem[];
|
|
171
|
+
export type GetCampaignBirthdayDetailResponse = CampaignBirthdayItem;
|
|
172
|
+
export type UpdateCampaignBirthdayResponse = CampaignBirthdayItem;
|
|
173
|
+
export type GetCampaignFirstSignUpResponse = Nullable<{
|
|
174
174
|
id: number;
|
|
175
175
|
name: string;
|
|
176
176
|
type: string;
|
|
@@ -205,6 +205,6 @@ export declare type GetCampaignFirstSignUpResponse = Nullable<{
|
|
|
205
205
|
email_subject: string;
|
|
206
206
|
campaign_report: CampaignReport;
|
|
207
207
|
}>;
|
|
208
|
-
export
|
|
208
|
+
export type UpdateCampaignFirstSignUpResponse = GetCampaignFirstSignUpResponse;
|
|
209
209
|
export {};
|
|
210
210
|
//# sourceMappingURL=campaign.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/campaign.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/campaign.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,KAAK,cAAc,GAAG,QAAQ,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAA;IACxB,cAAc,EAAE,MAAM,CAAA;IACtB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,aAAa,EAAE,MAAM,CAAA;IACrB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;CAC1B,CAAC,CAAA;AACF,KAAK,iBAAiB,GAAG,QAAQ,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC,CAAA;AACF,KAAK,QAAQ,GAAG,QAAQ,CAAC;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,GAAG,CAAA;IACV,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,E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AAa,EAAE,GAAG,CAAA;IAClB,aAAa,EAAE,GAAG,CAAA;IAClB,cAAc,EAAE,GAAG,CAAA;IACnB,gBAAgB,EAAE,GAAG,CAAA;IACrB,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,GAAG,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,GAAG,CAAA;IACZ,qBAAqB,EAAE,MAAM,CAAA;IAC7B,oBAAoB,EAAE,MAAM,CAAA;IAC5B,mBAAmB,EAAE,MAAM,CAAA;IAC3B,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,GAAG,CAAA;IACf,MAAM,EAAE,GAAG,CAAA;IACX,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,GAAG,CAAA;IAClB,eAAe,EAAE,MAAM,CAAA;IACvB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,cAAc,CAAA;CAClC,CAAC,CAAA;AACF,MAAM,MAAM,iCAAiC,GAAG,8BAA8B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type ShortCheckInCategoryResponse = null;
|
|
3
|
+
export type GetCheckInListCategoryResponse = Nullable<{
|
|
4
4
|
id: number;
|
|
5
5
|
name: string;
|
|
6
6
|
priority: number;
|
|
@@ -23,7 +23,7 @@ export declare type GetCheckInListCategoryResponse = Nullable<{
|
|
|
23
23
|
owner_id: any;
|
|
24
24
|
created_by: any;
|
|
25
25
|
}[]>;
|
|
26
|
-
export
|
|
26
|
+
export type UpdateCheckInCategoryResponse = Nullable<{
|
|
27
27
|
id: number;
|
|
28
28
|
name: string;
|
|
29
29
|
priority: number;
|
|
@@ -42,6 +42,6 @@ export declare type UpdateCheckInCategoryResponse = Nullable<{
|
|
|
42
42
|
status: number;
|
|
43
43
|
};
|
|
44
44
|
}>;
|
|
45
|
-
export
|
|
46
|
-
export
|
|
45
|
+
export type DeleteCheckInCategoryResponse = null;
|
|
46
|
+
export type CreateCheckInCategoryResponse = UpdateCheckInCategoryResponse;
|
|
47
47
|
//# sourceMappingURL=category.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC;AAEhD,MAAM,MAAM,8BAA8B,GAAG,QAAQ,CAAC;IAClD,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,GAAG,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,EAAE,EAAE,MAAM,CAAA;QACV,OAAO,EAAE,MAAM,CAAA;QACf,UAAU,EAAE,MAAM,CAAA;QAClB,QAAQ,EAAE,MAAM,CAAA;QAChB,UAAU,EAAE,MAAM,CAAA;QAClB,UAAU,EAAE,MAAM,CAAA;QAClB,MAAM,EAAE,MAAM,CAAA;KACjB,CAAA;IACD,WAAW,EAAE,GAAG,CAAA;IAChB,SAAS,EAAE,GAAG,CAAA;IACd,QAAQ,EAAE,GAAG,CAAA;IACb,UAAU,EAAE,GAAG,CAAA;CAClB,EAAE,CAAC,CAAA;AAEJ,MAAM,MAAM,6BAA6B,GAAG,QAAQ,CAAC;IACjD,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,GAAG,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,EAAE,EAAE,MAAM,CAAA;QACV,OAAO,EAAE,MAAM,CAAA;QACf,UAAU,EAAE,MAAM,CAAA;QAClB,QAAQ,EAAE,MAAM,CAAA;QAChB,UAAU,EAAE,MAAM,CAAA;QAClB,UAAU,EAAE,MAAM,CAAA;QAClB,MAAM,EAAE,MAAM,CAAA;KACjB,CAAA;CACJ,CAAC,CAAA;AAEF,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAC;AAEjD,MAAM,MAAM,6BAA6B,GAAG,6BAA6B,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "src/base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetCheckinListResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
customer_id: number;
|
|
5
5
|
create_at: string;
|
|
@@ -21,7 +21,7 @@ export declare type GetCheckinListResponse = Nullable<{
|
|
|
21
21
|
products: any[];
|
|
22
22
|
groups: Group[];
|
|
23
23
|
}>;
|
|
24
|
-
|
|
24
|
+
type Customer = Nullable<{
|
|
25
25
|
id: number;
|
|
26
26
|
first_name: any;
|
|
27
27
|
last_name: any;
|
|
@@ -62,14 +62,14 @@ declare type Customer = Nullable<{
|
|
|
62
62
|
last_review: any;
|
|
63
63
|
review_type: string;
|
|
64
64
|
}>;
|
|
65
|
-
|
|
65
|
+
type CustomerPoint = Nullable<{
|
|
66
66
|
customer_id: number;
|
|
67
67
|
point: number;
|
|
68
68
|
created_at: string;
|
|
69
69
|
update_at: string;
|
|
70
70
|
lifetime_point: number;
|
|
71
71
|
}>;
|
|
72
|
-
|
|
72
|
+
type CheckOut = Nullable<{
|
|
73
73
|
id: number;
|
|
74
74
|
customer_id: number;
|
|
75
75
|
created_at: string;
|
|
@@ -85,7 +85,7 @@ declare type CheckOut = Nullable<{
|
|
|
85
85
|
sms_sent: number;
|
|
86
86
|
order_id: number;
|
|
87
87
|
}>;
|
|
88
|
-
|
|
88
|
+
type Promotions = Nullable<{
|
|
89
89
|
id: number;
|
|
90
90
|
campaign_id: number;
|
|
91
91
|
code: string;
|
|
@@ -97,18 +97,18 @@ declare type Promotions = Nullable<{
|
|
|
97
97
|
limit_used: number;
|
|
98
98
|
total_used: number;
|
|
99
99
|
}>;
|
|
100
|
-
|
|
100
|
+
type Services = Nullable<{
|
|
101
101
|
id: number;
|
|
102
102
|
name: string;
|
|
103
103
|
price?: number;
|
|
104
104
|
}>;
|
|
105
|
-
|
|
105
|
+
type Staffs = Nullable<{
|
|
106
106
|
user_id: number;
|
|
107
107
|
name: string;
|
|
108
108
|
color_code: string;
|
|
109
109
|
image_url: any;
|
|
110
110
|
}>;
|
|
111
|
-
|
|
111
|
+
type CustomerCheckinServices = Nullable<{
|
|
112
112
|
id: number;
|
|
113
113
|
checkin_id: number;
|
|
114
114
|
service_id: number;
|
|
@@ -123,13 +123,13 @@ declare type CustomerCheckinServices = Nullable<{
|
|
|
123
123
|
price?: number;
|
|
124
124
|
};
|
|
125
125
|
}>;
|
|
126
|
-
|
|
126
|
+
type Group = Nullable<{
|
|
127
127
|
id: number;
|
|
128
128
|
name: string;
|
|
129
129
|
description: any;
|
|
130
130
|
status: string;
|
|
131
131
|
}>;
|
|
132
|
-
export
|
|
132
|
+
export type UpdateStatusResponse = Nullable<{
|
|
133
133
|
id: number;
|
|
134
134
|
customer_id: number;
|
|
135
135
|
created_at: string;
|
|
@@ -175,7 +175,7 @@ export declare type UpdateStatusResponse = Nullable<{
|
|
|
175
175
|
list_promotion: any[];
|
|
176
176
|
invoice: Invoice;
|
|
177
177
|
}>;
|
|
178
|
-
|
|
178
|
+
type CheckIn = Nullable<{
|
|
179
179
|
id: number;
|
|
180
180
|
customer_id: number;
|
|
181
181
|
create_at: string;
|
|
@@ -189,15 +189,15 @@ declare type CheckIn = Nullable<{
|
|
|
189
189
|
products: any[];
|
|
190
190
|
customer_checkin_services: CustomerCheckinService[];
|
|
191
191
|
}>;
|
|
192
|
-
|
|
192
|
+
type Service = Nullable<{
|
|
193
193
|
name: string;
|
|
194
194
|
}>;
|
|
195
|
-
|
|
195
|
+
type Staff = Nullable<{
|
|
196
196
|
user_id: number;
|
|
197
197
|
name: string;
|
|
198
198
|
color_code: string;
|
|
199
199
|
}>;
|
|
200
|
-
|
|
200
|
+
type CustomerCheckinService = Nullable<{
|
|
201
201
|
id: number;
|
|
202
202
|
checkin_id: number;
|
|
203
203
|
service_id: number;
|
|
@@ -212,7 +212,7 @@ declare type CustomerCheckinService = Nullable<{
|
|
|
212
212
|
price: number;
|
|
213
213
|
};
|
|
214
214
|
}>;
|
|
215
|
-
|
|
215
|
+
type Survey = Nullable<{
|
|
216
216
|
id: number;
|
|
217
217
|
key: string;
|
|
218
218
|
checkout_id: number;
|
|
@@ -226,7 +226,7 @@ declare type Survey = Nullable<{
|
|
|
226
226
|
status: string;
|
|
227
227
|
customer_id: number;
|
|
228
228
|
}>;
|
|
229
|
-
|
|
229
|
+
type Invoice = Nullable<{
|
|
230
230
|
id: number;
|
|
231
231
|
checkout_id: number;
|
|
232
232
|
customer_id: number;
|
|
@@ -249,7 +249,7 @@ declare type Invoice = Nullable<{
|
|
|
249
249
|
type: string;
|
|
250
250
|
invoice_details: InvoiceDetail[];
|
|
251
251
|
}>;
|
|
252
|
-
|
|
252
|
+
type InvoiceDetail = Nullable<{
|
|
253
253
|
id: number;
|
|
254
254
|
invoice_id: number;
|
|
255
255
|
product_type: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkin.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/checkin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,
|
|
1
|
+
{"version":3,"file":"checkin.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/checkin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,GAAG,CAAA;IACf,IAAI,EAAE,GAAG,CAAA;IACT,iBAAiB,EAAE,MAAM,CAAA;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,QAAQ,CAAA;IAClB,cAAc,EAAE,aAAa,CAAA;IAC7B,SAAS,EAAE,QAAQ,CAAA;IACnB,UAAU,EAAE,UAAU,EAAE,CAAA;IACxB,QAAQ,EAAE,QAAQ,EAAE,CAAA;IACpB,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,OAAO,EAAE,GAAG,EAAE,CAAA;IACd,yBAAyB,EAAE,uBAAuB,EAAE,CAAA;IACpD,QAAQ,EAAE,GAAG,EAAE,CAAA;IACf,MAAM,EAAE,KAAK,EAAE,CAAA;CAClB,CAAC,CAAA;AAEF,KAAK,QAAQ,GAAG,QAAQ,CAAC;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE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
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type Group = {
|
|
3
3
|
group_id: number;
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
type Customer = Nullable<{
|
|
6
6
|
id: number;
|
|
7
7
|
full_name: string;
|
|
8
8
|
phone: string;
|
|
@@ -21,7 +21,7 @@ declare type Customer = Nullable<{
|
|
|
21
21
|
is_blocked_from_booking: number;
|
|
22
22
|
source: string;
|
|
23
23
|
}>;
|
|
24
|
-
|
|
24
|
+
type CheckedOutBy = Nullable<{
|
|
25
25
|
user_id: number;
|
|
26
26
|
name: string;
|
|
27
27
|
code: number;
|
|
@@ -39,7 +39,7 @@ declare type CheckedOutBy = Nullable<{
|
|
|
39
39
|
nickname: string;
|
|
40
40
|
priority_calendar: string;
|
|
41
41
|
}>;
|
|
42
|
-
|
|
42
|
+
type Checkin = Nullable<{
|
|
43
43
|
id: number;
|
|
44
44
|
customer_id: number;
|
|
45
45
|
create_at: Date;
|
|
@@ -49,18 +49,18 @@ declare type Checkin = Nullable<{
|
|
|
49
49
|
type: string;
|
|
50
50
|
show_on_wait_list: number;
|
|
51
51
|
}>;
|
|
52
|
-
|
|
52
|
+
type Name = Nullable<{
|
|
53
53
|
name: string;
|
|
54
54
|
}>;
|
|
55
|
-
export
|
|
55
|
+
export type UpdateListGroupResponse = Nullable<{
|
|
56
56
|
customer_id: string;
|
|
57
57
|
group_id: string;
|
|
58
58
|
id: number;
|
|
59
59
|
}[]>;
|
|
60
|
-
export
|
|
61
|
-
export
|
|
62
|
-
export
|
|
63
|
-
export
|
|
60
|
+
export type GetListCustomerResponse = Customer[];
|
|
61
|
+
export type GetCustomerResponse = Customer;
|
|
62
|
+
export type UpdateCustomerCheckinResponse = Customer;
|
|
63
|
+
export type GetCustomerHistoryCheckinResponse = Nullable<{
|
|
64
64
|
checked_in_at: Date;
|
|
65
65
|
checked_out_at: Date;
|
|
66
66
|
point_added: number;
|
|
@@ -70,8 +70,8 @@ export declare type GetCustomerHistoryCheckinResponse = Nullable<{
|
|
|
70
70
|
checkout_staffs: Name[];
|
|
71
71
|
checkin: Checkin;
|
|
72
72
|
}>;
|
|
73
|
-
export
|
|
74
|
-
export
|
|
73
|
+
export type DeleteCustomersResponse = Customer[];
|
|
74
|
+
export type GetChartInfoResponse = Nullable<{
|
|
75
75
|
all: number;
|
|
76
76
|
vip: number;
|
|
77
77
|
regular: number;
|
|
@@ -81,6 +81,6 @@ export declare type GetChartInfoResponse = Nullable<{
|
|
|
81
81
|
import: number;
|
|
82
82
|
booking: number;
|
|
83
83
|
}>;
|
|
84
|
-
export
|
|
84
|
+
export type ExportMemberResponse = any;
|
|
85
85
|
export {};
|
|
86
86
|
//# sourceMappingURL=customer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,KAAK,KAAK,GAAG;IACT,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC;AACF,KAAK,QAAQ,GAAG,QAAQ,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,IAAI,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,IAAI,CAAC;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CA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M,CAAA;IAChB,EAAE,EAAE,MAAM,CAAA;CACb,EAAE,CAAC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,QAAQ,EAAE,CAAC;AACjD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;AAC3C,MAAM,MAAM,6BAA6B,GAAG,QAAQ,CAAC;AACrD,MAAM,MAAM,iCAAiC,GAAG,QAAQ,CAAC;IACrD,aAAa,EAAE,IAAI,CAAC;IACpB,cAAc,EAAE,IAAI,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,YAAY,CAAC;IAC7B,MAAM,EAAE,IAAI,EAAE,CAAC;IACf,QAAQ,EAAE,IAAI,EAAE,CAAC;IACjB,eAAe,EAAE,IAAI,EAAE,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;CACpB,CAAC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,QAAQ,EAAE,CAAC;AAEjD,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type RemoveGroup = {
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
description: string;
|
|
6
6
|
status: string;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
type GroupCustomerDetail = {
|
|
9
9
|
id: number;
|
|
10
10
|
full_name: string;
|
|
11
11
|
email: string;
|
|
@@ -14,35 +14,35 @@ declare type GroupCustomerDetail = {
|
|
|
14
14
|
lifetime_point: number;
|
|
15
15
|
current_point: number;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
type GroupCustomer = {
|
|
18
18
|
customer: GroupCustomerDetail;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type GetListGroupResponse = Nullable<{
|
|
21
21
|
id: number;
|
|
22
22
|
name: string;
|
|
23
23
|
description: string;
|
|
24
24
|
status: string;
|
|
25
25
|
}[]>;
|
|
26
|
-
export
|
|
27
|
-
export
|
|
26
|
+
export type GetGroupResponse = GroupCustomer[];
|
|
27
|
+
export type CreateGroupResponse = Nullable<{
|
|
28
28
|
id: number;
|
|
29
29
|
name: string;
|
|
30
30
|
status: string;
|
|
31
31
|
}>;
|
|
32
|
-
export
|
|
32
|
+
export type UpdateGroupResponse = Nullable<{
|
|
33
33
|
group: RemoveGroup;
|
|
34
34
|
customers: GroupCustomer[];
|
|
35
35
|
}>;
|
|
36
|
-
export
|
|
36
|
+
export type DeleteGroupResponse = Nullable<{
|
|
37
37
|
id: number;
|
|
38
38
|
name: string;
|
|
39
39
|
description: string;
|
|
40
40
|
status: string;
|
|
41
41
|
}>;
|
|
42
|
-
export
|
|
42
|
+
export type RemoveCustomerResponse = Nullable<{
|
|
43
43
|
group: RemoveGroup;
|
|
44
44
|
customers: GroupCustomer[];
|
|
45
45
|
}>;
|
|
46
|
-
export
|
|
46
|
+
export type GetListCustomerToAddGroupResponse = GroupCustomerDetail;
|
|
47
47
|
export {};
|
|
48
48
|
//# sourceMappingURL=group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.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CAClB,CAAC,CAAA;AAEF,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC;IAC1C,KAAK,EAAE,WAAW,CAAC;IACnB,SAAS,EAAE,aAAa,EAAE,CAAC;CAC9B,CAAC,CAAA;AAEF,MAAM,MAAM,iCAAiC,GAAG,mBAAmB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
export
|
|
2
|
+
export type GetNotifyAppointmentResponse = Nullable<{
|
|
3
3
|
id: number;
|
|
4
4
|
appointment_id: number;
|
|
5
5
|
customer_id: any;
|
|
@@ -11,12 +11,12 @@ export declare type GetNotifyAppointmentResponse = Nullable<{
|
|
|
11
11
|
is_read: number;
|
|
12
12
|
extra_data: ExtraData;
|
|
13
13
|
}[]>;
|
|
14
|
-
|
|
14
|
+
type ExtraData = Nullable<{
|
|
15
15
|
highlight: number;
|
|
16
16
|
request: number;
|
|
17
17
|
no_show: number;
|
|
18
18
|
}>;
|
|
19
|
-
export
|
|
19
|
+
export type GetNotifySystemResponse = Nullable<{
|
|
20
20
|
id: number;
|
|
21
21
|
user_id: any;
|
|
22
22
|
category: string;
|
|
@@ -34,7 +34,7 @@ export declare type GetNotifySystemResponse = Nullable<{
|
|
|
34
34
|
updated_at: any;
|
|
35
35
|
status: any;
|
|
36
36
|
}[]>;
|
|
37
|
-
export
|
|
37
|
+
export type MaskAsReadResponse = Nullable<{
|
|
38
38
|
id: string;
|
|
39
39
|
}>;
|
|
40
40
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../../../src/api/go_check_in_api/1.0.0/types/response/notification.ts"],"names":[],"mappings":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|
1
1
|
import { Nullable } from "../../../../../base_type";
|
|
2
|
-
|
|
2
|
+
type ReviewDetail = {
|
|
3
3
|
system: string;
|
|
4
4
|
type: string;
|
|
5
5
|
content: string;
|
|
@@ -7,33 +7,33 @@ declare type ReviewDetail = {
|
|
|
7
7
|
created_at: Date;
|
|
8
8
|
id: number;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
type ReviewContent = {
|
|
11
11
|
id: number;
|
|
12
12
|
content: string;
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
type Review = {
|
|
15
15
|
active: number;
|
|
16
16
|
content: ReviewContent[];
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type GetCheckinReviewListResponse = Nullable<{
|
|
19
19
|
good_review: Review;
|
|
20
20
|
bad_review: Review;
|
|
21
21
|
}>;
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
22
|
+
export type ActiveCheckinReviewResponse = string;
|
|
23
|
+
export type InactiveCheckinReviewResponse = string;
|
|
24
|
+
export type CreateCheckinReviewContentResponse = ReviewDetail;
|
|
25
|
+
export type UpdateCheckinReviewContentResponse = ReviewDetail;
|
|
26
|
+
export type DeleteCheckinReviewContentResponse = string;
|
|
27
|
+
export type GetGoogleReviewListResponse = Nullable<{
|
|
28
28
|
good_review: Review;
|
|
29
29
|
bad_review: Review;
|
|
30
30
|
}>;
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
|
|
31
|
+
export type ActiveGoogleReviewResponse = string;
|
|
32
|
+
export type InactiveGoogleReviewResponse = string;
|
|
33
|
+
export type CreateGoogleReviewContentResponse = ReviewDetail;
|
|
34
|
+
export type UpdateGoogleReviewContentResponse = ReviewDetail;
|
|
35
|
+
export type DeleteGoogleReviewContentResponse = string;
|
|
36
|
+
type Customer = Nullable<{
|
|
37
37
|
id: number;
|
|
38
38
|
first_name: string;
|
|
39
39
|
last_name: string;
|
|
@@ -71,7 +71,7 @@ declare type Customer = Nullable<{
|
|
|
71
71
|
current_point: number;
|
|
72
72
|
lifetime_point: number;
|
|
73
73
|
}>;
|
|
74
|
-
export
|
|
74
|
+
export type GetListReviewResponse = Nullable<{
|
|
75
75
|
id: number;
|
|
76
76
|
review_id: string;
|
|
77
77
|
user_id: string;
|
|
@@ -93,26 +93,30 @@ export declare type GetListReviewResponse = Nullable<{
|
|
|
93
93
|
status: number;
|
|
94
94
|
customer: Customer;
|
|
95
95
|
}[]>;
|
|
96
|
-
|
|
96
|
+
type Rating = Nullable<{
|
|
97
97
|
five_star: string;
|
|
98
98
|
four_star: string;
|
|
99
99
|
three_star: string;
|
|
100
100
|
two_star: string;
|
|
101
101
|
one_star: string;
|
|
102
102
|
}>;
|
|
103
|
-
|
|
103
|
+
type GoogleReview = Nullable<{
|
|
104
|
+
average_rating: number;
|
|
105
|
+
total_reviews: number;
|
|
106
|
+
}>;
|
|
107
|
+
export type GetReviewReportResponse = Nullable<{
|
|
104
108
|
total_survey: string;
|
|
105
109
|
customer_write_review_into_system: string;
|
|
106
110
|
total_gocheckin_review: string;
|
|
107
111
|
customer_give_rating_into_system: Rating;
|
|
108
|
-
google_review_at_sign_up:
|
|
109
|
-
google_review_current:
|
|
112
|
+
google_review_at_sign_up: GoogleReview;
|
|
113
|
+
google_review_current: GoogleReview;
|
|
110
114
|
total_google_review: string;
|
|
111
115
|
google_review_rating: Rating;
|
|
112
116
|
total_yelp_review: string;
|
|
113
117
|
yelp_review_rating: Rating;
|
|
114
118
|
}>;
|
|
115
|
-
export
|
|
119
|
+
export type GetSystemMessageResponse = Nullable<{
|
|
116
120
|
id: number;
|
|
117
121
|
customer_id: number;
|
|
118
122
|
from_phone: string;
|
|
@@ -128,6 +132,6 @@ export declare type GetSystemMessageResponse = Nullable<{
|
|
|
128
132
|
updated_at: Date;
|
|
129
133
|
sms_count: number;
|
|
130
134
|
}[]>;
|
|
131
|
-
export
|
|
135
|
+
export type ReplyGoCheckinResponse = Nullable<any>;
|
|
132
136
|
export {};
|
|
133
137
|
//# sourceMappingURL=review.d.ts.map
|