parallel-web 0.3.2 → 0.4.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 +44 -0
- package/client.d.mts +40 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +40 -2
- package/client.d.ts.map +1 -1
- package/client.js +39 -0
- package/client.js.map +1 -1
- package/client.mjs +39 -0
- package/client.mjs.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +12 -1
- package/resources/beta/beta.d.mts +40 -61
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +40 -61
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js +11 -2
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs +11 -2
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/findall.d.mts +167 -8
- package/resources/beta/findall.d.mts.map +1 -1
- package/resources/beta/findall.d.ts +167 -8
- package/resources/beta/findall.d.ts.map +1 -1
- package/resources/beta/findall.js +108 -0
- package/resources/beta/findall.js.map +1 -1
- package/resources/beta/findall.mjs +108 -0
- package/resources/beta/findall.mjs.map +1 -1
- package/resources/beta/index.d.mts +2 -2
- package/resources/beta/index.d.mts.map +1 -1
- package/resources/beta/index.d.ts +2 -2
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/index.js.map +1 -1
- package/resources/beta/index.mjs.map +1 -1
- package/resources/beta/task-group.d.mts +50 -5
- package/resources/beta/task-group.d.mts.map +1 -1
- package/resources/beta/task-group.d.ts +50 -5
- package/resources/beta/task-group.d.ts.map +1 -1
- package/resources/beta/task-group.js +45 -3
- package/resources/beta/task-group.js.map +1 -1
- package/resources/beta/task-group.mjs +45 -3
- package/resources/beta/task-group.mjs.map +1 -1
- package/resources/beta/task-run.d.mts +77 -270
- package/resources/beta/task-run.d.mts.map +1 -1
- package/resources/beta/task-run.d.ts +77 -270
- package/resources/beta/task-run.d.ts.map +1 -1
- package/resources/beta/task-run.js +17 -2
- package/resources/beta/task-run.js.map +1 -1
- package/resources/beta/task-run.mjs +17 -2
- package/resources/beta/task-run.mjs.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/shared.d.mts +4 -2
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +4 -2
- package/resources/shared.d.ts.map +1 -1
- package/resources/task-run.d.mts +308 -30
- package/resources/task-run.d.mts.map +1 -1
- package/resources/task-run.d.ts +308 -30
- package/resources/task-run.d.ts.map +1 -1
- package/resources/task-run.js +67 -4
- package/resources/task-run.js.map +1 -1
- package/resources/task-run.mjs +67 -4
- package/resources/task-run.mjs.map +1 -1
- package/resources/top-level.d.mts +317 -0
- package/resources/top-level.d.mts.map +1 -0
- package/resources/top-level.d.ts +317 -0
- package/resources/top-level.d.ts.map +1 -0
- package/resources/top-level.js +4 -0
- package/resources/top-level.js.map +1 -0
- package/resources/top-level.mjs +3 -0
- package/resources/top-level.mjs.map +1 -0
- package/src/client.ts +86 -0
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/beta/api.md +12 -9
- package/src/resources/beta/beta.ts +55 -73
- package/src/resources/beta/findall.ts +187 -7
- package/src/resources/beta/index.ts +7 -4
- package/src/resources/beta/task-group.ts +54 -7
- package/src/resources/beta/task-run.ts +94 -305
- package/src/resources/index.ts +20 -0
- package/src/resources/shared.ts +4 -2
- package/src/resources/task-run.ts +391 -32
- package/src/resources/top-level.ts +385 -0
- 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,7 +1,8 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as Shared from "../shared.mjs";
|
|
3
|
+
import * as TopLevelAPI from "../top-level.mjs";
|
|
3
4
|
import * as FindAllAPI from "./findall.mjs";
|
|
4
|
-
import { FindAll, FindAllCancelParams, FindAllCancelResponse, FindAllCandidateMatchStatusEvent, FindAllCreateParams, FindAllEnrichInput, FindAllEnrichParams, FindAllEventsParams, FindAllEventsResponse, FindAllExtendInput, FindAllExtendParams, FindAllIngestParams, FindAllResultParams, FindAllRetrieveParams, FindAllRun, FindAllRunInput, FindAllRunResult, FindAllRunStatusEvent, FindAllSchema, FindAllSchemaParams, FindAllSchemaUpdatedEvent, IngestInput } from "./findall.mjs";
|
|
5
|
+
import { FindAll, FindAllCancelParams, FindAllCancelResponse, FindAllCandidateMatchStatusEvent, FindAllCandidatesParams, FindAllCandidatesRequest, FindAllCandidatesResponse, FindAllCreateParams, FindAllEnrichInput, FindAllEnrichParams, FindAllEventsParams, FindAllEventsResponse, FindAllExtendInput, FindAllExtendParams, FindAllIngestParams, FindAllResultParams, FindAllRetrieveParams, FindAllRun, FindAllRunInput, FindAllRunResult, FindAllRunStatusEvent, FindAllSchema, FindAllSchemaParams, FindAllSchemaUpdatedEvent, IngestInput } from "./findall.mjs";
|
|
5
6
|
import * as TaskGroupAPI from "./task-group.mjs";
|
|
6
7
|
import { TaskGroup, TaskGroupAddRunsParams, TaskGroupCreateParams, TaskGroupEventsParams, TaskGroupEventsResponse, TaskGroupGetRunsParams, TaskGroupGetRunsResponse, TaskGroupRunResponse, TaskGroupStatus } from "./task-group.mjs";
|
|
7
8
|
import * as TaskRunAPI from "./task-run.mjs";
|
|
@@ -15,12 +16,21 @@ export declare class Beta extends APIResource {
|
|
|
15
16
|
/**
|
|
16
17
|
* Extracts relevant content from specific web URLs.
|
|
17
18
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const extractResponse = await client.beta.extract({
|
|
22
|
+
* urls: ['string'],
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
20
25
|
*/
|
|
21
26
|
extract(params: BetaExtractParams, options?: RequestOptions): APIPromise<ExtractResponse>;
|
|
22
27
|
/**
|
|
23
28
|
* Searches the web.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const searchResult = await client.beta.search();
|
|
33
|
+
* ```
|
|
24
34
|
*/
|
|
25
35
|
search(params: BetaSearchParams, options?: RequestOptions): APIPromise<SearchResult>;
|
|
26
36
|
}
|
|
@@ -42,24 +52,6 @@ export interface ExcerptSettings {
|
|
|
42
52
|
*/
|
|
43
53
|
max_chars_total?: number | null;
|
|
44
54
|
}
|
|
45
|
-
/**
|
|
46
|
-
* Extract error details.
|
|
47
|
-
*/
|
|
48
|
-
export interface ExtractError {
|
|
49
|
-
/**
|
|
50
|
-
* Content returned for http client or server errors, if any.
|
|
51
|
-
*/
|
|
52
|
-
content: string | null;
|
|
53
|
-
/**
|
|
54
|
-
* Error type.
|
|
55
|
-
*/
|
|
56
|
-
error_type: string;
|
|
57
|
-
/**
|
|
58
|
-
* HTTP status code, if available.
|
|
59
|
-
*/
|
|
60
|
-
http_status_code: number | null;
|
|
61
|
-
url: string;
|
|
62
|
-
}
|
|
63
55
|
/**
|
|
64
56
|
* Fetch result.
|
|
65
57
|
*/
|
|
@@ -67,7 +59,7 @@ export interface ExtractResponse {
|
|
|
67
59
|
/**
|
|
68
60
|
* Extract errors: requested URLs not in the results.
|
|
69
61
|
*/
|
|
70
|
-
errors: Array<ExtractError>;
|
|
62
|
+
errors: Array<TopLevelAPI.ExtractError>;
|
|
71
63
|
/**
|
|
72
64
|
* Extract request ID, e.g. `extract_cad0a6d2dec046bd95ae900527d880e7`
|
|
73
65
|
*/
|
|
@@ -79,7 +71,7 @@ export interface ExtractResponse {
|
|
|
79
71
|
/**
|
|
80
72
|
* Usage metrics for the extract request.
|
|
81
73
|
*/
|
|
82
|
-
usage?: Array<UsageItem> | null;
|
|
74
|
+
usage?: Array<TopLevelAPI.UsageItem> | null;
|
|
83
75
|
/**
|
|
84
76
|
* Warnings for the extract request, if any.
|
|
85
77
|
*/
|
|
@@ -110,25 +102,6 @@ export interface ExtractResult {
|
|
|
110
102
|
*/
|
|
111
103
|
title?: string | null;
|
|
112
104
|
}
|
|
113
|
-
/**
|
|
114
|
-
* Policy for live fetching web results.
|
|
115
|
-
*/
|
|
116
|
-
export interface FetchPolicy {
|
|
117
|
-
/**
|
|
118
|
-
* If false, fallback to cached content older than max-age if live fetch fails or
|
|
119
|
-
* times out. If true, returns an error instead.
|
|
120
|
-
*/
|
|
121
|
-
disable_cache_fallback?: boolean;
|
|
122
|
-
/**
|
|
123
|
-
* Maximum age of cached content in seconds to trigger a live fetch. Minimum value
|
|
124
|
-
* 600 seconds (10 minutes).
|
|
125
|
-
*/
|
|
126
|
-
max_age_seconds?: number | null;
|
|
127
|
-
/**
|
|
128
|
-
* Timeout in seconds for fetching live content if unavailable in cache.
|
|
129
|
-
*/
|
|
130
|
-
timeout_seconds?: number | null;
|
|
131
|
-
}
|
|
132
105
|
/**
|
|
133
106
|
* Output for the Search API.
|
|
134
107
|
*/
|
|
@@ -144,25 +117,12 @@ export interface SearchResult {
|
|
|
144
117
|
/**
|
|
145
118
|
* Usage metrics for the search request.
|
|
146
119
|
*/
|
|
147
|
-
usage?: Array<UsageItem> | null;
|
|
120
|
+
usage?: Array<TopLevelAPI.UsageItem> | null;
|
|
148
121
|
/**
|
|
149
122
|
* Warnings for the search request, if any.
|
|
150
123
|
*/
|
|
151
124
|
warnings?: Array<Shared.Warning> | null;
|
|
152
125
|
}
|
|
153
|
-
/**
|
|
154
|
-
* Usage item for a single operation.
|
|
155
|
-
*/
|
|
156
|
-
export interface UsageItem {
|
|
157
|
-
/**
|
|
158
|
-
* Count of the SKU.
|
|
159
|
-
*/
|
|
160
|
-
count: number;
|
|
161
|
-
/**
|
|
162
|
-
* Name of the SKU.
|
|
163
|
-
*/
|
|
164
|
-
name: string;
|
|
165
|
-
}
|
|
166
126
|
/**
|
|
167
127
|
* A single search result from the web search API.
|
|
168
128
|
*/
|
|
@@ -184,6 +144,9 @@ export interface WebSearchResult {
|
|
|
184
144
|
*/
|
|
185
145
|
title?: string | null;
|
|
186
146
|
}
|
|
147
|
+
export type ExtractError = TopLevelAPI.ExtractError;
|
|
148
|
+
export type FetchPolicy = TopLevelAPI.FetchPolicy;
|
|
149
|
+
export type UsageItem = TopLevelAPI.UsageItem;
|
|
187
150
|
export interface BetaExtractParams {
|
|
188
151
|
/**
|
|
189
152
|
* Body param
|
|
@@ -198,7 +161,7 @@ export interface BetaExtractParams {
|
|
|
198
161
|
/**
|
|
199
162
|
* Body param: Policy for live fetching web results.
|
|
200
163
|
*/
|
|
201
|
-
fetch_policy?: FetchPolicy | null;
|
|
164
|
+
fetch_policy?: TopLevelAPI.FetchPolicy | null;
|
|
202
165
|
/**
|
|
203
166
|
* Body param: Include full content from each URL. Note that if neither objective
|
|
204
167
|
* nor search_queries is provided, excerpts are redundant with full content.
|
|
@@ -214,6 +177,12 @@ export interface BetaExtractParams {
|
|
|
214
177
|
* search queries.
|
|
215
178
|
*/
|
|
216
179
|
search_queries?: Array<string> | null;
|
|
180
|
+
/**
|
|
181
|
+
* Body param: Session identifier to track calls across separate search and extract
|
|
182
|
+
* calls, to be used as part of a larger task. Specifying it may give better
|
|
183
|
+
* contextual results for subsequent API calls.
|
|
184
|
+
*/
|
|
185
|
+
session_id?: string | null;
|
|
217
186
|
/**
|
|
218
187
|
* Header param: Optional header to specify the beta version(s) to enable.
|
|
219
188
|
*/
|
|
@@ -240,7 +209,11 @@ export interface BetaSearchParams {
|
|
|
240
209
|
/**
|
|
241
210
|
* Body param: Policy for live fetching web results.
|
|
242
211
|
*/
|
|
243
|
-
fetch_policy?: FetchPolicy | null;
|
|
212
|
+
fetch_policy?: TopLevelAPI.FetchPolicy | null;
|
|
213
|
+
/**
|
|
214
|
+
* Body param: ISO 3166-1 alpha-2 country code for geo-targeted search results.
|
|
215
|
+
*/
|
|
216
|
+
location?: string | null;
|
|
244
217
|
/**
|
|
245
218
|
* @deprecated Body param: DEPRECATED: Use `excerpts.max_chars_per_result` instead.
|
|
246
219
|
*/
|
|
@@ -277,6 +250,12 @@ export interface BetaSearchParams {
|
|
|
277
250
|
* search_queries must be provided.
|
|
278
251
|
*/
|
|
279
252
|
search_queries?: Array<string> | null;
|
|
253
|
+
/**
|
|
254
|
+
* Body param: Session identifier to track calls across separate search and extract
|
|
255
|
+
* calls, to be used as part of a larger task. Specifying it may give better
|
|
256
|
+
* contextual results for subsequent API calls.
|
|
257
|
+
*/
|
|
258
|
+
session_id?: string | null;
|
|
280
259
|
/**
|
|
281
260
|
* Body param: Source policy for web search results.
|
|
282
261
|
*
|
|
@@ -289,9 +268,9 @@ export interface BetaSearchParams {
|
|
|
289
268
|
betas?: Array<TaskRunAPI.ParallelBeta>;
|
|
290
269
|
}
|
|
291
270
|
export declare namespace Beta {
|
|
292
|
-
export { type ExcerptSettings as ExcerptSettings, type
|
|
293
|
-
export { TaskRun as TaskRun, type
|
|
271
|
+
export { type ExcerptSettings as ExcerptSettings, type ExtractResponse as ExtractResponse, type ExtractResult as ExtractResult, type SearchResult as SearchResult, type WebSearchResult as WebSearchResult, type ExtractError as ExtractError, type FetchPolicy as FetchPolicy, type UsageItem as UsageItem, type BetaExtractParams as BetaExtractParams, type BetaSearchParams as BetaSearchParams, };
|
|
272
|
+
export { TaskRun as TaskRun, 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, };
|
|
294
273
|
export { type TaskGroup as TaskGroup, type TaskGroupRunResponse as TaskGroupRunResponse, type TaskGroupStatus as TaskGroupStatus, type TaskGroupEventsResponse as TaskGroupEventsResponse, type TaskGroupGetRunsResponse as TaskGroupGetRunsResponse, type TaskGroupCreateParams as TaskGroupCreateParams, type TaskGroupAddRunsParams as TaskGroupAddRunsParams, type TaskGroupEventsParams as TaskGroupEventsParams, type TaskGroupGetRunsParams as TaskGroupGetRunsParams, };
|
|
295
|
-
export { FindAll as FindAll, type FindAllCandidateMatchStatusEvent as FindAllCandidateMatchStatusEvent, type FindAllEnrichInput as FindAllEnrichInput, type FindAllExtendInput as FindAllExtendInput, type FindAllRun as FindAllRun, type FindAllRunInput as FindAllRunInput, type FindAllRunResult as FindAllRunResult, type FindAllRunStatusEvent as FindAllRunStatusEvent, type FindAllSchema as FindAllSchema, type FindAllSchemaUpdatedEvent as FindAllSchemaUpdatedEvent, type IngestInput as IngestInput, type FindAllCancelResponse as FindAllCancelResponse, type FindAllEventsResponse as FindAllEventsResponse, type FindAllCreateParams as FindAllCreateParams, type FindAllRetrieveParams as FindAllRetrieveParams, type FindAllCancelParams as FindAllCancelParams, type FindAllEnrichParams as FindAllEnrichParams, type FindAllEventsParams as FindAllEventsParams, type FindAllExtendParams as FindAllExtendParams, type FindAllIngestParams as FindAllIngestParams, type FindAllResultParams as FindAllResultParams, type FindAllSchemaParams as FindAllSchemaParams, };
|
|
274
|
+
export { FindAll as FindAll, type FindAllCandidateMatchStatusEvent as FindAllCandidateMatchStatusEvent, type FindAllCandidatesRequest as FindAllCandidatesRequest, type FindAllCandidatesResponse as FindAllCandidatesResponse, type FindAllEnrichInput as FindAllEnrichInput, type FindAllExtendInput as FindAllExtendInput, type FindAllRun as FindAllRun, type FindAllRunInput as FindAllRunInput, type FindAllRunResult as FindAllRunResult, type FindAllRunStatusEvent as FindAllRunStatusEvent, type FindAllSchema as FindAllSchema, type FindAllSchemaUpdatedEvent as FindAllSchemaUpdatedEvent, type IngestInput as IngestInput, type FindAllCancelResponse as FindAllCancelResponse, type FindAllEventsResponse as FindAllEventsResponse, type FindAllCreateParams as FindAllCreateParams, type FindAllRetrieveParams as FindAllRetrieveParams, type FindAllCancelParams as FindAllCancelParams, type FindAllCandidatesParams as FindAllCandidatesParams, type FindAllEnrichParams as FindAllEnrichParams, type FindAllEventsParams as FindAllEventsParams, type FindAllExtendParams as FindAllExtendParams, type FindAllIngestParams as FindAllIngestParams, type FindAllResultParams as FindAllResultParams, type FindAllSchemaParams as FindAllSchemaParams, };
|
|
296
275
|
}
|
|
297
276
|
//# sourceMappingURL=beta.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"beta.d.mts","sourceRoot":"","sources":["../../src/resources/beta/beta.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EACL,OAAO,EACP,mBAAmB,EACnB,qBAAqB,EACrB,gCAAgC,EAChC,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACnB,yBAAyB,EACzB,WAAW,EACZ;OACM,KAAK,YAAY;OACjB,EACL,SAAS,EACT,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACpB,eAAe,EAChB;OACM,KAAK,UAAU;OACf,EACL,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,SAAS,EACT,WAAW,EACX,YAAY,EACZ,OAAO,EACP,mBAAmB,EACnB,YAAY,EACZ,qBAAqB,EACrB,mBAAmB,EACnB,OAAO,EACR;OACM,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE
|
|
1
|
+
{"version":3,"file":"beta.d.mts","sourceRoot":"","sources":["../../src/resources/beta/beta.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,WAAW;OAChB,KAAK,UAAU;OACf,EACL,OAAO,EACP,mBAAmB,EACnB,qBAAqB,EACrB,gCAAgC,EAChC,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACnB,yBAAyB,EACzB,WAAW,EACZ;OACM,KAAK,YAAY;OACjB,EACL,SAAS,EACT,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACpB,eAAe,EAChB;OACM,KAAK,UAAU;OACf,EACL,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,SAAS,EACT,WAAW,EACX,YAAY,EACZ,OAAO,EACP,mBAAmB,EACnB,YAAY,EACZ,qBAAqB,EACrB,mBAAmB,EACnB,OAAO,EACR;OACM,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;OASG;IACH,OAAO,CAAC,MAAM,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAA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AAa,IAAI,aAAa,EACnC,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
package/resources/beta/beta.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import * as Shared from "../shared.js";
|
|
3
|
+
import * as TopLevelAPI from "../top-level.js";
|
|
3
4
|
import * as FindAllAPI from "./findall.js";
|
|
4
|
-
import { FindAll, FindAllCancelParams, FindAllCancelResponse, FindAllCandidateMatchStatusEvent, FindAllCreateParams, FindAllEnrichInput, FindAllEnrichParams, FindAllEventsParams, FindAllEventsResponse, FindAllExtendInput, FindAllExtendParams, FindAllIngestParams, FindAllResultParams, FindAllRetrieveParams, FindAllRun, FindAllRunInput, FindAllRunResult, FindAllRunStatusEvent, FindAllSchema, FindAllSchemaParams, FindAllSchemaUpdatedEvent, IngestInput } from "./findall.js";
|
|
5
|
+
import { FindAll, FindAllCancelParams, FindAllCancelResponse, FindAllCandidateMatchStatusEvent, FindAllCandidatesParams, FindAllCandidatesRequest, FindAllCandidatesResponse, FindAllCreateParams, FindAllEnrichInput, FindAllEnrichParams, FindAllEventsParams, FindAllEventsResponse, FindAllExtendInput, FindAllExtendParams, FindAllIngestParams, FindAllResultParams, FindAllRetrieveParams, FindAllRun, FindAllRunInput, FindAllRunResult, FindAllRunStatusEvent, FindAllSchema, FindAllSchemaParams, FindAllSchemaUpdatedEvent, IngestInput } from "./findall.js";
|
|
5
6
|
import * as TaskGroupAPI from "./task-group.js";
|
|
6
7
|
import { TaskGroup, TaskGroupAddRunsParams, TaskGroupCreateParams, TaskGroupEventsParams, TaskGroupEventsResponse, TaskGroupGetRunsParams, TaskGroupGetRunsResponse, TaskGroupRunResponse, TaskGroupStatus } from "./task-group.js";
|
|
7
8
|
import * as TaskRunAPI from "./task-run.js";
|
|
@@ -15,12 +16,21 @@ export declare class Beta extends APIResource {
|
|
|
15
16
|
/**
|
|
16
17
|
* Extracts relevant content from specific web URLs.
|
|
17
18
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const extractResponse = await client.beta.extract({
|
|
22
|
+
* urls: ['string'],
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
20
25
|
*/
|
|
21
26
|
extract(params: BetaExtractParams, options?: RequestOptions): APIPromise<ExtractResponse>;
|
|
22
27
|
/**
|
|
23
28
|
* Searches the web.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const searchResult = await client.beta.search();
|
|
33
|
+
* ```
|
|
24
34
|
*/
|
|
25
35
|
search(params: BetaSearchParams, options?: RequestOptions): APIPromise<SearchResult>;
|
|
26
36
|
}
|
|
@@ -42,24 +52,6 @@ export interface ExcerptSettings {
|
|
|
42
52
|
*/
|
|
43
53
|
max_chars_total?: number | null;
|
|
44
54
|
}
|
|
45
|
-
/**
|
|
46
|
-
* Extract error details.
|
|
47
|
-
*/
|
|
48
|
-
export interface ExtractError {
|
|
49
|
-
/**
|
|
50
|
-
* Content returned for http client or server errors, if any.
|
|
51
|
-
*/
|
|
52
|
-
content: string | null;
|
|
53
|
-
/**
|
|
54
|
-
* Error type.
|
|
55
|
-
*/
|
|
56
|
-
error_type: string;
|
|
57
|
-
/**
|
|
58
|
-
* HTTP status code, if available.
|
|
59
|
-
*/
|
|
60
|
-
http_status_code: number | null;
|
|
61
|
-
url: string;
|
|
62
|
-
}
|
|
63
55
|
/**
|
|
64
56
|
* Fetch result.
|
|
65
57
|
*/
|
|
@@ -67,7 +59,7 @@ export interface ExtractResponse {
|
|
|
67
59
|
/**
|
|
68
60
|
* Extract errors: requested URLs not in the results.
|
|
69
61
|
*/
|
|
70
|
-
errors: Array<ExtractError>;
|
|
62
|
+
errors: Array<TopLevelAPI.ExtractError>;
|
|
71
63
|
/**
|
|
72
64
|
* Extract request ID, e.g. `extract_cad0a6d2dec046bd95ae900527d880e7`
|
|
73
65
|
*/
|
|
@@ -79,7 +71,7 @@ export interface ExtractResponse {
|
|
|
79
71
|
/**
|
|
80
72
|
* Usage metrics for the extract request.
|
|
81
73
|
*/
|
|
82
|
-
usage?: Array<UsageItem> | null;
|
|
74
|
+
usage?: Array<TopLevelAPI.UsageItem> | null;
|
|
83
75
|
/**
|
|
84
76
|
* Warnings for the extract request, if any.
|
|
85
77
|
*/
|
|
@@ -110,25 +102,6 @@ export interface ExtractResult {
|
|
|
110
102
|
*/
|
|
111
103
|
title?: string | null;
|
|
112
104
|
}
|
|
113
|
-
/**
|
|
114
|
-
* Policy for live fetching web results.
|
|
115
|
-
*/
|
|
116
|
-
export interface FetchPolicy {
|
|
117
|
-
/**
|
|
118
|
-
* If false, fallback to cached content older than max-age if live fetch fails or
|
|
119
|
-
* times out. If true, returns an error instead.
|
|
120
|
-
*/
|
|
121
|
-
disable_cache_fallback?: boolean;
|
|
122
|
-
/**
|
|
123
|
-
* Maximum age of cached content in seconds to trigger a live fetch. Minimum value
|
|
124
|
-
* 600 seconds (10 minutes).
|
|
125
|
-
*/
|
|
126
|
-
max_age_seconds?: number | null;
|
|
127
|
-
/**
|
|
128
|
-
* Timeout in seconds for fetching live content if unavailable in cache.
|
|
129
|
-
*/
|
|
130
|
-
timeout_seconds?: number | null;
|
|
131
|
-
}
|
|
132
105
|
/**
|
|
133
106
|
* Output for the Search API.
|
|
134
107
|
*/
|
|
@@ -144,25 +117,12 @@ export interface SearchResult {
|
|
|
144
117
|
/**
|
|
145
118
|
* Usage metrics for the search request.
|
|
146
119
|
*/
|
|
147
|
-
usage?: Array<UsageItem> | null;
|
|
120
|
+
usage?: Array<TopLevelAPI.UsageItem> | null;
|
|
148
121
|
/**
|
|
149
122
|
* Warnings for the search request, if any.
|
|
150
123
|
*/
|
|
151
124
|
warnings?: Array<Shared.Warning> | null;
|
|
152
125
|
}
|
|
153
|
-
/**
|
|
154
|
-
* Usage item for a single operation.
|
|
155
|
-
*/
|
|
156
|
-
export interface UsageItem {
|
|
157
|
-
/**
|
|
158
|
-
* Count of the SKU.
|
|
159
|
-
*/
|
|
160
|
-
count: number;
|
|
161
|
-
/**
|
|
162
|
-
* Name of the SKU.
|
|
163
|
-
*/
|
|
164
|
-
name: string;
|
|
165
|
-
}
|
|
166
126
|
/**
|
|
167
127
|
* A single search result from the web search API.
|
|
168
128
|
*/
|
|
@@ -184,6 +144,9 @@ export interface WebSearchResult {
|
|
|
184
144
|
*/
|
|
185
145
|
title?: string | null;
|
|
186
146
|
}
|
|
147
|
+
export type ExtractError = TopLevelAPI.ExtractError;
|
|
148
|
+
export type FetchPolicy = TopLevelAPI.FetchPolicy;
|
|
149
|
+
export type UsageItem = TopLevelAPI.UsageItem;
|
|
187
150
|
export interface BetaExtractParams {
|
|
188
151
|
/**
|
|
189
152
|
* Body param
|
|
@@ -198,7 +161,7 @@ export interface BetaExtractParams {
|
|
|
198
161
|
/**
|
|
199
162
|
* Body param: Policy for live fetching web results.
|
|
200
163
|
*/
|
|
201
|
-
fetch_policy?: FetchPolicy | null;
|
|
164
|
+
fetch_policy?: TopLevelAPI.FetchPolicy | null;
|
|
202
165
|
/**
|
|
203
166
|
* Body param: Include full content from each URL. Note that if neither objective
|
|
204
167
|
* nor search_queries is provided, excerpts are redundant with full content.
|
|
@@ -214,6 +177,12 @@ export interface BetaExtractParams {
|
|
|
214
177
|
* search queries.
|
|
215
178
|
*/
|
|
216
179
|
search_queries?: Array<string> | null;
|
|
180
|
+
/**
|
|
181
|
+
* Body param: Session identifier to track calls across separate search and extract
|
|
182
|
+
* calls, to be used as part of a larger task. Specifying it may give better
|
|
183
|
+
* contextual results for subsequent API calls.
|
|
184
|
+
*/
|
|
185
|
+
session_id?: string | null;
|
|
217
186
|
/**
|
|
218
187
|
* Header param: Optional header to specify the beta version(s) to enable.
|
|
219
188
|
*/
|
|
@@ -240,7 +209,11 @@ export interface BetaSearchParams {
|
|
|
240
209
|
/**
|
|
241
210
|
* Body param: Policy for live fetching web results.
|
|
242
211
|
*/
|
|
243
|
-
fetch_policy?: FetchPolicy | null;
|
|
212
|
+
fetch_policy?: TopLevelAPI.FetchPolicy | null;
|
|
213
|
+
/**
|
|
214
|
+
* Body param: ISO 3166-1 alpha-2 country code for geo-targeted search results.
|
|
215
|
+
*/
|
|
216
|
+
location?: string | null;
|
|
244
217
|
/**
|
|
245
218
|
* @deprecated Body param: DEPRECATED: Use `excerpts.max_chars_per_result` instead.
|
|
246
219
|
*/
|
|
@@ -277,6 +250,12 @@ export interface BetaSearchParams {
|
|
|
277
250
|
* search_queries must be provided.
|
|
278
251
|
*/
|
|
279
252
|
search_queries?: Array<string> | null;
|
|
253
|
+
/**
|
|
254
|
+
* Body param: Session identifier to track calls across separate search and extract
|
|
255
|
+
* calls, to be used as part of a larger task. Specifying it may give better
|
|
256
|
+
* contextual results for subsequent API calls.
|
|
257
|
+
*/
|
|
258
|
+
session_id?: string | null;
|
|
280
259
|
/**
|
|
281
260
|
* Body param: Source policy for web search results.
|
|
282
261
|
*
|
|
@@ -289,9 +268,9 @@ export interface BetaSearchParams {
|
|
|
289
268
|
betas?: Array<TaskRunAPI.ParallelBeta>;
|
|
290
269
|
}
|
|
291
270
|
export declare namespace Beta {
|
|
292
|
-
export { type ExcerptSettings as ExcerptSettings, type
|
|
293
|
-
export { TaskRun as TaskRun, type
|
|
271
|
+
export { type ExcerptSettings as ExcerptSettings, type ExtractResponse as ExtractResponse, type ExtractResult as ExtractResult, type SearchResult as SearchResult, type WebSearchResult as WebSearchResult, type ExtractError as ExtractError, type FetchPolicy as FetchPolicy, type UsageItem as UsageItem, type BetaExtractParams as BetaExtractParams, type BetaSearchParams as BetaSearchParams, };
|
|
272
|
+
export { TaskRun as TaskRun, 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, };
|
|
294
273
|
export { type TaskGroup as TaskGroup, type TaskGroupRunResponse as TaskGroupRunResponse, type TaskGroupStatus as TaskGroupStatus, type TaskGroupEventsResponse as TaskGroupEventsResponse, type TaskGroupGetRunsResponse as TaskGroupGetRunsResponse, type TaskGroupCreateParams as TaskGroupCreateParams, type TaskGroupAddRunsParams as TaskGroupAddRunsParams, type TaskGroupEventsParams as TaskGroupEventsParams, type TaskGroupGetRunsParams as TaskGroupGetRunsParams, };
|
|
295
|
-
export { FindAll as FindAll, type FindAllCandidateMatchStatusEvent as FindAllCandidateMatchStatusEvent, type FindAllEnrichInput as FindAllEnrichInput, type FindAllExtendInput as FindAllExtendInput, type FindAllRun as FindAllRun, type FindAllRunInput as FindAllRunInput, type FindAllRunResult as FindAllRunResult, type FindAllRunStatusEvent as FindAllRunStatusEvent, type FindAllSchema as FindAllSchema, type FindAllSchemaUpdatedEvent as FindAllSchemaUpdatedEvent, type IngestInput as IngestInput, type FindAllCancelResponse as FindAllCancelResponse, type FindAllEventsResponse as FindAllEventsResponse, type FindAllCreateParams as FindAllCreateParams, type FindAllRetrieveParams as FindAllRetrieveParams, type FindAllCancelParams as FindAllCancelParams, type FindAllEnrichParams as FindAllEnrichParams, type FindAllEventsParams as FindAllEventsParams, type FindAllExtendParams as FindAllExtendParams, type FindAllIngestParams as FindAllIngestParams, type FindAllResultParams as FindAllResultParams, type FindAllSchemaParams as FindAllSchemaParams, };
|
|
274
|
+
export { FindAll as FindAll, type FindAllCandidateMatchStatusEvent as FindAllCandidateMatchStatusEvent, type FindAllCandidatesRequest as FindAllCandidatesRequest, type FindAllCandidatesResponse as FindAllCandidatesResponse, type FindAllEnrichInput as FindAllEnrichInput, type FindAllExtendInput as FindAllExtendInput, type FindAllRun as FindAllRun, type FindAllRunInput as FindAllRunInput, type FindAllRunResult as FindAllRunResult, type FindAllRunStatusEvent as FindAllRunStatusEvent, type FindAllSchema as FindAllSchema, type FindAllSchemaUpdatedEvent as FindAllSchemaUpdatedEvent, type IngestInput as IngestInput, type FindAllCancelResponse as FindAllCancelResponse, type FindAllEventsResponse as FindAllEventsResponse, type FindAllCreateParams as FindAllCreateParams, type FindAllRetrieveParams as FindAllRetrieveParams, type FindAllCancelParams as FindAllCancelParams, type FindAllCandidatesParams as FindAllCandidatesParams, type FindAllEnrichParams as FindAllEnrichParams, type FindAllEventsParams as FindAllEventsParams, type FindAllExtendParams as FindAllExtendParams, type FindAllIngestParams as FindAllIngestParams, type FindAllResultParams as FindAllResultParams, type FindAllSchemaParams as FindAllSchemaParams, };
|
|
296
275
|
}
|
|
297
276
|
//# sourceMappingURL=beta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"beta.d.ts","sourceRoot":"","sources":["../../src/resources/beta/beta.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EACL,OAAO,EACP,mBAAmB,EACnB,qBAAqB,EACrB,gCAAgC,EAChC,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACnB,yBAAyB,EACzB,WAAW,EACZ;OACM,KAAK,YAAY;OACjB,EACL,SAAS,EACT,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACpB,eAAe,EAChB;OACM,KAAK,UAAU;OACf,EACL,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,SAAS,EACT,WAAW,EACX,YAAY,EACZ,OAAO,EACP,mBAAmB,EACnB,YAAY,EACZ,qBAAqB,EACrB,mBAAmB,EACnB,OAAO,EACR;OACM,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE
|
|
1
|
+
{"version":3,"file":"beta.d.ts","sourceRoot":"","sources":["../../src/resources/beta/beta.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,WAAW;OAChB,KAAK,UAAU;OACf,EACL,OAAO,EACP,mBAAmB,EACnB,qBAAqB,EACrB,gCAAgC,EAChC,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,aAAa,EACb,mBAAmB,EACnB,yBAAyB,EACzB,WAAW,EACZ;OACM,KAAK,YAAY;OACjB,EACL,SA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racts relevant content from specific web URLs.
|
|
22
22
|
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* const extractResponse = await client.beta.extract({
|
|
26
|
+
* urls: ['string'],
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
25
29
|
*/
|
|
26
30
|
extract(params, options) {
|
|
27
31
|
const { betas, ...body } = params;
|
|
@@ -36,6 +40,11 @@ class Beta extends resource_1.APIResource {
|
|
|
36
40
|
}
|
|
37
41
|
/**
|
|
38
42
|
* Searches the web.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* const searchResult = await client.beta.search();
|
|
47
|
+
* ```
|
|
39
48
|
*/
|
|
40
49
|
search(params, options) {
|
|
41
50
|
const { betas, ...body } = params;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"beta.js","sourceRoot":"","sources":["../../src/resources/beta/beta.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"beta.js","sourceRoot":"","sources":["../../src/resources/beta/beta.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAGlD,iEAAwC;AACxC,0CA0BmB;AACnB,sEAA6C;AAY7C,kEAAyC;AACzC,4CAaoB;AAEpB,uDAAsD;AAGtD,MAAa,IAAK,SAAQ,sBAAW;IAArC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA2CrE,CAAC;IAzCC;;;;;;;;;OASG;IACH,OAAO,CAAC,MAAyB,EAAE,OAAwB;QACzD,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAC1C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,eAAe,EAAE,CAAC,GAAG,CAAC,KAAK,IAAI,EAAE,CAAC,EAAE,2BAA2B,CAAC,CAAC,QAAQ,EAAE,EAAE;gBAC/E,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,MAAwB,EAAE,OAAwB;QACvD,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE;YACzC,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB,EAAE,eAAe,EAAE,CAAC,GAAG,CAAC,KAAK,IAAI,EAAE,CAAC,EAAE,2BAA2B,CAAC,CAAC,QAAQ,EAAE,EAAE;gBAC/E,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF;AA9CD,oBA8CC;AAuRD,IAAI,CAAC,OAAO,GAAG,kBAAO,CAAC;AACvB,IAAI,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
package/resources/beta/beta.mjs
CHANGED
|
@@ -16,8 +16,12 @@ export class Beta extends APIResource {
|
|
|
16
16
|
/**
|
|
17
17
|
* Extracts relevant content from specific web URLs.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const extractResponse = await client.beta.extract({
|
|
22
|
+
* urls: ['string'],
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
21
25
|
*/
|
|
22
26
|
extract(params, options) {
|
|
23
27
|
const { betas, ...body } = params;
|
|
@@ -32,6 +36,11 @@ export class Beta extends APIResource {
|
|
|
32
36
|
}
|
|
33
37
|
/**
|
|
34
38
|
* Searches the web.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const searchResult = await client.beta.search();
|
|
43
|
+
* ```
|
|
35
44
|
*/
|
|
36
45
|
search(params, options) {
|
|
37
46
|
const { betas, ...body } = params;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"beta.mjs","sourceRoot":"","sources":["../../src/resources/beta/beta.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"beta.mjs","sourceRoot":"","sources":["../../src/resources/beta/beta.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,KAAK,UAAU;OACf,EACL,OAAO,GAyBR;OACM,KAAK,YAAY;OAYjB,KAAK,UAAU;OACf,EAOL,OAAO,GAMR;OAEM,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,IAAK,SAAQ,WAAW;IAArC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA2CrE,CAAC;IAzCC;;;;;;;;;OASG;IACH,OAAO,CAAC,MAAyB,EAAE,OAAwB;QACzD,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE;YAC1C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB,EAAE,eAAe,EAAE,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