@composio/client 0.1.0-alpha.15 → 0.1.0-alpha.16
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 +29 -0
- package/README.md +12 -24
- package/client.d.mts +5 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -5
- package/client.d.ts.map +1 -1
- package/client.js +3 -3
- package/client.js.map +1 -1
- package/client.mjs +3 -3
- package/client.mjs.map +1 -1
- package/internal/detect-platform.js +3 -3
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +3 -3
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/shim-types.d.mts +11 -22
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +11 -22
- 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 +2 -2
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +2 -2
- package/internal/shims.d.ts.map +1 -1
- package/package.json +1 -4
- package/resources/auth-configs.d.mts +3 -3
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +3 -3
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/connected-accounts.d.mts +5262 -52
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +5262 -52
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/mcp/index.d.mts +1 -1
- package/resources/mcp/index.d.mts.map +1 -1
- package/resources/mcp/index.d.ts +1 -1
- package/resources/mcp/index.d.ts.map +1 -1
- package/resources/mcp/index.js.map +1 -1
- package/resources/mcp/index.mjs.map +1 -1
- package/resources/mcp/mcp.d.mts +99 -1
- package/resources/mcp/mcp.d.mts.map +1 -1
- package/resources/mcp/mcp.d.ts +99 -1
- package/resources/mcp/mcp.d.ts.map +1 -1
- package/resources/mcp/mcp.js +22 -0
- package/resources/mcp/mcp.js.map +1 -1
- package/resources/mcp/mcp.mjs +22 -0
- package/resources/mcp/mcp.mjs.map +1 -1
- package/resources/org/project/api-keys.d.mts +0 -15
- package/resources/org/project/api-keys.d.mts.map +1 -1
- package/resources/org/project/api-keys.d.ts +0 -15
- package/resources/org/project/api-keys.d.ts.map +1 -1
- package/resources/tools.d.mts +4 -5
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +4 -5
- package/resources/tools.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.mts +9 -46
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +9 -46
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/resources/v3/admin.d.mts +100 -0
- package/resources/v3/admin.d.mts.map +1 -0
- package/resources/v3/admin.d.ts +100 -0
- package/resources/v3/admin.d.ts.map +1 -0
- package/resources/v3/admin.js +54 -0
- package/resources/v3/admin.js.map +1 -0
- package/resources/v3/admin.mjs +50 -0
- package/resources/v3/admin.mjs.map +1 -0
- package/resources/v3/auth/auth.d.mts +10 -0
- package/resources/v3/auth/auth.d.mts.map +1 -0
- package/resources/v3/auth/auth.d.ts +10 -0
- package/resources/v3/auth/auth.d.ts.map +1 -0
- package/resources/{auth → v3/auth}/auth.js +2 -2
- package/resources/v3/auth/auth.js.map +1 -0
- package/resources/{auth → v3/auth}/auth.mjs +1 -1
- package/resources/v3/auth/auth.mjs.map +1 -0
- package/resources/v3/auth/index.d.mts +3 -0
- package/resources/v3/auth/index.d.mts.map +1 -0
- package/resources/v3/auth/index.d.ts +3 -0
- package/resources/v3/auth/index.d.ts.map +1 -0
- package/resources/v3/auth/index.js.map +1 -0
- package/resources/v3/auth/index.mjs.map +1 -0
- package/resources/{auth → v3/auth}/session.d.mts +16 -10
- package/resources/v3/auth/session.d.mts.map +1 -0
- package/resources/{auth → v3/auth}/session.d.ts +16 -10
- package/resources/v3/auth/session.d.ts.map +1 -0
- package/resources/{auth → v3/auth}/session.js +8 -2
- package/resources/v3/auth/session.js.map +1 -0
- package/resources/{auth → v3/auth}/session.mjs +8 -2
- package/resources/v3/auth/session.mjs.map +1 -0
- package/resources/{auth.d.mts.map → v3/auth.d.mts.map} +1 -1
- package/resources/v3/auth.d.ts.map +1 -0
- package/resources/{auth.js → v3/auth.js} +1 -1
- package/resources/v3/auth.js.map +1 -0
- package/resources/v3/auth.mjs.map +1 -0
- package/resources/v3/cli.d.mts +167 -0
- package/resources/v3/cli.d.mts.map +1 -0
- package/resources/v3/cli.d.ts +167 -0
- package/resources/v3/cli.d.ts.map +1 -0
- package/resources/v3/cli.js +55 -0
- package/resources/v3/cli.js.map +1 -0
- package/resources/v3/cli.mjs +51 -0
- package/resources/v3/cli.mjs.map +1 -0
- package/resources/v3/index.d.mts +6 -0
- package/resources/v3/index.d.mts.map +1 -0
- package/resources/v3/index.d.ts +6 -0
- package/resources/v3/index.d.ts.map +1 -0
- package/resources/v3/index.js +15 -0
- package/resources/v3/index.js.map +1 -0
- package/resources/v3/index.mjs +7 -0
- package/resources/v3/index.mjs.map +1 -0
- package/resources/v3/internal/action-execution.d.mts +153 -0
- package/resources/v3/internal/action-execution.d.mts.map +1 -0
- package/resources/v3/internal/action-execution.d.ts +153 -0
- package/resources/v3/internal/action-execution.d.ts.map +1 -0
- package/resources/v3/internal/action-execution.js +38 -0
- package/resources/v3/internal/action-execution.js.map +1 -0
- package/resources/v3/internal/action-execution.mjs +34 -0
- package/resources/v3/internal/action-execution.mjs.map +1 -0
- package/resources/v3/internal/index.d.mts +4 -0
- package/resources/v3/internal/index.d.mts.map +1 -0
- package/resources/v3/internal/index.d.ts +4 -0
- package/resources/v3/internal/index.d.ts.map +1 -0
- package/resources/v3/internal/index.js +11 -0
- package/resources/v3/internal/index.js.map +1 -0
- package/resources/v3/internal/index.mjs +5 -0
- package/resources/v3/internal/index.mjs.map +1 -0
- package/resources/v3/internal/internal.d.mts +14 -0
- package/resources/v3/internal/internal.d.mts.map +1 -0
- package/resources/v3/internal/internal.d.ts +14 -0
- package/resources/v3/internal/internal.d.ts.map +1 -0
- package/resources/v3/internal/internal.js +21 -0
- package/resources/v3/internal/internal.js.map +1 -0
- package/resources/v3/internal/internal.mjs +16 -0
- package/resources/v3/internal/internal.mjs.map +1 -0
- package/resources/v3/internal/trigger.d.mts +84 -0
- package/resources/v3/internal/trigger.d.mts.map +1 -0
- package/resources/v3/internal/trigger.d.ts +84 -0
- package/resources/v3/internal/trigger.d.ts.map +1 -0
- package/resources/v3/internal/trigger.js +23 -0
- package/resources/v3/internal/trigger.js.map +1 -0
- package/resources/v3/internal/trigger.mjs +19 -0
- package/resources/v3/internal/trigger.mjs.map +1 -0
- package/resources/v3/internal.d.mts +2 -0
- package/resources/v3/internal.d.mts.map +1 -0
- package/resources/v3/internal.d.ts +2 -0
- package/resources/v3/internal.d.ts.map +1 -0
- package/resources/v3/internal.js +6 -0
- package/resources/v3/internal.js.map +1 -0
- package/resources/v3/internal.mjs +3 -0
- package/resources/v3/internal.mjs.map +1 -0
- package/resources/v3/v3.d.mts +22 -0
- package/resources/v3/v3.d.mts.map +1 -0
- package/resources/v3/v3.d.ts +22 -0
- package/resources/v3/v3.d.ts.map +1 -0
- package/resources/v3/v3.js +29 -0
- package/resources/v3/v3.js.map +1 -0
- package/resources/v3/v3.mjs +24 -0
- package/resources/v3/v3.mjs.map +1 -0
- package/resources/v3.d.mts +2 -0
- package/resources/v3.d.mts.map +1 -0
- package/resources/v3.d.ts +2 -0
- package/resources/v3.d.ts.map +1 -0
- package/resources/v3.js +6 -0
- package/resources/v3.js.map +1 -0
- package/resources/v3.mjs +3 -0
- package/resources/v3.mjs.map +1 -0
- package/src/client.ts +9 -5
- package/src/internal/detect-platform.ts +3 -3
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +2 -2
- package/src/resources/auth-configs.ts +0 -3
- package/src/resources/connected-accounts.ts +10261 -298
- package/src/resources/index.ts +3 -1
- package/src/resources/mcp/index.ts +2 -0
- package/src/resources/mcp/mcp.ts +128 -0
- package/src/resources/org/project/api-keys.ts +0 -18
- package/src/resources/tools.ts +5 -6
- package/src/resources/trigger-instances/trigger-instances.ts +9 -49
- package/src/resources/v3/admin.ts +141 -0
- package/src/resources/{auth → v3/auth}/auth.ts +3 -3
- package/src/resources/{auth → v3/auth}/index.ts +1 -1
- package/src/resources/{auth → v3/auth}/session.ts +16 -10
- package/src/resources/v3/cli.ts +209 -0
- package/src/resources/v3/index.ts +20 -0
- package/src/resources/v3/internal/action-execution.ts +236 -0
- package/src/resources/v3/internal/index.ts +10 -0
- package/src/resources/v3/internal/internal.ts +35 -0
- package/src/resources/v3/internal/trigger.ts +122 -0
- package/src/resources/v3/internal.ts +3 -0
- package/src/resources/v3/v3.ts +59 -0
- package/src/resources/v3.ts +3 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/auth/auth.d.mts +0 -10
- package/resources/auth/auth.d.mts.map +0 -1
- package/resources/auth/auth.d.ts +0 -10
- package/resources/auth/auth.d.ts.map +0 -1
- package/resources/auth/auth.js.map +0 -1
- package/resources/auth/auth.mjs.map +0 -1
- package/resources/auth/index.d.mts +0 -3
- package/resources/auth/index.d.mts.map +0 -1
- package/resources/auth/index.d.ts +0 -3
- package/resources/auth/index.d.ts.map +0 -1
- package/resources/auth/index.js.map +0 -1
- package/resources/auth/index.mjs.map +0 -1
- package/resources/auth/session.d.mts.map +0 -1
- package/resources/auth/session.d.ts.map +0 -1
- package/resources/auth/session.js.map +0 -1
- package/resources/auth/session.mjs.map +0 -1
- package/resources/auth.d.ts.map +0 -1
- package/resources/auth.js.map +0 -1
- package/resources/auth.mjs.map +0 -1
- package/src/internal/shim-types.d.ts +0 -28
- /package/resources/{auth → v3/auth}/index.js +0 -0
- /package/resources/{auth → v3/auth}/index.mjs +0 -0
- /package/resources/{auth.d.mts → v3/auth.d.mts} +0 -0
- /package/resources/{auth.d.ts → v3/auth.d.ts} +0 -0
- /package/resources/{auth.mjs → v3/auth.mjs} +0 -0
- /package/src/resources/{auth.ts → v3/auth.ts} +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
export class Cli extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Generates a new CLI session with a random 6-character code. This endpoint is the
|
|
6
|
+
* first step in the CLI authentication flow, creating a session that can later be
|
|
7
|
+
* linked to a user account. The generated code is displayed to the user in the CLI
|
|
8
|
+
* and should be entered in the web interface to complete authentication.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const response = await client.v3.cli.createSession();
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
createSession(options) {
|
|
16
|
+
return this._client.post('/api/v3/cli/create-session', options);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Links a pending CLI session to the currently authenticated user. This is the
|
|
20
|
+
* final step in the CLI authentication flow, where the user enters the code in the
|
|
21
|
+
* web interface and their account is associated with the CLI session, allowing the
|
|
22
|
+
* CLI to act on their behalf.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* const response = await client.v3.cli.linkSession({
|
|
27
|
+
* id: 'ABC123',
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
linkSession(body, options) {
|
|
32
|
+
return this._client.put('/api/v3/cli/link-session', { body, ...options });
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Retrieves the current state of a CLI session using either the session ID (UUID)
|
|
36
|
+
* or the 6-character code. This endpoint is used by both the CLI client to check
|
|
37
|
+
* if the session has been linked, and by the web interface to display session
|
|
38
|
+
* details before linking.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const response = await client.v3.cli.retrieveSession({
|
|
43
|
+
* id: 'ABC123',
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
retrieveSession(query, options) {
|
|
48
|
+
return this._client.get('/api/v3/cli/get-session', { query, ...options });
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=cli.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.mjs","sourceRoot":"","sources":["../../src/resources/v3/cli.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;OAUG;IACH,aAAa,CAAC,OAAwB;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,WAAW,CAAC,IAA0B,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,eAAe,CACb,KAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;CACF"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Admin, type AdminListConnectionsResponse, type AdminRefreshAuthTokensResponse, type AdminListConnectionsParams, type AdminRefreshAuthTokensParams, } from "./admin.mjs";
|
|
2
|
+
export { Auth } from "./auth/index.mjs";
|
|
3
|
+
export { Cli, type CliCreateSessionResponse, type CliLinkSessionResponse, type CliRetrieveSessionResponse, type CliLinkSessionParams, type CliRetrieveSessionParams, } from "./cli.mjs";
|
|
4
|
+
export { Internal } from "./internal/index.mjs";
|
|
5
|
+
export { V3 } from "./v3.mjs";
|
|
6
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v3/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,GAClC;OACM,EAAE,IAAI,EAAE;OACR,EACL,GAAG,EACH,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,GAC9B;OACM,EAAE,QAAQ,EAAE;OACZ,EAAE,EAAE,EAAE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Admin, type AdminListConnectionsResponse, type AdminRefreshAuthTokensResponse, type AdminListConnectionsParams, type AdminRefreshAuthTokensParams, } from "./admin.js";
|
|
2
|
+
export { Auth } from "./auth/index.js";
|
|
3
|
+
export { Cli, type CliCreateSessionResponse, type CliLinkSessionResponse, type CliRetrieveSessionResponse, type CliLinkSessionParams, type CliRetrieveSessionParams, } from "./cli.js";
|
|
4
|
+
export { Internal } from "./internal/index.js";
|
|
5
|
+
export { V3 } from "./v3.js";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/v3/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,GAClC;OACM,EAAE,IAAI,EAAE;OACR,EACL,GAAG,EACH,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,GAC9B;OACM,EAAE,QAAQ,EAAE;OACZ,EAAE,EAAE,EAAE"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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.V3 = exports.Internal = exports.Cli = exports.Auth = exports.Admin = void 0;
|
|
5
|
+
var admin_1 = require("./admin.js");
|
|
6
|
+
Object.defineProperty(exports, "Admin", { enumerable: true, get: function () { return admin_1.Admin; } });
|
|
7
|
+
var index_1 = require("./auth/index.js");
|
|
8
|
+
Object.defineProperty(exports, "Auth", { enumerable: true, get: function () { return index_1.Auth; } });
|
|
9
|
+
var cli_1 = require("./cli.js");
|
|
10
|
+
Object.defineProperty(exports, "Cli", { enumerable: true, get: function () { return cli_1.Cli; } });
|
|
11
|
+
var index_2 = require("./internal/index.js");
|
|
12
|
+
Object.defineProperty(exports, "Internal", { enumerable: true, get: function () { return index_2.Internal; } });
|
|
13
|
+
var v3_1 = require("./v3.js");
|
|
14
|
+
Object.defineProperty(exports, "V3", { enumerable: true, get: function () { return v3_1.V3; } });
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v3/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,yCAAoC;AAA3B,6FAAA,IAAI,OAAA;AACb,gCAOe;AANb,0FAAA,GAAG,OAAA;AAOL,6CAA4C;AAAnC,iGAAA,QAAQ,OAAA;AACjB,8BAA0B;AAAjB,wFAAA,EAAE,OAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { Admin, } from "./admin.mjs";
|
|
3
|
+
export { Auth } from "./auth/index.mjs";
|
|
4
|
+
export { Cli, } from "./cli.mjs";
|
|
5
|
+
export { Internal } from "./internal/index.mjs";
|
|
6
|
+
export { V3 } from "./v3.mjs";
|
|
7
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v3/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,KAAK,GAKN;OACM,EAAE,IAAI,EAAE;OACR,EACL,GAAG,GAMJ;OACM,EAAE,QAAQ,EAAE;OACZ,EAAE,EAAE,EAAE"}
|
|
@@ -0,0 +1,153 @@
|
|
|
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 ActionExecution extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get detailed execution log by ID
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const response =
|
|
11
|
+
* await client.v3.internal.actionExecution.retrieveLog(
|
|
12
|
+
* 'id',
|
|
13
|
+
* );
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
retrieveLog(id: string, options?: RequestOptions): APIPromise<ActionExecutionRetrieveLogResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Search and retrieve action execution logs
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const response =
|
|
23
|
+
* await client.v3.internal.actionExecution.searchLogs({
|
|
24
|
+
* cursor: 0,
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
searchLogs(body: ActionExecutionSearchLogsParams, options?: RequestOptions): APIPromise<ActionExecutionSearchLogsResponse>;
|
|
29
|
+
}
|
|
30
|
+
export interface ActionExecutionRetrieveLogResponse {
|
|
31
|
+
actionId: string;
|
|
32
|
+
actionLogId: string;
|
|
33
|
+
app: ActionExecutionRetrieveLogResponse.App;
|
|
34
|
+
connection: ActionExecutionRetrieveLogResponse.Connection;
|
|
35
|
+
endTime: number;
|
|
36
|
+
error: Record<string, unknown>;
|
|
37
|
+
executionMetadata: Record<string, unknown>;
|
|
38
|
+
payloadReceived: Record<string, unknown>;
|
|
39
|
+
response: Record<string, unknown>;
|
|
40
|
+
session: Record<string, unknown>;
|
|
41
|
+
startTime: number;
|
|
42
|
+
status: 'success' | 'error' | 'warning' | 'info';
|
|
43
|
+
steps: Array<ActionExecutionRetrieveLogResponse.Step>;
|
|
44
|
+
totalDuration: string;
|
|
45
|
+
version: string;
|
|
46
|
+
}
|
|
47
|
+
export declare namespace ActionExecutionRetrieveLogResponse {
|
|
48
|
+
interface App {
|
|
49
|
+
icon: string;
|
|
50
|
+
name: string;
|
|
51
|
+
uniqueId: string;
|
|
52
|
+
}
|
|
53
|
+
interface Connection {
|
|
54
|
+
entity: string;
|
|
55
|
+
id?: string;
|
|
56
|
+
}
|
|
57
|
+
interface Step {
|
|
58
|
+
endTime: number;
|
|
59
|
+
message: string;
|
|
60
|
+
startTime: number;
|
|
61
|
+
status: 'success' | 'failure' | 'error';
|
|
62
|
+
totalDuration: number;
|
|
63
|
+
type: 'tool_execution' | 'fetch_connection_details';
|
|
64
|
+
logs?: Array<Step.Log>;
|
|
65
|
+
metadata?: Step.Metadata;
|
|
66
|
+
}
|
|
67
|
+
namespace Step {
|
|
68
|
+
interface Log {
|
|
69
|
+
level: string;
|
|
70
|
+
message: string;
|
|
71
|
+
request: Log.Request;
|
|
72
|
+
requestId: string;
|
|
73
|
+
response: Log.Response;
|
|
74
|
+
time: number;
|
|
75
|
+
type: 'network' | 'system';
|
|
76
|
+
}
|
|
77
|
+
namespace Log {
|
|
78
|
+
interface Request {
|
|
79
|
+
method: string;
|
|
80
|
+
url: string;
|
|
81
|
+
headers?: Record<string, string>;
|
|
82
|
+
json?: Record<string, unknown>;
|
|
83
|
+
params?: Record<string, unknown>;
|
|
84
|
+
timeout?: number;
|
|
85
|
+
}
|
|
86
|
+
interface Response {
|
|
87
|
+
status: number;
|
|
88
|
+
time: string;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
interface Metadata {
|
|
92
|
+
encryption?: string;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
export interface ActionExecutionSearchLogsResponse {
|
|
97
|
+
data: Array<ActionExecutionSearchLogsResponse.Data>;
|
|
98
|
+
nextCursor: number | null;
|
|
99
|
+
}
|
|
100
|
+
export declare namespace ActionExecutionSearchLogsResponse {
|
|
101
|
+
interface Data {
|
|
102
|
+
id: string;
|
|
103
|
+
actionKey: string;
|
|
104
|
+
app: Data.App;
|
|
105
|
+
appKey: string;
|
|
106
|
+
connectedAccountId: string;
|
|
107
|
+
createdAt: number;
|
|
108
|
+
entityId: string;
|
|
109
|
+
executionTime: number;
|
|
110
|
+
minimalResponse: string;
|
|
111
|
+
status: 'success' | 'failed';
|
|
112
|
+
}
|
|
113
|
+
namespace Data {
|
|
114
|
+
interface App {
|
|
115
|
+
icon: string;
|
|
116
|
+
name: string;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
export interface ActionExecutionSearchLogsParams {
|
|
121
|
+
/**
|
|
122
|
+
* cursor_that_can_be_used_to_paginate_through_the_logs
|
|
123
|
+
*/
|
|
124
|
+
cursor: number | null;
|
|
125
|
+
/**
|
|
126
|
+
* whether_the_search_is_case_sensitive_or_not
|
|
127
|
+
*/
|
|
128
|
+
case_sensitive?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* start_time_of_the_logs_in_epoch_time
|
|
131
|
+
*/
|
|
132
|
+
from?: number;
|
|
133
|
+
/**
|
|
134
|
+
* number_of_logs_to_return
|
|
135
|
+
*/
|
|
136
|
+
limit?: number;
|
|
137
|
+
search_params?: Array<ActionExecutionSearchLogsParams.SearchParam>;
|
|
138
|
+
/**
|
|
139
|
+
* end_time_of_the_logs_in_epoch_time
|
|
140
|
+
*/
|
|
141
|
+
to?: number;
|
|
142
|
+
}
|
|
143
|
+
export declare namespace ActionExecutionSearchLogsParams {
|
|
144
|
+
interface SearchParam {
|
|
145
|
+
field?: string;
|
|
146
|
+
operation?: string;
|
|
147
|
+
value?: string;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
export declare namespace ActionExecution {
|
|
151
|
+
export { type ActionExecutionRetrieveLogResponse as ActionExecutionRetrieveLogResponse, type ActionExecutionSearchLogsResponse as ActionExecutionSearchLogsResponse, type ActionExecutionSearchLogsParams as ActionExecutionSearchLogsParams, };
|
|
152
|
+
}
|
|
153
|
+
//# sourceMappingURL=action-execution.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-execution.d.mts","sourceRoot":"","sources":["../../../src/resources/v3/internal/action-execution.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;OAUG;IACH,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kCAAkC,CAAC;IAIjG;;;;;;;;;;OAUG;IACH,UAAU,CACR,IAAI,EAAE,+BAA+B,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iCAAiC,CAAC;CAGjD;AAED,MAAM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EAAE,MAAM,CAAC;QAEf,kBAAkB,EAAE,MAAM,CAAC;QAE3B,SAAS,EAAE,MAAM,CAAC;QAElB,QAAQ,EAAE,MAAM,CAAC;QAEjB,aAAa,EAAE,MAAM,CAAC;QAEtB,eAAe,EAAE,MAAM,CAAC;QAExB,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAC;KAC9B;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,GAAG;YAClB,IAAI,EAAE,MAAM,CAAC;YAEb,IAAI,EAAE,MAAM,CAAC;SACd;KACF;CACF;AAED,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,aAAa,CAAC,EAAE,KAAK,CAAC,+BAA+B,CAAC,WAAW,CAAC,CAAC;IAEnE;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,yBAAiB,+BAA+B,CAAC;IAC/C,UAAiB,WAAW;QAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
|
|
@@ -0,0 +1,153 @@
|
|
|
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 ActionExecution extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get detailed execution log by ID
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const response =
|
|
11
|
+
* await client.v3.internal.actionExecution.retrieveLog(
|
|
12
|
+
* 'id',
|
|
13
|
+
* );
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
retrieveLog(id: string, options?: RequestOptions): APIPromise<ActionExecutionRetrieveLogResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Search and retrieve action execution logs
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const response =
|
|
23
|
+
* await client.v3.internal.actionExecution.searchLogs({
|
|
24
|
+
* cursor: 0,
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
searchLogs(body: ActionExecutionSearchLogsParams, options?: RequestOptions): APIPromise<ActionExecutionSearchLogsResponse>;
|
|
29
|
+
}
|
|
30
|
+
export interface ActionExecutionRetrieveLogResponse {
|
|
31
|
+
actionId: string;
|
|
32
|
+
actionLogId: string;
|
|
33
|
+
app: ActionExecutionRetrieveLogResponse.App;
|
|
34
|
+
connection: ActionExecutionRetrieveLogResponse.Connection;
|
|
35
|
+
endTime: number;
|
|
36
|
+
error: Record<string, unknown>;
|
|
37
|
+
executionMetadata: Record<string, unknown>;
|
|
38
|
+
payloadReceived: Record<string, unknown>;
|
|
39
|
+
response: Record<string, unknown>;
|
|
40
|
+
session: Record<string, unknown>;
|
|
41
|
+
startTime: number;
|
|
42
|
+
status: 'success' | 'error' | 'warning' | 'info';
|
|
43
|
+
steps: Array<ActionExecutionRetrieveLogResponse.Step>;
|
|
44
|
+
totalDuration: string;
|
|
45
|
+
version: string;
|
|
46
|
+
}
|
|
47
|
+
export declare namespace ActionExecutionRetrieveLogResponse {
|
|
48
|
+
interface App {
|
|
49
|
+
icon: string;
|
|
50
|
+
name: string;
|
|
51
|
+
uniqueId: string;
|
|
52
|
+
}
|
|
53
|
+
interface Connection {
|
|
54
|
+
entity: string;
|
|
55
|
+
id?: string;
|
|
56
|
+
}
|
|
57
|
+
interface Step {
|
|
58
|
+
endTime: number;
|
|
59
|
+
message: string;
|
|
60
|
+
startTime: number;
|
|
61
|
+
status: 'success' | 'failure' | 'error';
|
|
62
|
+
totalDuration: number;
|
|
63
|
+
type: 'tool_execution' | 'fetch_connection_details';
|
|
64
|
+
logs?: Array<Step.Log>;
|
|
65
|
+
metadata?: Step.Metadata;
|
|
66
|
+
}
|
|
67
|
+
namespace Step {
|
|
68
|
+
interface Log {
|
|
69
|
+
level: string;
|
|
70
|
+
message: string;
|
|
71
|
+
request: Log.Request;
|
|
72
|
+
requestId: string;
|
|
73
|
+
response: Log.Response;
|
|
74
|
+
time: number;
|
|
75
|
+
type: 'network' | 'system';
|
|
76
|
+
}
|
|
77
|
+
namespace Log {
|
|
78
|
+
interface Request {
|
|
79
|
+
method: string;
|
|
80
|
+
url: string;
|
|
81
|
+
headers?: Record<string, string>;
|
|
82
|
+
json?: Record<string, unknown>;
|
|
83
|
+
params?: Record<string, unknown>;
|
|
84
|
+
timeout?: number;
|
|
85
|
+
}
|
|
86
|
+
interface Response {
|
|
87
|
+
status: number;
|
|
88
|
+
time: string;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
interface Metadata {
|
|
92
|
+
encryption?: string;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
export interface ActionExecutionSearchLogsResponse {
|
|
97
|
+
data: Array<ActionExecutionSearchLogsResponse.Data>;
|
|
98
|
+
nextCursor: number | null;
|
|
99
|
+
}
|
|
100
|
+
export declare namespace ActionExecutionSearchLogsResponse {
|
|
101
|
+
interface Data {
|
|
102
|
+
id: string;
|
|
103
|
+
actionKey: string;
|
|
104
|
+
app: Data.App;
|
|
105
|
+
appKey: string;
|
|
106
|
+
connectedAccountId: string;
|
|
107
|
+
createdAt: number;
|
|
108
|
+
entityId: string;
|
|
109
|
+
executionTime: number;
|
|
110
|
+
minimalResponse: string;
|
|
111
|
+
status: 'success' | 'failed';
|
|
112
|
+
}
|
|
113
|
+
namespace Data {
|
|
114
|
+
interface App {
|
|
115
|
+
icon: string;
|
|
116
|
+
name: string;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
export interface ActionExecutionSearchLogsParams {
|
|
121
|
+
/**
|
|
122
|
+
* cursor_that_can_be_used_to_paginate_through_the_logs
|
|
123
|
+
*/
|
|
124
|
+
cursor: number | null;
|
|
125
|
+
/**
|
|
126
|
+
* whether_the_search_is_case_sensitive_or_not
|
|
127
|
+
*/
|
|
128
|
+
case_sensitive?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* start_time_of_the_logs_in_epoch_time
|
|
131
|
+
*/
|
|
132
|
+
from?: number;
|
|
133
|
+
/**
|
|
134
|
+
* number_of_logs_to_return
|
|
135
|
+
*/
|
|
136
|
+
limit?: number;
|
|
137
|
+
search_params?: Array<ActionExecutionSearchLogsParams.SearchParam>;
|
|
138
|
+
/**
|
|
139
|
+
* end_time_of_the_logs_in_epoch_time
|
|
140
|
+
*/
|
|
141
|
+
to?: number;
|
|
142
|
+
}
|
|
143
|
+
export declare namespace ActionExecutionSearchLogsParams {
|
|
144
|
+
interface SearchParam {
|
|
145
|
+
field?: string;
|
|
146
|
+
operation?: string;
|
|
147
|
+
value?: string;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
export declare namespace ActionExecution {
|
|
151
|
+
export { type ActionExecutionRetrieveLogResponse as ActionExecutionRetrieveLogResponse, type ActionExecutionSearchLogsResponse as ActionExecutionSearchLogsResponse, type ActionExecutionSearchLogsParams as ActionExecutionSearchLogsParams, };
|
|
152
|
+
}
|
|
153
|
+
//# sourceMappingURL=action-execution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-execution.d.ts","sourceRoot":"","sources":["../../../src/resources/v3/internal/action-execution.ts"],"names":[],"mappings":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AED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.ActionExecution = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
7
|
+
class ActionExecution extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get detailed execution log by ID
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const response =
|
|
14
|
+
* await client.v3.internal.actionExecution.retrieveLog(
|
|
15
|
+
* 'id',
|
|
16
|
+
* );
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
retrieveLog(id, options) {
|
|
20
|
+
return this._client.get((0, path_1.path) `/api/v3/internal/action_execution/log/${id}`, options);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Search and retrieve action execution logs
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const response =
|
|
28
|
+
* await client.v3.internal.actionExecution.searchLogs({
|
|
29
|
+
* cursor: 0,
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
searchLogs(body, options) {
|
|
34
|
+
return this._client.post('/api/v3/internal/action_execution/logs', { body, ...options });
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.ActionExecution = ActionExecution;
|
|
38
|
+
//# sourceMappingURL=action-execution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-execution.js","sourceRoot":"","sources":["../../../src/resources/v3/internal/action-execution.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD,MAAa,eAAgB,SAAQ,sBAAW;IAC9C;;;;;;;;;;OAUG;IACH,WAAW,CAAC,EAAU,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,yCAAyC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;OAUG;IACH,UAAU,CACR,IAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF;AAjCD,0CAiCC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
4
|
+
export class ActionExecution extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get detailed execution log by ID
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const response =
|
|
11
|
+
* await client.v3.internal.actionExecution.retrieveLog(
|
|
12
|
+
* 'id',
|
|
13
|
+
* );
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
retrieveLog(id, options) {
|
|
17
|
+
return this._client.get(path `/api/v3/internal/action_execution/log/${id}`, options);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Search and retrieve action execution logs
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const response =
|
|
25
|
+
* await client.v3.internal.actionExecution.searchLogs({
|
|
26
|
+
* cursor: 0,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
searchLogs(body, options) {
|
|
31
|
+
return this._client.post('/api/v3/internal/action_execution/logs', { body, ...options });
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=action-execution.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-execution.mjs","sourceRoot":"","sources":["../../../src/resources/v3/internal/action-execution.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;OAUG;IACH,WAAW,CAAC,EAAU,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yCAAyC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;OAUG;IACH,UAAU,CACR,IAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { ActionExecution, type ActionExecutionRetrieveLogResponse, type ActionExecutionSearchLogsResponse, type ActionExecutionSearchLogsParams, } from "./action-execution.mjs";
|
|
2
|
+
export { Internal } from "./internal.mjs";
|
|
3
|
+
export { Trigger, type TriggerSearchLogsResponse, type TriggerSearchLogsParams } from "./trigger.mjs";
|
|
4
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/v3/internal/index.ts"],"names":[],"mappings":"OAEO,EACL,eAAe,EACf,KAAK,kCAAkC,EACvC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,GACrC;OACM,EAAE,QAAQ,EAAE;OACZ,EAAE,OAAO,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { ActionExecution, type ActionExecutionRetrieveLogResponse, type ActionExecutionSearchLogsResponse, type ActionExecutionSearchLogsParams, } from "./action-execution.js";
|
|
2
|
+
export { Internal } from "./internal.js";
|
|
3
|
+
export { Trigger, type TriggerSearchLogsResponse, type TriggerSearchLogsParams } from "./trigger.js";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/v3/internal/index.ts"],"names":[],"mappings":"OAEO,EACL,eAAe,EACf,KAAK,kCAAkC,EACvC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,GACrC;OACM,EAAE,QAAQ,EAAE;OACZ,EAAE,OAAO,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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.Trigger = exports.Internal = exports.ActionExecution = void 0;
|
|
5
|
+
var action_execution_1 = require("./action-execution.js");
|
|
6
|
+
Object.defineProperty(exports, "ActionExecution", { enumerable: true, get: function () { return action_execution_1.ActionExecution; } });
|
|
7
|
+
var internal_1 = require("./internal.js");
|
|
8
|
+
Object.defineProperty(exports, "Internal", { enumerable: true, get: function () { return internal_1.Internal; } });
|
|
9
|
+
var trigger_1 = require("./trigger.js");
|
|
10
|
+
Object.defineProperty(exports, "Trigger", { enumerable: true, get: function () { return trigger_1.Trigger; } });
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/v3/internal/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAK4B;AAJ1B,mHAAA,eAAe,OAAA;AAKjB,0CAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,wCAAkG;AAAzF,kGAAA,OAAO,OAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { ActionExecution, } from "./action-execution.mjs";
|
|
3
|
+
export { Internal } from "./internal.mjs";
|
|
4
|
+
export { Trigger } from "./trigger.mjs";
|
|
5
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/v3/internal/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,eAAe,GAIhB;OACM,EAAE,QAAQ,EAAE;OACZ,EAAE,OAAO,EAAgE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as ActionExecutionAPI from "./action-execution.mjs";
|
|
3
|
+
import { ActionExecution, ActionExecutionRetrieveLogResponse, ActionExecutionSearchLogsParams, ActionExecutionSearchLogsResponse } from "./action-execution.mjs";
|
|
4
|
+
import * as TriggerAPI from "./trigger.mjs";
|
|
5
|
+
import { Trigger, TriggerSearchLogsParams, TriggerSearchLogsResponse } from "./trigger.mjs";
|
|
6
|
+
export declare class Internal extends APIResource {
|
|
7
|
+
trigger: TriggerAPI.Trigger;
|
|
8
|
+
actionExecution: ActionExecutionAPI.ActionExecution;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace Internal {
|
|
11
|
+
export { Trigger as Trigger, type TriggerSearchLogsResponse as TriggerSearchLogsResponse, type TriggerSearchLogsParams as TriggerSearchLogsParams, };
|
|
12
|
+
export { ActionExecution as ActionExecution, type ActionExecutionRetrieveLogResponse as ActionExecutionRetrieveLogResponse, type ActionExecutionSearchLogsResponse as ActionExecutionSearchLogsResponse, type ActionExecutionSearchLogsParams as ActionExecutionSearchLogsParams, };
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=internal.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.d.mts","sourceRoot":"","sources":["../../../src/resources/v3/internal/internal.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,kBAAkB;OACvB,EACL,eAAe,EACf,kCAAkC,EAClC,+BAA+B,EAC/B,iCAAiC,EAClC;OACM,KAAK,UAAU;OACf,EAAE,OAAO,EAAE,uBAAuB,EAAE,yBAAyB,EAAE;AAEtE,qBAAa,QAAS,SAAQ,WAAW;IACvC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,eAAe,EAAE,kBAAkB,CAAC,eAAe,CAAwD;CAC5G;AAKD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,eAAe,IAAI,eAAe,EAClC,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as ActionExecutionAPI from "./action-execution.js";
|
|
3
|
+
import { ActionExecution, ActionExecutionRetrieveLogResponse, ActionExecutionSearchLogsParams, ActionExecutionSearchLogsResponse } from "./action-execution.js";
|
|
4
|
+
import * as TriggerAPI from "./trigger.js";
|
|
5
|
+
import { Trigger, TriggerSearchLogsParams, TriggerSearchLogsResponse } from "./trigger.js";
|
|
6
|
+
export declare class Internal extends APIResource {
|
|
7
|
+
trigger: TriggerAPI.Trigger;
|
|
8
|
+
actionExecution: ActionExecutionAPI.ActionExecution;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace Internal {
|
|
11
|
+
export { Trigger as Trigger, type TriggerSearchLogsResponse as TriggerSearchLogsResponse, type TriggerSearchLogsParams as TriggerSearchLogsParams, };
|
|
12
|
+
export { ActionExecution as ActionExecution, type ActionExecutionRetrieveLogResponse as ActionExecutionRetrieveLogResponse, type ActionExecutionSearchLogsResponse as ActionExecutionSearchLogsResponse, type ActionExecutionSearchLogsParams as ActionExecutionSearchLogsParams, };
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=internal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/resources/v3/internal/internal.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,kBAAkB;OACvB,EACL,eAAe,EACf,kCAAkC,EAClC,+BAA+B,EAC/B,iCAAiC,EAClC;OACM,KAAK,UAAU;OACf,EAAE,OAAO,EAAE,uBAAuB,EAAE,yBAAyB,EAAE;AAEtE,qBAAa,QAAS,SAAQ,WAAW;IACvC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,eAAe,EAAE,kBAAkB,CAAC,eAAe,CAAwD;CAC5G;AAKD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,eAAe,IAAI,eAAe,EAClC,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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.Internal = void 0;
|
|
5
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../core/resource.js");
|
|
7
|
+
const ActionExecutionAPI = tslib_1.__importStar(require("./action-execution.js"));
|
|
8
|
+
const action_execution_1 = require("./action-execution.js");
|
|
9
|
+
const TriggerAPI = tslib_1.__importStar(require("./trigger.js"));
|
|
10
|
+
const trigger_1 = require("./trigger.js");
|
|
11
|
+
class Internal extends resource_1.APIResource {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.trigger = new TriggerAPI.Trigger(this._client);
|
|
15
|
+
this.actionExecution = new ActionExecutionAPI.ActionExecution(this._client);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.Internal = Internal;
|
|
19
|
+
Internal.Trigger = trigger_1.Trigger;
|
|
20
|
+
Internal.ActionExecution = action_execution_1.ActionExecution;
|
|
21
|
+
//# sourceMappingURL=internal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/resources/v3/internal/internal.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,kFAAyD;AACzD,4DAK4B;AAC5B,iEAAwC;AACxC,0CAAwF;AAExF,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,oBAAe,GAAuC,IAAI,kBAAkB,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC7G,CAAC;CAAA;AAHD,4BAGC;AAED,QAAQ,CAAC,OAAO,GAAG,iBAAO,CAAC;AAC3B,QAAQ,CAAC,eAAe,GAAG,kCAAe,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as ActionExecutionAPI from "./action-execution.mjs";
|
|
4
|
+
import { ActionExecution, } from "./action-execution.mjs";
|
|
5
|
+
import * as TriggerAPI from "./trigger.mjs";
|
|
6
|
+
import { Trigger } from "./trigger.mjs";
|
|
7
|
+
export class Internal extends APIResource {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this.trigger = new TriggerAPI.Trigger(this._client);
|
|
11
|
+
this.actionExecution = new ActionExecutionAPI.ActionExecution(this._client);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
Internal.Trigger = Trigger;
|
|
15
|
+
Internal.ActionExecution = ActionExecution;
|
|
16
|
+
//# sourceMappingURL=internal.mjs.map
|