@studyfetch/sdk 1.32.0 → 1.34.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 (154) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/README.md +1 -1
  3. package/package.json +4 -5
  4. package/resources/v1/assignment-grader/assignment-grader.d.mts +313 -0
  5. package/resources/v1/assignment-grader/assignment-grader.d.mts.map +1 -0
  6. package/resources/v1/assignment-grader/assignment-grader.d.ts +313 -0
  7. package/resources/v1/assignment-grader/assignment-grader.d.ts.map +1 -0
  8. package/resources/v1/assignment-grader/assignment-grader.js +87 -0
  9. package/resources/v1/assignment-grader/assignment-grader.js.map +1 -0
  10. package/resources/v1/assignment-grader/assignment-grader.mjs +82 -0
  11. package/resources/v1/assignment-grader/assignment-grader.mjs.map +1 -0
  12. package/resources/v1/assignment-grader/index.d.mts +3 -0
  13. package/resources/v1/assignment-grader/index.d.mts.map +1 -0
  14. package/resources/v1/assignment-grader/index.d.ts +3 -0
  15. package/resources/v1/assignment-grader/index.d.ts.map +1 -0
  16. package/resources/v1/assignment-grader/index.js +9 -0
  17. package/resources/v1/assignment-grader/index.js.map +1 -0
  18. package/resources/v1/assignment-grader/index.mjs +4 -0
  19. package/resources/v1/assignment-grader/index.mjs.map +1 -0
  20. package/resources/v1/assignment-grader/rubric-templates.d.mts +238 -0
  21. package/resources/v1/assignment-grader/rubric-templates.d.mts.map +1 -0
  22. package/resources/v1/assignment-grader/rubric-templates.d.ts +238 -0
  23. package/resources/v1/assignment-grader/rubric-templates.d.ts.map +1 -0
  24. package/resources/v1/assignment-grader/rubric-templates.js +68 -0
  25. package/resources/v1/assignment-grader/rubric-templates.js.map +1 -0
  26. package/resources/v1/assignment-grader/rubric-templates.mjs +64 -0
  27. package/resources/v1/assignment-grader/rubric-templates.mjs.map +1 -0
  28. package/resources/v1/assignment-grader.d.mts +1 -152
  29. package/resources/v1/assignment-grader.d.mts.map +1 -1
  30. package/resources/v1/assignment-grader.d.ts +1 -152
  31. package/resources/v1/assignment-grader.d.ts.map +1 -1
  32. package/resources/v1/assignment-grader.js +2 -62
  33. package/resources/v1/assignment-grader.js.map +1 -1
  34. package/resources/v1/assignment-grader.mjs +1 -60
  35. package/resources/v1/assignment-grader.mjs.map +1 -1
  36. package/resources/v1/chat-analytics.d.mts +316 -0
  37. package/resources/v1/chat-analytics.d.mts.map +1 -0
  38. package/resources/v1/chat-analytics.d.ts +316 -0
  39. package/resources/v1/chat-analytics.d.ts.map +1 -0
  40. package/resources/v1/chat-analytics.js +50 -0
  41. package/resources/v1/chat-analytics.js.map +1 -0
  42. package/resources/v1/chat-analytics.mjs +46 -0
  43. package/resources/v1/chat-analytics.mjs.map +1 -0
  44. package/resources/v1/components.d.mts +184 -10
  45. package/resources/v1/components.d.mts.map +1 -1
  46. package/resources/v1/components.d.ts +184 -10
  47. package/resources/v1/components.d.ts.map +1 -1
  48. package/resources/v1/components.js.map +1 -1
  49. package/resources/v1/components.mjs.map +1 -1
  50. package/resources/v1/index.d.mts +6 -4
  51. package/resources/v1/index.d.mts.map +1 -1
  52. package/resources/v1/index.d.ts +6 -4
  53. package/resources/v1/index.d.ts.map +1 -1
  54. package/resources/v1/index.js +13 -9
  55. package/resources/v1/index.js.map +1 -1
  56. package/resources/v1/index.mjs +4 -2
  57. package/resources/v1/index.mjs.map +1 -1
  58. package/resources/v1/materials/index.d.mts +3 -3
  59. package/resources/v1/materials/index.d.mts.map +1 -1
  60. package/resources/v1/materials/index.d.ts +3 -3
  61. package/resources/v1/materials/index.d.ts.map +1 -1
  62. package/resources/v1/materials/index.js.map +1 -1
  63. package/resources/v1/materials/index.mjs.map +1 -1
  64. package/resources/v1/materials/materials.d.mts +548 -92
  65. package/resources/v1/materials/materials.d.mts.map +1 -1
  66. package/resources/v1/materials/materials.d.ts +548 -92
  67. package/resources/v1/materials/materials.d.ts.map +1 -1
  68. package/resources/v1/materials/materials.js +36 -34
  69. package/resources/v1/materials/materials.js.map +1 -1
  70. package/resources/v1/materials/materials.mjs +36 -34
  71. package/resources/v1/materials/materials.mjs.map +1 -1
  72. package/resources/v1/materials/test.d.mts +29 -30
  73. package/resources/v1/materials/test.d.mts.map +1 -1
  74. package/resources/v1/materials/test.d.ts +29 -30
  75. package/resources/v1/materials/test.d.ts.map +1 -1
  76. package/resources/v1/materials/test.js +14 -15
  77. package/resources/v1/materials/test.js.map +1 -1
  78. package/resources/v1/materials/test.mjs +14 -15
  79. package/resources/v1/materials/test.mjs.map +1 -1
  80. package/resources/v1/materials/upload.d.mts +312 -23
  81. package/resources/v1/materials/upload.d.mts.map +1 -1
  82. package/resources/v1/materials/upload.d.ts +312 -23
  83. package/resources/v1/materials/upload.d.ts.map +1 -1
  84. package/resources/v1/materials/upload.js +9 -9
  85. package/resources/v1/materials/upload.js.map +1 -1
  86. package/resources/v1/materials/upload.mjs +9 -9
  87. package/resources/v1/materials/upload.mjs.map +1 -1
  88. package/resources/v1/usage-analyst.d.mts +99 -0
  89. package/resources/v1/usage-analyst.d.mts.map +1 -0
  90. package/resources/v1/usage-analyst.d.ts +99 -0
  91. package/resources/v1/usage-analyst.d.ts.map +1 -0
  92. package/resources/v1/{usage/analyst.js → usage-analyst.js} +9 -9
  93. package/resources/v1/usage-analyst.js.map +1 -0
  94. package/resources/v1/{usage/analyst.mjs → usage-analyst.mjs} +7 -7
  95. package/resources/v1/usage-analyst.mjs.map +1 -0
  96. package/resources/v1/usage.d.mts +109 -1
  97. package/resources/v1/usage.d.mts.map +1 -1
  98. package/resources/v1/usage.d.ts +109 -1
  99. package/resources/v1/usage.d.ts.map +1 -1
  100. package/resources/v1/usage.js +55 -2
  101. package/resources/v1/usage.js.map +1 -1
  102. package/resources/v1/usage.mjs +53 -1
  103. package/resources/v1/usage.mjs.map +1 -1
  104. package/resources/v1/v1.d.mts +18 -10
  105. package/resources/v1/v1.d.mts.map +1 -1
  106. package/resources/v1/v1.d.ts +18 -10
  107. package/resources/v1/v1.d.ts.map +1 -1
  108. package/resources/v1/v1.js +14 -6
  109. package/resources/v1/v1.js.map +1 -1
  110. package/resources/v1/v1.mjs +14 -6
  111. package/resources/v1/v1.mjs.map +1 -1
  112. package/src/resources/v1/assignment-grader/assignment-grader.ts +421 -0
  113. package/src/resources/v1/assignment-grader/index.ts +16 -0
  114. package/src/resources/v1/assignment-grader/rubric-templates.ts +305 -0
  115. package/src/resources/v1/assignment-grader.ts +1 -196
  116. package/src/resources/v1/chat-analytics.ts +413 -0
  117. package/src/resources/v1/components.ts +265 -10
  118. package/src/resources/v1/index.ts +34 -10
  119. package/src/resources/v1/materials/index.ts +23 -14
  120. package/src/resources/v1/materials/materials.ts +824 -216
  121. package/src/resources/v1/materials/test.ts +38 -39
  122. package/src/resources/v1/materials/upload.ts +411 -30
  123. package/src/resources/v1/{usage/analyst.ts → usage-analyst.ts} +24 -23
  124. package/src/resources/v1/usage.ts +179 -1
  125. package/src/resources/v1/v1.ts +84 -28
  126. package/src/version.ts +1 -1
  127. package/version.d.mts +1 -1
  128. package/version.d.ts +1 -1
  129. package/version.js +1 -1
  130. package/version.mjs +1 -1
  131. package/resources/v1/usage/analyst.d.mts +0 -99
  132. package/resources/v1/usage/analyst.d.mts.map +0 -1
  133. package/resources/v1/usage/analyst.d.ts +0 -99
  134. package/resources/v1/usage/analyst.d.ts.map +0 -1
  135. package/resources/v1/usage/analyst.js.map +0 -1
  136. package/resources/v1/usage/analyst.mjs.map +0 -1
  137. package/resources/v1/usage/index.d.mts +0 -3
  138. package/resources/v1/usage/index.d.mts.map +0 -1
  139. package/resources/v1/usage/index.d.ts +0 -3
  140. package/resources/v1/usage/index.d.ts.map +0 -1
  141. package/resources/v1/usage/index.js +0 -9
  142. package/resources/v1/usage/index.js.map +0 -1
  143. package/resources/v1/usage/index.mjs +0 -4
  144. package/resources/v1/usage/index.mjs.map +0 -1
  145. package/resources/v1/usage/usage.d.mts +0 -114
  146. package/resources/v1/usage/usage.d.mts.map +0 -1
  147. package/resources/v1/usage/usage.d.ts +0 -114
  148. package/resources/v1/usage/usage.d.ts.map +0 -1
  149. package/resources/v1/usage/usage.js +0 -67
  150. package/resources/v1/usage/usage.js.map +0 -1
  151. package/resources/v1/usage/usage.mjs +0 -62
  152. package/resources/v1/usage/usage.mjs.map +0 -1
  153. package/src/resources/v1/usage/index.ts +0 -15
  154. package/src/resources/v1/usage/usage.ts +0 -200
