@nimble-way/nimble-js 0.20.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.
- package/CHANGELOG.md +9 -0
- package/README.md +10 -10
- package/client.d.mts +10 -39
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -39
- package/client.d.ts.map +1 -1
- package/client.js +8 -43
- package/client.js.map +1 -1
- package/client.mjs +8 -43
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/{task-agent/task-agent.d.mts → agents/agents.d.mts} +51 -213
- package/resources/agents/agents.d.mts.map +1 -0
- package/resources/{task-agent/task-agent.d.ts → agents/agents.d.ts} +51 -213
- package/resources/agents/agents.d.ts.map +1 -0
- package/resources/agents/agents.js +67 -0
- package/resources/agents/agents.js.map +1 -0
- package/resources/agents/agents.mjs +62 -0
- package/resources/agents/agents.mjs.map +1 -0
- package/resources/agents/index.d.mts +4 -0
- package/resources/agents/index.d.mts.map +1 -0
- package/resources/agents/index.d.ts +4 -0
- package/resources/agents/index.d.ts.map +1 -0
- package/resources/{task-agent → agents}/index.js +3 -3
- package/resources/agents/index.js.map +1 -0
- package/resources/{task-agent → agents}/index.mjs +1 -1
- package/resources/agents/index.mjs.map +1 -0
- package/resources/{task-agent → agents}/runs.d.mts +192 -43
- package/resources/agents/runs.d.mts.map +1 -0
- package/resources/{task-agent → agents}/runs.d.ts +192 -43
- package/resources/agents/runs.d.ts.map +1 -0
- package/resources/agents/runs.js +63 -0
- package/resources/agents/runs.js.map +1 -0
- package/resources/agents/runs.mjs +59 -0
- package/resources/agents/runs.mjs.map +1 -0
- package/resources/{task-agent → agents}/templates.d.mts +3 -6
- package/resources/agents/templates.d.mts.map +1 -0
- package/resources/{task-agent → agents}/templates.d.ts +3 -6
- package/resources/agents/templates.d.ts.map +1 -0
- package/resources/{task-agent → agents}/templates.js +5 -8
- package/resources/agents/templates.js.map +1 -0
- package/resources/agents/templates.mjs +19 -0
- package/resources/agents/templates.mjs.map +1 -0
- package/resources/agents.d.mts +2 -0
- package/resources/agents.d.mts.map +1 -0
- package/resources/agents.d.ts +2 -0
- package/resources/agents.d.ts.map +1 -0
- package/resources/{task-agent.js → agents.js} +2 -2
- package/resources/agents.js.map +1 -0
- package/resources/{task-agent.mjs → agents.mjs} +2 -2
- package/resources/agents.mjs.map +1 -0
- package/resources/batches.js +3 -3
- package/resources/batches.mjs +3 -3
- package/resources/crawl.js +4 -4
- package/resources/crawl.mjs +4 -4
- package/resources/domain-knowledge.js +1 -1
- package/resources/domain-knowledge.mjs +1 -1
- package/resources/extract/extract.d.mts +1243 -0
- package/resources/extract/extract.d.mts.map +1 -0
- package/resources/extract/extract.d.ts +1243 -0
- package/resources/extract/extract.d.ts.map +1 -0
- package/resources/extract/extract.js +52 -0
- package/resources/extract/extract.js.map +1 -0
- package/resources/extract/extract.mjs +47 -0
- package/resources/extract/extract.mjs.map +1 -0
- package/resources/extract/index.d.mts +3 -0
- package/resources/extract/index.d.mts.map +1 -0
- package/resources/extract/index.d.ts +3 -0
- package/resources/extract/index.d.ts.map +1 -0
- package/resources/extract/index.js +9 -0
- package/resources/extract/index.js.map +1 -0
- package/resources/extract/index.mjs +4 -0
- package/resources/extract/index.mjs.map +1 -0
- package/resources/extract/templates/generations.d.mts +364 -0
- package/resources/extract/templates/generations.d.mts.map +1 -0
- package/resources/extract/templates/generations.d.ts +364 -0
- package/resources/extract/templates/generations.d.ts.map +1 -0
- package/resources/extract/templates/generations.js +39 -0
- package/resources/extract/templates/generations.js.map +1 -0
- package/resources/extract/templates/generations.mjs +35 -0
- package/resources/extract/templates/generations.mjs.map +1 -0
- package/resources/extract/templates/index.d.mts +4 -0
- package/resources/extract/templates/index.d.mts.map +1 -0
- package/resources/extract/templates/index.d.ts +4 -0
- package/resources/extract/templates/index.d.ts.map +1 -0
- package/resources/extract/templates/index.js +11 -0
- package/resources/extract/templates/index.js.map +1 -0
- package/resources/extract/templates/index.mjs +5 -0
- package/resources/extract/templates/index.mjs.map +1 -0
- package/resources/extract/templates/templates.d.mts +870 -0
- package/resources/extract/templates/templates.d.mts.map +1 -0
- package/resources/extract/templates/templates.d.ts +870 -0
- package/resources/extract/templates/templates.d.ts.map +1 -0
- package/resources/extract/templates/templates.js +120 -0
- package/resources/extract/templates/templates.js.map +1 -0
- package/resources/extract/templates/templates.mjs +115 -0
- package/resources/extract/templates/templates.mjs.map +1 -0
- package/resources/extract/templates/versions.d.mts +226 -0
- package/resources/extract/templates/versions.d.mts.map +1 -0
- package/resources/extract/templates/versions.d.ts +226 -0
- package/resources/extract/templates/versions.d.ts.map +1 -0
- package/resources/extract/templates/versions.js +42 -0
- package/resources/extract/templates/versions.js.map +1 -0
- package/resources/extract/templates/versions.mjs +38 -0
- package/resources/extract/templates/versions.mjs.map +1 -0
- package/resources/extract/templates.d.mts +2 -0
- package/resources/extract/templates.d.mts.map +1 -0
- package/resources/extract/templates.d.ts +2 -0
- package/resources/extract/templates.d.ts.map +1 -0
- package/resources/extract/templates.js +6 -0
- package/resources/extract/templates.js.map +1 -0
- package/resources/extract/templates.mjs +3 -0
- package/resources/extract/templates.mjs.map +1 -0
- package/resources/extract.d.mts +2 -0
- package/resources/extract.d.mts.map +1 -0
- package/resources/extract.d.ts +2 -0
- package/resources/extract.d.ts.map +1 -0
- package/resources/extract.js +6 -0
- package/resources/extract.js.map +1 -0
- package/resources/extract.mjs +3 -0
- package/resources/extract.mjs.map +1 -0
- package/resources/fast-serp.js +1 -1
- package/resources/fast-serp.mjs +1 -1
- package/resources/index.d.mts +4 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -5
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -2
- package/resources/index.mjs.map +1 -1
- package/resources/jobs/index.d.mts +2 -2
- package/resources/jobs/index.d.mts.map +1 -1
- package/resources/jobs/index.d.ts +2 -2
- package/resources/jobs/index.d.ts.map +1 -1
- package/resources/jobs/index.js.map +1 -1
- package/resources/jobs/index.mjs.map +1 -1
- package/resources/jobs/jobs.d.mts +35 -103
- package/resources/jobs/jobs.d.mts.map +1 -1
- package/resources/jobs/jobs.d.ts +35 -103
- package/resources/jobs/jobs.d.ts.map +1 -1
- package/resources/jobs/jobs.js +10 -28
- package/resources/jobs/jobs.js.map +1 -1
- package/resources/jobs/jobs.mjs +11 -29
- package/resources/jobs/jobs.mjs.map +1 -1
- package/resources/jobs/runs/artifacts.d.mts +4 -12
- package/resources/jobs/runs/artifacts.d.mts.map +1 -1
- package/resources/jobs/runs/artifacts.d.ts +4 -12
- package/resources/jobs/runs/artifacts.d.ts.map +1 -1
- package/resources/jobs/runs/artifacts.js +8 -16
- package/resources/jobs/runs/artifacts.js.map +1 -1
- package/resources/jobs/runs/artifacts.mjs +8 -16
- package/resources/jobs/runs/artifacts.mjs.map +1 -1
- package/resources/jobs/runs/index.d.mts +1 -1
- package/resources/jobs/runs/index.d.mts.map +1 -1
- package/resources/jobs/runs/index.d.ts +1 -1
- package/resources/jobs/runs/index.d.ts.map +1 -1
- package/resources/jobs/runs/index.js.map +1 -1
- package/resources/jobs/runs/index.mjs.map +1 -1
- package/resources/jobs/runs/runs.d.mts +60 -28
- package/resources/jobs/runs/runs.d.mts.map +1 -1
- package/resources/jobs/runs/runs.d.ts +60 -28
- package/resources/jobs/runs/runs.d.ts.map +1 -1
- package/resources/jobs/runs/runs.js +12 -12
- package/resources/jobs/runs/runs.js.map +1 -1
- package/resources/jobs/runs/runs.mjs +12 -12
- package/resources/jobs/runs/runs.mjs.map +1 -1
- package/resources/media.js +2 -2
- package/resources/media.mjs +2 -2
- package/resources/serp.js +3 -3
- package/resources/serp.mjs +3 -3
- package/resources/tasks.js +3 -3
- package/resources/tasks.mjs +3 -3
- package/resources/top-level.d.mts +1 -1202
- package/resources/top-level.d.mts.map +1 -1
- package/resources/top-level.d.ts +1 -1202
- package/resources/top-level.d.ts.map +1 -1
- package/src/client.ts +41 -123
- package/src/resources/{task-agent/task-agent.ts → agents/agents.ts} +71 -258
- package/src/resources/{task-agent → agents}/index.ts +14 -14
- package/src/resources/{task-agent → agents}/runs.ts +228 -54
- package/src/resources/{task-agent → agents}/templates.ts +5 -8
- package/src/resources/{task-agent.ts → agents.ts} +1 -1
- package/src/resources/batches.ts +3 -3
- package/src/resources/crawl.ts +4 -4
- package/src/resources/domain-knowledge.ts +1 -1
- package/src/resources/extract/extract.ts +5182 -0
- package/src/resources/extract/index.ts +25 -0
- package/src/resources/extract/templates/generations.ts +435 -0
- package/src/resources/extract/templates/index.ts +29 -0
- package/src/resources/extract/templates/templates.ts +1176 -0
- package/src/resources/extract/templates/versions.ts +284 -0
- package/src/resources/extract/templates.ts +3 -0
- package/src/resources/extract.ts +3 -0
- package/src/resources/fast-serp.ts +1 -1
- package/src/resources/index.ts +16 -36
- package/src/resources/jobs/index.ts +1 -1
- package/src/resources/jobs/jobs.ts +50 -125
- package/src/resources/jobs/runs/artifacts.ts +8 -16
- package/src/resources/jobs/runs/index.ts +1 -0
- package/src/resources/jobs/runs/runs.ts +75 -31
- package/src/resources/media.ts +2 -2
- package/src/resources/serp.ts +3 -3
- package/src/resources/tasks.ts +3 -3
- package/src/resources/top-level.ts +72 -5171
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/agent.d.mts +0 -641
- package/resources/agent.d.mts.map +0 -1
- package/resources/agent.d.ts +0 -641
- package/resources/agent.d.ts.map +0 -1
- package/resources/agent.js +0 -84
- package/resources/agent.js.map +0 -1
- package/resources/agent.mjs +0 -80
- package/resources/agent.mjs.map +0 -1
- package/resources/task-agent/index.d.mts +0 -4
- package/resources/task-agent/index.d.mts.map +0 -1
- package/resources/task-agent/index.d.ts +0 -4
- package/resources/task-agent/index.d.ts.map +0 -1
- package/resources/task-agent/index.js.map +0 -1
- package/resources/task-agent/index.mjs.map +0 -1
- package/resources/task-agent/runs.d.mts.map +0 -1
- package/resources/task-agent/runs.d.ts.map +0 -1
- package/resources/task-agent/runs.js +0 -63
- package/resources/task-agent/runs.js.map +0 -1
- package/resources/task-agent/runs.mjs +0 -59
- package/resources/task-agent/runs.mjs.map +0 -1
- package/resources/task-agent/task-agent.d.mts.map +0 -1
- package/resources/task-agent/task-agent.d.ts.map +0 -1
- package/resources/task-agent/task-agent.js +0 -80
- package/resources/task-agent/task-agent.js.map +0 -1
- package/resources/task-agent/task-agent.mjs +0 -75
- package/resources/task-agent/task-agent.mjs.map +0 -1
- package/resources/task-agent/templates.d.mts.map +0 -1
- package/resources/task-agent/templates.d.ts.map +0 -1
- package/resources/task-agent/templates.js.map +0 -1
- package/resources/task-agent/templates.mjs +0 -22
- package/resources/task-agent/templates.mjs.map +0 -1
- package/resources/task-agent.d.mts +0 -2
- package/resources/task-agent.d.mts.map +0 -1
- package/resources/task-agent.d.ts +0 -2
- package/resources/task-agent.d.ts.map +0 -1
- package/resources/task-agent.js.map +0 -1
- package/resources/task-agent.mjs.map +0 -1
- package/src/resources/agent.ts +0 -935
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.mts","sourceRoot":"","sources":["../src/resources/agent.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;OAIG;IACH,IAAI,CACF,KAAK,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;IAIhC;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qB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AAO,CAAC,CAAC;QAE1E,YAAY,CAAC,EAAE,OAAO,CAAC;QAEvB,MAAM,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;KACrC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
package/resources/agent.d.ts
DELETED
|
@@ -1,641 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
-
export declare class Agent extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* List Agent Templates
|
|
7
|
-
*
|
|
8
|
-
* @deprecated
|
|
9
|
-
*/
|
|
10
|
-
list(query?: AgentListParams | null | undefined, options?: RequestOptions): APIPromise<AgentListResponse>;
|
|
11
|
-
/**
|
|
12
|
-
* Create Agent Generation
|
|
13
|
-
*
|
|
14
|
-
* @deprecated
|
|
15
|
-
*/
|
|
16
|
-
generate(body: AgentGenerateParams, options?: RequestOptions): APIPromise<AgentGenerateResponse>;
|
|
17
|
-
/**
|
|
18
|
-
* Get Agent Template
|
|
19
|
-
*
|
|
20
|
-
* @deprecated
|
|
21
|
-
*/
|
|
22
|
-
get(templateName: string, options?: RequestOptions): APIPromise<AgentGetResponse>;
|
|
23
|
-
/**
|
|
24
|
-
* Get Agent Generation
|
|
25
|
-
*
|
|
26
|
-
* @deprecated
|
|
27
|
-
*/
|
|
28
|
-
getGeneration(generationID: string, options?: RequestOptions): APIPromise<AgentGetGenerationResponse>;
|
|
29
|
-
/**
|
|
30
|
-
* Execute WSA Realtime Endpoint
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* ```ts
|
|
34
|
-
* const response = await client.agent.run({
|
|
35
|
-
* agent: 'agent',
|
|
36
|
-
* params: { foo: 'bar' },
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
|
-
*/
|
|
40
|
-
run(body: AgentRunParams, options?: RequestOptions): APIPromise<AgentRunResponse>;
|
|
41
|
-
/**
|
|
42
|
-
* Execute WSA Async Endpoint
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
* ```ts
|
|
46
|
-
* const response = await client.agent.runAsync({
|
|
47
|
-
* agent: 'agent',
|
|
48
|
-
* params: { foo: 'bar' },
|
|
49
|
-
* });
|
|
50
|
-
* ```
|
|
51
|
-
*/
|
|
52
|
-
runAsync(body: AgentRunAsyncParams, options?: RequestOptions): APIPromise<AgentRunAsyncResponse>;
|
|
53
|
-
/**
|
|
54
|
-
* Execute WSA Batch Endpoint
|
|
55
|
-
*
|
|
56
|
-
* @example
|
|
57
|
-
* ```ts
|
|
58
|
-
* const response = await client.agent.runBatch({
|
|
59
|
-
* inputs: [{}],
|
|
60
|
-
* shared_inputs: { agent: 'agent' },
|
|
61
|
-
* });
|
|
62
|
-
* ```
|
|
63
|
-
*/
|
|
64
|
-
runBatch(body: AgentRunBatchParams, options?: RequestOptions): APIPromise<AgentRunBatchResponse>;
|
|
65
|
-
}
|
|
66
|
-
export type AgentListResponse = Array<AgentListResponse.AgentListResponseItem>;
|
|
67
|
-
export declare namespace AgentListResponse {
|
|
68
|
-
interface AgentListResponseItem {
|
|
69
|
-
display_name: string;
|
|
70
|
-
is_public: boolean;
|
|
71
|
-
name: string;
|
|
72
|
-
description?: string | null;
|
|
73
|
-
domain?: string | null;
|
|
74
|
-
entity_type?: string | null;
|
|
75
|
-
managed_by?: string | null;
|
|
76
|
-
vertical?: string | null;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
export interface AgentGenerateResponse {
|
|
80
|
-
id: string;
|
|
81
|
-
status: string;
|
|
82
|
-
agent_name?: string | null;
|
|
83
|
-
completed_at?: string | null;
|
|
84
|
-
created_at?: string | null;
|
|
85
|
-
error?: string | null;
|
|
86
|
-
generated_version?: AgentGenerateResponse.GeneratedVersion | null;
|
|
87
|
-
generated_version_id?: string | null;
|
|
88
|
-
source_version_id?: string | null;
|
|
89
|
-
started_at?: string | null;
|
|
90
|
-
summary?: string | null;
|
|
91
|
-
}
|
|
92
|
-
export declare namespace AgentGenerateResponse {
|
|
93
|
-
interface GeneratedVersion {
|
|
94
|
-
id: string;
|
|
95
|
-
agent_name: string;
|
|
96
|
-
created_at: string;
|
|
97
|
-
input_schema: {
|
|
98
|
-
[key: string]: unknown;
|
|
99
|
-
};
|
|
100
|
-
metadata: GeneratedVersion.Metadata;
|
|
101
|
-
output_schema: {
|
|
102
|
-
[key: string]: unknown;
|
|
103
|
-
};
|
|
104
|
-
version_number: number;
|
|
105
|
-
samples?: Array<GeneratedVersion.Sample> | null;
|
|
106
|
-
}
|
|
107
|
-
namespace GeneratedVersion {
|
|
108
|
-
interface Metadata {
|
|
109
|
-
data_source?: string | null;
|
|
110
|
-
description?: string | null;
|
|
111
|
-
display_name?: string | null;
|
|
112
|
-
domain?: string | null;
|
|
113
|
-
entity_type?: string | null;
|
|
114
|
-
tags?: Array<string>;
|
|
115
|
-
vertical?: string | null;
|
|
116
|
-
}
|
|
117
|
-
interface Sample {
|
|
118
|
-
input?: unknown;
|
|
119
|
-
output?: unknown;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
export interface AgentGetResponse {
|
|
124
|
-
display_name: string;
|
|
125
|
-
is_public: boolean;
|
|
126
|
-
name: string;
|
|
127
|
-
description?: string | null;
|
|
128
|
-
domain?: string | null;
|
|
129
|
-
entity_type?: string | null;
|
|
130
|
-
feature_flags?: AgentGetResponse.FeatureFlags;
|
|
131
|
-
input_properties?: Array<AgentGetResponse.InputProperty> | null;
|
|
132
|
-
managed_by?: string | null;
|
|
133
|
-
output_schema?: {
|
|
134
|
-
[key: string]: unknown;
|
|
135
|
-
} | null;
|
|
136
|
-
vertical?: string | null;
|
|
137
|
-
}
|
|
138
|
-
export declare namespace AgentGetResponse {
|
|
139
|
-
interface FeatureFlags {
|
|
140
|
-
is_localization_supported?: boolean;
|
|
141
|
-
is_pagination_supported?: boolean;
|
|
142
|
-
}
|
|
143
|
-
interface InputProperty {
|
|
144
|
-
default?: string | boolean | number | null;
|
|
145
|
-
description?: string | null;
|
|
146
|
-
examples?: Array<unknown> | null;
|
|
147
|
-
is_localization_param?: boolean;
|
|
148
|
-
is_pagination_param?: boolean;
|
|
149
|
-
name?: string;
|
|
150
|
-
required?: boolean;
|
|
151
|
-
rules?: Array<string> | null;
|
|
152
|
-
type?: string;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
export interface AgentGetGenerationResponse {
|
|
156
|
-
id: string;
|
|
157
|
-
status: string;
|
|
158
|
-
agent_name?: string | null;
|
|
159
|
-
completed_at?: string | null;
|
|
160
|
-
created_at?: string | null;
|
|
161
|
-
error?: string | null;
|
|
162
|
-
generated_version?: AgentGetGenerationResponse.GeneratedVersion | null;
|
|
163
|
-
generated_version_id?: string | null;
|
|
164
|
-
source_version_id?: string | null;
|
|
165
|
-
started_at?: string | null;
|
|
166
|
-
summary?: string | null;
|
|
167
|
-
}
|
|
168
|
-
export declare namespace AgentGetGenerationResponse {
|
|
169
|
-
interface GeneratedVersion {
|
|
170
|
-
id: string;
|
|
171
|
-
agent_name: string;
|
|
172
|
-
created_at: string;
|
|
173
|
-
input_schema: {
|
|
174
|
-
[key: string]: unknown;
|
|
175
|
-
};
|
|
176
|
-
metadata: GeneratedVersion.Metadata;
|
|
177
|
-
output_schema: {
|
|
178
|
-
[key: string]: unknown;
|
|
179
|
-
};
|
|
180
|
-
version_number: number;
|
|
181
|
-
samples?: Array<GeneratedVersion.Sample> | null;
|
|
182
|
-
}
|
|
183
|
-
namespace GeneratedVersion {
|
|
184
|
-
interface Metadata {
|
|
185
|
-
data_source?: string | null;
|
|
186
|
-
description?: string | null;
|
|
187
|
-
display_name?: string | null;
|
|
188
|
-
domain?: string | null;
|
|
189
|
-
entity_type?: string | null;
|
|
190
|
-
tags?: Array<string>;
|
|
191
|
-
vertical?: string | null;
|
|
192
|
-
}
|
|
193
|
-
interface Sample {
|
|
194
|
-
input?: unknown;
|
|
195
|
-
output?: unknown;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
export interface AgentRunResponse {
|
|
200
|
-
data: AgentRunResponse.Data;
|
|
201
|
-
metadata: AgentRunResponse.Metadata;
|
|
202
|
-
/**
|
|
203
|
-
* The status of the task.
|
|
204
|
-
*/
|
|
205
|
-
status: 'success' | 'skipped' | 'fatal' | 'error' | 'postponed' | 'ignored' | 'rejected' | 'blocked';
|
|
206
|
-
/**
|
|
207
|
-
* Unique identifier for the task.
|
|
208
|
-
*/
|
|
209
|
-
task_id: string;
|
|
210
|
-
/**
|
|
211
|
-
* The final URL.
|
|
212
|
-
*/
|
|
213
|
-
url: string;
|
|
214
|
-
debug?: AgentRunResponse.Debug;
|
|
215
|
-
/**
|
|
216
|
-
* Pagination information if applicable.
|
|
217
|
-
*/
|
|
218
|
-
pagination?: AgentRunResponse.NextPageParams | Array<AgentRunResponse.UnionMember1>;
|
|
219
|
-
/**
|
|
220
|
-
* The HTTP status code of the task.
|
|
221
|
-
*/
|
|
222
|
-
status_code?: number;
|
|
223
|
-
/**
|
|
224
|
-
* List of warnings generated during the task.
|
|
225
|
-
*/
|
|
226
|
-
warnings?: Array<string>;
|
|
227
|
-
}
|
|
228
|
-
export declare namespace AgentRunResponse {
|
|
229
|
-
interface Data {
|
|
230
|
-
/**
|
|
231
|
-
* Browser actions execution results. Present only when browser_actions were
|
|
232
|
-
* specified in the request.
|
|
233
|
-
*/
|
|
234
|
-
browser_actions?: Data.BrowserActions;
|
|
235
|
-
/**
|
|
236
|
-
* The cookies collected from browser actions during the task.
|
|
237
|
-
*/
|
|
238
|
-
cookies?: Array<unknown>;
|
|
239
|
-
/**
|
|
240
|
-
* The evaluation results from browser actions during the task.
|
|
241
|
-
*/
|
|
242
|
-
eval?: Array<unknown>;
|
|
243
|
-
/**
|
|
244
|
-
* The http requests from browser actions made during the task.
|
|
245
|
-
*/
|
|
246
|
-
fetch?: Array<unknown>;
|
|
247
|
-
/**
|
|
248
|
-
* The headers received during the task.
|
|
249
|
-
*/
|
|
250
|
-
headers?: {
|
|
251
|
-
[key: string]: string;
|
|
252
|
-
};
|
|
253
|
-
/**
|
|
254
|
-
* The HTML content of the page.
|
|
255
|
-
*/
|
|
256
|
-
html?: string;
|
|
257
|
-
/**
|
|
258
|
-
* List of all unique URLs found on the page.
|
|
259
|
-
*/
|
|
260
|
-
links?: Array<string>;
|
|
261
|
-
/**
|
|
262
|
-
* The Markdown version of the HTML content.
|
|
263
|
-
*/
|
|
264
|
-
markdown?: string;
|
|
265
|
-
/**
|
|
266
|
-
* The network capture data collected during the task.
|
|
267
|
-
*/
|
|
268
|
-
network_capture?: Array<Data.NetworkCapture>;
|
|
269
|
-
/**
|
|
270
|
-
* Individual HTML content of each pagination page, before merging.
|
|
271
|
-
*/
|
|
272
|
-
pages_html?: Array<string>;
|
|
273
|
-
/**
|
|
274
|
-
* The parsing results extracted from the HTML & network content.
|
|
275
|
-
*/
|
|
276
|
-
parsing?: Data.ParsingSuccessResult | Data.ParsingErrorResult | {
|
|
277
|
-
[key: string]: unknown;
|
|
278
|
-
};
|
|
279
|
-
/**
|
|
280
|
-
* The list of redirects that occurred during the task.
|
|
281
|
-
*/
|
|
282
|
-
redirects?: Array<Data.Redirect>;
|
|
283
|
-
/**
|
|
284
|
-
* Screenshots taken during the task, from browser actions, or the screenshot
|
|
285
|
-
* format.
|
|
286
|
-
*/
|
|
287
|
-
screenshots?: Array<unknown>;
|
|
288
|
-
}
|
|
289
|
-
namespace Data {
|
|
290
|
-
/**
|
|
291
|
-
* Browser actions execution results. Present only when browser_actions were
|
|
292
|
-
* specified in the request.
|
|
293
|
-
*/
|
|
294
|
-
interface BrowserActions {
|
|
295
|
-
results: Array<BrowserActions.Result>;
|
|
296
|
-
success: boolean;
|
|
297
|
-
total_duration: number;
|
|
298
|
-
}
|
|
299
|
-
namespace BrowserActions {
|
|
300
|
-
interface Result {
|
|
301
|
-
duration: number;
|
|
302
|
-
name: 'goto' | 'wait' | 'wait_for_element' | 'wait_for_navigation' | 'click' | 'fill' | 'press' | 'scroll' | 'auto_scroll' | 'screenshot' | 'get_cookies' | 'eval' | 'fetch';
|
|
303
|
-
status: 'no-run' | 'in-progress' | 'done' | 'error' | 'skipped';
|
|
304
|
-
error?: string;
|
|
305
|
-
result?: unknown;
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
interface NetworkCapture {
|
|
309
|
-
filter: NetworkCapture.Filter;
|
|
310
|
-
results: Array<NetworkCapture.Result>;
|
|
311
|
-
errorMessage?: string;
|
|
312
|
-
}
|
|
313
|
-
namespace NetworkCapture {
|
|
314
|
-
interface Filter {
|
|
315
|
-
validation: boolean;
|
|
316
|
-
wait_for_requests_count: number;
|
|
317
|
-
method?: 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH';
|
|
318
|
-
/**
|
|
319
|
-
* Resource type for network capture filtering
|
|
320
|
-
*/
|
|
321
|
-
resource_type?: 'document' | 'stylesheet' | 'image' | 'media' | 'font' | 'script' | 'texttrack' | 'xhr' | 'fetch' | 'prefetch' | 'eventsource' | 'websocket' | 'manifest' | 'signedexchange' | 'ping' | 'cspviolationreport' | 'preflight' | 'other' | 'fedcm' | Array<'document' | 'stylesheet' | 'image' | 'media' | 'font' | 'script' | 'texttrack' | 'xhr' | 'fetch' | 'prefetch' | 'eventsource' | 'websocket' | 'manifest' | 'signedexchange' | 'ping' | 'cspviolationreport' | 'preflight' | 'other' | 'fedcm'>;
|
|
322
|
-
status_code?: number | Array<number>;
|
|
323
|
-
url?: Filter.URL;
|
|
324
|
-
wait_for_requests_count_timeout?: number;
|
|
325
|
-
}
|
|
326
|
-
namespace Filter {
|
|
327
|
-
interface URL {
|
|
328
|
-
type: 'exact' | 'contains';
|
|
329
|
-
value: string;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
interface Result {
|
|
333
|
-
request: Result.Request;
|
|
334
|
-
response: Result.Response;
|
|
335
|
-
}
|
|
336
|
-
namespace Result {
|
|
337
|
-
interface Request {
|
|
338
|
-
headers: {
|
|
339
|
-
[key: string]: string;
|
|
340
|
-
};
|
|
341
|
-
method: string;
|
|
342
|
-
/**
|
|
343
|
-
* Resource type for network capture filtering
|
|
344
|
-
*/
|
|
345
|
-
resource_type: 'document' | 'stylesheet' | 'image' | 'media' | 'font' | 'script' | 'texttrack' | 'xhr' | 'fetch' | 'prefetch' | 'eventsource' | 'websocket' | 'manifest' | 'signedexchange' | 'ping' | 'cspviolationreport' | 'preflight' | 'other' | 'fedcm';
|
|
346
|
-
url: string;
|
|
347
|
-
body?: string;
|
|
348
|
-
}
|
|
349
|
-
interface Response {
|
|
350
|
-
body: string;
|
|
351
|
-
headers: {
|
|
352
|
-
[key: string]: string;
|
|
353
|
-
};
|
|
354
|
-
serialization: 'none' | 'base64';
|
|
355
|
-
status: number;
|
|
356
|
-
status_text: string;
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
interface ParsingSuccessResult {
|
|
361
|
-
entities: {
|
|
362
|
-
[key: string]: unknown;
|
|
363
|
-
};
|
|
364
|
-
status: 'success';
|
|
365
|
-
}
|
|
366
|
-
interface ParsingErrorResult {
|
|
367
|
-
error: string;
|
|
368
|
-
status: 'error';
|
|
369
|
-
}
|
|
370
|
-
interface Redirect {
|
|
371
|
-
status_code: number;
|
|
372
|
-
url: string;
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
interface Metadata {
|
|
376
|
-
/**
|
|
377
|
-
* The name of the agent used for the query.
|
|
378
|
-
*/
|
|
379
|
-
agent?: string;
|
|
380
|
-
/**
|
|
381
|
-
* The driver used for the task.
|
|
382
|
-
*/
|
|
383
|
-
driver?: string;
|
|
384
|
-
/**
|
|
385
|
-
* The localization identifier for the query.
|
|
386
|
-
*/
|
|
387
|
-
localization_id?: string;
|
|
388
|
-
/**
|
|
389
|
-
* The duration in milliseconds of the query processing.
|
|
390
|
-
*/
|
|
391
|
-
query_duration?: number;
|
|
392
|
-
/**
|
|
393
|
-
* The time when the query was received.
|
|
394
|
-
*/
|
|
395
|
-
query_time?: string;
|
|
396
|
-
/**
|
|
397
|
-
* Additional response parameters.
|
|
398
|
-
*/
|
|
399
|
-
response_parameters?: unknown;
|
|
400
|
-
/**
|
|
401
|
-
* A tag associated with the query.
|
|
402
|
-
*/
|
|
403
|
-
tag?: string;
|
|
404
|
-
}
|
|
405
|
-
interface Debug {
|
|
406
|
-
/**
|
|
407
|
-
* Performance metrics collected during the task.
|
|
408
|
-
*/
|
|
409
|
-
performance_metrics?: {
|
|
410
|
-
[key: string]: number;
|
|
411
|
-
};
|
|
412
|
-
/**
|
|
413
|
-
* Total bytes used by the proxy during the task.
|
|
414
|
-
*/
|
|
415
|
-
proxy_total_bytes_usage?: number;
|
|
416
|
-
/**
|
|
417
|
-
* The transformed output after applying any transformations.
|
|
418
|
-
*/
|
|
419
|
-
transformed_output?: unknown;
|
|
420
|
-
/**
|
|
421
|
-
* The userbrowser instance using during the task.
|
|
422
|
-
*/
|
|
423
|
-
userbrowser?: unknown;
|
|
424
|
-
}
|
|
425
|
-
interface NextPageParams {
|
|
426
|
-
next_page_params: {
|
|
427
|
-
[key: string]: unknown;
|
|
428
|
-
};
|
|
429
|
-
}
|
|
430
|
-
interface UnionMember1 {
|
|
431
|
-
next_page_params: {
|
|
432
|
-
[key: string]: unknown;
|
|
433
|
-
};
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
export interface AgentRunAsyncResponse {
|
|
437
|
-
status: 'success';
|
|
438
|
-
task: {
|
|
439
|
-
[key: string]: unknown;
|
|
440
|
-
};
|
|
441
|
-
}
|
|
442
|
-
/**
|
|
443
|
-
* Response when a batch of extract tasks is created successfully.
|
|
444
|
-
*/
|
|
445
|
-
export interface AgentRunBatchResponse {
|
|
446
|
-
/**
|
|
447
|
-
* Unique identifier for the batch.
|
|
448
|
-
*/
|
|
449
|
-
batch_id: string;
|
|
450
|
-
/**
|
|
451
|
-
* Number of tasks in the batch.
|
|
452
|
-
*/
|
|
453
|
-
batch_size: number;
|
|
454
|
-
/**
|
|
455
|
-
* List of created tasks.
|
|
456
|
-
*/
|
|
457
|
-
tasks: Array<AgentRunBatchResponse.Task>;
|
|
458
|
-
}
|
|
459
|
-
export declare namespace AgentRunBatchResponse {
|
|
460
|
-
interface Task {
|
|
461
|
-
/**
|
|
462
|
-
* Unique task identifier.
|
|
463
|
-
*/
|
|
464
|
-
id: string;
|
|
465
|
-
_query: unknown;
|
|
466
|
-
/**
|
|
467
|
-
* Timestamp when the task was created.
|
|
468
|
-
*/
|
|
469
|
-
created_at: string;
|
|
470
|
-
/**
|
|
471
|
-
* Original input data for the task.
|
|
472
|
-
*/
|
|
473
|
-
input: unknown;
|
|
474
|
-
/**
|
|
475
|
-
* Current state of the task.
|
|
476
|
-
*/
|
|
477
|
-
state: 'pending' | 'queued' | 'in_progress' | 'success' | 'error';
|
|
478
|
-
/**
|
|
479
|
-
* URL for checking the task status.
|
|
480
|
-
*/
|
|
481
|
-
status_url: string;
|
|
482
|
-
/**
|
|
483
|
-
* Account name that owns the task.
|
|
484
|
-
*/
|
|
485
|
-
account_name?: string;
|
|
486
|
-
api_type?: 'web' | 'serp' | 'ecommerce' | 'social' | 'media' | 'agent' | 'extract' | 'fast-serp' | 'labs';
|
|
487
|
-
/**
|
|
488
|
-
* Batch ID if this task is part of a batch.
|
|
489
|
-
*/
|
|
490
|
-
batch_id?: string | null;
|
|
491
|
-
/**
|
|
492
|
-
* URL for downloading the task results.
|
|
493
|
-
*/
|
|
494
|
-
download_url?: string | null;
|
|
495
|
-
/**
|
|
496
|
-
* Error message if the task failed.
|
|
497
|
-
*/
|
|
498
|
-
error?: string | null;
|
|
499
|
-
/**
|
|
500
|
-
* Classification of the error type.
|
|
501
|
-
*/
|
|
502
|
-
error_type?: string | null;
|
|
503
|
-
/**
|
|
504
|
-
* Timestamp when the task was last modified.
|
|
505
|
-
*/
|
|
506
|
-
modified_at?: string;
|
|
507
|
-
/**
|
|
508
|
-
* Storage location of the output data.
|
|
509
|
-
*/
|
|
510
|
-
output_url?: string | null;
|
|
511
|
-
/**
|
|
512
|
-
* Queue name the task was submitted to.
|
|
513
|
-
*/
|
|
514
|
-
queue?: string;
|
|
515
|
-
/**
|
|
516
|
-
* HTTP status code from the task execution.
|
|
517
|
-
*/
|
|
518
|
-
status_code?: number;
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
export interface AgentListParams {
|
|
522
|
-
/**
|
|
523
|
-
* Number of results per page
|
|
524
|
-
*/
|
|
525
|
-
limit?: number;
|
|
526
|
-
/**
|
|
527
|
-
* Filter templates by attribution
|
|
528
|
-
*/
|
|
529
|
-
managed_by?: 'nimble' | 'community' | 'self_managed' | null;
|
|
530
|
-
/**
|
|
531
|
-
* Pagination offset
|
|
532
|
-
*/
|
|
533
|
-
offset?: number;
|
|
534
|
-
/**
|
|
535
|
-
* Filter by privacy level
|
|
536
|
-
*/
|
|
537
|
-
privacy?: 'public' | 'private' | 'all' | null;
|
|
538
|
-
/**
|
|
539
|
-
* Search templates by name, domain, or vertical
|
|
540
|
-
*/
|
|
541
|
-
search?: string | null;
|
|
542
|
-
}
|
|
543
|
-
export type AgentGenerateParams = AgentGenerateParams.CreateTemplateGenerationRequestPublicV1 | AgentGenerateParams.CreateTemplateRefinementRequestPublicV1;
|
|
544
|
-
export declare namespace AgentGenerateParams {
|
|
545
|
-
interface CreateTemplateGenerationRequestPublicV1 {
|
|
546
|
-
prompt: string;
|
|
547
|
-
url: string;
|
|
548
|
-
input_schema?: {
|
|
549
|
-
[key: string]: unknown;
|
|
550
|
-
};
|
|
551
|
-
metadata?: CreateTemplateGenerationRequestPublicV1.Metadata | null;
|
|
552
|
-
name?: string | null;
|
|
553
|
-
output_schema?: {
|
|
554
|
-
[key: string]: unknown;
|
|
555
|
-
};
|
|
556
|
-
}
|
|
557
|
-
namespace CreateTemplateGenerationRequestPublicV1 {
|
|
558
|
-
interface Metadata {
|
|
559
|
-
description?: string | null;
|
|
560
|
-
display_name?: string | null;
|
|
561
|
-
tags?: Array<string>;
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
interface CreateTemplateRefinementRequestPublicV1 {
|
|
565
|
-
from_agent: string;
|
|
566
|
-
prompt: string;
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
export interface AgentRunParams {
|
|
570
|
-
agent: string;
|
|
571
|
-
params: {
|
|
572
|
-
[key: string]: unknown;
|
|
573
|
-
};
|
|
574
|
-
/**
|
|
575
|
-
* Response formats to include. All disabled by default.
|
|
576
|
-
*/
|
|
577
|
-
formats?: Array<'html' | 'markdown' | 'screenshot' | 'headers' | 'links'>;
|
|
578
|
-
localization?: boolean;
|
|
579
|
-
}
|
|
580
|
-
export interface AgentRunAsyncParams {
|
|
581
|
-
agent: string;
|
|
582
|
-
params: {
|
|
583
|
-
[key: string]: unknown;
|
|
584
|
-
};
|
|
585
|
-
/**
|
|
586
|
-
* URL to call back when async operation completes
|
|
587
|
-
*/
|
|
588
|
-
callback_url?: string;
|
|
589
|
-
/**
|
|
590
|
-
* Response formats to include. All disabled by default.
|
|
591
|
-
*/
|
|
592
|
-
formats?: Array<'html' | 'markdown' | 'screenshot' | 'headers' | 'links'>;
|
|
593
|
-
localization?: boolean;
|
|
594
|
-
/**
|
|
595
|
-
* Whether to compress stored data
|
|
596
|
-
*/
|
|
597
|
-
storage_compress?: boolean;
|
|
598
|
-
/**
|
|
599
|
-
* Custom name for the stored object
|
|
600
|
-
*/
|
|
601
|
-
storage_object_name?: string;
|
|
602
|
-
/**
|
|
603
|
-
* Type of storage to use for results
|
|
604
|
-
*/
|
|
605
|
-
storage_type?: string;
|
|
606
|
-
/**
|
|
607
|
-
* URL for storage location
|
|
608
|
-
*/
|
|
609
|
-
storage_url?: string;
|
|
610
|
-
}
|
|
611
|
-
export interface AgentRunBatchParams {
|
|
612
|
-
inputs: Array<AgentRunBatchParams.Input>;
|
|
613
|
-
shared_inputs: AgentRunBatchParams.SharedInputs;
|
|
614
|
-
}
|
|
615
|
-
export declare namespace AgentRunBatchParams {
|
|
616
|
-
interface Input {
|
|
617
|
-
/**
|
|
618
|
-
* Response formats to include. All disabled by default.
|
|
619
|
-
*/
|
|
620
|
-
formats?: Array<'html' | 'markdown' | 'screenshot' | 'headers' | 'links'>;
|
|
621
|
-
localization?: boolean;
|
|
622
|
-
params?: {
|
|
623
|
-
[key: string]: unknown;
|
|
624
|
-
};
|
|
625
|
-
}
|
|
626
|
-
interface SharedInputs {
|
|
627
|
-
agent: string;
|
|
628
|
-
/**
|
|
629
|
-
* Response formats to include. All disabled by default.
|
|
630
|
-
*/
|
|
631
|
-
formats?: Array<'html' | 'markdown' | 'screenshot' | 'headers' | 'links'>;
|
|
632
|
-
localization?: boolean;
|
|
633
|
-
params?: {
|
|
634
|
-
[key: string]: unknown;
|
|
635
|
-
};
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
export declare namespace Agent {
|
|
639
|
-
export { type AgentListResponse as AgentListResponse, type AgentGenerateResponse as AgentGenerateResponse, type AgentGetResponse as AgentGetResponse, type AgentGetGenerationResponse as AgentGetGenerationResponse, type AgentRunResponse as AgentRunResponse, type AgentRunAsyncResponse as AgentRunAsyncResponse, type AgentRunBatchResponse as AgentRunBatchResponse, type AgentListParams as AgentListParams, type AgentGenerateParams as AgentGenerateParams, type AgentRunParams as AgentRunParams, type AgentRunAsyncParams as AgentRunAsyncParams, type AgentRunBatchParams as AgentRunBatchParams, };
|
|
640
|
-
}
|
|
641
|
-
//# sourceMappingURL=agent.d.ts.map
|