parallel-web 0.2.3 → 0.3.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/CHANGELOG.md +38 -0
- package/LICENSE +1 -1
- package/client.d.mts +1 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts +1 -1
- package/client.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/beta/beta.d.mts +17 -6
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +17 -6
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js +4 -0
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs +4 -0
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/findall.d.mts +669 -0
- package/resources/beta/findall.d.mts.map +1 -0
- package/resources/beta/findall.d.ts +669 -0
- package/resources/beta/findall.d.ts.map +1 -0
- package/resources/beta/findall.js +164 -0
- package/resources/beta/findall.js.map +1 -0
- package/resources/beta/findall.mjs +159 -0
- package/resources/beta/findall.mjs.map +1 -0
- package/resources/beta/index.d.mts +1 -0
- package/resources/beta/index.d.mts.map +1 -1
- package/resources/beta/index.d.ts +1 -0
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/index.js +4 -1
- package/resources/beta/index.js.map +1 -1
- package/resources/beta/index.mjs +1 -0
- package/resources/beta/index.mjs.map +1 -1
- package/resources/beta/task-group.d.mts +3 -3
- package/resources/beta/task-group.d.ts +3 -3
- package/resources/beta/task-run.d.mts +12 -8
- package/resources/beta/task-run.d.mts.map +1 -1
- package/resources/beta/task-run.d.ts +12 -8
- package/resources/beta/task-run.d.ts.map +1 -1
- package/resources/shared.d.mts +7 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +7 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/task-run.d.mts +4 -2
- package/resources/task-run.d.mts.map +1 -1
- package/resources/task-run.d.ts +4 -2
- package/resources/task-run.d.ts.map +1 -1
- package/src/client.ts +1 -1
- package/src/resources/beta/beta.ts +67 -7
- package/src/resources/beta/findall.ts +945 -0
- package/src/resources/beta/index.ts +46 -0
- package/src/resources/beta/task-group.ts +3 -3
- package/src/resources/beta/task-run.ts +14 -7
- package/src/resources/shared.ts +8 -1
- package/src/resources/task-run.ts +4 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,6 +1,52 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
export { Beta } from './beta';
|
|
4
|
+
export {
|
|
5
|
+
FindAll,
|
|
6
|
+
Findall,
|
|
7
|
+
type FindAllCandidateMatchStatusEvent,
|
|
8
|
+
type FindAllEnrichInput,
|
|
9
|
+
type FindAllExtendInput,
|
|
10
|
+
type FindAllRun,
|
|
11
|
+
type FindAllRunInput,
|
|
12
|
+
type FindAllRunResult,
|
|
13
|
+
type FindAllRunStatusEvent,
|
|
14
|
+
type FindAllSchema,
|
|
15
|
+
type FindAllSchemaUpdatedEvent,
|
|
16
|
+
type IngestInput,
|
|
17
|
+
type FindAllCancelResponse,
|
|
18
|
+
type FindAllEventsResponse,
|
|
19
|
+
type FindAllCreateParams,
|
|
20
|
+
type FindAllRetrieveParams,
|
|
21
|
+
type FindAllCancelParams,
|
|
22
|
+
type FindAllEnrichParams,
|
|
23
|
+
type FindAllEventsParams,
|
|
24
|
+
type FindAllExtendParams,
|
|
25
|
+
type FindAllIngestParams,
|
|
26
|
+
type FindAllResultParams,
|
|
27
|
+
type FindAllSchemaParams,
|
|
28
|
+
type FindallCandidateMatchStatusEvent,
|
|
29
|
+
type FindallEnrichInput,
|
|
30
|
+
type FindallExtendInput,
|
|
31
|
+
type FindallRun,
|
|
32
|
+
type FindallRunInput,
|
|
33
|
+
type FindallRunResult,
|
|
34
|
+
type FindallRunStatusEvent,
|
|
35
|
+
type FindallSchema,
|
|
36
|
+
type FindallSchemaUpdatedEvent,
|
|
37
|
+
type FindallIngestInput,
|
|
38
|
+
type FindallCancelResponse,
|
|
39
|
+
type FindallEventsResponse,
|
|
40
|
+
type FindallCreateParams,
|
|
41
|
+
type FindallRetrieveParams,
|
|
42
|
+
type FindallCancelParams,
|
|
43
|
+
type FindallEnrichParams,
|
|
44
|
+
type FindallEventsParams,
|
|
45
|
+
type FindallExtendParams,
|
|
46
|
+
type FindallIngestParams,
|
|
47
|
+
type FindallResultParams,
|
|
48
|
+
type FindallSchemaParams,
|
|
49
|
+
} from './findall';
|
|
4
50
|
export {
|
|
5
51
|
TaskGroup,
|
|
6
52
|
type TaskGroupRunResponse,
|
|
@@ -112,7 +112,7 @@ export interface TaskGroup {
|
|
|
112
112
|
created_at: string | null;
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
|
-
* Status of
|
|
115
|
+
* Status of the group.
|
|
116
116
|
*/
|
|
117
117
|
status: TaskGroupStatus;
|
|
118
118
|
|
|
@@ -151,7 +151,7 @@ export interface TaskGroupRunResponse {
|
|
|
151
151
|
run_ids: Array<string>;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
|
-
* Status of
|
|
154
|
+
* Status of the group.
|
|
155
155
|
*/
|
|
156
156
|
status: TaskGroupStatus;
|
|
157
157
|
}
|
|
@@ -206,7 +206,7 @@ export namespace TaskGroupEventsResponse {
|
|
|
206
206
|
event_id: string;
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
|
-
*
|
|
209
|
+
* Task group status object.
|
|
210
210
|
*/
|
|
211
211
|
status: TaskGroupAPI.TaskGroupStatus;
|
|
212
212
|
|
|
@@ -142,7 +142,7 @@ export interface BetaTaskRunResult {
|
|
|
142
142
|
output: BetaTaskRunResult.BetaTaskRunTextOutput | BetaTaskRunResult.BetaTaskRunJsonOutput;
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
145
|
+
* Beta task run object with status 'completed'.
|
|
146
146
|
*/
|
|
147
147
|
run: TaskRunAPI.TaskRun;
|
|
148
148
|
}
|
|
@@ -153,7 +153,9 @@ export namespace BetaTaskRunResult {
|
|
|
153
153
|
*/
|
|
154
154
|
export interface BetaTaskRunTextOutput {
|
|
155
155
|
/**
|
|
156
|
-
* Basis for the output.
|
|
156
|
+
* Basis for the output. To include per-list-element basis entries, send the
|
|
157
|
+
* `parallel-beta` header with the value `field-basis-2025-11-25` when creating the
|
|
158
|
+
* run.
|
|
157
159
|
*/
|
|
158
160
|
basis: Array<TaskRunAPI.FieldBasis>;
|
|
159
161
|
|
|
@@ -184,7 +186,9 @@ export namespace BetaTaskRunResult {
|
|
|
184
186
|
*/
|
|
185
187
|
export interface BetaTaskRunJsonOutput {
|
|
186
188
|
/**
|
|
187
|
-
* Basis for the output.
|
|
189
|
+
* Basis for the output. To include per-list-element basis entries, send the
|
|
190
|
+
* `parallel-beta` header with the value `field-basis-2025-11-25` when creating the
|
|
191
|
+
* run.
|
|
188
192
|
*/
|
|
189
193
|
basis: Array<TaskRunAPI.FieldBasis>;
|
|
190
194
|
|
|
@@ -223,7 +227,7 @@ export namespace BetaTaskRunResult {
|
|
|
223
227
|
*/
|
|
224
228
|
export interface ErrorEvent {
|
|
225
229
|
/**
|
|
226
|
-
*
|
|
230
|
+
* Error.
|
|
227
231
|
*/
|
|
228
232
|
error: Shared.ErrorObject;
|
|
229
233
|
|
|
@@ -305,6 +309,9 @@ export type ParallelBeta =
|
|
|
305
309
|
| 'mcp-server-2025-07-17'
|
|
306
310
|
| 'events-sse-2025-07-24'
|
|
307
311
|
| 'webhook-2025-08-12'
|
|
312
|
+
| 'findall-2025-09-15'
|
|
313
|
+
| 'search-extract-2025-10-10'
|
|
314
|
+
| 'field-basis-2025-11-25'
|
|
308
315
|
| (string & {});
|
|
309
316
|
|
|
310
317
|
/**
|
|
@@ -319,7 +326,7 @@ export interface TaskRunEvent {
|
|
|
319
326
|
event_id: string | null;
|
|
320
327
|
|
|
321
328
|
/**
|
|
322
|
-
*
|
|
329
|
+
* Task run object.
|
|
323
330
|
*/
|
|
324
331
|
run: TaskRunAPI.TaskRun;
|
|
325
332
|
|
|
@@ -375,7 +382,7 @@ export namespace TaskRunEventsResponse {
|
|
|
375
382
|
progress_meter: number;
|
|
376
383
|
|
|
377
384
|
/**
|
|
378
|
-
* Source stats
|
|
385
|
+
* Source stats describing progress so far.
|
|
379
386
|
*/
|
|
380
387
|
source_stats: TaskRunProgressStatsEvent.SourceStats;
|
|
381
388
|
|
|
@@ -387,7 +394,7 @@ export namespace TaskRunEventsResponse {
|
|
|
387
394
|
|
|
388
395
|
export namespace TaskRunProgressStatsEvent {
|
|
389
396
|
/**
|
|
390
|
-
* Source stats
|
|
397
|
+
* Source stats describing progress so far.
|
|
391
398
|
*/
|
|
392
399
|
export interface SourceStats {
|
|
393
400
|
/**
|
package/src/resources/shared.ts
CHANGED
|
@@ -25,7 +25,7 @@ export interface ErrorObject {
|
|
|
25
25
|
*/
|
|
26
26
|
export interface ErrorResponse {
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Error.
|
|
29
29
|
*/
|
|
30
30
|
error: ErrorObject;
|
|
31
31
|
|
|
@@ -41,6 +41,13 @@ export interface ErrorResponse {
|
|
|
41
41
|
* This policy governs which sources are allowed/disallowed in results.
|
|
42
42
|
*/
|
|
43
43
|
export interface SourcePolicy {
|
|
44
|
+
/**
|
|
45
|
+
* Optional start date for filtering search results. Results will be limited to
|
|
46
|
+
* content published on or after this date. Provided as an RFC 3339 date string
|
|
47
|
+
* (YYYY-MM-DD).
|
|
48
|
+
*/
|
|
49
|
+
after_date?: string | null;
|
|
50
|
+
|
|
44
51
|
/**
|
|
45
52
|
* List of domains to exclude from results. If specified, sources from these
|
|
46
53
|
* domains will be excluded. Accepts plain domains (e.g., example.com,
|
|
@@ -210,7 +210,9 @@ export interface TaskRun {
|
|
|
210
210
|
*/
|
|
211
211
|
export interface TaskRunJsonOutput {
|
|
212
212
|
/**
|
|
213
|
-
* Basis for each top-level field in the JSON output.
|
|
213
|
+
* Basis for each top-level field in the JSON output. Per-list-element basis
|
|
214
|
+
* entries are available only when the `parallel-beta: field-basis-2025-11-25`
|
|
215
|
+
* header is supplied.
|
|
214
216
|
*/
|
|
215
217
|
basis: Array<FieldBasis>;
|
|
216
218
|
|
|
@@ -257,7 +259,7 @@ export interface TaskRunResult {
|
|
|
257
259
|
output: TaskRunTextOutput | TaskRunJsonOutput;
|
|
258
260
|
|
|
259
261
|
/**
|
|
260
|
-
*
|
|
262
|
+
* Task run object with status 'completed'.
|
|
261
263
|
*/
|
|
262
264
|
run: TaskRun;
|
|
263
265
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.3.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.3.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.3.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.3.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|