@nimble-way/nimble-js 0.19.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 +20 -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/agents/agents.d.mts +811 -0
- package/resources/agents/agents.d.mts.map +1 -0
- package/resources/agents/agents.d.ts +811 -0
- 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 +413 -128
- package/resources/agents/runs.d.mts.map +1 -0
- package/resources/{task-agent → agents}/runs.d.ts +413 -128
- 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/agents/templates.d.mts +258 -0
- package/resources/agents/templates.d.mts.map +1 -0
- package/resources/agents/templates.d.ts +258 -0
- package/resources/agents/templates.d.ts.map +1 -0
- package/resources/{task-agent → agents}/templates.js +5 -4
- 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/{agent.d.ts → extract/templates/templates.d.mts} +475 -263
- package/resources/extract/templates/templates.d.mts.map +1 -0
- package/resources/{agent.d.mts → extract/templates/templates.d.ts} +475 -263
- 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 +34 -90
- package/resources/jobs/jobs.d.mts.map +1 -1
- package/resources/jobs/jobs.d.ts +34 -90
- package/resources/jobs/jobs.d.ts.map +1 -1
- package/resources/jobs/jobs.js +10 -16
- package/resources/jobs/jobs.js.map +1 -1
- package/resources/jobs/jobs.mjs +11 -17
- package/resources/jobs/jobs.mjs.map +1 -1
- package/resources/jobs/runs/artifacts.d.mts +7 -17
- package/resources/jobs/runs/artifacts.d.mts.map +1 -1
- package/resources/jobs/runs/artifacts.d.ts +7 -17
- package/resources/jobs/runs/artifacts.d.ts.map +1 -1
- package/resources/jobs/runs/artifacts.js +8 -8
- package/resources/jobs/runs/artifacts.mjs +8 -8
- 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 +59 -21
- package/resources/jobs/runs/runs.d.mts.map +1 -1
- package/resources/jobs/runs/runs.d.ts +59 -21
- package/resources/jobs/runs/runs.d.ts.map +1 -1
- package/resources/jobs/runs/runs.js +12 -6
- package/resources/jobs/runs/runs.js.map +1 -1
- package/resources/jobs/runs/runs.mjs +12 -6
- 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 -1208
- package/resources/top-level.d.mts.map +1 -1
- package/resources/top-level.d.ts +1 -1208
- package/resources/top-level.d.ts.map +1 -1
- package/src/client.ts +41 -123
- package/src/resources/agents/agents.ts +1039 -0
- package/src/resources/agents/index.ts +30 -0
- package/src/resources/{task-agent → agents}/runs.ts +450 -154
- package/src/resources/agents/templates.ts +324 -0
- 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 +49 -112
- package/src/resources/jobs/runs/artifacts.ts +11 -21
- package/src/resources/jobs/runs/index.ts +1 -0
- package/src/resources/jobs/runs/runs.ts +74 -24
- 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 +88 -5192
- 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.map +0 -1
- package/resources/agent.d.ts.map +0 -1
- package/resources/agent.js +0 -101
- package/resources/agent.js.map +0 -1
- package/resources/agent.mjs +0 -97
- 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 -65
- package/resources/task-agent/runs.js.map +0 -1
- package/resources/task-agent/runs.mjs +0 -61
- package/resources/task-agent/runs.mjs.map +0 -1
- package/resources/task-agent/task-agent.d.mts +0 -481
- package/resources/task-agent/task-agent.d.mts.map +0 -1
- package/resources/task-agent/task-agent.d.ts +0 -481
- package/resources/task-agent/task-agent.d.ts.map +0 -1
- package/resources/task-agent/task-agent.js +0 -68
- package/resources/task-agent/task-agent.js.map +0 -1
- package/resources/task-agent/task-agent.mjs +0 -63
- package/resources/task-agent/task-agent.mjs.map +0 -1
- package/resources/task-agent/templates.d.mts +0 -107
- package/resources/task-agent/templates.d.mts.map +0 -1
- package/resources/task-agent/templates.d.ts +0 -107
- 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 -18
- 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 -952
- package/src/resources/task-agent/index.ts +0 -32
- package/src/resources/task-agent/task-agent.ts +0 -746
- package/src/resources/task-agent/templates.ts +0 -172
package/resources/jobs/jobs.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
3
|
import * as RunsAPI from "./runs/runs.mjs";
|
|
4
|
-
import { Runs } from "./runs/runs.mjs";
|
|
4
|
+
import { Runs, } from "./runs/runs.mjs";
|
|
5
5
|
import { buildHeaders } from "../../internal/headers.mjs";
|
|
6
6
|
import { path } from "../../internal/utils/path.mjs";
|
|
7
7
|
export class Jobs extends APIResource {
|
|
@@ -10,43 +10,37 @@ export class Jobs extends APIResource {
|
|
|
10
10
|
this.runs = new RunsAPI.Runs(this._client);
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* Create Job
|
|
13
|
+
* Create Job Public V2
|
|
14
14
|
*/
|
|
15
15
|
create(body, options) {
|
|
16
|
-
return this._client.post('/
|
|
16
|
+
return this._client.post('/v2/jobs', { body, ...options });
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* Update Job
|
|
19
|
+
* Update Job Public V2
|
|
20
20
|
*/
|
|
21
21
|
update(jobID, body, options) {
|
|
22
|
-
return this._client.patch(path `/
|
|
22
|
+
return this._client.patch(path `/v2/jobs/${jobID}`, { body, ...options });
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
* List Jobs
|
|
25
|
+
* List Jobs Public V2
|
|
26
26
|
*/
|
|
27
27
|
list(query = {}, options) {
|
|
28
|
-
return this._client.get('/
|
|
28
|
+
return this._client.get('/v2/jobs', { query, ...options });
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* Delete Job
|
|
31
|
+
* Delete Job Public V2
|
|
32
32
|
*/
|
|
33
33
|
delete(jobID, options) {
|
|
34
|
-
return this._client.delete(path `/
|
|
34
|
+
return this._client.delete(path `/v2/jobs/${jobID}`, {
|
|
35
35
|
...options,
|
|
36
36
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
|
-
* Get Job
|
|
40
|
+
* Get Job Public V2
|
|
41
41
|
*/
|
|
42
42
|
get(jobID, options) {
|
|
43
|
-
return this._client.get(path `/
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Trigger Run
|
|
47
|
-
*/
|
|
48
|
-
run(jobID, options) {
|
|
49
|
-
return this._client.post(path `/v1/jobs/${jobID}/runs`, options);
|
|
43
|
+
return this._client.get(path `/v2/jobs/${jobID}`, options);
|
|
50
44
|
}
|
|
51
45
|
}
|
|
52
46
|
Jobs.Runs = Runs;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jobs.mjs","sourceRoot":"","sources":["../../src/resources/jobs/jobs.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,OAAO,wBAAoB;AACvC,OAAO,
|
|
1
|
+
{"version":3,"file":"jobs.mjs","sourceRoot":"","sources":["../../src/resources/jobs/jobs.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,OAAO,wBAAoB;AACvC,OAAO,EAML,IAAI,GACL,wBAAoB;AAErB,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,IAAK,SAAQ,WAAW;IAArC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAuCtD,CAAC;IArCC;;OAEG;IACH,MAAM,CAAC,IAAqB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAAa,EAAE,IAAqB,EAAE,OAAwB;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,YAAY,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,QAA0C,EAAE,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAAa,EAAE,OAAwB;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,YAAY,KAAK,EAAE,EAAE;YAClD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,KAAa,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;CACF;AA8sBD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC"}
|
|
@@ -3,21 +3,21 @@ import { APIPromise } from "../../../core/api-promise.mjs";
|
|
|
3
3
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
4
4
|
export declare class Artifacts extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
* List Run Artifacts
|
|
6
|
+
* List Run Artifacts Public V2
|
|
7
7
|
*/
|
|
8
8
|
list(runID: string, options?: RequestOptions): APIPromise<ArtifactListResponse>;
|
|
9
9
|
/**
|
|
10
|
-
* Get Run Artifact Download
|
|
10
|
+
* Get Run Artifact Download Url Public V2
|
|
11
11
|
*/
|
|
12
|
-
downloadURL(artifactID:
|
|
12
|
+
downloadURL(artifactID: number, params: ArtifactDownloadURLParams, options?: RequestOptions): APIPromise<ArtifactDownloadURLResponse>;
|
|
13
13
|
/**
|
|
14
|
-
* Get Run Artifact
|
|
14
|
+
* Get Run Artifact Public V2
|
|
15
15
|
*/
|
|
16
|
-
get(artifactID:
|
|
16
|
+
get(artifactID: number, params: ArtifactGetParams, options?: RequestOptions): APIPromise<ArtifactGetResponse>;
|
|
17
17
|
/**
|
|
18
|
-
* Preview Run Artifact
|
|
18
|
+
* Preview Run Artifact Public V2
|
|
19
19
|
*/
|
|
20
|
-
preview(artifactID:
|
|
20
|
+
preview(artifactID: number, params: ArtifactPreviewParams, options?: RequestOptions): APIPromise<ArtifactPreviewResponse>;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Artifacts produced by a run.
|
|
@@ -31,11 +31,6 @@ export interface ArtifactListResponse {
|
|
|
31
31
|
export declare namespace ArtifactListResponse {
|
|
32
32
|
/**
|
|
33
33
|
* A file produced by a run.
|
|
34
|
-
*
|
|
35
|
-
* Intentional subset of the bakery Artifact: `data_format` and `s3_path` are
|
|
36
|
-
* hidden from SDK consumers — internal storage details, not part of the public
|
|
37
|
-
* contract. Use the download-url endpoint to fetch the file. Bakery emits `id` as
|
|
38
|
-
* an int (crawlit native); the SDK contract is a string.
|
|
39
34
|
*/
|
|
40
35
|
interface Item {
|
|
41
36
|
/**
|
|
@@ -71,11 +66,6 @@ export interface ArtifactDownloadURLResponse {
|
|
|
71
66
|
}
|
|
72
67
|
/**
|
|
73
68
|
* A file produced by a run.
|
|
74
|
-
*
|
|
75
|
-
* Intentional subset of the bakery Artifact: `data_format` and `s3_path` are
|
|
76
|
-
* hidden from SDK consumers — internal storage details, not part of the public
|
|
77
|
-
* contract. Use the download-url endpoint to fetch the file. Bakery emits `id` as
|
|
78
|
-
* an int (crawlit native); the SDK contract is a string.
|
|
79
69
|
*/
|
|
80
70
|
export interface ArtifactGetResponse {
|
|
81
71
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifacts.d.mts","sourceRoot":"","sources":["../../../src/resources/jobs/runs/artifacts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAI/E;;OAEG;IACH,WAAW,CACT,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,yBAAyB,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;IAK1C;;OAEG;IACH,GAAG,CACD,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAKlC;;OAEG;IACH,OAAO,CACL,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;CAIvC;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;CACzC;AAED,yBAAiB,oBAAoB,CAAC;IACpC
|
|
1
|
+
{"version":3,"file":"artifacts.d.mts","sourceRoot":"","sources":["../../../src/resources/jobs/runs/artifacts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAI/E;;OAEG;IACH,WAAW,CACT,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,yBAAyB,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;IAK1C;;OAEG;IACH,GAAG,CACD,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAKlC;;OAEG;IACH,OAAO,CACL,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACv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KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -3,21 +3,21 @@ import { APIPromise } from "../../../core/api-promise.js";
|
|
|
3
3
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
4
|
export declare class Artifacts extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
* List Run Artifacts
|
|
6
|
+
* List Run Artifacts Public V2
|
|
7
7
|
*/
|
|
8
8
|
list(runID: string, options?: RequestOptions): APIPromise<ArtifactListResponse>;
|
|
9
9
|
/**
|
|
10
|
-
* Get Run Artifact Download
|
|
10
|
+
* Get Run Artifact Download Url Public V2
|
|
11
11
|
*/
|
|
12
|
-
downloadURL(artifactID:
|
|
12
|
+
downloadURL(artifactID: number, params: ArtifactDownloadURLParams, options?: RequestOptions): APIPromise<ArtifactDownloadURLResponse>;
|
|
13
13
|
/**
|
|
14
|
-
* Get Run Artifact
|
|
14
|
+
* Get Run Artifact Public V2
|
|
15
15
|
*/
|
|
16
|
-
get(artifactID:
|
|
16
|
+
get(artifactID: number, params: ArtifactGetParams, options?: RequestOptions): APIPromise<ArtifactGetResponse>;
|
|
17
17
|
/**
|
|
18
|
-
* Preview Run Artifact
|
|
18
|
+
* Preview Run Artifact Public V2
|
|
19
19
|
*/
|
|
20
|
-
preview(artifactID:
|
|
20
|
+
preview(artifactID: number, params: ArtifactPreviewParams, options?: RequestOptions): APIPromise<ArtifactPreviewResponse>;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Artifacts produced by a run.
|
|
@@ -31,11 +31,6 @@ export interface ArtifactListResponse {
|
|
|
31
31
|
export declare namespace ArtifactListResponse {
|
|
32
32
|
/**
|
|
33
33
|
* A file produced by a run.
|
|
34
|
-
*
|
|
35
|
-
* Intentional subset of the bakery Artifact: `data_format` and `s3_path` are
|
|
36
|
-
* hidden from SDK consumers — internal storage details, not part of the public
|
|
37
|
-
* contract. Use the download-url endpoint to fetch the file. Bakery emits `id` as
|
|
38
|
-
* an int (crawlit native); the SDK contract is a string.
|
|
39
34
|
*/
|
|
40
35
|
interface Item {
|
|
41
36
|
/**
|
|
@@ -71,11 +66,6 @@ export interface ArtifactDownloadURLResponse {
|
|
|
71
66
|
}
|
|
72
67
|
/**
|
|
73
68
|
* A file produced by a run.
|
|
74
|
-
*
|
|
75
|
-
* Intentional subset of the bakery Artifact: `data_format` and `s3_path` are
|
|
76
|
-
* hidden from SDK consumers — internal storage details, not part of the public
|
|
77
|
-
* contract. Use the download-url endpoint to fetch the file. Bakery emits `id` as
|
|
78
|
-
* an int (crawlit native); the SDK contract is a string.
|
|
79
69
|
*/
|
|
80
70
|
export interface ArtifactGetResponse {
|
|
81
71
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifacts.d.ts","sourceRoot":"","sources":["../../../src/resources/jobs/runs/artifacts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAI/E;;OAEG;IACH,WAAW,CACT,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,yBAAyB,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;IAK1C;;OAEG;IACH,GAAG,CACD,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,iBAAiB,EACzB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D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -6,31 +6,31 @@ const resource_1 = require("../../../core/resource.js");
|
|
|
6
6
|
const path_1 = require("../../../internal/utils/path.js");
|
|
7
7
|
class Artifacts extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* List Run Artifacts
|
|
9
|
+
* List Run Artifacts Public V2
|
|
10
10
|
*/
|
|
11
11
|
list(runID, options) {
|
|
12
|
-
return this._client.get((0, path_1.path) `/
|
|
12
|
+
return this._client.get((0, path_1.path) `/v2/jobs/runs/${runID}/artifacts`, options);
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* Get Run Artifact Download
|
|
15
|
+
* Get Run Artifact Download Url Public V2
|
|
16
16
|
*/
|
|
17
17
|
downloadURL(artifactID, params, options) {
|
|
18
18
|
const { run_id } = params;
|
|
19
|
-
return this._client.get((0, path_1.path) `/
|
|
19
|
+
return this._client.get((0, path_1.path) `/v2/jobs/runs/${run_id}/artifacts/${artifactID}/download-url`, options);
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
|
-
* Get Run Artifact
|
|
22
|
+
* Get Run Artifact Public V2
|
|
23
23
|
*/
|
|
24
24
|
get(artifactID, params, options) {
|
|
25
25
|
const { run_id } = params;
|
|
26
|
-
return this._client.get((0, path_1.path) `/
|
|
26
|
+
return this._client.get((0, path_1.path) `/v2/jobs/runs/${run_id}/artifacts/${artifactID}`, options);
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
* Preview Run Artifact
|
|
29
|
+
* Preview Run Artifact Public V2
|
|
30
30
|
*/
|
|
31
31
|
preview(artifactID, params, options) {
|
|
32
32
|
const { run_id } = params;
|
|
33
|
-
return this._client.get((0, path_1.path) `/
|
|
33
|
+
return this._client.get((0, path_1.path) `/v2/jobs/runs/${run_id}/artifacts/${artifactID}/preview`, options);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.Artifacts = Artifacts;
|
|
@@ -3,31 +3,31 @@ import { APIResource } from "../../../core/resource.mjs";
|
|
|
3
3
|
import { path } from "../../../internal/utils/path.mjs";
|
|
4
4
|
export class Artifacts extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
* List Run Artifacts
|
|
6
|
+
* List Run Artifacts Public V2
|
|
7
7
|
*/
|
|
8
8
|
list(runID, options) {
|
|
9
|
-
return this._client.get(path `/
|
|
9
|
+
return this._client.get(path `/v2/jobs/runs/${runID}/artifacts`, options);
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
|
-
* Get Run Artifact Download
|
|
12
|
+
* Get Run Artifact Download Url Public V2
|
|
13
13
|
*/
|
|
14
14
|
downloadURL(artifactID, params, options) {
|
|
15
15
|
const { run_id } = params;
|
|
16
|
-
return this._client.get(path `/
|
|
16
|
+
return this._client.get(path `/v2/jobs/runs/${run_id}/artifacts/${artifactID}/download-url`, options);
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* Get Run Artifact
|
|
19
|
+
* Get Run Artifact Public V2
|
|
20
20
|
*/
|
|
21
21
|
get(artifactID, params, options) {
|
|
22
22
|
const { run_id } = params;
|
|
23
|
-
return this._client.get(path `/
|
|
23
|
+
return this._client.get(path `/v2/jobs/runs/${run_id}/artifacts/${artifactID}`, options);
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
* Preview Run Artifact
|
|
26
|
+
* Preview Run Artifact Public V2
|
|
27
27
|
*/
|
|
28
28
|
preview(artifactID, params, options) {
|
|
29
29
|
const { run_id } = params;
|
|
30
|
-
return this._client.get(path `/
|
|
30
|
+
return this._client.get(path `/v2/jobs/runs/${run_id}/artifacts/${artifactID}/preview`, options);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
//# sourceMappingURL=artifacts.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Artifacts, type ArtifactListResponse, type ArtifactDownloadURLResponse, type ArtifactGetResponse, type ArtifactPreviewResponse, type ArtifactDownloadURLParams, type ArtifactGetParams, type ArtifactPreviewParams, } from "./artifacts.mjs";
|
|
2
|
-
export { Runs, type RunListResponse, type RunCancelResponse, type RunGetResponse, type RunListParams, } from "./runs.mjs";
|
|
2
|
+
export { Runs, type RunCreateResponse, type RunListResponse, type RunCancelResponse, type RunGetResponse, type RunListParams, } from "./runs.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/jobs/runs/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B,wBAAoB;AACrB,OAAO,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,mBAAe"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/jobs/runs/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B,wBAAoB;AACrB,OAAO,EACL,IAAI,EACJ,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,mBAAe"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Artifacts, type ArtifactListResponse, type ArtifactDownloadURLResponse, type ArtifactGetResponse, type ArtifactPreviewResponse, type ArtifactDownloadURLParams, type ArtifactGetParams, type ArtifactPreviewParams, } from "./artifacts.js";
|
|
2
|
-
export { Runs, type RunListResponse, type RunCancelResponse, type RunGetResponse, type RunListParams, } from "./runs.js";
|
|
2
|
+
export { Runs, type RunCreateResponse, type RunListResponse, type RunCancelResponse, type RunGetResponse, type RunListParams, } from "./runs.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/jobs/runs/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B,uBAAoB;AACrB,OAAO,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,kBAAe"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/jobs/runs/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B,uBAAoB;AACrB,OAAO,EACL,IAAI,EACJ,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,kBAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/jobs/runs/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CASqB;AARnB,sGAAA,SAAS,OAAA;AASX,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/jobs/runs/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CASqB;AARnB,sGAAA,SAAS,OAAA;AASX,kCAOgB;AANd,4FAAA,IAAI,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/jobs/runs/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,SAAS,GAQV,wBAAoB;AACrB,OAAO,EACL,IAAI,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/jobs/runs/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,SAAS,GAQV,wBAAoB;AACrB,OAAO,EACL,IAAI,GAML,mBAAe"}
|
|
@@ -6,36 +6,78 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
|
6
6
|
export declare class Runs extends APIResource {
|
|
7
7
|
artifacts: ArtifactsAPI.Artifacts;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Trigger Job Run Public V2
|
|
10
|
+
*/
|
|
11
|
+
create(jobID: string, options?: RequestOptions): APIPromise<RunCreateResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* List Job Runs Public V2
|
|
10
14
|
*/
|
|
11
15
|
list(jobID: string, query?: RunListParams | null | undefined, options?: RequestOptions): APIPromise<RunListResponse>;
|
|
12
16
|
/**
|
|
13
|
-
* Cancel Run
|
|
17
|
+
* Cancel Run Public V2
|
|
14
18
|
*/
|
|
15
19
|
cancel(runID: string, options?: RequestOptions): APIPromise<RunCancelResponse>;
|
|
16
20
|
/**
|
|
17
|
-
* Get Run
|
|
21
|
+
* Get Run Public V2
|
|
18
22
|
*/
|
|
19
23
|
get(runID: string, options?: RequestOptions): APIPromise<RunGetResponse>;
|
|
20
24
|
}
|
|
21
25
|
/**
|
|
22
|
-
* A
|
|
26
|
+
* A single execution of a job.
|
|
23
27
|
*/
|
|
28
|
+
export interface RunCreateResponse {
|
|
29
|
+
/**
|
|
30
|
+
* Unique run identifier (run\_<n>).
|
|
31
|
+
*/
|
|
32
|
+
id: string;
|
|
33
|
+
/**
|
|
34
|
+
* When the run was created.
|
|
35
|
+
*/
|
|
36
|
+
created_at: string;
|
|
37
|
+
/**
|
|
38
|
+
* Identifier of the job this run belongs to.
|
|
39
|
+
*/
|
|
40
|
+
job_id: string;
|
|
41
|
+
/**
|
|
42
|
+
* Current run status.
|
|
43
|
+
*/
|
|
44
|
+
status: 'PENDING' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'CANCELLED' | 'TIMEOUT' | 'WARNING';
|
|
45
|
+
/**
|
|
46
|
+
* What triggered the run: 'schedule' or 'manual'.
|
|
47
|
+
*/
|
|
48
|
+
triggered_by: 'schedule' | 'manual';
|
|
49
|
+
/**
|
|
50
|
+
* When the run finished.
|
|
51
|
+
*/
|
|
52
|
+
finished_at?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Number of input records processed.
|
|
55
|
+
*/
|
|
56
|
+
input_count?: number | null;
|
|
57
|
+
/**
|
|
58
|
+
* Number of result records produced.
|
|
59
|
+
*/
|
|
60
|
+
result_count?: number | null;
|
|
61
|
+
/**
|
|
62
|
+
* When the run started executing.
|
|
63
|
+
*/
|
|
64
|
+
started_at?: string | null;
|
|
65
|
+
}
|
|
24
66
|
export interface RunListResponse {
|
|
25
67
|
/**
|
|
26
|
-
*
|
|
68
|
+
* Items returned in this page.
|
|
27
69
|
*/
|
|
28
70
|
items: Array<RunListResponse.Item>;
|
|
29
71
|
/**
|
|
30
|
-
*
|
|
72
|
+
* Maximum number of items returned.
|
|
31
73
|
*/
|
|
32
|
-
|
|
74
|
+
limit: number;
|
|
33
75
|
/**
|
|
34
|
-
* Number of items
|
|
76
|
+
* Number of items skipped before this page.
|
|
35
77
|
*/
|
|
36
|
-
|
|
78
|
+
offset: number;
|
|
37
79
|
/**
|
|
38
|
-
* Total number of
|
|
80
|
+
* Total number of items matching the query.
|
|
39
81
|
*/
|
|
40
82
|
total: number;
|
|
41
83
|
}
|
|
@@ -153,14 +195,14 @@ export declare namespace RunGetResponse {
|
|
|
153
195
|
* Internal job name.
|
|
154
196
|
*/
|
|
155
197
|
name: string;
|
|
156
|
-
/**
|
|
157
|
-
* Name of the agent this job runs.
|
|
158
|
-
*/
|
|
159
|
-
agent_name?: string | null;
|
|
160
198
|
/**
|
|
161
199
|
* Human-friendly job name shown in the UI.
|
|
162
200
|
*/
|
|
163
201
|
display_name?: string | null;
|
|
202
|
+
/**
|
|
203
|
+
* Name of the extract template this job runs.
|
|
204
|
+
*/
|
|
205
|
+
extract_template_name?: string | null;
|
|
164
206
|
/**
|
|
165
207
|
* Cron-based schedule controlling when a job runs automatically.
|
|
166
208
|
*/
|
|
@@ -220,15 +262,11 @@ export declare namespace RunGetResponse {
|
|
|
220
262
|
}
|
|
221
263
|
}
|
|
222
264
|
export interface RunListParams {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* Filter by status
|
|
227
|
-
*/
|
|
228
|
-
status?: string | null;
|
|
265
|
+
limit?: number;
|
|
266
|
+
offset?: number;
|
|
229
267
|
}
|
|
230
268
|
export declare namespace Runs {
|
|
231
|
-
export { type RunListResponse as RunListResponse, type RunCancelResponse as RunCancelResponse, type RunGetResponse as RunGetResponse, type RunListParams as RunListParams, };
|
|
269
|
+
export { type RunCreateResponse as RunCreateResponse, type RunListResponse as RunListResponse, type RunCancelResponse as RunCancelResponse, type RunGetResponse as RunGetResponse, type RunListParams as RunListParams, };
|
|
232
270
|
export { Artifacts as Artifacts, type ArtifactListResponse as ArtifactListResponse, type ArtifactDownloadURLResponse as ArtifactDownloadURLResponse, type ArtifactGetResponse as ArtifactGetResponse, type ArtifactPreviewResponse as ArtifactPreviewResponse, type ArtifactDownloadURLParams as ArtifactDownloadURLParams, type ArtifactGetParams as ArtifactGetParams, type ArtifactPreviewParams as ArtifactPreviewParams, };
|
|
233
271
|
}
|
|
234
272
|
//# sourceMappingURL=runs.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runs.d.mts","sourceRoot":"","sources":["../../../src/resources/jobs/runs/runs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACvB,SAAS,EACV,wBAAoB;AACrB,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE,qBAAa,IAAK,SAAQ,WAAW;IACnC,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAE7E;;OAEG;IACH,IAAI,CACF,KAAK,EAAE,MAAM,EACb,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;IAI9B;;OAEG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAI9E;;OAEG;IACH,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,cAAc,CAAC;CAGzE;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;IAEnC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"runs.d.mts","sourceRoot":"","sources":["../../../src/resources/jobs/runs/runs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,YAAY,wBAAoB;AA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,CAAC;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC,GAAG,IAAI,CAAC;QAEzD;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAExB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACtB;IAED;;OAEG;IACH,UAAiB,OAAO;QACtB;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAE5B;;;WAGG;QACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC9B;CACF;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAID,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -6,36 +6,78 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
6
6
|
export declare class Runs extends APIResource {
|
|
7
7
|
artifacts: ArtifactsAPI.Artifacts;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Trigger Job Run Public V2
|
|
10
|
+
*/
|
|
11
|
+
create(jobID: string, options?: RequestOptions): APIPromise<RunCreateResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* List Job Runs Public V2
|
|
10
14
|
*/
|
|
11
15
|
list(jobID: string, query?: RunListParams | null | undefined, options?: RequestOptions): APIPromise<RunListResponse>;
|
|
12
16
|
/**
|
|
13
|
-
* Cancel Run
|
|
17
|
+
* Cancel Run Public V2
|
|
14
18
|
*/
|
|
15
19
|
cancel(runID: string, options?: RequestOptions): APIPromise<RunCancelResponse>;
|
|
16
20
|
/**
|
|
17
|
-
* Get Run
|
|
21
|
+
* Get Run Public V2
|
|
18
22
|
*/
|
|
19
23
|
get(runID: string, options?: RequestOptions): APIPromise<RunGetResponse>;
|
|
20
24
|
}
|
|
21
25
|
/**
|
|
22
|
-
* A
|
|
26
|
+
* A single execution of a job.
|
|
23
27
|
*/
|
|
28
|
+
export interface RunCreateResponse {
|
|
29
|
+
/**
|
|
30
|
+
* Unique run identifier (run\_<n>).
|
|
31
|
+
*/
|
|
32
|
+
id: string;
|
|
33
|
+
/**
|
|
34
|
+
* When the run was created.
|
|
35
|
+
*/
|
|
36
|
+
created_at: string;
|
|
37
|
+
/**
|
|
38
|
+
* Identifier of the job this run belongs to.
|
|
39
|
+
*/
|
|
40
|
+
job_id: string;
|
|
41
|
+
/**
|
|
42
|
+
* Current run status.
|
|
43
|
+
*/
|
|
44
|
+
status: 'PENDING' | 'RUNNING' | 'SUCCESS' | 'FAILED' | 'CANCELLED' | 'TIMEOUT' | 'WARNING';
|
|
45
|
+
/**
|
|
46
|
+
* What triggered the run: 'schedule' or 'manual'.
|
|
47
|
+
*/
|
|
48
|
+
triggered_by: 'schedule' | 'manual';
|
|
49
|
+
/**
|
|
50
|
+
* When the run finished.
|
|
51
|
+
*/
|
|
52
|
+
finished_at?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* Number of input records processed.
|
|
55
|
+
*/
|
|
56
|
+
input_count?: number | null;
|
|
57
|
+
/**
|
|
58
|
+
* Number of result records produced.
|
|
59
|
+
*/
|
|
60
|
+
result_count?: number | null;
|
|
61
|
+
/**
|
|
62
|
+
* When the run started executing.
|
|
63
|
+
*/
|
|
64
|
+
started_at?: string | null;
|
|
65
|
+
}
|
|
24
66
|
export interface RunListResponse {
|
|
25
67
|
/**
|
|
26
|
-
*
|
|
68
|
+
* Items returned in this page.
|
|
27
69
|
*/
|
|
28
70
|
items: Array<RunListResponse.Item>;
|
|
29
71
|
/**
|
|
30
|
-
*
|
|
72
|
+
* Maximum number of items returned.
|
|
31
73
|
*/
|
|
32
|
-
|
|
74
|
+
limit: number;
|
|
33
75
|
/**
|
|
34
|
-
* Number of items
|
|
76
|
+
* Number of items skipped before this page.
|
|
35
77
|
*/
|
|
36
|
-
|
|
78
|
+
offset: number;
|
|
37
79
|
/**
|
|
38
|
-
* Total number of
|
|
80
|
+
* Total number of items matching the query.
|
|
39
81
|
*/
|
|
40
82
|
total: number;
|
|
41
83
|
}
|
|
@@ -153,14 +195,14 @@ export declare namespace RunGetResponse {
|
|
|
153
195
|
* Internal job name.
|
|
154
196
|
*/
|
|
155
197
|
name: string;
|
|
156
|
-
/**
|
|
157
|
-
* Name of the agent this job runs.
|
|
158
|
-
*/
|
|
159
|
-
agent_name?: string | null;
|
|
160
198
|
/**
|
|
161
199
|
* Human-friendly job name shown in the UI.
|
|
162
200
|
*/
|
|
163
201
|
display_name?: string | null;
|
|
202
|
+
/**
|
|
203
|
+
* Name of the extract template this job runs.
|
|
204
|
+
*/
|
|
205
|
+
extract_template_name?: string | null;
|
|
164
206
|
/**
|
|
165
207
|
* Cron-based schedule controlling when a job runs automatically.
|
|
166
208
|
*/
|
|
@@ -220,15 +262,11 @@ export declare namespace RunGetResponse {
|
|
|
220
262
|
}
|
|
221
263
|
}
|
|
222
264
|
export interface RunListParams {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* Filter by status
|
|
227
|
-
*/
|
|
228
|
-
status?: string | null;
|
|
265
|
+
limit?: number;
|
|
266
|
+
offset?: number;
|
|
229
267
|
}
|
|
230
268
|
export declare namespace Runs {
|
|
231
|
-
export { type RunListResponse as RunListResponse, type RunCancelResponse as RunCancelResponse, type RunGetResponse as RunGetResponse, type RunListParams as RunListParams, };
|
|
269
|
+
export { type RunCreateResponse as RunCreateResponse, type RunListResponse as RunListResponse, type RunCancelResponse as RunCancelResponse, type RunGetResponse as RunGetResponse, type RunListParams as RunListParams, };
|
|
232
270
|
export { Artifacts as Artifacts, type ArtifactListResponse as ArtifactListResponse, type ArtifactDownloadURLResponse as ArtifactDownloadURLResponse, type ArtifactGetResponse as ArtifactGetResponse, type ArtifactPreviewResponse as ArtifactPreviewResponse, type ArtifactDownloadURLParams as ArtifactDownloadURLParams, type ArtifactGetParams as ArtifactGetParams, type ArtifactPreviewParams as ArtifactPreviewParams, };
|
|
233
271
|
}
|
|
234
272
|
//# sourceMappingURL=runs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../src/resources/jobs/runs/runs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,YAAY,uBAAoB;AAC5C,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACvB,SAAS,EACV,uBAAoB;AACrB,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE,qBAAa,IAAK,SAAQ,WAAW;IACnC,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAE7E;;OAEG;IACH,IAAI,CACF,KAAK,EAAE,MAAM,EACb,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe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