extend-ai 0.0.17 → 0.1.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 (110) hide show
  1. package/Client.d.ts +27 -27
  2. package/Client.js +37 -41
  3. package/api/errors/index.d.ts +1 -1
  4. package/api/errors/index.js +1 -1
  5. package/api/resources/batchProcessorRun/client/Client.d.ts +3 -3
  6. package/api/resources/batchProcessorRun/client/Client.js +2 -6
  7. package/api/resources/batchWorkflowRun/client/Client.d.ts +3 -3
  8. package/api/resources/batchWorkflowRun/client/Client.js +2 -6
  9. package/api/resources/batchWorkflowRun/types/BatchWorkflowRunCreateRequestInputsItem.d.ts +1 -1
  10. package/api/resources/edit/client/Client.d.ts +3 -3
  11. package/api/resources/edit/client/Client.js +2 -6
  12. package/api/resources/evaluationSet/client/Client.d.ts +3 -3
  13. package/api/resources/evaluationSet/client/Client.js +2 -6
  14. package/api/resources/evaluationSetItem/client/Client.d.ts +3 -3
  15. package/api/resources/evaluationSetItem/client/Client.js +2 -6
  16. package/api/resources/file/client/Client.d.ts +3 -3
  17. package/api/resources/file/client/Client.js +2 -6
  18. package/api/resources/index.d.ts +23 -23
  19. package/api/resources/index.js +24 -24
  20. package/api/resources/parserRun/client/Client.d.ts +3 -3
  21. package/api/resources/parserRun/client/Client.js +2 -6
  22. package/api/resources/processor/client/Client.d.ts +3 -3
  23. package/api/resources/processor/client/Client.js +2 -6
  24. package/api/resources/processorRun/client/Client.d.ts +4 -4
  25. package/api/resources/processorRun/client/Client.js +3 -7
  26. package/api/resources/processorVersion/client/Client.d.ts +23 -23
  27. package/api/resources/processorVersion/client/Client.js +49 -53
  28. package/api/resources/processorVersion/types/index.d.ts +1 -1
  29. package/api/resources/processorVersion/types/index.js +1 -1
  30. package/api/resources/workflow/client/Client.d.ts +3 -3
  31. package/api/resources/workflow/client/Client.js +2 -6
  32. package/api/resources/workflowRun/client/Client.d.ts +3 -3
  33. package/api/resources/workflowRun/client/Client.js +2 -6
  34. package/api/resources/workflowRunOutput/client/Client.d.ts +3 -3
  35. package/api/resources/workflowRunOutput/client/Client.js +2 -6
  36. package/api/types/EditBoundingBox.d.ts +4 -4
  37. package/api/types/ParseConfig.d.ts +1 -1
  38. package/api/types/ParseConfigAdvancedOptions.d.ts +11 -0
  39. package/api/types/ParseConfigAdvancedOptionsExcelParsingMode.d.ts +16 -0
  40. package/api/types/ParseConfigAdvancedOptionsExcelParsingMode.js +10 -0
  41. package/api/types/ParseConfigTarget.d.ts +1 -1
  42. package/api/types/ParserRun.d.ts +2 -0
  43. package/api/types/ParserRunOcr.d.ts +11 -0
  44. package/api/types/ParserRunOcrWordsItem.d.ts +14 -0
  45. package/api/types/ParserRunOcrWordsItemBoundingBox.d.ts +16 -0
  46. package/api/types/index.d.ts +132 -130
  47. package/api/types/index.js +132 -130
  48. package/dist/Client.d.ts +27 -27
  49. package/dist/Client.js +37 -41
  50. package/dist/api/errors/index.d.ts +1 -1
  51. package/dist/api/errors/index.js +1 -1
  52. package/dist/api/resources/batchProcessorRun/client/Client.d.ts +3 -3
  53. package/dist/api/resources/batchProcessorRun/client/Client.js +2 -6
  54. package/dist/api/resources/batchWorkflowRun/client/Client.d.ts +3 -3
  55. package/dist/api/resources/batchWorkflowRun/client/Client.js +2 -6
  56. package/dist/api/resources/batchWorkflowRun/types/BatchWorkflowRunCreateRequestInputsItem.d.ts +1 -1
  57. package/dist/api/resources/edit/client/Client.d.ts +3 -3
  58. package/dist/api/resources/edit/client/Client.js +2 -6
  59. package/dist/api/resources/evaluationSet/client/Client.d.ts +3 -3
  60. package/dist/api/resources/evaluationSet/client/Client.js +2 -6
  61. package/dist/api/resources/evaluationSetItem/client/Client.d.ts +3 -3
  62. package/dist/api/resources/evaluationSetItem/client/Client.js +2 -6
  63. package/dist/api/resources/file/client/Client.d.ts +3 -3
  64. package/dist/api/resources/file/client/Client.js +2 -6
  65. package/dist/api/resources/index.d.ts +23 -23
  66. package/dist/api/resources/index.js +24 -24
  67. package/dist/api/resources/parserRun/client/Client.d.ts +3 -3
  68. package/dist/api/resources/parserRun/client/Client.js +2 -6
  69. package/dist/api/resources/processor/client/Client.d.ts +3 -3
  70. package/dist/api/resources/processor/client/Client.js +2 -6
  71. package/dist/api/resources/processorRun/client/Client.d.ts +4 -4
  72. package/dist/api/resources/processorRun/client/Client.js +3 -7
  73. package/dist/api/resources/processorVersion/client/Client.d.ts +23 -23
  74. package/dist/api/resources/processorVersion/client/Client.js +49 -53
  75. package/dist/api/resources/processorVersion/types/index.d.ts +1 -1
  76. package/dist/api/resources/processorVersion/types/index.js +1 -1
  77. package/dist/api/resources/workflow/client/Client.d.ts +3 -3
  78. package/dist/api/resources/workflow/client/Client.js +2 -6
  79. package/dist/api/resources/workflowRun/client/Client.d.ts +3 -3
  80. package/dist/api/resources/workflowRun/client/Client.js +2 -6
  81. package/dist/api/resources/workflowRunOutput/client/Client.d.ts +3 -3
  82. package/dist/api/resources/workflowRunOutput/client/Client.js +2 -6
  83. package/dist/api/types/EditBoundingBox.d.ts +4 -4
  84. package/dist/api/types/ParseConfig.d.ts +1 -1
  85. package/dist/api/types/ParseConfigAdvancedOptions.d.ts +11 -0
  86. package/dist/api/types/ParseConfigAdvancedOptionsExcelParsingMode.d.ts +16 -0
  87. package/dist/api/types/ParseConfigAdvancedOptionsExcelParsingMode.js +10 -0
  88. package/dist/api/types/ParseConfigTarget.d.ts +1 -1
  89. package/dist/api/types/ParserRun.d.ts +2 -0
  90. package/dist/api/types/ParserRunOcr.d.ts +11 -0
  91. package/dist/api/types/ParserRunOcrWordsItem.d.ts +14 -0
  92. package/dist/api/types/ParserRunOcrWordsItem.js +5 -0
  93. package/dist/api/types/ParserRunOcrWordsItemBoundingBox.d.ts +16 -0
  94. package/dist/api/types/ParserRunOcrWordsItemBoundingBox.js +5 -0
  95. package/dist/api/types/index.d.ts +132 -130
  96. package/dist/api/types/index.js +132 -130
  97. package/dist/version.d.ts +1 -1
  98. package/dist/version.js +1 -1
  99. package/package.json +1 -1
  100. package/reference.md +511 -511
  101. package/version.d.ts +1 -1
  102. package/version.js +1 -1
  103. package/api/types/OutputMetadata.d.ts +0 -5
  104. package/api/types/OutputMetadataValue.d.ts +0 -22
  105. package/dist/api/types/OutputMetadata.d.ts +0 -5
  106. package/dist/api/types/OutputMetadataValue.d.ts +0 -22
  107. /package/api/types/{OutputMetadata.js → ParserRunOcr.js} +0 -0
  108. /package/api/types/{OutputMetadataValue.js → ParserRunOcrWordsItem.js} +0 -0
  109. /package/{dist/api/types/OutputMetadata.js → api/types/ParserRunOcrWordsItemBoundingBox.js} +0 -0
  110. /package/dist/api/types/{OutputMetadataValue.js → ParserRunOcr.js} +0 -0
