@linkt/sdk 0.2.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 +25 -0
- package/LICENSE +201 -0
- package/README.md +424 -0
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +206 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +206 -0
- package/client.d.ts.map +1 -0
- package/client.js +473 -0
- package/client.js.map +1 -0
- package/client.mjs +469 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +2 -0
- package/error.d.ts.map +1 -0
- package/error.js +6 -0
- package/error.js.map +1 -0
- package/error.mjs +2 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +6 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -0
- package/index.js +30 -0
- package/index.js.map +1 -0
- package/index.mjs +7 -0
- package/index.mjs.map +1 -0
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +35 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +32 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +7 -0
- package/internal/qs/formats.d.ts.map +1 -0
- package/internal/qs/formats.js +13 -0
- package/internal/qs/formats.js.map +1 -0
- package/internal/qs/formats.mjs +9 -0
- package/internal/qs/formats.mjs.map +1 -0
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts +10 -0
- package/internal/qs/index.d.ts.map +1 -0
- package/internal/qs/index.js +14 -0
- package/internal/qs/index.js.map +1 -0
- package/internal/qs/index.mjs +10 -0
- package/internal/qs/index.mjs.map +1 -0
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts +3 -0
- package/internal/qs/stringify.d.ts.map +1 -0
- package/internal/qs/stringify.js +277 -0
- package/internal/qs/stringify.js.map +1 -0
- package/internal/qs/stringify.mjs +274 -0
- package/internal/qs/stringify.mjs.map +1 -0
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/types.d.ts +57 -0
- package/internal/qs/types.d.ts.map +1 -0
- package/internal/qs/types.js +3 -0
- package/internal/qs/types.js.map +1 -0
- package/internal/qs/types.mjs +2 -0
- package/internal/qs/types.mjs.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +15 -0
- package/internal/qs/utils.d.ts.map +1 -0
- package/internal/qs/utils.js +230 -0
- package/internal/qs/utils.js.map +1 -0
- package/internal/qs/utils.mjs +217 -0
- package/internal/qs/utils.mjs.map +1 -0
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +86 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +80 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +7 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +7 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +11 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +8 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +137 -0
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +6 -0
- package/resource.js.map +1 -0
- package/resource.mjs +2 -0
- package/resource.mjs.map +1 -0
- package/resources/files.d.mts +170 -0
- package/resources/files.d.mts.map +1 -0
- package/resources/files.d.ts +170 -0
- package/resources/files.d.ts.map +1 -0
- package/resources/files.js +39 -0
- package/resources/files.js.map +1 -0
- package/resources/files.mjs +35 -0
- package/resources/files.mjs.map +1 -0
- package/resources/icp.d.mts +162 -0
- package/resources/icp.d.mts.map +1 -0
- package/resources/icp.d.ts +162 -0
- package/resources/icp.d.ts.map +1 -0
- package/resources/icp.js +69 -0
- package/resources/icp.js.map +1 -0
- package/resources/icp.mjs +65 -0
- package/resources/icp.mjs.map +1 -0
- package/resources/index.d.mts +7 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +7 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +17 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +8 -0
- package/resources/index.mjs.map +1 -0
- package/resources/run.d.mts +224 -0
- package/resources/run.d.mts.map +1 -0
- package/resources/run.d.ts +224 -0
- package/resources/run.d.ts.map +1 -0
- package/resources/run.js +107 -0
- package/resources/run.js.map +1 -0
- package/resources/run.mjs +103 -0
- package/resources/run.mjs.map +1 -0
- package/resources/sheet/entity.d.mts +52 -0
- package/resources/sheet/entity.d.mts.map +1 -0
- package/resources/sheet/entity.d.ts +52 -0
- package/resources/sheet/entity.d.ts.map +1 -0
- package/resources/sheet/entity.js +45 -0
- package/resources/sheet/entity.js.map +1 -0
- package/resources/sheet/entity.mjs +41 -0
- package/resources/sheet/entity.mjs.map +1 -0
- package/resources/sheet/index.d.mts +4 -0
- package/resources/sheet/index.d.mts.map +1 -0
- package/resources/sheet/index.d.ts +4 -0
- package/resources/sheet/index.d.ts.map +1 -0
- package/resources/sheet/index.js +11 -0
- package/resources/sheet/index.js.map +1 -0
- package/resources/sheet/index.mjs +5 -0
- package/resources/sheet/index.mjs.map +1 -0
- package/resources/sheet/schema.d.mts +207 -0
- package/resources/sheet/schema.d.mts.map +1 -0
- package/resources/sheet/schema.d.ts +207 -0
- package/resources/sheet/schema.d.ts.map +1 -0
- package/resources/sheet/schema.js +65 -0
- package/resources/sheet/schema.js.map +1 -0
- package/resources/sheet/schema.mjs +61 -0
- package/resources/sheet/schema.mjs.map +1 -0
- package/resources/sheet/sheet.d.mts +195 -0
- package/resources/sheet/sheet.d.mts.map +1 -0
- package/resources/sheet/sheet.d.ts +195 -0
- package/resources/sheet/sheet.d.ts.map +1 -0
- package/resources/sheet/sheet.js +90 -0
- package/resources/sheet/sheet.js.map +1 -0
- package/resources/sheet/sheet.mjs +85 -0
- package/resources/sheet/sheet.mjs.map +1 -0
- package/resources/sheet.d.mts +2 -0
- package/resources/sheet.d.mts.map +1 -0
- package/resources/sheet.d.ts +2 -0
- package/resources/sheet.d.ts.map +1 -0
- package/resources/sheet.js +6 -0
- package/resources/sheet.js.map +1 -0
- package/resources/sheet.mjs +3 -0
- package/resources/sheet.mjs.map +1 -0
- package/resources/signal.d.mts +79 -0
- package/resources/signal.d.mts.map +1 -0
- package/resources/signal.d.ts +79 -0
- package/resources/signal.d.ts.map +1 -0
- package/resources/signal.js +26 -0
- package/resources/signal.js.map +1 -0
- package/resources/signal.mjs +22 -0
- package/resources/signal.mjs.map +1 -0
- package/resources/task.d.mts +717 -0
- package/resources/task.d.mts.map +1 -0
- package/resources/task.d.ts +717 -0
- package/resources/task.d.ts.map +1 -0
- package/resources/task.js +108 -0
- package/resources/task.js.map +1 -0
- package/resources/task.mjs +104 -0
- package/resources/task.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +5 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +877 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +22 -0
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +50 -0
- package/src/internal/qs/LICENSE.md +13 -0
- package/src/internal/qs/README.md +3 -0
- package/src/internal/qs/formats.ts +10 -0
- package/src/internal/qs/index.ts +13 -0
- package/src/internal/qs/stringify.ts +385 -0
- package/src/internal/qs/types.ts +71 -0
- package/src/internal/qs/utils.ts +265 -0
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +95 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +127 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +8 -0
- package/src/lib/.keep +4 -0
- package/src/resource.ts +2 -0
- package/src/resources/files.ts +219 -0
- package/src/resources/icp.ts +227 -0
- package/src/resources/index.ts +64 -0
- package/src/resources/run.ts +293 -0
- package/src/resources/sheet/entity.ts +97 -0
- package/src/resources/sheet/index.ts +30 -0
- package/src/resources/sheet/schema.ts +246 -0
- package/src/resources/sheet/sheet.ts +318 -0
- package/src/resources/sheet.ts +3 -0
- package/src/resources/signal.ts +117 -0
- package/src/resources/task.ts +912 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +6 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +2 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
export class Icp extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Create a new Ideal Customer Profile (ICP).
|
|
8
|
+
*
|
|
9
|
+
* ICPs are the foundation of your research workflows. They define WHAT entities to
|
|
10
|
+
* target using business-level descriptions and filters, without specifying
|
|
11
|
+
* technical implementation details.
|
|
12
|
+
*
|
|
13
|
+
* Create an ICP first, then link Sheets to it for entity storage.
|
|
14
|
+
*/
|
|
15
|
+
create(body, options) {
|
|
16
|
+
return this._client.post('/v1/icp', { body, ...options });
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Get a specific ICP by ID.
|
|
20
|
+
*/
|
|
21
|
+
retrieve(icpID, options) {
|
|
22
|
+
return this._client.get(path `/v1/icp/${icpID}`, options);
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Update an existing ICP.
|
|
26
|
+
*
|
|
27
|
+
* Only provided fields will be updated; omitted fields remain unchanged.
|
|
28
|
+
*/
|
|
29
|
+
update(icpID, body, options) {
|
|
30
|
+
return this._client.put(path `/v1/icp/${icpID}`, { body, ...options });
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* List all ICPs for the organization.
|
|
34
|
+
*
|
|
35
|
+
* Results are scoped to your organization. Use the `mode` filter to separate
|
|
36
|
+
* discovery ICPs (for finding new entities) from monitoring ICPs (for tracking
|
|
37
|
+
* existing entities).
|
|
38
|
+
*/
|
|
39
|
+
list(query = {}, options) {
|
|
40
|
+
return this._client.get('/v1/icp', { query, ...options });
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Delete an ICP and all related resources.
|
|
44
|
+
*
|
|
45
|
+
* **Cascade delete**: This permanently removes the ICP along with all associated
|
|
46
|
+
* sheets, entities, schedules, tasks, and signals. This operation cannot be
|
|
47
|
+
* undone.
|
|
48
|
+
*/
|
|
49
|
+
delete(icpID, options) {
|
|
50
|
+
return this._client.delete(path `/v1/icp/${icpID}`, {
|
|
51
|
+
...options,
|
|
52
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Get all active runs for an ICP.
|
|
57
|
+
*
|
|
58
|
+
* Returns runs in non-terminal states (RUNNING, SCHEDULED, PENDING). Useful for
|
|
59
|
+
* checking if workflows are currently processing this ICP before making changes.
|
|
60
|
+
*/
|
|
61
|
+
getActiveRuns(icpID, options) {
|
|
62
|
+
return this._client.get(path `/v1/icp/${icpID}/active_runs`,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M,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,aAAa,CAAC,KAAa,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,KAAK,cAAc,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;CACF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { Files, type CsvProcessingStatus, type FileRetrieveResponse, type FileListResponse, type FileUploadResponse, type FileListParams, type FileUploadParams, } from "./files.mjs";
|
|
2
|
+
export { Icp, type EntityTargetConfig, type IcpResponse, type IcpListResponse, type IcpGetActiveRunsResponse, type IcpCreateParams, type IcpUpdateParams, type IcpListParams, } from "./icp.mjs";
|
|
3
|
+
export { Run, type RunCreateResponse, type RunRetrieveResponse, type RunListResponse, type RunGetQueueResponse, type RunCreateParams, type RunListParams, type RunGetQueueParams, } from "./run.mjs";
|
|
4
|
+
export { SheetResource, type EntityType, type Sheet, type SheetListResponse, type SheetExportCsvResponse, type SheetGetEntitiesResponse, type SheetCreateParams, type SheetUpdateParams, type SheetListParams, type SheetExportCsvParams, type SheetGetEntitiesParams, } from "./sheet/sheet.mjs";
|
|
5
|
+
export { Signal, type SignalResponse, type SignalListResponse, type SignalListParams } from "./signal.mjs";
|
|
6
|
+
export { Task, type IngestTaskConfig, type SearchV2Config, type SearchV3Config, type SignalCsvConfigInput, type SignalSheetConfigInput, type SignalTopicConfigInput, type SignalTypeConfig, type StandardPromptConfig, type TaskCreateResponse, type TaskRetrieveResponse, type TaskListResponse, type TaskExecuteResponse, type TaskCreateParams, type TaskUpdateParams, type TaskListParams, type TaskExecuteParams, } from "./task.mjs";
|
|
7
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,GACtB;OACM,EACL,GAAG,EACH,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB;OACM,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB;OACM,EACL,aAAa,EACb,KAAK,UAAU,EACf,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B;OACM,EAAE,MAAM,EAAE,KAAK,cAAc,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC/E,EACL,IAAI,EACJ,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACvB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { Files, type CsvProcessingStatus, type FileRetrieveResponse, type FileListResponse, type FileUploadResponse, type FileListParams, type FileUploadParams, } from "./files.js";
|
|
2
|
+
export { Icp, type EntityTargetConfig, type IcpResponse, type IcpListResponse, type IcpGetActiveRunsResponse, type IcpCreateParams, type IcpUpdateParams, type IcpListParams, } from "./icp.js";
|
|
3
|
+
export { Run, type RunCreateResponse, type RunRetrieveResponse, type RunListResponse, type RunGetQueueResponse, type RunCreateParams, type RunListParams, type RunGetQueueParams, } from "./run.js";
|
|
4
|
+
export { SheetResource, type EntityType, type Sheet, type SheetListResponse, type SheetExportCsvResponse, type SheetGetEntitiesResponse, type SheetCreateParams, type SheetUpdateParams, type SheetListParams, type SheetExportCsvParams, type SheetGetEntitiesParams, } from "./sheet/sheet.js";
|
|
5
|
+
export { Signal, type SignalResponse, type SignalListResponse, type SignalListParams } from "./signal.js";
|
|
6
|
+
export { Task, type IngestTaskConfig, type SearchV2Config, type SearchV3Config, type SignalCsvConfigInput, type SignalSheetConfigInput, type SignalTopicConfigInput, type SignalTypeConfig, type StandardPromptConfig, type TaskCreateResponse, type TaskRetrieveResponse, type TaskListResponse, type TaskExecuteResponse, type TaskCreateParams, type TaskUpdateParams, type TaskListParams, type TaskExecuteParams, } from "./task.js";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,GACtB;OACM,EACL,GAAG,EACH,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB;OACM,EACL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,iBAAiB,GACvB;OACM,EACL,aAAa,EACb,KAAK,UAAU,EACf,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B;OACM,EAAE,MAAM,EAAE,KAAK,cAAc,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC/E,EACL,IAAI,EACJ,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACvB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Task = exports.Signal = exports.SheetResource = exports.Run = exports.Icp = exports.Files = void 0;
|
|
5
|
+
var files_1 = require("./files.js");
|
|
6
|
+
Object.defineProperty(exports, "Files", { enumerable: true, get: function () { return files_1.Files; } });
|
|
7
|
+
var icp_1 = require("./icp.js");
|
|
8
|
+
Object.defineProperty(exports, "Icp", { enumerable: true, get: function () { return icp_1.Icp; } });
|
|
9
|
+
var run_1 = require("./run.js");
|
|
10
|
+
Object.defineProperty(exports, "Run", { enumerable: true, get: function () { return run_1.Run; } });
|
|
11
|
+
var sheet_1 = require("./sheet/sheet.js");
|
|
12
|
+
Object.defineProperty(exports, "SheetResource", { enumerable: true, get: function () { return sheet_1.SheetResource; } });
|
|
13
|
+
var signal_1 = require("./signal.js");
|
|
14
|
+
Object.defineProperty(exports, "Signal", { enumerable: true, get: function () { return signal_1.Signal; } });
|
|
15
|
+
var task_1 = require("./task.js");
|
|
16
|
+
Object.defineProperty(exports, "Task", { enumerable: true, get: function () { return task_1.Task; } });
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAQiB;AAPf,8FAAA,KAAK,OAAA;AAQP,gCASe;AARb,0FAAA,GAAG,OAAA;AASL,gCASe;AARb,0FAAA,GAAG,OAAA;AASL,0CAYuB;AAXrB,sGAAA,aAAa,OAAA;AAYf,sCAAuG;AAA9F,gGAAA,MAAM,OAAA;AACf,kCAkBgB;AAjBd,4FAAA,IAAI,OAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { Files, } from "./files.mjs";
|
|
3
|
+
export { Icp, } from "./icp.mjs";
|
|
4
|
+
export { Run, } from "./run.mjs";
|
|
5
|
+
export { SheetResource, } from "./sheet/sheet.mjs";
|
|
6
|
+
export { Signal } from "./signal.mjs";
|
|
7
|
+
export { Task, } from "./task.mjs";
|
|
8
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,KAAK,GAON;OACM,EACL,GAAG,GAQJ;OACM,EACL,GAAG,GAQJ;OACM,EACL,aAAa,GAWd;OACM,EAAE,MAAM,EAAuE;OAC/E,EACL,IAAI,GAiBL"}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
export declare class Run extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Execute an agent by creating a new run.
|
|
7
|
+
*
|
|
8
|
+
* Creates a new workflow execution asynchronously. Prefer using POST
|
|
9
|
+
* /v1/task/{task_id}/execute for task-based workflows.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const run = await client.run.create({
|
|
14
|
+
* agent_id: '5eb7cf5a86d9755df3a6c593',
|
|
15
|
+
* parameters: { foo: 'bar' },
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
create(body: RunCreateParams, options?: RequestOptions): APIPromise<RunCreateResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Get a specific run by ID.
|
|
22
|
+
*
|
|
23
|
+
* Automatically refreshes status from Prefect if the run is still active.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const run = await client.run.retrieve(
|
|
28
|
+
* '5eb7cf5a86d9755df3a6c593',
|
|
29
|
+
* );
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
retrieve(runID: string, options?: RequestOptions): APIPromise<RunRetrieveResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* List all runs for the organization.
|
|
35
|
+
*
|
|
36
|
+
* Runs are workflow executions created from tasks. Filter by status to find active
|
|
37
|
+
* runs (RUNNING, PENDING) or completed ones (COMPLETED, FAILED).
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const runs = await client.run.list();
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
list(query?: RunListParams | null | undefined, options?: RequestOptions): APIPromise<RunListResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* Delete a run.
|
|
47
|
+
*
|
|
48
|
+
* Permanently deletes the run record. This operation cannot be undone.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* await client.run.delete('5eb7cf5a86d9755df3a6c593');
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
delete(runID: string, options?: RequestOptions): APIPromise<void>;
|
|
56
|
+
/**
|
|
57
|
+
* Cancel a running workflow.
|
|
58
|
+
*
|
|
59
|
+
* Cancels both the Prefect flow and updates the database record. Only effective
|
|
60
|
+
* for non-terminal runs.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```ts
|
|
64
|
+
* await client.run.cancel('5eb7cf5a86d9755df3a6c593');
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
cancel(runID: string, options?: RequestOptions): APIPromise<void>;
|
|
68
|
+
/**
|
|
69
|
+
* Get the queue status for a run.
|
|
70
|
+
*
|
|
71
|
+
* Shows entities being processed by the workflow. States: queued (waiting),
|
|
72
|
+
* processing (active), completed (done), discarded (skipped). Set
|
|
73
|
+
* include_history=true to see all processed entities.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```ts
|
|
77
|
+
* const response = await client.run.getQueue(
|
|
78
|
+
* '5eb7cf5a86d9755df3a6c593',
|
|
79
|
+
* );
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
getQueue(runID: string, query?: RunGetQueueParams | null | undefined, options?: RequestOptions): APIPromise<RunGetQueueResponse>;
|
|
83
|
+
}
|
|
84
|
+
export type RunCreateResponse = {
|
|
85
|
+
[key: string]: unknown;
|
|
86
|
+
};
|
|
87
|
+
export type RunRetrieveResponse = {
|
|
88
|
+
[key: string]: unknown;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Response schema for paginated list of agent runs.
|
|
92
|
+
*
|
|
93
|
+
* Follows the established pattern from other list endpoints:
|
|
94
|
+
*
|
|
95
|
+
* - SheetListResponse (src/api/schema/sheet.py)
|
|
96
|
+
* - ICPListResponse (src/api/schema/icp.py)
|
|
97
|
+
*
|
|
98
|
+
* Attributes: runs: List of AgentRun objects for the current page total: Total
|
|
99
|
+
* number of runs matching the filter criteria page: Current page number (1-based)
|
|
100
|
+
* page_size: Number of items per page
|
|
101
|
+
*/
|
|
102
|
+
export interface RunListResponse {
|
|
103
|
+
page: number;
|
|
104
|
+
page_size: number;
|
|
105
|
+
runs: Array<{
|
|
106
|
+
[key: string]: unknown;
|
|
107
|
+
}>;
|
|
108
|
+
total: number;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Response schema for run queue status with optional history.
|
|
112
|
+
*
|
|
113
|
+
* Provides a read-only view into the current state of a run's entity queue,
|
|
114
|
+
* including queued entities, processing history, and statistics.
|
|
115
|
+
*
|
|
116
|
+
* Attributes: entities: List of entities (current queue or full history based on
|
|
117
|
+
* request) stats: Queue statistics or state counts total: Total number of entities
|
|
118
|
+
* returned offset: Offset used for pagination (0-indexed) limit: Maximum number of
|
|
119
|
+
* entities returned state_counts: Optional breakdown of entities by state
|
|
120
|
+
* include_history: Whether response includes historical data
|
|
121
|
+
*/
|
|
122
|
+
export interface RunGetQueueResponse {
|
|
123
|
+
entities: Array<{
|
|
124
|
+
[key: string]: unknown;
|
|
125
|
+
}>;
|
|
126
|
+
limit: number;
|
|
127
|
+
offset: number;
|
|
128
|
+
stats: {
|
|
129
|
+
[key: string]: unknown;
|
|
130
|
+
};
|
|
131
|
+
total: number;
|
|
132
|
+
include_history?: boolean;
|
|
133
|
+
state_counts?: {
|
|
134
|
+
[key: string]: number;
|
|
135
|
+
} | null;
|
|
136
|
+
}
|
|
137
|
+
export interface RunCreateParams {
|
|
138
|
+
agent_id: string;
|
|
139
|
+
parameters: {
|
|
140
|
+
[key: string]: unknown;
|
|
141
|
+
};
|
|
142
|
+
icp_id?: string | null;
|
|
143
|
+
}
|
|
144
|
+
export interface RunListParams {
|
|
145
|
+
/**
|
|
146
|
+
* Filter by agent ID (legacy)
|
|
147
|
+
*/
|
|
148
|
+
agent_id?: string | null;
|
|
149
|
+
/**
|
|
150
|
+
* Filter by agent type
|
|
151
|
+
*/
|
|
152
|
+
agent_type?: string | null;
|
|
153
|
+
/**
|
|
154
|
+
* Filter runs created after this date (ISO 8601 format: 2024-01-15T10:30:00Z)
|
|
155
|
+
*/
|
|
156
|
+
created_after?: string | null;
|
|
157
|
+
/**
|
|
158
|
+
* Filter runs created before this date (ISO 8601 format)
|
|
159
|
+
*/
|
|
160
|
+
created_before?: string | null;
|
|
161
|
+
/**
|
|
162
|
+
* Filter by ICP ID
|
|
163
|
+
*/
|
|
164
|
+
icp_id?: string | null;
|
|
165
|
+
/**
|
|
166
|
+
* Sort order: -1 for descending, 1 for ascending
|
|
167
|
+
*/
|
|
168
|
+
order?: number | null;
|
|
169
|
+
/**
|
|
170
|
+
* Page number (1-based)
|
|
171
|
+
*/
|
|
172
|
+
page?: number;
|
|
173
|
+
/**
|
|
174
|
+
* Items per page (max 100)
|
|
175
|
+
*/
|
|
176
|
+
page_size?: number;
|
|
177
|
+
/**
|
|
178
|
+
* Field to sort by (e.g., 'created_at', 'updated_at', 'agent_type')
|
|
179
|
+
*/
|
|
180
|
+
sort_by?: string | null;
|
|
181
|
+
/**
|
|
182
|
+
* Filter by run status (SCHEDULED, PENDING, RUNNING, COMPLETED, FAILED, CANCELED,
|
|
183
|
+
* CRASHED, PAUSED)
|
|
184
|
+
*/
|
|
185
|
+
status?: 'SCHEDULED' | 'PENDING' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'CANCELED' | 'CRASHED' | 'PAUSED' | null;
|
|
186
|
+
/**
|
|
187
|
+
* Filter by task ID
|
|
188
|
+
*/
|
|
189
|
+
task_id?: string | null;
|
|
190
|
+
/**
|
|
191
|
+
* Filter by task type (signal, search, profile, ingest)
|
|
192
|
+
*/
|
|
193
|
+
task_type?: string | null;
|
|
194
|
+
/**
|
|
195
|
+
* Filter runs updated after this date (ISO 8601 format)
|
|
196
|
+
*/
|
|
197
|
+
updated_after?: string | null;
|
|
198
|
+
/**
|
|
199
|
+
* Filter runs updated before this date (ISO 8601 format)
|
|
200
|
+
*/
|
|
201
|
+
updated_before?: string | null;
|
|
202
|
+
}
|
|
203
|
+
export interface RunGetQueueParams {
|
|
204
|
+
/**
|
|
205
|
+
* Include processing history from all states
|
|
206
|
+
*/
|
|
207
|
+
include_history?: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* Maximum number of entities to return
|
|
210
|
+
*/
|
|
211
|
+
limit?: number;
|
|
212
|
+
/**
|
|
213
|
+
* Starting position in queue (0-indexed)
|
|
214
|
+
*/
|
|
215
|
+
offset?: number;
|
|
216
|
+
/**
|
|
217
|
+
* Filter by state: queued, processing, completed, discarded
|
|
218
|
+
*/
|
|
219
|
+
state?: string | null;
|
|
220
|
+
}
|
|
221
|
+
export declare namespace Run {
|
|
222
|
+
export { type RunCreateResponse as RunCreateResponse, type RunRetrieveResponse as RunRetrieveResponse, type RunListResponse as RunListResponse, type RunGetQueueResponse as RunGetQueueResponse, type RunCreateParams as RunCreateParams, type RunListParams as RunListParams, type RunGetQueueParams as RunGetQueueParams, };
|
|
223
|
+
}
|
|
224
|
+
//# sourceMappingURL=run.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run.d.mts","sourceRoot":"","sources":["../src/resources/run.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAItF;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIlF;;;;;;;;;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,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -0,0 +1,224 @@
|
|
|
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 Run extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Execute an agent by creating a new run.
|
|
7
|
+
*
|
|
8
|
+
* Creates a new workflow execution asynchronously. Prefer using POST
|
|
9
|
+
* /v1/task/{task_id}/execute for task-based workflows.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const run = await client.run.create({
|
|
14
|
+
* agent_id: '5eb7cf5a86d9755df3a6c593',
|
|
15
|
+
* parameters: { foo: 'bar' },
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
create(body: RunCreateParams, options?: RequestOptions): APIPromise<RunCreateResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Get a specific run by ID.
|
|
22
|
+
*
|
|
23
|
+
* Automatically refreshes status from Prefect if the run is still active.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const run = await client.run.retrieve(
|
|
28
|
+
* '5eb7cf5a86d9755df3a6c593',
|
|
29
|
+
* );
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
retrieve(runID: string, options?: RequestOptions): APIPromise<RunRetrieveResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* List all runs for the organization.
|
|
35
|
+
*
|
|
36
|
+
* Runs are workflow executions created from tasks. Filter by status to find active
|
|
37
|
+
* runs (RUNNING, PENDING) or completed ones (COMPLETED, FAILED).
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const runs = await client.run.list();
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
list(query?: RunListParams | null | undefined, options?: RequestOptions): APIPromise<RunListResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* Delete a run.
|
|
47
|
+
*
|
|
48
|
+
* Permanently deletes the run record. This operation cannot be undone.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* await client.run.delete('5eb7cf5a86d9755df3a6c593');
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
delete(runID: string, options?: RequestOptions): APIPromise<void>;
|
|
56
|
+
/**
|
|
57
|
+
* Cancel a running workflow.
|
|
58
|
+
*
|
|
59
|
+
* Cancels both the Prefect flow and updates the database record. Only effective
|
|
60
|
+
* for non-terminal runs.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```ts
|
|
64
|
+
* await client.run.cancel('5eb7cf5a86d9755df3a6c593');
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
cancel(runID: string, options?: RequestOptions): APIPromise<void>;
|
|
68
|
+
/**
|
|
69
|
+
* Get the queue status for a run.
|
|
70
|
+
*
|
|
71
|
+
* Shows entities being processed by the workflow. States: queued (waiting),
|
|
72
|
+
* processing (active), completed (done), discarded (skipped). Set
|
|
73
|
+
* include_history=true to see all processed entities.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```ts
|
|
77
|
+
* const response = await client.run.getQueue(
|
|
78
|
+
* '5eb7cf5a86d9755df3a6c593',
|
|
79
|
+
* );
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
getQueue(runID: string, query?: RunGetQueueParams | null | undefined, options?: RequestOptions): APIPromise<RunGetQueueResponse>;
|
|
83
|
+
}
|
|
84
|
+
export type RunCreateResponse = {
|
|
85
|
+
[key: string]: unknown;
|
|
86
|
+
};
|
|
87
|
+
export type RunRetrieveResponse = {
|
|
88
|
+
[key: string]: unknown;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Response schema for paginated list of agent runs.
|
|
92
|
+
*
|
|
93
|
+
* Follows the established pattern from other list endpoints:
|
|
94
|
+
*
|
|
95
|
+
* - SheetListResponse (src/api/schema/sheet.py)
|
|
96
|
+
* - ICPListResponse (src/api/schema/icp.py)
|
|
97
|
+
*
|
|
98
|
+
* Attributes: runs: List of AgentRun objects for the current page total: Total
|
|
99
|
+
* number of runs matching the filter criteria page: Current page number (1-based)
|
|
100
|
+
* page_size: Number of items per page
|
|
101
|
+
*/
|
|
102
|
+
export interface RunListResponse {
|
|
103
|
+
page: number;
|
|
104
|
+
page_size: number;
|
|
105
|
+
runs: Array<{
|
|
106
|
+
[key: string]: unknown;
|
|
107
|
+
}>;
|
|
108
|
+
total: number;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Response schema for run queue status with optional history.
|
|
112
|
+
*
|
|
113
|
+
* Provides a read-only view into the current state of a run's entity queue,
|
|
114
|
+
* including queued entities, processing history, and statistics.
|
|
115
|
+
*
|
|
116
|
+
* Attributes: entities: List of entities (current queue or full history based on
|
|
117
|
+
* request) stats: Queue statistics or state counts total: Total number of entities
|
|
118
|
+
* returned offset: Offset used for pagination (0-indexed) limit: Maximum number of
|
|
119
|
+
* entities returned state_counts: Optional breakdown of entities by state
|
|
120
|
+
* include_history: Whether response includes historical data
|
|
121
|
+
*/
|
|
122
|
+
export interface RunGetQueueResponse {
|
|
123
|
+
entities: Array<{
|
|
124
|
+
[key: string]: unknown;
|
|
125
|
+
}>;
|
|
126
|
+
limit: number;
|
|
127
|
+
offset: number;
|
|
128
|
+
stats: {
|
|
129
|
+
[key: string]: unknown;
|
|
130
|
+
};
|
|
131
|
+
total: number;
|
|
132
|
+
include_history?: boolean;
|
|
133
|
+
state_counts?: {
|
|
134
|
+
[key: string]: number;
|
|
135
|
+
} | null;
|
|
136
|
+
}
|
|
137
|
+
export interface RunCreateParams {
|
|
138
|
+
agent_id: string;
|
|
139
|
+
parameters: {
|
|
140
|
+
[key: string]: unknown;
|
|
141
|
+
};
|
|
142
|
+
icp_id?: string | null;
|
|
143
|
+
}
|
|
144
|
+
export interface RunListParams {
|
|
145
|
+
/**
|
|
146
|
+
* Filter by agent ID (legacy)
|
|
147
|
+
*/
|
|
148
|
+
agent_id?: string | null;
|
|
149
|
+
/**
|
|
150
|
+
* Filter by agent type
|
|
151
|
+
*/
|
|
152
|
+
agent_type?: string | null;
|
|
153
|
+
/**
|
|
154
|
+
* Filter runs created after this date (ISO 8601 format: 2024-01-15T10:30:00Z)
|
|
155
|
+
*/
|
|
156
|
+
created_after?: string | null;
|
|
157
|
+
/**
|
|
158
|
+
* Filter runs created before this date (ISO 8601 format)
|
|
159
|
+
*/
|
|
160
|
+
created_before?: string | null;
|
|
161
|
+
/**
|
|
162
|
+
* Filter by ICP ID
|
|
163
|
+
*/
|
|
164
|
+
icp_id?: string | null;
|
|
165
|
+
/**
|
|
166
|
+
* Sort order: -1 for descending, 1 for ascending
|
|
167
|
+
*/
|
|
168
|
+
order?: number | null;
|
|
169
|
+
/**
|
|
170
|
+
* Page number (1-based)
|
|
171
|
+
*/
|
|
172
|
+
page?: number;
|
|
173
|
+
/**
|
|
174
|
+
* Items per page (max 100)
|
|
175
|
+
*/
|
|
176
|
+
page_size?: number;
|
|
177
|
+
/**
|
|
178
|
+
* Field to sort by (e.g., 'created_at', 'updated_at', 'agent_type')
|
|
179
|
+
*/
|
|
180
|
+
sort_by?: string | null;
|
|
181
|
+
/**
|
|
182
|
+
* Filter by run status (SCHEDULED, PENDING, RUNNING, COMPLETED, FAILED, CANCELED,
|
|
183
|
+
* CRASHED, PAUSED)
|
|
184
|
+
*/
|
|
185
|
+
status?: 'SCHEDULED' | 'PENDING' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'CANCELED' | 'CRASHED' | 'PAUSED' | null;
|
|
186
|
+
/**
|
|
187
|
+
* Filter by task ID
|
|
188
|
+
*/
|
|
189
|
+
task_id?: string | null;
|
|
190
|
+
/**
|
|
191
|
+
* Filter by task type (signal, search, profile, ingest)
|
|
192
|
+
*/
|
|
193
|
+
task_type?: string | null;
|
|
194
|
+
/**
|
|
195
|
+
* Filter runs updated after this date (ISO 8601 format)
|
|
196
|
+
*/
|
|
197
|
+
updated_after?: string | null;
|
|
198
|
+
/**
|
|
199
|
+
* Filter runs updated before this date (ISO 8601 format)
|
|
200
|
+
*/
|
|
201
|
+
updated_before?: string | null;
|
|
202
|
+
}
|
|
203
|
+
export interface RunGetQueueParams {
|
|
204
|
+
/**
|
|
205
|
+
* Include processing history from all states
|
|
206
|
+
*/
|
|
207
|
+
include_history?: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* Maximum number of entities to return
|
|
210
|
+
*/
|
|
211
|
+
limit?: number;
|
|
212
|
+
/**
|
|
213
|
+
* Starting position in queue (0-indexed)
|
|
214
|
+
*/
|
|
215
|
+
offset?: number;
|
|
216
|
+
/**
|
|
217
|
+
* Filter by state: queued, processing, completed, discarded
|
|
218
|
+
*/
|
|
219
|
+
state?: string | null;
|
|
220
|
+
}
|
|
221
|
+
export declare namespace Run {
|
|
222
|
+
export { type RunCreateResponse as RunCreateResponse, type RunRetrieveResponse as RunRetrieveResponse, type RunListResponse as RunListResponse, type RunGetQueueResponse as RunGetQueueResponse, type RunCreateParams as RunCreateParams, type RunListParams as RunListParams, type RunGetQueueParams as RunGetQueueParams, };
|
|
223
|
+
}
|
|
224
|
+
//# sourceMappingURL=run.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../src/resources/run.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAItF;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIlF;;;;;;;;;;OAUG;IACH,IAAI,CAAC,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAIzG;;;;;;;;;OASG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOjE;;;;;;;;;;OAUG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOjE;;;;;;;;;;;;;OAaG;IACH,QAAQ,CACN,KAAK,EAAE,MAAM,EACb,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;CAGnC;AAED,MAAM,MAAM,iBAAi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