@mixedbread/sdk 0.61.0 → 0.63.0
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 +48 -0
- package/client.d.mts +28 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +28 -6
- package/client.d.ts.map +1 -1
- package/client.js +33 -0
- package/client.js.map +1 -1
- package/client.mjs +33 -0
- package/client.mjs.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/api-keys.d.mts +8 -24
- package/resources/api-keys.d.mts.map +1 -1
- package/resources/api-keys.d.ts +8 -24
- package/resources/api-keys.d.ts.map +1 -1
- package/resources/data-sources/connectors.d.mts +55 -0
- package/resources/data-sources/connectors.d.mts.map +1 -1
- package/resources/data-sources/connectors.d.ts +55 -0
- package/resources/data-sources/connectors.d.ts.map +1 -1
- package/resources/data-sources/connectors.js +55 -0
- package/resources/data-sources/connectors.js.map +1 -1
- package/resources/data-sources/connectors.mjs +55 -0
- package/resources/data-sources/connectors.mjs.map +1 -1
- package/resources/data-sources/data-sources.d.mts +59 -50
- package/resources/data-sources/data-sources.d.mts.map +1 -1
- package/resources/data-sources/data-sources.d.ts +59 -50
- package/resources/data-sources/data-sources.d.ts.map +1 -1
- package/resources/data-sources/data-sources.js +37 -0
- package/resources/data-sources/data-sources.js.map +1 -1
- package/resources/data-sources/data-sources.mjs +37 -0
- package/resources/data-sources/data-sources.mjs.map +1 -1
- package/resources/data-sources/index.d.mts +1 -1
- package/resources/data-sources/index.d.mts.map +1 -1
- package/resources/data-sources/index.d.ts +1 -1
- package/resources/data-sources/index.d.ts.map +1 -1
- package/resources/data-sources/index.js.map +1 -1
- package/resources/data-sources/index.mjs.map +1 -1
- package/resources/embeddings.d.mts +9 -0
- package/resources/embeddings.d.mts.map +1 -1
- package/resources/embeddings.d.ts +9 -0
- package/resources/embeddings.d.ts.map +1 -1
- package/resources/embeddings.js +9 -0
- package/resources/embeddings.js.map +1 -1
- package/resources/embeddings.mjs +9 -0
- package/resources/embeddings.mjs.map +1 -1
- package/resources/files/files.d.mts +47 -0
- package/resources/files/files.d.mts.map +1 -1
- package/resources/files/files.d.ts +47 -0
- package/resources/files/files.d.ts.map +1 -1
- package/resources/files/files.js +47 -0
- package/resources/files/files.js.map +1 -1
- package/resources/files/files.mjs +47 -0
- package/resources/files/files.mjs.map +1 -1
- package/resources/files/uploads.d.mts +36 -0
- package/resources/files/uploads.d.mts.map +1 -1
- package/resources/files/uploads.d.ts +36 -0
- package/resources/files/uploads.d.ts.map +1 -1
- package/resources/files/uploads.js +36 -0
- package/resources/files/uploads.js.map +1 -1
- package/resources/files/uploads.mjs +36 -0
- package/resources/files/uploads.mjs.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/parsing/index.d.mts +1 -1
- package/resources/parsing/index.d.mts.map +1 -1
- package/resources/parsing/index.d.ts +1 -1
- package/resources/parsing/index.d.ts.map +1 -1
- package/resources/parsing/index.js.map +1 -1
- package/resources/parsing/index.mjs.map +1 -1
- package/resources/parsing/jobs.d.mts +78 -85
- package/resources/parsing/jobs.d.mts.map +1 -1
- package/resources/parsing/jobs.d.ts +78 -85
- package/resources/parsing/jobs.d.ts.map +1 -1
- package/resources/parsing/jobs.js.map +1 -1
- package/resources/parsing/jobs.mjs.map +1 -1
- package/resources/parsing/parsing.d.mts +2 -2
- package/resources/parsing/parsing.d.mts.map +1 -1
- package/resources/parsing/parsing.d.ts +2 -2
- package/resources/parsing/parsing.d.ts.map +1 -1
- package/resources/parsing/parsing.js.map +1 -1
- package/resources/parsing/parsing.mjs.map +1 -1
- package/resources/stores/files.d.mts +155 -740
- package/resources/stores/files.d.mts.map +1 -1
- package/resources/stores/files.d.ts +155 -740
- package/resources/stores/files.d.ts.map +1 -1
- package/resources/stores/files.js +39 -12
- package/resources/stores/files.js.map +1 -1
- package/resources/stores/files.mjs +39 -12
- package/resources/stores/files.mjs.map +1 -1
- package/resources/stores/index.d.mts +2 -2
- package/resources/stores/index.d.mts.map +1 -1
- package/resources/stores/index.d.ts +2 -2
- package/resources/stores/index.d.ts.map +1 -1
- package/resources/stores/index.js.map +1 -1
- package/resources/stores/index.mjs.map +1 -1
- package/resources/stores/stores.d.mts +294 -532
- package/resources/stores/stores.d.mts.map +1 -1
- package/resources/stores/stores.d.ts +294 -532
- package/resources/stores/stores.d.ts.map +1 -1
- package/resources/stores/stores.js +56 -0
- package/resources/stores/stores.js.map +1 -1
- package/resources/stores/stores.mjs +56 -0
- package/resources/stores/stores.mjs.map +1 -1
- package/src/client.ts +72 -0
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/api-keys.ts +8 -29
- package/src/resources/data-sources/connectors.ts +55 -0
- package/src/resources/data-sources/data-sources.ts +63 -56
- package/src/resources/data-sources/index.ts +2 -0
- package/src/resources/embeddings.ts +9 -0
- package/src/resources/files/files.ts +47 -0
- package/src/resources/files/uploads.ts +36 -0
- package/src/resources/index.ts +19 -0
- package/src/resources/parsing/index.ts +4 -1
- package/src/resources/parsing/jobs.ts +96 -100
- package/src/resources/parsing/parsing.ts +7 -1
- package/src/resources/stores/files.ts +332 -1243
- package/src/resources/stores/index.ts +22 -4
- package/src/resources/stores/stores.ts +433 -851
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -6,24 +6,60 @@ export declare class Uploads extends APIResource {
|
|
|
6
6
|
/**
|
|
7
7
|
* Initiate a multipart upload and receive presigned URLs for uploading parts
|
|
8
8
|
* directly to storage.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const upload = await client.files.uploads.create({
|
|
13
|
+
* filename: 'document.pdf',
|
|
14
|
+
* file_size: 10485760,
|
|
15
|
+
* mime_type: 'application/pdf',
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
9
18
|
*/
|
|
10
19
|
create(body: UploadCreateParams, options?: RequestOptions): APIPromise<UploadCreateResponse>;
|
|
11
20
|
/**
|
|
12
21
|
* Get a multipart upload's details with fresh presigned URLs for any parts not yet
|
|
13
22
|
* uploaded.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* const upload = await client.files.uploads.retrieve(
|
|
27
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
28
|
+
* );
|
|
29
|
+
* ```
|
|
14
30
|
*/
|
|
15
31
|
retrieve(uploadID: string, options?: RequestOptions): APIPromise<UploadRetrieveResponse>;
|
|
16
32
|
/**
|
|
17
33
|
* List all in-progress multipart uploads for the authenticated organization.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```ts
|
|
37
|
+
* const uploads = await client.files.uploads.list();
|
|
38
|
+
* ```
|
|
18
39
|
*/
|
|
19
40
|
list(options?: RequestOptions): APIPromise<UploadListResponse>;
|
|
20
41
|
/**
|
|
21
42
|
* Abort a multipart upload and clean up any uploaded parts.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* const response = await client.files.uploads.abort(
|
|
47
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
48
|
+
* );
|
|
49
|
+
* ```
|
|
22
50
|
*/
|
|
23
51
|
abort(uploadID: string, options?: RequestOptions): APIPromise<UploadAbortResponse>;
|
|
24
52
|
/**
|
|
25
53
|
* Complete a multipart upload after all parts have been uploaded. Creates the file
|
|
26
54
|
* object and returns it.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* const fileObject = await client.files.uploads.complete(
|
|
59
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
60
|
+
* { parts: [{ part_number: 1, etag: 'etag' }] },
|
|
61
|
+
* );
|
|
62
|
+
* ```
|
|
27
63
|
*/
|
|
28
64
|
complete(uploadID: string, body: UploadCompleteParams, options?: RequestOptions): APIPromise<FilesAPI.FileObject>;
|
|
29
65
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["../../src/resources/files/uploads.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC
|
|
1
|
+
{"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["../../src/resources/files/uploads.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAI5F;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIxF;;;;;;;OAOG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI9D;;;;;;;;;OASG;IACH,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIlF;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,E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AAU,EAAE,MAAM,CAAC;KACpB;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC;;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,kBAAkB;IACjC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -8,6 +8,15 @@ class Uploads extends resource_1.APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* Initiate a multipart upload and receive presigned URLs for uploading parts
|
|
10
10
|
* directly to storage.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const upload = await client.files.uploads.create({
|
|
15
|
+
* filename: 'document.pdf',
|
|
16
|
+
* file_size: 10485760,
|
|
17
|
+
* mime_type: 'application/pdf',
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
11
20
|
*/
|
|
12
21
|
create(body, options) {
|
|
13
22
|
return this._client.post('/v1/files/uploads', { body, ...options });
|
|
@@ -15,18 +24,37 @@ class Uploads extends resource_1.APIResource {
|
|
|
15
24
|
/**
|
|
16
25
|
* Get a multipart upload's details with fresh presigned URLs for any parts not yet
|
|
17
26
|
* uploaded.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* const upload = await client.files.uploads.retrieve(
|
|
31
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
32
|
+
* );
|
|
33
|
+
* ```
|
|
18
34
|
*/
|
|
19
35
|
retrieve(uploadID, options) {
|
|
20
36
|
return this._client.get((0, path_1.path) `/v1/files/uploads/${uploadID}`, options);
|
|
21
37
|
}
|
|
22
38
|
/**
|
|
23
39
|
* List all in-progress multipart uploads for the authenticated organization.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const uploads = await client.files.uploads.list();
|
|
44
|
+
* ```
|
|
24
45
|
*/
|
|
25
46
|
list(options) {
|
|
26
47
|
return this._client.get('/v1/files/uploads', options);
|
|
27
48
|
}
|
|
28
49
|
/**
|
|
29
50
|
* Abort a multipart upload and clean up any uploaded parts.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* const response = await client.files.uploads.abort(
|
|
55
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
56
|
+
* );
|
|
57
|
+
* ```
|
|
30
58
|
*/
|
|
31
59
|
abort(uploadID, options) {
|
|
32
60
|
return this._client.post((0, path_1.path) `/v1/files/uploads/${uploadID}/abort`, options);
|
|
@@ -34,6 +62,14 @@ class Uploads extends resource_1.APIResource {
|
|
|
34
62
|
/**
|
|
35
63
|
* Complete a multipart upload after all parts have been uploaded. Creates the file
|
|
36
64
|
* object and returns it.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* const fileObject = await client.files.uploads.complete(
|
|
69
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
70
|
+
* { parts: [{ part_number: 1, etag: 'etag' }] },
|
|
71
|
+
* );
|
|
72
|
+
* ```
|
|
37
73
|
*/
|
|
38
74
|
complete(uploadID, body, options) {
|
|
39
75
|
return this._client.post((0, path_1.path) `/v1/files/uploads/${uploadID}/complete`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.js","sourceRoot":"","sources":["../../src/resources/files/uploads.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IACtC
|
|
1
|
+
{"version":3,"file":"uploads.js","sourceRoot":"","sources":["../../src/resources/files/uploads.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,qBAAqB,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,QAAgB,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,qBAAqB,QAAQ,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,QAAgB,EAChB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,qBAAqB,QAAQ,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;CACF;AA9ED,0BA8EC"}
|
|
@@ -5,6 +5,15 @@ export class Uploads extends APIResource {
|
|
|
5
5
|
/**
|
|
6
6
|
* Initiate a multipart upload and receive presigned URLs for uploading parts
|
|
7
7
|
* directly to storage.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const upload = await client.files.uploads.create({
|
|
12
|
+
* filename: 'document.pdf',
|
|
13
|
+
* file_size: 10485760,
|
|
14
|
+
* mime_type: 'application/pdf',
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
8
17
|
*/
|
|
9
18
|
create(body, options) {
|
|
10
19
|
return this._client.post('/v1/files/uploads', { body, ...options });
|
|
@@ -12,18 +21,37 @@ export class Uploads extends APIResource {
|
|
|
12
21
|
/**
|
|
13
22
|
* Get a multipart upload's details with fresh presigned URLs for any parts not yet
|
|
14
23
|
* uploaded.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const upload = await client.files.uploads.retrieve(
|
|
28
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
29
|
+
* );
|
|
30
|
+
* ```
|
|
15
31
|
*/
|
|
16
32
|
retrieve(uploadID, options) {
|
|
17
33
|
return this._client.get(path `/v1/files/uploads/${uploadID}`, options);
|
|
18
34
|
}
|
|
19
35
|
/**
|
|
20
36
|
* List all in-progress multipart uploads for the authenticated organization.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const uploads = await client.files.uploads.list();
|
|
41
|
+
* ```
|
|
21
42
|
*/
|
|
22
43
|
list(options) {
|
|
23
44
|
return this._client.get('/v1/files/uploads', options);
|
|
24
45
|
}
|
|
25
46
|
/**
|
|
26
47
|
* Abort a multipart upload and clean up any uploaded parts.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const response = await client.files.uploads.abort(
|
|
52
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
53
|
+
* );
|
|
54
|
+
* ```
|
|
27
55
|
*/
|
|
28
56
|
abort(uploadID, options) {
|
|
29
57
|
return this._client.post(path `/v1/files/uploads/${uploadID}/abort`, options);
|
|
@@ -31,6 +59,14 @@ export class Uploads extends APIResource {
|
|
|
31
59
|
/**
|
|
32
60
|
* Complete a multipart upload after all parts have been uploaded. Creates the file
|
|
33
61
|
* object and returns it.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* const fileObject = await client.files.uploads.complete(
|
|
66
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
67
|
+
* { parts: [{ part_number: 1, etag: 'etag' }] },
|
|
68
|
+
* );
|
|
69
|
+
* ```
|
|
34
70
|
*/
|
|
35
71
|
complete(uploadID, body, options) {
|
|
36
72
|
return this._client.post(path `/v1/files/uploads/${uploadID}/complete`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["../../src/resources/files/uploads.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC
|
|
1
|
+
{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["../../src/resources/files/uploads.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,QAAgB,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,qBAAqB,QAAQ,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,QAAgB,EAChB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,qBAAqB,QAAQ,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;CACF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export * from "./shared.mjs";
|
|
2
|
-
export { APIKeys, type APIKey, type APIKeyCreated, type APIKeyDeleteResponse, type APIKeyCreateParams, type APIKeyListParams, type APIKeysLimitOffset, } from "./api-keys.mjs";
|
|
2
|
+
export { APIKeys, type APIKey, type APIKeyCreated, type Scope, type APIKeyDeleteResponse, type APIKeyCreateParams, type APIKeyListParams, type APIKeysLimitOffset, } from "./api-keys.mjs";
|
|
3
3
|
export { Chat, type ChatCreateCompletionResponse } from "./chat.mjs";
|
|
4
|
-
export { DataSources, type DataSource, type DataSourceOauth2Params, type DataSourceType, type LinearDataSource, type NotionDataSource, type Oauth2Params, type DataSourceDeleteResponse, type DataSourceCreateParams, type DataSourceUpdateParams, type DataSourceListParams, type DataSourcesCursor, } from "./data-sources/data-sources.mjs";
|
|
4
|
+
export { DataSources, type APIKeyCreateOrUpdateParams, type DataSource, type DataSourceAPIKeyParams, type DataSourceOauth2Params, type DataSourceType, type LinearDataSource, type NotionDataSource, type Oauth2Params, type DataSourceDeleteResponse, type DataSourceCreateParams, type DataSourceUpdateParams, type DataSourceListParams, type DataSourcesCursor, } from "./data-sources/data-sources.mjs";
|
|
5
5
|
export { Embeddings, type EncodingFormat, type EmbeddingCreateParams } from "./embeddings.mjs";
|
|
6
6
|
export { Extractions } from "./extractions/extractions.mjs";
|
|
7
7
|
export { Files, type FileObject, type PaginationWithTotal, type FileDeleteResponse, type FileCreateParams, type FileUpdateParams, type FileListParams, type FileObjectsCursor, } from "./files/files.mjs";
|
|
8
8
|
export { Parsing } from "./parsing/parsing.mjs";
|
|
9
|
-
export { Stores, type ExpiresAfter, type ScoredAudioURLInputChunk, type ScoredImageURLInputChunk, type ScoredTextInputChunk, type ScoredVideoURLInputChunk, type Store, type StoreChunkSearchOptions, type StoreDeleteResponse, type StoreMetadataFacetsResponse, type StoreQuestionAnsweringResponse, type StoreSearchResponse, type StoreCreateParams, type StoreUpdateParams, type StoreListParams, type StoreMetadataFacetsParams, type StoreQuestionAnsweringParams, type StoreSearchParams, type StoresCursor, } from "./stores/stores.mjs";
|
|
9
|
+
export { Stores, type AgenticSearchConfig, type AudioChunkGeneratedMetadata, type AudioURL, type CodeChunkGeneratedMetadata, type ContextualizationConfig, type ExpiresAfter, type FileCounts, type ImageChunkGeneratedMetadata, type ImageURLOutput, type MarkdownChunkGeneratedMetadata, type MarkdownHeading, type PdfChunkGeneratedMetadata, type RerankConfig, type ScoredAudioURLInputChunk, type ScoredImageURLInputChunk, type ScoredTextInputChunk, type ScoredVideoURLInputChunk, type Store, type StoreChunkSearchOptions, type StoreConfig, type TextChunkGeneratedMetadata, type VideoChunkGeneratedMetadata, type VideoURL, type StoreDeleteResponse, type StoreMetadataFacetsResponse, type StoreQuestionAnsweringResponse, type StoreSearchResponse, type StoreCreateParams, type StoreUpdateParams, type StoreListParams, type StoreMetadataFacetsParams, type StoreQuestionAnsweringParams, type StoreSearchParams, type StoresCursor, } from "./stores/stores.mjs";
|
|
10
10
|
export { type Embedding, type EmbeddingCreateResponse, type MultiEncodingEmbedding, type InfoResponse, type RerankResponse, type EmbedParams, type RerankParams, } from "./top-level.mjs";
|
|
11
11
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,GACxB;OACM,EAAE,IAAI,EAAE,KAAK,4BAA4B,EAAE;OAC3C,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,GACvB;OACM,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,KAAK,qBAAqB,EAAE;OAC/D,EAAE,WAAW,EAAE;OACf,EACL,KAAK,EACL,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACvB;OACM,EAAE,OAAO,EAAE;OACX,EACL,MAAM,EACN,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,KAAK,EACV,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACtB,KAAK,YAAY,GAClB;OACM,EACL,KAAK,SAAS,EACd,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,YAAY,GAClB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,KAAK,EACV,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,GACxB;OACM,EAAE,IAAI,EAAE,KAAK,4BAA4B,EAAE;OAC3C,EACL,WAAW,EACX,KAAK,0BAA0B,EAC/B,KAAK,UAAU,EACf,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,GACvB;OACM,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,KAAK,qBAAqB,EAAE;OAC/D,EAAE,WAAW,EAAE;OACf,EACL,KAAK,EACL,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACvB;OACM,EAAE,OAAO,EAAE;OACX,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,QAAQ,EACb,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,2BAA2B,EAChC,KAAK,cAAc,EACnB,KAAK,8BAA8B,EACnC,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,KAAK,EACV,KAAK,uBAAuB,EAC5B,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACtB,KAAK,YAAY,GAClB;OACM,EACL,KAAK,SAAS,EACd,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,YAAY,GAClB"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export * from "./shared.js";
|
|
2
|
-
export { APIKeys, type APIKey, type APIKeyCreated, type APIKeyDeleteResponse, type APIKeyCreateParams, type APIKeyListParams, type APIKeysLimitOffset, } from "./api-keys.js";
|
|
2
|
+
export { APIKeys, type APIKey, type APIKeyCreated, type Scope, type APIKeyDeleteResponse, type APIKeyCreateParams, type APIKeyListParams, type APIKeysLimitOffset, } from "./api-keys.js";
|
|
3
3
|
export { Chat, type ChatCreateCompletionResponse } from "./chat.js";
|
|
4
|
-
export { DataSources, type DataSource, type DataSourceOauth2Params, type DataSourceType, type LinearDataSource, type NotionDataSource, type Oauth2Params, type DataSourceDeleteResponse, type DataSourceCreateParams, type DataSourceUpdateParams, type DataSourceListParams, type DataSourcesCursor, } from "./data-sources/data-sources.js";
|
|
4
|
+
export { DataSources, type APIKeyCreateOrUpdateParams, type DataSource, type DataSourceAPIKeyParams, type DataSourceOauth2Params, type DataSourceType, type LinearDataSource, type NotionDataSource, type Oauth2Params, type DataSourceDeleteResponse, type DataSourceCreateParams, type DataSourceUpdateParams, type DataSourceListParams, type DataSourcesCursor, } from "./data-sources/data-sources.js";
|
|
5
5
|
export { Embeddings, type EncodingFormat, type EmbeddingCreateParams } from "./embeddings.js";
|
|
6
6
|
export { Extractions } from "./extractions/extractions.js";
|
|
7
7
|
export { Files, type FileObject, type PaginationWithTotal, type FileDeleteResponse, type FileCreateParams, type FileUpdateParams, type FileListParams, type FileObjectsCursor, } from "./files/files.js";
|
|
8
8
|
export { Parsing } from "./parsing/parsing.js";
|
|
9
|
-
export { Stores, type ExpiresAfter, type ScoredAudioURLInputChunk, type ScoredImageURLInputChunk, type ScoredTextInputChunk, type ScoredVideoURLInputChunk, type Store, type StoreChunkSearchOptions, type StoreDeleteResponse, type StoreMetadataFacetsResponse, type StoreQuestionAnsweringResponse, type StoreSearchResponse, type StoreCreateParams, type StoreUpdateParams, type StoreListParams, type StoreMetadataFacetsParams, type StoreQuestionAnsweringParams, type StoreSearchParams, type StoresCursor, } from "./stores/stores.js";
|
|
9
|
+
export { Stores, type AgenticSearchConfig, type AudioChunkGeneratedMetadata, type AudioURL, type CodeChunkGeneratedMetadata, type ContextualizationConfig, type ExpiresAfter, type FileCounts, type ImageChunkGeneratedMetadata, type ImageURLOutput, type MarkdownChunkGeneratedMetadata, type MarkdownHeading, type PdfChunkGeneratedMetadata, type RerankConfig, type ScoredAudioURLInputChunk, type ScoredImageURLInputChunk, type ScoredTextInputChunk, type ScoredVideoURLInputChunk, type Store, type StoreChunkSearchOptions, type StoreConfig, type TextChunkGeneratedMetadata, type VideoChunkGeneratedMetadata, type VideoURL, type StoreDeleteResponse, type StoreMetadataFacetsResponse, type StoreQuestionAnsweringResponse, type StoreSearchResponse, type StoreCreateParams, type StoreUpdateParams, type StoreListParams, type StoreMetadataFacetsParams, type StoreQuestionAnsweringParams, type StoreSearchParams, type StoresCursor, } from "./stores/stores.js";
|
|
10
10
|
export { type Embedding, type EmbeddingCreateResponse, type MultiEncodingEmbedding, type InfoResponse, type RerankResponse, type EmbedParams, type RerankParams, } from "./top-level.js";
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,GACxB;OACM,EAAE,IAAI,EAAE,KAAK,4BAA4B,EAAE;OAC3C,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,GACvB;OACM,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,KAAK,qBAAqB,EAAE;OAC/D,EAAE,WAAW,EAAE;OACf,EACL,KAAK,EACL,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACvB;OACM,EAAE,OAAO,EAAE;OACX,EACL,MAAM,EACN,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,KAAK,EACV,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACtB,KAAK,YAAY,GAClB;OACM,EACL,KAAK,SAAS,EACd,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,YAAY,GAClB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,KAAK,EACV,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,GACxB;OACM,EAAE,IAAI,EAAE,KAAK,4BAA4B,EAAE;OAC3C,EACL,WAAW,EACX,KAAK,0BAA0B,EAC/B,KAAK,UAAU,EACf,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,GACvB;OACM,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,KAAK,qBAAqB,EAAE;OAC/D,EAAE,WAAW,EAAE;OACf,EACL,KAAK,EACL,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACvB;OACM,EAAE,OAAO,EAAE;OACX,EACL,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,QAAQ,EACb,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,2BAA2B,EAChC,KAAK,cAAc,EACnB,KAAK,8BAA8B,EACnC,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,KAAK,EACV,KAAK,uBAAuB,EAC5B,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACtB,KAAK,YAAY,GAClB;OACM,EACL,KAAK,SAAS,EACd,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,YAAY,GAClB"}
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,0CASoB;AARlB,mGAAA,OAAO,OAAA;AAST,kCAAiE;AAAxD,4FAAA,IAAI,OAAA;AACb,+DAeqC;AAdnC,2GAAA,WAAW,OAAA;AAeb,8CAA2F;AAAlF,wGAAA,UAAU,OAAA;AACnB,4DAAwD;AAA/C,0GAAA,WAAW,OAAA;AACpB,0CASuB;AARrB,8FAAA,KAAK,OAAA;AASP,gDAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,6CAoCyB;AAnCvB,gGAAA,MAAM,OAAA"}
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EACL,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EACL,OAAO,GAQR;OACM,EAAE,IAAI,EAAqC;OAC3C,EACL,WAAW,GAcZ;OACM,EAAE,UAAU,EAAmD;OAC/D,EAAE,WAAW,EAAE;OACf,EACL,KAAK,GAQN;OACM,EAAE,OAAO,EAAE;OACX,EACL,MAAM,GAmCP"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Jobs, type ChunkingStrategy, type
|
|
1
|
+
export { Jobs, type Chunk, type ChunkElement, type ChunkingStrategy, type DocumentParserResult, type ElementType, type ParsingJob, type ParsingJobStatus, type ReturnFormat, type JobListResponse, type JobDeleteResponse, type JobCreateParams, type JobListParams, type JobListResponsesCursor, } from "./jobs.mjs";
|
|
2
2
|
export { Parsing } from "./parsing.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/parsing/index.ts"],"names":[],"mappings":"OAEO,EACL,IAAI,EACJ,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/parsing/index.ts"],"names":[],"mappings":"OAEO,EACL,IAAI,EACJ,KAAK,KAAK,EACV,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,sBAAsB,GAC5B;OACM,EAAE,OAAO,EAAE"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Jobs, type ChunkingStrategy, type
|
|
1
|
+
export { Jobs, type Chunk, type ChunkElement, type ChunkingStrategy, type DocumentParserResult, type ElementType, type ParsingJob, type ParsingJobStatus, type ReturnFormat, type JobListResponse, type JobDeleteResponse, type JobCreateParams, type JobListParams, type JobListResponsesCursor, } from "./jobs.js";
|
|
2
2
|
export { Parsing } from "./parsing.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/parsing/index.ts"],"names":[],"mappings":"OAEO,EACL,IAAI,EACJ,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/parsing/index.ts"],"names":[],"mappings":"OAEO,EACL,IAAI,EACJ,KAAK,KAAK,EACV,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,sBAAsB,GAC5B;OACM,EAAE,OAAO,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/parsing/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/parsing/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAegB;AAdd,4FAAA,IAAI,OAAA;AAeN,wCAAoC;AAA3B,kGAAA,OAAO,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/parsing/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,IAAI,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/parsing/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,IAAI,GAcL;OACM,EAAE,OAAO,EAAE"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
-
import * as JobsAPI from "./jobs.mjs";
|
|
3
2
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
4
3
|
import { Cursor, type CursorParams, PagePromise } from "../../core/pagination.mjs";
|
|
5
4
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
@@ -88,15 +87,89 @@ export declare class Jobs extends APIResource {
|
|
|
88
87
|
uploadAndPoll(file: Uploadable, body?: Omit<JobCreateParams, 'file_id'>, pollIntervalMs?: number, pollTimeoutMs?: number, options?: RequestOptions): Promise<ParsingJob>;
|
|
89
88
|
}
|
|
90
89
|
export type JobListResponsesCursor = Cursor<JobListResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* A chunk of text extracted from a document page.
|
|
92
|
+
*/
|
|
93
|
+
export interface Chunk {
|
|
94
|
+
/**
|
|
95
|
+
* The full content of the chunk
|
|
96
|
+
*/
|
|
97
|
+
content?: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* The content of the chunk to embed
|
|
100
|
+
*/
|
|
101
|
+
content_to_embed: string;
|
|
102
|
+
/**
|
|
103
|
+
* List of elements contained in this chunk
|
|
104
|
+
*/
|
|
105
|
+
elements: Array<ChunkElement>;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Represents an extracted element from a document with its content and metadata.
|
|
109
|
+
*/
|
|
110
|
+
export interface ChunkElement {
|
|
111
|
+
/**
|
|
112
|
+
* The type of the extracted element
|
|
113
|
+
*/
|
|
114
|
+
type: ElementType;
|
|
115
|
+
/**
|
|
116
|
+
* The confidence score of the extraction
|
|
117
|
+
*/
|
|
118
|
+
confidence: number;
|
|
119
|
+
/**
|
|
120
|
+
* The bounding box coordinates [x1, y1, x2, y2]
|
|
121
|
+
*/
|
|
122
|
+
bbox: Array<unknown>;
|
|
123
|
+
/**
|
|
124
|
+
* The page number where the element was found
|
|
125
|
+
*/
|
|
126
|
+
page: number;
|
|
127
|
+
/**
|
|
128
|
+
* The extracted text content of the element
|
|
129
|
+
*/
|
|
130
|
+
content: string;
|
|
131
|
+
/**
|
|
132
|
+
* A brief summary of the element's content
|
|
133
|
+
*/
|
|
134
|
+
summary?: string | null;
|
|
135
|
+
/**
|
|
136
|
+
* The base64-encoded image data for figure elements
|
|
137
|
+
*/
|
|
138
|
+
image?: string | null;
|
|
139
|
+
}
|
|
91
140
|
/**
|
|
92
141
|
* Strategy used for chunking document content.
|
|
93
142
|
*/
|
|
94
143
|
export type ChunkingStrategy = 'page';
|
|
144
|
+
/**
|
|
145
|
+
* Result of document parsing operation.
|
|
146
|
+
*/
|
|
147
|
+
export interface DocumentParserResult {
|
|
148
|
+
/**
|
|
149
|
+
* The strategy used for chunking the document
|
|
150
|
+
*/
|
|
151
|
+
chunking_strategy: ChunkingStrategy;
|
|
152
|
+
/**
|
|
153
|
+
* The format of the returned content
|
|
154
|
+
*/
|
|
155
|
+
return_format: ReturnFormat;
|
|
156
|
+
/**
|
|
157
|
+
* The types of elements extracted
|
|
158
|
+
*/
|
|
159
|
+
element_types: Array<ElementType>;
|
|
160
|
+
/**
|
|
161
|
+
* List of extracted chunks from the document
|
|
162
|
+
*/
|
|
163
|
+
chunks: Array<Chunk>;
|
|
164
|
+
/**
|
|
165
|
+
* List of (width, height) tuples for each page
|
|
166
|
+
*/
|
|
167
|
+
page_sizes?: Array<Array<unknown>>;
|
|
168
|
+
}
|
|
95
169
|
/**
|
|
96
170
|
* Types of elements that can be extracted from a document.
|
|
97
171
|
*/
|
|
98
172
|
export type ElementType = 'header' | 'footer' | 'title' | 'section-header' | 'page-number' | 'list-item' | 'figure' | 'table' | 'form' | 'text' | 'footnote';
|
|
99
|
-
export type ParsingJobStatus = 'pending' | 'in_progress' | 'cancelled' | 'completed' | 'failed';
|
|
100
173
|
/**
|
|
101
174
|
* A job for parsing documents with its current state and result.
|
|
102
175
|
*/
|
|
@@ -126,7 +199,7 @@ export interface ParsingJob {
|
|
|
126
199
|
/**
|
|
127
200
|
* Result of document parsing operation.
|
|
128
201
|
*/
|
|
129
|
-
result?:
|
|
202
|
+
result?: DocumentParserResult | null;
|
|
130
203
|
/**
|
|
131
204
|
* The started time of the job
|
|
132
205
|
*/
|
|
@@ -148,87 +221,7 @@ export interface ParsingJob {
|
|
|
148
221
|
*/
|
|
149
222
|
object?: 'parsing_job';
|
|
150
223
|
}
|
|
151
|
-
export
|
|
152
|
-
/**
|
|
153
|
-
* Result of document parsing operation.
|
|
154
|
-
*/
|
|
155
|
-
interface Result {
|
|
156
|
-
/**
|
|
157
|
-
* The strategy used for chunking the document
|
|
158
|
-
*/
|
|
159
|
-
chunking_strategy: JobsAPI.ChunkingStrategy;
|
|
160
|
-
/**
|
|
161
|
-
* The format of the returned content
|
|
162
|
-
*/
|
|
163
|
-
return_format: JobsAPI.ReturnFormat;
|
|
164
|
-
/**
|
|
165
|
-
* The types of elements extracted
|
|
166
|
-
*/
|
|
167
|
-
element_types: Array<JobsAPI.ElementType>;
|
|
168
|
-
/**
|
|
169
|
-
* List of extracted chunks from the document
|
|
170
|
-
*/
|
|
171
|
-
chunks: Array<Result.Chunk>;
|
|
172
|
-
/**
|
|
173
|
-
* List of (width, height) tuples for each page
|
|
174
|
-
*/
|
|
175
|
-
page_sizes?: Array<Array<unknown>>;
|
|
176
|
-
}
|
|
177
|
-
namespace Result {
|
|
178
|
-
/**
|
|
179
|
-
* A chunk of text extracted from a document page.
|
|
180
|
-
*/
|
|
181
|
-
interface Chunk {
|
|
182
|
-
/**
|
|
183
|
-
* The full content of the chunk
|
|
184
|
-
*/
|
|
185
|
-
content?: string | null;
|
|
186
|
-
/**
|
|
187
|
-
* The content of the chunk to embed
|
|
188
|
-
*/
|
|
189
|
-
content_to_embed: string;
|
|
190
|
-
/**
|
|
191
|
-
* List of elements contained in this chunk
|
|
192
|
-
*/
|
|
193
|
-
elements: Array<Chunk.Element>;
|
|
194
|
-
}
|
|
195
|
-
namespace Chunk {
|
|
196
|
-
/**
|
|
197
|
-
* Represents an extracted element from a document with its content and metadata.
|
|
198
|
-
*/
|
|
199
|
-
interface Element {
|
|
200
|
-
/**
|
|
201
|
-
* The type of the extracted element
|
|
202
|
-
*/
|
|
203
|
-
type: JobsAPI.ElementType;
|
|
204
|
-
/**
|
|
205
|
-
* The confidence score of the extraction
|
|
206
|
-
*/
|
|
207
|
-
confidence: number;
|
|
208
|
-
/**
|
|
209
|
-
* The bounding box coordinates [x1, y1, x2, y2]
|
|
210
|
-
*/
|
|
211
|
-
bbox: Array<unknown>;
|
|
212
|
-
/**
|
|
213
|
-
* The page number where the element was found
|
|
214
|
-
*/
|
|
215
|
-
page: number;
|
|
216
|
-
/**
|
|
217
|
-
* The extracted text content of the element
|
|
218
|
-
*/
|
|
219
|
-
content: string;
|
|
220
|
-
/**
|
|
221
|
-
* A brief summary of the element's content
|
|
222
|
-
*/
|
|
223
|
-
summary?: string | null;
|
|
224
|
-
/**
|
|
225
|
-
* The base64-encoded image data for figure elements
|
|
226
|
-
*/
|
|
227
|
-
image?: string | null;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
}
|
|
224
|
+
export type ParsingJobStatus = 'pending' | 'in_progress' | 'cancelled' | 'completed' | 'failed';
|
|
232
225
|
/**
|
|
233
226
|
* Format options for the returned document content.
|
|
234
227
|
*/
|
|
@@ -330,6 +323,6 @@ export interface JobListParams extends CursorParams {
|
|
|
330
323
|
q?: string | null;
|
|
331
324
|
}
|
|
332
325
|
export declare namespace Jobs {
|
|
333
|
-
export { type ChunkingStrategy as ChunkingStrategy, type
|
|
326
|
+
export { type Chunk as Chunk, type ChunkElement as ChunkElement, type ChunkingStrategy as ChunkingStrategy, type DocumentParserResult as DocumentParserResult, type ElementType as ElementType, type ParsingJob as ParsingJob, type ParsingJobStatus as ParsingJobStatus, type ReturnFormat as ReturnFormat, type JobListResponse as JobListResponse, type JobDeleteResponse as JobDeleteResponse, type JobListResponsesCursor as JobListResponsesCursor, type JobCreateParams as JobCreateParams, type JobListParams as JobListParams, };
|
|
334
327
|
}
|
|
335
328
|
//# sourceMappingURL=jobs.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jobs.d.mts","sourceRoot":"","sources":["../../src/resources/parsing/jobs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,
|
|
1
|
+
{"version":3,"file":"jobs.d.mts","sourceRoot":"","sources":["../../src/resources/parsing/jobs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE;OAC1C,EAAE,cAAc,EAAE;OAGlB,EAAE,UAAU,EAAE;AAErB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;OAMG;IACH,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,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