@@ -6,22 +6,26 @@ import { Bulk, BulkMoveParams, BulkMoveResponse } from './bulk';
6
6
  import * as TestAPI from './test';
7
7
  import {
8
8
  Test,
9
- TestPerformOcrResponse,
10
- TestProcessEpubResponse,
11
- TestProcessImageResponse,
12
- TestProcessVideoResponse,
9
+ TestTestEpubProcessingResponse,
10
+ TestTestImageProcessingResponse,
11
+ TestTestOcrResponse,
12
+ TestTestVideoProcessingResponse,
13
13
  } from './test';
14
14
  import * as UploadAPI from './upload';
15
15
  import {
16
- Complete,
17
16
  Upload,
18
17
  UploadCompleteUploadParams,
19
- UploadCreatePresignedURLParams,
20
- UploadCreatePresignedURLResponse,
18
+ UploadCompleteUploadResponse,
19
+ UploadGetPresignedURLParams,
20
+ UploadGetPresignedURLResponse,
21
21
  UploadUploadFileAndProcessParams,
22
+ UploadUploadFileAndProcessResponse,
22
23
  UploadUploadFileParams,
24
+ UploadUploadFileResponse,
25
+ UploadUploadFromURLAndProcessParams,
26
+ UploadUploadFromURLAndProcessResponse,
23
27
  UploadUploadFromURLParams,
24
- UploadUploadURLAndProcessParams,
28
+ UploadUploadFromURLResponse,
25
29
  } from './upload';
26
30
  import { APIPromise } from '../../../core/api-promise';
27
31
  import { buildHeaders } from '../../../internal/headers';
@@ -44,7 +48,7 @@ export class Materials extends APIResource {
44
48
  * });
45
49
  * ```
46
50
  */
47
- create(body: MaterialCreateParams, options?: RequestOptions): APIPromise<Material> {
51
+ create(body: MaterialCreateParams, options?: RequestOptions): APIPromise<MaterialCreateResponse> {
48
52
  return this._client.post('/api/v1/materials', { body, ...options });
49
53
  }
50
54
 
@@ -56,7 +60,7 @@ export class Materials extends APIResource {
56
60
  * const material = await client.v1.materials.retrieve('id');
57
61
  * ```
58
62
  */
59
- retrieve(id: string, options?: RequestOptions): APIPromise<Material> {
63
+ retrieve(id: string, options?: RequestOptions): APIPromise<MaterialRetrieveResponse> {
60
64
  return this._client.get(path`/api/v1/materials/${id}`, options);
61
65
  }
62
66
 
@@ -90,36 +94,13 @@ export class Materials extends APIResource {
90
94
  });
