@@ -24,19 +24,22 @@ export class Conversations extends APIResource {
2424  /** 
2525   * Create a conversation. 
2626   */ 
27-   create ( body : ConversationCreateParams ,  options ?: RequestOptions ) : APIPromise < Conversation >  { 
27+   create ( 
28+     body : ConversationCreateParams  |  null  |  undefined  =  { } , 
29+     options ?: RequestOptions , 
30+   ) : APIPromise < Conversation >  { 
2831    return  this . _client . post ( '/conversations' ,  {  body,  ...options  } ) ; 
2932  } 
3033
3134  /** 
32-    * Get a conversation with the given ID.  
35+    * Get a conversation 
3336   */ 
3437  retrieve ( conversationID : string ,  options ?: RequestOptions ) : APIPromise < Conversation >  { 
3538    return  this . _client . get ( path `/conversations/${ conversationID }  ` ,  options ) ; 
3639  } 
3740
3841  /** 
39-    * Update a conversation's metadata with the given ID.  
42+    * Update a conversation 
4043   */ 
4144  update ( 
4245    conversationID : string , 
@@ -47,7 +50,7 @@ export class Conversations extends APIResource {
4750  } 
4851
4952  /** 
50-    * Delete a conversation with  the given ID . 
53+    * Delete a conversation. Items in  the conversation will not be deleted . 
5154   */ 
5255  delete ( conversationID : string ,  options ?: RequestOptions ) : APIPromise < ConversationDeletedResource >  { 
5356    return  this . _client . delete ( path `/conversations/${ conversationID }  ` ,  options ) ; 
@@ -233,11 +236,12 @@ export interface ConversationUpdateParams {
233236  /** 
234237   * Set of 16 key-value pairs that can be attached to an object. This can be useful 
235238   * for storing additional information about the object in a structured format, and 
236-    * querying for objects via API or the dashboard. Keys are strings with a maximum 
237-    * length of 64 characters. Values are strings with a maximum length of 512 
238-    * characters. 
239+    * querying for objects via API or the dashboard. 
240+    * 
241+    * Keys are strings with a maximum length of 64 characters. Values are strings with 
242+    * a maximum length of 512 characters. 
239243   */ 
240-   metadata : {   [ key :  string ] :  string   } ; 
244+   metadata : Shared . Metadata   |   null ; 
241245} 
242246
243247Conversations . Items  =  Items ; 
0 commit comments