@mixedbread/sdk 0.14.0 → 0.16.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 (121) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +31 -0
  3. package/client.d.mts +6 -6
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +6 -6
  6. package/client.d.ts.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/core/pagination.d.mts +0 -1
  9. package/core/pagination.d.mts.map +1 -1
  10. package/core/pagination.d.ts +0 -1
  11. package/core/pagination.d.ts.map +1 -1
  12. package/core/pagination.js.map +1 -1
  13. package/core/pagination.mjs.map +1 -1
  14. package/internal/uploads.js +1 -1
  15. package/internal/uploads.js.map +1 -1
  16. package/internal/uploads.mjs +1 -1
  17. package/internal/uploads.mjs.map +1 -1
  18. package/internal/utils/log.js +1 -1
  19. package/internal/utils/log.js.map +1 -1
  20. package/internal/utils/log.mjs +1 -1
  21. package/internal/utils/log.mjs.map +1 -1
  22. package/internal/utils/path.d.mts.map +1 -1
  23. package/internal/utils/path.d.ts.map +1 -1
  24. package/internal/utils/path.js +26 -5
  25. package/internal/utils/path.js.map +1 -1
  26. package/internal/utils/path.mjs +26 -5
  27. package/internal/utils/path.mjs.map +1 -1
  28. package/package.json +1 -1
  29. package/resources/data-sources/connectors.d.mts +5 -106
  30. package/resources/data-sources/connectors.d.mts.map +1 -1
  31. package/resources/data-sources/connectors.d.ts +5 -106
  32. package/resources/data-sources/connectors.d.ts.map +1 -1
  33. package/resources/data-sources/connectors.js +2 -1
  34. package/resources/data-sources/connectors.js.map +1 -1
  35. package/resources/data-sources/connectors.mjs +2 -1
  36. package/resources/data-sources/connectors.mjs.map +1 -1
  37. package/resources/data-sources/data-sources.d.mts +7 -108
  38. package/resources/data-sources/data-sources.d.mts.map +1 -1
  39. package/resources/data-sources/data-sources.d.ts +7 -108
  40. package/resources/data-sources/data-sources.d.ts.map +1 -1
  41. package/resources/data-sources/data-sources.js +2 -1
  42. package/resources/data-sources/data-sources.js.map +1 -1
  43. package/resources/data-sources/data-sources.mjs +2 -1
  44. package/resources/data-sources/data-sources.mjs.map +1 -1
  45. package/resources/data-sources/index.d.mts +2 -2
  46. package/resources/data-sources/index.d.mts.map +1 -1
  47. package/resources/data-sources/index.d.ts +2 -2
  48. package/resources/data-sources/index.d.ts.map +1 -1
  49. package/resources/files.d.mts +5 -103
  50. package/resources/files.d.mts.map +1 -1
  51. package/resources/files.d.ts +5 -103
  52. package/resources/files.d.ts.map +1 -1
  53. package/resources/files.js +2 -1
  54. package/resources/files.js.map +1 -1
  55. package/resources/files.mjs +2 -1
  56. package/resources/files.mjs.map +1 -1
  57. package/resources/index.d.mts +3 -3
  58. package/resources/index.d.mts.map +1 -1
  59. package/resources/index.d.ts +3 -3
  60. package/resources/index.d.ts.map +1 -1
  61. package/resources/parsing/index.d.mts +1 -1
  62. package/resources/parsing/index.d.mts.map +1 -1
  63. package/resources/parsing/index.d.ts +1 -1
  64. package/resources/parsing/index.d.ts.map +1 -1
  65. package/resources/parsing/index.js.map +1 -1
  66. package/resources/parsing/index.mjs.map +1 -1
  67. package/resources/parsing/jobs.d.mts +41 -130
  68. package/resources/parsing/jobs.d.mts.map +1 -1
  69. package/resources/parsing/jobs.d.ts +41 -130
  70. package/resources/parsing/jobs.d.ts.map +1 -1
  71. package/resources/parsing/jobs.js +2 -1
  72. package/resources/parsing/jobs.js.map +1 -1
  73. package/resources/parsing/jobs.mjs +2 -1
  74. package/resources/parsing/jobs.mjs.map +1 -1
  75. package/resources/parsing/parsing.d.mts +2 -2
  76. package/resources/parsing/parsing.d.mts.map +1 -1
  77. package/resources/parsing/parsing.d.ts +2 -2
  78. package/resources/parsing/parsing.d.ts.map +1 -1
  79. package/resources/parsing/parsing.js.map +1 -1
  80. package/resources/parsing/parsing.mjs.map +1 -1
  81. package/resources/vector-stores/files.d.mts +5 -103
  82. package/resources/vector-stores/files.d.mts.map +1 -1
  83. package/resources/vector-stores/files.d.ts +5 -103
  84. package/resources/vector-stores/files.d.ts.map +1 -1
  85. package/resources/vector-stores/files.js +2 -1
  86. package/resources/vector-stores/files.js.map +1 -1
  87. package/resources/vector-stores/files.mjs +2 -1
  88. package/resources/vector-stores/files.mjs.map +1 -1
  89. package/resources/vector-stores/index.d.mts +2 -2
  90. package/resources/vector-stores/index.d.mts.map +1 -1
  91. package/resources/vector-stores/index.d.ts +2 -2
  92. package/resources/vector-stores/index.d.ts.map +1 -1
  93. package/resources/vector-stores/vector-stores.d.mts +7 -105
  94. package/resources/vector-stores/vector-stores.d.mts.map +1 -1
  95. package/resources/vector-stores/vector-stores.d.ts +7 -105
  96. package/resources/vector-stores/vector-stores.d.ts.map +1 -1
  97. package/resources/vector-stores/vector-stores.js +2 -1
  98. package/resources/vector-stores/vector-stores.js.map +1 -1
  99. package/resources/vector-stores/vector-stores.mjs +2 -1
  100. package/resources/vector-stores/vector-stores.mjs.map +1 -1
  101. package/src/client.ts +6 -6
  102. package/src/core/pagination.ts +0 -2
  103. package/src/internal/uploads.ts +1 -1
  104. package/src/internal/utils/log.ts +1 -1
  105. package/src/internal/utils/path.ts +30 -7
  106. package/src/resources/data-sources/connectors.ts +11 -118
  107. package/src/resources/data-sources/data-sources.ts +9 -120
  108. package/src/resources/data-sources/index.ts +2 -2
  109. package/src/resources/files.ts +7 -115
  110. package/src/resources/index.ts +3 -3
  111. package/src/resources/parsing/index.ts +1 -0
  112. package/src/resources/parsing/jobs.ts +47 -139
  113. package/src/resources/parsing/parsing.ts +2 -0
  114. package/src/resources/vector-stores/files.ts +11 -115
  115. package/src/resources/vector-stores/index.ts +2 -2
  116. package/src/resources/vector-stores/vector-stores.ts +9 -117
  117. package/src/version.ts +1 -1
  118. package/version.d.mts +1 -1
  119. package/version.d.ts +1 -1
  120. package/version.js +1 -1
  121. package/version.mjs +1 -1