91
95
  }
92
96
 
93
- /**
94
- * Create batch upload URLs for multiple materials
95
- *
96
- * @example
97
- * ```ts
98
- * const response = await client.v1.materials.batchCreate({
99
- * materials: [
100
- * {
101
- * contentType: 'application/pdf',
102
- * filename: 'document.pdf',
103
- * name: 'Chapter 1',
104
- * },
105
- * ],
106
- * });
107
- * ```
108
- */
109
- batchCreate(
110
- body: MaterialBatchCreateParams,
111
- options?: RequestOptions,
112
- ): APIPromise<MaterialBatchCreateResponse> {
113
- return this._client.post('/api/v1/materials/batch', { body, ...options });
114
- }
115
-
116
97
  /**
117
98
  * Creates a material and waits for processing to finish before returning. Useful
118
99
  * for synchronous API usage.
119
100
  *
120
101
  * @example
121
102
  * ```ts
122
- * const material = await client.v1.materials.createAndProcess(
103
+ * const response = await client.v1.materials.createAndProcess(
123
104
  * {
124
105
  * content: { type: 'text' },
125
106
  * name: 'Chapter 1 - Introduction',
@@ -127,20 +108,35 @@ export class Materials extends APIResource {
127
108
  * );
128
109
  * ```
129
110
  */
