@discomedia/utils 1.0.40 → 1.0.42

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.
@@ -253,7 +253,7 @@ const safeJSON = (text) => {
253
253
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
254
254
  const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
255
255
 
256
- const VERSION = '6.2.0'; // x-release-please-version
256
+ const VERSION = '6.5.0'; // x-release-please-version
257
257
 
258
258
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
259
259
  const isRunningInBrowser = () => {
@@ -3808,19 +3808,6 @@ class ChatKit extends APIResource {
3808
3808
  this.sessions = new Sessions(this._client);
3809
3809
  this.threads = new Threads$1(this._client);
3810
3810
  }
3811
- /**
3812
- * Upload a ChatKit file
3813
- *
3814
- * @example
3815
- * ```ts
3816
- * const response = await client.beta.chatkit.uploadFile({
3817
- * file: fs.createReadStream('path/to/file'),
3818
- * });
3819
- * ```
3820
- */
3821
- uploadFile(body, options) {
3822
- return this._client.post('/chatkit/files', maybeMultipartFormRequestOptions({ body, ...options, headers: buildHeaders([{ 'OpenAI-Beta': 'chatkit_beta=v1' }, options?.headers]) }, this._client));
3823
- }
3824
3811
  }
3825
3812
  ChatKit.Sessions = Sessions;
3826
3813
  ChatKit.Threads = Threads$1;
@@ -5142,7 +5129,7 @@ let Files$1 = class Files extends APIResource {
5142
5129
  return this._client.getAPIList('/files', (CursorPage), { query, ...options });
5143
5130
  }
5144
5131
  /**
5145
- * Delete a file.
5132
+ * Delete a file and remove it from all vector stores.
5146
5133
  */
5147
5134
  delete(fileID, options) {
5148
5135
  return this._client.delete(path `/files/${fileID}`, options);