@mixedbread/sdk 0.1.0-alpha.8
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/CHANGELOG.md +210 -0
- package/LICENSE +201 -0
- package/README.md +360 -0
- package/_shims/MultipartBody.d.ts +9 -0
- package/_shims/MultipartBody.d.ts.map +1 -0
- package/_shims/MultipartBody.js +16 -0
- package/_shims/MultipartBody.js.map +1 -0
- package/_shims/MultipartBody.mjs +12 -0
- package/_shims/MultipartBody.mjs.map +1 -0
- package/_shims/README.md +46 -0
- package/_shims/auto/runtime-bun.d.ts +5 -0
- package/_shims/auto/runtime-bun.d.ts.map +1 -0
- package/_shims/auto/runtime-bun.js +21 -0
- package/_shims/auto/runtime-bun.js.map +1 -0
- package/_shims/auto/runtime-bun.mjs +2 -0
- package/_shims/auto/runtime-bun.mjs.map +1 -0
- package/_shims/auto/runtime-node.d.ts +5 -0
- package/_shims/auto/runtime-node.d.ts.map +1 -0
- package/_shims/auto/runtime-node.js +21 -0
- package/_shims/auto/runtime-node.js.map +1 -0
- package/_shims/auto/runtime-node.mjs +2 -0
- package/_shims/auto/runtime-node.mjs.map +1 -0
- package/_shims/auto/runtime.d.ts +5 -0
- package/_shims/auto/runtime.d.ts.map +1 -0
- package/_shims/auto/runtime.js +21 -0
- package/_shims/auto/runtime.js.map +1 -0
- package/_shims/auto/runtime.mjs +2 -0
- package/_shims/auto/runtime.mjs.map +1 -0
- package/_shims/auto/types-node.d.ts +5 -0
- package/_shims/auto/types-node.d.ts.map +1 -0
- package/_shims/auto/types-node.js +21 -0
- package/_shims/auto/types-node.js.map +1 -0
- package/_shims/auto/types-node.mjs +2 -0
- package/_shims/auto/types-node.mjs.map +1 -0
- package/_shims/auto/types.d.ts +101 -0
- package/_shims/auto/types.js +3 -0
- package/_shims/auto/types.mjs +3 -0
- package/_shims/bun-runtime.d.ts +6 -0
- package/_shims/bun-runtime.d.ts.map +1 -0
- package/_shims/bun-runtime.js +14 -0
- package/_shims/bun-runtime.js.map +1 -0
- package/_shims/bun-runtime.mjs +10 -0
- package/_shims/bun-runtime.mjs.map +1 -0
- package/_shims/index.d.ts +81 -0
- package/_shims/index.js +13 -0
- package/_shims/index.mjs +7 -0
- package/_shims/manual-types.d.ts +12 -0
- package/_shims/manual-types.js +3 -0
- package/_shims/manual-types.mjs +3 -0
- package/_shims/node-runtime.d.ts +3 -0
- package/_shims/node-runtime.d.ts.map +1 -0
- package/_shims/node-runtime.js +89 -0
- package/_shims/node-runtime.js.map +1 -0
- package/_shims/node-runtime.mjs +56 -0
- package/_shims/node-runtime.mjs.map +1 -0
- package/_shims/node-types.d.ts +42 -0
- package/_shims/node-types.js +3 -0
- package/_shims/node-types.mjs +3 -0
- package/_shims/registry.d.ts +37 -0
- package/_shims/registry.d.ts.map +1 -0
- package/_shims/registry.js +41 -0
- package/_shims/registry.js.map +1 -0
- package/_shims/registry.mjs +37 -0
- package/_shims/registry.mjs.map +1 -0
- package/_shims/web-runtime.d.ts +5 -0
- package/_shims/web-runtime.d.ts.map +1 -0
- package/_shims/web-runtime.js +78 -0
- package/_shims/web-runtime.js.map +1 -0
- package/_shims/web-runtime.mjs +71 -0
- package/_shims/web-runtime.mjs.map +1 -0
- package/_shims/web-types.d.ts +83 -0
- package/_shims/web-types.js +3 -0
- package/_shims/web-types.mjs +3 -0
- package/core.d.ts +241 -0
- package/core.d.ts.map +1 -0
- package/core.js +914 -0
- package/core.js.map +1 -0
- package/core.mjs +882 -0
- package/core.mjs.map +1 -0
- package/error.d.ts +47 -0
- package/error.d.ts.map +1 -0
- package/error.js +113 -0
- package/error.js.map +1 -0
- package/error.mjs +97 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +148 -0
- package/index.d.ts +148 -0
- package/index.d.ts.map +1 -0
- package/index.js +151 -0
- package/index.js.map +1 -0
- package/index.mjs +108 -0
- package/index.mjs.map +1 -0
- package/lib/polling.d.ts +48 -0
- package/lib/polling.d.ts.map +1 -0
- package/lib/polling.js +75 -0
- package/lib/polling.js.map +1 -0
- package/lib/polling.mjs +71 -0
- package/lib/polling.mjs.map +1 -0
- package/package.json +124 -0
- package/pagination.d.ts +30 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +45 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +41 -0
- package/pagination.mjs.map +1 -0
- package/resource.d.ts +6 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +11 -0
- package/resource.js.map +1 -0
- package/resource.mjs +7 -0
- package/resource.mjs.map +1 -0
- package/resources/extractions/content.d.ts +35 -0
- package/resources/extractions/content.d.ts.map +1 -0
- package/resources/extractions/content.js +19 -0
- package/resources/extractions/content.js.map +1 -0
- package/resources/extractions/content.mjs +15 -0
- package/resources/extractions/content.mjs.map +1 -0
- package/resources/extractions/extractions.d.ts +18 -0
- package/resources/extractions/extractions.d.ts.map +1 -0
- package/resources/extractions/extractions.js +47 -0
- package/resources/extractions/extractions.js.map +1 -0
- package/resources/extractions/extractions.mjs +20 -0
- package/resources/extractions/extractions.mjs.map +1 -0
- package/resources/extractions/index.d.ts +5 -0
- package/resources/extractions/index.d.ts.map +1 -0
- package/resources/extractions/index.js +13 -0
- package/resources/extractions/index.js.map +1 -0
- package/resources/extractions/index.mjs +6 -0
- package/resources/extractions/index.mjs.map +1 -0
- package/resources/extractions/jobs.d.ts +44 -0
- package/resources/extractions/jobs.d.ts.map +1 -0
- package/resources/extractions/jobs.js +29 -0
- package/resources/extractions/jobs.js.map +1 -0
- package/resources/extractions/jobs.mjs +25 -0
- package/resources/extractions/jobs.mjs.map +1 -0
- package/resources/extractions/schema.d.ts +85 -0
- package/resources/extractions/schema.d.ts.map +1 -0
- package/resources/extractions/schema.js +39 -0
- package/resources/extractions/schema.js.map +1 -0
- package/resources/extractions/schema.mjs +35 -0
- package/resources/extractions/schema.mjs.map +1 -0
- package/resources/files.d.ts +125 -0
- package/resources/files.d.ts.map +1 -0
- package/resources/files.js +99 -0
- package/resources/files.js.map +1 -0
- package/resources/files.mjs +71 -0
- package/resources/files.mjs.map +1 -0
- package/resources/index.d.ts +7 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +30 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +7 -0
- package/resources/index.mjs.map +1 -0
- package/resources/parsing/index.d.ts +3 -0
- package/resources/parsing/index.d.ts.map +1 -0
- package/resources/parsing/index.js +10 -0
- package/resources/parsing/index.js.map +1 -0
- package/resources/parsing/index.mjs +4 -0
- package/resources/parsing/index.mjs.map +1 -0
- package/resources/parsing/jobs.d.ts +278 -0
- package/resources/parsing/jobs.d.ts.map +1 -0
- package/resources/parsing/jobs.js +147 -0
- package/resources/parsing/jobs.js.map +1 -0
- package/resources/parsing/jobs.mjs +119 -0
- package/resources/parsing/jobs.mjs.map +1 -0
- package/resources/parsing/parsing.d.ts +10 -0
- package/resources/parsing/parsing.d.ts.map +1 -0
- package/resources/parsing/parsing.js +40 -0
- package/resources/parsing/parsing.js.map +1 -0
- package/resources/parsing/parsing.mjs +13 -0
- package/resources/parsing/parsing.mjs.map +1 -0
- package/resources/shared.d.ts +35 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js +4 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +3 -0
- package/resources/shared.mjs.map +1 -0
- package/resources/top-level.d.ts +11 -0
- package/resources/top-level.d.ts.map +1 -0
- package/resources/top-level.js +4 -0
- package/resources/top-level.js.map +1 -0
- package/resources/top-level.mjs +3 -0
- package/resources/top-level.mjs.map +1 -0
- package/resources/vector-stores/files.d.ts +280 -0
- package/resources/vector-stores/files.d.ts.map +1 -0
- package/resources/vector-stores/files.js +167 -0
- package/resources/vector-stores/files.js.map +1 -0
- package/resources/vector-stores/files.mjs +139 -0
- package/resources/vector-stores/files.mjs.map +1 -0
- package/resources/vector-stores/index.d.ts +3 -0
- package/resources/vector-stores/index.d.ts.map +1 -0
- package/resources/vector-stores/index.js +11 -0
- package/resources/vector-stores/index.js.map +1 -0
- package/resources/vector-stores/index.mjs +4 -0
- package/resources/vector-stores/index.mjs.map +1 -0
- package/resources/vector-stores/vector-stores.d.ts +400 -0
- package/resources/vector-stores/vector-stores.d.ts.map +1 -0
- package/resources/vector-stores/vector-stores.js +121 -0
- package/resources/vector-stores/vector-stores.js.map +1 -0
- package/resources/vector-stores/vector-stores.mjs +93 -0
- package/resources/vector-stores/vector-stores.mjs.map +1 -0
- package/shims/node.d.ts +30 -0
- package/shims/node.d.ts.map +1 -0
- package/shims/node.js +31 -0
- package/shims/node.js.map +1 -0
- package/shims/node.mjs +5 -0
- package/shims/node.mjs.map +1 -0
- package/shims/web.d.ts +26 -0
- package/shims/web.d.ts.map +1 -0
- package/shims/web.js +31 -0
- package/shims/web.js.map +1 -0
- package/shims/web.mjs +5 -0
- package/shims/web.mjs.map +1 -0
- package/src/_shims/MultipartBody.ts +9 -0
- package/src/_shims/README.md +46 -0
- package/src/_shims/auto/runtime-bun.ts +4 -0
- package/src/_shims/auto/runtime-node.ts +4 -0
- package/src/_shims/auto/runtime.ts +4 -0
- package/src/_shims/auto/types-node.ts +4 -0
- package/src/_shims/auto/types.d.ts +101 -0
- package/src/_shims/auto/types.js +3 -0
- package/src/_shims/auto/types.mjs +3 -0
- package/src/_shims/bun-runtime.ts +14 -0
- package/src/_shims/index.d.ts +81 -0
- package/src/_shims/index.js +13 -0
- package/src/_shims/index.mjs +7 -0
- package/src/_shims/manual-types.d.ts +12 -0
- package/src/_shims/manual-types.js +3 -0
- package/src/_shims/manual-types.mjs +3 -0
- package/src/_shims/node-runtime.ts +81 -0
- package/src/_shims/node-types.d.ts +42 -0
- package/src/_shims/node-types.js +3 -0
- package/src/_shims/node-types.mjs +3 -0
- package/src/_shims/registry.ts +67 -0
- package/src/_shims/web-runtime.ts +103 -0
- package/src/_shims/web-types.d.ts +83 -0
- package/src/_shims/web-types.js +3 -0
- package/src/_shims/web-types.mjs +3 -0
- package/src/core.ts +1208 -0
- package/src/error.ts +130 -0
- package/src/index.ts +294 -0
- package/src/lib/.keep +4 -0
- package/src/lib/polling.ts +115 -0
- package/src/pagination.ts +82 -0
- package/src/resource.ts +11 -0
- package/src/resources/extractions/content.ts +43 -0
- package/src/resources/extractions/extractions.ts +47 -0
- package/src/resources/extractions/index.ts +14 -0
- package/src/resources/extractions/jobs.ts +55 -0
- package/src/resources/extractions/schema.ts +111 -0
- package/src/resources/files.ts +181 -0
- package/src/resources/index.ts +32 -0
- package/src/resources/parsing/index.ts +12 -0
- package/src/resources/parsing/jobs.ts +438 -0
- package/src/resources/parsing/parsing.ts +32 -0
- package/src/resources/shared.ts +41 -0
- package/src/resources/top-level.ts +14 -0
- package/src/resources/vector-stores/files.ts +434 -0
- package/src/resources/vector-stores/index.ts +30 -0
- package/src/resources/vector-stores/vector-stores.ts +561 -0
- package/src/shims/node.ts +50 -0
- package/src/shims/web.ts +50 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +255 -0
- package/src/version.ts +1 -0
- package/uploads.d.ts +75 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +171 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +158 -0
- package/uploads.mjs.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
@@ -0,0 +1,35 @@
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
import { APIResource } from "../../resource.mjs";
|
3
|
+
export class Schema extends APIResource {
|
4
|
+
/**
|
5
|
+
* Create a schema with the provided parameters.
|
6
|
+
*
|
7
|
+
* Args: params: The parameters for creating a schema.
|
8
|
+
*
|
9
|
+
* Returns: The created schema.
|
10
|
+
*/
|
11
|
+
create(body, options) {
|
12
|
+
return this._client.post('/v1/extractions/schema', { body, ...options });
|
13
|
+
}
|
14
|
+
/**
|
15
|
+
* Enhance a schema by enriching the descriptions to aid extraction.
|
16
|
+
*
|
17
|
+
* Args: params: The parameters for enhancing a schema.
|
18
|
+
*
|
19
|
+
* Returns: The enhanced schema.
|
20
|
+
*/
|
21
|
+
enhance(body, options) {
|
22
|
+
return this._client.post('/v1/extractions/schema/enhance', { body, ...options });
|
23
|
+
}
|
24
|
+
/**
|
25
|
+
* Validate a schema.
|
26
|
+
*
|
27
|
+
* Args: params: The parameters for validating a schema.
|
28
|
+
*
|
29
|
+
* Returns: The validation result.
|
30
|
+
*/
|
31
|
+
validate(body, options) {
|
32
|
+
return this._client.post('/v1/extractions/schema/validate', { body, ...options });
|
33
|
+
}
|
34
|
+
}
|
35
|
+
//# sourceMappingURL=schema.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"schema.mjs","sourceRoot":"","sources":["../../src/resources/extractions/schema.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;OAMG;IACH,MAAM,CAAC,IAAwB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;OAMG;IACH,OAAO,CAAC,IAAyB,EAAE,OAA6B;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,IAA0B,EAAE,OAA6B;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iCAAiC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;CACF"}
|
@@ -0,0 +1,125 @@
|
|
1
|
+
import { APIResource } from "../resource.js";
|
2
|
+
import * as Core from "../core.js";
|
3
|
+
import { LimitOffset, type LimitOffsetParams } from "../pagination.js";
|
4
|
+
import { type Response } from "../_shims/index.js";
|
5
|
+
export declare class Files extends APIResource {
|
6
|
+
/**
|
7
|
+
* Upload a new file.
|
8
|
+
*
|
9
|
+
* Args: file: The file to upload.
|
10
|
+
*
|
11
|
+
* Returns: FileResponse: The response containing the details of the uploaded file.
|
12
|
+
*/
|
13
|
+
create(body: FileCreateParams, options?: Core.RequestOptions): Core.APIPromise<FileObject>;
|
14
|
+
/**
|
15
|
+
* Retrieve details of a specific file by its ID.
|
16
|
+
*
|
17
|
+
* Args: file_id: The ID of the file to retrieve.
|
18
|
+
*
|
19
|
+
* Returns: FileResponse: The response containing the file details.
|
20
|
+
*/
|
21
|
+
retrieve(fileId: string, options?: Core.RequestOptions): Core.APIPromise<FileObject>;
|
22
|
+
/**
|
23
|
+
* Update the details of a specific file.
|
24
|
+
*
|
25
|
+
* Args: file_id: The ID of the file to update. file: The new details for the file.
|
26
|
+
*
|
27
|
+
* Returns: FileObject: The updated file details.
|
28
|
+
*/
|
29
|
+
update(fileId: string, body: FileUpdateParams, options?: Core.RequestOptions): Core.APIPromise<FileObject>;
|
30
|
+
/**
|
31
|
+
* List all files for the authenticated user.
|
32
|
+
*
|
33
|
+
* Args: pagination: The pagination options
|
34
|
+
*
|
35
|
+
* Returns: A list of files belonging to the user.
|
36
|
+
*/
|
37
|
+
list(query?: FileListParams, options?: Core.RequestOptions): Core.PagePromise<FileObjectsLimitOffset, FileObject>;
|
38
|
+
list(options?: Core.RequestOptions): Core.PagePromise<FileObjectsLimitOffset, FileObject>;
|
39
|
+
/**
|
40
|
+
* Delete a specific file by its ID.
|
41
|
+
*
|
42
|
+
* Args: file_id: The ID of the file to delete.
|
43
|
+
*
|
44
|
+
* Returns: FileDeleted: The response containing the details of the deleted file.
|
45
|
+
*/
|
46
|
+
delete(fileId: string, options?: Core.RequestOptions): Core.APIPromise<FileDeleteResponse>;
|
47
|
+
/**
|
48
|
+
* Download a specific file by its ID.
|
49
|
+
*
|
50
|
+
* Args: file_id: The ID of the file to download.
|
51
|
+
*
|
52
|
+
* Returns: FileStreamResponse: The response containing the file to be downloaded.
|
53
|
+
*/
|
54
|
+
content(fileId: string, options?: Core.RequestOptions): Core.APIPromise<Response>;
|
55
|
+
}
|
56
|
+
export declare class FileObjectsLimitOffset extends LimitOffset<FileObject> {
|
57
|
+
}
|
58
|
+
/**
|
59
|
+
* A model representing a file object in the system.
|
60
|
+
*
|
61
|
+
* This model contains metadata about files stored in the system, including
|
62
|
+
* identifiers, size information, and timestamps.
|
63
|
+
*/
|
64
|
+
export interface FileObject {
|
65
|
+
/**
|
66
|
+
* Unique identifier for the file
|
67
|
+
*/
|
68
|
+
id: string;
|
69
|
+
/**
|
70
|
+
* Name of the file including extension
|
71
|
+
*/
|
72
|
+
filename: string;
|
73
|
+
/**
|
74
|
+
* Size of the file in bytes
|
75
|
+
*/
|
76
|
+
bytes: number;
|
77
|
+
/**
|
78
|
+
* MIME type of the file
|
79
|
+
*/
|
80
|
+
mime_type: string;
|
81
|
+
/**
|
82
|
+
* Version of the file
|
83
|
+
*/
|
84
|
+
version: number;
|
85
|
+
/**
|
86
|
+
* Timestamp when the file was created
|
87
|
+
*/
|
88
|
+
created_at: string;
|
89
|
+
/**
|
90
|
+
* Timestamp when the file was last updated
|
91
|
+
*/
|
92
|
+
updated_at: string;
|
93
|
+
}
|
94
|
+
export interface FileDeleteResponse {
|
95
|
+
/**
|
96
|
+
* The ID of the deleted file
|
97
|
+
*/
|
98
|
+
id: string;
|
99
|
+
/**
|
100
|
+
* Whether the file was deleted
|
101
|
+
*/
|
102
|
+
deleted?: boolean;
|
103
|
+
/**
|
104
|
+
* The type of the deleted object
|
105
|
+
*/
|
106
|
+
object?: 'file';
|
107
|
+
}
|
108
|
+
export interface FileCreateParams {
|
109
|
+
/**
|
110
|
+
* The file to upload
|
111
|
+
*/
|
112
|
+
file: Core.Uploadable;
|
113
|
+
}
|
114
|
+
export interface FileUpdateParams {
|
115
|
+
/**
|
116
|
+
* The file to update
|
117
|
+
*/
|
118
|
+
file: Core.Uploadable;
|
119
|
+
}
|
120
|
+
export interface FileListParams extends LimitOffsetParams {
|
121
|
+
}
|
122
|
+
export declare namespace Files {
|
123
|
+
export { type FileObject as FileObject, type FileDeleteResponse as FileDeleteResponse, FileObjectsLimitOffset as FileObjectsLimitOffset, type FileCreateParams as FileCreateParams, type FileUpdateParams as FileUpdateParams, type FileListParams as FileListParams, };
|
124
|
+
}
|
125
|
+
//# sourceMappingURL=files.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,KAAK,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;OAMG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;IAI1F;;;;;;OAMG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;IAIpF;;;;;;OAMG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;IAI1G;;;;;;OAMG;IACH,IAAI,CACF,KAAK,CAAC,EAAE,cAAc,EACtB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,sBAAsB,EAAE,UAAU,CAAC;IACvD,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,WAAW,CAAC,sBAAsB,EAAE,UAAU,CAAC;IAWzF;;;;;;OAMG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAI1F;;;;;;OAMG;IACH,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;CAOlF;AAED,qBAAa,sBAAuB,SAAQ,WAAW,CAAC,UAAU,CAAC;CAAG;AAEtE;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC;CACvB;AAED,MAAM,WAAW,cAAe,SAAQ,iBAAiB;CAAG;AAI5D,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,sBAAsB,IAAI,sBAAsB,EAChD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
|
@@ -0,0 +1,99 @@
|
|
1
|
+
"use strict";
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
4
|
+
if (k2 === undefined) k2 = k;
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
8
|
+
}
|
9
|
+
Object.defineProperty(o, k2, desc);
|
10
|
+
}) : (function(o, m, k, k2) {
|
11
|
+
if (k2 === undefined) k2 = k;
|
12
|
+
o[k2] = m[k];
|
13
|
+
}));
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
16
|
+
}) : function(o, v) {
|
17
|
+
o["default"] = v;
|
18
|
+
});
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
20
|
+
if (mod && mod.__esModule) return mod;
|
21
|
+
var result = {};
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
23
|
+
__setModuleDefault(result, mod);
|
24
|
+
return result;
|
25
|
+
};
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
27
|
+
exports.FileObjectsLimitOffset = exports.Files = void 0;
|
28
|
+
const resource_1 = require("../resource.js");
|
29
|
+
const core_1 = require("../core.js");
|
30
|
+
const Core = __importStar(require("../core.js"));
|
31
|
+
const pagination_1 = require("../pagination.js");
|
32
|
+
class Files extends resource_1.APIResource {
|
33
|
+
/**
|
34
|
+
* Upload a new file.
|
35
|
+
*
|
36
|
+
* Args: file: The file to upload.
|
37
|
+
*
|
38
|
+
* Returns: FileResponse: The response containing the details of the uploaded file.
|
39
|
+
*/
|
40
|
+
create(body, options) {
|
41
|
+
return this._client.post('/v1/files', Core.multipartFormRequestOptions({ body, ...options }));
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* Retrieve details of a specific file by its ID.
|
45
|
+
*
|
46
|
+
* Args: file_id: The ID of the file to retrieve.
|
47
|
+
*
|
48
|
+
* Returns: FileResponse: The response containing the file details.
|
49
|
+
*/
|
50
|
+
retrieve(fileId, options) {
|
51
|
+
return this._client.get(`/v1/files/${fileId}`, options);
|
52
|
+
}
|
53
|
+
/**
|
54
|
+
* Update the details of a specific file.
|
55
|
+
*
|
56
|
+
* Args: file_id: The ID of the file to update. file: The new details for the file.
|
57
|
+
*
|
58
|
+
* Returns: FileObject: The updated file details.
|
59
|
+
*/
|
60
|
+
update(fileId, body, options) {
|
61
|
+
return this._client.post(`/v1/files/${fileId}`, Core.multipartFormRequestOptions({ body, ...options }));
|
62
|
+
}
|
63
|
+
list(query = {}, options) {
|
64
|
+
if ((0, core_1.isRequestOptions)(query)) {
|
65
|
+
return this.list({}, query);
|
66
|
+
}
|
67
|
+
return this._client.getAPIList('/v1/files', FileObjectsLimitOffset, { query, ...options });
|
68
|
+
}
|
69
|
+
/**
|
70
|
+
* Delete a specific file by its ID.
|
71
|
+
*
|
72
|
+
* Args: file_id: The ID of the file to delete.
|
73
|
+
*
|
74
|
+
* Returns: FileDeleted: The response containing the details of the deleted file.
|
75
|
+
*/
|
76
|
+
delete(fileId, options) {
|
77
|
+
return this._client.delete(`/v1/files/${fileId}`, options);
|
78
|
+
}
|
79
|
+
/**
|
80
|
+
* Download a specific file by its ID.
|
81
|
+
*
|
82
|
+
* Args: file_id: The ID of the file to download.
|
83
|
+
*
|
84
|
+
* Returns: FileStreamResponse: The response containing the file to be downloaded.
|
85
|
+
*/
|
86
|
+
content(fileId, options) {
|
87
|
+
return this._client.get(`/v1/files/${fileId}/content`, {
|
88
|
+
...options,
|
89
|
+
headers: { Accept: 'application/octet-stream', ...options?.headers },
|
90
|
+
__binaryResponse: true,
|
91
|
+
});
|
92
|
+
}
|
93
|
+
}
|
94
|
+
exports.Files = Files;
|
95
|
+
class FileObjectsLimitOffset extends pagination_1.LimitOffset {
|
96
|
+
}
|
97
|
+
exports.FileObjectsLimitOffset = FileObjectsLimitOffset;
|
98
|
+
Files.FileObjectsLimitOffset = FileObjectsLimitOffset;
|
99
|
+
//# sourceMappingURL=files.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"files.js","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAC3C,iDAAgC;AAChC,iDAAoE;AAGpE,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;OAMG;IACH,MAAM,CAAC,IAAsB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,MAAc,EAAE,OAA6B;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,MAAc,EAAE,IAAsB,EAAE,OAA6B;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,MAAM,EAAE,EAAE,IAAI,CAAC,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC,CAAC;IAC1G,CAAC;IAcD,IAAI,CACF,QAA8C,EAAE,EAChD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,MAAc,EAAE,OAA6B;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;;OAMG;IACH,OAAO,CAAC,MAAc,EAAE,OAA6B;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,MAAM,UAAU,EAAE;YACrD,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,MAAM,EAAE,0BAA0B,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;YACpE,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;CACF;AAjFD,sBAiFC;AAED,MAAa,sBAAuB,SAAQ,wBAAuB;CAAG;AAAtE,wDAAsE;AA8EtE,KAAK,CAAC,sBAAsB,GAAG,sBAAsB,CAAC"}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
import { APIResource } from "../resource.mjs";
|
3
|
+
import { isRequestOptions } from "../core.mjs";
|
4
|
+
import * as Core from "../core.mjs";
|
5
|
+
import { LimitOffset } from "../pagination.mjs";
|
6
|
+
export class Files extends APIResource {
|
7
|
+
/**
|
8
|
+
* Upload a new file.
|
9
|
+
*
|
10
|
+
* Args: file: The file to upload.
|
11
|
+
*
|
12
|
+
* Returns: FileResponse: The response containing the details of the uploaded file.
|
13
|
+
*/
|
14
|
+
create(body, options) {
|
15
|
+
return this._client.post('/v1/files', Core.multipartFormRequestOptions({ body, ...options }));
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* Retrieve details of a specific file by its ID.
|
19
|
+
*
|
20
|
+
* Args: file_id: The ID of the file to retrieve.
|
21
|
+
*
|
22
|
+
* Returns: FileResponse: The response containing the file details.
|
23
|
+
*/
|
24
|
+
retrieve(fileId, options) {
|
25
|
+
return this._client.get(`/v1/files/${fileId}`, options);
|
26
|
+
}
|
27
|
+
/**
|
28
|
+
* Update the details of a specific file.
|
29
|
+
*
|
30
|
+
* Args: file_id: The ID of the file to update. file: The new details for the file.
|
31
|
+
*
|
32
|
+
* Returns: FileObject: The updated file details.
|
33
|
+
*/
|
34
|
+
update(fileId, body, options) {
|
35
|
+
return this._client.post(`/v1/files/${fileId}`, Core.multipartFormRequestOptions({ body, ...options }));
|
36
|
+
}
|
37
|
+
list(query = {}, options) {
|
38
|
+
if (isRequestOptions(query)) {
|
39
|
+
return this.list({}, query);
|
40
|
+
}
|
41
|
+
return this._client.getAPIList('/v1/files', FileObjectsLimitOffset, { query, ...options });
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* Delete a specific file by its ID.
|
45
|
+
*
|
46
|
+
* Args: file_id: The ID of the file to delete.
|
47
|
+
*
|
48
|
+
* Returns: FileDeleted: The response containing the details of the deleted file.
|
49
|
+
*/
|
50
|
+
delete(fileId, options) {
|
51
|
+
return this._client.delete(`/v1/files/${fileId}`, options);
|
52
|
+
}
|
53
|
+
/**
|
54
|
+
* Download a specific file by its ID.
|
55
|
+
*
|
56
|
+
* Args: file_id: The ID of the file to download.
|
57
|
+
*
|
58
|
+
* Returns: FileStreamResponse: The response containing the file to be downloaded.
|
59
|
+
*/
|
60
|
+
content(fileId, options) {
|
61
|
+
return this._client.get(`/v1/files/${fileId}/content`, {
|
62
|
+
...options,
|
63
|
+
headers: { Accept: 'application/octet-stream', ...options?.headers },
|
64
|
+
__binaryResponse: true,
|
65
|
+
});
|
66
|
+
}
|
67
|
+
}
|
68
|
+
export class FileObjectsLimitOffset extends LimitOffset {
|
69
|
+
}
|
70
|
+
Files.FileObjectsLimitOffset = FileObjectsLimitOffset;
|
71
|
+
//# sourceMappingURL=files.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"files.mjs","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OACpB,KAAK,IAAI;OACT,EAAE,WAAW,EAA0B;AAG9C,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;OAMG;IACH,MAAM,CAAC,IAAsB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,MAAc,EAAE,OAA6B;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,MAAc,EAAE,IAAsB,EAAE,OAA6B;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,MAAM,EAAE,EAAE,IAAI,CAAC,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC,CAAC;IAC1G,CAAC;IAcD,IAAI,CACF,QAA8C,EAAE,EAChD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,MAAc,EAAE,OAA6B;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;;OAMG;IACH,OAAO,CAAC,MAAc,EAAE,OAA6B;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,MAAM,UAAU,EAAE;YACrD,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,MAAM,EAAE,0BAA0B,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;YACpE,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,sBAAuB,SAAQ,WAAuB;CAAG;AA8EtE,KAAK,CAAC,sBAAsB,GAAG,sBAAsB,CAAC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export * from "./shared.js";
|
2
|
+
export { Extractions } from "./extractions/extractions.js";
|
3
|
+
export { FileObjectsLimitOffset, Files, type FileObject, type FileDeleteResponse, type FileCreateParams, type FileUpdateParams, type FileListParams, } from "./files.js";
|
4
|
+
export { Parsing } from "./parsing/parsing.js";
|
5
|
+
export { VectorStoresLimitOffset, VectorStores, type ExpiresAfter, type FileCounts, type ScoredVectorStoreChunk, type VectorStore, type VectorStoreSearchOptions, type VectorStoreDeleteResponse, type VectorStoreQuestionAnsweringResponse, type VectorStoreSearchResponse, type VectorStoreCreateParams, type VectorStoreUpdateParams, type VectorStoreListParams, type VectorStoreQuestionAnsweringParams, type VectorStoreSearchParams, } from "./vector-stores/vector-stores.js";
|
6
|
+
export { type InfoResponse } from "./top-level.js";
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EACL,sBAAsB,EACtB,KAAK,EACL,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACL,uBAAuB,EACvB,YAAY,EACZ,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,sBAAsB,EAC3B,KAAK,WAAW,EAChB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,oCAAoC,EACzC,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,kCAAkC,EACvC,KAAK,uBAAuB,GAC7B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC"}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"use strict";
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
4
|
+
if (k2 === undefined) k2 = k;
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
8
|
+
}
|
9
|
+
Object.defineProperty(o, k2, desc);
|
10
|
+
}) : (function(o, m, k, k2) {
|
11
|
+
if (k2 === undefined) k2 = k;
|
12
|
+
o[k2] = m[k];
|
13
|
+
}));
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
16
|
+
};
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.VectorStores = exports.VectorStoresLimitOffset = exports.Parsing = exports.Files = exports.FileObjectsLimitOffset = exports.Extractions = void 0;
|
19
|
+
__exportStar(require("./shared.js"), exports);
|
20
|
+
var extractions_1 = require("./extractions/extractions.js");
|
21
|
+
Object.defineProperty(exports, "Extractions", { enumerable: true, get: function () { return extractions_1.Extractions; } });
|
22
|
+
var files_1 = require("./files.js");
|
23
|
+
Object.defineProperty(exports, "FileObjectsLimitOffset", { enumerable: true, get: function () { return files_1.FileObjectsLimitOffset; } });
|
24
|
+
Object.defineProperty(exports, "Files", { enumerable: true, get: function () { return files_1.Files; } });
|
25
|
+
var parsing_1 = require("./parsing/parsing.js");
|
26
|
+
Object.defineProperty(exports, "Parsing", { enumerable: true, get: function () { return parsing_1.Parsing; } });
|
27
|
+
var vector_stores_1 = require("./vector-stores/vector-stores.js");
|
28
|
+
Object.defineProperty(exports, "VectorStoresLimitOffset", { enumerable: true, get: function () { return vector_stores_1.VectorStoresLimitOffset; } });
|
29
|
+
Object.defineProperty(exports, "VectorStores", { enumerable: true, get: function () { return vector_stores_1.VectorStores; } });
|
30
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;AAEtF,8CAAyB;AACzB,4DAAwD;AAA/C,0GAAA,WAAW,OAAA;AACpB,oCAQiB;AAPf,+GAAA,sBAAsB,OAAA;AACtB,8FAAA,KAAK,OAAA;AAOP,gDAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,kEAgBuC;AAfrC,wHAAA,uBAAuB,OAAA;AACvB,6GAAA,YAAY,OAAA"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
export * from "./shared.mjs";
|
3
|
+
export { Extractions } from "./extractions/extractions.mjs";
|
4
|
+
export { FileObjectsLimitOffset, Files, } from "./files.mjs";
|
5
|
+
export { Parsing } from "./parsing/parsing.mjs";
|
6
|
+
export { VectorStoresLimitOffset, VectorStores, } from "./vector-stores/vector-stores.mjs";
|
7
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EAAE,WAAW,EAAE;OACf,EACL,sBAAsB,EACtB,KAAK,GAMN;OACM,EAAE,OAAO,EAAE;OACX,EACL,uBAAuB,EACvB,YAAY,GAcb"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/parsing/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,2BAA2B,EAC3B,IAAI,EACJ,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
exports.Parsing = exports.Jobs = exports.JobListResponsesLimitOffset = void 0;
|
5
|
+
var jobs_1 = require("./jobs.js");
|
6
|
+
Object.defineProperty(exports, "JobListResponsesLimitOffset", { enumerable: true, get: function () { return jobs_1.JobListResponsesLimitOffset; } });
|
7
|
+
Object.defineProperty(exports, "Jobs", { enumerable: true, get: function () { return jobs_1.Jobs; } });
|
8
|
+
var parsing_1 = require("./parsing.js");
|
9
|
+
Object.defineProperty(exports, "Parsing", { enumerable: true, get: function () { return parsing_1.Parsing; } });
|
10
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/parsing/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAQgB;AAPd,mHAAA,2BAA2B,OAAA;AAC3B,4FAAA,IAAI,OAAA;AAON,wCAAoC;AAA3B,kGAAA,OAAO,OAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/parsing/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,2BAA2B,EAC3B,IAAI,GAML;OACM,EAAE,OAAO,EAAE"}
|