diff --git a/README.md b/README.md index a2920b9..2d17e0c 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ interface ICustomerProfile { email?: string; chat: { id?: string; - groupID: string; + groupID: number; preChatSurvey: { question: string; answer: string }[]; }; source: 'chats' | 'archives' | 'customers'; diff --git a/src/widgets/shared/customer-profile.ts b/src/widgets/shared/customer-profile.ts index 65f7bd8..f8b0adb 100644 --- a/src/widgets/shared/customer-profile.ts +++ b/src/widgets/shared/customer-profile.ts @@ -15,7 +15,7 @@ export interface ICustomerProfile { email?: string; chat: { id: string; - groupID: string; + groupID: number; preChatSurvey?: { question: string; answer: string }[]; }; source: 'chats' | 'archives' | 'customers';