@types/smooch
Advanced tools
Comparing version 5.3.2 to 5.3.3
@@ -693,3 +693,3 @@ interface InitOptions { | ||
avatarUrl: string; | ||
metadata: unknown; | ||
metadata: Metadata; | ||
properties: unknown; | ||
@@ -705,2 +705,14 @@ } | ||
type Metadata = Record<string, string | number | boolean>; | ||
type ContentType = 'text' | ||
| 'carousel' | ||
| 'file' | ||
| 'form' | ||
| 'formResponse' | ||
| 'image' | ||
| 'list' | ||
| 'location' | ||
| 'template'; | ||
interface Message { | ||
@@ -711,3 +723,3 @@ role: 'user' | 'business'; | ||
id: string; | ||
type: 'text' | 'formResponse' | 'form'; | ||
type: ContentType; | ||
received: number; | ||
@@ -738,3 +750,3 @@ text: string; | ||
participants: ConversationParticipant[]; | ||
metadata: {}; | ||
metadata: Metadata; | ||
messages: Message[]; | ||
@@ -741,0 +753,0 @@ } |
{ | ||
"name": "@types/smooch", | ||
"version": "5.3.2", | ||
"version": "5.3.3", | ||
"description": "TypeScript definitions for smooch", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/smooch", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "abda5379cd76aac917e575ba30cc3598da6e7ec7bf45f97a8bd5db2f2a892538", | ||
"typesPublisherContentHash": "40390db67134096445ea267cd74e1718767c315459465a23a7c5458dcac4984c", | ||
"typeScriptVersion": "4.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 24 Jun 2022 20:31:37 GMT | ||
* Last updated: Wed, 13 Jul 2022 17:02:22 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `Smooch` |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
38780
1036
0