@retab/node 1.0.96 → 1.0.99

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 (79) hide show
  1. package/README.md +39 -42
  2. package/dist/api/client.d.ts +4 -2
  3. package/dist/api/client.d.ts.map +1 -1
  4. package/dist/api/client.js +4 -2
  5. package/dist/api/documents/client.d.ts +17 -11
  6. package/dist/api/documents/client.d.ts.map +1 -1
  7. package/dist/api/documents/client.js +85 -38
  8. package/dist/api/edit/agent/client.js +1 -1
  9. package/dist/api/edit/client.d.ts +1 -1
  10. package/dist/api/edit/client.js +1 -1
  11. package/dist/api/edit/templates/client.d.ts +1 -75
  12. package/dist/api/edit/templates/client.d.ts.map +1 -1
  13. package/dist/api/edit/templates/client.js +3 -130
  14. package/dist/api/evals/classify/client.d.ts +20 -0
  15. package/dist/api/evals/classify/client.d.ts.map +1 -0
  16. package/dist/api/evals/classify/client.js +25 -0
  17. package/dist/api/evals/client.d.ts +11 -0
  18. package/dist/api/evals/client.d.ts.map +1 -0
  19. package/dist/api/evals/client.js +12 -0
  20. package/dist/api/evals/extract/client.d.ts +287 -0
  21. package/dist/api/evals/extract/client.d.ts.map +1 -0
  22. package/dist/api/evals/extract/client.js +56 -0
  23. package/dist/api/evals/helpers.d.ts +30 -0
  24. package/dist/api/evals/helpers.d.ts.map +1 -0
  25. package/dist/api/evals/helpers.js +46 -0
  26. package/dist/api/evals/schemas.d.ts +6522 -0
  27. package/dist/api/evals/schemas.d.ts.map +1 -0
  28. package/dist/api/evals/schemas.js +219 -0
  29. package/dist/api/evals/split/client.d.ts +105 -0
  30. package/dist/api/evals/split/client.d.ts.map +1 -0
  31. package/dist/api/evals/split/client.js +28 -0
  32. package/dist/api/extractions/client.d.ts +3 -43
  33. package/dist/api/extractions/client.d.ts.map +1 -1
  34. package/dist/api/extractions/client.js +6 -67
  35. package/dist/api/files/client.d.ts +9 -1
  36. package/dist/api/files/client.d.ts.map +1 -1
  37. package/dist/api/files/client.js +11 -5
  38. package/dist/api/jobs/client.d.ts +12 -10
  39. package/dist/api/jobs/client.d.ts.map +1 -1
  40. package/dist/api/jobs/client.js +13 -17
  41. package/dist/api/models/client.d.ts +3 -10
  42. package/dist/api/models/client.d.ts.map +1 -1
  43. package/dist/api/models/client.js +9 -8
  44. package/dist/api/projects/client.d.ts +1640 -4
  45. package/dist/api/projects/client.d.ts.map +1 -1
  46. package/dist/api/projects/client.js +457 -28
  47. package/dist/api/schemas/client.d.ts +3 -0
  48. package/dist/api/schemas/client.d.ts.map +1 -1
  49. package/dist/api/schemas/client.js +1 -1
  50. package/dist/api/workflows/blocks/client.d.ts +67 -0
  51. package/dist/api/workflows/blocks/client.d.ts.map +1 -0
  52. package/dist/api/workflows/blocks/client.js +132 -0
  53. package/dist/api/workflows/client.d.ts +90 -2
  54. package/dist/api/workflows/client.d.ts.map +1 -1
  55. package/dist/api/workflows/client.js +153 -1
  56. package/dist/api/workflows/edges/client.d.ts +66 -0
  57. package/dist/api/workflows/edges/client.d.ts.map +1 -0
  58. package/dist/api/workflows/edges/client.js +120 -0
  59. package/dist/api/workflows/runs/client.d.ts +57 -113
  60. package/dist/api/workflows/runs/client.d.ts.map +1 -1
  61. package/dist/api/workflows/runs/client.js +118 -119
  62. package/dist/api/workflows/runs/steps/client.d.ts +35 -13
  63. package/dist/api/workflows/runs/steps/client.d.ts.map +1 -1
  64. package/dist/api/workflows/runs/steps/client.js +63 -15
  65. package/dist/client.d.ts +4 -2
  66. package/dist/client.d.ts.map +1 -1
  67. package/dist/client.js +79 -5
  68. package/dist/generated_types.d.ts +7778 -2745
  69. package/dist/generated_types.d.ts.map +1 -1
  70. package/dist/generated_types.js +711 -70
  71. package/dist/mime.d.ts.map +1 -1
  72. package/dist/mime.js +11 -1
  73. package/dist/schema_types.d.ts +2 -2
  74. package/dist/schema_types.d.ts.map +1 -1
  75. package/dist/schema_types.js +2 -2
  76. package/dist/types.d.ts +655 -109
  77. package/dist/types.d.ts.map +1 -1
  78. package/dist/types.js +84 -14
  79. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
