extend-ai 1.11.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 (242) hide show
  1. package/BaseClient.js +2 -2
  2. package/Client.d.ts +32 -13
  3. package/Client.js +32 -13
  4. package/LICENSE +21 -0
  5. package/api/client/requests/ExtractRequest.d.ts +21 -2
  6. package/api/client/requests/ParseRequest.d.ts +1 -1
  7. package/api/resources/batchProcessorRun/client/Client.d.ts +2 -2
  8. package/api/resources/batchProcessorRun/client/Client.js +2 -2
  9. package/api/resources/batchProcessorRun/client/requests/BatchProcessorRunGetRequest.d.ts +1 -1
  10. package/api/resources/batchRuns/client/Client.d.ts +1 -1
  11. package/api/resources/batchRuns/client/Client.js +1 -1
  12. package/api/resources/classifierVersions/client/Client.d.ts +1 -1
  13. package/api/resources/classifierVersions/client/Client.js +1 -1
  14. package/api/resources/classifierVersions/client/requests/ClassifierVersionsCreateRequest.d.ts +1 -1
  15. package/api/resources/classifierVersions/client/requests/ClassifierVersionsListRequest.d.ts +1 -1
  16. package/api/resources/classifierVersions/client/requests/ClassifierVersionsRetrieveRequest.d.ts +1 -1
  17. package/api/resources/classifiers/client/Client.d.ts +1 -1
  18. package/api/resources/classifiers/client/Client.js +1 -1
  19. package/api/resources/classifiers/client/requests/ClassifiersListRequest.d.ts +1 -1
  20. package/api/resources/classifiers/client/requests/ClassifiersRetrieveRequest.d.ts +1 -1
  21. package/api/resources/classifiers/client/requests/ClassifiersUpdateRequest.d.ts +1 -1
  22. package/api/resources/classifyRuns/client/Client.d.ts +3 -3
  23. package/api/resources/classifyRuns/client/Client.js +3 -3
  24. package/api/resources/classifyRuns/client/requests/ClassifyRunsCancelRequest.d.ts +1 -1
  25. package/api/resources/classifyRuns/client/requests/ClassifyRunsDeleteRequest.d.ts +1 -1
  26. package/api/resources/classifyRuns/client/requests/ClassifyRunsListRequest.d.ts +1 -1
  27. package/api/resources/classifyRuns/client/requests/ClassifyRunsRetrieveRequest.d.ts +1 -1
  28. package/api/resources/editRuns/client/Client.d.ts +2 -2
  29. package/api/resources/editRuns/client/Client.js +2 -2
  30. package/api/resources/editRuns/client/requests/EditRunsDeleteRequest.d.ts +1 -1
  31. package/api/resources/editRuns/client/requests/EditRunsRetrieveRequest.d.ts +1 -1
  32. package/api/resources/editSchemas/client/Client.d.ts +2 -2
  33. package/api/resources/editSchemas/client/Client.js +2 -2
  34. package/api/resources/editTemplates/client/Client.d.ts +1 -1
  35. package/api/resources/editTemplates/client/Client.js +1 -1
  36. package/api/resources/editTemplates/client/requests/EditTemplatesRetrieveRequest.d.ts +1 -1
  37. package/api/resources/evaluationSetItems/client/Client.d.ts +3 -3
  38. package/api/resources/evaluationSetItems/client/Client.js +3 -3
  39. package/api/resources/evaluationSetItems/client/requests/EvaluationSetItemsCreateRequest.d.ts +1 -1
  40. package/api/resources/evaluationSetItems/client/requests/EvaluationSetItemsDeleteRequest.d.ts +1 -1
  41. package/api/resources/evaluationSetItems/client/requests/EvaluationSetItemsListRequest.d.ts +1 -1
  42. package/api/resources/evaluationSetItems/client/requests/EvaluationSetItemsRetrieveRequest.d.ts +1 -1
  43. package/api/resources/evaluationSetItems/client/requests/EvaluationSetItemsUpdateRequest.d.ts +1 -1
  44. package/api/resources/evaluationSetRuns/client/Client.d.ts +3 -3
  45. package/api/resources/evaluationSetRuns/client/Client.js +3 -3
  46. package/api/resources/evaluationSetRuns/client/requests/EvaluationSetRunsCreateRequest.d.ts +1 -1
  47. package/api/resources/evaluationSetRuns/client/requests/EvaluationSetRunsRetrieveRequest.d.ts +1 -1
  48. package/api/resources/evaluationSets/client/Client.d.ts +4 -4
  49. package/api/resources/evaluationSets/client/Client.js +4 -4
  50. package/api/resources/evaluationSets/client/requests/EvaluationSetsListRequest.d.ts +1 -1
  51. package/api/resources/evaluationSets/client/requests/EvaluationSetsRetrieveRequest.d.ts +1 -1
  52. package/api/resources/extractRuns/client/Client.d.ts +3 -3
  53. package/api/resources/extractRuns/client/Client.js +3 -3
  54. package/api/resources/extractRuns/client/requests/ExtractRunsCancelRequest.d.ts +1 -1
  55. package/api/resources/extractRuns/client/requests/ExtractRunsDeleteRequest.d.ts +1 -1
  56. package/api/resources/extractRuns/client/requests/ExtractRunsListRequest.d.ts +1 -1
  57. package/api/resources/extractRuns/client/requests/ExtractRunsRetrieveRequest.d.ts +1 -1
  58. package/api/resources/extractorVersions/client/Client.d.ts +1 -1
  59. package/api/resources/extractorVersions/client/Client.js +1 -1
  60. package/api/resources/extractorVersions/client/requests/ExtractorVersionsCreateRequest.d.ts +1 -1
  61. package/api/resources/extractorVersions/client/requests/ExtractorVersionsListRequest.d.ts +1 -1
  62. package/api/resources/extractorVersions/client/requests/ExtractorVersionsRetrieveRequest.d.ts +1 -1
  63. package/api/resources/extractors/client/Client.d.ts +22 -6
  64. package/api/resources/extractors/client/Client.js +22 -6
  65. package/api/resources/extractors/client/requests/ExtractorsCreateRequest.d.ts +21 -5
  66. package/api/resources/extractors/client/requests/ExtractorsListRequest.d.ts +1 -1
  67. package/api/resources/extractors/client/requests/ExtractorsRetrieveRequest.d.ts +1 -1
  68. package/api/resources/extractors/client/requests/ExtractorsUpdateRequest.d.ts +1 -1
  69. package/api/resources/files/client/Client.d.ts +3 -3
  70. package/api/resources/files/client/Client.js +3 -3
  71. package/api/resources/files/client/requests/FilesDeleteRequest.d.ts +1 -1
  72. package/api/resources/files/client/requests/FilesListRequest.d.ts +1 -1
  73. package/api/resources/files/client/requests/FilesRetrieveRequest.d.ts +1 -1
  74. package/api/resources/files/client/requests/FilesUploadRequest.d.ts +1 -1
  75. package/api/resources/parseRuns/client/Client.d.ts +3 -3
  76. package/api/resources/parseRuns/client/Client.js +3 -3
  77. package/api/resources/parseRuns/client/requests/ParseRunsDeleteRequest.d.ts +1 -1
  78. package/api/resources/parseRuns/client/requests/ParseRunsListRequest.d.ts +1 -1
  79. package/api/resources/parseRuns/client/requests/ParseRunsRetrieveRequest.d.ts +1 -1
  80. package/api/resources/processor/client/Client.d.ts +1 -1
  81. package/api/resources/processor/client/Client.js +1 -1
  82. package/api/resources/processor/client/requests/ProcessorListRequest.d.ts +1 -1
  83. package/api/resources/processor/client/requests/ProcessorUpdateRequest.d.ts +1 -1
  84. package/api/resources/processorRun/client/Client.d.ts +4 -4
  85. package/api/resources/processorRun/client/Client.js +4 -4
  86. package/api/resources/processorRun/client/requests/ProcessorRunCancelRequest.d.ts +1 -1
  87. package/api/resources/processorRun/client/requests/ProcessorRunCreateRequest.d.ts +2 -2
  88. package/api/resources/processorRun/client/requests/ProcessorRunDeleteRequest.d.ts +1 -1
  89. package/api/resources/processorRun/client/requests/ProcessorRunGetRequest.d.ts +1 -1
  90. package/api/resources/processorRun/client/requests/ProcessorRunListRequest.d.ts +1 -1
  91. package/api/resources/processorVersion/client/Client.d.ts +1 -1
  92. package/api/resources/processorVersion/client/Client.js +1 -1
  93. package/api/resources/processorVersion/client/requests/ProcessorVersionCreateRequest.d.ts +1 -1
  94. package/api/resources/processorVersion/client/requests/ProcessorVersionGetRequest.d.ts +1 -1
  95. package/api/resources/processorVersion/client/requests/ProcessorVersionListRequest.d.ts +1 -1
  96. package/api/resources/splitRuns/client/Client.d.ts +3 -3
  97. package/api/resources/splitRuns/client/Client.js +3 -3
  98. package/api/resources/splitRuns/client/requests/SplitRunsCancelRequest.d.ts +1 -1
  99. package/api/resources/splitRuns/client/requests/SplitRunsDeleteRequest.d.ts +1 -1
  100. package/api/resources/splitRuns/client/requests/SplitRunsListRequest.d.ts +1 -1
  101. package/api/resources/splitRuns/client/requests/SplitRunsRetrieveRequest.d.ts +1 -1
  102. package/api/resources/splitterVersions/client/Client.d.ts +1 -1
  103. package/api/resources/splitterVersions/client/Client.js +1 -1
  104. package/api/resources/splitterVersions/client/requests/SplitterVersionsCreateRequest.d.ts +1 -1
  105. package/api/resources/splitterVersions/client/requests/SplitterVersionsListRequest.d.ts +1 -1
  106. package/api/resources/splitterVersions/client/requests/SplitterVersionsRetrieveRequest.d.ts +1 -1
  107. package/api/resources/splitters/client/Client.d.ts +1 -1
  108. package/api/resources/splitters/client/Client.js +1 -1
  109. package/api/resources/splitters/client/requests/SplittersListRequest.d.ts +1 -1
  110. package/api/resources/splitters/client/requests/SplittersRetrieveRequest.d.ts +1 -1
  111. package/api/resources/splitters/client/requests/SplittersUpdateRequest.d.ts +1 -1
  112. package/api/resources/webhookEndpoints/client/Client.d.ts +3 -3
  113. package/api/resources/webhookEndpoints/client/Client.js +3 -3
  114. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsDeleteRequest.d.ts +1 -1
  115. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsListRequest.d.ts +1 -1
  116. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsRetrieveRequest.d.ts +1 -1
  117. package/api/resources/webhookEndpoints/client/requests/WebhookEndpointsUpdateRequest.d.ts +1 -1
  118. package/api/resources/webhookSubscriptions/client/Client.d.ts +1 -1
  119. package/api/resources/webhookSubscriptions/client/Client.js +1 -1
  120. package/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionsDeleteRequest.d.ts +1 -1
  121. package/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionsListRequest.d.ts +1 -1
  122. package/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionsRetrieveRequest.d.ts +1 -1
  123. package/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionsUpdateRequest.d.ts +1 -1
  124. package/api/resources/workflowRuns/client/Client.d.ts +5 -5
  125. package/api/resources/workflowRuns/client/Client.js +5 -5
  126. package/api/resources/workflowRuns/client/requests/WorkflowRunsCancelRequest.d.ts +1 -1
  127. package/api/resources/workflowRuns/client/requests/WorkflowRunsCreateRequest.d.ts +1 -1
  128. package/api/resources/workflowRuns/client/requests/WorkflowRunsDeleteRequest.d.ts +1 -1
  129. package/api/resources/workflowRuns/client/requests/WorkflowRunsListRequest.d.ts +2 -2
  130. package/api/resources/workflowRuns/client/requests/WorkflowRunsRetrieveRequest.d.ts +1 -1
  131. package/api/resources/workflowRuns/client/requests/WorkflowRunsUpdateRequest.d.ts +1 -1
  132. package/api/resources/workflowRuns/types/WorkflowRunsCreateRequestFile.d.ts +1 -1
  133. package/api/resources/workflowVersions/client/Client.d.ts +1 -1
  134. package/api/resources/workflowVersions/client/Client.js +1 -1
  135. package/api/resources/workflowVersions/client/requests/WorkflowVersionsCreateRequest.d.ts +1 -1
  136. package/api/resources/workflows/client/Client.d.ts +1 -1
  137. package/api/resources/workflows/client/Client.js +1 -1
  138. package/api/resources/workflows/client/requests/WorkflowsCreateRequest.d.ts +1 -1
  139. package/api/resources/workflows/client/requests/WorkflowsUpdateRequest.d.ts +1 -1
  140. package/api/types/ApiError.d.ts +1 -1
  141. package/api/types/BlockMetadata.d.ts +6 -0
  142. package/api/types/BlockMetadataSheet.d.ts +9 -0
  143. package/api/types/BlockMetadataSheet.js +3 -0
  144. package/api/types/ChunkMetadata.d.ts +4 -0
  145. package/api/types/ClassificationNextEntry.d.ts +1 -1
  146. package/api/types/ClassifyBaseProcessor.d.ts +1 -1
  147. package/api/types/ClassifyBaseProcessor.js +1 -1
  148. package/api/types/ClassifyConfig.d.ts +1 -1
  149. package/api/types/ClassifyOverrideConfig.d.ts +1 -1
  150. package/api/types/ClassifyRun.d.ts +2 -2
  151. package/api/types/ClassifyRunSummary.d.ts +2 -2
  152. package/api/types/ClassifyStepDefinition.d.ts +3 -3
  153. package/api/types/ClassifyStepDefinitionConfig.d.ts +1 -1
  154. package/api/types/CollectStepDefinition.d.ts +1 -1
  155. package/api/types/ConditionalExtractStepDefinition.d.ts +1 -1
  156. package/api/types/ConditionalExtractStepDefinitionConfig.d.ts +1 -1
  157. package/api/types/ConditionalExtractStepDefinitionConfigRulesItem.d.ts +1 -1
  158. package/api/types/ConditionalNextEntry.d.ts +1 -1
  159. package/api/types/ConditionalStepDefinition.d.ts +2 -2
  160. package/api/types/ConditionalStepDefinitionConfig.d.ts +1 -1
  161. package/api/types/ConditionalStepDefinitionConfigConditionsItem.d.ts +3 -3
  162. package/api/types/ConditionalStepDefinitionConfigConditionsItemOperation.d.ts +1 -1
  163. package/api/types/ConditionalStepDefinitionConfigConditionsItemOperation.js +1 -1
  164. package/api/types/EvaluationSetRun.d.ts +1 -1
  165. package/api/types/ExternalDataValidationStepDefinition.d.ts +1 -1
  166. package/api/types/ExternalDataValidationStepDefinitionConfig.d.ts +2 -2
  167. package/api/types/ExternalDataValidationStepDefinitionConfigFailureBehavior.d.ts +1 -1
  168. package/api/types/ExternalDataValidationStepDefinitionConfigFailureBehavior.js +1 -1
  169. package/api/types/ExternalDataValidationStepDefinitionConfigRequestOptions.d.ts +3 -3
  170. package/api/types/ExternalDataValidationStepDefinitionConfigRequestOptionsContentType.d.ts +1 -1
  171. package/api/types/ExternalDataValidationStepDefinitionConfigRequestOptionsContentType.js +1 -1
  172. package/api/types/ExtractAdvancedOptions.d.ts +1 -1
  173. package/api/types/ExtractAdvancedOptionsReviewAgent.d.ts +1 -1
  174. package/api/types/ExtractBaseProcessor.d.ts +1 -1
  175. package/api/types/ExtractBaseProcessor.js +1 -1
  176. package/api/types/ExtractConfigJson.d.ts +2 -2
  177. package/api/types/ExtractConfigLegacy.d.ts +2 -2
  178. package/api/types/ExtractConfigLegacyBaseProcessor.d.ts +1 -1
  179. package/api/types/ExtractConfigLegacyBaseProcessor.js +1 -1
  180. package/api/types/ExtractOutputMetadataValue.d.ts +1 -1
  181. package/api/types/ExtractOverrideConfigJson.d.ts +2 -2
  182. package/api/types/ExtractRun.d.ts +4 -4
  183. package/api/types/ExtractRunSummary.d.ts +2 -2
  184. package/api/types/ExtractStepDefinition.d.ts +1 -1
  185. package/api/types/ExtractorVersion.d.ts +1 -1
  186. package/api/types/FileConversionStepDefinition.d.ts +1 -1
  187. package/api/types/FileConversionStepDefinitionConfig.d.ts +1 -1
  188. package/api/types/FileConversionStepDefinitionConfigFailureBehavior.d.ts +1 -1
  189. package/api/types/FileConversionStepDefinitionConfigFailureBehavior.js +1 -1
  190. package/api/types/FileFromUrl.d.ts +1 -1
  191. package/api/types/HumanReviewStepDefinition.d.ts +1 -1
  192. package/api/types/LegacyClassificationAdvancedOptions.d.ts +1 -1
  193. package/api/types/LegacyClassificationConfig.d.ts +2 -2
  194. package/api/types/LegacyClassificationConfigBaseProcessor.d.ts +1 -1
  195. package/api/types/LegacyClassificationConfigBaseProcessor.js +1 -1
  196. package/api/types/LegacyDocumentProcessorRunCredits.d.ts +2 -2
  197. package/api/types/LegacyExtractionAdvancedOptions.d.ts +2 -2
  198. package/api/types/LegacyExtractionAdvancedOptionsReviewAgent.d.ts +1 -1
  199. package/api/types/LegacyExtractionConfig.d.ts +3 -3
  200. package/api/types/LegacyExtractionConfigBaseProcessor.d.ts +1 -1
  201. package/api/types/LegacyExtractionConfigBaseProcessor.js +1 -1
  202. package/api/types/LegacyJsonOutputMetadataValue.d.ts +1 -1
  203. package/api/types/LegacySplitterAdvancedOptions.d.ts +1 -1
  204. package/api/types/LegacySplitterConfig.d.ts +2 -2
  205. package/api/types/LegacySplitterConfigBaseProcessor.d.ts +1 -1
  206. package/api/types/LegacySplitterConfigBaseProcessor.js +1 -1
  207. package/api/types/MergeExtractStepDefinition.d.ts +1 -1
  208. package/api/types/MergeExtractStepDefinitionConfig.d.ts +1 -1
  209. package/api/types/MergeExtractStepDefinitionConfigMergeOrder.d.ts +1 -1
  210. package/api/types/MergeExtractStepDefinitionConfigMergeOrder.js +1 -1
  211. package/api/types/PageRanges.d.ts +1 -1
  212. package/api/types/ParseConfig.d.ts +2 -2
  213. package/api/types/ParseConfigEngine.d.ts +1 -1
  214. package/api/types/ParseConfigEngine.js +1 -1
  215. package/api/types/ParseConfigTarget.d.ts +1 -1
  216. package/api/types/ParseConfigTarget.js +1 -1
  217. package/api/types/ParseStepDefinition.d.ts +1 -1
  218. package/api/types/RuleValidationNextEntry.d.ts +1 -1
  219. package/api/types/RuleValidationStepDefinition.d.ts +2 -2
  220. package/api/types/RuleValidationStepDefinitionConfig.d.ts +1 -1
  221. package/api/types/RuleValidationStepDefinitionConfigRulesItem.d.ts +1 -1
  222. package/api/types/RunUsage.d.ts +1 -1
  223. package/api/types/RunUsageSummary.d.ts +1 -1
  224. package/api/types/SplitBaseProcessor.d.ts +1 -1
  225. package/api/types/SplitBaseProcessor.js +1 -1
  226. package/api/types/SplitConfig.d.ts +1 -1
  227. package/api/types/SplitOverrideConfig.d.ts +1 -1
  228. package/api/types/SplitRun.d.ts +2 -2
  229. package/api/types/SplitRunSummary.d.ts +2 -2
  230. package/api/types/SplitStepDefinition.d.ts +3 -3
  231. package/api/types/SplitStepDefinitionConfig.d.ts +1 -1
  232. package/api/types/TriggerStepDefinition.d.ts +1 -1
  233. package/api/types/WebhookResponseStepDefinition.d.ts +1 -1
  234. package/api/types/WorkflowStepDefinition.d.ts +1 -1
  235. package/api/types/index.d.ts +1 -0
  236. package/api/types/index.js +1 -0
  237. package/auth/BearerAuthProvider.d.ts +1 -1
  238. package/auth/BearerAuthProvider.js +6 -3
  239. package/package.json +2 -1
  240. package/reference.md +81 -46
  241. package/version.d.ts +1 -1
  242. package/version.js +1 -1
