@llamaindex/llama-cloud 2.9.1 → 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.
Files changed (81) hide show
  1. package/CHANGELOG.md +5 -11
  2. package/package.json +1 -1
  3. package/resources/beta/batch/batch.d.mts +7 -0
  4. package/resources/beta/batch/batch.d.mts.map +1 -1
  5. package/resources/beta/batch/batch.d.ts +7 -0
  6. package/resources/beta/batch/batch.d.ts.map +1 -1
  7. package/resources/beta/batch/batch.js.map +1 -1
  8. package/resources/beta/batch/batch.mjs.map +1 -1
  9. package/resources/beta/batch/job-items.d.mts +7 -0
  10. package/resources/beta/batch/job-items.d.mts.map +1 -1
  11. package/resources/beta/batch/job-items.d.ts +7 -0
  12. package/resources/beta/batch/job-items.d.ts.map +1 -1
  13. package/resources/beta/directories/directories.d.mts +0 -4
  14. package/resources/beta/directories/directories.d.mts.map +1 -1
  15. package/resources/beta/directories/directories.d.ts +0 -4
  16. package/resources/beta/directories/directories.d.ts.map +1 -1
  17. package/resources/beta/directories/directories.js.map +1 -1
  18. package/resources/beta/directories/directories.mjs.map +1 -1
  19. package/resources/beta/indexes.d.mts +12 -0
  20. package/resources/beta/indexes.d.mts.map +1 -1
  21. package/resources/beta/indexes.d.ts +12 -0
  22. package/resources/beta/indexes.d.ts.map +1 -1
  23. package/resources/beta/sheets.d.mts +14 -0
  24. package/resources/beta/sheets.d.mts.map +1 -1
  25. package/resources/beta/sheets.d.ts +14 -0
  26. package/resources/beta/sheets.d.ts.map +1 -1
  27. package/resources/classifier/jobs.d.mts +7 -0
  28. package/resources/classifier/jobs.d.mts.map +1 -1
  29. package/resources/classifier/jobs.d.ts +7 -0
  30. package/resources/classifier/jobs.d.ts.map +1 -1
  31. package/resources/classify.d.mts +14 -0
  32. package/resources/classify.d.mts.map +1 -1
  33. package/resources/classify.d.ts +14 -0
  34. package/resources/classify.d.ts.map +1 -1
  35. package/resources/configurations.d.mts +15 -4
  36. package/resources/configurations.d.mts.map +1 -1
  37. package/resources/configurations.d.ts +15 -4
  38. package/resources/configurations.d.ts.map +1 -1
  39. package/resources/extract.d.mts +14 -0
  40. package/resources/extract.d.mts.map +1 -1
  41. package/resources/extract.d.ts +14 -0
  42. package/resources/extract.d.ts.map +1 -1
  43. package/resources/parsing.d.mts +62 -4
  44. package/resources/parsing.d.mts.map +1 -1
  45. package/resources/parsing.d.ts +62 -4
  46. package/resources/parsing.d.ts.map +1 -1
  47. package/resources/parsing.js +21 -0
  48. package/resources/parsing.js.map +1 -1
  49. package/resources/parsing.mjs +21 -0
  50. package/resources/parsing.mjs.map +1 -1
  51. package/resources/pipelines/pipelines.d.mts +7 -0
  52. package/resources/pipelines/pipelines.d.mts.map +1 -1
  53. package/resources/pipelines/pipelines.d.ts +7 -0
  54. package/resources/pipelines/pipelines.d.ts.map +1 -1
  55. package/resources/pipelines/pipelines.js.map +1 -1
  56. package/resources/pipelines/pipelines.mjs.map +1 -1
  57. package/resources/sheets.d.mts +7 -0
  58. package/resources/sheets.d.mts.map +1 -1
  59. package/resources/sheets.d.ts +7 -0
  60. package/resources/sheets.d.ts.map +1 -1
  61. package/src/resources/beta/batch/batch.ts +8 -0
  62. package/src/resources/beta/batch/job-items.ts +8 -0
  63. package/src/resources/beta/directories/directories.ts +0 -5
  64. package/src/resources/beta/indexes.ts +15 -0
  65. package/src/resources/beta/sheets.ts +16 -0
  66. package/src/resources/classifier/jobs.ts +8 -0
  67. package/src/resources/classify.ts +16 -0
  68. package/src/resources/configurations.ts +17 -4
  69. package/src/resources/extract.ts +16 -0
  70. package/src/resources/parsing.ts +60 -4
  71. package/src/resources/pipelines/pipelines.ts +8 -0
  72. package/src/resources/sheets.ts +8 -0
  73. package/src/version.ts +1 -1
  74. package/version.d.mts +1 -1
  75. package/version.d.mts.map +1 -1
  76. package/version.d.ts +1 -1
  77. package/version.d.ts.map +1 -1
  78. package/version.js +1 -1
  79. package/version.js.map +1 -1
  80. package/version.mjs +1 -1
  81. package/version.mjs.map +1 -1