@@ -1,5 +1,6 @@
1
1
  import { APIResource } from "../core/resource.js";
2
2
  import { APIPromise } from "../core/api-promise.js";
3
+ import { Cursor, type CursorParams, PagePromise } from "../core/pagination.js";
3
4
  import { type Uploadable } from "../core/uploads.js";
4
5
  import { RequestOptions } from "../internal/request-options.js";
5
6
  export declare class Files extends APIResource {
@@ -34,7 +35,7 @@ export declare class Files extends APIResource {
34
35
  *
35
36
  * Returns: A list of files belonging to the user.
36
37
  */
37
- list(query?: FileListParams | null | undefined, options?: RequestOptions): APIPromise<FileListResponse>;
38
+ list(query?: FileListParams | null | undefined, options?: RequestOptions): PagePromise<FileObjectsCursor, FileObject>;
38
39
  /**
39
40
  * Delete a specific file by its ID.
40
41
  *
@@ -52,6 +53,7 @@ export declare class Files extends APIResource {
52
53
  */
53
54
  content(fileID: string, options?: RequestOptions): APIPromise<Response>;
54
55
  }
56
+ export type FileObjectsCursor = Cursor<FileObject>;
55
57
  /**
56
58
  * A model representing a file object in the system.
57
59
  *
@@ -105,88 +107,6 @@ export interface PaginationWithTotal {
105
107
  */
106
108
  total?: number;
107
109
  }