@@ -10,6 +10,6 @@ export interface ExtractorsListRequest {
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 ExtractorsRetrieveRequest {
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 ExtractorsUpdateRequest {
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 extractor. */
12
12
  name?: string;
@@ -11,7 +11,7 @@ export declare namespace FilesClient {
11
11
  }
12
12
  export declare class FilesClient {
13
13
  protected readonly _options: NormalizedClientOptionsWithAuth<FilesClient.Options>;
14
- constructor(options: FilesClient.Options);
14
+ constructor(options?: FilesClient.Options);
15
15
  /**
16
16
  * List files.
17
17
  *
@@ -85,11 +85,11 @@ export declare class FilesClient {
85
85
  /**
86
86
  * Upload and create a new file in Extend.
87
87
  *
88
- * This endpoint accepts file contents and registers them as a File in Extend, which can be used for [running workflows](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/workflow/create-workflow-run), [creating evaluation set items](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/evaluation/create-evaluation-set-item), [parsing](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/parse/parse-file), etc.
88
+ * This endpoint accepts file contents and registers them as a File in Extend, which can be used for [running workflows](https://docs.extend.ai/2026-02-09/api-reference/endpoints/workflow/create-workflow-run), [creating evaluation set items](https://docs.extend.ai/2026-02-09/api-reference/endpoints/evaluation/create-evaluation-set-item), [parsing](https://docs.extend.ai/2026-02-09/api-reference/endpoints/parse/parse-file), etc.
89
89
  *
90
90
  * If an uploaded file is detected as a Word or PowerPoint document, it will be automatically converted to a PDF.
91
91
  *
92
- * Supported file types can be found [here](https://docs.extend.ai/2026-02-09/product/general/supported-file-types).
92
+ * Supported file types can be found [here](https://docs.extend.ai/2026-02-09/general/supported-file-types).
93
93
  *
94
94
  * This endpoint requires multipart form encoding. Most HTTP clients will handle this encoding automatically (see the examples).
95
95
  *
@@ -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 FilesClient {
55
- constructor(options) {
55
+ constructor(options = {}) {
56
56
  this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
57
57
  }
58
58
  /**
@@ -298,11 +298,11 @@ class FilesClient {
298
298
  /**
299
299
  * Upload and create a new file in Extend.
300
300
  *
301
- * This endpoint accepts file contents and registers them as a File in Extend, which can be used for [running workflows](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/workflow/create-workflow-run), [creating evaluation set items](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/evaluation/create-evaluation-set-item), [parsing](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/parse/parse-file), etc.
301
+ * This endpoint accepts file contents and registers them as a File in Extend, which can be used for [running workflows](https://docs.extend.ai/2026-02-09/api-reference/endpoints/workflow/create-workflow-run), [creating evaluation set items](https://docs.extend.ai/2026-02-09/api-reference/endpoints/evaluation/create-evaluation-set-item), [parsing](https://docs.extend.ai/2026-02-09/api-reference/endpoints/parse/parse-file), etc.
302
302
  *
303
303
  * If an uploaded file is detected as a Word or PowerPoint document, it will be automatically converted to a PDF.
304
304
  *
305
- * Supported file types can be found [here](https://docs.extend.ai/2026-02-09/product/general/supported-file-types).
305
+ * Supported file types can be found [here](https://docs.extend.ai/2026-02-09/general/supported-file-types).
306
306
  *
307
307
  * This endpoint requires multipart form encoding. Most HTTP clients will handle this encoding automatically (see the examples).
308
308
  *
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface FilesDeleteRequest {
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
  }
@@ -15,6 +15,6 @@ export interface FilesListRequest {
15
15
  sortDir?: Extend.SortDir;
16
16
  nextPageToken?: Extend.NextPageToken;
17
17
  maxPageSize?: Extend.MaxPageSize;
18
- /** 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. */
18
+ /** 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. */
19
19
  "x-extend-workspace-id"?: string;
20
20
  }
@@ -25,6 +25,6 @@ export interface FilesRetrieveRequest {
25
25
  * Only available for files with a type of DOCX.
26
26
  */
27
27
  html?: boolean;
28
- /** 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. */
28
+ /** 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. */
29
29
  "x-extend-workspace-id"?: string;
30
30
  }
@@ -5,7 +5,7 @@
5
5
  export interface FilesUploadRequest {
6
6
  /** When true, converts the uploaded file to PDF. Supported file types include images (JPEG, PNG, TIFF, GIF, BMP, WebP, HEIC/HEIF), Word documents, PowerPoint, Excel, and HTML. */
7
7
  convertToPdf?: boolean;
8
- /** 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. */
8
+ /** 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. */
9
9
  "x-extend-workspace-id"?: string;
10
10
  /** The password to unlock a password-protected PDF. */
11
11
  password?: string;
@@ -9,7 +9,7 @@ export declare namespace ParseRunsClient {
9
9
  }
10
10
  export declare class ParseRunsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<ParseRunsClient.Options>;
12
- constructor(options: ParseRunsClient.Options);
12
+ constructor(options?: ParseRunsClient.Options);
13
13
  /**
14
14
  * List parse runs, with optional filters for status, batch ID, source, and file name.
15
15
  *
@@ -66,7 +66,7 @@ export declare class ParseRunsClient {
66
66
  /**
67
67
  * Retrieve the status and results of a parse run.
68
68
  *
69
- * Use this endpoint to get results for a parse run that has already completed, or to check on the status of a parse run initiated by the [Create Parse Run](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/parse/create-parse-run) endpoint.
69
+ * Use this endpoint to get results for a parse run that has already completed, or to check on the status of a parse run initiated by the [Create Parse Run](https://docs.extend.ai/2026-02-09/api-reference/endpoints/parse/create-parse-run) endpoint.
70
70
  *
71
71
  * @param {string} id - The unique identifier for the parse run.
72
72
  *
@@ -116,7 +116,7 @@ export declare class ParseRunsClient {
116
116
  /**
117
117
  * Submit up to **1,000 files** for parsing in a single request. Each file is processed as an independent parse run using the same configuration.
118
118
  *
119
- * Unlike the single [Parse File (Async)](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/parse/create-parse-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.
119
+ * Unlike the single [Parse File (Async)](https://docs.extend.ai/2026-02-09/api-reference/endpoints/parse/create-parse-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.
120
120
  *
121
121
  * **Monitoring results:**
122
122
  * - **Webhooks (recommended):** Subscribe to `batch_parse_run.processed` and `batch_parse_run.failed` events. The webhook payload indicates the batch has finished — fetch individual run results using `GET /parse_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 ParseRunsClient {
55
- constructor(options) {
55
+ constructor(options = {}) {
56
56
  this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
57
57
  }
58
58
  /**
@@ -225,7 +225,7 @@ class ParseRunsClient {
225
225
  /**
226
226
  * Retrieve the status and results of a parse run.
227
227
  *
228
- * Use this endpoint to get results for a parse run that has already completed, or to check on the status of a parse run initiated by the [Create Parse Run](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/parse/create-parse-run) endpoint.
228
+ * Use this endpoint to get results for a parse run that has already completed, or to check on the status of a parse run initiated by the [Create Parse Run](https://docs.extend.ai/2026-02-09/api-reference/endpoints/parse/create-parse-run) endpoint.
229
229
  *
230
230
  * @param {string} id - The unique identifier for the parse run.
231
231
  *
@@ -384,7 +384,7 @@ class ParseRunsClient {
384
384
  /**
385
385
  * Submit up to **1,000 files** for parsing in a single request. Each file is processed as an independent parse run using the same configuration.
386
386
  *
387
- * Unlike the single [Parse File (Async)](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/parse/create-parse-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.
387
+ * Unlike the single [Parse File (Async)](https://docs.extend.ai/2026-02-09/api-reference/endpoints/parse/create-parse-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.
388
388
  *
389
389
  * **Monitoring results:**
390
390
  * - **Webhooks (recommended):** Subscribe to `batch_parse_run.processed` and `batch_parse_run.failed` events. The webhook payload indicates the batch has finished — fetch individual run results using `GET /parse_runs?batchId={id}`.
@@ -3,6 +3,6 @@
3
3
  * {}
4
4
  */
5
5
  export interface ParseRunsDeleteRequest {
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
  }
@@ -30,6 +30,6 @@ export interface ParseRunsListRequest {
30
30
  fileNameContains?: string;
31
31
  nextPageToken?: Extend.NextPageToken;
32
32
  maxPageSize?: Extend.MaxPageSize;
33
- /** 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. */
33
+ /** 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. */
34
34
  "x-extend-workspace-id"?: string;
35
35
  }
@@ -10,6 +10,6 @@ export interface ParseRunsRetrieveRequest {
10
10
  * * `url` - Returns a presigned URL in the `outputUrl` field to download the output as a JSON file. The URL expires after 15 minutes. Useful for large outputs.
11
11
  */
12
12
  responseType?: Extend.ParseRunsRetrieveRequestResponseType;
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
  }
@@ -9,7 +9,7 @@ export declare namespace ProcessorClient {
9
9
  }
10
10
  export declare class ProcessorClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<ProcessorClient.Options>;
12
- constructor(options: ProcessorClient.Options);
12
+ constructor(options?: ProcessorClient.Options);
13
13
  /**
14
14
  * List all processors in your organization
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 ProcessorClient {
66
- constructor(options) {
66
+ constructor(options = {}) {
67
67
  this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
68
68
  }
69
69
  /**
@@ -14,6 +14,6 @@ export interface ProcessorListRequest {
14
14
  sortBy?: Extend.ProcessorListRequestSortBy;
15
15
  /** Sort direction */
16
16
  sortDir?: Extend.ProcessorListRequestSortDir;
17
- /** 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. */
17
+ /** 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. */
18
18
  "x-extend-workspace-id"?: string;
19
19
  }
@@ -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
  }