@@ -368,6 +368,14 @@ export namespace SheetsJob {
368
368
  */
369
369
  webhook_output_format?: string | null;
370
370
 
371
+ /**
372
+ * Shared signing secret used to sign webhook deliveries. When set, each request
373
+ * includes an HMAC-SHA256 signature of the request body in the 'LC-Signature'
374
+ * header (value 'sha256=<hex>'). Recompute the HMAC over the raw request body with
375
+ * this secret to verify the delivery is authentic.
376
+ */
377
+ webhook_signing_secret?: string | null;
378
+
371
379
  /**
372
380
  * URL to receive webhook POST notifications
373
381
  */
@@ -573,6 +581,14 @@ export namespace SheetCreateParams {
573
581
  */
574
582
  webhook_output_format?: string | null;
575
583
 
584
+ /**
585
+ * Shared signing secret used to sign webhook deliveries. When set, each request
586
+ * includes an HMAC-SHA256 signature of the request body in the 'LC-Signature'
587
+ * header (value 'sha256=<hex>'). Recompute the HMAC over the raw request body with
588
+ * this secret to verify the delivery is authentic.
589
+ */
590
+ webhook_signing_secret?: string | null;
591
+
576
592
  /**
577
593
  * URL to receive webhook POST notifications
578
594
  */
@@ -391,6 +391,14 @@ export namespace JobCreateParams {
391
391
  */
392
392
  webhook_output_format?: 'json' | 'string' | null;
393
393
 
394
+ /**
395
+ * Shared signing secret used to sign webhook deliveries. When set, each request
396
+ * includes an HMAC-SHA256 signature of the request body in the 'LC-Signature'
397
+ * header (value 'sha256=<hex>'). Recompute the HMAC over the raw request body with
398
+ * this secret to verify the delivery is authentic.
399
+ */
400
+ webhook_signing_secret?: string | null;
401
+
394
402
  /**
395
403
  * HTTPS URL to receive webhook POST requests. Must be publicly accessible
396
404
  */
@@ -342,6 +342,14 @@ export namespace ClassifyCreateRequest {
342
342
  */
343
343
  webhook_output_format?: string | null;
344
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
+
345
353
  /**
346
354
  * URL to receive webhook POST notifications
347
355
  */
@@ -692,6 +700,14 @@ export namespace ClassifyCreateParams {
692
700
  */
693
701
  webhook_output_format?: string | null;
694
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
+
695
711
  /**
696
712
  * URL to receive webhook POST notifications
697
713
  */
@@ -434,13 +434,13 @@ export interface ParseV2Parameters {
434
434
  * Current `latest` by tier:
435
435
  *
436
436
  * - `fast`: `2025-12-11`
437
- * - `cost_effective`: `2026-06-18`
437
+ * - `cost_effective`: `2026-06-26`
438
438
  * - `agentic`: `2026-06-18`
439
439
  * - `agentic_plus`: `2026-06-18`
440
440
  *
441
441
  * Full list: `GET /api/v2/parse/versions`.
442
442
  */
443
- version: 'latest' | '2026-06-18' | '2025-12-11' | (string & {});
443
+ version: 'latest' | '2026-06-26' | '2026-06-18' | '2025-12-11' | (string & {});
444
444
 
445
445
  /**
446
446
  * Options for AI-powered parsing tiers (cost_effective, agentic, agentic_plus).
@@ -504,6 +504,11 @@ export interface ParseV2Parameters {
504
504
  */
505
505
  processing_options?: ParseV2Parameters.ProcessingOptions;
506
506
 
507
+ /**
508
+ * IDs of saved webhook configurations to notify for this job.
509
+ */
510
+ webhook_configuration_ids?: Array<string> | null;
511
+
507
512
  /**
508
513
  * Webhook endpoints for job status notifications. Multiple webhooks can be
509
514
  * configured for different events or services
@@ -1234,13 +1239,13 @@ export namespace ParseV2Parameters {
1234
1239
  * Current `latest` by tier:
1235
1240
  *
1236
1241
  * - `fast`: `2025-12-11`
1237
- * - `cost_effective`: `2026-06-18`
1242
+ * - `cost_effective`: `2026-06-26`
1238
1243
  * - `agentic`: `2026-06-18`
1239
1244
  * - `agentic_plus`: `2026-06-18`
1240
1245
  *
1241
1246
  * Full list: `GET /api/v2/parse/versions`.
1242
1247
  */
1243
- version?: 'latest' | '2026-06-18' | '2025-12-11' | (string & {}) | null;
1248
+ version?: 'latest' | '2026-06-26' | '2026-06-18' | '2025-12-11' | (string & {}) | null;
1244
1249
  }
1245
1250
 
1246
1251
  export namespace ParsingConf {
@@ -1400,6 +1405,14 @@ export namespace ParseV2Parameters {
1400
1405
  */
1401
1406
  webhook_output_format?: 'json' | 'string' | null;
1402
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;
1415
+
1403
1416
  /**
1404
1417
  * HTTPS URL to receive webhook POST requests. Must be publicly accessible
1405
1418
  */
@@ -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
  */
@@ -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
  /**
@@ -1374,13 +1410,13 @@ export interface ParsingCreateParams {
1374
1410
  * Current `latest` by tier:
1375
1411
  *
1376
1412
  * - `fast`: `2025-12-11`
1377
- * - `cost_effective`: `2026-06-18`
1413
+ * - `cost_effective`: `2026-06-26`
1378
1414
  * - `agentic`: `2026-06-18`
1379
1415
  * - `agentic_plus`: `2026-06-18`
1380
1416
  *
1381
1417
  * Full list: `GET /api/v2/parse/versions`.
1382
1418
  */
1383
- version: 'latest' | '2026-06-18' | '2025-12-11' | (string & {});
1419
+ version: 'latest' | '2026-06-26' | '2026-06-18' | '2025-12-11' | (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
@@ -2208,13 +2256,13 @@ export namespace ParsingCreateParams {
2208
2256
  * Current `latest` by tier:
2209
2257
  *
2210
2258
  * - `fast`: `2025-12-11`
2211
- * - `cost_effective`: `2026-06-18`
2259
+ * - `cost_effective`: `2026-06-26`
2212
2260
  * - `agentic`: `2026-06-18`
2213
2261
  * - `agentic_plus`: `2026-06-18`
2214
2262
  *
2215
2263
  * Full list: `GET /api/v2/parse/versions`.
2216
2264
  */
2217
- version?: 'latest' | '2026-06-18' | '2025-12-11' | (string & {}) | null;
2265
+ version?: 'latest' | '2026-06-26' | '2026-06-18' | '2025-12-11' | (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
  */
@@ -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.9.1'; // x-release-please-version
1
+ export const VERSION = '2.10.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.9.1";
1
+ export declare const VERSION = "2.10.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,UAAU,CAAC"}
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.9.1";
1
+ export declare const VERSION = "2.10.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,UAAU,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '2.9.1'; // x-release-please-version
4
+ exports.VERSION = '2.10.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
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.9.1'; // x-release-please-version
1
+ export const VERSION = '2.10.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,OAAO,CAAC,CAAC,2BAA2B"}
1
+ {"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}