@mixedbread/sdk 0.11.1 → 0.12.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 (97) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +0 -31
  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/package.json +1 -1
  9. package/resources/data-sources/connectors.d.mts +106 -5
  10. package/resources/data-sources/connectors.d.mts.map +1 -1
  11. package/resources/data-sources/connectors.d.ts +106 -5
  12. package/resources/data-sources/connectors.d.ts.map +1 -1
  13. package/resources/data-sources/connectors.js +1 -2
  14. package/resources/data-sources/connectors.js.map +1 -1
  15. package/resources/data-sources/connectors.mjs +1 -2
  16. package/resources/data-sources/connectors.mjs.map +1 -1
  17. package/resources/data-sources/data-sources.d.mts +108 -7
  18. package/resources/data-sources/data-sources.d.mts.map +1 -1
  19. package/resources/data-sources/data-sources.d.ts +108 -7
  20. package/resources/data-sources/data-sources.d.ts.map +1 -1
  21. package/resources/data-sources/data-sources.js +1 -2
  22. package/resources/data-sources/data-sources.js.map +1 -1
  23. package/resources/data-sources/data-sources.mjs +1 -2
  24. package/resources/data-sources/data-sources.mjs.map +1 -1
  25. package/resources/data-sources/index.d.mts +2 -2
  26. package/resources/data-sources/index.d.mts.map +1 -1
  27. package/resources/data-sources/index.d.ts +2 -2
  28. package/resources/data-sources/index.d.ts.map +1 -1
  29. package/resources/files.d.mts +107 -5
  30. package/resources/files.d.mts.map +1 -1
  31. package/resources/files.d.ts +107 -5
  32. package/resources/files.d.ts.map +1 -1
  33. package/resources/files.js +1 -2
  34. package/resources/files.js.map +1 -1
  35. package/resources/files.mjs +1 -2
  36. package/resources/files.mjs.map +1 -1
  37. package/resources/index.d.mts +3 -3
  38. package/resources/index.d.mts.map +1 -1
  39. package/resources/index.d.ts +3 -3
  40. package/resources/index.d.ts.map +1 -1
  41. package/resources/parsing/index.d.mts +1 -1
  42. package/resources/parsing/index.d.mts.map +1 -1
  43. package/resources/parsing/index.d.ts +1 -1
  44. package/resources/parsing/index.d.ts.map +1 -1
  45. package/resources/parsing/index.js.map +1 -1
  46. package/resources/parsing/index.mjs.map +1 -1
  47. package/resources/parsing/jobs.d.mts +134 -29
  48. package/resources/parsing/jobs.d.mts.map +1 -1
  49. package/resources/parsing/jobs.d.ts +134 -29
  50. package/resources/parsing/jobs.d.ts.map +1 -1
  51. package/resources/parsing/jobs.js +1 -2
  52. package/resources/parsing/jobs.js.map +1 -1
  53. package/resources/parsing/jobs.mjs +1 -2
  54. package/resources/parsing/jobs.mjs.map +1 -1
  55. package/resources/parsing/parsing.d.mts +2 -2
  56. package/resources/parsing/parsing.d.mts.map +1 -1
  57. package/resources/parsing/parsing.d.ts +2 -2
  58. package/resources/parsing/parsing.d.ts.map +1 -1
  59. package/resources/parsing/parsing.js.map +1 -1
  60. package/resources/parsing/parsing.mjs.map +1 -1
  61. package/resources/vector-stores/files.d.mts +103 -5
  62. package/resources/vector-stores/files.d.mts.map +1 -1
  63. package/resources/vector-stores/files.d.ts +103 -5
  64. package/resources/vector-stores/files.d.ts.map +1 -1
  65. package/resources/vector-stores/files.js +1 -2
  66. package/resources/vector-stores/files.js.map +1 -1
  67. package/resources/vector-stores/files.mjs +1 -2
  68. package/resources/vector-stores/files.mjs.map +1 -1
  69. package/resources/vector-stores/index.d.mts +2 -2
  70. package/resources/vector-stores/index.d.mts.map +1 -1
  71. package/resources/vector-stores/index.d.ts +2 -2
  72. package/resources/vector-stores/index.d.ts.map +1 -1
  73. package/resources/vector-stores/vector-stores.d.mts +105 -7
  74. package/resources/vector-stores/vector-stores.d.mts.map +1 -1
  75. package/resources/vector-stores/vector-stores.d.ts +105 -7
  76. package/resources/vector-stores/vector-stores.d.ts.map +1 -1
  77. package/resources/vector-stores/vector-stores.js +1 -2
  78. package/resources/vector-stores/vector-stores.js.map +1 -1
  79. package/resources/vector-stores/vector-stores.mjs +1 -2
  80. package/resources/vector-stores/vector-stores.mjs.map +1 -1
  81. package/src/client.ts +6 -6
  82. package/src/resources/data-sources/connectors.ts +118 -11
  83. package/src/resources/data-sources/data-sources.ts +120 -9
  84. package/src/resources/data-sources/index.ts +2 -2
  85. package/src/resources/files.ts +120 -7
  86. package/src/resources/index.ts +3 -3
  87. package/src/resources/parsing/index.ts +0 -1
  88. package/src/resources/parsing/jobs.ts +146 -34
  89. package/src/resources/parsing/parsing.ts +0 -2
  90. package/src/resources/vector-stores/files.ts +115 -11
  91. package/src/resources/vector-stores/index.ts +2 -2
  92. package/src/resources/vector-stores/vector-stores.ts +117 -9
  93. package/src/version.ts +1 -1
  94. package/version.d.mts +1 -1
  95. package/version.d.ts +1 -1
  96. package/version.js +1 -1
  97. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/data-sources/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,GAChC;OACM,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"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/data-sources/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B;OACM,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"}
