@llamaindex/llama-cloud 2.9.0 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/client.d.mts +11 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -8
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/batches.d.mts +4 -4
- package/resources/batches.d.mts.map +1 -1
- package/resources/batches.d.ts +4 -4
- package/resources/batches.d.ts.map +1 -1
- package/resources/beta/agent-data.d.mts +94 -94
- package/resources/beta/agent-data.d.mts.map +1 -1
- package/resources/beta/agent-data.d.ts +94 -94
- package/resources/beta/agent-data.d.ts.map +1 -1
- package/resources/beta/agent-data.js +41 -41
- package/resources/beta/agent-data.js.map +1 -1
- package/resources/beta/agent-data.mjs +41 -41
- package/resources/beta/agent-data.mjs.map +1 -1
- package/resources/beta/batch/batch.d.mts +36 -29
- package/resources/beta/batch/batch.d.mts.map +1 -1
- package/resources/beta/batch/batch.d.ts +36 -29
- package/resources/beta/batch/batch.d.ts.map +1 -1
- package/resources/beta/batch/batch.js +16 -16
- package/resources/beta/batch/batch.js.map +1 -1
- package/resources/beta/batch/batch.mjs +16 -16
- package/resources/beta/batch/batch.mjs.map +1 -1
- package/resources/beta/batch/index.d.mts +1 -1
- package/resources/beta/batch/index.d.mts.map +1 -1
- package/resources/beta/batch/index.d.ts +1 -1
- package/resources/beta/batch/index.d.ts.map +1 -1
- package/resources/beta/batch/job-items.d.mts +14 -7
- package/resources/beta/batch/job-items.d.mts.map +1 -1
- package/resources/beta/batch/job-items.d.ts +14 -7
- package/resources/beta/batch/job-items.d.ts.map +1 -1
- package/resources/beta/beta.d.mts +6 -6
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +6 -6
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/chat.d.mts +39 -39
- package/resources/beta/chat.d.mts.map +1 -1
- package/resources/beta/chat.d.ts +39 -39
- package/resources/beta/chat.d.ts.map +1 -1
- package/resources/beta/chat.js +14 -14
- package/resources/beta/chat.js.map +1 -1
- package/resources/beta/chat.mjs +14 -14
- package/resources/beta/chat.mjs.map +1 -1
- package/resources/beta/directories/directories.d.mts +48 -39
- package/resources/beta/directories/directories.d.mts.map +1 -1
- package/resources/beta/directories/directories.d.ts +48 -39
- package/resources/beta/directories/directories.d.ts.map +1 -1
- package/resources/beta/directories/directories.js +30 -30
- package/resources/beta/directories/directories.js.map +1 -1
- package/resources/beta/directories/directories.mjs +30 -30
- package/resources/beta/directories/directories.mjs.map +1 -1
- package/resources/beta/directories/files.d.mts +47 -47
- package/resources/beta/directories/files.d.mts.map +1 -1
- package/resources/beta/directories/files.d.ts +47 -47
- package/resources/beta/directories/files.d.ts.map +1 -1
- package/resources/beta/directories/files.js +32 -32
- package/resources/beta/directories/files.js.map +1 -1
- package/resources/beta/directories/files.mjs +32 -32
- package/resources/beta/directories/files.mjs.map +1 -1
- package/resources/beta/directories/index.d.mts +2 -2
- package/resources/beta/directories/index.d.mts.map +1 -1
- package/resources/beta/directories/index.d.ts +2 -2
- package/resources/beta/directories/index.d.ts.map +1 -1
- package/resources/beta/index.d.mts +6 -6
- package/resources/beta/index.d.mts.map +1 -1
- package/resources/beta/index.d.ts +6 -6
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/indexes.d.mts +44 -32
- package/resources/beta/indexes.d.mts.map +1 -1
- package/resources/beta/indexes.d.ts +44 -32
- package/resources/beta/indexes.d.ts.map +1 -1
- package/resources/beta/indexes.js +28 -28
- package/resources/beta/indexes.js.map +1 -1
- package/resources/beta/indexes.mjs +28 -28
- package/resources/beta/indexes.mjs.map +1 -1
- package/resources/beta/retrieval.d.mts +3 -3
- package/resources/beta/retrieval.d.mts.map +1 -1
- package/resources/beta/retrieval.d.ts +3 -3
- package/resources/beta/retrieval.d.ts.map +1 -1
- package/resources/beta/sheets.d.mts +37 -56
- package/resources/beta/sheets.d.mts.map +1 -1
- package/resources/beta/sheets.d.ts +37 -56
- package/resources/beta/sheets.d.ts.map +1 -1
- package/resources/beta/sheets.js +19 -52
- package/resources/beta/sheets.js.map +1 -1
- package/resources/beta/sheets.mjs +19 -52
- package/resources/beta/sheets.mjs.map +1 -1
- package/resources/beta/split.d.mts +2 -2
- package/resources/beta/split.d.mts.map +1 -1
- package/resources/beta/split.d.ts +2 -2
- package/resources/beta/split.d.ts.map +1 -1
- package/resources/classifier/jobs.d.mts +8 -1
- package/resources/classifier/jobs.d.mts.map +1 -1
- package/resources/classifier/jobs.d.ts +8 -1
- package/resources/classifier/jobs.d.ts.map +1 -1
- package/resources/classify.d.mts +27 -11
- package/resources/classify.d.mts.map +1 -1
- package/resources/classify.d.ts +27 -11
- package/resources/classify.d.ts.map +1 -1
- package/resources/configurations.d.mts +73 -43
- package/resources/configurations.d.mts.map +1 -1
- package/resources/configurations.d.ts +73 -43
- package/resources/configurations.d.ts.map +1 -1
- package/resources/configurations.js +9 -9
- package/resources/configurations.js.map +1 -1
- package/resources/configurations.mjs +9 -9
- package/resources/configurations.mjs.map +1 -1
- package/resources/data-sinks.d.mts +16 -16
- package/resources/data-sinks.d.mts.map +1 -1
- package/resources/data-sinks.d.ts +16 -16
- package/resources/data-sinks.d.ts.map +1 -1
- package/resources/data-sinks.js +12 -12
- package/resources/data-sinks.js.map +1 -1
- package/resources/data-sinks.mjs +12 -12
- package/resources/data-sinks.mjs.map +1 -1
- package/resources/data-sources.d.mts +17 -17
- package/resources/data-sources.d.mts.map +1 -1
- package/resources/data-sources.d.ts +17 -17
- package/resources/data-sources.d.ts.map +1 -1
- package/resources/data-sources.js +13 -13
- package/resources/data-sources.js.map +1 -1
- package/resources/data-sources.mjs +13 -13
- package/resources/data-sources.mjs.map +1 -1
- package/resources/extract.d.mts +62 -46
- package/resources/extract.d.mts.map +1 -1
- package/resources/extract.d.ts +62 -46
- package/resources/extract.d.ts.map +1 -1
- package/resources/extract.js +33 -33
- package/resources/extract.js.map +1 -1
- package/resources/extract.mjs +33 -33
- package/resources/extract.mjs.map +1 -1
- package/resources/files.d.mts +41 -41
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +41 -41
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +13 -13
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +13 -13
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +9 -8
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/parsing.d.mts +131 -51
- package/resources/parsing.d.mts.map +1 -1
- package/resources/parsing.d.ts +131 -51
- package/resources/parsing.d.ts.map +1 -1
- package/resources/parsing.js +33 -12
- package/resources/parsing.js.map +1 -1
- package/resources/parsing.mjs +33 -12
- package/resources/parsing.mjs.map +1 -1
- package/resources/pipelines/data-sources.d.mts +40 -30
- package/resources/pipelines/data-sources.d.mts.map +1 -1
- package/resources/pipelines/data-sources.d.ts +40 -30
- package/resources/pipelines/data-sources.d.ts.map +1 -1
- package/resources/pipelines/data-sources.js +23 -13
- package/resources/pipelines/data-sources.js.map +1 -1
- package/resources/pipelines/data-sources.mjs +23 -13
- package/resources/pipelines/data-sources.mjs.map +1 -1
- package/resources/pipelines/documents.d.mts +28 -12
- package/resources/pipelines/documents.d.mts.map +1 -1
- package/resources/pipelines/documents.d.ts +28 -12
- package/resources/pipelines/documents.d.ts.map +1 -1
- package/resources/pipelines/documents.js +30 -14
- package/resources/pipelines/documents.js.map +1 -1
- package/resources/pipelines/documents.mjs +30 -14
- package/resources/pipelines/documents.mjs.map +1 -1
- package/resources/pipelines/files.d.mts +34 -24
- package/resources/pipelines/files.d.mts.map +1 -1
- package/resources/pipelines/files.d.ts +34 -24
- package/resources/pipelines/files.d.ts.map +1 -1
- package/resources/pipelines/files.js +27 -17
- package/resources/pipelines/files.js.map +1 -1
- package/resources/pipelines/files.mjs +27 -17
- package/resources/pipelines/files.mjs.map +1 -1
- package/resources/pipelines/images.d.mts +17 -17
- package/resources/pipelines/images.d.mts.map +1 -1
- package/resources/pipelines/images.d.ts +17 -17
- package/resources/pipelines/images.d.ts.map +1 -1
- package/resources/pipelines/images.js +13 -13
- package/resources/pipelines/images.js.map +1 -1
- package/resources/pipelines/images.mjs +13 -13
- package/resources/pipelines/images.mjs.map +1 -1
- package/resources/pipelines/index.d.mts +5 -5
- package/resources/pipelines/index.d.mts.map +1 -1
- package/resources/pipelines/index.d.ts +5 -5
- package/resources/pipelines/index.d.ts.map +1 -1
- package/resources/pipelines/metadata.d.mts +4 -0
- package/resources/pipelines/metadata.d.mts.map +1 -1
- package/resources/pipelines/metadata.d.ts +4 -0
- package/resources/pipelines/metadata.d.ts.map +1 -1
- package/resources/pipelines/metadata.js +4 -0
- package/resources/pipelines/metadata.js.map +1 -1
- package/resources/pipelines/metadata.mjs +4 -0
- package/resources/pipelines/metadata.mjs.map +1 -1
- package/resources/pipelines/pipelines.d.mts +149 -126
- package/resources/pipelines/pipelines.d.mts.map +1 -1
- package/resources/pipelines/pipelines.d.ts +149 -126
- package/resources/pipelines/pipelines.d.ts.map +1 -1
- package/resources/pipelines/pipelines.js +39 -23
- package/resources/pipelines/pipelines.js.map +1 -1
- package/resources/pipelines/pipelines.mjs +39 -23
- package/resources/pipelines/pipelines.mjs.map +1 -1
- package/resources/pipelines/sync.d.mts +4 -0
- package/resources/pipelines/sync.d.mts.map +1 -1
- package/resources/pipelines/sync.d.ts +4 -0
- package/resources/pipelines/sync.d.ts.map +1 -1
- package/resources/pipelines/sync.js +4 -0
- package/resources/pipelines/sync.js.map +1 -1
- package/resources/pipelines/sync.mjs +4 -0
- package/resources/pipelines/sync.mjs.map +1 -1
- package/resources/retrievers/index.d.mts +1 -1
- package/resources/retrievers/index.d.mts.map +1 -1
- package/resources/retrievers/index.d.ts +1 -1
- package/resources/retrievers/index.d.ts.map +1 -1
- package/resources/retrievers/retrievers.d.mts +39 -39
- package/resources/retrievers/retrievers.d.mts.map +1 -1
- package/resources/retrievers/retrievers.d.ts +39 -39
- package/resources/retrievers/retrievers.d.ts.map +1 -1
- package/resources/retrievers/retrievers.js +20 -20
- package/resources/retrievers/retrievers.js.map +1 -1
- package/resources/retrievers/retrievers.mjs +20 -20
- package/resources/retrievers/retrievers.mjs.map +1 -1
- package/resources/shared.d.mts +11 -3
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +11 -3
- package/resources/shared.d.ts.map +1 -1
- package/resources/sheets.d.mts +206 -0
- package/resources/sheets.d.mts.map +1 -0
- package/resources/sheets.d.ts +206 -0
- package/resources/sheets.d.ts.map +1 -0
- package/resources/sheets.js +101 -0
- package/resources/sheets.js.map +1 -0
- package/resources/sheets.mjs +97 -0
- package/resources/sheets.mjs.map +1 -0
- package/src/client.ts +33 -12
- package/src/resources/batches.ts +4 -4
- package/src/resources/beta/agent-data.ts +131 -131
- package/src/resources/beta/batch/batch.ts +67 -54
- package/src/resources/beta/batch/index.ts +1 -1
- package/src/resources/beta/batch/job-items.ts +34 -21
- package/src/resources/beta/beta.ts +12 -12
- package/src/resources/beta/chat.ts +57 -57
- package/src/resources/beta/directories/directories.ts +80 -71
- package/src/resources/beta/directories/files.ts +66 -66
- package/src/resources/beta/directories/index.ts +5 -5
- package/src/resources/beta/index.ts +12 -12
- package/src/resources/beta/indexes.ts +68 -53
- package/src/resources/beta/retrieval.ts +3 -3
- package/src/resources/beta/sheets.ts +90 -97
- package/src/resources/beta/split.ts +2 -2
- package/src/resources/classifier/jobs.ts +9 -1
- package/src/resources/classify.ts +67 -39
- package/src/resources/configurations.ts +97 -63
- package/src/resources/data-sinks.ts +26 -26
- package/src/resources/data-sources.ts +43 -43
- package/src/resources/extract.ts +125 -97
- package/src/resources/files.ts +61 -61
- package/src/resources/index.ts +21 -12
- package/src/resources/parsing.ts +285 -204
- package/src/resources/pipelines/data-sources.ts +59 -49
- package/src/resources/pipelines/documents.ts +42 -26
- package/src/resources/pipelines/files.ts +62 -52
- package/src/resources/pipelines/images.ts +36 -36
- package/src/resources/pipelines/index.ts +10 -10
- package/src/resources/pipelines/metadata.ts +4 -0
- package/src/resources/pipelines/pipelines.ts +236 -207
- package/src/resources/pipelines/sync.ts +4 -0
- package/src/resources/retrievers/index.ts +3 -3
- package/src/resources/retrievers/retrievers.ts +64 -64
- package/src/resources/shared.ts +12 -3
- package/src/resources/sheets.ts +322 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -281,7 +281,8 @@ export interface ClassifyCreateRequest {
|
|
|
281
281
|
parse_job_id?: string | null;
|
|
282
282
|
|
|
283
283
|
/**
|
|
284
|
-
* Idempotency key scoped to the project
|
|
284
|
+
* Idempotency key scoped to the project. Reusing a key returns the original job;
|
|
285
|
+
* the new request body is ignored.
|
|
285
286
|
*/
|
|
286
287
|
transaction_id?: string | null;
|
|
287
288
|
|
|
@@ -301,28 +302,33 @@ export namespace ClassifyCreateRequest {
|
|
|
301
302
|
* events are delivered.
|
|
302
303
|
*/
|
|
303
304
|
webhook_events?: Array<
|
|
304
|
-
| '
|
|
305
|
-
| '
|
|
305
|
+
| 'classify.cancelled'
|
|
306
|
+
| 'classify.error'
|
|
307
|
+
| 'classify.partial_success'
|
|
308
|
+
| 'classify.pending'
|
|
309
|
+
| 'classify.running'
|
|
310
|
+
| 'classify.success'
|
|
311
|
+
| 'extract.cancelled'
|
|
306
312
|
| 'extract.error'
|
|
307
313
|
| 'extract.partial_success'
|
|
308
|
-
| 'extract.
|
|
314
|
+
| 'extract.pending'
|
|
315
|
+
| 'extract.success'
|
|
316
|
+
| 'parse.cancelled'
|
|
317
|
+
| 'parse.error'
|
|
318
|
+
| 'parse.partial_success'
|
|
309
319
|
| 'parse.pending'
|
|
310
320
|
| 'parse.running'
|
|
311
321
|
| 'parse.success'
|
|
312
|
-
| '
|
|
313
|
-
| 'parse.partial_success'
|
|
314
|
-
| 'parse.cancelled'
|
|
315
|
-
| 'classify.pending'
|
|
316
|
-
| 'classify.running'
|
|
317
|
-
| 'classify.success'
|
|
318
|
-
| 'classify.error'
|
|
319
|
-
| 'classify.partial_success'
|
|
320
|
-
| 'classify.cancelled'
|
|
321
|
-
| 'sheets.pending'
|
|
322
|
-
| 'sheets.success'
|
|
322
|
+
| 'sheets.cancelled'
|
|
323
323
|
| 'sheets.error'
|
|
324
324
|
| 'sheets.partial_success'
|
|
325
|
-
| 'sheets.
|
|
325
|
+
| 'sheets.pending'
|
|
326
|
+
| 'sheets.success'
|
|
327
|
+
| 'split.cancelled'
|
|
328
|
+
| 'split.error'
|
|
329
|
+
| 'split.pending'
|
|
330
|
+
| 'split.processing'
|
|
331
|
+
| 'split.success'
|
|
326
332
|
| 'unmapped_event'
|
|
327
333
|
> | null;
|
|
328
334
|
|
|
@@ -336,6 +342,14 @@ export namespace ClassifyCreateRequest {
|
|
|
336
342
|
*/
|
|
337
343
|
webhook_output_format?: string | null;
|
|
338
344
|
|
|
345
|
+
/**
|
|
346
|
+
* Shared signing secret used to sign webhook deliveries. When set, each request
|
|
347
|
+
* includes an HMAC-SHA256 signature of the request body in the 'LC-Signature'
|
|
348
|
+
* header (value 'sha256=<hex>'). Recompute the HMAC over the raw request body with
|
|
349
|
+
* this secret to verify the delivery is authentic.
|
|
350
|
+
*/
|
|
351
|
+
webhook_signing_secret?: string | null;
|
|
352
|
+
|
|
339
353
|
/**
|
|
340
354
|
* URL to receive webhook POST notifications
|
|
341
355
|
*/
|
|
@@ -380,7 +394,7 @@ export interface ClassifyCreateResponse {
|
|
|
380
394
|
/**
|
|
381
395
|
* Whether the input was a file or parse job (FILE or PARSE_JOB)
|
|
382
396
|
*/
|
|
383
|
-
document_input_type: '
|
|
397
|
+
document_input_type: 'file_id' | 'parse_job_id' | 'url';
|
|
384
398
|
|
|
385
399
|
/**
|
|
386
400
|
* ID of the input file or parse job
|
|
@@ -395,7 +409,7 @@ export interface ClassifyCreateResponse {
|
|
|
395
409
|
/**
|
|
396
410
|
* Current job status: PENDING, RUNNING, COMPLETED, or FAILED
|
|
397
411
|
*/
|
|
398
|
-
status: '
|
|
412
|
+
status: 'COMPLETED' | 'FAILED' | 'PENDING' | 'RUNNING';
|
|
399
413
|
|
|
400
414
|
/**
|
|
401
415
|
* User who created this job
|
|
@@ -455,7 +469,7 @@ export interface ClassifyListResponse {
|
|
|
455
469
|
/**
|
|
456
470
|
* Whether the input was a file or parse job (FILE or PARSE_JOB)
|
|
457
471
|
*/
|
|
458
|
-
document_input_type: '
|
|
472
|
+
document_input_type: 'file_id' | 'parse_job_id' | 'url';
|
|
459
473
|
|
|
460
474
|
/**
|
|
461
475
|
* ID of the input file or parse job
|
|
@@ -470,7 +484,7 @@ export interface ClassifyListResponse {
|
|
|
470
484
|
/**
|
|
471
485
|
* Current job status: PENDING, RUNNING, COMPLETED, or FAILED
|
|
472
486
|
*/
|
|
473
|
-
status: '
|
|
487
|
+
status: 'COMPLETED' | 'FAILED' | 'PENDING' | 'RUNNING';
|
|
474
488
|
|
|
475
489
|
/**
|
|
476
490
|
* User who created this job
|
|
@@ -530,7 +544,7 @@ export interface ClassifyGetResponse {
|
|
|
530
544
|
/**
|
|
531
545
|
* Whether the input was a file or parse job (FILE or PARSE_JOB)
|
|
532
546
|
*/
|
|
533
|
-
document_input_type: '
|
|
547
|
+
document_input_type: 'file_id' | 'parse_job_id' | 'url';
|
|
534
548
|
|
|
535
549
|
/**
|
|
536
550
|
* ID of the input file or parse job
|
|
@@ -545,7 +559,7 @@ export interface ClassifyGetResponse {
|
|
|
545
559
|
/**
|
|
546
560
|
* Current job status: PENDING, RUNNING, COMPLETED, or FAILED
|
|
547
561
|
*/
|
|
548
|
-
status: '
|
|
562
|
+
status: 'COMPLETED' | 'FAILED' | 'PENDING' | 'RUNNING';
|
|
549
563
|
|
|
550
564
|
/**
|
|
551
565
|
* User who created this job
|
|
@@ -625,7 +639,8 @@ export interface ClassifyCreateParams {
|
|
|
625
639
|
parse_job_id?: string | null;
|
|
626
640
|
|
|
627
641
|
/**
|
|
628
|
-
* Body param: Idempotency key scoped to the project
|
|
642
|
+
* Body param: Idempotency key scoped to the project. Reusing a key returns the
|
|
643
|
+
* original job; the new request body is ignored.
|
|
629
644
|
*/
|
|
630
645
|
transaction_id?: string | null;
|
|
631
646
|
|
|
@@ -645,28 +660,33 @@ export namespace ClassifyCreateParams {
|
|
|
645
660
|
* events are delivered.
|
|
646
661
|
*/
|
|
647
662
|
webhook_events?: Array<
|
|
648
|
-
| '
|
|
649
|
-
| '
|
|
663
|
+
| 'classify.cancelled'
|
|
664
|
+
| 'classify.error'
|
|
665
|
+
| 'classify.partial_success'
|
|
666
|
+
| 'classify.pending'
|
|
667
|
+
| 'classify.running'
|
|
668
|
+
| 'classify.success'
|
|
669
|
+
| 'extract.cancelled'
|
|
650
670
|
| 'extract.error'
|
|
651
671
|
| 'extract.partial_success'
|
|
652
|
-
| 'extract.
|
|
672
|
+
| 'extract.pending'
|
|
673
|
+
| 'extract.success'
|
|
674
|
+
| 'parse.cancelled'
|
|
675
|
+
| 'parse.error'
|
|
676
|
+
| 'parse.partial_success'
|
|
653
677
|
| 'parse.pending'
|
|
654
678
|
| 'parse.running'
|
|
655
679
|
| 'parse.success'
|
|
656
|
-
| '
|
|
657
|
-
| 'parse.partial_success'
|
|
658
|
-
| 'parse.cancelled'
|
|
659
|
-
| 'classify.pending'
|
|
660
|
-
| 'classify.running'
|
|
661
|
-
| 'classify.success'
|
|
662
|
-
| 'classify.error'
|
|
663
|
-
| 'classify.partial_success'
|
|
664
|
-
| 'classify.cancelled'
|
|
665
|
-
| 'sheets.pending'
|
|
666
|
-
| 'sheets.success'
|
|
680
|
+
| 'sheets.cancelled'
|
|
667
681
|
| 'sheets.error'
|
|
668
682
|
| 'sheets.partial_success'
|
|
669
|
-
| 'sheets.
|
|
683
|
+
| 'sheets.pending'
|
|
684
|
+
| 'sheets.success'
|
|
685
|
+
| 'split.cancelled'
|
|
686
|
+
| 'split.error'
|
|
687
|
+
| 'split.pending'
|
|
688
|
+
| 'split.processing'
|
|
689
|
+
| 'split.success'
|
|
670
690
|
| 'unmapped_event'
|
|
671
691
|
> | null;
|
|
672
692
|
|
|
@@ -680,6 +700,14 @@ export namespace ClassifyCreateParams {
|
|
|
680
700
|
*/
|
|
681
701
|
webhook_output_format?: string | null;
|
|
682
702
|
|
|
703
|
+
/**
|
|
704
|
+
* Shared signing secret used to sign webhook deliveries. When set, each request
|
|
705
|
+
* includes an HMAC-SHA256 signature of the request body in the 'LC-Signature'
|
|
706
|
+
* header (value 'sha256=<hex>'). Recompute the HMAC over the raw request body with
|
|
707
|
+
* this secret to verify the delivery is authentic.
|
|
708
|
+
*/
|
|
709
|
+
webhook_signing_secret?: string | null;
|
|
710
|
+
|
|
683
711
|
/**
|
|
684
712
|
* URL to receive webhook POST notifications
|
|
685
713
|
*/
|
|
@@ -715,7 +743,7 @@ export interface ClassifyListParams extends PaginatedCursorParams {
|
|
|
715
743
|
/**
|
|
716
744
|
* Filter by job status
|
|
717
745
|
*/
|
|
718
|
-
status?: '
|
|
746
|
+
status?: 'COMPLETED' | 'FAILED' | 'PENDING' | 'RUNNING' | null;
|
|
719
747
|
}
|
|
720
748
|
|
|
721
749
|
export interface ClassifyGetParams {
|
|
@@ -23,6 +23,19 @@ export class Configurations extends APIResource {
|
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* List product configurations for the current project.
|
|
28
|
+
*/
|
|
29
|
+
list(
|
|
30
|
+
query: ConfigurationListParams | null | undefined = {},
|
|
31
|
+
options?: RequestOptions,
|
|
32
|
+
): PagePromise<ConfigurationResponsesPaginatedCursor, ConfigurationResponse> {
|
|
33
|
+
return this._client.getAPIList('/api/v1/beta/configurations', PaginatedCursor<ConfigurationResponse>, {
|
|
34
|
+
query,
|
|
35
|
+
...options,
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
|
|
26
39
|
/**
|
|
27
40
|
* Get a single product configuration by ID.
|
|
28
41
|
*/
|
|
@@ -50,19 +63,6 @@ export class Configurations extends APIResource {
|
|
|
50
63
|
});
|
|
51
64
|
}
|
|
52
65
|
|
|
53
|
-
/**
|
|
54
|
-
* List product configurations for the current project.
|
|
55
|
-
*/
|
|
56
|
-
list(
|
|
57
|
-
query: ConfigurationListParams | null | undefined = {},
|
|
58
|
-
options?: RequestOptions,
|
|
59
|
-
): PagePromise<ConfigurationResponsesPaginatedCursor, ConfigurationResponse> {
|
|
60
|
-
return this._client.getAPIList('/api/v1/beta/configurations', PaginatedCursor<ConfigurationResponse>, {
|
|
61
|
-
query,
|
|
62
|
-
...options,
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
|
|
66
66
|
/**
|
|
67
67
|
* Delete a product configuration.
|
|
68
68
|
*/
|
|
@@ -158,10 +158,10 @@ export interface ConfigurationCreate {
|
|
|
158
158
|
* Product-specific configuration parameters.
|
|
159
159
|
*/
|
|
160
160
|
parameters:
|
|
161
|
-
| SplitV1Parameters
|
|
162
|
-
| ExtractV2Parameters
|
|
163
161
|
| ClassifyV2Parameters
|
|
162
|
+
| ExtractV2Parameters
|
|
164
163
|
| ParseV2Parameters
|
|
164
|
+
| SplitV1Parameters
|
|
165
165
|
| ConfigurationCreate.SpreadsheetV1Parameters
|
|
166
166
|
| UntypedParameters;
|
|
167
167
|
}
|
|
@@ -244,17 +244,17 @@ export interface ConfigurationResponse {
|
|
|
244
244
|
* Product-specific configuration parameters.
|
|
245
245
|
*/
|
|
246
246
|
parameters:
|
|
247
|
-
| SplitV1Parameters
|
|
248
|
-
| ExtractV2Parameters
|
|
249
247
|
| ClassifyV2Parameters
|
|
248
|
+
| ExtractV2Parameters
|
|
250
249
|
| ParseV2Parameters
|
|
250
|
+
| SplitV1Parameters
|
|
251
251
|
| ConfigurationResponse.SpreadsheetV1Parameters
|
|
252
252
|
| UntypedParameters;
|
|
253
253
|
|
|
254
254
|
/**
|
|
255
255
|
* Product type.
|
|
256
256
|
*/
|
|
257
|
-
product_type: '
|
|
257
|
+
product_type: 'classify_v2' | 'extract_v2' | 'parse_v2' | 'split_v1' | 'spreadsheet_v1' | 'unknown';
|
|
258
258
|
|
|
259
259
|
/**
|
|
260
260
|
* Version identifier (datetime string).
|
|
@@ -396,11 +396,13 @@ export interface ExtractV2Parameters {
|
|
|
396
396
|
/**
|
|
397
397
|
* Extract tier: cost_effective (5 credits/page) or agentic (15 credits/page)
|
|
398
398
|
*/
|
|
399
|
-
tier?: '
|
|
399
|
+
tier?: 'agentic' | 'cost_effective';
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
402
|
* Use 'latest' for the latest release for the selected tier or a date string
|
|
403
|
-
* (YYYY-MM-DD format) to pin to the nearest release at or before that date.
|
|
403
|
+
* (YYYY-MM-DD format) to pin to the nearest release at or before that date. Job
|
|
404
|
+
* responses always report the concrete resolved version the job runs, fixed at job
|
|
405
|
+
* creation; saved configurations keep the value as provided.
|
|
404
406
|
*/
|
|
405
407
|
version?: string;
|
|
406
408
|
}
|
|
@@ -423,7 +425,7 @@ export interface ParseV2Parameters {
|
|
|
423
425
|
* 'agentic' (AI-powered with custom prompts), or 'agentic_plus' (premium AI with
|
|
424
426
|
* highest accuracy)
|
|
425
427
|
*/
|
|
426
|
-
tier: '
|
|
428
|
+
tier: 'agentic' | 'agentic_plus' | 'cost_effective' | 'fast';
|
|
427
429
|
|
|
428
430
|
/**
|
|
429
431
|
* Version for the selected tier. Use `latest`, or pin one of that tier's dated
|
|
@@ -432,13 +434,13 @@ export interface ParseV2Parameters {
|
|
|
432
434
|
* Current `latest` by tier:
|
|
433
435
|
*
|
|
434
436
|
* - `fast`: `2025-12-11`
|
|
435
|
-
* - `cost_effective`: `2026-06-
|
|
436
|
-
* - `agentic`: `2026-06-
|
|
437
|
-
* - `agentic_plus`: `2026-06-
|
|
437
|
+
* - `cost_effective`: `2026-06-26`
|
|
438
|
+
* - `agentic`: `2026-06-18`
|
|
439
|
+
* - `agentic_plus`: `2026-06-18`
|
|
438
440
|
*
|
|
439
441
|
* Full list: `GET /api/v2/parse/versions`.
|
|
440
442
|
*/
|
|
441
|
-
version: 'latest' | '2026-06-
|
|
443
|
+
version: 'latest' | '2026-06-26' | '2026-06-18' | '2025-12-11' | (string & {});
|
|
442
444
|
|
|
443
445
|
/**
|
|
444
446
|
* Options for AI-powered parsing tiers (cost_effective, agentic, agentic_plus).
|
|
@@ -502,6 +504,11 @@ export interface ParseV2Parameters {
|
|
|
502
504
|
*/
|
|
503
505
|
processing_options?: ParseV2Parameters.ProcessingOptions;
|
|
504
506
|
|
|
507
|
+
/**
|
|
508
|
+
* IDs of saved webhook configurations to notify for this job.
|
|
509
|
+
*/
|
|
510
|
+
webhook_configuration_ids?: Array<string> | null;
|
|
511
|
+
|
|
505
512
|
/**
|
|
506
513
|
* Webhook endpoints for job status notifications. Multiple webhooks can be
|
|
507
514
|
* configured for different events or services
|
|
@@ -565,6 +572,11 @@ export namespace ParseV2Parameters {
|
|
|
565
572
|
*/
|
|
566
573
|
html?: InputOptions.HTML;
|
|
567
574
|
|
|
575
|
+
/**
|
|
576
|
+
* Image parsing options (applies to .jpg, .jpeg, .png, .webp files)
|
|
577
|
+
*/
|
|
578
|
+
image?: InputOptions.Image;
|
|
579
|
+
|
|
568
580
|
/**
|
|
569
581
|
* PDF-specific parsing options (applies to .pdf files)
|
|
570
582
|
*/
|
|
@@ -604,6 +616,20 @@ export namespace ParseV2Parameters {
|
|
|
604
616
|
remove_navigation_elements?: boolean | null;
|
|
605
617
|
}
|
|
606
618
|
|
|
619
|
+
/**
|
|
620
|
+
* Image parsing options (applies to .jpg, .jpeg, .png, .webp files)
|
|
621
|
+
*/
|
|
622
|
+
export interface Image {
|
|
623
|
+
/**
|
|
624
|
+
* Detect documents photographed with a camera (e.g. phone scans of receipts or
|
|
625
|
+
* forms), then crop, perspective-correct, and flatten uneven lighting and shadows
|
|
626
|
+
* before parsing. Supports JPEG, PNG, WebP, and HEIC/HEIF inputs. Improves results
|
|
627
|
+
* when the document is tilted or surrounded by background. Images that already
|
|
628
|
+
* look like clean scans are left untouched
|
|
629
|
+
*/
|
|
630
|
+
camera_photo_correction?: boolean | null;
|
|
631
|
+
}
|
|
632
|
+
|
|
607
633
|
/**
|
|
608
634
|
* Presentation parsing options (applies to .pptx, .ppt, .odp, .key files)
|
|
609
635
|
*/
|
|
@@ -692,7 +718,7 @@ export namespace ParseV2Parameters {
|
|
|
692
718
|
* (cropped regions from layout detection like figures and diagrams). Empty list
|
|
693
719
|
* saves no images
|
|
694
720
|
*/
|
|
695
|
-
images_to_save?: Array<'
|
|
721
|
+
images_to_save?: Array<'embedded' | 'layout' | 'screenshot'>;
|
|
696
722
|
|
|
697
723
|
/**
|
|
698
724
|
* Markdown formatting options including table styles and link annotations
|
|
@@ -942,7 +968,7 @@ export namespace ParseV2Parameters {
|
|
|
942
968
|
* 'agentic' (balanced), 'agentic_plus' (highest accuracy). Automatically enables
|
|
943
969
|
* extract_layout and precise_bounding_box when set
|
|
944
970
|
*/
|
|
945
|
-
specialized_chart_parsing?: '
|
|
971
|
+
specialized_chart_parsing?: 'agentic' | 'agentic_plus' | 'efficient' | null;
|
|
946
972
|
}
|
|
947
973
|
|
|
948
974
|
export namespace ProcessingOptions {
|
|
@@ -1199,12 +1225,12 @@ export namespace ParseV2Parameters {
|
|
|
1199
1225
|
/**
|
|
1200
1226
|
* Enable specialized chart parsing with the specified mode
|
|
1201
1227
|
*/
|
|
1202
|
-
specialized_chart_parsing?: '
|
|
1228
|
+
specialized_chart_parsing?: 'agentic' | 'agentic_plus' | 'efficient' | null;
|
|
1203
1229
|
|
|
1204
1230
|
/**
|
|
1205
1231
|
* Override the parsing tier for matched pages. Must be paired with version
|
|
1206
1232
|
*/
|
|
1207
|
-
tier?: '
|
|
1233
|
+
tier?: 'agentic' | 'agentic_plus' | 'cost_effective' | 'fast' | null;
|
|
1208
1234
|
|
|
1209
1235
|
/**
|
|
1210
1236
|
* Version for the override tier. Required when `tier` is set. Use `latest`, or pin
|
|
@@ -1213,13 +1239,13 @@ export namespace ParseV2Parameters {
|
|
|
1213
1239
|
* Current `latest` by tier:
|
|
1214
1240
|
*
|
|
1215
1241
|
* - `fast`: `2025-12-11`
|
|
1216
|
-
* - `cost_effective`: `2026-06-
|
|
1217
|
-
* - `agentic`: `2026-06-
|
|
1218
|
-
* - `agentic_plus`: `2026-06-
|
|
1242
|
+
* - `cost_effective`: `2026-06-26`
|
|
1243
|
+
* - `agentic`: `2026-06-18`
|
|
1244
|
+
* - `agentic_plus`: `2026-06-18`
|
|
1219
1245
|
*
|
|
1220
1246
|
* Full list: `GET /api/v2/parse/versions`.
|
|
1221
1247
|
*/
|
|
1222
|
-
version?: 'latest' | '2026-06-
|
|
1248
|
+
version?: 'latest' | '2026-06-26' | '2026-06-18' | '2025-12-11' | (string & {}) | null;
|
|
1223
1249
|
}
|
|
1224
1250
|
|
|
1225
1251
|
export namespace ParsingConf {
|
|
@@ -1377,7 +1403,15 @@ export namespace ParseV2Parameters {
|
|
|
1377
1403
|
* Format of the webhook payload body. 'string' (default) sends the payload as a
|
|
1378
1404
|
* JSON-encoded string; 'json' sends it as a JSON object.
|
|
1379
1405
|
*/
|
|
1380
|
-
webhook_output_format?: '
|
|
1406
|
+
webhook_output_format?: 'json' | 'string' | null;
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* Shared signing secret used to sign webhook deliveries. When set, each request
|
|
1410
|
+
* includes an HMAC-SHA256 signature of the request body in the 'LC-Signature'
|
|
1411
|
+
* header (value 'sha256=<hex>'). Recompute the HMAC over the raw request body with
|
|
1412
|
+
* this secret to verify the delivery is authentic.
|
|
1413
|
+
*/
|
|
1414
|
+
webhook_signing_secret?: string | null;
|
|
1381
1415
|
|
|
1382
1416
|
/**
|
|
1383
1417
|
* HTTPS URL to receive webhook POST requests. Must be publicly accessible
|
|
@@ -1417,7 +1451,7 @@ export namespace SplitV1Parameters {
|
|
|
1417
1451
|
* be assigned to a defined category. 'omit': pages can be classified as
|
|
1418
1452
|
* 'uncategorized' but are excluded from results.
|
|
1419
1453
|
*/
|
|
1420
|
-
allow_uncategorized?: '
|
|
1454
|
+
allow_uncategorized?: 'forbid' | 'include' | 'omit';
|
|
1421
1455
|
}
|
|
1422
1456
|
}
|
|
1423
1457
|
|
|
@@ -1445,10 +1479,10 @@ export interface ConfigurationCreateParams {
|
|
|
1445
1479
|
* Body param: Product-specific configuration parameters.
|
|
1446
1480
|
*/
|
|
1447
1481
|
parameters:
|
|
1448
|
-
| SplitV1Parameters
|
|
1449
|
-
| ExtractV2Parameters
|
|
1450
1482
|
| ClassifyV2Parameters
|
|
1483
|
+
| ExtractV2Parameters
|
|
1451
1484
|
| ParseV2Parameters
|
|
1485
|
+
| SplitV1Parameters
|
|
1452
1486
|
| ConfigurationCreateParams.SpreadsheetV1Parameters
|
|
1453
1487
|
| UntypedParameters;
|
|
1454
1488
|
|
|
@@ -1523,6 +1557,29 @@ export namespace ConfigurationCreateParams {
|
|
|
1523
1557
|
}
|
|
1524
1558
|
}
|
|
1525
1559
|
|
|
1560
|
+
export interface ConfigurationListParams extends PaginatedCursorParams {
|
|
1561
|
+
/**
|
|
1562
|
+
* Return only the latest version per configuration name.
|
|
1563
|
+
*/
|
|
1564
|
+
latest_only?: boolean;
|
|
1565
|
+
|
|
1566
|
+
/**
|
|
1567
|
+
* Filter by configuration name.
|
|
1568
|
+
*/
|
|
1569
|
+
name?: string | null;
|
|
1570
|
+
|
|
1571
|
+
organization_id?: string | null;
|
|
1572
|
+
|
|
1573
|
+
/**
|
|
1574
|
+
* Filter by one or more product types. Repeat the parameter for multiple values.
|
|
1575
|
+
*/
|
|
1576
|
+
product_type?: Array<
|
|
1577
|
+
'classify_v2' | 'extract_v2' | 'parse_v2' | 'split_v1' | 'spreadsheet_v1' | 'unknown'
|
|
1578
|
+
> | null;
|
|
1579
|
+
|
|
1580
|
+
project_id?: string | null;
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1526
1583
|
export interface ConfigurationRetrieveParams {
|
|
1527
1584
|
organization_id?: string | null;
|
|
1528
1585
|
|
|
@@ -1549,10 +1606,10 @@ export interface ConfigurationUpdateParams {
|
|
|
1549
1606
|
* Body param: Updated parameters (omit to leave unchanged).
|
|
1550
1607
|
*/
|
|
1551
1608
|
parameters?:
|
|
1552
|
-
| SplitV1Parameters
|
|
1553
|
-
| ExtractV2Parameters
|
|
1554
1609
|
| ClassifyV2Parameters
|
|
1610
|
+
| ExtractV2Parameters
|
|
1555
1611
|
| ParseV2Parameters
|
|
1612
|
+
| SplitV1Parameters
|
|
1556
1613
|
| ConfigurationUpdateParams.SpreadsheetV1Parameters
|
|
1557
1614
|
| UntypedParameters
|
|
1558
1615
|
| null;
|
|
@@ -1618,29 +1675,6 @@ export namespace ConfigurationUpdateParams {
|
|
|
1618
1675
|
}
|
|
1619
1676
|
}
|
|
1620
1677
|
|
|
1621
|
-
export interface ConfigurationListParams extends PaginatedCursorParams {
|
|
1622
|
-
/**
|
|
1623
|
-
* Return only the latest version per configuration name.
|
|
1624
|
-
*/
|
|
1625
|
-
latest_only?: boolean;
|
|
1626
|
-
|
|
1627
|
-
/**
|
|
1628
|
-
* Filter by configuration name.
|
|
1629
|
-
*/
|
|
1630
|
-
name?: string | null;
|
|
1631
|
-
|
|
1632
|
-
organization_id?: string | null;
|
|
1633
|
-
|
|
1634
|
-
/**
|
|
1635
|
-
* Filter by one or more product types. Repeat the parameter for multiple values.
|
|
1636
|
-
*/
|
|
1637
|
-
product_type?: Array<
|
|
1638
|
-
'split_v1' | 'extract_v2' | 'classify_v2' | 'parse_v2' | 'spreadsheet_v1' | 'unknown'
|
|
1639
|
-
> | null;
|
|
1640
|
-
|
|
1641
|
-
project_id?: string | null;
|
|
1642
|
-
}
|
|
1643
|
-
|
|
1644
1678
|
export interface ConfigurationDeleteParams {
|
|
1645
1679
|
organization_id?: string | null;
|
|
1646
1680
|
|
|
@@ -1658,9 +1692,9 @@ export declare namespace Configurations {
|
|
|
1658
1692
|
type UntypedParameters as UntypedParameters,
|
|
1659
1693
|
type ConfigurationResponsesPaginatedCursor as ConfigurationResponsesPaginatedCursor,
|
|
1660
1694
|
type ConfigurationCreateParams as ConfigurationCreateParams,
|
|
1695
|
+
type ConfigurationListParams as ConfigurationListParams,
|
|
1661
1696
|
type ConfigurationRetrieveParams as ConfigurationRetrieveParams,
|
|
1662
1697
|
type ConfigurationUpdateParams as ConfigurationUpdateParams,
|
|
1663
|
-
type ConfigurationListParams as ConfigurationListParams,
|
|
1664
1698
|
type ConfigurationDeleteParams as ConfigurationDeleteParams,
|
|
1665
1699
|
};
|
|
1666
1700
|
}
|
|
@@ -8,6 +8,16 @@ import { RequestOptions } from '../internal/request-options';
|
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
10
|
export class DataSinks extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* List data sinks for a given project.
|
|
13
|
+
*/
|
|
14
|
+
list(
|
|
15
|
+
query: DataSinkListParams | null | undefined = {},
|
|
16
|
+
options?: RequestOptions,
|
|
17
|
+
): APIPromise<DataSinkListResponse> {
|
|
18
|
+
return this._client.get('/api/v1/data-sinks', { query, ...options });
|
|
19
|
+
}
|
|
20
|
+
|
|
11
21
|
/**
|
|
12
22
|
* Create a new data sink.
|
|
13
23
|
*/
|
|
@@ -21,20 +31,17 @@ export class DataSinks extends APIResource {
|
|
|
21
31
|
}
|
|
22
32
|
|
|
23
33
|
/**
|
|
24
|
-
*
|
|
34
|
+
* Get a data sink by ID.
|
|
25
35
|
*/
|
|
26
|
-
|
|
27
|
-
return this._client.
|
|
36
|
+
get(dataSinkID: string, options?: RequestOptions): APIPromise<DataSink> {
|
|
37
|
+
return this._client.get(path`/api/v1/data-sinks/${dataSinkID}`, options);
|
|
28
38
|
}
|
|
29
39
|
|
|
30
40
|
/**
|
|
31
|
-
*
|
|
41
|
+
* Update a data sink by ID.
|
|
32
42
|
*/
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
options?: RequestOptions,
|
|
36
|
-
): APIPromise<DataSinkListResponse> {
|
|
37
|
-
return this._client.get('/api/v1/data-sinks', { query, ...options });
|
|
43
|
+
update(dataSinkID: string, body: DataSinkUpdateParams, options?: RequestOptions): APIPromise<DataSink> {
|
|
44
|
+
return this._client.put(path`/api/v1/data-sinks/${dataSinkID}`, { body, ...options });
|
|
38
45
|
}
|
|
39
46
|
|
|
40
47
|
/**
|
|
@@ -46,13 +53,6 @@ export class DataSinks extends APIResource {
|
|
|
46
53
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
47
54
|
});
|
|
48
55
|
}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Get a data sink by ID.
|
|
52
|
-
*/
|
|
53
|
-
get(dataSinkID: string, options?: RequestOptions): APIPromise<DataSink> {
|
|
54
|
-
return this._client.get(path`/api/v1/data-sinks/${dataSinkID}`, options);
|
|
55
|
-
}
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
/**
|
|
@@ -84,7 +84,7 @@ export interface DataSink {
|
|
|
84
84
|
|
|
85
85
|
project_id: string;
|
|
86
86
|
|
|
87
|
-
sink_type: '
|
|
87
|
+
sink_type: 'ASTRA_DB' | 'AZUREAI_SEARCH' | 'MILVUS' | 'MONGODB_ATLAS' | 'PINECONE' | 'POSTGRES' | 'QDRANT';
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* Creation datetime
|
|
@@ -99,6 +99,12 @@ export interface DataSink {
|
|
|
99
99
|
|
|
100
100
|
export type DataSinkListResponse = Array<DataSink>;
|
|
101
101
|
|
|
102
|
+
export interface DataSinkListParams {
|
|
103
|
+
organization_id?: string | null;
|
|
104
|
+
|
|
105
|
+
project_id?: string | null;
|
|
106
|
+
}
|
|
107
|
+
|
|
102
108
|
export interface DataSinkCreateParams {
|
|
103
109
|
/**
|
|
104
110
|
* Body param: Component that implements the data sink
|
|
@@ -121,7 +127,7 @@ export interface DataSinkCreateParams {
|
|
|
121
127
|
/**
|
|
122
128
|
* Body param
|
|
123
129
|
*/
|
|
124
|
-
sink_type: '
|
|
130
|
+
sink_type: 'ASTRA_DB' | 'AZUREAI_SEARCH' | 'MILVUS' | 'MONGODB_ATLAS' | 'PINECONE' | 'POSTGRES' | 'QDRANT';
|
|
125
131
|
|
|
126
132
|
/**
|
|
127
133
|
* Query param
|
|
@@ -135,7 +141,7 @@ export interface DataSinkCreateParams {
|
|
|
135
141
|
}
|
|
136
142
|
|
|
137
143
|
export interface DataSinkUpdateParams {
|
|
138
|
-
sink_type: '
|
|
144
|
+
sink_type: 'ASTRA_DB' | 'AZUREAI_SEARCH' | 'MILVUS' | 'MONGODB_ATLAS' | 'PINECONE' | 'POSTGRES' | 'QDRANT';
|
|
139
145
|
|
|
140
146
|
/**
|
|
141
147
|
* Component that implements the data sink
|
|
@@ -157,18 +163,12 @@ export interface DataSinkUpdateParams {
|
|
|
157
163
|
name?: string | null;
|
|
158
164
|
}
|
|
159
165
|
|
|
160
|
-
export interface DataSinkListParams {
|
|
161
|
-
organization_id?: string | null;
|
|
162
|
-
|
|
163
|
-
project_id?: string | null;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
166
|
export declare namespace DataSinks {
|
|
167
167
|
export {
|
|
168
168
|
type DataSink as DataSink,
|
|
169
169
|
type DataSinkListResponse as DataSinkListResponse,
|
|
170
|
+
type DataSinkListParams as DataSinkListParams,
|
|
170
171
|
type DataSinkCreateParams as DataSinkCreateParams,
|
|
171
172
|
type DataSinkUpdateParams as DataSinkUpdateParams,
|
|
172
|
-
type DataSinkListParams as DataSinkListParams,
|
|
173
173
|
};
|
|
174
174
|
}
|