@mixedbread/sdk 0.60.0 → 0.62.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.
Files changed (131) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/client.d.mts +28 -6
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +28 -6
  5. package/client.d.ts.map +1 -1
  6. package/client.js +22 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +22 -0
  9. package/client.mjs.map +1 -1
  10. package/internal/utils/env.js +2 -2
  11. package/internal/utils/env.js.map +1 -1
  12. package/internal/utils/env.mjs +2 -2
  13. package/internal/utils/env.mjs.map +1 -1
  14. package/package.json +1 -1
  15. package/resources/api-keys.d.mts +8 -24
  16. package/resources/api-keys.d.mts.map +1 -1
  17. package/resources/api-keys.d.ts +8 -24
  18. package/resources/api-keys.d.ts.map +1 -1
  19. package/resources/data-sources/connectors.d.mts +55 -0
  20. package/resources/data-sources/connectors.d.mts.map +1 -1
  21. package/resources/data-sources/connectors.d.ts +55 -0
  22. package/resources/data-sources/connectors.d.ts.map +1 -1
  23. package/resources/data-sources/connectors.js +55 -0
  24. package/resources/data-sources/connectors.js.map +1 -1
  25. package/resources/data-sources/connectors.mjs +55 -0
  26. package/resources/data-sources/connectors.mjs.map +1 -1
  27. package/resources/data-sources/data-sources.d.mts +59 -50
  28. package/resources/data-sources/data-sources.d.mts.map +1 -1
  29. package/resources/data-sources/data-sources.d.ts +59 -50
  30. package/resources/data-sources/data-sources.d.ts.map +1 -1
  31. package/resources/data-sources/data-sources.js +37 -0
  32. package/resources/data-sources/data-sources.js.map +1 -1
  33. package/resources/data-sources/data-sources.mjs +37 -0
  34. package/resources/data-sources/data-sources.mjs.map +1 -1
  35. package/resources/data-sources/index.d.mts +1 -1
  36. package/resources/data-sources/index.d.mts.map +1 -1
  37. package/resources/data-sources/index.d.ts +1 -1
  38. package/resources/data-sources/index.d.ts.map +1 -1
  39. package/resources/data-sources/index.js.map +1 -1
  40. package/resources/data-sources/index.mjs.map +1 -1
  41. package/resources/embeddings.d.mts +9 -0
  42. package/resources/embeddings.d.mts.map +1 -1
  43. package/resources/embeddings.d.ts +9 -0
  44. package/resources/embeddings.d.ts.map +1 -1
  45. package/resources/embeddings.js +9 -0
  46. package/resources/embeddings.js.map +1 -1
  47. package/resources/embeddings.mjs +9 -0
  48. package/resources/embeddings.mjs.map +1 -1
  49. package/resources/files/files.d.mts +47 -0
  50. package/resources/files/files.d.mts.map +1 -1
  51. package/resources/files/files.d.ts +47 -0
  52. package/resources/files/files.d.ts.map +1 -1
  53. package/resources/files/files.js +47 -0
  54. package/resources/files/files.js.map +1 -1
  55. package/resources/files/files.mjs +47 -0
  56. package/resources/files/files.mjs.map +1 -1
  57. package/resources/files/uploads.d.mts +36 -0
  58. package/resources/files/uploads.d.mts.map +1 -1
  59. package/resources/files/uploads.d.ts +36 -0
  60. package/resources/files/uploads.d.ts.map +1 -1
  61. package/resources/files/uploads.js +36 -0
  62. package/resources/files/uploads.js.map +1 -1
  63. package/resources/files/uploads.mjs +36 -0
  64. package/resources/files/uploads.mjs.map +1 -1
  65. package/resources/index.d.mts +3 -3
  66. package/resources/index.d.mts.map +1 -1
  67. package/resources/index.d.ts +3 -3
  68. package/resources/index.d.ts.map +1 -1
  69. package/resources/index.js.map +1 -1
  70. package/resources/index.mjs.map +1 -1
  71. package/resources/parsing/index.d.mts +1 -1
  72. package/resources/parsing/index.d.mts.map +1 -1
  73. package/resources/parsing/index.d.ts +1 -1
  74. package/resources/parsing/index.d.ts.map +1 -1
  75. package/resources/parsing/index.js.map +1 -1
  76. package/resources/parsing/index.mjs.map +1 -1
  77. package/resources/parsing/jobs.d.mts +78 -85
  78. package/resources/parsing/jobs.d.mts.map +1 -1
  79. package/resources/parsing/jobs.d.ts +78 -85
  80. package/resources/parsing/jobs.d.ts.map +1 -1
  81. package/resources/parsing/jobs.js.map +1 -1
  82. package/resources/parsing/jobs.mjs.map +1 -1
  83. package/resources/parsing/parsing.d.mts +2 -2
  84. package/resources/parsing/parsing.d.mts.map +1 -1
  85. package/resources/parsing/parsing.d.ts +2 -2
  86. package/resources/parsing/parsing.d.ts.map +1 -1
  87. package/resources/parsing/parsing.js.map +1 -1
  88. package/resources/parsing/parsing.mjs.map +1 -1
  89. package/resources/stores/files.d.mts +159 -744
  90. package/resources/stores/files.d.mts.map +1 -1
  91. package/resources/stores/files.d.ts +159 -744
  92. package/resources/stores/files.d.ts.map +1 -1
  93. package/resources/stores/files.js +39 -12
  94. package/resources/stores/files.js.map +1 -1
  95. package/resources/stores/files.mjs +39 -12
  96. package/resources/stores/files.mjs.map +1 -1
  97. package/resources/stores/index.d.mts +2 -2
  98. package/resources/stores/index.d.mts.map +1 -1
  99. package/resources/stores/index.d.ts +2 -2
  100. package/resources/stores/index.d.ts.map +1 -1
  101. package/resources/stores/index.js.map +1 -1
  102. package/resources/stores/index.mjs.map +1 -1
  103. package/resources/stores/stores.d.mts +292 -538
  104. package/resources/stores/stores.d.mts.map +1 -1
  105. package/resources/stores/stores.d.ts +292 -538
  106. package/resources/stores/stores.d.ts.map +1 -1
  107. package/resources/stores/stores.js +56 -0
  108. package/resources/stores/stores.js.map +1 -1
  109. package/resources/stores/stores.mjs +56 -0
  110. package/resources/stores/stores.mjs.map +1 -1
  111. package/src/client.ts +60 -0
  112. package/src/internal/utils/env.ts +2 -2
  113. package/src/resources/api-keys.ts +8 -29
  114. package/src/resources/data-sources/connectors.ts +55 -0
  115. package/src/resources/data-sources/data-sources.ts +63 -56
  116. package/src/resources/data-sources/index.ts +2 -0
  117. package/src/resources/embeddings.ts +9 -0
  118. package/src/resources/files/files.ts +47 -0
  119. package/src/resources/files/uploads.ts +36 -0
  120. package/src/resources/index.ts +19 -0
  121. package/src/resources/parsing/index.ts +4 -1
  122. package/src/resources/parsing/jobs.ts +96 -100
  123. package/src/resources/parsing/parsing.ts +7 -1
  124. package/src/resources/stores/files.ts +343 -1254
  125. package/src/resources/stores/index.ts +22 -4
  126. package/src/resources/stores/stores.ts +429 -857
  127. package/src/version.ts +1 -1
  128. package/version.d.mts +1 -1
  129. package/version.d.ts +1 -1
  130. package/version.js +1 -1
  131. package/version.mjs +1 -1