108
- export interface FileListResponse {
109
- /**
110
- * Response model for cursor-based pagination.
111
- *
112
- * Examples: Forward pagination response: { "has_more": true, "first_cursor":
113
- * "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0zMSIsImlkIjoiYWJjMTIzIn0=", "last_cursor":
114
- * "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0zMCIsImlkIjoieHl6Nzg5In0=", "total": null }
115
- *
116
- * Final page response:
117
- * {
118
- * "has_more": false,
119
- * "first_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0yOSIsImlkIjoibGFzdDEyMyJ9",
120
- * "last_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0yOCIsImlkIjoiZmluYWw0NTYifQ==",
121
- * "total": 42
122
- * }
123
- *
124
- * Empty results:
125
- * {
126
- * "has_more": false,
127
- * "first_cursor": null,
128
- * "last_cursor": null,
129
- * "total": 0
130
- * }
131
- */
132
- pagination: FileListResponse.Pagination;
133
- /**
134
- * The object type of the response
135
- */
136
- object?: 'list';
137
- /**
138
- * The list of files
139
- */
140
- data: Array<FileObject>;
141
- }
142
- export declare namespace FileListResponse {
143
- /**
144
- * Response model for cursor-based pagination.
145
- *
146
- * Examples: Forward pagination response: { "has_more": true, "first_cursor":
147
- * "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0zMSIsImlkIjoiYWJjMTIzIn0=", "last_cursor":
148
- * "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0zMCIsImlkIjoieHl6Nzg5In0=", "total": null }
149
- *
150
- * Final page response:
151
- * {
152
- * "has_more": false,
153
- * "first_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0yOSIsImlkIjoibGFzdDEyMyJ9",
154
- * "last_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0yOCIsImlkIjoiZmluYWw0NTYifQ==",
155
- * "total": 42
156
- * }
157
- *
158
- * Empty results:
159
- * {
160
- * "has_more": false,
161
- * "first_cursor": null,
162
- * "last_cursor": null,
163
- * "total": 0
164
- * }
165
- */
166
- interface Pagination {
167
- /**
168
- * Contextual direction-aware flag: True if more items exist in the requested
169
- * pagination direction. For 'after': more items after this page. For 'before':
170
- * more items before this page.
171
- */
172
- has_more: boolean;
173
- /**
174
- * Cursor of the first item in this page. Use for backward pagination. None if page
175
- * is empty.
176
- */
177
- first_cursor: string | null;
178
- /**
179
- * Cursor of the last item in this page. Use for forward pagination. None if page
180
- * is empty.
181
- */
182
- last_cursor: string | null;
183
- /**
184
- * Total number of items available across all pages. Only included when
185
- * include_total=true was requested. Expensive operation - use sparingly.
186
- */
187
- total?: number | null;
188
- }
189
- }
190
110
  export interface FileDeleteResponse {
191
111
  /**
192
112
  * The ID of the deleted file
@@ -213,31 +133,13 @@ export interface FileUpdateParams {
213
133
  */
214
134
  file: Uploadable;
215
135
  }
