parallel-web 0.5.0 → 1.0.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 (179) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/api-promise.d.mts +1 -0
  3. package/api-promise.d.mts.map +1 -1
  4. package/api-promise.d.ts +1 -0
  5. package/api-promise.d.ts.map +1 -1
  6. package/api-promise.mjs +1 -0
  7. package/api-promise.mjs.map +1 -1
  8. package/client.d.mts.map +1 -1
  9. package/client.d.ts.map +1 -1
  10. package/client.mjs.map +1 -1
  11. package/core/api-promise.d.mts.map +1 -1
  12. package/core/api-promise.d.ts.map +1 -1
  13. package/core/api-promise.mjs.map +1 -1
  14. package/core/error.mjs.map +1 -1
  15. package/core/resource.d.mts.map +1 -1
  16. package/core/resource.d.ts.map +1 -1
  17. package/core/streaming.d.mts.map +1 -1
  18. package/core/streaming.d.ts.map +1 -1
  19. package/core/streaming.mjs.map +1 -1
  20. package/core/uploads.d.mts.map +1 -1
  21. package/core/uploads.d.ts.map +1 -1
  22. package/core/uploads.mjs.map +1 -1
  23. package/error.d.mts +1 -0
  24. package/error.d.mts.map +1 -1
  25. package/error.d.ts +1 -0
  26. package/error.d.ts.map +1 -1
  27. package/error.mjs +1 -0
  28. package/error.mjs.map +1 -1
  29. package/index.d.mts.map +1 -1
  30. package/index.d.ts.map +1 -1
  31. package/index.mjs.map +1 -1
  32. package/internal/decoders/line.mjs.map +1 -1
  33. package/internal/detect-platform.mjs.map +1 -1
  34. package/internal/headers.mjs.map +1 -1
  35. package/internal/parse.d.mts.map +1 -1
  36. package/internal/parse.d.ts.map +1 -1
  37. package/internal/parse.mjs.map +1 -1
  38. package/internal/qs/formats.d.mts.map +1 -1
  39. package/internal/qs/formats.d.ts.map +1 -1
  40. package/internal/qs/index.d.mts +2 -2
  41. package/internal/qs/index.d.mts.map +1 -1
  42. package/internal/qs/index.d.ts +2 -2
  43. package/internal/qs/index.d.ts.map +1 -1
  44. package/internal/qs/index.mjs.map +1 -1
  45. package/internal/qs/stringify.d.mts.map +1 -1
  46. package/internal/qs/stringify.d.ts.map +1 -1
  47. package/internal/qs/stringify.mjs.map +1 -1
  48. package/internal/qs/utils.d.mts.map +1 -1
  49. package/internal/qs/utils.d.ts.map +1 -1
  50. package/internal/qs/utils.mjs.map +1 -1
  51. package/internal/request-options.d.mts.map +1 -1
  52. package/internal/request-options.d.ts.map +1 -1
  53. package/internal/shims.d.mts +6 -0
  54. package/internal/shims.d.mts.map +1 -1
  55. package/internal/shims.d.ts +6 -0
  56. package/internal/shims.d.ts.map +1 -1
  57. package/internal/to-file.d.mts.map +1 -1
  58. package/internal/to-file.d.ts.map +1 -1
  59. package/internal/to-file.mjs.map +1 -1
  60. package/internal/types.d.mts +4 -4
  61. package/internal/types.d.mts.map +1 -1
  62. package/internal/types.d.ts +4 -4
  63. package/internal/types.d.ts.map +1 -1
  64. package/internal/uploads.d.mts.map +1 -1
  65. package/internal/uploads.d.ts.map +1 -1
  66. package/internal/uploads.mjs.map +1 -1
  67. package/internal/utils/base64.mjs.map +1 -1
  68. package/internal/utils/log.d.mts.map +1 -1
  69. package/internal/utils/log.d.ts.map +1 -1
  70. package/internal/utils/log.js +3 -2
  71. package/internal/utils/log.js.map +1 -1
  72. package/internal/utils/log.mjs +3 -2
  73. package/internal/utils/log.mjs.map +1 -1
  74. package/internal/utils/path.mjs.map +1 -1
  75. package/internal/utils/query.mjs.map +1 -1
  76. package/internal/utils/values.mjs.map +1 -1
  77. package/internal/utils.d.mts.map +1 -1
  78. package/internal/utils.d.ts.map +1 -1
  79. package/internal/utils.mjs.map +1 -1
  80. package/package.json +1 -1
  81. package/resource.d.mts +1 -0
  82. package/resource.d.mts.map +1 -1
  83. package/resource.d.ts +1 -0
  84. package/resource.d.ts.map +1 -1
  85. package/resource.mjs +1 -0
  86. package/resource.mjs.map +1 -1
  87. package/resources/beta/beta.d.mts +2 -262
  88. package/resources/beta/beta.d.mts.map +1 -1
  89. package/resources/beta/beta.d.ts +2 -262
  90. package/resources/beta/beta.d.ts.map +1 -1
  91. package/resources/beta/beta.js +0 -41
  92. package/resources/beta/beta.js.map +1 -1
  93. package/resources/beta/beta.mjs +0 -41
  94. package/resources/beta/beta.mjs.map +1 -1
  95. package/resources/beta/findall.d.mts +76 -71
  96. package/resources/beta/findall.d.mts.map +1 -1
  97. package/resources/beta/findall.d.ts +76 -71
  98. package/resources/beta/findall.d.ts.map +1 -1
  99. package/resources/beta/findall.js +26 -23
  100. package/resources/beta/findall.js.map +1 -1
  101. package/resources/beta/findall.mjs +26 -23
  102. package/resources/beta/findall.mjs.map +1 -1
  103. package/resources/beta/index.d.mts +1 -3
  104. package/resources/beta/index.d.mts.map +1 -1
  105. package/resources/beta/index.d.ts +1 -3
  106. package/resources/beta/index.d.ts.map +1 -1
  107. package/resources/beta/index.js +1 -5
  108. package/resources/beta/index.js.map +1 -1
  109. package/resources/beta/index.mjs +0 -2
  110. package/resources/beta/index.mjs.map +1 -1
  111. package/resources/beta.d.mts.map +1 -1
  112. package/resources/beta.d.ts.map +1 -1
  113. package/resources/beta.mjs.map +1 -1
  114. package/resources/index.d.mts.map +1 -1
  115. package/resources/index.d.ts.map +1 -1
  116. package/resources/index.mjs.map +1 -1
  117. package/resources/monitor.d.mts.map +1 -1
  118. package/resources/monitor.d.ts.map +1 -1
  119. package/resources/monitor.mjs.map +1 -1
  120. package/resources/task-group.d.mts +2 -2
  121. package/resources/task-group.d.mts.map +1 -1
  122. package/resources/task-group.d.ts +2 -2
  123. package/resources/task-group.d.ts.map +1 -1
  124. package/resources/task-group.mjs.map +1 -1
  125. package/resources/task-run.d.mts +3 -3
  126. package/resources/task-run.d.mts.map +1 -1
  127. package/resources/task-run.d.ts +3 -3
  128. package/resources/task-run.d.ts.map +1 -1
  129. package/resources/task-run.mjs.map +1 -1
  130. package/resources/top-level.d.mts +1 -1
  131. package/resources/top-level.d.mts.map +1 -1
  132. package/resources/top-level.d.ts +1 -1
  133. package/resources/top-level.d.ts.map +1 -1
  134. package/resources.d.mts.map +1 -1
  135. package/resources.d.ts.map +1 -1
  136. package/resources.mjs.map +1 -1
  137. package/src/internal/utils/log.ts +2 -1
  138. package/src/resources/beta/api.md +4 -58
  139. package/src/resources/beta/beta.ts +8 -404
  140. package/src/resources/beta/findall.ts +102 -85
  141. package/src/resources/beta/index.ts +4 -29
  142. package/src/resources/task-group.ts +2 -2
  143. package/src/resources/task-run.ts +3 -3
  144. package/src/resources/top-level.ts +1 -1
  145. package/src/version.ts +1 -1
  146. package/streaming.d.mts +1 -0
  147. package/streaming.d.mts.map +1 -1
  148. package/streaming.d.ts +1 -0
  149. package/streaming.d.ts.map +1 -1
  150. package/streaming.mjs +1 -0
  151. package/streaming.mjs.map +1 -1
  152. package/uploads.d.mts +1 -0
  153. package/uploads.d.mts.map +1 -1
  154. package/uploads.d.ts +1 -0
  155. package/uploads.d.ts.map +1 -1
  156. package/uploads.mjs +1 -0
  157. package/uploads.mjs.map +1 -1
  158. package/version.d.mts +1 -1
  159. package/version.d.ts +1 -1
  160. package/version.js +1 -1
  161. package/version.mjs +1 -1
  162. package/resources/beta/task-group.d.mts +0 -122
  163. package/resources/beta/task-group.d.mts.map +0 -1
  164. package/resources/beta/task-group.d.ts +0 -122
  165. package/resources/beta/task-group.d.ts.map +0 -1
  166. package/resources/beta/task-group.js +0 -100
  167. package/resources/beta/task-group.js.map +0 -1
  168. package/resources/beta/task-group.mjs +0 -96
  169. package/resources/beta/task-group.mjs.map +0 -1
  170. package/resources/beta/task-run.d.mts +0 -191
  171. package/resources/beta/task-run.d.mts.map +0 -1
  172. package/resources/beta/task-run.d.ts +0 -191
  173. package/resources/beta/task-run.d.ts.map +0 -1
  174. package/resources/beta/task-run.js +0 -81
  175. package/resources/beta/task-run.js.map +0 -1
  176. package/resources/beta/task-run.mjs +0 -77
  177. package/resources/beta/task-run.mjs.map +0 -1
  178. package/src/resources/beta/task-group.ts +0 -223
  179. package/src/resources/beta/task-run.ts +0 -276
