@papercups-io/chat-widget
Advanced tools
Comparing version 1.0.20 to 1.0.21
export declare type CustomerMetadata = { | ||
name: string; | ||
email: string; | ||
external_id: string; | ||
}; | ||
name?: string; | ||
email?: string; | ||
external_id?: string; | ||
} | null; | ||
export declare const createNewCustomer: (accountId: string, metadata?: CustomerMetadata, baseUrl?: string) => Promise<any>; | ||
@@ -7,0 +7,0 @@ export declare const updateCustomerMetadata: (customerId: string, metadata?: CustomerMetadata, baseUrl?: string) => Promise<any>; |
@@ -15,3 +15,3 @@ import React from 'react'; | ||
messages: Array<Message>; | ||
customerId: string; | ||
customerId: string | null; | ||
conversationId: string | null; | ||
@@ -24,2 +24,3 @@ isSending: boolean; | ||
channel: any; | ||
storage: any; | ||
state: State; | ||
@@ -31,3 +32,7 @@ componentDidMount(): void; | ||
createNewCustomerId: (accountId: string) => Promise<any>; | ||
updateExistingCustomer: (customerId: string, metadata?: API.CustomerMetadata | undefined) => Promise<void>; | ||
updateExistingCustomer: (customerId: string, metadata?: { | ||
name?: string | undefined; | ||
email?: string | undefined; | ||
external_id?: string | undefined; | ||
} | null | undefined) => Promise<void>; | ||
initializeNewConversation: () => Promise<{ | ||
@@ -34,0 +39,0 @@ customerId: any; |
{ | ||
"name": "@papercups-io/chat-widget", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"description": "Papercups chat widget", | ||
@@ -5,0 +5,0 @@ "author": "reichert621", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
277480
3777