parallel-web 0.2.4 → 0.3.1
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 +41 -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 +14 -7
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +14 -7
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js +3 -3
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs +4 -4
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/findall.d.mts +122 -432
- package/resources/beta/findall.d.mts.map +1 -1
- package/resources/beta/findall.d.ts +122 -432
- package/resources/beta/findall.d.ts.map +1 -1
- package/resources/beta/findall.js +20 -11
- package/resources/beta/findall.js.map +1 -1
- package/resources/beta/findall.mjs +18 -10
- package/resources/beta/findall.mjs.map +1 -1
- package/resources/beta/index.d.mts +1 -1
- package/resources/beta/index.d.mts.map +1 -1
- package/resources/beta/index.d.ts +1 -1
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/index.js +2 -1
- package/resources/beta/index.js.map +1 -1
- package/resources/beta/index.mjs +1 -1
- 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 +13 -9
- package/resources/beta/task-run.d.mts.map +1 -1
- package/resources/beta/task-run.d.ts +13 -9
- 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 +56 -50
- package/src/resources/beta/findall.ts +172 -522
- package/src/resources/beta/index.ts +23 -2
- package/src/resources/beta/task-group.ts +3 -3
- package/src/resources/beta/task-run.ts +13 -8
- 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
|
@@ -2,7 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
export { Beta } from './beta';
|
|
4
4
|
export {
|
|
5
|
+
FindAll,
|
|
5
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,
|
|
6
28
|
type FindallCandidateMatchStatusEvent,
|
|
7
29
|
type FindallEnrichInput,
|
|
8
30
|
type FindallExtendInput,
|
|
@@ -12,8 +34,7 @@ export {
|
|
|
12
34
|
type FindallRunStatusEvent,
|
|
13
35
|
type FindallSchema,
|
|
14
36
|
type FindallSchemaUpdatedEvent,
|
|
15
|
-
type
|
|
16
|
-
type FindallRetrieveResponse,
|
|
37
|
+
type FindallIngestInput,
|
|
17
38
|
type FindallCancelResponse,
|
|
18
39
|
type FindallEventsResponse,
|
|
19
40
|
type FindallCreateParams,
|
|
@@ -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
|
|
|
@@ -307,6 +311,7 @@ export type ParallelBeta =
|
|
|
307
311
|
| 'webhook-2025-08-12'
|
|
308
312
|
| 'findall-2025-09-15'
|
|
309
313
|
| 'search-extract-2025-10-10'
|
|
314
|
+
| 'field-basis-2025-11-25'
|
|
310
315
|
| (string & {});
|
|
311
316
|
|
|
312
317
|
/**
|
|
@@ -321,7 +326,7 @@ export interface TaskRunEvent {
|
|
|
321
326
|
event_id: string | null;
|
|
322
327
|
|
|
323
328
|
/**
|
|
324
|
-
*
|
|
329
|
+
* Task run object.
|
|
325
330
|
*/
|
|
326
331
|
run: TaskRunAPI.TaskRun;
|
|
327
332
|
|
|
@@ -377,7 +382,7 @@ export namespace TaskRunEventsResponse {
|
|
|
377
382
|
progress_meter: number;
|
|
378
383
|
|
|
379
384
|
/**
|
|
380
|
-
* Source stats
|
|
385
|
+
* Source stats describing progress so far.
|
|
381
386
|
*/
|
|
382
387
|
source_stats: TaskRunProgressStatsEvent.SourceStats;
|
|
383
388
|
|
|
@@ -389,7 +394,7 @@ export namespace TaskRunEventsResponse {
|
|
|
389
394
|
|
|
390
395
|
export namespace TaskRunProgressStatsEvent {
|
|
391
396
|
/**
|
|
392
|
-
* Source stats
|
|
397
|
+
* Source stats describing progress so far.
|
|
393
398
|
*/
|
|
394
399
|
export interface SourceStats {
|
|
395
400
|
/**
|
|
@@ -501,7 +506,7 @@ export interface TaskRunCreateParams {
|
|
|
501
506
|
|
|
502
507
|
export interface TaskRunResultParams {
|
|
503
508
|
/**
|
|
504
|
-
* Query param
|
|
509
|
+
* Query param
|
|
505
510
|
*/
|
|
506
511
|
timeout?: number;
|
|
507
512
|
|
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.1'; // 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.1";
|
|
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.1";
|
|
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.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|