@@ -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;;;OAGG;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;;;OAGG;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;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED;;OAEG;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;;;OAGG;IACH,QAAQ,CACN,QAAgB,EAChB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,E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@ 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;;;OAGG;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;;;OAGG;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;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED;;OAEG;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;;;OAGG;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"}
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"}
@@ -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"}
@@ -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
@@ -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;OAC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AAChB,6CAoByB;AAnBvB,gGAAA,MAAM,OAAA"}
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"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EACL,OAAO,GAOR;OACM,EAAE,IAAI,EAAqC;OAC3C,EACL,WAAW,GAYZ;OACM,EAAE,UAAU,EAAmD;OAC/D,EAAE,WAAW,EAAE;OACf,EACL,KAAK,GAQN;OACM,EAAE,OAAO,EAAE;OACX,EACL,MAAM,GAmBP"}
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 ElementType, type ParsingJobStatus, type ParsingJob, type ReturnFormat, type JobListResponse, type JobDeleteResponse, type JobCreateParams, type JobListParams, type JobListResponsesCursor, } from "./jobs.mjs";
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,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,sBAAsB,GAC5B;OACM,EAAE,OAAO,EAAE"}
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 ElementType, type ParsingJobStatus, type ParsingJob, type ReturnFormat, type JobListResponse, type JobDeleteResponse, type JobCreateParams, type JobListParams, type JobListResponsesCursor, } from "./jobs.js";
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,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,sBAAsB,GAC5B;OACM,EAAE,OAAO,EAAE"}
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,kCAYgB;AAXd,4FAAA,IAAI,OAAA;AAYN,wCAAoC;AAA3B,kGAAA,OAAO,OAAA"}
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,GAWL;OACM,EAAE,OAAO,EAAE"}
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?: ParsingJob.Result | null;
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 declare namespace ParsingJob {
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 ElementType as ElementType, type ParsingJobStatus as ParsingJobStatus, type ParsingJob as ParsingJob, type ReturnFormat as ReturnFormat, type JobListResponse as JobListResponse, type JobDeleteResponse as JobDeleteResponse, type JobListResponsesCursor as JobListResponsesCursor, type JobCreateParams as JobCreateParams, type JobListParams as JobListParams, };
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,KAAK,OAAO;OACZ,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,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAI/E;;;;;;OAMG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAIzE;;;;;;OAMG;IACH,IAAI,CACF,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,sBAAsB,EAAE,eAAe,CAAC;IAIvD;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAI9E;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAIvE;;;;;;;;OAQG;IACG,IAAI,CACR,KAAK,EAAE,MAAM,EACb,cAAc,CAAC,EAAE,MAAM,EACvB,aAAa,CAAC,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC;IAatB;;;;;;;;OAQG;IACG,aAAa,CACjB,IAAI,EAAE,eAAe,EACrB,cAAc,CA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