@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.
- package/dist/index-frontend.cjs +2 -15
- package/dist/index-frontend.cjs.map +1 -1
- package/dist/index-frontend.mjs +2 -15
- package/dist/index-frontend.mjs.map +1 -1
- package/dist/index.cjs +42 -50
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +42 -50
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +6 -6
- package/dist/test.js +114 -126
- package/dist/test.js.map +1 -1
- package/dist/types/alpaca-market-data-api.d.ts +7 -7
- package/dist/types/alpaca-market-data-api.d.ts.map +1 -1
- package/dist/types/types/alpaca-types.d.ts +16 -0
- package/dist/types/types/alpaca-types.d.ts.map +1 -1
- package/dist/types-frontend/alpaca-market-data-api.d.ts +7 -7
- package/dist/types-frontend/alpaca-market-data-api.d.ts.map +1 -1
- package/dist/types-frontend/types/alpaca-types.d.ts +16 -0
- package/dist/types-frontend/types/alpaca-types.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/index-frontend.cjs
CHANGED
|
@@ -255,7 +255,7 @@ const safeJSON = (text) => {
|
|
|
255
255
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
256
256
|
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
257
257
|
|
|
258
|
-
const VERSION = '6.
|
|
258
|
+
const VERSION = '6.5.0'; // x-release-please-version
|
|
259
259
|
|
|
260
260
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
261
261
|
const isRunningInBrowser = () => {
|
|
@@ -3810,19 +3810,6 @@ class ChatKit extends APIResource {
|
|
|
3810
3810
|
this.sessions = new Sessions(this._client);
|
|
3811
3811
|
this.threads = new Threads$1(this._client);
|
|
3812
3812
|
}
|
|
3813
|
-
/**
|
|
3814
|
-
* Upload a ChatKit file
|
|
3815
|
-
*
|
|
3816
|
-
* @example
|
|
3817
|
-
* ```ts
|
|
3818
|
-
* const response = await client.beta.chatkit.uploadFile({
|
|
3819
|
-
* file: fs.createReadStream('path/to/file'),
|
|
3820
|
-
* });
|
|
3821
|
-
* ```
|
|
3822
|
-
*/
|
|
3823
|
-
uploadFile(body, options) {
|
|
3824
|
-
return this._client.post('/chatkit/files', maybeMultipartFormRequestOptions({ body, ...options, headers: buildHeaders([{ 'OpenAI-Beta': 'chatkit_beta=v1' }, options?.headers]) }, this._client));
|
|
3825
|
-
}
|
|
3826
3813
|
}
|
|
3827
3814
|
ChatKit.Sessions = Sessions;
|
|
3828
3815
|
ChatKit.Threads = Threads$1;
|
|
@@ -5144,7 +5131,7 @@ let Files$1 = class Files extends APIResource {
|
|
|
5144
5131
|
return this._client.getAPIList('/files', (CursorPage), { query, ...options });
|
|
5145
5132
|
}
|
|
5146
5133
|
/**
|
|
5147
|
-
* Delete a file.
|
|
5134
|
+
* Delete a file and remove it from all vector stores.
|
|
5148
5135
|
*/
|
|
5149
5136
|
delete(fileID, options) {
|
|
5150
5137
|
return this._client.delete(path `/files/${fileID}`, options);
|