@llamaindex/llama-cloud 2.9.1 → 2.11.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 +3 -15
- package/package.json +1 -1
- package/resources/beta/batch/batch.d.mts +7 -0
- package/resources/beta/batch/batch.d.mts.map +1 -1
- package/resources/beta/batch/batch.d.ts +7 -0
- package/resources/beta/batch/batch.d.ts.map +1 -1
- package/resources/beta/batch/batch.js.map +1 -1
- package/resources/beta/batch/batch.mjs.map +1 -1
- package/resources/beta/batch/job-items.d.mts +7 -0
- package/resources/beta/batch/job-items.d.mts.map +1 -1
- package/resources/beta/batch/job-items.d.ts +7 -0
- package/resources/beta/batch/job-items.d.ts.map +1 -1
- package/resources/beta/directories/directories.d.mts +8 -12
- package/resources/beta/directories/directories.d.mts.map +1 -1
- package/resources/beta/directories/directories.d.ts +8 -12
- package/resources/beta/directories/directories.d.ts.map +1 -1
- package/resources/beta/directories/directories.js.map +1 -1
- package/resources/beta/directories/directories.mjs.map +1 -1
- package/resources/beta/indexes.d.mts +12 -0
- package/resources/beta/indexes.d.mts.map +1 -1
- package/resources/beta/indexes.d.ts +12 -0
- package/resources/beta/indexes.d.ts.map +1 -1
- package/resources/beta/sheets.d.mts +14 -0
- package/resources/beta/sheets.d.mts.map +1 -1
- package/resources/beta/sheets.d.ts +14 -0
- package/resources/beta/sheets.d.ts.map +1 -1
- package/resources/classifier/jobs.d.mts +7 -0
- package/resources/classifier/jobs.d.mts.map +1 -1
- package/resources/classifier/jobs.d.ts +7 -0
- package/resources/classifier/jobs.d.ts.map +1 -1
- package/resources/classify.d.mts +14 -0
- package/resources/classify.d.mts.map +1 -1
- package/resources/classify.d.ts +14 -0
- package/resources/classify.d.ts.map +1 -1
- package/resources/configurations.d.mts +19 -8
- package/resources/configurations.d.mts.map +1 -1
- package/resources/configurations.d.ts +19 -8
- package/resources/configurations.d.ts.map +1 -1
- package/resources/extract.d.mts +14 -0
- package/resources/extract.d.mts.map +1 -1
- package/resources/extract.d.ts +14 -0
- package/resources/extract.d.ts.map +1 -1
- package/resources/parsing.d.mts +66 -8
- package/resources/parsing.d.mts.map +1 -1
- package/resources/parsing.d.ts +66 -8
- package/resources/parsing.d.ts.map +1 -1
- package/resources/parsing.js +21 -0
- package/resources/parsing.js.map +1 -1
- package/resources/parsing.mjs +21 -0
- package/resources/parsing.mjs.map +1 -1
- package/resources/pipelines/pipelines.d.mts +7 -0
- package/resources/pipelines/pipelines.d.mts.map +1 -1
- package/resources/pipelines/pipelines.d.ts +7 -0
- package/resources/pipelines/pipelines.d.ts.map +1 -1
- package/resources/pipelines/pipelines.js.map +1 -1
- package/resources/pipelines/pipelines.mjs.map +1 -1
- package/resources/shared.d.mts +4 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +4 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/sheets.d.mts +7 -0
- package/resources/sheets.d.mts.map +1 -1
- package/resources/sheets.d.ts +7 -0
- package/resources/sheets.d.ts.map +1 -1
- package/src/resources/beta/batch/batch.ts +8 -0
- package/src/resources/beta/batch/job-items.ts +8 -0
- package/src/resources/beta/directories/directories.ts +8 -13
- package/src/resources/beta/indexes.ts +15 -0
- package/src/resources/beta/sheets.ts +16 -0
- package/src/resources/classifier/jobs.ts +8 -0
- package/src/resources/classify.ts +16 -0
- package/src/resources/configurations.ts +21 -8
- package/src/resources/extract.ts +16 -0
- package/src/resources/parsing.ts +64 -8
- package/src/resources/pipelines/pipelines.ts +8 -0
- package/src/resources/shared.ts +5 -0
- package/src/resources/sheets.ts +8 -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
package/src/resources/extract.ts
CHANGED
|
@@ -532,6 +532,14 @@ export namespace ExtractV2JobCreate {
|
|
|
532
532
|
*/
|
|
533
533
|
webhook_output_format?: string | null;
|
|
534
534
|
|
|
535
|
+
/**
|
|
536
|
+
* Shared signing secret used to sign webhook deliveries. When set, each request
|
|
537
|
+
* includes an HMAC-SHA256 signature of the request body in the 'LC-Signature'
|
|
538
|
+
* header (value 'sha256=<hex>'). Recompute the HMAC over the raw request body with
|
|
539
|
+
* this secret to verify the delivery is authentic.
|
|
540
|
+
*/
|
|
541
|
+
webhook_signing_secret?: string | null;
|
|
542
|
+
|
|
535
543
|
/**
|
|
536
544
|
* URL to receive webhook POST notifications
|
|
537
545
|
*/
|
|
@@ -727,6 +735,14 @@ export namespace ExtractCreateParams {
|
|
|
727
735
|
*/
|
|
728
736
|
webhook_output_format?: string | null;
|
|
729
737
|
|
|
738
|
+
/**
|
|
739
|
+
* Shared signing secret used to sign webhook deliveries. When set, each request
|
|
740
|
+
* includes an HMAC-SHA256 signature of the request body in the 'LC-Signature'
|
|
741
|
+
* header (value 'sha256=<hex>'). Recompute the HMAC over the raw request body with
|
|
742
|
+
* this secret to verify the delivery is authentic.
|
|
743
|
+
*/
|
|
744
|
+
webhook_signing_secret?: string | null;
|
|
745
|
+
|
|
730
746
|
/**
|
|
731
747
|
* URL to receive webhook POST notifications
|
|
732
748
|
*/
|
package/src/resources/parsing.ts
CHANGED
|
@@ -27,6 +27,14 @@ export class Parsing extends APIResource {
|
|
|
27
27
|
*
|
|
28
28
|
* The job runs asynchronously. Poll `GET /parse/{job_id}` with `expand=text` or
|
|
29
29
|
* `expand=markdown` to retrieve results.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const parsing = await client.parsing.create({
|
|
34
|
+
* tier: 'fast',
|
|
35
|
+
* version: 'latest',
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
30
38
|
*/
|
|
31
39
|
create(
|
|
32
40
|
params: ParsingCreateParams & { upload_file?: Uploadable },
|
|
@@ -68,6 +76,11 @@ export class Parsing extends APIResource {
|
|
|
68
76
|
*
|
|
69
77
|
* Content metadata fields (e.g. `text_content_metadata`) return presigned URLs for
|
|
70
78
|
* downloading large results.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```ts
|
|
82
|
+
* const parsing = await client.parsing.get('job_id');
|
|
83
|
+
* ```
|
|
71
84
|
*/
|
|
72
85
|
get(
|
|
73
86
|
jobID: string,
|
|
@@ -82,6 +95,14 @@ export class Parsing extends APIResource {
|
|
|
82
95
|
*
|
|
83
96
|
* Filter by `status` or creation date range. Results are paginated — use
|
|
84
97
|
* `page_token` from the response to fetch subsequent pages.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* ```ts
|
|
101
|
+
* // Automatically fetches more pages as needed.
|
|
102
|
+
* for await (const parsingListResponse of client.parsing.list()) {
|
|
103
|
+
* // ...
|
|
104
|
+
* }
|
|
105
|
+
* ```
|
|
85
106
|
*/
|
|
86
107
|
list(
|
|
87
108
|
query: ParsingListParams | null | undefined = {},
|
|
@@ -896,6 +917,11 @@ export interface ParsingCreateResponse {
|
|
|
896
917
|
* Update datetime
|
|
897
918
|
*/
|
|
898
919
|
updated_at?: string | null;
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* Key/value tags associated with this job.
|
|
923
|
+
*/
|
|
924
|
+
user_metadata?: { [key: string]: string } | null;
|
|
899
925
|
}
|
|
900
926
|
|
|
901
927
|
/**
|
|
@@ -941,6 +967,11 @@ export interface ParsingListResponse {
|
|
|
941
967
|
* Update datetime
|
|
942
968
|
*/
|
|
943
969
|
updated_at?: string | null;
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* Key/value tags associated with this job.
|
|
973
|
+
*/
|
|
974
|
+
user_metadata?: { [key: string]: string } | null;
|
|
944
975
|
}
|
|
945
976
|
|
|
946
977
|
/**
|
|
@@ -1047,6 +1078,11 @@ export namespace ParsingGetResponse {
|
|
|
1047
1078
|
* Update datetime
|
|
1048
1079
|
*/
|
|
1049
1080
|
updated_at?: string | null;
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* Key/value tags associated with this job.
|
|
1084
|
+
*/
|
|
1085
|
+
user_metadata?: { [key: string]: string } | null;
|
|
1050
1086
|
}
|
|
1051
1087
|
|
|
1052
1088
|
/**
|
|
@@ -1373,14 +1409,14 @@ export interface ParsingCreateParams {
|
|
|
1373
1409
|
*
|
|
1374
1410
|
* Current `latest` by tier:
|
|
1375
1411
|
*
|
|
1376
|
-
* - `fast`: `
|
|
1377
|
-
* - `cost_effective`: `2026-06-
|
|
1412
|
+
* - `fast`: `2026-06-15`
|
|
1413
|
+
* - `cost_effective`: `2026-06-26`
|
|
1378
1414
|
* - `agentic`: `2026-06-18`
|
|
1379
|
-
* - `agentic_plus`: `2026-
|
|
1415
|
+
* - `agentic_plus`: `2026-07-08`
|
|
1380
1416
|
*
|
|
1381
1417
|
* Full list: `GET /api/v2/parse/versions`.
|
|
1382
1418
|
*/
|
|
1383
|
-
version: 'latest' | '2026-06-18' | '
|
|
1419
|
+
version: 'latest' | '2026-07-08' | '2026-06-26' | '2026-06-18' | '2026-06-15' | (string & {});
|
|
1384
1420
|
|
|
1385
1421
|
/**
|
|
1386
1422
|
* Query param
|
|
@@ -1478,6 +1514,18 @@ export interface ParsingCreateParams {
|
|
|
1478
1514
|
*/
|
|
1479
1515
|
source_url?: string | null;
|
|
1480
1516
|
|
|
1517
|
+
/**
|
|
1518
|
+
* Body param: Arbitrary key/value tags to attach to this job. Returned when
|
|
1519
|
+
* retrieving the job. Not searchable. Limits apply to the number of entries and
|
|
1520
|
+
* the length of keys and values; oversized metadata is rejected.
|
|
1521
|
+
*/
|
|
1522
|
+
user_metadata?: { [key: string]: string } | null;
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* Body param: IDs of saved webhook configurations to notify for this job.
|
|
1526
|
+
*/
|
|
1527
|
+
webhook_configuration_ids?: Array<string> | null;
|
|
1528
|
+
|
|
1481
1529
|
/**
|
|
1482
1530
|
* Body param: Webhook endpoints for job status notifications. Multiple webhooks
|
|
1483
1531
|
* can be configured for different events or services
|
|
@@ -2207,14 +2255,14 @@ export namespace ParsingCreateParams {
|
|
|
2207
2255
|
*
|
|
2208
2256
|
* Current `latest` by tier:
|
|
2209
2257
|
*
|
|
2210
|
-
* - `fast`: `
|
|
2211
|
-
* - `cost_effective`: `2026-06-
|
|
2258
|
+
* - `fast`: `2026-06-15`
|
|
2259
|
+
* - `cost_effective`: `2026-06-26`
|
|
2212
2260
|
* - `agentic`: `2026-06-18`
|
|
2213
|
-
* - `agentic_plus`: `2026-
|
|
2261
|
+
* - `agentic_plus`: `2026-07-08`
|
|
2214
2262
|
*
|
|
2215
2263
|
* Full list: `GET /api/v2/parse/versions`.
|
|
2216
2264
|
*/
|
|
2217
|
-
version?: 'latest' | '2026-06-18' | '
|
|
2265
|
+
version?: 'latest' | '2026-07-08' | '2026-06-26' | '2026-06-18' | '2026-06-15' | (string & {}) | null;
|
|
2218
2266
|
}
|
|
2219
2267
|
|
|
2220
2268
|
export namespace ParsingConf {
|
|
@@ -2374,6 +2422,14 @@ export namespace ParsingCreateParams {
|
|
|
2374
2422
|
*/
|
|
2375
2423
|
webhook_output_format?: 'json' | 'string' | null;
|
|
2376
2424
|
|
|
2425
|
+
/**
|
|
2426
|
+
* Shared signing secret used to sign webhook deliveries. When set, each request
|
|
2427
|
+
* includes an HMAC-SHA256 signature of the request body in the 'LC-Signature'
|
|
2428
|
+
* header (value 'sha256=<hex>'). Recompute the HMAC over the raw request body with
|
|
2429
|
+
* this secret to verify the delivery is authentic.
|
|
2430
|
+
*/
|
|
2431
|
+
webhook_signing_secret?: string | null;
|
|
2432
|
+
|
|
2377
2433
|
/**
|
|
2378
2434
|
* HTTPS URL to receive webhook POST requests. Must be publicly accessible
|
|
2379
2435
|
*/
|
|
@@ -972,6 +972,14 @@ export namespace LlamaParseParameters {
|
|
|
972
972
|
*/
|
|
973
973
|
webhook_output_format?: string | null;
|
|
974
974
|
|
|
975
|
+
/**
|
|
976
|
+
* Shared signing secret used to sign webhook deliveries. When set, each request
|
|
977
|
+
* includes an HMAC-SHA256 signature of the request body in the 'LC-Signature'
|
|
978
|
+
* header (value 'sha256=<hex>'). Recompute the HMAC over the raw request body with
|
|
979
|
+
* this secret to verify the delivery is authentic.
|
|
980
|
+
*/
|
|
981
|
+
webhook_signing_secret?: string | null;
|
|
982
|
+
|
|
975
983
|
/**
|
|
976
984
|
* URL to receive webhook POST notifications
|
|
977
985
|
*/
|
package/src/resources/shared.ts
CHANGED
|
@@ -213,6 +213,11 @@ export interface CloudGoogleDriveDataSource {
|
|
|
213
213
|
|
|
214
214
|
class_name?: string;
|
|
215
215
|
|
|
216
|
+
/**
|
|
217
|
+
* Human-readable name of the selected folder, for display.
|
|
218
|
+
*/
|
|
219
|
+
folder_name?: string | null;
|
|
220
|
+
|
|
216
221
|
/**
|
|
217
222
|
* A dictionary containing secret values
|
|
218
223
|
*/
|
package/src/resources/sheets.ts
CHANGED
|
@@ -213,6 +213,14 @@ export namespace SheetCreateParams {
|
|
|
213
213
|
*/
|
|
214
214
|
webhook_output_format?: string | null;
|
|
215
215
|
|
|
216
|
+
/**
|
|
217
|
+
* Shared signing secret used to sign webhook deliveries. When set, each request
|
|
218
|
+
* includes an HMAC-SHA256 signature of the request body in the 'LC-Signature'
|
|
219
|
+
* header (value 'sha256=<hex>'). Recompute the HMAC over the raw request body with
|
|
220
|
+
* this secret to verify the delivery is authentic.
|
|
221
|
+
*/
|
|
222
|
+
webhook_signing_secret?: string | null;
|
|
223
|
+
|
|
216
224
|
/**
|
|
217
225
|
* URL to receive webhook POST notifications
|
|
218
226
|
*/
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '2.
|
|
1
|
+
export const VERSION = '2.11.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.11.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.11.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
package/version.js
CHANGED
package/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '2.
|
|
1
|
+
export const VERSION = '2.11.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
|