216
- export interface FileListParams {
217
- /**
218
- * Maximum number of items to return per page (1-100)
219
- */
220
- limit?: number;
221
- /**
222
- * Cursor for forward pagination - get items after this position. Use last_cursor
223
- * from previous response.
224
- */
225
- after?: string | null;
226
- /**
227
- * Cursor for backward pagination - get items before this position. Use
228
- * first_cursor from previous response.
229
- */
230
- before?: string | null;
231
- /**
232
- * Whether to include total count in response (expensive operation)
233
- */
234
- include_total?: boolean;
136
+ export interface FileListParams extends CursorParams {
235
137
  /**
236
138
  * Search query for fuzzy matching over name and description fields
237
139
  */
238
140
  q?: string | null;
239
141
  }
240
142
  export declare namespace Files {
241
- export { type FileObject as FileObject, type PaginationWithTotal as PaginationWithTotal, type FileListResponse as FileListResponse, type FileDeleteResponse as FileDeleteResponse, type FileCreateParams as FileCreateParams, type FileUpdateParams as FileUpdateParams, type FileListParams as FileListParams, };
143
+ export { type FileObject as FileObject, type PaginationWithTotal as PaginationWithTotal, type FileDeleteResponse as FileDeleteResponse, type FileObjectsCursor as FileObjectsCursor, type FileCreateParams as FileCreateParams, type FileUpdateParams as FileUpdateParams, type FileListParams as FileListParams, };
242
144
  }
243
145
  //# sourceMappingURL=files.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,UAAU,EAAE;OAEnB,EAAE,cAAc,EAAE;AAIzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;OAMG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAIhF;;;;;;OAMG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAI1E;;;;;;OAMG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAOhG;;;;;;OAMG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AAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;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,UAAU,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,MAAM,WAAW,cAAe,SAAQ,YAAY;IAClD;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Files = void 0;
5
5
  const resource_1 = require("../core/resource.js");
6
+ const pagination_1 = require("../core/pagination.js");
6
7
  const headers_1 = require("../internal/headers.js");
7
8
  const uploads_1 = require("../internal/uploads.js");
8
9
  const path_1 = require("../internal/utils/path.js");
@@ -45,7 +46,7 @@ class Files extends resource_1.APIResource {
45
46
  * Returns: A list of files belonging to the user.
46
47
  */
47
48
  list(query = {}, options) {
48
- return this._client.get('/v1/files', { query, ...options });
49
+ return this._client.getAPIList('/v1/files', (pagination_1.Cursor), { query, ...options });
49
50
  }
50
51
  /**
51
52
  * Delete a specific file by its ID.
@@ -1 +1 @@
1
- {"version":3,"file":"files.js","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAAmD;AAEnD,oDAAkE;AAClE,oDAA8C;AAE9C,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;OAMG;IACH,MAAM,CAAC,IAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IACzG,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,MAAc,EAAE,IAAsB,EAAE,OAAwB;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,IAAA,WAAI,EAAA,aAAa,MAAM,EAAE,EACzB,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GA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E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,IAAA,WAAI,EAAA,aAAa,MAAM,EAAE,EACzB,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,mBAAkB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,MAAc,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,aAAa,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;OAMG;IACH,OAAO,CAAC,MAAc,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,MAAM,UAAU,EAAE;YACzD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,0BAA0B,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACjF,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;CACF;AA5ED,sBA4EC"}
@@ -1,5 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  import { APIResource } from "../core/resource.mjs";
3
+ import { Cursor } from "../core/pagination.mjs";
3
4
  import { buildHeaders } from "../internal/headers.mjs";
4
5
  import { multipartFormRequestOptions } from "../internal/uploads.mjs";
5
6
  import { path } from "../internal/utils/path.mjs";
@@ -42,7 +43,7 @@ export class Files extends APIResource {
42
43
  * Returns: A list of files belonging to the user.
43
44
  */
44
45
  list(query = {}, options) {
45
- return this._client.get('/v1/files', { query, ...options });
46
+ return this._client.getAPIList('/v1/files', (Cursor), { query, ...options });
46
47
  }
47
48
  /**
48
49
  * Delete a specific file by its ID.
@@ -1 +1 @@
1
- {"version":3,"file":"files.mjs","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,YAAY,EAAE;OAEhB,EAAE,2BAA2B,EAAE;OAC/B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;OAMG;IACH,MAAM,CAAC,IAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IACzG,CAAC;IAED;;;;;;OAMG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,MAAc,EAAE,IAAsB,EAAE,OAAwB;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,IAAI,CAAA,aAAa,MAAM,EAAE,EACzB,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,MAAc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AE,EACzB,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,MAAkB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,MAAc,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,aAAa,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;OAMG;IACH,OAAO,CAAC,MAAc,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,MAAM,UAAU,EAAE;YACzD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,0BAA0B,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACjF,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,11 +1,11 @@
1
1
  export * from "./shared.mjs";
2
2
  export { APIKeys, type APIKey, type APIKeyCreated, 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 DataSourceListResponse, type DataSourceDeleteResponse, type DataSourceCreateParams, type DataSourceUpdateParams, type DataSourceListParams, } from "./data-sources/data-sources.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";
5
5
  export { Embeddings, type EncodingFormat, type ObjectType, type EmbeddingCreateParams } from "./embeddings.mjs";
6
6
  export { Extractions } from "./extractions/extractions.mjs";
7
- export { Files, type FileObject, type PaginationWithTotal, type FileListResponse, type FileDeleteResponse, type FileCreateParams, type FileUpdateParams, type FileListParams, } from "./files.mjs";
7
+ export { Files, type FileObject, type PaginationWithTotal, type FileDeleteResponse, type FileCreateParams, type FileUpdateParams, type FileListParams, type FileObjectsCursor, } from "./files.mjs";
8
8
  export { Parsing } from "./parsing/parsing.mjs";
9
- export { VectorStores, type ExpiresAfter, type ScoredAudioURLInputChunk, type ScoredImageURLInputChunk, type ScoredTextInputChunk, type ScoredVideoURLInputChunk, type VectorStore, type VectorStoreChunkSearchOptions, type VectorStoreListResponse, type VectorStoreDeleteResponse, type VectorStoreQuestionAnsweringResponse, type VectorStoreSearchResponse, type VectorStoreCreateParams, type VectorStoreUpdateParams, type VectorStoreListParams, type VectorStoreQuestionAnsweringParams, type VectorStoreSearchParams, } from "./vector-stores/vector-stores.mjs";
9
+ export { VectorStores, type ExpiresAfter, type ScoredAudioURLInputChunk, type ScoredImageURLInputChunk, type ScoredTextInputChunk, type ScoredVideoURLInputChunk, type VectorStore, type VectorStoreChunkSearchOptions, type VectorStoreDeleteResponse, type VectorStoreQuestionAnsweringResponse, type VectorStoreSearchResponse, type VectorStoreCreateParams, type VectorStoreUpdateParams, type VectorStoreListParams, type VectorStoreQuestionAnsweringParams, type VectorStoreSearchParams, type VectorStoresCursor, } from "./vector-stores/vector-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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K,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,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,UAAU,EAAE,KAAK,qBAAqB,EAAE;OAChF,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,YAAY,EACZ,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,WAAW,EAChB,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,oCAAoC,EACzC,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,kCAAkC,EACvC,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,GACxB;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
2
  export { APIKeys, type APIKey, type APIKeyCreated, 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 DataSourceListResponse, type DataSourceDeleteResponse, type DataSourceCreateParams, type DataSourceUpdateParams, type DataSourceListParams, } from "./data-sources/data-sources.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";
5
5
  export { Embeddings, type EncodingFormat, type ObjectType, type EmbeddingCreateParams } from "./embeddings.js";
6
6
  export { Extractions } from "./extractions/extractions.js";
7
- export { Files, type FileObject, type PaginationWithTotal, type FileListResponse, type FileDeleteResponse, type FileCreateParams, type FileUpdateParams, type FileListParams, } from "./files.js";
7
+ export { Files, type FileObject, type PaginationWithTotal, type FileDeleteResponse, type FileCreateParams, type FileUpdateParams, type FileListParams, type FileObjectsCursor, } from "./files.js";
8
8
  export { Parsing } from "./parsing/parsing.js";
9
- export { VectorStores, type ExpiresAfter, type ScoredAudioURLInputChunk, type ScoredImageURLInputChunk, type ScoredTextInputChunk, type ScoredVideoURLInputChunk, type VectorStore, type VectorStoreChunkSearchOptions, type VectorStoreListResponse, type VectorStoreDeleteResponse, type VectorStoreQuestionAnsweringResponse, type VectorStoreSearchResponse, type VectorStoreCreateParams, type VectorStoreUpdateParams, type VectorStoreListParams, type VectorStoreQuestionAnsweringParams, type VectorStoreSearchParams, } from "./vector-stores/vector-stores.js";
9
+ export { VectorStores, type ExpiresAfter, type ScoredAudioURLInputChunk, type ScoredImageURLInputChunk, type ScoredTextInputChunk, type ScoredVideoURLInputChunk, type VectorStore, type VectorStoreChunkSearchOptions, type VectorStoreDeleteResponse, type VectorStoreQuestionAnsweringResponse, type VectorStoreSearchResponse, type VectorStoreCreateParams, type VectorStoreUpdateParams, type VectorStoreListParams, type VectorStoreQuestionAnsweringParams, type VectorStoreSearchParams, type VectorStoresCursor, } from "./vector-stores/vector-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,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,GAC1B;OACM,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,KAAK,UAAU,EAAE,KAAK,qBAAqB,EAAE;OAChF,EAAE,WAAW,EAAE;OACf,EACL,KAAK,EACL,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB;OACM,EAAE,OAAO,EAAE;OACX,EACL,YAAY,EACZ,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,WAAW,EAChB,KAAK,6BAA6B,EAClC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,oCAAoC,EACzC,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,kCAAkC,EACvC,KAAK,uBAAuB,GAC7B;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,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,UAAU,EAAE,KAAK,qBAAqB,EAAE;OAChF,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,YAAY,EACZ,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,WAAW,EAChB,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,oCAAoC,EACzC,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,kCAAkC,EACvC,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,GACxB;OACM,EACL,KAAK,SAAS,EACd,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,YAAY,GAClB"}
@@ -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, } from "./jobs.mjs";
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";
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,GACnB;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,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,3 +1,3 @@
1
- export { Jobs, type ChunkingStrategy, type ElementType, type ParsingJobStatus, type ParsingJob, type ReturnFormat, type JobListResponse, type JobDeleteResponse, type JobCreateParams, type JobListParams, } from "./jobs.js";
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";
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,GACnB;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,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 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/parsing/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAWgB;AAVd,4FAAA,IAAI,OAAA;AAWN,wCAAoC;AAA3B,kGAAA,OAAO,OAAA"}
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 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/parsing/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,IAAI,GAUL;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,GAWL;OACM,EAAE,OAAO,EAAE"}
@@ -1,6 +1,7 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
2
  import * as JobsAPI from "./jobs.mjs";
3
3
  import { APIPromise } from "../../core/api-promise.mjs";
4
+ import { Cursor, type CursorParams, PagePromise } from "../../core/pagination.mjs";
4
5
  import { RequestOptions } from "../../internal/request-options.mjs";
5
6
  import { Uploadable } from "../../core/uploads.mjs";
6
7
  export declare class Jobs extends APIResource {
@@ -27,7 +28,7 @@ export declare class Jobs extends APIResource {
27
28
  *
28
29
  * Returns: List of parsing jobs with pagination.
29
30
  */
30
- list(query?: JobListParams | null | undefined, options?: RequestOptions): APIPromise<JobListResponse>;
31
+ list(query?: JobListParams | null | undefined, options?: RequestOptions): PagePromise<JobListResponsesCursor, JobListResponse>;
31
32
  /**
32
33
  * Delete a specific parse job.
33
34
  *
@@ -86,6 +87,7 @@ export declare class Jobs extends APIResource {
86
87
  */
87
88
  uploadAndPoll(file: Uploadable, body?: Omit<JobCreateParams, 'file_id'>, pollIntervalMs?: number, pollTimeoutMs?: number, options?: RequestOptions): Promise<ParsingJob>;
88
89
  }
90
+ export type JobListResponsesCursor = Cursor<JobListResponse>;
89
91
  /**
90
92
  * Strategy used for chunking document content.
91
93
  */
@@ -107,6 +109,10 @@ export interface ParsingJob {
107
109
  * The ID of the file to parse
108
110
  */
109
111
  file_id: string;
112
+ /**
113
+ * The name of the file
114
+ */
115
+ filename?: string | null;
110
116
  /**
111
117
  * The status of the job
112
118
  */
@@ -222,126 +228,45 @@ export declare namespace ParsingJob {
222
228
  */
223
229
  export type ReturnFormat = 'html' | 'markdown' | 'plain';
224
230
  /**
225
- * A list of parsing jobs with pagination.
231
+ * A parsing job item for list responses, omitting result and error fields.
226
232
  */
227
233
  export interface JobListResponse {
228
234
  /**
229
- * Response model for cursor-based pagination.
230
- *
231
- * Examples: Forward pagination response: { "has_more": true, "first_cursor":
232
- * "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0zMSIsImlkIjoiYWJjMTIzIn0=", "last_cursor":
233
- * "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0zMCIsImlkIjoieHl6Nzg5In0=", "total": null }
234
- *
235
- * Final page response:
236
- * {
237
- * "has_more": false,
238
- * "first_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0yOSIsImlkIjoibGFzdDEyMyJ9",
239
- * "last_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0yOCIsImlkIjoiZmluYWw0NTYifQ==",
240
- * "total": 42
241
- * }
242
- *
243
- * Empty results:
244
- * {
245
- * "has_more": false,
246
- * "first_cursor": null,
247
- * "last_cursor": null,
248
- * "total": 0
249
- * }
235
+ * The ID of the job
250
236
  */
251
- pagination: JobListResponse.Pagination;
237
+ id: string;
252
238
  /**
253
- * The list of parsing jobs
239
+ * The ID of the file to parse
254
240
  */
255
- data: Array<JobListResponse.Data>;
241
+ file_id: string;
256
242
  /**
257
- * The object type of the response
243
+ * The name of the file
258
244
  */
259
- object?: 'list';
260
- }
261
- export declare namespace JobListResponse {
245
+ filename?: string | null;
262
246
  /**
263
- * Response model for cursor-based pagination.
264
- *
265
- * Examples: Forward pagination response: { "has_more": true, "first_cursor":
266
- * "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0zMSIsImlkIjoiYWJjMTIzIn0=", "last_cursor":
267
- * "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0zMCIsImlkIjoieHl6Nzg5In0=", "total": null }
268
- *
269
- * Final page response:
270
- * {
271
- * "has_more": false,
272
- * "first_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0yOSIsImlkIjoibGFzdDEyMyJ9",
273
- * "last_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNC0xMi0yOCIsImlkIjoiZmluYWw0NTYifQ==",
274
- * "total": 42
275
- * }
276
- *
277
- * Empty results:
278
- * {
279
- * "has_more": false,
280
- * "first_cursor": null,
281
- * "last_cursor": null,
282
- * "total": 0
283
- * }
284
- */
285
- interface Pagination {
286
- /**
287
- * Contextual direction-aware flag: True if more items exist in the requested
288
- * pagination direction. For 'after': more items after this page. For 'before':
289
- * more items before this page.
290
- */
291
- has_more: boolean;
292
- /**
293
- * Cursor of the first item in this page. Use for backward pagination. None if page
294
- * is empty.
295
- */
296
- first_cursor: string | null;
297
- /**
298
- * Cursor of the last item in this page. Use for forward pagination. None if page
299
- * is empty.
300
- */
301
- last_cursor: string | null;
302
- /**
303
- * Total number of items available across all pages. Only included when
304
- * include_total=true was requested. Expensive operation - use sparingly.
305
- */
306
- total?: number | null;
307
- }
247
+ * The status of the job
248
+ */
249
+ status: ParsingJobStatus;
308
250
  /**
309
- * A parsing job item for list responses, omitting result and error fields.
251
+ * The started time of the job
310
252
  */
311
- interface Data {
312
- /**
313
- * The ID of the job
314
- */
315
- id: string;
316
- /**
317
- * The ID of the file to parse
318
- */
319
- file_id: string;
320
- /**
321
- * The status of the job
322
- */
323
- status: JobsAPI.ParsingJobStatus;
324
- /**
325
- * The started time of the job
326
- */
327
- started_at?: string | null;
328
- /**
329
- * The finished time of the job
330
- */
331
- finished_at?: string | null;
332
- /**
333
- * The creation time of the job
334
- */
335
- created_at?: string;
336
- /**
337
- * The updated time of the job
338
- */
339
- updated_at?: string | null;
340
- /**
341
- * The type of the object
342
- */
343
- object?: 'parsing_job';
344
- }
253
+ started_at?: string | null;
254
+ /**
255
+ * The finished time of the job
256
+ */
257
+ finished_at?: string | null;
258
+ /**
259
+ * The creation time of the job
260
+ */
261
+ created_at?: string;
262
+ /**
263
+ * The updated time of the job
264
+ */
265
+ updated_at?: string | null;
266
+ /**
267
+ * The type of the object
268
+ */
269
+ object?: 'parsing_job';
345
270
  }
346
271
  /**
347
272
  * A deleted parsing job.
@@ -382,31 +307,17 @@ export interface JobCreateParams {
382
307
  */
383
308
  mode?: 'fast' | 'high_quality';
384
309
  }
385
- export interface JobListParams {
386
- /**
387
- * Maximum number of items to return per page (1-100)
388
- */
389
- limit?: number;
390
- /**
391
- * Cursor for forward pagination - get items after this position. Use last_cursor
392
- * from previous response.
393
- */
394
- after?: string | null;
395
- /**
396
- * Cursor for backward pagination - get items before this position. Use
397
- * first_cursor from previous response.
398
- */
399
- before?: string | null;
400
- /**
401
- * Whether to include total count in response (expensive operation)
402
- */
403
- include_total?: boolean;
310
+ export interface JobListParams extends CursorParams {
404
311
  /**
405
312
  * Status to filter by
406
313
  */
407
314
  statuses?: Array<ParsingJobStatus> | null;
315
+ /**
316
+ * Search query to filter by
317
+ */
318
+ q?: string | null;
408
319
  }
409
320
  export declare namespace Jobs {
410
- 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 JobCreateParams as JobCreateParams, type JobListParams as JobListParams, };
321
+ 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, };
411
322
  }
412
323
  //# 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,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,CAAC,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAIzG;;;;;;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,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