extend-ai 1.10.0 → 1.13.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 (263) hide show
  1. package/.gitattributes +1 -0
  2. package/BaseClient.js +2 -2
  3. package/Client.d.ts +32 -13
  4. package/Client.js +32 -13
  5. package/LICENSE +21 -0
  6. package/api/client/requests/ExtractRequest.d.ts +21 -2
  7. package/api/client/requests/ParseRequest.d.ts +1 -1
  8. package/api/resources/batchProcessorRun/client/Client.d.ts +2 -2
  9. package/api/resources/batchProcessorRun/client/Client.js +2 -2
  10. package/api/resources/batchProcessorRun/client/requests/BatchProcessorRunGetRequest.d.ts +1 -1
  11. package/api/resources/batchRuns/client/Client.d.ts +1 -1
  12. package/api/resources/batchRuns/client/Client.js +1 -1
  13. package/api/resources/classifierVersions/client/Client.d.ts +1 -1
  14. package/api/resources/classifierVersions/client/Client.js +1 -1
  15. package/api/resources/classifierVersions/client/requests/ClassifierVersionsCreateRequest.d.ts +1 -1
  16. package/api/resources/classifierVersions/client/requests/ClassifierVersionsListRequest.d.ts +1 -1
  17. package/api/resources/classifierVersions/client/requests/ClassifierVersionsRetrieveRequest.d.ts +1 -1
  18. package/api/resources/classifiers/client/Client.d.ts +1 -1
  19. package/api/resources/classifiers/client/Client.js +1 -1
  20. package/api/resources/classifiers/client/requests/ClassifiersListRequest.d.ts +1 -1
  21. package/api/resources/classifiers/client/requests/ClassifiersRetrieveRequest.d.ts +1 -1
  22. package/api/resources/classifiers/client/requests/ClassifiersUpdateRequest.d.ts +1 -1
  23. package/api/resources/classifyRuns/client/Client.d.ts +3 -3
  24. package/api/resources/classifyRuns/client/Client.js +3 -3
  25. package/api/resources/classifyRuns/client/requests/ClassifyRunsCancelRequest.d.ts +1 -1
  26. package/api/resources/classifyRuns/client/requests/ClassifyRunsDeleteRequest.d.ts +1 -1
  27. package/api/resources/classifyRuns/client/requests/ClassifyRunsListRequest.d.ts +1 -1
  28. package/api/resources/classifyRuns/client/requests/ClassifyRunsRetrieveRequest.d.ts +1 -1
  29. package/api/resources/editRuns/client/Client.d.ts +2 -2
  30. package/api/resources/editRuns/client/Client.js +2 -2
  31. package/api/resources/editRuns/client/requests/EditRunsDeleteRequest.d.ts +1 -1
  32. package/api/resources/editRuns/client/requests/EditRunsRetrieveRequest.d.ts +1 -1
  33. package/api/resources/editSchemas/client/Client.d.ts +2 -2
  34. package/api/resources/editSchemas/client/Client.js +2 -2
  35. package/api/resources/editTemplates/client/Client.d.ts +1 -1
  36. package/api/resources/editTemplates/client/Client.js +1 -1
  37. package/api/resources/editTemplates/client/requests/EditTemplatesRetrieveRequest.d.ts +1 -1
  38. package/api/resources/evaluationSetItems/client/Client.d.ts +3 -3
  39. package/api/resources/evaluationSetItems/client/Client.js +3 -3
  40. package/api/resources/evaluationSetItems/client/requests/EvaluationSetItemsCreateRequest.d.ts +1 -1
  41. package/api/resources/evaluationSetItems/client/requests/EvaluationSetItemsDeleteRequest.d.ts +1 -1
  42. package/api/resources/evaluationSetItems/client/requests/EvaluationSetItemsListRequest.d.ts +1 -1
  43. package/api/resources/evaluationSetItems/client/requests/EvaluationSetItemsRetrieveRequest.d.ts +1 -1
  44. package/api/resources/evaluationSetItems/client/requests/EvaluationSetItemsUpdateRequest.d.ts +1 -1
  45. package/api/resources/evaluationSetRuns/client/Client.d.ts +37 -3
  46. package/api/resources/evaluationSetRuns/client/Client.js +104 -3
  47. package/api/resources/evaluationSetRuns/client/requests/EvaluationSetRunsCreateRequest.d.ts +27 -0
  48. package/api/resources/evaluationSetRuns/client/requests/EvaluationSetRunsCreateRequest.js +3 -0
  49. package/api/resources/evaluationSetRuns/client/requests/EvaluationSetRunsRetrieveRequest.d.ts +1 -1
  50. package/api/resources/evaluationSetRuns/client/requests/index.d.ts +1 -0
  51. package/api/resources/evaluationSetRuns/index.d.ts +1 -0
  52. package/api/resources/evaluationSetRuns/index.js +1 -0
  53. package/api/resources/evaluationSetRuns/types/EvaluationSetRunsCreateRequestEntity.d.ts +9 -0
  54. package/api/resources/evaluationSetRuns/types/EvaluationSetRunsCreateRequestEntity.js +3 -0
  55. package/api/resources/evaluationSetRuns/types/index.d.ts +1 -0
  56. package/api/resources/evaluationSetRuns/types/index.js +17 -0
  57. package/api/resources/evaluationSets/client/Client.d.ts +4 -4
  58. package/api/resources/evaluationSets/client/Client.js +4 -4
  59. package/api/resources/evaluationSets/client/requests/EvaluationSetsListRequest.d.ts +1 -1
  60. package/api/resources/evaluationSets/client/requests/EvaluationSetsRetrieveRequest.d.ts +1 -1
  61. package/api/resources/extractRuns/client/Client.d.ts +3 -3
  62. package/api/resources/extractRuns/client/Client.js +3 -3
  63. package/api/resources/extractRuns/client/requests/ExtractRunsCancelRequest.d.ts +1 -1
  64. package/api/resources/extractRuns/client/requests/ExtractRunsDeleteRequest.d.ts +1 -1
  65. package/api/resources/extractRuns/client/requests/ExtractRunsListRequest.d.ts +1 -1
  66. package/api/resources/extractRuns/client/requests/ExtractRunsRetrieveRequest.d.ts +1 -1
  67. package/api/resources/extractorVersions/client/Client.d.ts +1 -1
  68. package/api/resources/extractorVersions/client/Client.js +1 -1
  69. package/api/resources/extractorVersions/client/requests/ExtractorVersionsCreateRequest.d.ts +1 -1
  70. package/api/resources/extractorVersions/client/requests/ExtractorVersionsListRequest.d.ts +1 -1
  71. package/api/resources/extractorVersions/client/requests/ExtractorVersionsRetrieveRequest.d.ts +1 -1
  72. package/api/resources/extractors/client/Client.d.ts +43 -5
  73. package/api/resources/extractors/client/Client.js +43 -5
  74. package/api/resources/extractors/client/requests/ExtractorsCreateRequest.d.ts +48 -6
  75. package/api/resources/extractors/client/requests/ExtractorsListRequest.d.ts +1 -1
  76. package/api/resources/extractors/client/requests/ExtractorsRetrieveRequest.d.ts +1 -1
  77. package/api/resources/extractors/client/requests/ExtractorsUpdateRequest.d.ts +1 -1
  78. package/api/resources/extractors/types/ExtractorsCreateRequestGenerate.d.ts +12 -0
  79. package/api/resources/extractors/types/ExtractorsCreateRequestGenerate.js +3 -0
  80. package/api/resources/extractors/types/ExtractorsCreateRequestGenerateFilesItem.d.ts +2 -0
  81. package/api/resources/extractors/types/ExtractorsCreateRequestGenerateFilesItem.js +3 -0
  82. package/api/resources/extractors/types/index.d.ts +2 -0
  83. package/api/resources/extractors/types/index.js +2 -0
  84. package/api/resources/files/client/Client.d.ts +3 -3
  85. package/api/resources/files/client/Client.js +3 -3
  86. package/api/resources/files/client/requests/FilesDeleteRequest.d.ts +1 -1
  87. package/api/resources/files/client/requests/FilesListRequest.d.ts +1 -1
  88. package/api/resources/files/client/requests/FilesRetrieveRequest.d.ts +1 -1
  89. package/api/resources/files/client/requests/FilesUploadRequest.d.ts +1 -1
  90. package/api/resources/index.d.ts +1 -0
  91. package/api/resources/index.js +1 -0
  92. package/api/resources/parseRuns/client/Client.d.ts +3 -3
  93. package/api/resources/parseRuns/client/Client.js +3 -3
  94. package/api/resources/parseRuns/client/requests/ParseRunsDeleteRequest.d.ts +1 -1
  95. package/api/resources/parseRuns/client/requests/ParseRunsListRequest.d.ts +1 -1
  96. package/api/resources/parseRuns/client/requests/ParseRunsRetrieveRequest.d.ts +1 -1
  97. package/api/resources/processor/client/Client.d.ts +1 -1
  98. package/api/resources/processor/client/Client.js +1 -1
  99. package/api/resources/processor/client/requests/ProcessorListRequest.d.ts +1 -1
  100. package/api/resources/processor/client/requests/ProcessorUpdateRequest.d.ts +1 -1
  101. package/api/resources/processorRun/client/Client.d.ts +4 -4
  102. package/api/resources/processorRun/client/Client.js +4 -4
  103. package/api/resources/processorRun/client/requests/ProcessorRunCancelRequest.d.ts +1 -1
  104. package/api/resources/processorRun/client/requests/ProcessorRunCreateRequest.d.ts +2 -2
  105. package/api/resources/processorRun/client/requests/ProcessorRunDeleteRequest.d.ts +1 -1
  106. package/api/resources/processorRun/client/requests/ProcessorRunGetRequest.d.ts +1 -1
  107. package/api/resources/processorRun/client/requests/ProcessorRunListRequest.d.ts +1 -1
  108. package/api/resources/processorVersion/client/Client.d.ts +1 -1
  109. package/api/resources/processorVersion/client/Client.js +1 -1
  110. package/api/resources/processorVersion/client/requests/ProcessorVersionCreateRequest.d.ts +1 -1
  111. package/api/resources/processorVersion/client/requests/ProcessorVersionGetRequest.d.ts +1 -1
  112. package/api/resources/processorVersion/client/requests/ProcessorVersionListRequest.d.ts +1 -1
  113. package/api/resources/splitRuns/client/Client.d.ts +3 -3
  114. package/api/resources/splitRuns/client/Client.js +3 -3
  115. package/api/resources/splitRuns/client/requests/SplitRunsCancelRequest.d.ts +1 -1
  116. package/api/resources/splitRuns/client/requests/SplitRunsDeleteRequest.d.ts +1 -1
  117. package/api/resources/splitRuns/client/requests/SplitRunsListRequest.d.ts +1 -1
  118. package/api/resources/splitRuns/client/requests/SplitRunsRetrieveRequest.d.ts +1 -1
  119. package/api/resources/splitterVersions/client/Client.d.ts +1 -1
  120. package/api/resources/splitterVersions/client/Client.js +1 -1
  121. package/api/resources/splitterVersions/client/requests/SplitterVersionsCreateRequest.d.ts +1 -1
  122. package/api/resources/splitterVersions/client/requests/SplitterVersionsListRequest.d.ts +1 -1
  123. package/api/resources/splitterVersions/client/requests/SplitterVersionsRetrieveRequest.d.ts +1 -1
  124. package/api/resources/splitters/client/Client.d.ts +1 -1
  125. package/api/resources/splitters/client/Client.js +1 -1
  126. package/api/resources/splitters/client/requests/SplittersListRequest.d.ts +1 -1
  127. package/api/resources/splitters/client/requests/SplittersRetrieveRequest.d.ts +1 -1
  128. package/api/resources/splitters/client/requests/SplittersUpdateRequest.d.ts +1 -1
  129. package/api/resources/webhookEndpoints/client/Client.d.ts +3 -3
  130. package/api/resources/webhookEndpoints/client/Client.js +3 -3
  131. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsDeleteRequest.d.ts +1 -1
  132. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsListRequest.d.ts +1 -1
  133. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRetrieveRequest.d.ts +1 -1
  134. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsUpdateRequest.d.ts +1 -1
  135. package/api/resources/webhookSubscriptions/client/Client.d.ts +1 -1
  136. package/api/resources/webhookSubscriptions/client/Client.js +1 -1
  137. package/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionsDeleteRequest.d.ts +1 -1
  138. package/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionsListRequest.d.ts +1 -1
  139. package/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionsRetrieveRequest.d.ts +1 -1
  140. package/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionsUpdateRequest.d.ts +1 -1
  141. package/api/resources/workflowRuns/client/Client.d.ts +5 -5
  142. package/api/resources/workflowRuns/client/Client.js +5 -5
  143. package/api/resources/workflowRuns/client/requests/WorkflowRunsCancelRequest.d.ts +1 -1
  144. package/api/resources/workflowRuns/client/requests/WorkflowRunsCreateRequest.d.ts +1 -1
  145. package/api/resources/workflowRuns/client/requests/WorkflowRunsDeleteRequest.d.ts +1 -1
  146. package/api/resources/workflowRuns/client/requests/WorkflowRunsListRequest.d.ts +2 -2
  147. package/api/resources/workflowRuns/client/requests/WorkflowRunsRetrieveRequest.d.ts +1 -1
  148. package/api/resources/workflowRuns/client/requests/WorkflowRunsUpdateRequest.d.ts +1 -1
  149. package/api/resources/workflowRuns/types/WorkflowRunsCreateRequestFile.d.ts +1 -1
  150. package/api/resources/workflowVersions/client/Client.d.ts +1 -1
  151. package/api/resources/workflowVersions/client/Client.js +1 -1
  152. package/api/resources/workflowVersions/client/requests/WorkflowVersionsCreateRequest.d.ts +1 -1
  153. package/api/resources/workflows/client/Client.d.ts +1 -1
  154. package/api/resources/workflows/client/Client.js +1 -1
  155. package/api/resources/workflows/client/requests/WorkflowsCreateRequest.d.ts +1 -1
  156. package/api/resources/workflows/client/requests/WorkflowsUpdateRequest.d.ts +1 -1
  157. package/api/types/ApiError.d.ts +1 -1
  158. package/api/types/BlockMetadata.d.ts +6 -0
  159. package/api/types/BlockMetadataSheet.d.ts +9 -0
  160. package/api/types/BlockMetadataSheet.js +3 -0
  161. package/api/types/ChunkMetadata.d.ts +4 -0
  162. package/api/types/ClassificationNextEntry.d.ts +1 -1
  163. package/api/types/ClassifyAdvancedOptions.d.ts +2 -0
  164. package/api/types/ClassifyBaseProcessor.d.ts +1 -1
  165. package/api/types/ClassifyBaseProcessor.js +1 -1
  166. package/api/types/ClassifyConfig.d.ts +1 -1
  167. package/api/types/ClassifyOverrideConfig.d.ts +1 -1
  168. package/api/types/ClassifyRun.d.ts +9 -9
  169. package/api/types/ClassifyRunSummary.d.ts +2 -2
  170. package/api/types/ClassifyStepDefinition.d.ts +3 -3
  171. package/api/types/ClassifyStepDefinitionConfig.d.ts +1 -1
  172. package/api/types/CollectStepDefinition.d.ts +1 -1
  173. package/api/types/ConditionalExtractStepDefinition.d.ts +1 -1
  174. package/api/types/ConditionalExtractStepDefinitionConfig.d.ts +1 -1
  175. package/api/types/ConditionalExtractStepDefinitionConfigRulesItem.d.ts +1 -1
  176. package/api/types/ConditionalNextEntry.d.ts +1 -1
  177. package/api/types/ConditionalStepDefinition.d.ts +2 -2
  178. package/api/types/ConditionalStepDefinitionConfig.d.ts +1 -1
  179. package/api/types/ConditionalStepDefinitionConfigConditionsItem.d.ts +3 -3
  180. package/api/types/ConditionalStepDefinitionConfigConditionsItemOperation.d.ts +1 -1
  181. package/api/types/ConditionalStepDefinitionConfigConditionsItemOperation.js +1 -1
  182. package/api/types/EvaluationSetRun.d.ts +1 -1
  183. package/api/types/ExternalDataValidationStepDefinition.d.ts +1 -1
  184. package/api/types/ExternalDataValidationStepDefinitionConfig.d.ts +2 -2
  185. package/api/types/ExternalDataValidationStepDefinitionConfigFailureBehavior.d.ts +1 -1
  186. package/api/types/ExternalDataValidationStepDefinitionConfigFailureBehavior.js +1 -1
  187. package/api/types/ExternalDataValidationStepDefinitionConfigRequestOptions.d.ts +3 -3
  188. package/api/types/ExternalDataValidationStepDefinitionConfigRequestOptionsContentType.d.ts +1 -1
  189. package/api/types/ExternalDataValidationStepDefinitionConfigRequestOptionsContentType.js +1 -1
  190. package/api/types/ExtractAdvancedOptions.d.ts +10 -3
  191. package/api/types/ExtractAdvancedOptionsCitationMode.d.ts +12 -0
  192. package/api/types/ExtractAdvancedOptionsCitationMode.js +15 -0
  193. package/api/types/ExtractAdvancedOptionsReviewAgent.d.ts +1 -1
  194. package/api/types/ExtractBaseProcessor.d.ts +1 -1
  195. package/api/types/ExtractBaseProcessor.js +1 -1
  196. package/api/types/ExtractConfigJson.d.ts +2 -2
  197. package/api/types/ExtractConfigLegacy.d.ts +2 -2
  198. package/api/types/ExtractConfigLegacyBaseProcessor.d.ts +1 -1
  199. package/api/types/ExtractConfigLegacyBaseProcessor.js +1 -1
  200. package/api/types/ExtractOutputMetadataValue.d.ts +1 -1
  201. package/api/types/ExtractOverrideConfigJson.d.ts +2 -2
  202. package/api/types/ExtractRun.d.ts +16 -16
  203. package/api/types/ExtractRunSummary.d.ts +2 -2
  204. package/api/types/ExtractStepDefinition.d.ts +1 -1
  205. package/api/types/ExtractorVersion.d.ts +1 -1
  206. package/api/types/FileConversionStepDefinition.d.ts +1 -1
  207. package/api/types/FileConversionStepDefinitionConfig.d.ts +1 -1
  208. package/api/types/FileConversionStepDefinitionConfigFailureBehavior.d.ts +1 -1
  209. package/api/types/FileConversionStepDefinitionConfigFailureBehavior.js +1 -1
  210. package/api/types/FileFromUrl.d.ts +1 -1
  211. package/api/types/HumanReviewStepDefinition.d.ts +1 -1
  212. package/api/types/LegacyClassificationAdvancedOptions.d.ts +1 -1
  213. package/api/types/LegacyClassificationConfig.d.ts +2 -2
  214. package/api/types/LegacyClassificationConfigBaseProcessor.d.ts +1 -1
  215. package/api/types/LegacyClassificationConfigBaseProcessor.js +1 -1
  216. package/api/types/LegacyDocumentProcessorRunCredits.d.ts +2 -2
  217. package/api/types/LegacyExtractionAdvancedOptions.d.ts +2 -2
  218. package/api/types/LegacyExtractionAdvancedOptionsReviewAgent.d.ts +1 -1
  219. package/api/types/LegacyExtractionConfig.d.ts +3 -3
  220. package/api/types/LegacyExtractionConfigBaseProcessor.d.ts +1 -1
  221. package/api/types/LegacyExtractionConfigBaseProcessor.js +1 -1
  222. package/api/types/LegacyJsonOutputMetadataValue.d.ts +1 -1
  223. package/api/types/LegacySplitterAdvancedOptions.d.ts +1 -1
  224. package/api/types/LegacySplitterConfig.d.ts +2 -2
  225. package/api/types/LegacySplitterConfigBaseProcessor.d.ts +1 -1
  226. package/api/types/LegacySplitterConfigBaseProcessor.js +1 -1
  227. package/api/types/MergeExtractStepDefinition.d.ts +1 -1
  228. package/api/types/MergeExtractStepDefinitionConfig.d.ts +1 -1
  229. package/api/types/MergeExtractStepDefinitionConfigMergeOrder.d.ts +1 -1
  230. package/api/types/MergeExtractStepDefinitionConfigMergeOrder.js +1 -1
  231. package/api/types/PageRanges.d.ts +1 -1
  232. package/api/types/ParseConfig.d.ts +2 -2
  233. package/api/types/ParseConfigEngine.d.ts +1 -1
  234. package/api/types/ParseConfigEngine.js +1 -1
  235. package/api/types/ParseConfigTarget.d.ts +1 -1
  236. package/api/types/ParseConfigTarget.js +1 -1
  237. package/api/types/ParseStepDefinition.d.ts +1 -1
  238. package/api/types/RuleValidationNextEntry.d.ts +1 -1
  239. package/api/types/RuleValidationStepDefinition.d.ts +2 -2
  240. package/api/types/RuleValidationStepDefinitionConfig.d.ts +1 -1
  241. package/api/types/RuleValidationStepDefinitionConfigRulesItem.d.ts +1 -1
  242. package/api/types/RunUsage.d.ts +1 -1
  243. package/api/types/RunUsageSummary.d.ts +1 -1
  244. package/api/types/SplitBaseProcessor.d.ts +1 -1
  245. package/api/types/SplitBaseProcessor.js +1 -1
  246. package/api/types/SplitConfig.d.ts +1 -1
  247. package/api/types/SplitOverrideConfig.d.ts +1 -1
  248. package/api/types/SplitRun.d.ts +9 -9
  249. package/api/types/SplitRunSummary.d.ts +2 -2
  250. package/api/types/SplitStepDefinition.d.ts +3 -3
  251. package/api/types/SplitStepDefinitionConfig.d.ts +1 -1
  252. package/api/types/StepRun.d.ts +28 -2
  253. package/api/types/TriggerStepDefinition.d.ts +1 -1
  254. package/api/types/WebhookResponseStepDefinition.d.ts +1 -1
  255. package/api/types/WorkflowStepDefinition.d.ts +1 -1
  256. package/api/types/index.d.ts +2 -0
  257. package/api/types/index.js +2 -0
  258. package/auth/BearerAuthProvider.d.ts +1 -1
  259. package/auth/BearerAuthProvider.js +6 -3
  260. package/package.json +2 -1
  261. package/reference.md +162 -45
  262. package/version.d.ts +1 -1
  263. package/version.js +1 -1
