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