extend-ai 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseClient.js +2 -2
- package/Client.d.ts +3 -0
- package/Client.js +53 -48
- package/api/resources/batchRuns/client/Client.d.ts +49 -0
- package/api/resources/batchRuns/client/Client.js +142 -0
- package/api/resources/batchRuns/client/index.d.ts +1 -0
- package/api/resources/batchRuns/client/index.js +2 -0
- package/api/resources/batchRuns/index.d.ts +1 -0
- package/api/resources/batchRuns/index.js +17 -0
- package/api/resources/classifierVersions/client/Client.d.ts +6 -3
- package/api/resources/classifierVersions/client/Client.js +6 -3
- package/api/resources/classifyRuns/client/Client.d.ts +57 -0
- package/api/resources/classifyRuns/client/Client.js +111 -1
- package/api/resources/classifyRuns/client/requests/ClassifyRunsCreateBatchRequest.d.ts +38 -0
- package/api/resources/classifyRuns/client/requests/ClassifyRunsListRequest.d.ts +6 -0
- package/api/resources/classifyRuns/client/requests/index.d.ts +1 -0
- package/api/resources/classifyRuns/types/ClassifyRunsCreateBatchRequestClassifier.d.ts +11 -0
- package/api/resources/classifyRuns/types/ClassifyRunsCreateBatchRequestInputsItem.d.ts +6 -0
- package/api/resources/classifyRuns/types/ClassifyRunsCreateBatchRequestInputsItemFile.d.ts +5 -0
- package/api/resources/classifyRuns/types/index.d.ts +3 -0
- package/api/resources/classifyRuns/types/index.js +3 -0
- package/api/resources/extractRuns/client/Client.d.ts +57 -0
- package/api/resources/extractRuns/client/Client.js +111 -1
- package/api/resources/extractRuns/client/requests/ExtractRunsCreateBatchRequest.d.ts +38 -0
- package/api/resources/extractRuns/client/requests/ExtractRunsListRequest.d.ts +6 -0
- package/api/resources/extractRuns/client/requests/index.d.ts +1 -0
- package/api/resources/extractRuns/types/ExtractRunsCreateBatchRequestExtractor.d.ts +11 -0
- package/api/resources/extractRuns/types/ExtractRunsCreateBatchRequestInputsItem.d.ts +6 -0
- package/api/resources/extractRuns/types/ExtractRunsCreateBatchRequestInputsItem.js +3 -0
- package/api/resources/extractRuns/types/ExtractRunsCreateBatchRequestInputsItemFile.d.ts +5 -0
- package/api/resources/extractRuns/types/ExtractRunsCreateBatchRequestInputsItemFile.js +3 -0
- package/api/resources/extractRuns/types/index.d.ts +3 -0
- package/api/resources/extractRuns/types/index.js +3 -0
- package/api/resources/extractorVersions/client/Client.d.ts +6 -3
- package/api/resources/extractorVersions/client/Client.js +6 -3
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/splitRuns/client/Client.d.ts +58 -0
- package/api/resources/splitRuns/client/Client.js +112 -1
- package/api/resources/splitRuns/client/requests/SplitRunsCreateBatchRequest.d.ts +38 -0
- package/api/resources/splitRuns/client/requests/SplitRunsCreateBatchRequest.js +3 -0
- package/api/resources/splitRuns/client/requests/SplitRunsListRequest.d.ts +6 -0
- package/api/resources/splitRuns/client/requests/index.d.ts +1 -0
- package/api/resources/splitRuns/types/SplitRunsCreateBatchRequestInputsItem.d.ts +6 -0
- package/api/resources/splitRuns/types/SplitRunsCreateBatchRequestInputsItem.js +3 -0
- package/api/resources/splitRuns/types/SplitRunsCreateBatchRequestInputsItemFile.d.ts +5 -0
- package/api/resources/splitRuns/types/SplitRunsCreateBatchRequestInputsItemFile.js +3 -0
- package/api/resources/splitRuns/types/SplitRunsCreateBatchRequestSplitter.d.ts +11 -0
- package/api/resources/splitRuns/types/SplitRunsCreateBatchRequestSplitter.js +3 -0
- package/api/resources/splitRuns/types/index.d.ts +3 -0
- package/api/resources/splitRuns/types/index.js +3 -0
- package/api/resources/splitterVersions/client/Client.d.ts +6 -3
- package/api/resources/splitterVersions/client/Client.js +6 -3
- package/api/resources/workflowVersions/client/Client.d.ts +6 -6
- package/api/resources/workflowVersions/client/Client.js +6 -6
- package/api/types/BatchProcessorRunCompletedWebhookEvent.d.ts +6 -0
- package/api/types/BatchProcessorRunCompletedWebhookEvent.js +3 -0
- package/api/types/BatchProcessorRunFailedWebhookEvent.d.ts +6 -0
- package/api/types/BatchProcessorRunFailedWebhookEvent.js +3 -0
- package/api/types/BatchRun.d.ts +9 -16
- package/api/types/BatchRunStatus.d.ts +7 -5
- package/api/types/BatchRunStatus.js +7 -5
- package/api/types/Block.d.ts +1 -0
- package/api/types/BlockDetails.d.ts +1 -1
- package/api/types/BlockType.d.ts +2 -0
- package/api/types/BlockType.js +2 -0
- package/api/types/FormulaDetails.d.ts +9 -0
- package/api/types/FormulaDetails.js +3 -0
- package/api/types/LegacyListProcessorsResponse.d.ts +1 -1
- package/api/types/ParseConfigAdvancedOptions.d.ts +10 -0
- package/api/types/ParseConfigAdvancedOptionsFormattingDetectionItem.d.ts +8 -0
- package/api/types/ParseConfigAdvancedOptionsFormattingDetectionItem.js +3 -0
- package/api/types/ParseConfigBlockOptions.d.ts +2 -0
- package/api/types/ParseConfigBlockOptionsFormulas.d.ts +7 -0
- package/api/types/ParseConfigBlockOptionsFormulas.js +3 -0
- package/api/types/ProcessorRunStatus.d.ts +2 -0
- package/api/types/ProcessorRunStatus.js +2 -0
- package/api/types/WebhookEndpointEventType.d.ts +2 -0
- package/api/types/WebhookEndpointEventType.js +2 -0
- package/api/types/WebhookEvent.d.ts +7 -1
- package/api/types/WebhookSubscriptionEventType.d.ts +5 -3
- package/api/types/WebhookSubscriptionEventType.js +5 -3
- package/api/types/index.d.ts +5 -8
- package/api/types/index.js +5 -8
- package/package.json +1 -1
- package/reference.md +410 -15
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/BatchProcessorRun.d.ts +0 -66
- package/api/types/BatchProcessorRunMetrics.d.ts +0 -6
- package/api/types/BatchProcessorRunOptions.d.ts +0 -9
- package/api/types/BatchProcessorRunSource.d.ts +0 -12
- package/api/types/BatchProcessorRunSource.js +0 -15
- package/api/types/BatchProcessorRunStatus.d.ts +0 -14
- package/api/types/BatchProcessorRunStatus.js +0 -17
- package/api/types/BatchRunEntity.d.ts +0 -18
- package/api/types/BatchRunEntityVersion.d.ts +0 -18
- package/api/types/BatchRunMetrics.d.ts +0 -6
- /package/api/{types/BatchProcessorRun.js → resources/classifyRuns/client/requests/ClassifyRunsCreateBatchRequest.js} +0 -0
- /package/api/{types/BatchProcessorRunMetrics.js → resources/classifyRuns/types/ClassifyRunsCreateBatchRequestClassifier.js} +0 -0
- /package/api/{types/BatchProcessorRunOptions.js → resources/classifyRuns/types/ClassifyRunsCreateBatchRequestInputsItem.js} +0 -0
- /package/api/{types/BatchRunEntity.js → resources/classifyRuns/types/ClassifyRunsCreateBatchRequestInputsItemFile.js} +0 -0
- /package/api/{types/BatchRunEntityVersion.js → resources/extractRuns/client/requests/ExtractRunsCreateBatchRequest.js} +0 -0
- /package/api/{types/BatchRunMetrics.js → resources/extractRuns/types/ExtractRunsCreateBatchRequestExtractor.js} +0 -0
|
@@ -83,10 +83,11 @@ class ClassifyRunsClient {
|
|
|
83
83
|
__list() {
|
|
84
84
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
85
85
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
86
|
-
const { status, classifierId, sourceId, source, fileNameContains, sortBy, sortDir, nextPageToken, maxPageSize, "x-extend-workspace-id": extendWorkspaceId, } = request;
|
|
86
|
+
const { status, classifierId, batchId, sourceId, source, fileNameContains, sortBy, sortDir, nextPageToken, maxPageSize, "x-extend-workspace-id": extendWorkspaceId, } = request;
|
|
87
87
|
const _queryParams = {
|
|
88
88
|
status: status != null ? status : undefined,
|
|
89
89
|
classifierId,
|
|
90
|
+
batchId,
|
|
90
91
|
sourceId,
|
|
91
92
|
source: source != null ? source : undefined,
|
|
92
93
|
fileNameContains,
|
|
@@ -456,5 +457,114 @@ class ClassifyRunsClient {
|
|
|
456
457
|
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/classify_runs/{id}/cancel");
|
|
457
458
|
});
|
|
458
459
|
}
|
|
460
|
+
/**
|
|
461
|
+
* Submit up to **1,000 files** for classification in a single request. Each file is processed as an independent classify run using the same classifier and configuration.
|
|
462
|
+
*
|
|
463
|
+
* Unlike the single [Classify File (Async)](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/classify/create-classify-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
|
+
*
|
|
465
|
+
* **Monitoring results:**
|
|
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 /classify_runs?batchId={id}`.
|
|
467
|
+
* - **Polling:** Call `GET /batch_runs/{id}` to check the overall batch status, and use `GET /classify_runs` filtered by `batchId` to retrieve individual run results.
|
|
468
|
+
*
|
|
469
|
+
* **Notes:**
|
|
470
|
+
* - A processor reference (`classifier.id`) is required — inline `config` is not supported for batch requests.
|
|
471
|
+
* - `inputs` must contain between 1 and 1,000 items.
|
|
472
|
+
* - All inputs in a batch use the same classifier version and override config.
|
|
473
|
+
*
|
|
474
|
+
* @param {Extend.ClassifyRunsCreateBatchRequest} request
|
|
475
|
+
* @param {ClassifyRunsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
476
|
+
*
|
|
477
|
+
* @throws {@link Extend.BadRequestError}
|
|
478
|
+
* @throws {@link Extend.UnauthorizedError}
|
|
479
|
+
* @throws {@link Extend.PaymentRequiredError}
|
|
480
|
+
* @throws {@link Extend.ForbiddenError}
|
|
481
|
+
* @throws {@link Extend.NotFoundError}
|
|
482
|
+
* @throws {@link Extend.UnprocessableEntityError}
|
|
483
|
+
* @throws {@link Extend.TooManyRequestsError}
|
|
484
|
+
* @throws {@link Extend.InternalServerError}
|
|
485
|
+
*
|
|
486
|
+
* @example
|
|
487
|
+
* await client.classifyRuns.createBatch({
|
|
488
|
+
* classifier: {
|
|
489
|
+
* id: "cl_xK9mLPqRtN3vS8wF5hB2cQ"
|
|
490
|
+
* },
|
|
491
|
+
* inputs: [{
|
|
492
|
+
* file: {
|
|
493
|
+
* url: "https://example.com/document1.pdf"
|
|
494
|
+
* },
|
|
495
|
+
* metadata: {
|
|
496
|
+
* "customerId": "cust_abc123"
|
|
497
|
+
* }
|
|
498
|
+
* }, {
|
|
499
|
+
* file: {
|
|
500
|
+
* url: "https://example.com/document2.pdf"
|
|
501
|
+
* },
|
|
502
|
+
* metadata: {
|
|
503
|
+
* "customerId": "cust_def456"
|
|
504
|
+
* }
|
|
505
|
+
* }, {
|
|
506
|
+
* file: {
|
|
507
|
+
* url: "https://example.com/document3.pdf"
|
|
508
|
+
* },
|
|
509
|
+
* metadata: {
|
|
510
|
+
* "customerId": "cust_ghi789"
|
|
511
|
+
* }
|
|
512
|
+
* }]
|
|
513
|
+
* })
|
|
514
|
+
*/
|
|
515
|
+
createBatch(request, requestOptions) {
|
|
516
|
+
return core.HttpResponsePromise.fromPromise(this.__createBatch(request, requestOptions));
|
|
517
|
+
}
|
|
518
|
+
__createBatch(request, requestOptions) {
|
|
519
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
520
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
521
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
522
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "x-extend-api-version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.extendApiVersion) !== null && _b !== void 0 ? _b : "2026-02-09" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
523
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
524
|
+
url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ExtendEnvironment.Production, "classify_runs/batch"),
|
|
525
|
+
method: "POST",
|
|
526
|
+
headers: _headers,
|
|
527
|
+
contentType: "application/json",
|
|
528
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
529
|
+
requestType: "json",
|
|
530
|
+
body: request,
|
|
531
|
+
timeoutMs: ((_h = (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.timeoutInSeconds) !== null && _h !== void 0 ? _h : 300) * 1000,
|
|
532
|
+
maxRetries: (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.maxRetries,
|
|
533
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
534
|
+
fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
|
|
535
|
+
logging: this._options.logging,
|
|
536
|
+
});
|
|
537
|
+
if (_response.ok) {
|
|
538
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
539
|
+
}
|
|
540
|
+
if (_response.error.reason === "status-code") {
|
|
541
|
+
switch (_response.error.statusCode) {
|
|
542
|
+
case 400:
|
|
543
|
+
throw new Extend.BadRequestError(_response.error.body, _response.rawResponse);
|
|
544
|
+
case 401:
|
|
545
|
+
throw new Extend.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
546
|
+
case 402:
|
|
547
|
+
throw new Extend.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
548
|
+
case 403:
|
|
549
|
+
throw new Extend.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
550
|
+
case 404:
|
|
551
|
+
throw new Extend.NotFoundError(_response.error.body, _response.rawResponse);
|
|
552
|
+
case 422:
|
|
553
|
+
throw new Extend.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
554
|
+
case 429:
|
|
555
|
+
throw new Extend.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
556
|
+
case 500:
|
|
557
|
+
throw new Extend.InternalServerError(_response.error.body, _response.rawResponse);
|
|
558
|
+
default:
|
|
559
|
+
throw new errors.ExtendError({
|
|
560
|
+
statusCode: _response.error.statusCode,
|
|
561
|
+
body: _response.error.body,
|
|
562
|
+
rawResponse: _response.rawResponse,
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/classify_runs/batch");
|
|
567
|
+
});
|
|
568
|
+
}
|
|
459
569
|
}
|
|
460
570
|
exports.ClassifyRunsClient = ClassifyRunsClient;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type * as Extend from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* classifier: {
|
|
6
|
+
* id: "cl_xK9mLPqRtN3vS8wF5hB2cQ"
|
|
7
|
+
* },
|
|
8
|
+
* inputs: [{
|
|
9
|
+
* file: {
|
|
10
|
+
* url: "https://example.com/document1.pdf"
|
|
11
|
+
* },
|
|
12
|
+
* metadata: {
|
|
13
|
+
* "customerId": "cust_abc123"
|
|
14
|
+
* }
|
|
15
|
+
* }, {
|
|
16
|
+
* file: {
|
|
17
|
+
* url: "https://example.com/document2.pdf"
|
|
18
|
+
* },
|
|
19
|
+
* metadata: {
|
|
20
|
+
* "customerId": "cust_def456"
|
|
21
|
+
* }
|
|
22
|
+
* }, {
|
|
23
|
+
* file: {
|
|
24
|
+
* url: "https://example.com/document3.pdf"
|
|
25
|
+
* },
|
|
26
|
+
* metadata: {
|
|
27
|
+
* "customerId": "cust_ghi789"
|
|
28
|
+
* }
|
|
29
|
+
* }]
|
|
30
|
+
* }
|
|
31
|
+
*/
|
|
32
|
+
export interface ClassifyRunsCreateBatchRequest {
|
|
33
|
+
/** Reference to the classifier to run against every input in this batch. */
|
|
34
|
+
classifier: Extend.ClassifyRunsCreateBatchRequestClassifier;
|
|
35
|
+
/** An array of inputs to process. Each item produces one classify run. Must contain between 1 and 1,000 items. */
|
|
36
|
+
inputs: Extend.ClassifyRunsCreateBatchRequestInputsItem[];
|
|
37
|
+
priority?: Extend.RunPriority;
|
|
38
|
+
}
|
|
@@ -13,6 +13,12 @@ export interface ClassifyRunsListRequest {
|
|
|
13
13
|
* Example: `"cl_BMdfq_yWM3sT-ZzvCnA3f"`
|
|
14
14
|
*/
|
|
15
15
|
classifierId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Filters runs by the batch they belong to. Only returns runs created as part of the specified batch.
|
|
18
|
+
*
|
|
19
|
+
* Example: `"bpr_Xj8mK2pL9nR4vT7qY5wZ"`
|
|
20
|
+
*/
|
|
21
|
+
batchId?: string;
|
|
16
22
|
/** Filters runs by the source ID. */
|
|
17
23
|
sourceId?: Extend.RunSourceId;
|
|
18
24
|
/** Filters runs by the source that created them. If not provided, runs from all sources are returned. */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export type { ClassifyRunsCancelRequest } from "./ClassifyRunsCancelRequest";
|
|
2
|
+
export type { ClassifyRunsCreateBatchRequest } from "./ClassifyRunsCreateBatchRequest";
|
|
2
3
|
export type { ClassifyRunsCreateRequest } from "./ClassifyRunsCreateRequest";
|
|
3
4
|
export type { ClassifyRunsDeleteRequest } from "./ClassifyRunsDeleteRequest";
|
|
4
5
|
export type { ClassifyRunsListRequest } from "./ClassifyRunsListRequest";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Extend from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Reference to the classifier to run against every input in this batch.
|
|
4
|
+
*/
|
|
5
|
+
export interface ClassifyRunsCreateBatchRequestClassifier {
|
|
6
|
+
/** The ID of the classifier to use. */
|
|
7
|
+
id: string;
|
|
8
|
+
version?: Extend.ProcessorVersionString;
|
|
9
|
+
/** Optional partial configuration override applied to every run in this batch. Only the fields you provide will override the classifier's saved configuration. */
|
|
10
|
+
overrideConfig?: Extend.ClassifyOverrideConfig;
|
|
11
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as Extend from "../../../index";
|
|
2
|
+
export interface ClassifyRunsCreateBatchRequestInputsItem {
|
|
3
|
+
/** The file to classify. Can be a URL, an Extend file ID, or raw text. */
|
|
4
|
+
file: Extend.ClassifyRunsCreateBatchRequestInputsItemFile;
|
|
5
|
+
metadata?: Extend.RunMetadata;
|
|
6
|
+
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export * from "./ClassifyRunsCreateBatchRequestClassifier";
|
|
2
|
+
export * from "./ClassifyRunsCreateBatchRequestInputsItem";
|
|
3
|
+
export * from "./ClassifyRunsCreateBatchRequestInputsItemFile";
|
|
1
4
|
export * from "./ClassifyRunsCreateRequestClassifier";
|
|
2
5
|
export * from "./ClassifyRunsCreateRequestFile";
|
|
3
6
|
export * from "./ClassifyRunsDeleteResponse";
|
|
@@ -14,6 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ClassifyRunsCreateBatchRequestClassifier"), exports);
|
|
18
|
+
__exportStar(require("./ClassifyRunsCreateBatchRequestInputsItem"), exports);
|
|
19
|
+
__exportStar(require("./ClassifyRunsCreateBatchRequestInputsItemFile"), exports);
|
|
17
20
|
__exportStar(require("./ClassifyRunsCreateRequestClassifier"), exports);
|
|
18
21
|
__exportStar(require("./ClassifyRunsCreateRequestFile"), exports);
|
|
19
22
|
__exportStar(require("./ClassifyRunsDeleteResponse"), exports);
|
|
@@ -136,4 +136,61 @@ export declare class ExtractRunsClient {
|
|
|
136
136
|
*/
|
|
137
137
|
cancel(id: string, request?: Extend.ExtractRunsCancelRequest, requestOptions?: ExtractRunsClient.RequestOptions): core.HttpResponsePromise<Extend.ExtractRun>;
|
|
138
138
|
private __cancel;
|
|
139
|
+
/**
|
|
140
|
+
* Submit up to **1,000 files** for extraction in a single request. Each file is processed as an independent extract run using the same extractor and configuration.
|
|
141
|
+
*
|
|
142
|
+
* Unlike the single [Extract File (Async)](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/extract/create-extract-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
|
+
*
|
|
144
|
+
* **Monitoring results:**
|
|
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 /extract_runs?batchId={id}`.
|
|
146
|
+
* - **Polling:** Call `GET /batch_runs/{id}` to check the overall batch status, and use `GET /extract_runs` filtered by `batchId` to retrieve individual run results.
|
|
147
|
+
*
|
|
148
|
+
* **Notes:**
|
|
149
|
+
* - A processor reference (`extractor.id`) is required — inline `config` is not supported for batch requests.
|
|
150
|
+
* - `inputs` must contain between 1 and 1,000 items.
|
|
151
|
+
* - All inputs in a batch use the same extractor version and override config.
|
|
152
|
+
*
|
|
153
|
+
* @param {Extend.ExtractRunsCreateBatchRequest} request
|
|
154
|
+
* @param {ExtractRunsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
155
|
+
*
|
|
156
|
+
* @throws {@link Extend.BadRequestError}
|
|
157
|
+
* @throws {@link Extend.UnauthorizedError}
|
|
158
|
+
* @throws {@link Extend.PaymentRequiredError}
|
|
159
|
+
* @throws {@link Extend.ForbiddenError}
|
|
160
|
+
* @throws {@link Extend.NotFoundError}
|
|
161
|
+
* @throws {@link Extend.UnprocessableEntityError}
|
|
162
|
+
* @throws {@link Extend.TooManyRequestsError}
|
|
163
|
+
* @throws {@link Extend.InternalServerError}
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
* await client.extractRuns.createBatch({
|
|
167
|
+
* extractor: {
|
|
168
|
+
* id: "ex_xK9mLPqRtN3vS8wF5hB2cQ"
|
|
169
|
+
* },
|
|
170
|
+
* inputs: [{
|
|
171
|
+
* file: {
|
|
172
|
+
* url: "https://example.com/invoice1.pdf"
|
|
173
|
+
* },
|
|
174
|
+
* metadata: {
|
|
175
|
+
* "customerId": "cust_abc123"
|
|
176
|
+
* }
|
|
177
|
+
* }, {
|
|
178
|
+
* file: {
|
|
179
|
+
* url: "https://example.com/invoice2.pdf"
|
|
180
|
+
* },
|
|
181
|
+
* metadata: {
|
|
182
|
+
* "customerId": "cust_def456"
|
|
183
|
+
* }
|
|
184
|
+
* }, {
|
|
185
|
+
* file: {
|
|
186
|
+
* url: "https://example.com/invoice3.pdf"
|
|
187
|
+
* },
|
|
188
|
+
* metadata: {
|
|
189
|
+
* "customerId": "cust_ghi789"
|
|
190
|
+
* }
|
|
191
|
+
* }]
|
|
192
|
+
* })
|
|
193
|
+
*/
|
|
194
|
+
createBatch(request: Extend.ExtractRunsCreateBatchRequest, requestOptions?: ExtractRunsClient.RequestOptions): core.HttpResponsePromise<Extend.BatchRun>;
|
|
195
|
+
private __createBatch;
|
|
139
196
|
}
|
|
@@ -83,10 +83,11 @@ class ExtractRunsClient {
|
|
|
83
83
|
__list() {
|
|
84
84
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
85
85
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
86
|
-
const { status, extractorId, sourceId, source, fileNameContains, sortBy, sortDir, nextPageToken, maxPageSize, "x-extend-workspace-id": extendWorkspaceId, } = request;
|
|
86
|
+
const { status, extractorId, batchId, sourceId, source, fileNameContains, sortBy, sortDir, nextPageToken, maxPageSize, "x-extend-workspace-id": extendWorkspaceId, } = request;
|
|
87
87
|
const _queryParams = {
|
|
88
88
|
status: status != null ? status : undefined,
|
|
89
89
|
extractorId,
|
|
90
|
+
batchId,
|
|
90
91
|
sourceId,
|
|
91
92
|
source: source != null ? source : undefined,
|
|
92
93
|
fileNameContains,
|
|
@@ -456,5 +457,114 @@ class ExtractRunsClient {
|
|
|
456
457
|
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/extract_runs/{id}/cancel");
|
|
457
458
|
});
|
|
458
459
|
}
|
|
460
|
+
/**
|
|
461
|
+
* Submit up to **1,000 files** for extraction in a single request. Each file is processed as an independent extract run using the same extractor and configuration.
|
|
462
|
+
*
|
|
463
|
+
* Unlike the single [Extract File (Async)](https://docs.extend.ai/2026-02-09/developers/api-reference/endpoints/extract/create-extract-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
|
+
*
|
|
465
|
+
* **Monitoring results:**
|
|
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 /extract_runs?batchId={id}`.
|
|
467
|
+
* - **Polling:** Call `GET /batch_runs/{id}` to check the overall batch status, and use `GET /extract_runs` filtered by `batchId` to retrieve individual run results.
|
|
468
|
+
*
|
|
469
|
+
* **Notes:**
|
|
470
|
+
* - A processor reference (`extractor.id`) is required — inline `config` is not supported for batch requests.
|
|
471
|
+
* - `inputs` must contain between 1 and 1,000 items.
|
|
472
|
+
* - All inputs in a batch use the same extractor version and override config.
|
|
473
|
+
*
|
|
474
|
+
* @param {Extend.ExtractRunsCreateBatchRequest} request
|
|
475
|
+
* @param {ExtractRunsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
476
|
+
*
|
|
477
|
+
* @throws {@link Extend.BadRequestError}
|
|
478
|
+
* @throws {@link Extend.UnauthorizedError}
|
|
479
|
+
* @throws {@link Extend.PaymentRequiredError}
|
|
480
|
+
* @throws {@link Extend.ForbiddenError}
|
|
481
|
+
* @throws {@link Extend.NotFoundError}
|
|
482
|
+
* @throws {@link Extend.UnprocessableEntityError}
|
|
483
|
+
* @throws {@link Extend.TooManyRequestsError}
|
|
484
|
+
* @throws {@link Extend.InternalServerError}
|
|
485
|
+
*
|
|
486
|
+
* @example
|
|
487
|
+
* await client.extractRuns.createBatch({
|
|
488
|
+
* extractor: {
|
|
489
|
+
* id: "ex_xK9mLPqRtN3vS8wF5hB2cQ"
|
|
490
|
+
* },
|
|
491
|
+
* inputs: [{
|
|
492
|
+
* file: {
|
|
493
|
+
* url: "https://example.com/invoice1.pdf"
|
|
494
|
+
* },
|
|
495
|
+
* metadata: {
|
|
496
|
+
* "customerId": "cust_abc123"
|
|
497
|
+
* }
|
|
498
|
+
* }, {
|
|
499
|
+
* file: {
|
|
500
|
+
* url: "https://example.com/invoice2.pdf"
|
|
501
|
+
* },
|
|
502
|
+
* metadata: {
|
|
503
|
+
* "customerId": "cust_def456"
|
|
504
|
+
* }
|
|
505
|
+
* }, {
|
|
506
|
+
* file: {
|
|
507
|
+
* url: "https://example.com/invoice3.pdf"
|
|
508
|
+
* },
|
|
509
|
+
* metadata: {
|
|
510
|
+
* "customerId": "cust_ghi789"
|
|
511
|
+
* }
|
|
512
|
+
* }]
|
|
513
|
+
* })
|
|
514
|
+
*/
|
|
515
|
+
createBatch(request, requestOptions) {
|
|
516
|
+
return core.HttpResponsePromise.fromPromise(this.__createBatch(request, requestOptions));
|
|
517
|
+
}
|
|
518
|
+
__createBatch(request, requestOptions) {
|
|
519
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
520
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
521
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
522
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "x-extend-api-version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.extendApiVersion) !== null && _b !== void 0 ? _b : "2026-02-09" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
523
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
524
|
+
url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ExtendEnvironment.Production, "extract_runs/batch"),
|
|
525
|
+
method: "POST",
|
|
526
|
+
headers: _headers,
|
|
527
|
+
contentType: "application/json",
|
|
528
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
529
|
+
requestType: "json",
|
|
530
|
+
body: request,
|
|
531
|
+
timeoutMs: ((_h = (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.timeoutInSeconds) !== null && _h !== void 0 ? _h : 300) * 1000,
|
|
532
|
+
maxRetries: (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.maxRetries,
|
|
533
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
534
|
+
fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
|
|
535
|
+
logging: this._options.logging,
|
|
536
|
+
});
|
|
537
|
+
if (_response.ok) {
|
|
538
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
539
|
+
}
|
|
540
|
+
if (_response.error.reason === "status-code") {
|
|
541
|
+
switch (_response.error.statusCode) {
|
|
542
|
+
case 400:
|
|
543
|
+
throw new Extend.BadRequestError(_response.error.body, _response.rawResponse);
|
|
544
|
+
case 401:
|
|
545
|
+
throw new Extend.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
546
|
+
case 402:
|
|
547
|
+
throw new Extend.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
548
|
+
case 403:
|
|
549
|
+
throw new Extend.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
550
|
+
case 404:
|
|
551
|
+
throw new Extend.NotFoundError(_response.error.body, _response.rawResponse);
|
|
552
|
+
case 422:
|
|
553
|
+
throw new Extend.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
554
|
+
case 429:
|
|
555
|
+
throw new Extend.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
556
|
+
case 500:
|
|
557
|
+
throw new Extend.InternalServerError(_response.error.body, _response.rawResponse);
|
|
558
|
+
default:
|
|
559
|
+
throw new errors.ExtendError({
|
|
560
|
+
statusCode: _response.error.statusCode,
|
|
561
|
+
body: _response.error.body,
|
|
562
|
+
rawResponse: _response.rawResponse,
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/extract_runs/batch");
|
|
567
|
+
});
|
|
568
|
+
}
|
|
459
569
|
}
|
|
460
570
|
exports.ExtractRunsClient = ExtractRunsClient;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type * as Extend from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* extractor: {
|
|
6
|
+
* id: "ex_xK9mLPqRtN3vS8wF5hB2cQ"
|
|
7
|
+
* },
|
|
8
|
+
* inputs: [{
|
|
9
|
+
* file: {
|
|
10
|
+
* url: "https://example.com/invoice1.pdf"
|
|
11
|
+
* },
|
|
12
|
+
* metadata: {
|
|
13
|
+
* "customerId": "cust_abc123"
|
|
14
|
+
* }
|
|
15
|
+
* }, {
|
|
16
|
+
* file: {
|
|
17
|
+
* url: "https://example.com/invoice2.pdf"
|
|
18
|
+
* },
|
|
19
|
+
* metadata: {
|
|
20
|
+
* "customerId": "cust_def456"
|
|
21
|
+
* }
|
|
22
|
+
* }, {
|
|
23
|
+
* file: {
|
|
24
|
+
* url: "https://example.com/invoice3.pdf"
|
|
25
|
+
* },
|
|
26
|
+
* metadata: {
|
|
27
|
+
* "customerId": "cust_ghi789"
|
|
28
|
+
* }
|
|
29
|
+
* }]
|
|
30
|
+
* }
|
|
31
|
+
*/
|
|
32
|
+
export interface ExtractRunsCreateBatchRequest {
|
|
33
|
+
/** Reference to the extractor to run against every input in this batch. */
|
|
34
|
+
extractor: Extend.ExtractRunsCreateBatchRequestExtractor;
|
|
35
|
+
/** An array of inputs to process. Each item produces one extract run. Must contain between 1 and 1,000 items. */
|
|
36
|
+
inputs: Extend.ExtractRunsCreateBatchRequestInputsItem[];
|
|
37
|
+
priority?: Extend.RunPriority;
|
|
38
|
+
}
|
|
@@ -13,6 +13,12 @@ export interface ExtractRunsListRequest {
|
|
|
13
13
|
* Example: `"ex_BMdfq_yWM3sT-ZzvCnA3f"`
|
|
14
14
|
*/
|
|
15
15
|
extractorId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Filters runs by the batch they belong to. Only returns runs created as part of the specified batch.
|
|
18
|
+
*
|
|
19
|
+
* Example: `"bpr_Xj8mK2pL9nR4vT7qY5wZ"`
|
|
20
|
+
*/
|
|
21
|
+
batchId?: string;
|
|
16
22
|
/** Filters runs by the source ID. */
|
|
17
23
|
sourceId?: Extend.RunSourceId;
|
|
18
24
|
/** Filters runs by the source that created them. If not provided, runs from all sources are returned. */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export type { ExtractRunsCancelRequest } from "./ExtractRunsCancelRequest";
|
|
2
|
+
export type { ExtractRunsCreateBatchRequest } from "./ExtractRunsCreateBatchRequest";
|
|
2
3
|
export type { ExtractRunsCreateRequest } from "./ExtractRunsCreateRequest";
|
|
3
4
|
export type { ExtractRunsDeleteRequest } from "./ExtractRunsDeleteRequest";
|
|
4
5
|
export type { ExtractRunsListRequest } from "./ExtractRunsListRequest";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Extend from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Reference to the extractor to run against every input in this batch.
|
|
4
|
+
*/
|
|
5
|
+
export interface ExtractRunsCreateBatchRequestExtractor {
|
|
6
|
+
/** The ID of the extractor to use. */
|
|
7
|
+
id: string;
|
|
8
|
+
version?: Extend.ProcessorVersionString;
|
|
9
|
+
/** Optional partial configuration override applied to every run in this batch. Only the fields you provide will override the extractor's saved configuration. */
|
|
10
|
+
overrideConfig?: Extend.ExtractOverrideConfigJson;
|
|
11
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as Extend from "../../../index";
|
|
2
|
+
export interface ExtractRunsCreateBatchRequestInputsItem {
|
|
3
|
+
/** The file to extract from. Can be a URL, an Extend file ID, or raw text. */
|
|
4
|
+
file: Extend.ExtractRunsCreateBatchRequestInputsItemFile;
|
|
5
|
+
metadata?: Extend.RunMetadata;
|
|
6
|
+
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export * from "./ExtractRunsCreateBatchRequestExtractor";
|
|
2
|
+
export * from "./ExtractRunsCreateBatchRequestInputsItem";
|
|
3
|
+
export * from "./ExtractRunsCreateBatchRequestInputsItemFile";
|
|
1
4
|
export * from "./ExtractRunsCreateRequestExtractor";
|
|
2
5
|
export * from "./ExtractRunsCreateRequestFile";
|
|
3
6
|
export * from "./ExtractRunsDeleteResponse";
|
|
@@ -14,6 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ExtractRunsCreateBatchRequestExtractor"), exports);
|
|
18
|
+
__exportStar(require("./ExtractRunsCreateBatchRequestInputsItem"), exports);
|
|
19
|
+
__exportStar(require("./ExtractRunsCreateBatchRequestInputsItemFile"), exports);
|
|
17
20
|
__exportStar(require("./ExtractRunsCreateRequestExtractor"), exports);
|
|
18
21
|
__exportStar(require("./ExtractRunsCreateRequestFile"), exports);
|
|
19
22
|
__exportStar(require("./ExtractRunsDeleteResponse"), exports);
|
|
@@ -71,9 +71,12 @@ export declare class ExtractorVersionsClient {
|
|
|
71
71
|
* @param {string} extractorId - The ID of the extractor.
|
|
72
72
|
*
|
|
73
73
|
* Example: `"ex_Xj8mK2pL9nR4vT7qY5wZ"`
|
|
74
|
-
* @param {string} versionId - The
|
|
74
|
+
* @param {string} versionId - The version to retrieve. Accepts any of the following:
|
|
75
75
|
*
|
|
76
|
-
*
|
|
76
|
+
* - `"draft"` — returns the current draft version
|
|
77
|
+
* - `"latest"` — returns the latest published version (falls back to draft if none published)
|
|
78
|
+
* - A version number (e.g. `"0.1"`, `"1.0"`) — returns that specific published version
|
|
79
|
+
* - A version ID (e.g. `"extv_QYk6jgHA_8CsO8rVWhyNC"`) — returns that specific version by ID
|
|
77
80
|
* @param {Extend.ExtractorVersionsRetrieveRequest} request
|
|
78
81
|
* @param {ExtractorVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
79
82
|
*
|
|
@@ -87,7 +90,7 @@ export declare class ExtractorVersionsClient {
|
|
|
87
90
|
* @throws {@link Extend.InternalServerError}
|
|
88
91
|
*
|
|
89
92
|
* @example
|
|
90
|
-
* await client.extractorVersions.retrieve("extractor_id_here", "
|
|
93
|
+
* await client.extractorVersions.retrieve("extractor_id_here", "draft")
|
|
91
94
|
*/
|
|
92
95
|
retrieve(extractorId: string, versionId: string, request?: Extend.ExtractorVersionsRetrieveRequest, requestOptions?: ExtractorVersionsClient.RequestOptions): core.HttpResponsePromise<Extend.ExtractorVersion>;
|
|
93
96
|
private __retrieve;
|
|
@@ -241,9 +241,12 @@ class ExtractorVersionsClient {
|
|
|
241
241
|
* @param {string} extractorId - The ID of the extractor.
|
|
242
242
|
*
|
|
243
243
|
* Example: `"ex_Xj8mK2pL9nR4vT7qY5wZ"`
|
|
244
|
-
* @param {string} versionId - The
|
|
244
|
+
* @param {string} versionId - The version to retrieve. Accepts any of the following:
|
|
245
245
|
*
|
|
246
|
-
*
|
|
246
|
+
* - `"draft"` — returns the current draft version
|
|
247
|
+
* - `"latest"` — returns the latest published version (falls back to draft if none published)
|
|
248
|
+
* - A version number (e.g. `"0.1"`, `"1.0"`) — returns that specific published version
|
|
249
|
+
* - A version ID (e.g. `"extv_QYk6jgHA_8CsO8rVWhyNC"`) — returns that specific version by ID
|
|
247
250
|
* @param {Extend.ExtractorVersionsRetrieveRequest} request
|
|
248
251
|
* @param {ExtractorVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
249
252
|
*
|
|
@@ -257,7 +260,7 @@ class ExtractorVersionsClient {
|
|
|
257
260
|
* @throws {@link Extend.InternalServerError}
|
|
258
261
|
*
|
|
259
262
|
* @example
|
|
260
|
-
* await client.extractorVersions.retrieve("extractor_id_here", "
|
|
263
|
+
* await client.extractorVersions.retrieve("extractor_id_here", "draft")
|
|
261
264
|
*/
|
|
262
265
|
retrieve(extractorId, versionId, request = {}, requestOptions) {
|
|
263
266
|
return core.HttpResponsePromise.fromPromise(this.__retrieve(extractorId, versionId, request, requestOptions));
|
package/api/resources/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * as batchProcessorRun from "./batchProcessorRun";
|
|
2
2
|
export * from "./batchProcessorRun/client/requests";
|
|
3
3
|
export * from "./batchProcessorRun/types";
|
|
4
|
+
export * as batchRuns from "./batchRuns";
|
|
4
5
|
export * as classifiers from "./classifiers";
|
|
5
6
|
export * from "./classifiers/client/requests";
|
|
6
7
|
export * from "./classifiers/types";
|
package/api/resources/index.js
CHANGED
|
@@ -36,10 +36,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.workflowVersions = exports.workflows = exports.workflowRuns = exports.webhookSubscriptions = exports.webhookEndpoints = exports.splitterVersions = exports.splitters = exports.splitRuns = exports.processorVersion = exports.processorRun = exports.processor = exports.parseRuns = exports.files = exports.extractRuns = exports.extractorVersions = exports.extractors = exports.evaluationSets = exports.evaluationSetRuns = exports.evaluationSetItems = exports.editSchemas = exports.editRuns = exports.classifyRuns = exports.classifierVersions = exports.classifiers = exports.batchProcessorRun = void 0;
|
|
39
|
+
exports.workflowVersions = exports.workflows = exports.workflowRuns = exports.webhookSubscriptions = exports.webhookEndpoints = exports.splitterVersions = exports.splitters = exports.splitRuns = exports.processorVersion = exports.processorRun = exports.processor = exports.parseRuns = exports.files = exports.extractRuns = exports.extractorVersions = exports.extractors = exports.evaluationSets = exports.evaluationSetRuns = exports.evaluationSetItems = exports.editSchemas = exports.editRuns = exports.classifyRuns = exports.classifierVersions = exports.classifiers = exports.batchRuns = exports.batchProcessorRun = void 0;
|
|
40
40
|
exports.batchProcessorRun = __importStar(require("./batchProcessorRun"));
|
|
41
41
|
__exportStar(require("./batchProcessorRun/client/requests"), exports);
|
|
42
42
|
__exportStar(require("./batchProcessorRun/types"), exports);
|
|
43
|
+
exports.batchRuns = __importStar(require("./batchRuns"));
|
|
43
44
|
exports.classifiers = __importStar(require("./classifiers"));
|
|
44
45
|
__exportStar(require("./classifiers/client/requests"), exports);
|
|
45
46
|
__exportStar(require("./classifiers/types"), exports);
|