@@ -52,7 +52,7 @@ const Extend = __importStar(require("../../../index"));
52
52
  const headers_1 = require("../../../../core/headers");
53
53
  const errors = __importStar(require("../../../../errors/index"));
54
54
  class WorkflowRun {
55
- constructor(_options = {}) {
55
+ constructor(_options) {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
@@ -515,11 +515,7 @@ class WorkflowRun {
515
515
  }
516
516
  _getAuthorizationHeader() {
517
517
  return __awaiter(this, void 0, void 0, function* () {
518
- const bearer = yield core.Supplier.get(this._options.token);
519
- if (bearer != null) {
520
- return `Bearer ${bearer}`;
521
- }
522
- return undefined;
518
+ return `Bearer ${yield core.Supplier.get(this._options.token)}`;
523
519
  });
524
520
  }
525
521
  }
@@ -9,7 +9,7 @@ export declare namespace WorkflowRunOutput {
9
9
  environment?: core.Supplier<environments.ExtendEnvironment | string>;
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
- token?: core.Supplier<core.BearerToken | undefined>;
12
+ token: core.Supplier<core.BearerToken>;
13
13
  /** Override the x-extend-api-version header */
14
14
  extendApiVersion?: "2025-04-21";
15
15
  /** Additional headers to include in requests. */
@@ -33,7 +33,7 @@ export declare namespace WorkflowRunOutput {
33
33
  }
34
34
  export declare class WorkflowRunOutput {
35
35
  protected readonly _options: WorkflowRunOutput.Options;
36
- constructor(_options?: WorkflowRunOutput.Options);
36
+ constructor(_options: WorkflowRunOutput.Options);
37
37
  /**
38
38
  * Use this endpoint to submit corrected outputs for a WorkflowRun for future processor evaluation and tuning in Extend.
39
39
  *
@@ -61,5 +61,5 @@ export declare class WorkflowRunOutput {
61
61
  */
62
62
  update(workflowRunId: string, outputId: string, request: Extend.WorkflowRunOutputUpdateRequest, requestOptions?: WorkflowRunOutput.RequestOptions): core.HttpResponsePromise<Extend.WorkflowRunOutputUpdateResponse>;
63
63
  private __update;
64
- protected _getAuthorizationHeader(): Promise<string | undefined>;
64
+ protected _getAuthorizationHeader(): Promise<string>;
65
65
  }
@@ -52,7 +52,7 @@ const Extend = __importStar(require("../../../index"));
52
52
  const headers_1 = require("../../../../core/headers");
53
53
  const errors = __importStar(require("../../../../errors/index"));
54
54
  class WorkflowRunOutput {
55
- constructor(_options = {}) {
55
+ constructor(_options) {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
@@ -143,11 +143,7 @@ class WorkflowRunOutput {
143
143
  }
144
144
  _getAuthorizationHeader() {
145
145
  return __awaiter(this, void 0, void 0, function* () {
146
- const bearer = yield core.Supplier.get(this._options.token);
147
- if (bearer != null) {
148
- return `Bearer ${bearer}`;
149
- }
150
- return undefined;
146
+ return `Bearer ${yield core.Supplier.get(this._options.token)}`;
151
147
  });
152
148
  }
153
149
  }
@@ -6,11 +6,11 @@
6
6
  */
7
7
  export interface EditBoundingBox {
8
8
  /** The left coordinate of the bounding box (pixels) */
9
- left?: number;
9
+ left: number;
10
10
  /** The top coordinate of the bounding box (pixels) */
11
- top?: number;
11
+ top: number;
12
12
  /** The right coordinate of the bounding box (pixels) */
13
- right?: number;
13
+ right: number;
14
14
  /** The bottom coordinate of the bounding box (pixels) */
15
- bottom?: number;
15
+ bottom: number;
16
16
  }
@@ -19,7 +19,7 @@ export interface ParseConfig {
19
19
  * * Prefer `markdown` for most documents, multi-column reading order, and retrieval use cases
20
20
  * * Prefer `spatial` for messy/scanned/handwritten or skewed documents, when you need near 1:1 layout fidelity, or for BOL-like logistics docs
21
21
  *
22
- * See "Markdown vs Spatial" in the Parse guide for details: /2025-04-21/developers/guides/parse#markdown-vs-spatial
22
+ * See Markdown vs Spatial in the Parse guide for details: /2025-04-21/developers/guides/parse#markdown-vs-spatial
23
23
  */
24
24
  target?: Extend.ParseConfigTarget;
25
25
  /** Strategy for dividing the document into chunks. */
@@ -8,6 +8,17 @@ export interface ParseConfigAdvancedOptions {
8
8
  /** Whether to enable agentic OCR corrections using VLM-based review and correction of OCR errors for messy handwriting and poorly scanned text. Deprecated - use `blockOptions.text.agentic` or `blockOptions.tables.agentic` instead for more granular control. */
9
9
  agenticOcrEnabled?: boolean;
10
10
  pageRanges?: Extend.PageRanges;
11
+ /**
12
+ * Controls how Excel files are parsed.
13
+ *
14
+ * * `basic`: Fast, deterministic parsing.
15
+ * * `advanced`: Enable layout block detection for complex spreadsheets.
16
+ *
17
+ * For `.xls` files, `basic` mode is always used.
18
+ */
19
+ excelParsingMode?: Extend.ParseConfigAdvancedOptionsExcelParsingMode;
20
+ /** Whether to exclude hidden rows, columns, and sheets when parsing Excel files. */
21
+ excelSkipHiddenContent?: boolean;
11
22
  /** Multiplier for the Y-axis threshold used to determine if text blocks should be placed on the same line or not (0.1-5.0, default 1.0). Higher values group elements that are further apart vertically. Only applies when the spatial target is set. */
12
23
  verticalGroupingThreshold?: number;
13
24
  /** Options for returning raw OCR data in the response. */
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Controls how Excel files are parsed.
6
+ *
7
+ * * `basic`: Fast, deterministic parsing.
8
+ * * `advanced`: Enable layout block detection for complex spreadsheets.
9
+ *
10
+ * For `.xls` files, `basic` mode is always used.
11
+ */
12
+ export type ParseConfigAdvancedOptionsExcelParsingMode = "basic" | "advanced";
13
+ export declare const ParseConfigAdvancedOptionsExcelParsingMode: {
14
+ readonly Basic: "basic";
15
+ readonly Advanced: "advanced";
16
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ParseConfigAdvancedOptionsExcelParsingMode = void 0;
7
+ exports.ParseConfigAdvancedOptionsExcelParsingMode = {
8
+ Basic: "basic",
9
+ Advanced: "advanced",
10
+ };
@@ -14,7 +14,7 @@
14
14
  * * Prefer `markdown` for most documents, multi-column reading order, and retrieval use cases
15
15
  * * Prefer `spatial` for messy/scanned/handwritten or skewed documents, when you need near 1:1 layout fidelity, or for BOL-like logistics docs
16
16
  *
17
- * See "Markdown vs Spatial" in the Parse guide for details: /2025-04-21/developers/guides/parse#markdown-vs-spatial
17
+ * See Markdown vs Spatial in the Parse guide for details: /2025-04-21/developers/guides/parse#markdown-vs-spatial
18
18
  */
19
19
  export type ParseConfigTarget = "markdown" | "spatial";
20
20
  export declare const ParseConfigTarget: {
@@ -18,6 +18,8 @@ export interface ParserRun {
18
18
  fileId: string;
19
19
  /** An array of chunks that were parsed from the file. */
20
20
  chunks: Extend.Chunk[];
21
+ /** Raw OCR data from the parsing process. Only included when `returnOcr` is configured in the parse config's advanced options. */
22
+ ocr?: Extend.ParserRunOcr;
21
23
  /**
22
24
  * The status of the parser run:
23
25
  * * `"PROCESSED"` - The file was successfully processed
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Extend from "../index";
5
+ /**
6
+ * Raw OCR data from the parsing process. Only included when `returnOcr` is configured in the parse config's advanced options.
7
+ */
8
+ export interface ParserRunOcr {
9
+ /** An array of individual words detected by OCR. */
10
+ words?: Extend.ParserRunOcrWordsItem[];
11
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Extend from "../index";
5
+ export interface ParserRunOcrWordsItem {
6
+ /** The text content of the word. */
7
+ content: string;
8
+ /** The bounding box coordinates of the word. */
9
+ boundingBox: Extend.ParserRunOcrWordsItemBoundingBox;
10
+ /** The confidence score of the OCR detection for this word, between 0 and 1. */
11
+ confidence: number;
12
+ /** The page number where the word was detected. */
13
+ pageNumber: number;
14
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The bounding box coordinates of the word.
6
+ */
7
+ export interface ParserRunOcrWordsItemBoundingBox {
8
+ /** The left coordinate of the bounding box. */
9
+ left: number;
10
+ /** The right coordinate of the bounding box. */
11
+ right: number;
12
+ /** The top coordinate of the bounding box. */
13
+ top: number;
14
+ /** The bottom coordinate of the bounding box. */
15
+ bottom: number;
16
+ }
@@ -1,113 +1,20 @@
1
- export * from "./TooManyRequestsErrorBody";
1
+ export * from "./BadRequestErrorBodyCode";
2
+ export * from "./BadRequestErrorBody";
2
3
  export * from "./ParseRequestResponseType";
3
4
  export * from "./ParseRequestFile";
4
5
  export * from "./ParseAsyncRequestFile";
5
- export * from "./BadRequestErrorBodyCode";
6
- export * from "./BadRequestErrorBody";
6
+ export * from "./TooManyRequestsErrorBody";
7
+ export * from "./ApiVersionEnum";
8
+ export * from "./JsonObject";
9
+ export * from "./Polygon";
7
10
  export * from "./PageRangesItem";
8
11
  export * from "./PageRanges";
9
- export * from "./Error_";
10
- export * from "./ExtendError";
11
- export * from "./WorkflowStatus";
12
- export * from "./WorkflowRun";
13
- export * from "./JsonObject";
14
- export * from "./FileCredits";
15
- export * from "./DocumentProcessorRunCredits";
16
- export * from "./WorkflowRunCredits";
17
- export * from "./ParserRunCredits";
18
- export * from "./StepRunStatus";
19
- export * from "./StepRunStepType";
20
- export * from "./StepRunStep";
21
- export * from "./StepRunOutputRulesItemFailureReason";
22
- export * from "./StepRunOutputRulesItem";
23
- export * from "./StepRunOutput";
24
- export * from "./StepRun";
25
- export * from "./Workflow";
26
- export * from "./ProcessorStatus";
27
- export * from "./ProcessorRunType";
28
- export * from "./ProcessorRunConfig";
29
- export * from "./ProcessorRunMergedProcessorsItem";
30
- export * from "./ProcessorRun";
31
- export * from "./ExtractionOutputEdits";
32
- export * from "./Processor";
33
- export * from "./ProcessorVersionConfig";
34
- export * from "./ProcessorVersion";
35
- export * from "./EvaluationSet";
36
- export * from "./EvaluationSetItem";
37
- export * from "./ChunkType";
38
- export * from "./ChunkMetadataPageRange";
39
- export * from "./ChunkMetadata";
40
- export * from "./Chunk";
41
- export * from "./TableDetails";
42
- export * from "./TableCellDetails";
43
- export * from "./FigureDetailsFigureType";
44
- export * from "./FigureDetails";
45
- export * from "./EmptyBlockDetails";
46
- export * from "./BlockType";
47
- export * from "./BlockDetails";
48
- export * from "./BlockMetadataPage";
49
- export * from "./BlockMetadata";
50
- export * from "./BlockPolygonItem";
51
- export * from "./BlockBoundingBox";
52
- export * from "./Block";
53
- export * from "./BatchProcessorRunMetrics";
54
- export * from "./BatchProcessorRunStatus";
55
- export * from "./BatchProcessorRunSource";
56
- export * from "./BatchProcessorRunOptions";
57
- export * from "./BatchProcessorRun";
58
- export * from "./BaseMetrics";
59
- export * from "./ExtractMetricsFieldMetrics";
60
- export * from "./ExtractMetrics";
61
- export * from "./ClassifyMetrics";
62
- export * from "./SplitterMetrics";
63
- export * from "./WorkflowRunSummary";
64
- export * from "./ProcessorRunSummaryType";
65
- export * from "./ProcessorRunSummary";
66
- export * from "./ParseErrorCode";
67
- export * from "./ParseError";
68
- export * from "./ParserRunStatusEnum";
69
- export * from "./ParserRunMetrics";
70
- export * from "./ParserRun";
71
- export * from "./ParserRunStatusStatus";
72
- export * from "./ParserRunStatus";
73
- export * from "./EditErrorCode";
74
- export * from "./EditError";
75
- export * from "./EditRootJsonSchema";
76
- export * from "./EditBoundingBox";
77
- export * from "./EditTextOptions";
78
- export * from "./EditObjectJsonSchema";
79
- export * from "./EditJsonSchemaExtendEditFieldType";
80
- export * from "./EditJsonSchema";
81
- export * from "./EditRunEditedFile";
82
- export * from "./EditRunConfigAdvancedOptions";
83
- export * from "./EditRunConfig";
84
- export * from "./EditRunMetrics";
85
- export * from "./EditRunUsage";
86
- export * from "./EditRun";
87
- export * from "./EditRunStatusStatus";
88
- export * from "./EditRunStatus";
89
- export * from "./WebhookEventEventType";
90
- export * from "./WebhookEventPayload";
91
- export * from "./WebhookEvent";
92
- export * from "./WebhookEventWorkflowRunEventType";
93
- export * from "./WebhookEventWorkflowRun";
94
- export * from "./WebhookEventProcessorRunEventType";
95
- export * from "./WebhookEventProcessorRun";
96
- export * from "./WebhookEventWorkflowEventType";
97
- export * from "./WebhookEventWorkflow";
98
- export * from "./WebhookEventProcessorEventType";
99
- export * from "./WebhookEventProcessor";
100
- export * from "./WebhookEventProcessorVersion";
101
- export * from "./ApiVersionEnum";
102
- export * from "./ProcessorId";
103
12
  export * from "./SortByEnum";
104
13
  export * from "./SortDirEnum";
105
14
  export * from "./NextPageToken";
106
15
  export * from "./MaxPageSize";
107
- export * from "./ProcessorType";
108
- export * from "./ListProcessorsProcessorVersion";
109
- export * from "./ListProcessorsProcessor";
110
- export * from "./ListProcessorsResponse";
16
+ export * from "./Error_";
17
+ export * from "./ExtendError";
111
18
  export * from "./FileType";
112
19
  export * from "./FileContentsPagesItem";
113
20
  export * from "./FileContentsSheetsItem";
@@ -115,15 +22,16 @@ export * from "./FileContents";
115
22
  export * from "./FileMetadataParentSplit";
116
23
  export * from "./FileMetadata";
117
24
  export * from "./File_";
118
- export * from "./WorkflowRunFileInputOutputsItem";
119
- export * from "./WorkflowRunFileInput";
25
+ export * from "./FileCredits";
26
+ export * from "./ProcessorType";
27
+ export * from "./ProcessorId";
28
+ export * from "./Processor";
29
+ export * from "./ProcessorVersionConfig";
30
+ export * from "./ProcessorVersion";
120
31
  export * from "./ProcessorRunFileInput";
121
- export * from "./BatchWorkflowRunFileInput";
122
- export * from "./ClassificationConfigBaseProcessor";
123
- export * from "./ClassificationConfig";
124
- export * from "./Classification";
125
- export * from "./ClassificationAdvancedOptionsContext";
126
- export * from "./ClassificationAdvancedOptions";
32
+ export * from "./ListProcessorsProcessor";
33
+ export * from "./ListProcessorsProcessorVersion";
34
+ export * from "./ListProcessorsResponse";
127
35
  export * from "./ExtractionConfigBaseProcessor";
128
36
  export * from "./ExtractionConfig";
129
37
  export * from "./ExtractionAdvancedOptionsArrayCitationStrategy";
@@ -139,40 +47,80 @@ export * from "./ExcelSheetRange";
139
47
  export * from "./ExtractionFieldType";
140
48
  export * from "./ExtractionField";
141
49
  export * from "./Enum";
142
- export * from "./SplitterConfigBaseProcessor";
143
- export * from "./SplitterConfig";
144
- export * from "./SplitterAdvancedOptionsSplitMethod";
145
- export * from "./SplitterAdvancedOptions";
146
- export * from "./ProvidedSplitterOutputSplitsItem";
147
- export * from "./ProvidedSplitterOutput";
148
- export * from "./SplitterOutputSplitsItem";
149
- export * from "./SplitterOutput";
150
- export * from "./ProvidedClassifierOutput";
151
- export * from "./ClassifierOutput";
152
- export * from "./ProvidedExtractionFieldResultType";
153
- export * from "./ProvidedExtractionFieldResult";
154
- export * from "./ProvidedFieldsArrayOutput";
155
- export * from "./ProvidedExtractionOutput";
156
- export * from "./ProvidedJsonOutput";
50
+ export * from "./EnumOption";
157
51
  export * from "./ExtractionOutput";
158
52
  export * from "./JsonOutputMetadataValueCitationsItemPolygonItem";
159
53
  export * from "./JsonOutputMetadataValueCitationsItem";
160
54
  export * from "./JsonOutputMetadataValue";
161
55
  export * from "./JsonOutput";
162
- export * from "./OutputMetadataValue";
163
- export * from "./OutputMetadata";
164
- export * from "./Citation";
165
- export * from "./Polygon";
166
56
  export * from "./FieldsArrayOutput";
167
57
  export * from "./ExtractionFieldResultType";
168
58
  export * from "./ExtractionFieldResult";
169
- export * from "./EnumOption";
170
59
  export * from "./ExtractionFieldResultReferenceBoundingBoxesItem";
171
60
  export * from "./ExtractionFieldResultReference";
61
+ export * from "./ProvidedExtractionOutput";
62
+ export * from "./ProvidedJsonOutput";
63
+ export * from "./ProvidedFieldsArrayOutput";
64
+ export * from "./ProvidedExtractionFieldResultType";
65
+ export * from "./ProvidedExtractionFieldResult";
66
+ export * from "./ExtractionOutputEdits";
172
67
  export * from "./InsightType";
173
68
  export * from "./Insight";
174
- export * from "./ProvidedProcessorOutput";
69
+ export * from "./Citation";
70
+ export * from "./ClassificationConfigBaseProcessor";
71
+ export * from "./ClassificationConfig";
72
+ export * from "./Classification";
73
+ export * from "./ClassificationAdvancedOptionsContext";
74
+ export * from "./ClassificationAdvancedOptions";
75
+ export * from "./ClassifierOutput";
76
+ export * from "./ProvidedClassifierOutput";
77
+ export * from "./SplitterConfigBaseProcessor";
78
+ export * from "./SplitterConfig";
79
+ export * from "./SplitterAdvancedOptionsSplitMethod";
80
+ export * from "./SplitterAdvancedOptions";
81
+ export * from "./SplitterOutputSplitsItem";
82
+ export * from "./SplitterOutput";
83
+ export * from "./ProvidedSplitterOutputSplitsItem";
84
+ export * from "./ProvidedSplitterOutput";
175
85
  export * from "./ProcessorOutput";
86
+ export * from "./ProvidedProcessorOutput";
87
+ export * from "./ProcessorStatus";
88
+ export * from "./ProcessorRunType";
89
+ export * from "./ProcessorRunConfig";
90
+ export * from "./ProcessorRunMergedProcessorsItem";
91
+ export * from "./ProcessorRun";
92
+ export * from "./ProcessorRunSummaryType";
93
+ export * from "./ProcessorRunSummary";
94
+ export * from "./BatchProcessorRunMetrics";
95
+ export * from "./BatchProcessorRunStatus";
96
+ export * from "./BatchProcessorRunSource";
97
+ export * from "./BatchProcessorRunOptions";
98
+ export * from "./BatchProcessorRun";
99
+ export * from "./DocumentProcessorRunCredits";
100
+ export * from "./WorkflowStatus";
101
+ export * from "./Workflow";
102
+ export * from "./WorkflowRun";
103
+ export * from "./WorkflowRunSummary";
104
+ export * from "./WorkflowRunCredits";
105
+ export * from "./StepRunStatus";
106
+ export * from "./StepRunStepType";
107
+ export * from "./StepRunStep";
108
+ export * from "./StepRunOutputRulesItemFailureReason";
109
+ export * from "./StepRunOutputRulesItem";
110
+ export * from "./StepRunOutput";
111
+ export * from "./StepRun";
112
+ export * from "./WorkflowRunFileInputOutputsItem";
113
+ export * from "./WorkflowRunFileInput";
114
+ export * from "./BatchWorkflowRunFileInput";
115
+ export * from "./ParserRunOcrWordsItemBoundingBox";
116
+ export * from "./ParserRunOcrWordsItem";
117
+ export * from "./ParserRunOcr";
118
+ export * from "./ParserRunStatusEnum";
119
+ export * from "./ParserRunMetrics";
120
+ export * from "./ParserRun";
121
+ export * from "./ParserRunStatusStatus";
122
+ export * from "./ParserRunStatus";
123
+ export * from "./ParserRunCredits";
176
124
  export * from "./ParseConfigTarget";
177
125
  export * from "./ParseConfigChunkingStrategyType";
178
126
  export * from "./ParseConfigChunkingStrategyOptions";
@@ -185,9 +133,46 @@ export * from "./ParseConfigBlockOptionsTables";
185
133
  export * from "./ParseConfigBlockOptionsTextAgentic";
186
134
  export * from "./ParseConfigBlockOptionsText";
187
135
  export * from "./ParseConfigBlockOptions";
136
+ export * from "./ParseConfigAdvancedOptionsExcelParsingMode";
188
137
  export * from "./ParseConfigAdvancedOptionsReturnOcr";
189
138
  export * from "./ParseConfigAdvancedOptions";
190
139
  export * from "./ParseConfig";
140
+ export * from "./ParseErrorCode";
141
+ export * from "./ParseError";
142
+ export * from "./ChunkType";
143
+ export * from "./ChunkMetadataPageRange";
144
+ export * from "./ChunkMetadata";
145
+ export * from "./Chunk";
146
+ export * from "./BlockType";
147
+ export * from "./BlockDetails";
148
+ export * from "./BlockMetadataPage";
149
+ export * from "./BlockMetadata";
150
+ export * from "./BlockPolygonItem";
151
+ export * from "./BlockBoundingBox";
152
+ export * from "./Block";
153
+ export * from "./TableDetails";
154
+ export * from "./TableCellDetails";
155
+ export * from "./FigureDetailsFigureType";
156
+ export * from "./FigureDetails";
157
+ export * from "./EmptyBlockDetails";
158
+ export * from "./EditRunEditedFile";
159
+ export * from "./EditRunConfigAdvancedOptions";
160
+ export * from "./EditRunConfig";
161
+ export * from "./EditRunMetrics";
162
+ export * from "./EditRunUsage";
163
+ export * from "./EditRun";
164
+ export * from "./EditRunStatusStatus";
165
+ export * from "./EditRunStatus";
166
+ export * from "./EditErrorCode";
167
+ export * from "./EditError";
168
+ export * from "./EditRootJsonSchema";
169
+ export * from "./EditJsonSchemaExtendEditFieldType";
170
+ export * from "./EditJsonSchema";
171
+ export * from "./EditObjectJsonSchema";
172
+ export * from "./EditBoundingBox";
173
+ export * from "./EditTextOptions";
174
+ export * from "./EvaluationSet";
175
+ export * from "./EvaluationSetItem";
191
176
  export * from "./OptimizerRunAgentType";
192
177
  export * from "./OptimizerRunStatus";
193
178
  export * from "./OptimizerRun";
@@ -199,3 +184,20 @@ export * from "./ExtractionFieldMetrics";
199
184
  export * from "./ClassificationFieldMetrics";
200
185
  export * from "./ExtractOptimizerOptions";
201
186
  export * from "./ClassifyOptimizerOptions";
187
+ export * from "./BaseMetrics";
188
+ export * from "./ExtractMetricsFieldMetrics";
189
+ export * from "./ExtractMetrics";
190
+ export * from "./ClassifyMetrics";
191
+ export * from "./SplitterMetrics";
192
+ export * from "./WebhookEventEventType";
193
+ export * from "./WebhookEventPayload";
194
+ export * from "./WebhookEvent";
195
+ export * from "./WebhookEventWorkflowRunEventType";
196
+ export * from "./WebhookEventWorkflowRun";
197
+ export * from "./WebhookEventProcessorRunEventType";
198
+ export * from "./WebhookEventProcessorRun";
199
+ export * from "./WebhookEventWorkflowEventType";
200
+ export * from "./WebhookEventWorkflow";
201
+ export * from "./WebhookEventProcessorEventType";
202
+ export * from "./WebhookEventProcessor";
203
+ export * from "./WebhookEventProcessorVersion";