@@ -1,3 +1,3 @@
1
- export { Connectors, type DataSourceConnector, type ConnectorDeleteResponse, type ConnectorCreateParams, type ConnectorRetrieveParams, type ConnectorUpdateParams, type ConnectorListParams, type ConnectorDeleteParams, type DataSourceConnectorsCursor, } from "./connectors.js";
2
- 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.js";
1
+ export { Connectors, type DataSourceConnector, type ConnectorListResponse, type ConnectorDeleteResponse, type ConnectorCreateParams, type ConnectorRetrieveParams, type ConnectorUpdateParams, type ConnectorListParams, type ConnectorDeleteParams, } from "./connectors.js";
2
+ 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.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/data-sources/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,GAChC;OACM,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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/data-sources/index.ts"],"names":[],"mappings":"OAEO,EACL,UAAU,EACV,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B;OACM,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"}
@@ -1,6 +1,5 @@
1
1
  import { APIResource } from "../core/resource.mjs";
2
2
  import { APIPromise } from "../core/api-promise.mjs";
3
- import { Cursor, type CursorParams, PagePromise } from "../core/pagination.mjs";
4
3
  import { type Uploadable } from "../core/uploads.mjs";
5
4
  import { RequestOptions } from "../internal/request-options.mjs";
6
5
  export declare class Files extends APIResource {
@@ -35,7 +34,7 @@ export declare class Files extends APIResource {
35
34
  *
36
35
  * Returns: A list of files belonging to the user.
37
36
  */
38
- list(query?: FileListParams | null | undefined, options?: RequestOptions): PagePromise<FileObjectsCursor, FileObject>;
37
+ list(query?: FileListParams | null | undefined, options?: RequestOptions): APIPromise<FileListResponse>;
39
38
  /**
40
39
  * Delete a specific file by its ID.
41
40
  *
@@ -53,7 +52,6 @@ export declare class Files extends APIResource {
53
52
  */
54
53
  content(fileID: string, options?: RequestOptions): APIPromise<Response>;
55
54
  }
56
- export type FileObjectsCursor = Cursor<FileObject>;
57
55
  /**
58
56
  * A model representing a file object in the system.
59
57
  *
@@ -107,6 +105,88 @@ export interface PaginationWithTotal {
107
105
  */
108
106
  total?: number;
109
107
  }
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
+ }
110
190
  export interface FileDeleteResponse {
111
191
  /**
112
192
  * The ID of the deleted file
@@ -133,9 +213,31 @@ export interface FileUpdateParams {
133
213
  */
134
214
  file: Uploadable;
135
215
  }
136
- export interface FileListParams extends CursorParams {
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;
235
+ /**
236
+ * Search query for fuzzy matching over name and description fields
237
+ */
238
+ q?: string | null;
137
239
  }
138
240
  export declare namespace Files {
139
- 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, };
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, };
140
242
  }
141
243
  //# sourceMappingURL=files.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"files.d.mts","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE;OAC1C,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;IACH,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,iBAAiB,EAAE,UAAU,CAAC;IAI7C;;;;;;OAMG;IACH,MAAM,CAAC,MA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AC/B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;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,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
@@ -1,6 +1,5 @@
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";
4
3
  import { type Uploadable } from "../core/uploads.js";
5
4
  import { RequestOptions } from "../internal/request-options.js";
6
5
  export declare class Files extends APIResource {
@@ -35,7 +34,7 @@ export declare class Files extends APIResource {
35
34
  *
36
35
  * Returns: A list of files belonging to the user.
37
36
  */
38
- list(query?: FileListParams | null | undefined, options?: RequestOptions): PagePromise<FileObjectsCursor, FileObject>;
37
+ list(query?: FileListParams | null | undefined, options?: RequestOptions): APIPromise<FileListResponse>;
39
38
  /**
40
39
  * Delete a specific file by its ID.
41
40
  *
@@ -53,7 +52,6 @@ export declare class Files extends APIResource {
53
52
  */
54
53
  content(fileID: string, options?: RequestOptions): APIPromise<Response>;
55
54
  }
56
- export type FileObjectsCursor = Cursor<FileObject>;
57
55
  /**
58
56
  * A model representing a file object in the system.
59
57
  *
@@ -107,6 +105,88 @@ export interface PaginationWithTotal {
107
105
  */
108
106
  total?: number;
109
107
  }
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
+ }
110
190
  export interface FileDeleteResponse {
111
191
  /**
112
192
  * The ID of the deleted file
@@ -133,9 +213,31 @@ export interface FileUpdateParams {
133
213
  */
134
214
  file: Uploadable;
135
215
  }