130
- createAndProcess(body: MaterialCreateAndProcessParams, options?: RequestOptions): APIPromise<Material> {
111
+ createAndProcess(
112
+ body: MaterialCreateAndProcessParams,
113
+ options?: RequestOptions,
114
+ ): APIPromise<MaterialCreateAndProcessResponse> {
131
115
  return this._client.post('/api/v1/materials/upload-and-process', { body, ...options });
132
116
  }
133
117
 
134
118
  /**
135
- * Get debug information for a material including extracted content
119
+ * Create batch upload URLs for multiple materials
136
120
  *
137
121
  * @example
138
122
  * ```ts
139
- * const response = await client.v1.materials.debug('id');
123
+ * const response =
124
+ * await client.v1.materials.createBatchUploadURLs({
125
+ * materials: [
126
+ * {
127
+ * contentType: 'application/pdf',
128
+ * filename: 'document.pdf',
129
+ * name: 'Chapter 1',
130
+ * },
131
+ * ],
132
+ * });
140
133
  * ```
141
134
  */
142
- debug(id: string, options?: RequestOptions): APIPromise<MaterialDebugResponse> {
143
- return this._client.get(path`/api/v1/materials/${id}/debug`, options);
135
+ createBatchUploadURLs(
136
+ body: MaterialCreateBatchUploadURLsParams,
137
+ options?: RequestOptions,
138
+ ): APIPromise<MaterialCreateBatchUploadURLsResponse> {
139
+ return this._client.post('/api/v1/materials/batch', { body, ...options });
144
140
  }
145
141
 
146
142
  /**
@@ -149,15 +145,14 @@ export class Materials extends APIResource {
149
145
  *
150
146
  * @example
151
147
  * ```ts
152
- * const generatedMaterial =
153
- * await client.v1.materials.generate({
154
- * name: 'Photosynthesis Study Plan',
155
- * topic: 'Photosynthesis in plants',
156
- * type: 'notes',
157
- * });
148
+ * const response = await client.v1.materials.generate({
149
+ * name: 'Photosynthesis Study Plan',
150
+ * topic: 'Photosynthesis in plants',
151
+ * type: 'notes',
152
+ * });
158
153
  * ```
159
154
  */
160
- generate(body: MaterialGenerateParams, options?: RequestOptions): APIPromise<GeneratedMaterial> {
155
+ generate(body: MaterialGenerateParams, options?: RequestOptions): APIPromise<MaterialGenerateResponse> {
161
156
  return this._client.post('/api/v1/materials/generate', { body, ...options });
162
157
  }
163
158
 
@@ -167,7 +162,7 @@ export class Materials extends APIResource {
167
162
  *
168
163
  * @example
169
164
  * ```ts
170
- * const generatedMaterial =
165
+ * const response =
171
166
  * await client.v1.materials.generateAndProcess({
172
167
  * name: 'Photosynthesis Study Plan',
173
168
  * topic: 'Photosynthesis in plants',
@@ -178,10 +173,24 @@ export class Materials extends APIResource {
178
173
  generateAndProcess(
179
174
  body: MaterialGenerateAndProcessParams,
180
175
  options?: RequestOptions,
181
- ): APIPromise<GeneratedMaterial> {
176
+ ): APIPromise<MaterialGenerateAndProcessResponse> {
182
177
  return this._client.post('/api/v1/materials/generate-and-process', { body, ...options });
183
178
  }
184
179
 
180
+ /**
181
+ * Get debug information for a material including extracted content
182
+ *
183
+ * @example
184
+ * ```ts
185
+ * const response = await client.v1.materials.getDebugInfo(
186
+ * 'id',
187
+ * );
188
+ * ```
189
+ */
190
+ getDebugInfo(id: string, options?: RequestOptions): APIPromise<MaterialGetDebugInfoResponse> {
191
+ return this._client.get(path`/api/v1/materials/${id}/debug`, options);
192
+ }
193
+
185
194
  /**
186
195
  * Get temporary download URL for material
187
196
  *
@@ -205,12 +214,12 @@ export class Materials extends APIResource {
205
214
  *
206
215
  * @example
207
216
  * ```ts
208
- * const material = await client.v1.materials.move('id', {
217
+ * const response = await client.v1.materials.move('id', {
209
218
  * folderId: 'folderId',
210
219
  * });
211
220
  * ```
212
221
  */
213
- move(id: string, body: MaterialMoveParams, options?: RequestOptions): APIPromise<Material> {
222
+ move(id: string, body: MaterialMoveParams, options?: RequestOptions): APIPromise<MaterialMoveResponse> {
214
223
  return this._client.post(path`/api/v1/materials/${id}/move`, { body, ...options });
215
224
  }
216
225
 
@@ -219,12 +228,16 @@ export class Materials extends APIResource {
219
228
  *
220
229
  * @example
221
230
  * ```ts
222
- * const material = await client.v1.materials.rename('id', {
231
+ * const response = await client.v1.materials.rename('id', {
223
232
  * name: 'New Material Name',
224
233
  * });
225
234
  * ```
226
235
  */
227
- rename(id: string, body: MaterialRenameParams, options?: RequestOptions): APIPromise<Material> {
236
+ rename(
237
+ id: string,
238
+ body: MaterialRenameParams,
239
+ options?: RequestOptions,
240
+ ): APIPromise<MaterialRenameResponse> {
228
241
  return this._client.post(path`/api/v1/materials/${id}/rename`, { body, ...options });
229
242
  }
230
243
 
@@ -233,10 +246,10 @@ export class Materials extends APIResource {
233
246
  *
234
247
  * @example
235
248
  * ```ts
236
- * const material = await client.v1.materials.reprocess('id');
249
+ * const response = await client.v1.materials.reprocess('id');
237
250
  * ```
238
251
  */
239
- reprocess(id: string, options?: RequestOptions): APIPromise<Material> {
252
+ reprocess(id: string, options?: RequestOptions): APIPromise<MaterialReprocessResponse> {
240
253
  return this._client.post(path`/api/v1/materials/${id}/reprocess`, options);
241
254
  }
242
255
 
@@ -255,29 +268,7 @@ export class Materials extends APIResource {
255
268
  }
256
269
  }
257
270
 
258
- export interface Content {
259
- /**
260
- * Type of content
261
- */
262
- type: 'text' | 'pdf' | 'video' | 'audio' | 'url';
263
-
264
- /**
265
- * URL to fetch content from
266
- */
267
- sourceUrl?: string;
268
-
269
- /**
270
- * Text content (for text type)
271
- */
272
- text?: string;
273
-
274
- /**
275
- * URL to the content (for url type)
276
- */
277
- url?: string;
278
- }
279
-
280
- export interface GeneratedMaterial {
271
+ export interface MaterialCreateResponse {
281
272
  /**
282
273
  * Material ID
283
274
  */
@@ -286,7 +277,7 @@ export interface GeneratedMaterial {
286
277
  /**
287
278
  * Material content
288
279
  */
289
- content: GeneratedMaterial.Content;
280
+ content: MaterialCreateResponse.Content;
290
281
 
291
282
  /**
292
283
  * Content type
@@ -323,11 +314,6 @@ export interface GeneratedMaterial {
323
314
  */
324
315
  updatedAt: string;
325
316
 
326
- /**
327
- * Generation metadata
328
- */
329
- generationMetadata?: unknown;
330
-
331
317
  /**
332
318
  * Material metadata
333
319
  */
@@ -339,7 +325,7 @@ export interface GeneratedMaterial {
339
325
  usage?: unknown;
340
326
  }
341
327
 
342
- export namespace GeneratedMaterial {
328
+ export namespace MaterialCreateResponse {
343
329
  /**
344
330
  * Material content
345
331
  */
@@ -360,7 +346,7 @@ export namespace GeneratedMaterial {
360
346
  }
361
347
  }
362
348
 
363
- export interface Material {
349
+ export interface MaterialRetrieveResponse {
364
350
  /**
365
351
  * Material ID
366
352
  */
@@ -369,7 +355,7 @@ export interface Material {
369
355
  /**
370
356
  * Material content
371
357
  */
372
- content: Material.Content;
358
+ content: MaterialRetrieveResponse.Content;
373
359
 
374
360
  /**
375
361
  * Content type
@@ -417,7 +403,7 @@ export interface Material {
417
403
  usage?: unknown;
418
404
  }
419
405
 
420
- export namespace Material {
406
+ export namespace MaterialRetrieveResponse {
421
407
  /**
422
408
  * Material content
423
409
  */
@@ -438,16 +424,34 @@ export namespace Material {
438
424
  }
439
425
  }
440
426
 
441
- export type MaterialListResponse = Array<Material>;
427
+ export type MaterialListResponse = Array<MaterialListResponse.MaterialListResponseItem>;
442
428
 
443
- export type MaterialBatchCreateResponse = Array<MaterialBatchCreateResponse.MaterialBatchCreateResponseItem>;
444
-
445
- export namespace MaterialBatchCreateResponse {
446
- export interface MaterialBatchCreateResponseItem {
429
+ export namespace MaterialListResponse {
430
+ export interface MaterialListResponseItem {
447
431
  /**
448
432
  * Material ID
449
433
  */
450
- materialId: string;
434
+ _id: string;
435
+
436
+ /**
437
+ * Material content
438
+ */
439
+ content: MaterialListResponseItem.Content;
440
+
441
+ /**
442
+ * Content type
443
+ */
444
+ contentType: 'text' | 'pdf' | 'video' | 'audio' | 'image' | 'epub';
445
+
446
+ /**
447
+ * Creation timestamp
448
+ */
449
+ createdAt: string;
450
+
451
+ /**
452
+ * Folder ID
453
+ */
454
+ folderId: string | null;
451
455
 
452
456
  /**
453
457
  * Material name
@@ -455,42 +459,78 @@ export namespace MaterialBatchCreateResponse {
455
459
  name: string;
456
460
 
457
461
  /**
458
- * S3 key
462
+ * Organization ID
459
463
  */
460
- s3Key: string;
464
+ organizationId: string;
461
465
 
462
466
  /**
463
- * Presigned upload URL
467
+ * Material status
464
468
  */
465
- uploadUrl: string;
469
+ status: 'active' | 'processing' | 'pending_upload' | 'error' | 'deleted';
470
+
471
+ /**
472
+ * Last update timestamp
473
+ */
474
+ updatedAt: string;
475
+
476
+ /**
477
+ * Material metadata
478
+ */
479
+ metadata?: unknown;
480
+
481
+ /**
482
+ * Usage information
483
+ */
484
+ usage?: unknown;
485
+ }
486
+
487
+ export namespace MaterialListResponseItem {
488
+ /**
489
+ * Material content
490
+ */
491
+ export interface Content {
492
+ filename?: string;
493
+
494
+ fileSize?: number;
495
+
496
+ mimeType?: string;
497
+
498
+ s3Key?: string;
499
+
500
+ s3Url?: string;
501
+
502
+ text?: string;
503
+
504
+ url?: string;
505
+ }
466
506
  }
467
507
  }
468
508
 
469
- export interface MaterialDebugResponse {
509
+ export interface MaterialCreateAndProcessResponse {
470
510
  /**
471
- * Content details
511
+ * Material ID
472
512
  */
473
- content: unknown;
513
+ _id: string;
474
514
 
475
515
  /**
476
- * Content type
516
+ * Material content
477
517
  */
478
- contentType: string;
518
+ content: MaterialCreateAndProcessResponse.Content;
479
519
 
480
520
  /**
481
- * Processed images
521
+ * Content type
482
522
  */
483
- images: Array<MaterialDebugResponse.Image>;
523
+ contentType: 'text' | 'pdf' | 'video' | 'audio' | 'image' | 'epub';
484
524
 
485
525
  /**
486
- * Material ID
526
+ * Creation timestamp
487
527
  */
488
- materialId: string;
528
+ createdAt: string;
489
529
 
490
530
  /**
491
- * Material metadata
531
+ * Folder ID
492
532
  */
493
- metadata: unknown;
533
+ folderId: string | null;
494
534
 
495
535
  /**
496
536
  * Material name
@@ -498,170 +538,671 @@ export interface MaterialDebugResponse {
498
538
  name: string;
499
539
 
500
540
  /**
501
- * Processing status
541
+ * Organization ID
502
542
  */
503
- status: string;
543
+ organizationId: string;
504
544
 
505
545
  /**
506
- * Transcript structure for videos
546
+ * Material status
507
547
  */
508
- transcriptStructure: unknown | null;
509
- }
510
-
511
- export namespace MaterialDebugResponse {
512
- export interface Image {
513
- id?: string;
514
-
515
- description?: string;
516
-
517
- pageIndex?: number;
518
-
519
- s3Key?: string;
520
-
521
- s3Url?: string;
522
- }
523
- }
548
+ status: 'active' | 'processing' | 'pending_upload' | 'error' | 'deleted';
524
549
 
525
- export interface MaterialGetDownloadURLResponse {
526
550
  /**
527
- * Temporary download URL
551
+ * Last update timestamp
528
552
  */
529
- downloadUrl: string;
530
- }
553
+ updatedAt: string;
531
554
 
532
- export interface MaterialSearchResponse {
533
555
  /**
534
- * Whether results were filtered by scope
556
+ * Material metadata
535
557
  */
536
- filtered: boolean;
558
+ metadata?: unknown;
537
559
 
538
560
  /**
539
- * Original search query
561
+ * Usage information
540
562
  */
541
- query: string;
563
+ usage?: unknown;
564
+ }
542
565
 
566
+ export namespace MaterialCreateAndProcessResponse {
543
567
  /**
544
- * Search results
568
+ * Material content
545
569
  */
546
- results: Array<MaterialSearchResponse.Result>;
570
+ export interface Content {
571
+ filename?: string;
547
572
 
548
- /**
549
- * Search scope
550
- */
551
- scope: MaterialSearchResponse.Scope;
573
+ fileSize?: number;
552
574
 
553
- /**
554
- * Total number of results
555
- */
556
- totalResults: number;
575
+ mimeType?: string;
576
+
577
+ s3Key?: string;
578
+
579
+ s3Url?: string;
580
+
581
+ text?: string;
582
+
583
+ url?: string;
584
+ }
557
585
  }
558
586
 
559
- export namespace MaterialSearchResponse {
560
- export interface Result {
561
- /**
562
- * Chunk index within the material
563
- */
564
- chunkIndex: number;
587
+ export type MaterialCreateBatchUploadURLsResponse =
588
+ Array<MaterialCreateBatchUploadURLsResponse.MaterialCreateBatchUploadURLsResponseItem>;
565
589
 
590
+ export namespace MaterialCreateBatchUploadURLsResponse {
591
+ export interface MaterialCreateBatchUploadURLsResponseItem {
566
592
  /**
567
- * Material information
593
+ * Material ID
568
594
  */
569
- material: Result.Material | null;
595
+ materialId: string;
570
596
 
571
597
  /**
572
- * Relevance score (0-1)
598
+ * Material name
573
599
  */
574
- score: number;
600
+ name: string;
575
601
 
576
602
  /**
577
- * Matched text chunk
603
+ * S3 key
578
604
  */
579
- text: string;
580
- }
605
+ s3Key: string;
581
606
 
582
- export namespace Result {
583
607
  /**
584
- * Material information
608
+ * Presigned upload URL
585
609
  */
586
- export interface Material {
587
- id?: string;
610
+ uploadUrl: string;
611
+ }
612
+ }
588
613
 
589
- contentType?: string;
614
+ export interface MaterialGenerateResponse {
615
+ /**
616
+ * Material ID
617
+ */
618
+ _id: string;
590
619
 
591
- name?: string;
592
- }
593
- }
620
+ /**
621
+ * Material content
622
+ */
623
+ content: MaterialGenerateResponse.Content;
594
624
 
595
625
  /**
596
- * Search scope
626
+ * Content type
597
627
  */
598
- export interface Scope {
599
- folderIds?: Array<string>;
628
+ contentType: 'text' | 'pdf' | 'video' | 'audio' | 'image' | 'epub';
600
629
 
601
- materialIds?: Array<string>;
602
- }
603
- }
630
+ /**
631
+ * Creation timestamp
632
+ */
633
+ createdAt: string;
604
634
 
605
- export interface MaterialCreateParams {
606
635
  /**
607
- * Content details
636
+ * Folder ID
608
637
  */
609
- content: Content;
638
+ folderId: string | null;
610
639
 
611
640
  /**
612
- * Name of the material
641
+ * Material name
613
642
  */
614
643
  name: string;
615
644
 
616
645
  /**
617
- * Folder ID to place the material in
646
+ * Organization ID
618
647
  */
619
- folderId?: string;
620
- }
648
+ organizationId: string;
621
649
 
622
- export interface MaterialListParams {
623
650
  /**
624
- * Filter by folder ID
651
+ * Material status
625
652
  */
626
- folderId?: string;
627
- }
653
+ status: 'active' | 'processing' | 'pending_upload' | 'error' | 'deleted';
628
654
 
629
- export interface MaterialBatchCreateParams {
630
655
  /**
631
- * Array of materials to create
656
+ * Last update timestamp
632
657
  */
633
- materials: Array<MaterialBatchCreateParams.Material>;
634
- }
658
+ updatedAt: string;
635
659
 
636
- export namespace MaterialBatchCreateParams {
637
- export interface Material {
638
- /**
639
- * MIME type
640
- */
641
- contentType: string;
660
+ /**
661
+ * Generation metadata
662
+ */
663
+ generationMetadata?: unknown;
642
664
 
643
- /**
644
- * Filename
665
+ /**
666
+ * Material metadata
667
+ */
668
+ metadata?: unknown;
669
+
670
+ /**
671
+ * Usage information
672
+ */
673
+ usage?: unknown;
674
+ }
675
+
676
+ export namespace MaterialGenerateResponse {
677
+ /**
678
+ * Material content
679
+ */
680
+ export interface Content {
681
+ filename?: string;
682
+
683
+ fileSize?: number;
684
+
685
+ mimeType?: string;
686
+
687
+ s3Key?: string;
688
+
689
+ s3Url?: string;
690
+
691
+ text?: string;
692
+
693
+ url?: string;
694
+ }
695
+ }
696
+
697
+ export interface MaterialGenerateAndProcessResponse {
698
+ /**
699
+ * Material ID
700
+ */
701
+ _id: string;
702
+
703
+ /**
704
+ * Material content
705
+ */
706
+ content: MaterialGenerateAndProcessResponse.Content;
707
+
708
+ /**
709
+ * Content type
710
+ */
711
+ contentType: 'text' | 'pdf' | 'video' | 'audio' | 'image' | 'epub';
712
+
713
+ /**
714
+ * Creation timestamp
715
+ */
716
+ createdAt: string;
717
+
718
+ /**
719
+ * Folder ID
720
+ */
721
+ folderId: string | null;
722
+
723
+ /**
724
+ * Material name
725
+ */
726
+ name: string;
727
+
728
+ /**
729
+ * Organization ID
730
+ */
731
+ organizationId: string;
732
+
733
+ /**
734
+ * Material status
735
+ */
736
+ status: 'active' | 'processing' | 'pending_upload' | 'error' | 'deleted';
737
+
738
+ /**
739
+ * Last update timestamp
740
+ */
741
+ updatedAt: string;
742
+
743
+ /**
744
+ * Generation metadata
745
+ */
746
+ generationMetadata?: unknown;
747
+
748
+ /**
749
+ * Material metadata
750
+ */
751
+ metadata?: unknown;
752
+
753
+ /**
754
+ * Usage information
755
+ */
756
+ usage?: unknown;
757
+ }
758
+
759
+ export namespace MaterialGenerateAndProcessResponse {
760
+ /**
761
+ * Material content
762
+ */
763
+ export interface Content {
764
+ filename?: string;
765
+
766
+ fileSize?: number;
767
+
768
+ mimeType?: string;
769
+
770
+ s3Key?: string;
771
+
772
+ s3Url?: string;
773
+
774
+ text?: string;
775
+
776
+ url?: string;
777
+ }
778
+ }
779
+
780
+ export interface MaterialGetDebugInfoResponse {
781
+ /**
782
+ * Content details
783
+ */
784
+ content: unknown;
785
+
786
+ /**
787
+ * Content type
788
+ */
789
+ contentType: string;
790
+
791
+ /**
792
+ * Processed images
793
+ */
794
+ images: Array<MaterialGetDebugInfoResponse.Image>;
795
+
796
+ /**
797
+ * Material ID
798
+ */
799
+ materialId: string;
800
+
801
+ /**
802
+ * Material metadata
803
+ */
804
+ metadata: unknown;
805
+
806
+ /**
807
+ * Material name
808
+ */
809
+ name: string;
810
+
811
+ /**
812
+ * Processing status
813
+ */
814
+ status: string;
815
+
816
+ /**
817
+ * Transcript structure for videos
818
+ */
819
+ transcriptStructure: unknown | null;
820
+ }
821
+
822
+ export namespace MaterialGetDebugInfoResponse {
823
+ export interface Image {
824
+ id?: string;
825
+
826
+ description?: string;
827
+
828
+ pageIndex?: number;
829
+
830
+ s3Key?: string;
831
+
832
+ s3Url?: string;
833
+ }
834
+ }
835
+
836
+ export interface MaterialGetDownloadURLResponse {
837
+ /**
838
+ * Temporary download URL
839
+ */
840
+ downloadUrl: string;
841
+ }
842
+
843
+ export interface MaterialMoveResponse {
844
+ /**
845
+ * Material ID
846
+ */
847
+ _id: string;
848
+
849
+ /**
850
+ * Material content
851
+ */
852
+ content: MaterialMoveResponse.Content;
853
+
854
+ /**
855
+ * Content type
856
+ */
857
+ contentType: 'text' | 'pdf' | 'video' | 'audio' | 'image' | 'epub';
858
+
859
+ /**
860
+ * Creation timestamp
861
+ */
862
+ createdAt: string;
863
+
864
+ /**
865
+ * Folder ID
866
+ */
867
+ folderId: string | null;
868
+
869
+ /**
870
+ * Material name
871
+ */
872
+ name: string;
873
+
874
+ /**
875
+ * Organization ID
876
+ */
877
+ organizationId: string;
878
+
879
+ /**
880
+ * Material status
881
+ */
882
+ status: 'active' | 'processing' | 'pending_upload' | 'error' | 'deleted';
883
+
884
+ /**
885
+ * Last update timestamp
886
+ */
887
+ updatedAt: string;
888
+
889
+ /**
890
+ * Material metadata
891
+ */
892
+ metadata?: unknown;
893
+
894
+ /**
895
+ * Usage information
896
+ */
897
+ usage?: unknown;
898
+ }
899
+
900
+ export namespace MaterialMoveResponse {
901
+ /**
902
+ * Material content
903
+ */
904
+ export interface Content {
905
+ filename?: string;
906
+
907
+ fileSize?: number;
908
+
909
+ mimeType?: string;
910
+
911
+ s3Key?: string;
912
+
913
+ s3Url?: string;
914
+
915
+ text?: string;
916
+
917
+ url?: string;
918
+ }
919
+ }
920
+
921
+ export interface MaterialRenameResponse {
922
+ /**
923
+ * Material ID
924
+ */
925
+ _id: string;
926
+
927
+ /**
928
+ * Material content
929
+ */
930
+ content: MaterialRenameResponse.Content;
931
+
932
+ /**
933
+ * Content type
934
+ */
935
+ contentType: 'text' | 'pdf' | 'video' | 'audio' | 'image' | 'epub';
936
+
937
+ /**
938
+ * Creation timestamp
939
+ */
940
+ createdAt: string;
941
+
942
+ /**
943
+ * Folder ID
944
+ */
945
+ folderId: string | null;
946
+
947
+ /**
948
+ * Material name
949
+ */
950
+ name: string;
951
+
952
+ /**
953
+ * Organization ID
954
+ */
955
+ organizationId: string;
956
+
957
+ /**
958
+ * Material status
959
+ */
960
+ status: 'active' | 'processing' | 'pending_upload' | 'error' | 'deleted';
961
+
962
+ /**
963
+ * Last update timestamp
964
+ */
965
+ updatedAt: string;
966
+
967
+ /**
968
+ * Material metadata
969
+ */
970
+ metadata?: unknown;
971
+
972
+ /**
973
+ * Usage information
974
+ */
975
+ usage?: unknown;
976
+ }
977
+
978
+ export namespace MaterialRenameResponse {
979
+ /**
980
+ * Material content
981
+ */
982
+ export interface Content {
983
+ filename?: string;
984
+
985
+ fileSize?: number;
986
+
987
+ mimeType?: string;
988
+
989
+ s3Key?: string;
990
+
991
+ s3Url?: string;
992
+
993
+ text?: string;
994
+
995
+ url?: string;
996
+ }
997
+ }
998
+
999
+ export interface MaterialReprocessResponse {
1000
+ /**
1001
+ * Material ID
1002
+ */
1003
+ _id: string;
1004
+
1005
+ /**
1006
+ * Material content
1007
+ */
1008
+ content: MaterialReprocessResponse.Content;
1009
+
1010
+ /**
1011
+ * Content type
1012
+ */
1013
+ contentType: 'text' | 'pdf' | 'video' | 'audio' | 'image' | 'epub';
1014
+
1015
+ /**
1016
+ * Creation timestamp
1017
+ */
1018
+ createdAt: string;
1019
+
1020
+ /**
1021
+ * Folder ID
1022
+ */
1023
+ folderId: string | null;
1024
+
1025
+ /**
1026
+ * Material name
1027
+ */
1028
+ name: string;
1029
+
1030
+ /**
1031
+ * Organization ID
1032
+ */
1033
+ organizationId: string;
1034
+
1035
+ /**
1036
+ * Material status
1037
+ */
1038
+ status: 'active' | 'processing' | 'pending_upload' | 'error' | 'deleted';
1039
+
1040
+ /**
1041
+ * Last update timestamp
1042
+ */
1043
+ updatedAt: string;
1044
+
1045
+ /**
1046
+ * Material metadata
1047
+ */
1048
+ metadata?: unknown;
1049
+
1050
+ /**
1051
+ * Usage information
1052
+ */
1053
+ usage?: unknown;
1054
+ }
1055
+
1056
+ export namespace MaterialReprocessResponse {
1057
+ /**
1058
+ * Material content
1059
+ */
1060
+ export interface Content {
1061
+ filename?: string;
1062
+
1063
+ fileSize?: number;
1064
+
1065
+ mimeType?: string;
1066
+
1067
+ s3Key?: string;
1068
+
1069
+ s3Url?: string;
1070
+
1071
+ text?: string;
1072
+
1073
+ url?: string;
1074
+ }
1075
+ }
1076
+
1077
+ export interface MaterialSearchResponse {
1078
+ /**
1079
+ * Whether results were filtered by scope
1080
+ */
1081
+ filtered: boolean;
1082
+
1083
+ /**
1084
+ * Original search query
1085
+ */
1086
+ query: string;
1087
+
1088
+ /**
1089
+ * Search results
1090
+ */
1091
+ results: Array<MaterialSearchResponse.Result>;
1092
+
1093
+ /**
1094
+ * Search scope
1095
+ */
1096
+ scope: MaterialSearchResponse.Scope;
1097
+
1098
+ /**
1099
+ * Total number of results
1100
+ */
1101
+ totalResults: number;
1102
+ }
1103
+
1104
+ export namespace MaterialSearchResponse {
1105
+ export interface Result {
1106
+ /**
1107
+ * Chunk index within the material
645
1108
  */
646
- filename: string;
1109
+ chunkIndex: number;
647
1110
 
648
1111
  /**
649
- * Material name
1112
+ * Material information
650
1113
  */
651
- name: string;
1114
+ material: Result.Material | null;
652
1115
 
653
1116
  /**
654
- * Folder ID
1117
+ * Relevance score (0-1)
655
1118
  */
656
- folderId?: string;
1119
+ score: number;
1120
+
1121
+ /**
1122
+ * Matched text chunk
1123
+ */
1124
+ text: string;
1125
+ }
1126
+
1127
+ export namespace Result {
1128
+ /**
1129
+ * Material information
1130
+ */
1131
+ export interface Material {
1132
+ id?: string;
1133
+
1134
+ contentType?: string;
1135
+
1136
+ name?: string;
1137
+ }
1138
+ }
1139
+
1140
+ /**
1141
+ * Search scope
1142
+ */
1143
+ export interface Scope {
1144
+ folderIds?: Array<string>;
1145
+
1146
+ materialIds?: Array<string>;
1147
+ }
1148
+ }
1149
+
1150
+ export interface MaterialCreateParams {
1151
+ /**
1152
+ * Content details
1153
+ */
1154
+ content: MaterialCreateParams.Content;
1155
+
1156
+ /**
1157
+ * Name of the material
1158
+ */
1159
+ name: string;
1160
+
1161
+ /**
1162
+ * Folder ID to place the material in
1163
+ */
1164
+ folderId?: string;
1165
+ }
1166
+
1167
+ export namespace MaterialCreateParams {
1168
+ /**
1169
+ * Content details
1170
+ */
1171
+ export interface Content {
1172
+ /**
1173
+ * Type of content
1174
+ */
1175
+ type: 'text' | 'pdf' | 'video' | 'audio' | 'url';
1176
+
1177
+ /**
1178
+ * URL to fetch content from
1179
+ */
1180
+ sourceUrl?: string;
1181
+
1182
+ /**
1183
+ * Text content (for text type)
1184
+ */
1185
+ text?: string;
1186
+
1187
+ /**
1188
+ * URL to the content (for url type)
1189
+ */
1190
+ url?: string;
657
1191
  }
658
1192
  }
659
1193
 
1194
+ export interface MaterialListParams {
1195
+ /**
1196
+ * Filter by folder ID
1197
+ */
1198
+ folderId?: string;
1199
+ }
1200
+
660
1201
  export interface MaterialCreateAndProcessParams {
661
1202
  /**
662
1203
  * Content details
663
1204
  */
664
- content: Content;
1205
+ content: MaterialCreateAndProcessParams.Content;
665
1206
 
666
1207
  /**
667
1208
  * Name of the material
@@ -684,6 +1225,64 @@ export interface MaterialCreateAndProcessParams {
684
1225
  timeoutMs?: number;
685
1226
  }
686
1227
 
1228
+ export namespace MaterialCreateAndProcessParams {
1229
+ /**
1230
+ * Content details
1231
+ */
1232
+ export interface Content {
1233
+ /**
1234
+ * Type of content
1235
+ */
1236
+ type: 'text' | 'pdf' | 'video' | 'audio' | 'url';
1237
+
1238
+ /**
1239
+ * URL to fetch content from
1240
+ */
1241
+ sourceUrl?: string;
1242
+
1243
+ /**
1244
+ * Text content (for text type)
1245
+ */
1246
+ text?: string;
1247
+
1248
+ /**
1249
+ * URL to the content (for url type)
1250
+ */
1251
+ url?: string;
1252
+ }
1253
+ }
1254
+
1255
+ export interface MaterialCreateBatchUploadURLsParams {
1256
+ /**
1257
+ * Array of materials to create
1258
+ */
1259
+ materials: Array<MaterialCreateBatchUploadURLsParams.Material>;
1260
+ }
1261
+
1262
+ export namespace MaterialCreateBatchUploadURLsParams {
1263
+ export interface Material {
1264
+ /**
1265
+ * MIME type
1266
+ */
1267
+ contentType: string;
1268
+
1269
+ /**
1270
+ * Filename
1271
+ */
1272
+ filename: string;
1273
+
1274
+ /**
1275
+ * Material name
1276
+ */
1277
+ name: string;
1278
+
1279
+ /**
1280
+ * Folder ID
1281
+ */
1282
+ folderId?: string;
1283
+ }
1284
+ }
1285
+
687
1286
  export interface MaterialGenerateParams {
688
1287
  /**
689
1288
  * Name for the generated material
@@ -817,18 +1416,23 @@ Materials.Test = Test;
817
1416
 
818
1417
  export declare namespace Materials {
819
1418
  export {
820
- type Content as Content,
821
- type GeneratedMaterial as GeneratedMaterial,
822
- type Material as Material,
1419
+ type MaterialCreateResponse as MaterialCreateResponse,
1420
+ type MaterialRetrieveResponse as MaterialRetrieveResponse,
823
1421
  type MaterialListResponse as MaterialListResponse,
824
- type MaterialBatchCreateResponse as MaterialBatchCreateResponse,
825
- type MaterialDebugResponse as MaterialDebugResponse,
1422
+ type MaterialCreateAndProcessResponse as MaterialCreateAndProcessResponse,
1423
+ type MaterialCreateBatchUploadURLsResponse as MaterialCreateBatchUploadURLsResponse,
1424
+ type MaterialGenerateResponse as MaterialGenerateResponse,
1425
+ type MaterialGenerateAndProcessResponse as MaterialGenerateAndProcessResponse,
1426
+ type MaterialGetDebugInfoResponse as MaterialGetDebugInfoResponse,
826
1427
  type MaterialGetDownloadURLResponse as MaterialGetDownloadURLResponse,
1428
+ type MaterialMoveResponse as MaterialMoveResponse,
1429
+ type MaterialRenameResponse as MaterialRenameResponse,
1430
+ type MaterialReprocessResponse as MaterialReprocessResponse,
827
1431
  type MaterialSearchResponse as MaterialSearchResponse,
828
1432
  type MaterialCreateParams as MaterialCreateParams,
829
1433
  type MaterialListParams as MaterialListParams,
830
- type MaterialBatchCreateParams as MaterialBatchCreateParams,
831
1434
  type MaterialCreateAndProcessParams as MaterialCreateAndProcessParams,
1435
+ type MaterialCreateBatchUploadURLsParams as MaterialCreateBatchUploadURLsParams,
832
1436
  type MaterialGenerateParams as MaterialGenerateParams,
833
1437
  type MaterialGenerateAndProcessParams as MaterialGenerateAndProcessParams,
834
1438
  type MaterialGetDownloadURLParams as MaterialGetDownloadURLParams,
@@ -839,23 +1443,27 @@ export declare namespace Materials {
839
1443
 
840
1444
  export {
841
1445
  Upload as Upload,
842
- type Complete as Complete,
843
- type UploadCreatePresignedURLResponse as UploadCreatePresignedURLResponse,
1446
+ type UploadCompleteUploadResponse as UploadCompleteUploadResponse,
1447
+ type UploadGetPresignedURLResponse as UploadGetPresignedURLResponse,
1448
+ type UploadUploadFileResponse as UploadUploadFileResponse,
1449
+ type UploadUploadFileAndProcessResponse as UploadUploadFileAndProcessResponse,
1450
+ type UploadUploadFromURLResponse as UploadUploadFromURLResponse,
1451
+ type UploadUploadFromURLAndProcessResponse as UploadUploadFromURLAndProcessResponse,
844
1452
  type UploadCompleteUploadParams as UploadCompleteUploadParams,
845
- type UploadCreatePresignedURLParams as UploadCreatePresignedURLParams,
1453
+ type UploadGetPresignedURLParams as UploadGetPresignedURLParams,
846
1454
  type UploadUploadFileParams as UploadUploadFileParams,
847
1455
  type UploadUploadFileAndProcessParams as UploadUploadFileAndProcessParams,
848
1456
  type UploadUploadFromURLParams as UploadUploadFromURLParams,
849
- type UploadUploadURLAndProcessParams as UploadUploadURLAndProcessParams,
1457
+ type UploadUploadFromURLAndProcessParams as UploadUploadFromURLAndProcessParams,
850
1458
  };
851
1459
 
852
1460
  export { Bulk as Bulk, type BulkMoveResponse as BulkMoveResponse, type BulkMoveParams as BulkMoveParams };
853
1461
 
854
1462
  export {
855
1463
  Test as Test,
856
- type TestPerformOcrResponse as TestPerformOcrResponse,
857
- type TestProcessEpubResponse as TestProcessEpubResponse,
858
- type TestProcessImageResponse as TestProcessImageResponse,
859
- type TestProcessVideoResponse as TestProcessVideoResponse,
1464
+ type TestTestEpubProcessingResponse as TestTestEpubProcessingResponse,
1465
+ type TestTestImageProcessingResponse as TestTestImageProcessingResponse,
1466
+ type TestTestOcrResponse as TestTestOcrResponse,
1467
+ type TestTestVideoProcessingResponse as TestTestVideoProcessingResponse,
860
1468
  };
861
1469
  }