1
  import { CompositionClient, RequestOptions } from "../../../client.js";
2
- import { MIMEDataInput, WorkflowRun, PaginatedList, CancelWorkflowResponse, ResumeWorkflowResponse } from "../../../types.js";
2
+ import { MIMEDataInput, WorkflowRun, PaginatedList, CancelWorkflowResponse, ResumeWorkflowResponse, WorkflowRunExportResponse, WorkflowRunStatus, WorkflowRunTriggerType } from "../../../types.js";
3
3
  import APIWorkflowRunSteps from "./steps/client.js";
4
4
  /**
5
5
  * Workflow Runs API client for managing workflow executions.
6
6
  *
7
7
  * Sub-clients:
8
- * - steps: Step output operations (get, list)
8
+ * - steps: Step output operations (get, list, getMany, getAll)
9
9
  */
10
10
  export default class APIWorkflowRuns extends CompositionClient {
11
11
  steps: APIWorkflowRunSteps;
@@ -17,24 +17,12 @@ export default class APIWorkflowRuns extends CompositionClient {
17
17
  * The returned WorkflowRun will have status "running" - use get()
18
18
  * to check for updates on the run status.
19
19
  *
20
- * @param workflowId - The ID of the workflow to run
21
- * @param documents - Mapping of start node IDs to their input documents
22
- * @param jsonInputs - Mapping of start_json node IDs to their input JSON data
23
- * @param options - Optional request options
24
- * @returns The created workflow run with status "running"
25
- *
26
20
  * @example
27
21
  * ```typescript
28
22
  * const run = await client.workflows.runs.create({
29
23
  * workflowId: "wf_abc123",
30
- * documents: {
31
- * "start-node-1": "./invoice.pdf",
32
- * },
33
- * jsonInputs: {
34
- * "json-node-1": { key: "value" },
35
- * },
24
+ * documents: { "start-node-1": "./invoice.pdf" },
36
25
  * });
37
- * console.log(`Run started: ${run.id}, status: ${run.status}`);
38
26
  * ```
39
27
  */
40
28
  create({ workflowId, documents, jsonInputs, }: {
@@ -44,47 +32,27 @@ export default class APIWorkflowRuns extends CompositionClient {
44
32
  }, options?: RequestOptions): Promise<WorkflowRun>;
45
33
  /**
46
34
  * Get a workflow run by ID.
47
- *
48
- * @param runId - The ID of the workflow run to retrieve
49
- * @param options - Optional request options
50
- * @returns The workflow run
51
- *
52
- * @example
53
- * ```typescript
54
- * const run = await client.workflows.runs.get("run_abc123");
55
- * console.log(`Run status: ${run.status}`);
56
- * ```
57
35
  */
58
36
  get(runId: string, options?: RequestOptions): Promise<WorkflowRun>;
59
37
  /**
60
38
  * List workflow runs with filtering and pagination.
61
- *
62
- * @example
63
- * ```typescript
64
- * const runs = await client.workflows.runs.list({
65
- * workflowId: "wf_abc123",
66
- * status: "completed",
67
- * limit: 10,
68
- * });
69
- * console.log(`Found ${runs.data.length} runs`);
70
- * ```
71
39
  */
72
40
  list({ workflowId, status, statuses, excludeStatus, triggerType, triggerTypes, fromDate, toDate, minCost, maxCost, minDuration, maxDuration, search, sortBy, fields, before, after, limit, order, }?: {
73
41
  workflowId?: string;
74
- status?: "pending" | "running" | "completed" | "error" | "waiting_for_human" | "cancelled";
75
- statuses?: string;
76
- excludeStatus?: "pending" | "running" | "completed" | "error" | "waiting_for_human" | "cancelled";
77
- triggerType?: "manual" | "api" | "schedule" | "webhook" | "email" | "restart";
78
- triggerTypes?: string;
79
- fromDate?: string;
80
- toDate?: string;
42
+ status?: WorkflowRunStatus;
43
+ statuses?: WorkflowRunStatus[] | string;
44
+ excludeStatus?: WorkflowRunStatus;
45
+ triggerType?: WorkflowRunTriggerType;
46
+ triggerTypes?: WorkflowRunTriggerType[] | string;
47
+ fromDate?: string | Date;
48
+ toDate?: string | Date;
81
49
  minCost?: number;
82
50
  maxCost?: number;
83
51
  minDuration?: number;
84
52
  maxDuration?: number;
85
53
  search?: string;
86
54
  sortBy?: string;
87
- fields?: string;
55
+ fields?: string[] | string;
88
56
  before?: string;
89
57
  after?: string;
90
58
  limit?: number;
@@ -92,70 +60,22 @@ export default class APIWorkflowRuns extends CompositionClient {
92
60
  }, options?: RequestOptions): Promise<PaginatedList>;
93
61
  /**
94
62
  * Delete a workflow run and its associated step data.
95
- *
96
- * @param runId - The ID of the workflow run to delete
97
- * @param options - Optional request options
98
- *
99
- * @example
100
- * ```typescript
101
- * await client.workflows.runs.delete("run_abc123");
102
- * ```
103
63
  */
104
64
  delete(runId: string, options?: RequestOptions): Promise<void>;
105
65
  /**
106
66
  * Cancel a running or pending workflow run.
107
- *
108
- * @param runId - The ID of the workflow run to cancel
109
- * @param commandId - Optional idempotency key for deduplicating cancel commands
110
- * @param options - Optional request options
111
- * @returns The updated run with cancellation status
112
- *
113
- * @example
114
- * ```typescript
115
- * const result = await client.workflows.runs.cancel("run_abc123");
116
- * console.log(`Cancellation: ${result.cancellation_status}`);
117
- * ```
118
67
  */
119
68
  cancel(runId: string, { commandId }?: {
120
69
  commandId?: string;
121
70
  }, options?: RequestOptions): Promise<CancelWorkflowResponse>;
122
71
  /**
123
72
  * Restart a completed or failed workflow run with the same inputs.
124
- *
125
- * @param runId - The ID of the workflow run to restart
126
- * @param commandId - Optional idempotency key for deduplicating restart commands
127
- * @param options - Optional request options
128
- * @returns The new workflow run
129
- *
130
- * @example
131
- * ```typescript
132
- * const newRun = await client.workflows.runs.restart("run_abc123");
133
- * console.log(`New run: ${newRun.id}`);
134
- * ```
135
73
  */
136
74
  restart(runId: string, { commandId }?: {
137
75
  commandId?: string;
138
76
  }, options?: RequestOptions): Promise<WorkflowRun>;
139
77
  /**
140
78
  * Resume a workflow run after human-in-the-loop (HIL) review.
141
- *
142
- * @param runId - The ID of the workflow run to resume
143
- * @param nodeId - The ID of the HIL node being approved/rejected
144
- * @param approved - Whether the human approved the data
145
- * @param modifiedData - Optional modified data if the human made changes
146
- * @param commandId - Optional idempotency key for deduplicating resume commands
147
- * @param options - Optional request options
148
- * @returns The resume response with status and queue information
149
- *
150
- * @example
151
- * ```typescript
152
- * const result = await client.workflows.runs.resume("run_abc123", {
153
- * nodeId: "hil-node-1",
154
- * approved: true,
155
- * modifiedData: { field: "corrected value" },
156
- * });
157
- * console.log(`Resume status: ${result.resume_status}`);
158
- * ```
159
79
  */
160
80
  resume(runId: string, { nodeId, approved, modifiedData, commandId, }: {
161
81
  nodeId: string;
@@ -166,58 +86,82 @@ export default class APIWorkflowRuns extends CompositionClient {
166
86
  /**
167
87
  * Poll a workflow run until it reaches a terminal state.
168
88
  *
169
- * Terminal states: "completed", "error", "cancelled".
89
+ * Terminal states: "completed", "error", "cancelled", "waiting_for_human".
170
90
  *
171
91
  * @param runId - The ID of the workflow run to wait for
172
92
  * @param pollIntervalMs - Milliseconds between polls (default: 2000)
173
93
  * @param timeoutMs - Maximum time to wait in milliseconds (default: 600000 = 10 minutes)
174
- * @returns The workflow run in a terminal state
175
- * @throws Error if the run doesn't complete within the timeout
94
+ * @param onStatus - Optional callback invoked with the WorkflowRun on each poll
176
95
  *
177
96
  * @example
178
97
  * ```typescript
179
98
  * const run = await client.workflows.runs.waitForCompletion("run_abc123", {
180
- * pollIntervalMs: 1000,
181
- * timeoutMs: 300000,
99
+ * onStatus: (r) => console.log(`${r.status}...`),
182
100
  * });
183
- * console.log(`Final status: ${run.status}`);
184
101
  * ```
185
102
  */
186
- waitForCompletion(runId: string, { pollIntervalMs, timeoutMs, }?: {
103
+ waitForCompletion(runId: string, { pollIntervalMs, timeoutMs, onStatus, }?: {
187
104
  pollIntervalMs?: number;
188
105
  timeoutMs?: number;
106
+ onStatus?: (run: WorkflowRun) => void | Promise<void>;
107
+ }): Promise<WorkflowRun>;
108
+ wait_for_completion(runId: string, { poll_interval_ms, timeout_ms, on_status, }?: {
109
+ poll_interval_ms?: number;
110
+ timeout_ms?: number;
111
+ on_status?: (run: WorkflowRun) => void | Promise<void>;
189
112
  }): Promise<WorkflowRun>;
190
113
  /**
191
114
  * Create a workflow run and wait for it to complete.
192
115
  *
193
- * Convenience method that combines create() and waitForCompletion().
194
- *
195
- * @param workflowId - The ID of the workflow to run
196
- * @param documents - Mapping of start node IDs to their input documents
197
- * @param jsonInputs - Mapping of start_json node IDs to their input JSON data
198
- * @param pollIntervalMs - Milliseconds between polls (default: 2000)
199
- * @param timeoutMs - Maximum time to wait in milliseconds (default: 600000)
200
- * @param options - Optional request options
201
- * @returns The workflow run in a terminal state
202
- *
203
116
  * @example
204
117
  * ```typescript
118
+ * import { raiseForStatus } from "retab";
119
+ *
205
120
  * const run = await client.workflows.runs.createAndWait({
206
121
  * workflowId: "wf_abc123",
207
122
  * documents: { "start-node-1": "./invoice.pdf" },
208
- * timeoutMs: 120000,
123
+ * onStatus: (r) => console.log(`${r.status}...`),
209
124
  * });
210
- * if (run.status === "completed") {
211
- * console.log("Outputs:", run.final_outputs);
212
- * }
125
+ * raiseForStatus(run);
126
+ * console.log(run.final_outputs);
213
127
  * ```
214
128
  */
215
- createAndWait({ workflowId, documents, jsonInputs, pollIntervalMs, timeoutMs, }: {
129
+ createAndWait({ workflowId, documents, jsonInputs, pollIntervalMs, timeoutMs, onStatus, }: {
216
130
  workflowId: string;
217
131
  documents?: Record<string, MIMEDataInput>;
218
132
  jsonInputs?: Record<string, Record<string, unknown>>;
219
133
  pollIntervalMs?: number;
220
134
  timeoutMs?: number;
135
+ onStatus?: (run: WorkflowRun) => void | Promise<void>;
221
136
  }, options?: RequestOptions): Promise<WorkflowRun>;
137
+ /**
138
+ * Get the configuration snapshot used for a run.
139
+ */
140
+ getConfig(runId: string, options?: RequestOptions): Promise<Record<string, unknown>>;
141
+ /**
142
+ * Get the DAG-ordered execution order for a run.
143
+ */
144
+ executionOrder(runId: string, options?: RequestOptions): Promise<Record<string, unknown>>;
145
+ /**
146
+ * Get a signed URL for downloading a document from a run step.
147
+ */
148
+ getDocumentUrl(runId: string, nodeId: string, options?: RequestOptions): Promise<Record<string, unknown>>;
149
+ /**
150
+ * Export run results as structured CSV data.
151
+ *
152
+ * @returns Object with `csv_data` (string), `rows` (number), `columns` (number)
153
+ */
154
+ export({ workflowId, nodeId, exportSource, selectedRunIds, status, excludeStatus, fromDate, toDate, triggerTypes, preferredColumns, }: {
155
+ workflowId: string;
156
+ nodeId: string;
157
+ exportSource?: "outputs" | "inputs";
158
+ selectedRunIds?: string[];
159
+ status?: string;
160
+ excludeStatus?: string;
161
+ fromDate?: string | Date;
162
+ toDate?: string | Date;
163
+ triggerTypes?: WorkflowRunTriggerType[];
164
+ preferredColumns?: string[];
165
+ }, options?: RequestOptions): Promise<WorkflowRunExportResponse>;
222
166
  }
223
167
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/api/workflows/runs/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACH,aAAa,EAEb,WAAW,EAEX,aAAa,EAEb,sBAAsB,EAEtB,sBAAsB,EAEzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,mBAAmB,MAAM,mBAAmB,CAAC;AAQpD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,iBAAiB;IACnD,KAAK,EAAE,mBAAmB,CAAC;gBAEtB,MAAM,EAAE,iBAAiB;IAKrC;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACG,MAAM,CACR,EACI,UAAU,EACV,SAAS,EACT,UAAU,GACb,EAAE;QACC,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;QAC1C,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;KACxD,EACD,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,WAAW,CAAC;IAkCvB;;;;;;;;;;;;OAYG;IACG,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,WAAW,CAAC;IASxE;;;;;;;;;;;;OAYG;IACG,IAAI,CACN,EACI,UAAU,EACV,MAAM,EACN,QAAQ,EACR,aAAa,EACb,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAO,E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AO,CAAC,CAAC,CAAC;QACrD,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,SAAS,CAAC,EAAE,MAAM,CAAC;KACtB,EACD,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,WAAW,CAAC;CAO1B"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/api/workflows/runs/client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACH,aAAa,EAEb,WAAW,EAEX,aAAa,EAEb,sBAAsB,EAEtB,sBAAsB,EAEtB,yBAAyB,EAEzB,iBAAiB,EACjB,sBAAsB,EACzB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,mBAAmB,MAAM,mBAAmB,CAAC;AAyBpD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,iBAAiB;IACnD,KAAK,EAAE,mBAAmB,CAAC;gBAEtB,MAAM,EAAE,iBAAiB;IAKrC;;;;;;;;;;;;;;OAcG;IACG,MAAM,CACR,EACI,UAAU,EACV,SAAS,EACT,UAAU,GACb,EAAE;QACC,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;QAC1C,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;KACxD,EACD,OAAO,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,WAAW,CAAC;IAkCvB;;OAEG;IACG,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,WAAW,CAAC;IASxE;;OAEG;IACG,IAAI,CACN,EACI,UAAU,EACV,MAAM,EACN,QAAQ,EACR,aAAa,EACb,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAO,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