136
- export interface FileListParams extends CursorParams {
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;
235
+ /**
236
+ * Search query for fuzzy matching over name and description fields
237
+ */
238
+ q?: string | null;
137
239
  }
138
240
  export declare namespace Files {
139
- 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, };
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, };
140
242
  }
141
243
  //# 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,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE;OAC1C,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;IACH,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,iBAAiB,EAAE,UAAU,CAAC;IAI7C;;;;;;OAMG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAA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AgB;IAC/B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;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,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
@@ -3,7 +3,6 @@
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");
7
6
  const headers_1 = require("../internal/headers.js");
8
7
  const uploads_1 = require("../internal/uploads.js");
9
8
  const path_1 = require("../internal/utils/path.js");
@@ -46,7 +45,7 @@ class Files extends resource_1.APIResource {
46
45
  * Returns: A list of files belonging to the user.
47
46
  */
48
47
  list(query = {}, options) {
49
- return this._client.getAPIList('/v1/files', (pagination_1.Cursor), { query, ...options });
48
+ return this._client.get('/v1/files', { query, ...options });
50
49
  }
51
50
  /**
52
51
  * 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;AAE/C,sDAA4E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AAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,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,6 +1,5 @@
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";
4
3
  import { buildHeaders } from "../internal/headers.mjs";
5
4
  import { multipartFormRequestOptions } from "../internal/uploads.mjs";
6
5
  import { path } from "../internal/utils/path.mjs";
@@ -43,7 +42,7 @@ export class Files extends APIResource {
43
42
  * Returns: A list of files belonging to the user.
44
43
  */
45
44
  list(query = {}, options) {
46
- return this._client.getAPIList('/v1/files', (Cursor), { query, ...options });
45
+ return this._client.get('/v1/files', { query, ...options });
47
46
  }
48
47
  /**
49
48
  * 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;OAEf,EAAE,MAAM,EAAkC;OAE1C,EAAE,YAAY,EAAE;OAEhB,EAAE,2BAA2B,EAAE;OAC/B,EAAE,IAAI,EAAE;AA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c,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 DataSourceDeleteResponse, type DataSourceCreateParams, type DataSourceUpdateParams, type DataSourceListParams, type DataSourcesCursor, } from "./data-sources/data-sources.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";
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 FileDeleteResponse, type FileCreateParams, type FileUpdateParams, type FileListParams, type FileObjectsCursor, } from "./files.mjs";
7
+ export { Files, type FileObject, type PaginationWithTotal, type FileListResponse, type FileDeleteResponse, type FileCreateParams, type FileUpdateParams, type FileListParams, } 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 VectorStoreDeleteResponse, type VectorStoreQuestionAnsweringResponse, type VectorStoreSearchResponse, type VectorStoreCreateParams, type VectorStoreUpdateParams, type VectorStoreListParams, type VectorStoreQuestionAnsweringParams, type VectorStoreSearchParams, type VectorStoresCursor, } from "./vector-stores/vector-stores.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";
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,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
+ {"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,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,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 DataSourceDeleteResponse, type DataSourceCreateParams, type DataSourceUpdateParams, type DataSourceListParams, type DataSourcesCursor, } from "./data-sources/data-sources.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";
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 FileDeleteResponse, type FileCreateParams, type FileUpdateParams, type FileListParams, type FileObjectsCursor, } from "./files.js";
7
+ export { Files, type FileObject, type PaginationWithTotal, type FileListResponse, type FileDeleteResponse, type FileCreateParams, type FileUpdateParams, type FileListParams, } 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 VectorStoreDeleteResponse, type VectorStoreQuestionAnsweringResponse, type VectorStoreSearchResponse, type VectorStoreCreateParams, type VectorStoreUpdateParams, type VectorStoreListParams, type VectorStoreQuestionAnsweringParams, type VectorStoreSearchParams, type VectorStoresCursor, } from "./vector-stores/vector-stores.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";
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,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
+ {"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,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 ChunkingStrategy, type ElementType, type ParsingJobStatus, type ParsingJob, type ReturnFormat, type JobListResponse, type JobDeleteResponse, type JobCreateParams, type JobListParams, } 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,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,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 ChunkingStrategy, type ElementType, type ParsingJobStatus, type ParsingJob, type ReturnFormat, type JobListResponse, type JobDeleteResponse, type JobCreateParams, type JobListParams, } 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,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 +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,kCAWgB;AAVd,4FAAA,IAAI,OAAA;AAWN,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,GAUL;OACM,EAAE,OAAO,EAAE"}