@@ -1,122 +0,0 @@
1
- import { APIResource } from "../../core/resource.js";
2
- import * as TaskGroupAPI from "../task-group.js";
3
- import * as TaskRunAPI from "../task-run.js";
4
- import * as BetaTaskRunAPI from "./task-run.js";
5
- import { APIPromise } from "../../core/api-promise.js";
6
- import { Stream } from "../../core/streaming.js";
7
- import { RequestOptions } from "../../internal/request-options.js";
8
- /**
9
- * Tasks (Beta)
10
- *
11
- * @deprecated Use GA Task Group instead
12
- */
13
- export declare class TaskGroup extends APIResource {
14
- /**
15
- * Initiates a TaskGroup to group and track multiple runs.
16
- *
17
- * @deprecated Use GA Task Group instead
18
- */
19
- create(body: TaskGroupCreateParams, options?: RequestOptions): APIPromise<TaskGroupAPI.TaskGroup>;
20
- /**
21
- * Retrieves aggregated status across runs in a TaskGroup.
22
- *
23
- * @deprecated Use GA Task Group instead
24
- */
25
- retrieve(taskGroupID: string, options?: RequestOptions): APIPromise<TaskGroupAPI.TaskGroup>;
26
- /**
27
- * Initiates multiple task runs within a TaskGroup.
28
- *
29
- * @deprecated Use GA Task Group instead
30
- */
31
- addRuns(taskGroupID: string, params: TaskGroupAddRunsParams, options?: RequestOptions): APIPromise<TaskGroupAPI.TaskGroupRunResponse>;
32
- /**
33
- * Streams events from a TaskGroup: status updates and run completions.
34
- *
35
- * The connection will remain open for up to an hour as long as at least one run in
36
- * the group is still active.
37
- *
38
- * @deprecated Use GA Task Group instead
39
- */
40
- events(taskGroupID: string, query?: TaskGroupEventsParams | undefined, options?: RequestOptions): APIPromise<Stream<TaskGroupEventsResponse>>;
41
- /**
42
- * Retrieves task runs in a TaskGroup and optionally their inputs and outputs.
43
- *
44
- * All runs within a TaskGroup are returned as a stream. To get the inputs and/or
45
- * outputs back in the stream, set the corresponding `include_input` and
46
- * `include_output` parameters to `true`.
47
- *
48
- * The stream is resumable using the `event_id` as the cursor. To resume a stream,
49
- * specify the `last_event_id` parameter with the `event_id` of the last event in
50
- * the stream. The stream will resume from the next event after the
51
- * `last_event_id`.
52
- *
53
- * @deprecated Use GA Task Group instead
54
- */
55
- getRuns(taskGroupID: string, query?: TaskGroupGetRunsParams | undefined, options?: RequestOptions): APIPromise<Stream<TaskGroupGetRunsResponse>>;
56
- }
57
- /**
58
- * Event indicating an update to group status.
59
- */
60
- export type TaskGroupEventsResponse = TaskGroupAPI.TaskGroupStatusEvent | TaskRunAPI.TaskRunEvent | TaskRunAPI.ErrorEvent;
61
- /**
62
- * Event when a task run transitions to a non-active status.
63
- *
64
- * May indicate completion, cancellation, or failure.
65
- */
66
- export type TaskGroupGetRunsResponse = TaskRunAPI.TaskRunEvent | TaskRunAPI.ErrorEvent;
67
- export type TaskGroupStatus = TaskGroupAPI.TaskGroupStatus;
68
- export type TaskGroupStatusEvent = TaskGroupAPI.TaskGroupStatusEvent;
69
- export type TaskGroupRunResponse = TaskGroupAPI.TaskGroupRunResponse;
70
- export interface TaskGroupCreateParams {
71
- /**
72
- * User-provided metadata stored with the task group.
73
- */
74
- metadata?: {
75
- [key: string]: string | number | boolean;
76
- } | null;
77
- }
78
- export interface TaskGroupAddRunsParams {
79
- /**
80
- * Body param: List of task runs to execute. Up to 1,000 runs can be specified per
81
- * request. If you'd like to add more runs, split them across multiple TaskGroup
82
- * POST requests.
83
- */
84
- inputs: Array<TaskRunAPI.RunInput>;
85
- /**
86
- * Query param
87
- */
88
- refresh_status?: boolean;
89
- /**
90
- * Body param: Specification for a task.
91
- *
92
- * Auto output schemas can be specified by setting `output_schema={"type":"auto"}`.
93
- * Not specifying a TaskSpec is the same as setting an auto output schema.
94
- *
95
- * For convenience bare strings are also accepted as input or output schemas.
96
- */
97
- default_task_spec?: TaskRunAPI.TaskSpec | null;
98
- /**
99
- * Header param: Optional header to specify the beta version(s) to enable.
100
- */
101
- betas?: Array<BetaTaskRunAPI.ParallelBeta>;
102
- }
103
- export interface TaskGroupEventsParams {
104
- last_event_id?: string | null;
105
- timeout?: number | null;
106
- }
107
- export interface TaskGroupGetRunsParams {
108
- include_input?: boolean;
109
- include_output?: boolean;
110
- last_event_id?: string | null;
111
- status?: 'queued' | 'action_required' | 'running' | 'completed' | 'failed' | 'cancelling' | 'cancelled' | null;
112
- }
113
- export declare namespace TaskGroup {
114
- export { type TaskGroupEventsResponse as TaskGroupEventsResponse, type TaskGroupGetRunsResponse as TaskGroupGetRunsResponse, type TaskGroupStatus as TaskGroupStatus, type TaskGroupStatusEvent as TaskGroupStatusEvent, type TaskGroupRunResponse as TaskGroupRunResponse, type TaskGroupCreateParams as TaskGroupCreateParams, type TaskGroupAddRunsParams as TaskGroupAddRunsParams, type TaskGroupEventsParams as TaskGroupEventsParams, type TaskGroupGetRunsParams as TaskGroupGetRunsParams, };
115
- }
116
- type _TaskGroupStatusEvent = TaskGroupStatusEvent;
117
- export declare namespace TaskGroupEventsResponse {
118
- /** @deprecated Use `Beta.TaskGroupStatusEvent` instead. */
119
- type TaskGroupStatusEvent = _TaskGroupStatusEvent;
120
- }
121
- export {};
122
- //# sourceMappingURL=task-group.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"task-group.d.ts","sourceRoot":"","sources":["../../src/resources/beta/task-group.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,KAAK,UAAU;OACf,KAAK,cAAc;OACnB,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE;OAEV,EAAE,cAAc,EAAE;AAGzB;;;;GAIG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC,SAAS,CAAC;IAQjG;;;;OAIG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC,SAAS,CAAC;IAO3F;;;;OAIG;IACH,OAAO,CACL,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,sBAAsB,EAC9B,O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G;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;CAC5C;AAED,MAAM,WAAW,qBAAqB;IACpC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,sBAAsB;IACrC,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,MAAM,CAAC,EACH,QAAQ,GACR,iBAAiB,GACjB,SAAS,GACT,WAAW,GACX,QAAQ,GACR,YAAY,GACZ,WAAW,GACX,IAAI,CAAC;CACV;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH;AAKD,KAAK,qBAAqB,GAAG,oBAAoB,CAAC;AAClD,yBAAiB,uBAAuB,CAAC;IACvC,2DAA2D;IAC3D,KAAY,oBAAoB,GAAG,qBAAqB,CAAC;CAC1D"}
@@ -1,100 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.TaskGroup = void 0;
5
- const resource_1 = require("../../core/resource.js");
6
- const headers_1 = require("../../internal/headers.js");
7
- const path_1 = require("../../internal/utils/path.js");
8
- /**
9
- * Tasks (Beta)
10
- *
11
- * @deprecated Use GA Task Group instead
12
- */
13
- class TaskGroup extends resource_1.APIResource {
14
- /**
15
- * Initiates a TaskGroup to group and track multiple runs.
16
- *
17
- * @deprecated Use GA Task Group instead
18
- */
19
- create(body, options) {
20
- return this._client.post('/v1beta/tasks/groups', {
21
- body,
22
- ...options,
23
- headers: (0, headers_1.buildHeaders)([{ 'parallel-beta': 'search-extract-2025-10-10' }, options?.headers]),
24
- });
25
- }
26
- /**
27
- * Retrieves aggregated status across runs in a TaskGroup.
28
- *
29
- * @deprecated Use GA Task Group instead
30
- */
31
- retrieve(taskGroupID, options) {
32
- return this._client.get((0, path_1.path) `/v1beta/tasks/groups/${taskGroupID}`, {
33
- ...options,
34
- headers: (0, headers_1.buildHeaders)([{ 'parallel-beta': 'search-extract-2025-10-10' }, options?.headers]),
35
- });
36
- }
37
- /**
38
- * Initiates multiple task runs within a TaskGroup.
39
- *
40
- * @deprecated Use GA Task Group instead
41
- */
42
- addRuns(taskGroupID, params, options) {
43
- const { refresh_status, betas, ...body } = params;
44
- return this._client.post((0, path_1.path) `/v1beta/tasks/groups/${taskGroupID}/runs`, {
45
- query: { refresh_status },
46
- body,
47
- ...options,
48
- headers: (0, headers_1.buildHeaders)([
49
- { 'parallel-beta': [...(betas ?? []), 'search-extract-2025-10-10'].toString() },
50
- options?.headers,
51
- ]),
52
- });
53
- }
54
- /**
55
- * Streams events from a TaskGroup: status updates and run completions.
56
- *
57
- * The connection will remain open for up to an hour as long as at least one run in
58
- * the group is still active.
59
- *
60
- * @deprecated Use GA Task Group instead
61
- */
62
- events(taskGroupID, query = {}, options) {
63
- return this._client.get((0, path_1.path) `/v1beta/tasks/groups/${taskGroupID}/events`, {
64
- query,
65
- ...options,
66
- headers: (0, headers_1.buildHeaders)([
67
- { 'parallel-beta': 'search-extract-2025-10-10', Accept: 'text/event-stream' },
68
- options?.headers,
69
- ]),
70
- stream: true,
71
- });
72
- }
73
- /**
74
- * Retrieves task runs in a TaskGroup and optionally their inputs and outputs.
75
- *
76
- * All runs within a TaskGroup are returned as a stream. To get the inputs and/or
77
- * outputs back in the stream, set the corresponding `include_input` and
78
- * `include_output` parameters to `true`.
79
- *
80
- * The stream is resumable using the `event_id` as the cursor. To resume a stream,
81
- * specify the `last_event_id` parameter with the `event_id` of the last event in
82
- * the stream. The stream will resume from the next event after the
83
- * `last_event_id`.
84
- *
85
- * @deprecated Use GA Task Group instead
86
- */
87
- getRuns(taskGroupID, query = {}, options) {
88
- return this._client.get((0, path_1.path) `/v1beta/tasks/groups/${taskGroupID}/runs`, {
89
- query,
90
- ...options,
91
- headers: (0, headers_1.buildHeaders)([
92
- { 'parallel-beta': 'search-extract-2025-10-10', Accept: 'text/event-stream' },
93
- options?.headers,
94
- ]),
95
- stream: true,
96
- });
97
- }
98
- }
99
- exports.TaskGroup = TaskGroup;
100
- //# sourceMappingURL=task-group.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"task-group.js","sourceRoot":"","sources":["../../src/resources/beta/task-group.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAMlD,uDAAsD;AAEtD,uDAAiD;AAEjD;;;;GAIG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;OAIG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE;YAC/C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,eAAe,EAAE,2BAA2B,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC5F,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,QAAQ,CAAC,WAAmB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,wBAAwB,WAAW,EAAE,EAAE;YACjE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAA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AA,sBAAY,EAAC;gBACpB,EAAE,eAAe,EAAE,2BAA2B,EAAE,MAAM,EAAE,mBAAmB,EAAE;gBAC7E,OAAO,EAAE,OAAO;aACjB,CAAC;YACF,MAAM,EAAE,IAAI;SACb,CAAiD,CAAC;IACrD,CAAC;CACF;AArGD,8BAqGC"}
@@ -1,96 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../core/resource.mjs";
3
- import { buildHeaders } from "../../internal/headers.mjs";
4
- import { path } from "../../internal/utils/path.mjs";
5
- /**
6
- * Tasks (Beta)
7
- *
8
- * @deprecated Use GA Task Group instead
9
- */
10
- export class TaskGroup extends APIResource {
11
- /**
12
- * Initiates a TaskGroup to group and track multiple runs.
13
- *
14
- * @deprecated Use GA Task Group instead
15
- */
16
- create(body, options) {
17
- return this._client.post('/v1beta/tasks/groups', {
18
- body,
19
- ...options,
20
- headers: buildHeaders([{ 'parallel-beta': 'search-extract-2025-10-10' }, options?.headers]),
21
- });
22
- }
23
- /**
24
- * Retrieves aggregated status across runs in a TaskGroup.
25
- *
26
- * @deprecated Use GA Task Group instead
27
- */
28
- retrieve(taskGroupID, options) {
29
- return this._client.get(path `/v1beta/tasks/groups/${taskGroupID}`, {
30
- ...options,
31
- headers: buildHeaders([{ 'parallel-beta': 'search-extract-2025-10-10' }, options?.headers]),
32
- });
33
- }
34
- /**
35
- * Initiates multiple task runs within a TaskGroup.
36
- *
37
- * @deprecated Use GA Task Group instead
38
- */
39
- addRuns(taskGroupID, params, options) {
40
- const { refresh_status, betas, ...body } = params;
41
- return this._client.post(path `/v1beta/tasks/groups/${taskGroupID}/runs`, {
42
- query: { refresh_status },
43
- body,
44
- ...options,
45
- headers: buildHeaders([
46
- { 'parallel-beta': [...(betas ?? []), 'search-extract-2025-10-10'].toString() },
47
- options?.headers,
48
- ]),
49
- });
50
- }
51
- /**
52
- * Streams events from a TaskGroup: status updates and run completions.
53
- *
54
- * The connection will remain open for up to an hour as long as at least one run in
55
- * the group is still active.
56
- *
57
- * @deprecated Use GA Task Group instead
58
- */
59
- events(taskGroupID, query = {}, options) {
60
- return this._client.get(path `/v1beta/tasks/groups/${taskGroupID}/events`, {
61
- query,
62
- ...options,
63
- headers: buildHeaders([
64
- { 'parallel-beta': 'search-extract-2025-10-10', Accept: 'text/event-stream' },
65
- options?.headers,
66
- ]),
67
- stream: true,
68
- });
69
- }
70
- /**
71
- * Retrieves task runs in a TaskGroup and optionally their inputs and outputs.
72
- *
73
- * All runs within a TaskGroup are returned as a stream. To get the inputs and/or
74
- * outputs back in the stream, set the corresponding `include_input` and
75
- * `include_output` parameters to `true`.
76
- *
77
- * The stream is resumable using the `event_id` as the cursor. To resume a stream,
78
- * specify the `last_event_id` parameter with the `event_id` of the last event in
79
- * the stream. The stream will resume from the next event after the
80
- * `last_event_id`.
81
- *
82
- * @deprecated Use GA Task Group instead
83
- */
84
- getRuns(taskGroupID, query = {}, options) {
85
- return this._client.get(path `/v1beta/tasks/groups/${taskGroupID}/runs`, {
86
- query,
87
- ...options,
88
- headers: buildHeaders([
89
- { 'parallel-beta': 'search-extract-2025-10-10', Accept: 'text/event-stream' },
90
- options?.headers,
91
- ]),
92
- stream: true,
93
- });
94
- }
95
- }
96
- //# sourceMappingURL=task-group.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"task-group.mjs","sourceRoot":"","sources":["../../src/resources/beta/task-group.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAMf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf;;;;GAIG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;OAIG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE;YAC/C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,eAAe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ACb,CAAgD,CAAC;IACpD,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,OAAO,CACL,WAAmB,EACnB,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,wBAAwB,WAAW,OAAO,EAAE;YACtE,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,eAAe,EAAE,2BAA2B,EAAE,MAAM,EAAE,mBAAmB,EAAE;gBAC7E,OAAO,EAAE,OAAO;aACjB,CAAC;YACF,MAAM,EAAE,IAAI;SACb,CAAiD,CAAC;IACrD,CAAC;CACF"}
@@ -1,191 +0,0 @@
1
- import { APIResource } from "../../core/resource.mjs";
2
- import * as Shared from "../shared.mjs";
3
- import * as TaskRunAPI from "../task-run.mjs";
4
- import { APIPromise } from "../../core/api-promise.mjs";
5
- import { Stream } from "../../core/streaming.mjs";
6
- import { RequestOptions } from "../../internal/request-options.mjs";
7
- /**
8
- * 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.
9
- * - Output metadata: citations, excerpts, reasoning, and confidence per field
10
- *
11
- * Task Groups enable batch execution of many independent Task runs with group-level monitoring and failure handling.
12
- * - Submit hundreds or thousands of Tasks as a single group
13
- * - Observe group progress and receive results as they complete
14
- * - Real-time updates via Server-Sent Events (SSE)
15
- * - Add tasks to an existing group while it is running
16
- * - Group-level retry and error aggregation
17
- *
18
- * @deprecated Use GA Task Run instead
19
- */
20
- export declare class TaskRun extends APIResource {
21
- /**
22
- * Initiates a task run.
23
- *
24
- * Returns immediately with a run object in status 'queued'.
25
- *
26
- * Beta features can be enabled by setting the 'parallel-beta' header.
27
- *
28
- * @deprecated Use GA Task Run instead
29
- */
30
- create(params: TaskRunCreateParams, options?: RequestOptions): APIPromise<TaskRunAPI.TaskRun>;
31
- /**
32
- * Streams events for a task run.
33
- *
34
- * Returns a stream of events showing progress updates and state changes for the
35
- * task run.
36
- *
37
- * For task runs that did not have enable_events set to true during creation, the
38
- * frequency of events will be reduced.
39
- *
40
- * @deprecated Use GA Task Run instead
41
- */
42
- events(runID: string, options?: RequestOptions): APIPromise<Stream<TaskRunEventsResponse>>;
43
- /**
44
- * Retrieves a run result by run_id, blocking until the run is completed.
45
- *
46
- * @deprecated Use GA Task Run instead
47
- */
48
- result(runID: string, params?: TaskRunResultParams | null | undefined, options?: RequestOptions): APIPromise<TaskRunAPI.TaskRunResult>;
49
- }
50
- /**
51
- * Model for the parallel-beta header.
52
- */
53
- export type ParallelBeta = 'mcp-server-2025-07-17' | 'events-sse-2025-07-24' | 'webhook-2025-08-12' | 'findall-2025-09-15' | 'search-extract-2025-10-10' | 'field-basis-2025-11-25' | (string & {});
54
- /**
55
- * A progress update for a task run.
56
- */
57
- export type TaskRunEventsResponse = TaskRunAPI.TaskRunProgressStatsEvent | TaskRunAPI.TaskRunProgressMessageEvent | TaskRunAPI.TaskRunEvent | TaskRunAPI.ErrorEvent;
58
- /**
59
- * @deprecated Use parallel.types.task_run.TaskRunInput instead
60
- */
61
- export type BetaRunInput = TaskRunAPI.RunInput;
62
- /**
63
- * @deprecated Use parallel.types.task_run.TaskRunResult instead
64
- */
65
- export type BetaTaskRunResult = TaskRunAPI.TaskRunResult;
66
- /**
67
- * Backwards-compatible namespace for `BetaTaskRunResult`.
68
- * @deprecated Use `TaskRunJsonOutput` and `TaskRunTextOutput` from `task-run` instead.
69
- */
70
- export declare namespace BetaTaskRunResult {
71
- /** @deprecated Use `TaskRunAPI.TaskRunTextOutput` instead */
72
- type BetaTaskRunTextOutput = TaskRunAPI.TaskRunTextOutput;
73
- /** @deprecated Use `TaskRunAPI.TaskRunJsonOutput` instead */
74
- type BetaTaskRunJsonOutput = TaskRunAPI.TaskRunJsonOutput;
75
- }
76
- /**
77
- * @deprecated Use parallel.types.task_run.Webhook instead
78
- */
79
- export type Webhook = TaskRunAPI.Webhook;
80
- /**
81
- * @deprecated Use parallel.types.task_run.McpServer instead
82
- */
83
- export type McpServer = TaskRunAPI.McpServer;
84
- /**
85
- * @deprecated Use parallel.types.task_run.McpToolCall instead
86
- */
87
- export type McpToolCall = TaskRunAPI.McpToolCall;
88
- /**
89
- * @deprecated Use parallel.types.task_run.TaskRunEvent instead
90
- */
91
- export type TaskRunEvent = TaskRunAPI.TaskRunEvent;
92
- /**
93
- * @deprecated Use parallel.types.task_run.ErrorEvent instead
94
- */
95
- export type ErrorEvent = TaskRunAPI.ErrorEvent;
96
- export interface TaskRunCreateParams {
97
- /**
98
- * Body param: Input to the task, either text or a JSON object.
99
- */
100
- input: string | {
101
- [key: string]: unknown;
102
- };
103
- /**
104
- * Body param: Processor to use for the task.
105
- */
106
- processor: string;
107
- /**
108
- * Body param: Advanced search configuration for a task run.
109
- */
110
- advanced_settings?: TaskRunAPI.TaskAdvancedSettings | null;
111
- /**
112
- * Body param: Controls tracking of task run execution progress. When set to true,
113
- * progress events are recorded and can be accessed via the
114
- * [Task Run events](https://docs.parallel.ai/api-reference) endpoint. When false,
115
- * no progress events are tracked. Note that progress tracking cannot be enabled
116
- * after a run has been created. The flag is set to true by default for premium
117
- * processors (pro and above).
118
- */
119
- enable_events?: boolean | null;
120
- /**
121
- * Body param: Optional list of MCP servers to use for the run.
122
- */
123
- mcp_servers?: Array<TaskRunAPI.McpServer> | null;
124
- /**
125
- * Body param: User-provided metadata stored with the run. Keys and values must be
126
- * strings with a maximum length of 16 and 512 characters respectively.
127
- */
128
- metadata?: {
129
- [key: string]: string | number | boolean;
130
- } | null;
131
- /**
132
- * Body param: Interaction ID to use as context for this request.
133
- */
134
- previous_interaction_id?: string | null;
135
- /**
136
- * Body param: Source policy for web search results.
137
- *
138
- * This policy governs which sources are allowed/disallowed in results.
139
- */
140
- source_policy?: Shared.SourcePolicy | null;
141
- /**
142
- * Body param: Specification for a task.
143
- *
144
- * Auto output schemas can be specified by setting `output_schema={"type":"auto"}`.
145
- * Not specifying a TaskSpec is the same as setting an auto output schema.
146
- *
147
- * For convenience bare strings are also accepted as input or output schemas.
148
- */
149
- task_spec?: TaskRunAPI.TaskSpec | null;
150
- /**
151
- * Body param: Webhooks for Task Runs.
152
- */
153
- webhook?: TaskRunAPI.Webhook | null;
154
- /**
155
- * Header param: Optional header to specify the beta version(s) to enable.
156
- */
157
- betas?: Array<ParallelBeta>;
158
- }
159
- export interface TaskRunResultParams {
160
- /**
161
- * Query param
162
- */
163
- timeout?: number;
164
- /**
165
- * Header param: Optional header to specify the beta version(s) to enable.
166
- */
167
- betas?: Array<ParallelBeta>;
168
- }
169
- export declare namespace TaskRun {
170
- export { type ParallelBeta as ParallelBeta, type TaskRunEventsResponse as TaskRunEventsResponse, type BetaRunInput as BetaRunInput, type BetaTaskRunResult as BetaTaskRunResult, type Webhook as Webhook, type McpServer as McpServer, type McpToolCall as McpToolCall, type TaskRunEvent as TaskRunEvent, type ErrorEvent as ErrorEvent, type TaskRunCreateParams as TaskRunCreateParams, type TaskRunResultParams as TaskRunResultParams, };
171
- }
172
- type _TaskAdvancedSettings = TaskRunAPI.TaskAdvancedSettings;
173
- type _TaskRunProgressMessageEvent = TaskRunAPI.TaskRunProgressMessageEvent;
174
- type _TaskRunProgressStatsEvent = TaskRunAPI.TaskRunProgressStatsEvent;
175
- type _TaskRunSourceStats = TaskRunAPI.TaskRunSourceStats;
176
- export declare namespace TaskRunCreateParams {
177
- /** @deprecated Use `Parallel.TaskAdvancedSettings` instead. */
178
- type AdvancedSettings = _TaskAdvancedSettings;
179
- }
180
- export declare namespace TaskRunEventsResponse {
181
- /** @deprecated Use `Parallel.TaskRunProgressMessageEvent` instead. */
182
- type TaskRunProgressMessageEvent = _TaskRunProgressMessageEvent;
183
- /** @deprecated Use `Parallel.TaskRunProgressStatsEvent` instead. */
184
- type TaskRunProgressStatsEvent = _TaskRunProgressStatsEvent;
185
- namespace TaskRunProgressStatsEvent {
186
- /** @deprecated Use `Parallel.TaskRunSourceStats` instead. */
187
- type SourceStats = _TaskRunSourceStats;
188
- }
189
- }
190
- export {};
191
- //# sourceMappingURL=task-run.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"task-run.d.mts","sourceRoot":"","sources":["../../src/resources/beta/task-run.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE;OAEV,EAAE,cAAc,EAAE;AAGzB;;;;;;;;;;;;GAYG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;OAQG;IACH,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,CAAC;IAY7F;;;;;;;;;;OAUG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAW1F;;;;OAIG;IACH,MAAM,CACJ,KAAK,EAAE,MAAM,EACb,MAAM,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,UAAU,CAAC,aAAa,CAAC;CAWxC;AAED;;GAEG;AACH,MAAM,MAAM,YAAY,GACpB,uBAAuB,GACvB,uBAAuB,GACvB,oBAAoB,GACpB,oBAAoB,GACpB,2BAA2B,GAC3B,wBAAwB,GACxB,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAC7B,UAAU,CAAC,yBAAyB,GACpC,UAAU,CAAC,2BAA2B,GACtC,UAAU,CAAC,YAAY,GACvB,UAAU,CAAC,UAAU,CAAC;AAE1B;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,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