parallel-web 0.4.1 → 0.5.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 (160) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/client.d.mts +29 -8
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +29 -8
  5. package/client.d.ts.map +1 -1
  6. package/client.js +34 -4
  7. package/client.js.map +1 -1
  8. package/client.mjs +34 -4
  9. package/client.mjs.map +1 -1
  10. package/internal/qs/formats.d.mts +7 -0
  11. package/internal/qs/formats.d.mts.map +1 -0
  12. package/internal/qs/formats.d.ts +7 -0
  13. package/internal/qs/formats.d.ts.map +1 -0
  14. package/internal/qs/formats.js +13 -0
  15. package/internal/qs/formats.js.map +1 -0
  16. package/internal/qs/formats.mjs +9 -0
  17. package/internal/qs/formats.mjs.map +1 -0
  18. package/internal/qs/index.d.mts +10 -0
  19. package/internal/qs/index.d.mts.map +1 -0
  20. package/internal/qs/index.d.ts +10 -0
  21. package/internal/qs/index.d.ts.map +1 -0
  22. package/internal/qs/index.js +14 -0
  23. package/internal/qs/index.js.map +1 -0
  24. package/internal/qs/index.mjs +10 -0
  25. package/internal/qs/index.mjs.map +1 -0
  26. package/internal/qs/stringify.d.mts +3 -0
  27. package/internal/qs/stringify.d.mts.map +1 -0
  28. package/internal/qs/stringify.d.ts +3 -0
  29. package/internal/qs/stringify.d.ts.map +1 -0
  30. package/internal/qs/stringify.js +277 -0
  31. package/internal/qs/stringify.js.map +1 -0
  32. package/internal/qs/stringify.mjs +274 -0
  33. package/internal/qs/stringify.mjs.map +1 -0
  34. package/internal/qs/types.d.mts +57 -0
  35. package/internal/qs/types.d.mts.map +1 -0
  36. package/internal/qs/types.d.ts +57 -0
  37. package/internal/qs/types.d.ts.map +1 -0
  38. package/internal/qs/types.js +3 -0
  39. package/internal/qs/types.js.map +1 -0
  40. package/internal/qs/types.mjs +2 -0
  41. package/internal/qs/types.mjs.map +1 -0
  42. package/internal/qs/utils.d.mts +15 -0
  43. package/internal/qs/utils.d.mts.map +1 -0
  44. package/internal/qs/utils.d.ts +15 -0
  45. package/internal/qs/utils.d.ts.map +1 -0
  46. package/internal/qs/utils.js +230 -0
  47. package/internal/qs/utils.js.map +1 -0
  48. package/internal/qs/utils.mjs +217 -0
  49. package/internal/qs/utils.mjs.map +1 -0
  50. package/internal/types.d.mts +6 -6
  51. package/internal/types.d.mts.map +1 -1
  52. package/internal/types.d.ts +6 -6
  53. package/internal/types.d.ts.map +1 -1
  54. package/internal/utils/query.d.mts +0 -3
  55. package/internal/utils/query.d.mts.map +1 -1
  56. package/internal/utils/query.d.ts +0 -3
  57. package/internal/utils/query.d.ts.map +1 -1
  58. package/internal/utils/query.js +3 -16
  59. package/internal/utils/query.js.map +1 -1
  60. package/internal/utils/query.mjs +2 -16
  61. package/internal/utils/query.mjs.map +1 -1
  62. package/package.json +1 -1
  63. package/resources/beta/beta.d.mts +11 -19
  64. package/resources/beta/beta.d.mts.map +1 -1
  65. package/resources/beta/beta.d.ts +11 -19
  66. package/resources/beta/beta.d.ts.map +1 -1
  67. package/resources/beta/beta.js +2 -0
  68. package/resources/beta/beta.js.map +1 -1
  69. package/resources/beta/beta.mjs +2 -0
  70. package/resources/beta/beta.mjs.map +1 -1
  71. package/resources/beta/findall.d.mts +127 -177
  72. package/resources/beta/findall.d.mts.map +1 -1
  73. package/resources/beta/findall.d.ts +127 -177
  74. package/resources/beta/findall.d.ts.map +1 -1
  75. package/resources/beta/findall.js +2 -4
  76. package/resources/beta/findall.js.map +1 -1
  77. package/resources/beta/findall.mjs +2 -4
  78. package/resources/beta/findall.mjs.map +1 -1
  79. package/resources/beta/index.d.mts +2 -2
  80. package/resources/beta/index.d.mts.map +1 -1
  81. package/resources/beta/index.d.ts +2 -2
  82. package/resources/beta/index.d.ts.map +1 -1
  83. package/resources/beta/index.js.map +1 -1
  84. package/resources/beta/index.mjs.map +1 -1
  85. package/resources/beta/task-group.d.mts +22 -143
  86. package/resources/beta/task-group.d.mts.map +1 -1
  87. package/resources/beta/task-group.d.ts +22 -143
  88. package/resources/beta/task-group.d.ts.map +1 -1
  89. package/resources/beta/task-group.js +7 -42
  90. package/resources/beta/task-group.js.map +1 -1
  91. package/resources/beta/task-group.mjs +7 -42
  92. package/resources/beta/task-group.mjs.map +1 -1
  93. package/resources/beta/task-run.d.mts +22 -70
  94. package/resources/beta/task-run.d.mts.map +1 -1
  95. package/resources/beta/task-run.d.ts +22 -70
  96. package/resources/beta/task-run.d.ts.map +1 -1
  97. package/resources/beta/task-run.js +1 -1
  98. package/resources/beta/task-run.mjs +1 -1
  99. package/resources/index.d.mts +4 -2
  100. package/resources/index.d.mts.map +1 -1
  101. package/resources/index.d.ts +4 -2
  102. package/resources/index.d.ts.map +1 -1
  103. package/resources/index.js +5 -1
  104. package/resources/index.js.map +1 -1
  105. package/resources/index.mjs +2 -0
  106. package/resources/index.mjs.map +1 -1
  107. package/resources/monitor.d.mts +625 -0
  108. package/resources/monitor.d.mts.map +1 -0
  109. package/resources/monitor.d.ts +625 -0
  110. package/resources/monitor.d.ts.map +1 -0
  111. package/resources/monitor.js +140 -0
  112. package/resources/monitor.js.map +1 -0
  113. package/resources/monitor.mjs +136 -0
  114. package/resources/monitor.mjs.map +1 -0
  115. package/resources/task-group.d.mts +213 -0
  116. package/resources/task-group.d.mts.map +1 -0
  117. package/resources/task-group.d.ts +213 -0
  118. package/resources/task-group.d.ts.map +1 -0
  119. package/resources/task-group.js +95 -0
  120. package/resources/task-group.js.map +1 -0
  121. package/resources/task-group.mjs +91 -0
  122. package/resources/task-group.mjs.map +1 -0
  123. package/resources/task-run.d.mts +97 -80
  124. package/resources/task-run.d.mts.map +1 -1
  125. package/resources/task-run.d.ts +97 -80
  126. package/resources/task-run.d.ts.map +1 -1
  127. package/resources/task-run.js +14 -1
  128. package/resources/task-run.js.map +1 -1
  129. package/resources/task-run.mjs +14 -1
  130. package/resources/task-run.mjs.map +1 -1
  131. package/resources/top-level.d.mts +19 -15
  132. package/resources/top-level.d.mts.map +1 -1
  133. package/resources/top-level.d.ts +19 -15
  134. package/resources/top-level.d.ts.map +1 -1
  135. package/src/client.ts +120 -4
  136. package/src/internal/qs/LICENSE.md +13 -0
  137. package/src/internal/qs/README.md +3 -0
  138. package/src/internal/qs/formats.ts +10 -0
  139. package/src/internal/qs/index.ts +13 -0
  140. package/src/internal/qs/stringify.ts +385 -0
  141. package/src/internal/qs/types.ts +71 -0
  142. package/src/internal/qs/utils.ts +265 -0
  143. package/src/internal/types.ts +6 -8
  144. package/src/internal/utils/query.ts +2 -18
  145. package/src/resources/beta/api.md +9 -5
  146. package/src/resources/beta/beta.ts +26 -20
  147. package/src/resources/beta/findall.ts +153 -202
  148. package/src/resources/beta/index.ts +7 -4
  149. package/src/resources/beta/task-group.ts +30 -157
  150. package/src/resources/beta/task-run.ts +26 -86
  151. package/src/resources/index.ts +42 -0
  152. package/src/resources/monitor.ts +752 -0
  153. package/src/resources/task-group.ts +315 -0
  154. package/src/resources/task-run.ts +122 -95
  155. package/src/resources/top-level.ts +23 -15
  156. package/src/version.ts +1 -1
  157. package/version.d.mts +1 -1
  158. package/version.d.ts +1 -1
  159. package/version.js +1 -1
  160. package/version.mjs +1 -1
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../core/resource';
4
- import * as TaskGroupAPI from './task-group';
4
+ import * as TaskGroupAPI from '../task-group';
5
5
  import * as TaskRunAPI from '../task-run';