@@ -4,7 +4,7 @@ import type * as Extend from "../../../../index";
4
4
  * {}
5
5
  */
6
6
  export interface ProcessorUpdateRequest {
7
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
7
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
8
8
  "x-extend-workspace-id"?: string;
9
9
  /** The new name for the processor */
10
10
  name?: string;
@@ -9,7 +9,7 @@ export declare namespace ProcessorRunClient {
9
9
  }
10
10
  export declare class ProcessorRunClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<ProcessorRunClient.Options>;
12
- constructor(options: ProcessorRunClient.Options);
12
+ constructor(options?: ProcessorRunClient.Options);
13
13
  /**
14
14
  * List runs of a Processor. A ProcessorRun represents a single execution of a processor against a file.
15
15
  *
@@ -34,8 +34,8 @@ export declare class ProcessorRunClient {
34
34
  * - **Synchronous**: Set `sync: true` to wait for completion and get final results in the response (5-minute timeout).
35
35
  *
36
36
  * **For asynchronous processing:**
37
- * - You can [configure webhooks](https://docs.extend.ai/2026-02-09/product/webhooks/configuration) to receive notifications when a processor run is complete or failed.
38
- * - Or you can [poll the get endpoint](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/legacy/get-processor-run) for updates on the status of the processor run.
37
+ * - You can [configure webhooks](https://docs.extend.ai/2026-02-09/webhooks/configuration) to receive notifications when a processor run is complete or failed.
38
+ * - Or you can [poll the get endpoint](https://docs.extend.ai/2026-02-09/api-reference/endpoints/legacy/get-processor-run) for updates on the status of the processor run.
39
39
  *
40
40
  * @param {Extend.ProcessorRunCreateRequest} request
41
41
  * @param {ProcessorRunClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -55,7 +55,7 @@ export declare class ProcessorRunClient {
55
55
  /**
56
56
  * Retrieve details about a specific processor run, including its status, outputs, and any edits made during review.
57
57
  *
58
- * A common use case for this endpoint is to poll for the status and final output of an async processor run when using the [Run Processor](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/legacy/create-processor-run) endpoint. For instance, if you do not want to not configure webhooks to receive the output via completion/failure events.
58
+ * A common use case for this endpoint is to poll for the status and final output of an async processor run when using the [Run Processor](https://docs.extend.ai/2026-02-09/api-reference/endpoints/legacy/create-processor-run) endpoint. For instance, if you do not want to not configure webhooks to receive the output via completion/failure events.
59
59
  *
60
60
  * @param {string} id - The unique identifier for this processor run.
61
61
  *
@@ -52,7 +52,7 @@ const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCo
52
52
  const errors = __importStar(require("../../../../errors/index"));
53
53
  const Extend = __importStar(require("../../../index"));
54
54
  class ProcessorRunClient {
55
- constructor(options) {
55
+ constructor(options = {}) {
56
56
  this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
57
57
  }
58
58
  /**
@@ -132,8 +132,8 @@ class ProcessorRunClient {
132
132
  * - **Synchronous**: Set `sync: true` to wait for completion and get final results in the response (5-minute timeout).
133
133
  *
134
134
  * **For asynchronous processing:**
135
- * - You can [configure webhooks](https://docs.extend.ai/2026-02-09/product/webhooks/configuration) to receive notifications when a processor run is complete or failed.
136
- * - Or you can [poll the get endpoint](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/legacy/get-processor-run) for updates on the status of the processor run.
135
+ * - You can [configure webhooks](https://docs.extend.ai/2026-02-09/webhooks/configuration) to receive notifications when a processor run is complete or failed.
136
+ * - Or you can [poll the get endpoint](https://docs.extend.ai/2026-02-09/api-reference/endpoints/legacy/get-processor-run) for updates on the status of the processor run.
137
137
  *
138
138
  * @param {Extend.ProcessorRunCreateRequest} request
139
139
  * @param {ProcessorRunClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -197,7 +197,7 @@ class ProcessorRunClient {
197
197
  /**
198
198
  * Retrieve details about a specific processor run, including its status, outputs, and any edits made during review.
199
199
  *
200
- * A common use case for this endpoint is to poll for the status and final output of an async processor run when using the [Run Processor](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/legacy/create-processor-run) endpoint. For instance, if you do not want to not configure webhooks to receive the output via completion/failure events.
200
+ * A common use case for this endpoint is to poll for the status and final output of an async processor run when using the [Run Processor](https://docs.extend.ai/2026-02-09/api-reference/endpoints/legacy/create-processor-run) endpoint. For instance, if you do not want to not configure webhooks to receive the output via completion/failure events.
201
201
  *
202
202
  * @param {string} id - The unique identifier for this processor run.
203
203
  *
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface ProcessorRunCancelRequest {
6
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
6
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
7
7
  "x-extend-workspace-id"?: string;
8
8
  }
@@ -14,12 +14,12 @@ export interface ProcessorRunCreateRequest {
14
14
  * - Specific version numbers corresponding to versions your team has published, e.g. `"1.0"`, `"2.2"`, etc.
15
15
  */
16
16
  version?: string;
17
- /** The file to be processed. One of `file` or `rawText` must be provided. Supported file types can be found [here](https://docs.extend.ai/2026-02-09/product/general/supported-file-types). */
17
+ /** The file to be processed. One of `file` or `rawText` must be provided. Supported file types can be found [here](https://docs.extend.ai/2026-02-09/general/supported-file-types). */
18
18
  file?: Extend.LegacyProcessorRunFileInput;
19
19
  /** A raw string to be processed. Can be used in place of file when passing raw text data streams. One of `file` or `rawText` must be provided. */
20
20
  rawText?: string;
21
21
  /**
22
- * Whether to run the processor synchronously. When `true`, the request will wait for the processor run to complete and return the final results. When `false` (default), the request returns immediately with a `PROCESSING` status, and you can poll for completion or use webhooks. For production use cases, we recommending leaving sync off and building around an async integration for more resiliency, unless your use case is predictably fast (e.g. sub < 30 seconds) run time or otherwise have integration constraints that require a synchronous API. See [Async Processing](https://docs.extend.ai/2026-02-09/developers/async-processing) for more details.
22
+ * Whether to run the processor synchronously. When `true`, the request will wait for the processor run to complete and return the final results. When `false` (default), the request returns immediately with a `PROCESSING` status, and you can poll for completion or use webhooks. For production use cases, we recommending leaving sync off and building around an async integration for more resiliency, unless your use case is predictably fast (e.g. sub < 30 seconds) run time or otherwise have integration constraints that require a synchronous API. See [Async Processing](https://docs.extend.ai/2026-02-09/general/async-processing) for more details.
23
23
  *
24
24
  * **Timeout**: Synchronous requests have a 5-minute timeout. If the processor run takes longer, it will continue processing asynchronously and you can retrieve the results via the GET endpoint.
25
25
  */
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface ProcessorRunDeleteRequest {
6
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
6
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
7
7
  "x-extend-workspace-id"?: string;
8
8
  }
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface ProcessorRunGetRequest {
6
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
6
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
7
7
  "x-extend-workspace-id"?: string;
8
8
  }
@@ -60,6 +60,6 @@ export interface ProcessorRunListRequest {
60
60
  sortDir?: Extend.LegacySortDirEnum;
61
61
  nextPageToken?: Extend.LegacyNextPageToken;
62
62
  maxPageSize?: Extend.LegacyMaxPageSize;
63
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
63
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
64
64
  "x-extend-workspace-id"?: string;
65
65
  }
@@ -9,7 +9,7 @@ export declare namespace ProcessorVersionClient {
9
9
  }
10
10
  export declare class ProcessorVersionClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<ProcessorVersionClient.Options>;
12
- constructor(options: ProcessorVersionClient.Options);
12
+ constructor(options?: ProcessorVersionClient.Options);
13
13
  /**
14
14
  * This endpoint allows you to fetch all versions of a given processor, including the current `draft` version.
15
15
  *
@@ -63,7 +63,7 @@ const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCo
63
63
  const errors = __importStar(require("../../../../errors/index"));
64
64
  const Extend = __importStar(require("../../../index"));
65
65
  class ProcessorVersionClient {
66
- constructor(options) {
66
+ constructor(options = {}) {
67
67
  this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
68
68
  }
69
69
  /**
@@ -6,7 +6,7 @@ import type * as Extend from "../../../../index";
6
6
  * }
7
7
  */
8
8
  export interface ProcessorVersionCreateRequest {
9
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
9
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
10
10
  "x-extend-workspace-id"?: string;
11
11
  /** The type of release for this version. The two options are "major" and "minor", which will increment the version number accordingly. */
12
12
  releaseType: Extend.ProcessorVersionCreateRequestReleaseType;
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface ProcessorVersionGetRequest {
6
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
6
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
7
7
  "x-extend-workspace-id"?: string;
8
8
  }
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface ProcessorVersionListRequest {
6
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
6
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
7
7
  "x-extend-workspace-id"?: string;
8
8
  }
@@ -9,7 +9,7 @@ export declare namespace SplitRunsClient {
9
9
  }
10
10
  export declare class SplitRunsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<SplitRunsClient.Options>;
12
- constructor(options: SplitRunsClient.Options);
12
+ constructor(options?: SplitRunsClient.Options);
13
13
  /**
14
14
  * List all split runs.
15
15
  *
@@ -66,7 +66,7 @@ export declare class SplitRunsClient {
66
66
  /**
67
67
  * Retrieve details about a specific split run, including its status and outputs.
68
68
  *
69
- * A common use case for this endpoint is to poll for the status and final output of a split run when using the [Create Split Run](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/split/create-split-run) endpoint. For instance, if you do not want to not configure webhooks to receive the output via completion/failure events.
69
+ * A common use case for this endpoint is to poll for the status and final output of a split run when using the [Create Split Run](https://docs.extend.ai/2026-02-09/api-reference/endpoints/split/create-split-run) endpoint. For instance, if you do not want to not configure webhooks to receive the output via completion/failure events.
70
70
  *
71
71
  * @param {string} id - The unique identifier for this split run.
72
72
  *
@@ -139,7 +139,7 @@ export declare class SplitRunsClient {
139
139
  /**
140
140
  * Submit up to **1,000 files** for splitting in a single request. Each file is processed as an independent split run using the same splitter and configuration.
141
141
  *
142
- * Unlike the single [Split File (Async)](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/split/create-split-run) endpoint, this batch endpoint accepts an `inputs` array and immediately returns a `BatchRun` object containing a batch `id` and a `PENDING` status. The individual runs are then queued and processed asynchronously.
142
+ * Unlike the single [Split File (Async)](https://docs.extend.ai/2026-02-09/api-reference/endpoints/split/create-split-run) endpoint, this batch endpoint accepts an `inputs` array and immediately returns a `BatchRun` object containing a batch `id` and a `PENDING` status. The individual runs are then queued and processed asynchronously.
143
143
  *
144
144
  * **Monitoring results:**
145
145
  * - **Webhooks (recommended):** Subscribe to `batch_processor_run.processed` and `batch_processor_run.failed` events. The webhook payload indicates the batch has finished — fetch individual run results using `GET /split_runs?batchId={id}`.
@@ -52,7 +52,7 @@ const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCo
52
52
  const errors = __importStar(require("../../../../errors/index"));
53
53
  const Extend = __importStar(require("../../../index"));
54
54
  class SplitRunsClient {
55
- constructor(options) {
55
+ constructor(options = {}) {
56
56
  this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
57
57
  }
58
58
  /**
@@ -228,7 +228,7 @@ class SplitRunsClient {
228
228
  /**
229
229
  * Retrieve details about a specific split run, including its status and outputs.
230
230
  *
231
- * A common use case for this endpoint is to poll for the status and final output of a split run when using the [Create Split Run](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/split/create-split-run) endpoint. For instance, if you do not want to not configure webhooks to receive the output via completion/failure events.
231
+ * A common use case for this endpoint is to poll for the status and final output of a split run when using the [Create Split Run](https://docs.extend.ai/2026-02-09/api-reference/endpoints/split/create-split-run) endpoint. For instance, if you do not want to not configure webhooks to receive the output via completion/failure events.
232
232
  *
233
233
  * @param {string} id - The unique identifier for this split run.
234
234
  *
@@ -460,7 +460,7 @@ class SplitRunsClient {
460
460
  /**
461
461
  * Submit up to **1,000 files** for splitting in a single request. Each file is processed as an independent split run using the same splitter and configuration.
462
462
  *
463
- * Unlike the single [Split File (Async)](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/split/create-split-run) endpoint, this batch endpoint accepts an `inputs` array and immediately returns a `BatchRun` object containing a batch `id` and a `PENDING` status. The individual runs are then queued and processed asynchronously.
463
+ * Unlike the single [Split File (Async)](https://docs.extend.ai/2026-02-09/api-reference/endpoints/split/create-split-run) endpoint, this batch endpoint accepts an `inputs` array and immediately returns a `BatchRun` object containing a batch `id` and a `PENDING` status. The individual runs are then queued and processed asynchronously.
464
464
  *
465
465
  * **Monitoring results:**
466
466
  * - **Webhooks (recommended):** Subscribe to `batch_processor_run.processed` and `batch_processor_run.failed` events. The webhook payload indicates the batch has finished — fetch individual run results using `GET /split_runs?batchId={id}`.
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface SplitRunsCancelRequest {
6
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
6
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
7
7
  "x-extend-workspace-id"?: string;
8
8
  }
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface SplitRunsDeleteRequest {
6
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
6
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
7
7
  "x-extend-workspace-id"?: string;
8
8
  }
@@ -33,6 +33,6 @@ export interface SplitRunsListRequest {
33
33
  sortDir?: Extend.SortDir;
34
34
  nextPageToken?: Extend.NextPageToken;
35
35
  maxPageSize?: Extend.MaxPageSize;
36
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
36
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
37
37
  "x-extend-workspace-id"?: string;
38
38
  }
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface SplitRunsRetrieveRequest {
6
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
6
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
7
7
  "x-extend-workspace-id"?: string;
8
8
  }
@@ -9,7 +9,7 @@ export declare namespace SplitterVersionsClient {
9
9
  }
10
10
  export declare class SplitterVersionsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<SplitterVersionsClient.Options>;
12
- constructor(options: SplitterVersionsClient.Options);
12
+ constructor(options?: SplitterVersionsClient.Options);
13
13
  /**
14
14
  * This endpoint allows you to fetch all versions of a given splitter, including the current `draft` version.
15
15
  *
@@ -63,7 +63,7 @@ const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCo
63
63
  const errors = __importStar(require("../../../../errors/index"));
64
64
  const Extend = __importStar(require("../../../index"));
65
65
  class SplitterVersionsClient {
66
- constructor(options) {
66
+ constructor(options = {}) {
67
67
  this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
68
68
  }
69
69
  /**
@@ -7,7 +7,7 @@ import type * as Extend from "../../../../index";
7
7
  * }
8
8
  */
9
9
  export interface SplitterVersionsCreateRequest {
10
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
10
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
11
11
  "x-extend-workspace-id"?: string;
12
12
  releaseType: Extend.ReleaseType;
13
13
  description?: Extend.VersionDescription;
@@ -9,6 +9,6 @@ export interface SplitterVersionsListRequest {
9
9
  sortDir?: Extend.SortDir;
10
10
  nextPageToken?: Extend.NextPageToken;
11
11
  maxPageSize?: Extend.MaxPageSize;
12
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
12
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
13
13
  "x-extend-workspace-id"?: string;
14
14
  }
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface SplitterVersionsRetrieveRequest {
6
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
6
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
7
7
  "x-extend-workspace-id"?: string;
8
8
  }
@@ -9,7 +9,7 @@ export declare namespace SplittersClient {
9
9
  }
10
10
  export declare class SplittersClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<SplittersClient.Options>;
12
- constructor(options: SplittersClient.Options);
12
+ constructor(options?: SplittersClient.Options);
13
13
  /**
14
14
  * List all splitters.
15
15
  *
@@ -63,7 +63,7 @@ const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCo
63
63
  const errors = __importStar(require("../../../../errors/index"));
64
64
  const Extend = __importStar(require("../../../index"));
65
65
  class SplittersClient {
66
- constructor(options) {
66
+ constructor(options = {}) {
67
67
  this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
68
68
  }
69
69
  /**
@@ -10,6 +10,6 @@ export interface SplittersListRequest {
10
10
  maxPageSize?: Extend.MaxPageSize;
11
11
  sortBy?: Extend.SortBy;
12
12
  sortDir?: Extend.SortDir;
13
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
13
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
14
14
  "x-extend-workspace-id"?: string;
15
15
  }
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface SplittersRetrieveRequest {
6
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
6
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
7
7
  "x-extend-workspace-id"?: string;
8
8
  }
@@ -6,7 +6,7 @@ import type * as Extend from "../../../../index";
6
6
  * }
7
7
  */
8
8
  export interface SplittersUpdateRequest {
9
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
9
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
10
10
  "x-extend-workspace-id"?: string;
11
11
  /** The new name of the splitter. */
12
12
  name?: string;
@@ -9,7 +9,7 @@ export declare namespace WebhookEndpointsClient {
9
9
  }
10
10
  export declare class WebhookEndpointsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<WebhookEndpointsClient.Options>;
12
- constructor(options: WebhookEndpointsClient.Options);
12
+ constructor(options?: WebhookEndpointsClient.Options);
13
13
  /**
14
14
  * List all webhook endpoints.
15
15
  *
@@ -35,9 +35,9 @@ export declare class WebhookEndpointsClient {
35
35
  /**
36
36
  * Create a new webhook endpoint. The response includes a `signingSecret` that is only returned once — store it securely for verifying webhook signatures.
37
37
  *
38
- * The `enabledEvents` array specifies which global event types this endpoint should receive. Use the [Webhook Events](https://docs.extend.ai/2026-02-09/developers/api-reference/webhook-events) reference to see available event types.
38
+ * The `enabledEvents` array specifies which global event types this endpoint should receive. Use the [Webhook Events](https://docs.extend.ai/2026-02-09/api-reference/webhook-events) reference to see available event types.
39
39
  *
40
- * To subscribe to events scoped to a specific resource (e.g., a single extractor or workflow), use [Create Webhook Subscription](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/webhook/create-webhook-subscription) after creating the endpoint.
40
+ * To subscribe to events scoped to a specific resource (e.g., a single extractor or workflow), use [Create Webhook Subscription](https://docs.extend.ai/2026-02-09/api-reference/endpoints/webhook/create-webhook-subscription) after creating the endpoint.
41
41
  *
42
42
  * @param {Extend.WebhookEndpointsCreateRequest} request
43
43
  * @param {WebhookEndpointsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -63,7 +63,7 @@ const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCo
63
63
  const errors = __importStar(require("../../../../errors/index"));
64
64
  const Extend = __importStar(require("../../../index"));
65
65
  class WebhookEndpointsClient {
66
- constructor(options) {
66
+ constructor(options = {}) {
67
67
  this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
68
68
  }
69
69
  /**
@@ -150,9 +150,9 @@ class WebhookEndpointsClient {
150
150
  /**
151
151
  * Create a new webhook endpoint. The response includes a `signingSecret` that is only returned once — store it securely for verifying webhook signatures.
152
152
  *
153
- * The `enabledEvents` array specifies which global event types this endpoint should receive. Use the [Webhook Events](https://docs.extend.ai/2026-02-09/developers/api-reference/webhook-events) reference to see available event types.
153
+ * The `enabledEvents` array specifies which global event types this endpoint should receive. Use the [Webhook Events](https://docs.extend.ai/2026-02-09/api-reference/webhook-events) reference to see available event types.
154
154
  *
155
- * To subscribe to events scoped to a specific resource (e.g., a single extractor or workflow), use [Create Webhook Subscription](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/webhook/create-webhook-subscription) after creating the endpoint.
155
+ * To subscribe to events scoped to a specific resource (e.g., a single extractor or workflow), use [Create Webhook Subscription](https://docs.extend.ai/2026-02-09/api-reference/endpoints/webhook/create-webhook-subscription) after creating the endpoint.
156
156
  *
157
157
  * @param {Extend.WebhookEndpointsCreateRequest} request
158
158
  * @param {WebhookEndpointsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface WebhookEndpointsDeleteRequest {
6
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
6
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
7
7
  "x-extend-workspace-id"?: string;
8
8
  }
@@ -11,6 +11,6 @@ export interface WebhookEndpointsListRequest {
11
11
  sortDir?: Extend.SortDir;
12
12
  nextPageToken?: Extend.NextPageToken;
13
13
  maxPageSize?: Extend.MaxPageSize;
14
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
14
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
15
15
  "x-extend-workspace-id"?: string;
16
16
  }
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface WebhookEndpointsRetrieveRequest {
6
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
6
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
7
7
  "x-extend-workspace-id"?: string;
8
8
  }
@@ -4,7 +4,7 @@ import type * as Extend from "../../../../index";
4
4
  * {}
5
5
  */
6
6
  export interface WebhookEndpointsUpdateRequest {
7
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
7
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
8
8
  "x-extend-workspace-id"?: string;
9
9
  /** The URL that webhook events will be sent to. */
10
10
  url?: string;
@@ -9,7 +9,7 @@ export declare namespace WebhookSubscriptionsClient {
9
9
  }
10
10
  export declare class WebhookSubscriptionsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<WebhookSubscriptionsClient.Options>;
12
- constructor(options: WebhookSubscriptionsClient.Options);
12
+ constructor(options?: WebhookSubscriptionsClient.Options);
13
13
  /**
14
14
  * List webhook subscriptions. You can filter by `webhookEndpointId` to see all subscriptions for a given endpoint, or by `resourceId` to see all subscriptions for a given resource.
15
15
  *
@@ -63,7 +63,7 @@ const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCo
63
63
  const errors = __importStar(require("../../../../errors/index"));
64
64
  const Extend = __importStar(require("../../../index"));
65
65
  class WebhookSubscriptionsClient {
66
- constructor(options) {
66
+ constructor(options = {}) {
67
67
  this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
68
68
  }
69
69
  /**
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface WebhookSubscriptionsDeleteRequest {
6
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
6
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
7
7
  "x-extend-workspace-id"?: string;
8
8
  }
@@ -13,6 +13,6 @@ export interface WebhookSubscriptionsListRequest {
13
13
  sortDir?: Extend.SortDir;
14
14
  nextPageToken?: Extend.NextPageToken;
15
15
  maxPageSize?: Extend.MaxPageSize;
16
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
16
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
17
17
  "x-extend-workspace-id"?: string;
18
18
  }
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface WebhookSubscriptionsRetrieveRequest {
6
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
6
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
7
7
  "x-extend-workspace-id"?: string;
8
8
  }
@@ -6,7 +6,7 @@ import type * as Extend from "../../../../index";
6
6
  * }
7
7
  */
8
8
  export interface WebhookSubscriptionsUpdateRequest {
9
- /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes. */
9
+ /** The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/api-reference/authentication) for details on API key scopes. */
10
10
  "x-extend-workspace-id"?: string;
11
11
  /** The event types to subscribe to. Must be valid for the subscription's resource type. */
12
12
  enabledEvents: Extend.WebhookSubscriptionEventType[];
@@ -9,7 +9,7 @@ export declare namespace WorkflowRunsClient {
9
9
  }
10
10
  export declare class WorkflowRunsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<WorkflowRunsClient.Options>;
12
- constructor(options: WorkflowRunsClient.Options);
12
+ constructor(options?: WorkflowRunsClient.Options);
13
13
  /**
14
14
  * List runs of a Workflow. Workflows are sequences of steps that process files and data in a specific order to achieve a desired outcome. A WorkflowRun represents a single execution of a workflow against a file.
15
15
  *
@@ -166,17 +166,17 @@ export declare class WorkflowRunsClient {
166
166
  /**
167
167
  * This endpoint allows you to efficiently initiate large batches of workflow runs in a single request (up to 1,000 in a single request, but you can queue up multiple batches in rapid succession). It accepts an array of inputs, each containing a file and metadata pair. The primary use case for this endpoint is for doing large bulk runs of >1000 files at a time that can process over the course of a few hours without needing to manage rate limits that would likely occur using the primary run endpoint.
168
168
  *
169
- * Unlike the single [Run Workflow](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/workflow/create-workflow-run) endpoint which returns the details of the created workflow runs immediately, this batch endpoint returns a `batchId`.
169
+ * Unlike the single [Run Workflow](https://docs.extend.ai/2026-02-09/api-reference/endpoints/workflow/create-workflow-run) endpoint which returns the details of the created workflow runs immediately, this batch endpoint returns a `batchId`.
170
170
  *
171
- * Our recommended usage pattern is to integrate with [Webhooks](https://docs.extend.ai/2026-02-09/product/webhooks/configuration) for consuming results, using the `metadata` and `batchId` to match up results to the original inputs in your downstream systems. However, you can integrate in a polling mechanism by using a combination of the [List Workflow Runs](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/workflow/list-workflow-runs) endpoint to fetch all runs via a batch, and then [Get Workflow Run](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/workflow/get-workflow-run) to fetch the full outputs each run.
171
+ * Our recommended usage pattern is to integrate with [Webhooks](https://docs.extend.ai/2026-02-09/webhooks/configuration) for consuming results, using the `metadata` and `batchId` to match up results to the original inputs in your downstream systems. However, you can integrate in a polling mechanism by using a combination of the [List Workflow Runs](https://docs.extend.ai/2026-02-09/api-reference/endpoints/workflow/list-workflow-runs) endpoint to fetch all runs via a batch, and then [Get Workflow Run](https://docs.extend.ai/2026-02-09/api-reference/endpoints/workflow/get-workflow-run) to fetch the full outputs each run.
172
172
  *
173
173
  * **Priority:** All workflow runs created through this batch endpoint are automatically assigned a priority of 90.
174
174
  *
175
175
  * **Processing and Monitoring:**
176
176
  * Upon successful submission, the endpoint returns a `batchId`. The individual workflow runs are then queued for processing.
177
177
  *
178
- * - **Monitoring:** Track the progress and consume results of individual runs using [Webhooks](https://docs.extend.ai/2026-02-09/product/webhooks/configuration). Subscribe to events like `workflow_run.completed`, `workflow_run.failed`, etc. The webhook payload for these events will include the corresponding `batchId` and the `metadata` you provided for each input.
179
- * - **Fetching Results:** You can also use the [List Workflow Runs](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/workflow/list-workflow-runs) endpoint and filter using the `batchId` query param.
178
+ * - **Monitoring:** Track the progress and consume results of individual runs using [Webhooks](https://docs.extend.ai/2026-02-09/webhooks/configuration). Subscribe to events like `workflow_run.completed`, `workflow_run.failed`, etc. The webhook payload for these events will include the corresponding `batchId` and the `metadata` you provided for each input.
179
+ * - **Fetching Results:** You can also use the [List Workflow Runs](https://docs.extend.ai/2026-02-09/api-reference/endpoints/workflow/list-workflow-runs) endpoint and filter using the `batchId` query param.
180
180
  *
181
181
  * @param {Extend.WorkflowRunsCreateBatchRequest} request
182
182
  * @param {WorkflowRunsClient.RequestOptions} requestOptions - Request-specific configuration.