@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.
Files changed (86) hide show
  1. package/CHANGELOG.md +3 -15
  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 +8 -12
  14. package/resources/beta/directories/directories.d.mts.map +1 -1
  15. package/resources/beta/directories/directories.d.ts +8 -12
  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 +19 -8
  36. package/resources/configurations.d.mts.map +1 -1
  37. package/resources/configurations.d.ts +19 -8
  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 +66 -8
  44. package/resources/parsing.d.mts.map +1 -1
  45. package/resources/parsing.d.ts +66 -8
  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/shared.d.mts +4 -0
  58. package/resources/shared.d.mts.map +1 -1
  59. package/resources/shared.d.ts +4 -0
  60. package/resources/shared.d.ts.map +1 -1
  61. package/resources/sheets.d.mts +7 -0
  62. package/resources/sheets.d.mts.map +1 -1
  63. package/resources/sheets.d.ts +7 -0
  64. package/resources/sheets.d.ts.map +1 -1
  65. package/src/resources/beta/batch/batch.ts +8 -0
  66. package/src/resources/beta/batch/job-items.ts +8 -0
  67. package/src/resources/beta/directories/directories.ts +8 -13
  68. package/src/resources/beta/indexes.ts +15 -0
  69. package/src/resources/beta/sheets.ts +16 -0
  70. package/src/resources/classifier/jobs.ts +8 -0
  71. package/src/resources/classify.ts +16 -0
  72. package/src/resources/configurations.ts +21 -8
  73. package/src/resources/extract.ts +16 -0
  74. package/src/resources/parsing.ts +64 -8
  75. package/src/resources/pipelines/pipelines.ts +8 -0
  76. package/src/resources/shared.ts +5 -0
  77. package/src/resources/sheets.ts +8 -0
  78. package/src/version.ts +1 -1
  79. package/version.d.mts +1 -1
  80. package/version.d.mts.map +1 -1
  81. package/version.d.ts +1 -1
  82. package/version.d.ts.map +1 -1
  83. package/version.js +1 -1
  84. package/version.js.map +1 -1
  85. package/version.mjs +1 -1
  86. package/version.mjs.map +1 -1
@@ -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
  /**
@@ -1373,14 +1409,14 @@ export interface ParsingCreateParams {
1373
1409
  *
1374
1410
  * Current `latest` by tier:
1375
1411
  *
1376
- * - `fast`: `2025-12-11`
1377
- * - `cost_effective`: `2026-06-18`
1412
+ * - `fast`: `2026-06-15`
1413
+ * - `cost_effective`: `2026-06-26`
1378
1414
  * - `agentic`: `2026-06-18`
1379
- * - `agentic_plus`: `2026-06-18`
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' | '2025-12-11' | (string & {});
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`: `2025-12-11`
2211
- * - `cost_effective`: `2026-06-18`
2258
+ * - `fast`: `2026-06-15`
2259
+ * - `cost_effective`: `2026-06-26`
2212
2260
  * - `agentic`: `2026-06-18`
2213
- * - `agentic_plus`: `2026-06-18`
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' | '2025-12-11' | (string & {}) | null;
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
  */
@@ -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
  */
@@ -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.11.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.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,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.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,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.11.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.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,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"}