6
6
  import * as BetaTaskRunAPI from './task-run';
7
7
  import { APIPromise } from '../../core/api-promise';
@@ -11,26 +11,17 @@ import { RequestOptions } from '../../internal/request-options';
11
11
  import { path } from '../../internal/utils/path';
12
12
 
13
13
  /**
14
- * The Task API executes web research and extraction tasks. Clients submit a natural-language objective with an optional input schema; the service plans retrieval, fetches relevant URLs, and returns outputs that conform to a provided or inferred JSON schema. Supports deep research style queries and can return rich structured JSON outputs. Processors trade-off between cost, latency, and quality. Each processor supports calibrated confidences.
15
- * - Output metadata: citations, excerpts, reasoning, and confidence per field
14
+ * Tasks (Beta)
16
15
  *
17
- * Task Groups enable batch execution of many independent Task runs with group-level monitoring and failure handling.
18
- * - Submit hundreds or thousands of Tasks as a single group
19
- * - Observe group progress and receive results as they complete
20
- * - Real-time updates via Server-Sent Events (SSE)
21
- * - Add tasks to an existing group while it is running
22
- * - Group-level retry and error aggregation
16
+ * @deprecated Use GA Task Group instead
23
17
  */
24
18
  export class TaskGroup extends APIResource {
25
19
  /**
26
20
  * Initiates a TaskGroup to group and track multiple runs.
27
21
  *
28
- * @example
29
- * ```ts
30
- * const taskGroup = await client.beta.taskGroup.create();
31
- * ```
22
+ * @deprecated Use GA Task Group instead
32
23
  */
33
- create(body: TaskGroupCreateParams, options?: RequestOptions): APIPromise<TaskGroup> {
24
+ create(body: TaskGroupCreateParams, options?: RequestOptions): APIPromise<TaskGroupAPI.TaskGroup> {
34
25
  return this._client.post('/v1beta/tasks/groups', {
35
26
  body,
36
27
  ...options,
@@ -41,14 +32,9 @@ export class TaskGroup extends APIResource {
41
32
  /**
42
33
  * Retrieves aggregated status across runs in a TaskGroup.
43
34
  *
44
- * @example
45
- * ```ts
46
- * const taskGroup = await client.beta.taskGroup.retrieve(
47
- * 'taskgroup_id',
48
- * );
49
- * ```
35
+ * @deprecated Use GA Task Group instead
50
36
  */
51
- retrieve(taskGroupID: string, options?: RequestOptions): APIPromise<TaskGroup> {
37
+ retrieve(taskGroupID: string, options?: RequestOptions): APIPromise<TaskGroupAPI.TaskGroup> {
52
38
  return this._client.get(path`/v1beta/tasks/groups/${taskGroupID}`, {
53
39
  ...options,
54
40
  headers: buildHeaders([{ 'parallel-beta': 'search-extract-2025-10-10' }, options?.headers]),
@@ -58,24 +44,13 @@ export class TaskGroup extends APIResource {
58
44
  /**
59
45
  * Initiates multiple task runs within a TaskGroup.
60
46
  *
61
- * @example
62
- * ```ts
63
- * const taskGroupRunResponse =
64
- * await client.beta.taskGroup.addRuns('taskgroup_id', {
65
- * inputs: [
66
- * {
67
- * input: 'What was the GDP of France in 2023?',
68
- * processor: 'base',
69
- * },
70
- * ],
71
- * });
72
- * ```
47
+ * @deprecated Use GA Task Group instead
73
48
  */
74
49
  addRuns(
75
50
  taskGroupID: string,
76
51
  params: TaskGroupAddRunsParams,
77
52
  options?: RequestOptions,
78
- ): APIPromise<TaskGroupRunResponse> {
53
+ ): APIPromise<TaskGroupAPI.TaskGroupRunResponse> {
79
54
  const { refresh_status, betas, ...body } = params;
80
55
  return this._client.post(path`/v1beta/tasks/groups/${taskGroupID}/runs`, {
81
56
  query: { refresh_status },
@@ -94,12 +69,7 @@ export class TaskGroup extends APIResource {
94
69
  * The connection will remain open for up to an hour as long as at least one run in
95
70
  * the group is still active.
96
71
  *
97
- * @example
98
- * ```ts
99
- * const response = await client.beta.taskGroup.events(
100
- * 'taskgroup_id',
101
- * );
102
- * ```
72
+ * @deprecated Use GA Task Group instead
103
73
  */
104
74
  events(
105
75
  taskGroupID: string,
@@ -129,12 +99,7 @@ export class TaskGroup extends APIResource {
129
99
  * the stream. The stream will resume from the next event after the
130
100
  * `last_event_id`.
131
101
  *
132
- * @example
133
- * ```ts
134
- * const response = await client.beta.taskGroup.getRuns(
135
- * 'taskgroup_id',
136
- * );
137
- * ```
102
+ * @deprecated Use GA Task Group instead
138
103
  */
139
104
  getRuns(
140
105
  taskGroupID: string,
@@ -153,121 +118,14 @@ export class TaskGroup extends APIResource {
153
118
  }
154
119
  }
155
120
 
156
- /**
157
- * Response object for a task group, including its status and metadata.
158
- */
159
- export interface TaskGroup {
160
- /**
161
- * Timestamp of the creation of the group, as an RFC 3339 string.
162
- */
163
- created_at: string | null;
164
-
165
- /**
166
- * Status of the group.
167
- */
168
- status: TaskGroupStatus;
169
-
170
- /**
171
- * ID of the group.
172
- */
173
- taskgroup_id: string;
174
-
175
- /**
176
- * User-provided metadata stored with the group.
177
- */
178
- metadata?: { [key: string]: string | number | boolean } | null;
179
- }
180
-
181
- /**
182
- * Response from adding new task runs to a task group.
183
- */
184
- export interface TaskGroupRunResponse {
185
- /**
186
- * Cursor for these runs in the event stream at
187
- * taskgroup/events?last_event_id=<event_cursor>. Empty for the first runs in the
188
- * group.
189
- */
190
- event_cursor: string | null;
191
-
192
- /**
193
- * Cursor for these runs in the run stream at
194
- * taskgroup/runs?last_event_id=<run_cursor>. Empty for the first runs in the
195
- * group.
196
- */
197
- run_cursor: string | null;
198
-
199
- /**
200
- * IDs of the newly created runs.
201
- */
202
- run_ids: Array<string>;
203
-
204
- /**
205
- * Status of the group.
206
- */
207
- status: TaskGroupStatus;
208
- }
209
-
210
- /**
211
- * Status of a task group.
212
- */
213
- export interface TaskGroupStatus {
214
- /**
215
- * True if at least one run in the group is currently active, i.e. status is one of
216
- * {'cancelling', 'queued', 'running'}.
217
- */
218
- is_active: boolean;
219
-
220
- /**
221
- * Timestamp of the last status update to the group, as an RFC 3339 string.
222
- */
223
- modified_at: string | null;
224
-
225
- /**
226
- * Number of task runs in the group.
227
- */
228
- num_task_runs: number;
229
-
230
- /**
231
- * Human-readable status message for the group.
232
- */
233
- status_message: string | null;
234
-
235
- /**
236
- * Number of task runs with each status.
237
- */
238
- task_run_status_counts: { [key: string]: number };
239
- }
240
-
241
121
  /**
242
122
  * Event indicating an update to group status.
243
123
  */
244
124
  export type TaskGroupEventsResponse =
245
- | TaskGroupEventsResponse.TaskGroupStatusEvent
125
+ | TaskGroupAPI.TaskGroupStatusEvent
246
126
  | TaskRunAPI.TaskRunEvent
247
127
  | TaskRunAPI.ErrorEvent;
248
128
 
249
- export namespace TaskGroupEventsResponse {
250
- /**
251
- * Event indicating an update to group status.
252
- */
253
- export interface TaskGroupStatusEvent {
254
- /**
255
- * Cursor to resume the event stream.
256
- */
257
- event_id: string;
258
-
259
- /**
260
- * Task group status object.
261
- */
262
- status: TaskGroupAPI.TaskGroupStatus;
263
-
264
- /**
265
- * Event type; always 'task_group_status'.
266
- */
267
- type: 'task_group_status';
268
- }
269
- }
270
-
271
129
  /**
272
130
  * Event when a task run transitions to a non-active status.
273
131
  *
@@ -275,6 +133,12 @@ export namespace TaskGroupEventsResponse {
275
133
  */
276
134
  export type TaskGroupGetRunsResponse = TaskRunAPI.TaskRunEvent | TaskRunAPI.ErrorEvent;
277
135
 
136
+ export type TaskGroupStatus = TaskGroupAPI.TaskGroupStatus;
137
+
138
+ export type TaskGroupStatusEvent = TaskGroupAPI.TaskGroupStatusEvent;
139
+
140
+ export type TaskGroupRunResponse = TaskGroupAPI.TaskGroupRunResponse;
141
+
278
142
  export interface TaskGroupCreateParams {
279
143
  /**
280
144
  * User-provided metadata stored with the task group.
@@ -337,14 +201,23 @@ export interface TaskGroupGetRunsParams {
337
201
 
338
202
  export declare namespace TaskGroup {
339
203
  export {
340
- type TaskGroup as TaskGroup,
341
- type TaskGroupRunResponse as TaskGroupRunResponse,
342
- type TaskGroupStatus as TaskGroupStatus,
343
204
  type TaskGroupEventsResponse as TaskGroupEventsResponse,
344
205
  type TaskGroupGetRunsResponse as TaskGroupGetRunsResponse,
206
+ type TaskGroupStatus as TaskGroupStatus,
207
+ type TaskGroupStatusEvent as TaskGroupStatusEvent,
208
+ type TaskGroupRunResponse as TaskGroupRunResponse,
345
209
  type TaskGroupCreateParams as TaskGroupCreateParams,
346
210
  type TaskGroupAddRunsParams as TaskGroupAddRunsParams,
347
211
  type TaskGroupEventsParams as TaskGroupEventsParams,
348
212
  type TaskGroupGetRunsParams as TaskGroupGetRunsParams,
349
213
  };
350
214
  }
215
+
216
+ // Backwards-compat namespace member (deprecated). `TaskGroupEventsResponse.TaskGroupStatusEvent`
217
+ // was previously a nested interface; the type now lives at the file's top
218
+ // level (re-exported from GA `TaskGroupAPI.TaskGroupStatusEvent`).
219
+ type _TaskGroupStatusEvent = TaskGroupStatusEvent;
220
+ export namespace TaskGroupEventsResponse {
221
+ /** @deprecated Use `Beta.TaskGroupStatusEvent` instead. */
222
+ export type TaskGroupStatusEvent = _TaskGroupStatusEvent;
223
+ }
@@ -14,7 +14,7 @@ import { path } from '../../internal/utils/path';
14
14
  * - Output metadata: citations, excerpts, reasoning, and confidence per field
15
15
  *
16
16
  * Task Groups enable batch execution of many independent Task runs with group-level monitoring and failure handling.
17
- * - Submit hundreds or thousands of Tasks as a single group
17
+ * - Submit hundreds or thousands of Tasks as a single group
18
18
  * - Observe group progress and receive results as they complete
19
19
  * - Real-time updates via Server-Sent Events (SSE)
20
20
  * - Add tasks to an existing group while it is running
@@ -104,81 +104,11 @@ export type ParallelBeta =
104
104
  * A progress update for a task run.
105
105
  */
106
106
  export type TaskRunEventsResponse =
107
- | TaskRunEventsResponse.TaskRunProgressStatsEvent
108
- | TaskRunEventsResponse.TaskRunProgressMessageEvent
107
+ | TaskRunAPI.TaskRunProgressStatsEvent
108
+ | TaskRunAPI.TaskRunProgressMessageEvent
109
109
  | TaskRunAPI.TaskRunEvent
110
110
  | TaskRunAPI.ErrorEvent;
111
111
 
112
- export namespace TaskRunEventsResponse {
113
- /**
114
- * A progress update for a task run.
115
- */
116
- export interface TaskRunProgressStatsEvent {
117
- /**
118
- * Completion percentage of the task run. Ranges from 0 to 100 where 0 indicates no
119
- * progress and 100 indicates completion.
120
- */
121
- progress_meter: number;
122
-
123
- /**
124
- * Source stats describing progress so far.
125
- */
126
- source_stats: TaskRunProgressStatsEvent.SourceStats;
127
-
128
- /**
129
- * Event type; always 'task_run.progress_stats'.
130
- */
131
- type: 'task_run.progress_stats';
132
- }
133
-
134
- export namespace TaskRunProgressStatsEvent {
135
- /**
136
- * Source stats describing progress so far.
137
- */
138
- export interface SourceStats {
139
- /**
140
- * Number of sources considered in processing the task.
141
- */
142
- num_sources_considered: number | null;
143
-
144
- /**
145
- * Number of sources read in processing the task.
146
- */
147
- num_sources_read: number | null;
148
-
149
- /**
150
- * A sample of URLs of sources read in processing the task.
151
- */
152
- sources_read_sample: Array<string> | null;
153
- }
154
- }
155
-
156
- /**
157
- * A message for a task run progress update.
158
- */
159
- export interface TaskRunProgressMessageEvent {
160
- /**
161
- * Progress update message.
162
- */
163
- message: string;
164
-
165
- /**
166
- * Timestamp of the message.
167
- */
168
- timestamp: string | null;
169
-
170
- /**
171
- * Event type; always starts with 'task_run.progress_msg'.
172
- */
173
- type:
174
- | 'task_run.progress_msg.plan'
175
- | 'task_run.progress_msg.search'
176
- | 'task_run.progress_msg.result'
177
- | 'task_run.progress_msg.tool_call'
178
- | 'task_run.progress_msg.exec_status';
179
- }
180
- }
181
-
182
112
  /**
183
113
  * @deprecated Use parallel.types.task_run.TaskRunInput instead
184
114
  */
@@ -239,7 +169,7 @@ export interface TaskRunCreateParams {
239
169
  /**
240
170
  * Body param: Advanced search configuration for a task run.
241
171
  */
242
- advanced_settings?: TaskRunCreateParams.AdvancedSettings | null;
172
+ advanced_settings?: TaskRunAPI.TaskAdvancedSettings | null;
243
173
 
244
174
  /**
245
175
  * Body param: Controls tracking of task run execution progress. When set to true,
@@ -295,18 +225,6 @@ export interface TaskRunCreateParams {
295
225
  betas?: Array<ParallelBeta>;
296
226
  }
297
227
 
298
- export namespace TaskRunCreateParams {
299
- /**
300
- * Advanced search configuration for a task run.
301
- */
302
- export interface AdvancedSettings {
303
- /**
304
- * ISO 3166-1 alpha-2 country code for geo-targeted search results.
305
- */
306
- location?: string | null;
307
- }
308
- }
309
-
310
228
  export interface TaskRunResultParams {
311
229
  /**
312
230
  * Query param
@@ -334,3 +252,25 @@ export declare namespace TaskRun {
334
252
  type TaskRunResultParams as TaskRunResultParams,
335
253
  };
336
254
  }
255
+
256
+ // Backwards-compat namespace members (deprecated). Previously these types
257
+ // existed as nested interfaces under their parent's namespace; they've since
258
+ // moved to top-level model types in the GA `task-run` module.
259
+ type _TaskAdvancedSettings = TaskRunAPI.TaskAdvancedSettings;
260
+ type _TaskRunProgressMessageEvent = TaskRunAPI.TaskRunProgressMessageEvent;
261
+ type _TaskRunProgressStatsEvent = TaskRunAPI.TaskRunProgressStatsEvent;
262
+ type _TaskRunSourceStats = TaskRunAPI.TaskRunSourceStats;
263
+ export namespace TaskRunCreateParams {
264
+ /** @deprecated Use `Parallel.TaskAdvancedSettings` instead. */
265
+ export type AdvancedSettings = _TaskAdvancedSettings;
266
+ }
267
+ export namespace TaskRunEventsResponse {
268
+ /** @deprecated Use `Parallel.TaskRunProgressMessageEvent` instead. */
269
+ export type TaskRunProgressMessageEvent = _TaskRunProgressMessageEvent;
270
+ /** @deprecated Use `Parallel.TaskRunProgressStatsEvent` instead. */
271
+ export type TaskRunProgressStatsEvent = _TaskRunProgressStatsEvent;
272
+ export namespace TaskRunProgressStatsEvent {
273
+ /** @deprecated Use `Parallel.TaskRunSourceStats` instead. */
274
+ export type SourceStats = _TaskRunSourceStats;
275
+ }
276
+ }
@@ -2,6 +2,43 @@
2
2
 
3
3
  export * from './shared';
4
4
  export { Beta } from './beta/beta';
5
+ export {
6
+ MonitorResource,
7
+ type AdvancedMonitorSettings,
8
+ type CreateMonitorRequest,
9
+ type Monitor,
10
+ type MonitorCompletionEvent,
11
+ type MonitorErrorEvent,
12
+ type MonitorEventStreamEvent,
13
+ type MonitorEventStreamResponseSettings,
14
+ type MonitorEventStreamSettings,
15
+ type MonitorSnapshotEvent,
16
+ type MonitorSnapshotOutput,
17
+ type MonitorSnapshotResponseSettings,
18
+ type MonitorSnapshotSettings,
19
+ type MonitorWebhook,
20
+ type PaginatedMonitorEvents,
21
+ type PaginatedMonitorResponse,
22
+ type UpdateMonitorEventStreamSettings,
23
+ type UpdateMonitorRequest,
24
+ type MonitorCreateParams,
25
+ type MonitorUpdateParams,
26
+ type MonitorListParams,
27
+ type MonitorEventsParams,
28
+ } from './monitor';
29
+ export {
30
+ TaskGroup,
31
+ type TaskGroupRunResponse,
32
+ type TaskGroupStatus,
33
+ type TaskGroupStatusEvent,
34
+ type TaskGroupEventsResponse,
35
+ type TaskGroupGetRunsResponse,
36
+ type TaskGroupCreateParams,
37
+ type TaskGroupAddRunsParams,
38
+ type TaskGroupEventsParams,
39
+ type TaskGroupGetRunsParams,
40
+ type TaskGroupRetrieveRunParams,
41
+ } from './task-group';
5
42
  export {
6
43
  TaskRun,
7
44
  type AutoSchema,
@@ -12,9 +49,13 @@ export {
12
49
  type McpServer,
13
50
  type McpToolCall,
14
51
  type RunInput,
52
+ type TaskAdvancedSettings,
15
53
  type TaskRunEvent,
16
54
  type TaskRunJsonOutput,
55
+ type TaskRunProgressMessageEvent,
56
+ type TaskRunProgressStatsEvent,
17
57
  type TaskRunResult,
58
+ type TaskRunSourceStats,
18
59
  type TaskRunTextOutput,
19
60
  type TaskSpec,
20
61
  type TextSchema,
@@ -31,6 +72,7 @@ export {
31
72
  type ExtractResponse,
32
73
  type ExtractResult,
33
74
  type FetchPolicy,
75
+ type FullContentSettings,
34
76
  type SearchResult,
35
77
  type UsageItem,
36
78
  type WebSearchResult,