@discomedia/utils 1.0.35 → 1.0.36

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.
@@ -267,7 +267,7 @@ const safeJSON = (text) => {
267
267
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
268
268
  const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
269
269
 
270
- const VERSION = '5.22.0'; // x-release-please-version
270
+ const VERSION = '5.23.1'; // x-release-please-version
271
271
 
272
272
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
273
273
  const isRunningInBrowser = () => {
@@ -4774,23 +4774,23 @@ class Conversations extends APIResource {
4774
4774
  /**
4775
4775
  * Create a conversation.
4776
4776
  */
4777
- create(body, options) {
4777
+ create(body = {}, options) {
4778
4778
  return this._client.post('/conversations', { body, ...options });
4779
4779
  }
4780
4780
  /**
4781
- * Get a conversation with the given ID.
4781
+ * Get a conversation
4782
4782
  */
4783
4783
  retrieve(conversationID, options) {
4784
4784
  return this._client.get(path `/conversations/${conversationID}`, options);
4785
4785
  }
4786
4786
  /**
4787
- * Update a conversation's metadata with the given ID.
4787
+ * Update a conversation
4788
4788
  */
4789
4789
  update(conversationID, body, options) {
4790
4790
  return this._client.post(path `/conversations/${conversationID}`, { body, ...options });
4791
4791
  }
4792
4792
  /**
4793
- * Delete a conversation with the given ID.
4793
+ * Delete a conversation. Items in the conversation will not be deleted.
4794
4794
  */
4795
4795
  delete(conversationID, options) {
4796
4796
  return this._client.delete(path `/conversations/${conversationID}`, options);