@inconvoai/node 0.4.0 → 0.6.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 +45 -0
- package/README.md +37 -20
- package/client.d.mts +0 -9
- package/client.d.mts.map +1 -1
- package/client.d.ts +0 -9
- package/client.d.ts.map +1 -1
- package/client.js +3 -11
- package/client.js.map +1 -1
- package/client.mjs +3 -11
- package/client.mjs.map +1 -1
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/package.json +2 -2
- package/resources/agents/agents.d.mts +12 -0
- package/resources/agents/agents.d.mts.map +1 -1
- package/resources/agents/agents.d.ts +12 -0
- package/resources/agents/agents.d.ts.map +1 -1
- package/resources/agents/agents.js +12 -0
- package/resources/agents/agents.js.map +1 -1
- package/resources/agents/agents.mjs +12 -0
- package/resources/agents/agents.mjs.map +1 -1
- package/resources/{conversations → agents/conversations}/conversations.d.mts +35 -16
- package/resources/agents/conversations/conversations.d.mts.map +1 -0
- package/resources/{conversations → agents/conversations}/conversations.d.ts +35 -16
- package/resources/agents/conversations/conversations.d.ts.map +1 -0
- package/resources/agents/conversations/conversations.js +64 -0
- package/resources/agents/conversations/conversations.js.map +1 -0
- package/resources/agents/conversations/conversations.mjs +59 -0
- package/resources/agents/conversations/conversations.mjs.map +1 -0
- package/resources/{conversations → agents/conversations}/index.d.mts +1 -1
- package/resources/agents/conversations/index.d.mts.map +1 -0
- package/resources/{conversations → agents/conversations}/index.d.ts +1 -1
- package/resources/agents/conversations/index.d.ts.map +1 -0
- package/resources/agents/conversations/index.js.map +1 -0
- package/resources/agents/conversations/index.mjs.map +1 -0
- package/resources/{conversations → agents/conversations}/response/feedback.d.mts +25 -9
- package/resources/agents/conversations/response/feedback.d.mts.map +1 -0
- package/resources/{conversations → agents/conversations}/response/feedback.d.ts +25 -9
- package/resources/agents/conversations/response/feedback.d.ts.map +1 -0
- package/resources/agents/conversations/response/feedback.js +50 -0
- package/resources/agents/conversations/response/feedback.js.map +1 -0
- package/resources/agents/conversations/response/feedback.mjs +46 -0
- package/resources/agents/conversations/response/feedback.mjs.map +1 -0
- package/resources/agents/conversations/response/index.d.mts.map +1 -0
- package/resources/agents/conversations/response/index.d.ts.map +1 -0
- package/resources/agents/conversations/response/index.js.map +1 -0
- package/resources/agents/conversations/response/index.mjs.map +1 -0
- package/resources/{conversations → agents/conversations}/response/response.d.mts +32 -17
- package/resources/agents/conversations/response/response.d.mts.map +1 -0
- package/resources/{conversations → agents/conversations}/response/response.d.ts +32 -17
- package/resources/agents/conversations/response/response.d.ts.map +1 -0
- package/resources/{conversations → agents/conversations}/response/response.js +17 -13
- package/resources/agents/conversations/response/response.js.map +1 -0
- package/resources/{conversations → agents/conversations}/response/response.mjs +16 -12
- package/resources/agents/conversations/response/response.mjs.map +1 -0
- package/resources/agents/conversations/response.d.mts.map +1 -0
- package/resources/agents/conversations/response.d.ts.map +1 -0
- package/resources/{conversations → agents/conversations}/response.js +1 -1
- package/resources/agents/conversations/response.js.map +1 -0
- package/resources/agents/conversations/response.mjs.map +1 -0
- package/resources/agents/conversations.d.mts.map +1 -0
- package/resources/agents/conversations.d.ts.map +1 -0
- package/resources/{conversations.js → agents/conversations.js} +1 -1
- package/resources/agents/conversations.js.map +1 -0
- package/resources/agents/conversations.mjs.map +1 -0
- package/resources/agents/data-summary.d.mts +7 -1
- package/resources/agents/data-summary.d.mts.map +1 -1
- package/resources/agents/data-summary.d.ts +7 -1
- package/resources/agents/data-summary.d.ts.map +1 -1
- package/resources/agents/data-summary.js +9 -2
- package/resources/agents/data-summary.js.map +1 -1
- package/resources/agents/data-summary.mjs +9 -2
- package/resources/agents/data-summary.mjs.map +1 -1
- package/resources/{datasets → agents/datasets}/context.d.mts +33 -16
- package/resources/agents/datasets/context.d.mts.map +1 -0
- package/resources/{datasets → agents/datasets}/context.d.ts +33 -16
- package/resources/agents/datasets/context.d.ts.map +1 -0
- package/resources/agents/datasets/context.js +66 -0
- package/resources/agents/datasets/context.js.map +1 -0
- package/resources/agents/datasets/context.mjs +62 -0
- package/resources/agents/datasets/context.mjs.map +1 -0
- package/resources/{datasets → agents/datasets}/datasets.d.mts +3 -3
- package/resources/agents/datasets/datasets.d.mts.map +1 -0
- package/resources/{datasets → agents/datasets}/datasets.d.ts +3 -3
- package/resources/agents/datasets/datasets.d.ts.map +1 -0
- package/resources/{datasets → agents/datasets}/datasets.js +2 -2
- package/resources/agents/datasets/datasets.js.map +1 -0
- package/resources/{datasets → agents/datasets}/datasets.mjs +1 -1
- package/resources/agents/datasets/datasets.mjs.map +1 -0
- package/resources/{datasets → agents/datasets}/index.d.mts +1 -1
- package/resources/agents/datasets/index.d.mts.map +1 -0
- package/resources/{datasets → agents/datasets}/index.d.ts +1 -1
- package/resources/agents/datasets/index.d.ts.map +1 -0
- package/resources/agents/datasets/index.js.map +1 -0
- package/resources/agents/datasets/index.mjs.map +1 -0
- package/resources/agents/datasets/user.d.mts +98 -0
- package/resources/agents/datasets/user.d.mts.map +1 -0
- package/resources/agents/datasets/user.d.ts +98 -0
- package/resources/agents/datasets/user.d.ts.map +1 -0
- package/resources/agents/datasets/user.js +59 -0
- package/resources/agents/datasets/user.js.map +1 -0
- package/resources/agents/datasets/user.mjs +55 -0
- package/resources/agents/datasets/user.mjs.map +1 -0
- package/resources/agents/datasets.d.mts.map +1 -0
- package/resources/agents/datasets.d.ts.map +1 -0
- package/resources/{datasets.js → agents/datasets.js} +1 -1
- package/resources/agents/datasets.js.map +1 -0
- package/resources/agents/datasets.mjs.map +1 -0
- package/resources/agents/index.d.mts +3 -0
- package/resources/agents/index.d.mts.map +1 -1
- package/resources/agents/index.d.ts +3 -0
- package/resources/agents/index.d.ts.map +1 -1
- package/resources/agents/index.js +7 -1
- package/resources/agents/index.js.map +1 -1
- package/resources/agents/index.mjs +3 -0
- package/resources/agents/index.mjs.map +1 -1
- package/resources/agents/mcp-servers/index.d.mts +3 -0
- package/resources/agents/mcp-servers/index.d.mts.map +1 -0
- package/resources/agents/mcp-servers/index.d.ts +3 -0
- package/resources/agents/mcp-servers/index.d.ts.map +1 -0
- package/resources/agents/mcp-servers/index.js.map +1 -0
- package/resources/agents/mcp-servers/index.mjs.map +1 -0
- package/resources/agents/mcp-servers/mcp-servers.d.mts +10 -0
- package/resources/agents/mcp-servers/mcp-servers.d.mts.map +1 -0
- package/resources/agents/mcp-servers/mcp-servers.d.ts +10 -0
- package/resources/agents/mcp-servers/mcp-servers.d.ts.map +1 -0
- package/resources/{mcp-servers → agents/mcp-servers}/mcp-servers.js +2 -2
- package/resources/agents/mcp-servers/mcp-servers.js.map +1 -0
- package/resources/{mcp-servers → agents/mcp-servers}/mcp-servers.mjs +2 -2
- package/resources/agents/mcp-servers/mcp-servers.mjs.map +1 -0
- package/resources/agents/mcp-servers/tenants.d.mts +79 -0
- package/resources/agents/mcp-servers/tenants.d.mts.map +1 -0
- package/resources/agents/mcp-servers/tenants.d.ts +79 -0
- package/resources/agents/mcp-servers/tenants.d.ts.map +1 -0
- package/resources/agents/mcp-servers/tenants.js +50 -0
- package/resources/agents/mcp-servers/tenants.js.map +1 -0
- package/resources/agents/mcp-servers/tenants.mjs +46 -0
- package/resources/agents/mcp-servers/tenants.mjs.map +1 -0
- package/resources/agents/mcp-servers.d.mts.map +1 -0
- package/resources/agents/mcp-servers.d.ts.map +1 -0
- package/resources/{mcp-servers.js → agents/mcp-servers.js} +1 -1
- package/resources/agents/mcp-servers.js.map +1 -0
- package/resources/agents/mcp-servers.mjs.map +1 -0
- package/resources/index.d.mts +0 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +0 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -7
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +0 -3
- package/resources/index.mjs.map +1 -1
- package/src/client.ts +3 -33
- package/src/index.ts +1 -1
- package/src/internal/parse.ts +6 -0
- package/src/resources/agents/agents.ts +36 -0
- package/src/resources/{conversations → agents/conversations}/conversations.ts +53 -21
- package/src/resources/{conversations → agents/conversations}/index.ts +1 -0
- package/src/resources/{conversations → agents/conversations}/response/feedback.ts +38 -20
- package/src/resources/{conversations → agents/conversations}/response/response.ts +47 -25
- package/src/resources/agents/data-summary.ts +9 -2
- package/src/resources/{datasets → agents/datasets}/context.ts +47 -24
- package/src/resources/{datasets → agents/datasets}/datasets.ts +3 -1
- package/src/resources/{datasets → agents/datasets}/index.ts +1 -0
- package/src/resources/agents/datasets/user.ts +151 -0
- package/src/resources/agents/index.ts +12 -0
- package/src/resources/{mcp-servers → agents/mcp-servers}/index.ts +1 -0
- package/src/resources/{mcp-servers → agents/mcp-servers}/mcp-servers.ts +9 -2
- package/src/resources/agents/mcp-servers/tenants.ts +108 -0
- package/src/resources/index.ts +0 -11
- 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/conversations/conversations.d.mts.map +0 -1
- package/resources/conversations/conversations.d.ts.map +0 -1
- package/resources/conversations/conversations.js +0 -61
- package/resources/conversations/conversations.js.map +0 -1
- package/resources/conversations/conversations.mjs +0 -56
- package/resources/conversations/conversations.mjs.map +0 -1
- package/resources/conversations/index.d.mts.map +0 -1
- package/resources/conversations/index.d.ts.map +0 -1
- package/resources/conversations/index.js.map +0 -1
- package/resources/conversations/index.mjs.map +0 -1
- package/resources/conversations/response/feedback.d.mts.map +0 -1
- package/resources/conversations/response/feedback.d.ts.map +0 -1
- package/resources/conversations/response/feedback.js +0 -48
- package/resources/conversations/response/feedback.js.map +0 -1
- package/resources/conversations/response/feedback.mjs +0 -44
- package/resources/conversations/response/feedback.mjs.map +0 -1
- package/resources/conversations/response/index.d.mts.map +0 -1
- package/resources/conversations/response/index.d.ts.map +0 -1
- package/resources/conversations/response/index.js.map +0 -1
- package/resources/conversations/response/index.mjs.map +0 -1
- package/resources/conversations/response/response.d.mts.map +0 -1
- package/resources/conversations/response/response.d.ts.map +0 -1
- package/resources/conversations/response/response.js.map +0 -1
- package/resources/conversations/response/response.mjs.map +0 -1
- package/resources/conversations/response.d.mts.map +0 -1
- package/resources/conversations/response.d.ts.map +0 -1
- package/resources/conversations/response.js.map +0 -1
- package/resources/conversations/response.mjs.map +0 -1
- package/resources/conversations.d.mts.map +0 -1
- package/resources/conversations.d.ts.map +0 -1
- package/resources/conversations.js.map +0 -1
- package/resources/conversations.mjs.map +0 -1
- package/resources/datasets/context.d.mts.map +0 -1
- package/resources/datasets/context.d.ts.map +0 -1
- package/resources/datasets/context.js +0 -61
- package/resources/datasets/context.js.map +0 -1
- package/resources/datasets/context.mjs +0 -57
- package/resources/datasets/context.mjs.map +0 -1
- package/resources/datasets/datasets.d.mts.map +0 -1
- package/resources/datasets/datasets.d.ts.map +0 -1
- package/resources/datasets/datasets.js.map +0 -1
- package/resources/datasets/datasets.mjs.map +0 -1
- package/resources/datasets/index.d.mts.map +0 -1
- package/resources/datasets/index.d.ts.map +0 -1
- package/resources/datasets/index.js.map +0 -1
- package/resources/datasets/index.mjs.map +0 -1
- package/resources/datasets/user.d.mts +0 -77
- package/resources/datasets/user.d.mts.map +0 -1
- package/resources/datasets/user.d.ts +0 -77
- package/resources/datasets/user.d.ts.map +0 -1
- package/resources/datasets/user.js +0 -50
- package/resources/datasets/user.js.map +0 -1
- package/resources/datasets/user.mjs +0 -46
- package/resources/datasets/user.mjs.map +0 -1
- package/resources/datasets.d.mts.map +0 -1
- package/resources/datasets.d.ts.map +0 -1
- package/resources/datasets.js.map +0 -1
- package/resources/datasets.mjs.map +0 -1
- package/resources/mcp-servers/index.d.mts +0 -3
- package/resources/mcp-servers/index.d.mts.map +0 -1
- package/resources/mcp-servers/index.d.ts +0 -3
- package/resources/mcp-servers/index.d.ts.map +0 -1
- package/resources/mcp-servers/index.js.map +0 -1
- package/resources/mcp-servers/index.mjs.map +0 -1
- package/resources/mcp-servers/mcp-servers.d.mts +0 -10
- package/resources/mcp-servers/mcp-servers.d.mts.map +0 -1
- package/resources/mcp-servers/mcp-servers.d.ts +0 -10
- package/resources/mcp-servers/mcp-servers.d.ts.map +0 -1
- package/resources/mcp-servers/mcp-servers.js.map +0 -1
- package/resources/mcp-servers/mcp-servers.mjs.map +0 -1
- package/resources/mcp-servers/tenants.d.mts +0 -63
- package/resources/mcp-servers/tenants.d.mts.map +0 -1
- package/resources/mcp-servers/tenants.d.ts +0 -63
- package/resources/mcp-servers/tenants.d.ts.map +0 -1
- package/resources/mcp-servers/tenants.js +0 -47
- package/resources/mcp-servers/tenants.js.map +0 -1
- package/resources/mcp-servers/tenants.mjs +0 -43
- package/resources/mcp-servers/tenants.mjs.map +0 -1
- package/resources/mcp-servers.d.mts.map +0 -1
- package/resources/mcp-servers.d.ts.map +0 -1
- package/resources/mcp-servers.js.map +0 -1
- package/resources/mcp-servers.mjs.map +0 -1
- package/src/resources/datasets/user.ts +0 -120
- package/src/resources/mcp-servers/tenants.ts +0 -81
- /package/resources/{conversations → agents/conversations}/index.js +0 -0
- /package/resources/{conversations → agents/conversations}/index.mjs +0 -0
- /package/resources/{conversations → agents/conversations}/response/index.d.mts +0 -0
- /package/resources/{conversations → agents/conversations}/response/index.d.ts +0 -0
- /package/resources/{conversations → agents/conversations}/response/index.js +0 -0
- /package/resources/{conversations → agents/conversations}/response/index.mjs +0 -0
- /package/resources/{conversations → agents/conversations}/response.d.mts +0 -0
- /package/resources/{conversations → agents/conversations}/response.d.ts +0 -0
- /package/resources/{conversations → agents/conversations}/response.mjs +0 -0
- /package/resources/{conversations.d.mts → agents/conversations.d.mts} +0 -0
- /package/resources/{conversations.d.ts → agents/conversations.d.ts} +0 -0
- /package/resources/{conversations.mjs → agents/conversations.mjs} +0 -0
- /package/resources/{datasets → agents/datasets}/index.js +0 -0
- /package/resources/{datasets → agents/datasets}/index.mjs +0 -0
- /package/resources/{datasets.d.mts → agents/datasets.d.mts} +0 -0
- /package/resources/{datasets.d.ts → agents/datasets.d.ts} +0 -0
- /package/resources/{datasets.mjs → agents/datasets.mjs} +0 -0
- /package/resources/{mcp-servers → agents/mcp-servers}/index.js +0 -0
- /package/resources/{mcp-servers → agents/mcp-servers}/index.mjs +0 -0
- /package/resources/{mcp-servers.d.mts → agents/mcp-servers.d.mts} +0 -0
- /package/resources/{mcp-servers.d.ts → agents/mcp-servers.d.ts} +0 -0
- /package/resources/{mcp-servers.mjs → agents/mcp-servers.mjs} +0 -0
- /package/src/resources/{conversations → agents/conversations}/response/index.ts +0 -0
- /package/src/resources/{conversations → agents/conversations}/response.ts +0 -0
- /package/src/resources/{conversations.ts → agents/conversations.ts} +0 -0
- /package/src/resources/{datasets.ts → agents/datasets.ts} +0 -0
- /package/src/resources/{mcp-servers.ts → agents/mcp-servers.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
const tslib_1 = require("
|
|
4
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
5
5
|
tslib_1.__exportStar(require("./response/index.js"), exports);
|
|
6
6
|
//# sourceMappingURL=response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response.js","sourceRoot":"","sources":["../../../src/resources/agents/conversations/response.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8DAAiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response.mjs","sourceRoot":"","sources":["../../../src/resources/agents/conversations/response.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversations.d.mts","sourceRoot":"","sources":["../../src/resources/agents/conversations.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversations.d.ts","sourceRoot":"","sources":["../../src/resources/agents/conversations.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
const tslib_1 = require("
|
|
4
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
5
5
|
tslib_1.__exportStar(require("./conversations/index.js"), exports);
|
|
6
6
|
//# sourceMappingURL=conversations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversations.js","sourceRoot":"","sources":["../../src/resources/agents/conversations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEAAsC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversations.mjs","sourceRoot":"","sources":["../../src/resources/agents/conversations.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -4,8 +4,14 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
4
4
|
export declare class DataSummary extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Retrieve a summary of data available to the agent
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const dataSummary =
|
|
11
|
+
* await client.agents.dataSummary.retrieve('agentId');
|
|
12
|
+
* ```
|
|
7
13
|
*/
|
|
8
|
-
retrieve(options?: RequestOptions): APIPromise<DataSummaryRetrieveResponse>;
|
|
14
|
+
retrieve(agentID: string, options?: RequestOptions): APIPromise<DataSummaryRetrieveResponse>;
|
|
9
15
|
}
|
|
10
16
|
export interface DataSummaryRetrieveResponse {
|
|
11
17
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-summary.d.mts","sourceRoot":"","sources":["../../src/resources/agents/data-summary.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;
|
|
1
|
+
{"version":3,"file":"data-summary.d.mts","sourceRoot":"","sources":["../../src/resources/agents/data-summary.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;OAQG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;CAG7F;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EAAE,KAAK,2BAA2B,IAAI,2BAA2B,EAAE,CAAC;CAC5E"}
|
|
@@ -4,8 +4,14 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
4
4
|
export declare class DataSummary extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Retrieve a summary of data available to the agent
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const dataSummary =
|
|
11
|
+
* await client.agents.dataSummary.retrieve('agentId');
|
|
12
|
+
* ```
|
|
7
13
|
*/
|
|
8
|
-
retrieve(options?: RequestOptions): APIPromise<DataSummaryRetrieveResponse>;
|
|
14
|
+
retrieve(agentID: string, options?: RequestOptions): APIPromise<DataSummaryRetrieveResponse>;
|
|
9
15
|
}
|
|
10
16
|
export interface DataSummaryRetrieveResponse {
|
|
11
17
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-summary.d.ts","sourceRoot":"","sources":["../../src/resources/agents/data-summary.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;
|
|
1
|
+
{"version":3,"file":"data-summary.d.ts","sourceRoot":"","sources":["../../src/resources/agents/data-summary.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;OAQG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;CAG7F;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EAAE,KAAK,2BAA2B,IAAI,2BAA2B,EAAE,CAAC;CAC5E"}
|
|
@@ -3,12 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.DataSummary = void 0;
|
|
5
5
|
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
6
7
|
class DataSummary extends resource_1.APIResource {
|
|
7
8
|
/**
|
|
8
9
|
* Retrieve a summary of data available to the agent
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const dataSummary =
|
|
14
|
+
* await client.agents.dataSummary.retrieve('agentId');
|
|
15
|
+
* ```
|
|
9
16
|
*/
|
|
10
|
-
retrieve(options) {
|
|
11
|
-
return this._client.get(
|
|
17
|
+
retrieve(agentID, options) {
|
|
18
|
+
return this._client.get((0, path_1.path) `/agents/${agentID}/data-summary`, options);
|
|
12
19
|
}
|
|
13
20
|
}
|
|
14
21
|
exports.DataSummary = DataSummary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-summary.js","sourceRoot":"","sources":["../../src/resources/agents/data-summary.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"data-summary.js","sourceRoot":"","sources":["../../src/resources/agents/data-summary.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;OAQG;IACH,QAAQ,CAAC,OAAe,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,WAAW,OAAO,eAAe,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;CACF;AAbD,kCAaC"}
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
3
4
|
export class DataSummary extends APIResource {
|
|
4
5
|
/**
|
|
5
6
|
* Retrieve a summary of data available to the agent
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const dataSummary =
|
|
11
|
+
* await client.agents.dataSummary.retrieve('agentId');
|
|
12
|
+
* ```
|
|
6
13
|
*/
|
|
7
|
-
retrieve(options) {
|
|
8
|
-
return this._client.get(
|
|
14
|
+
retrieve(agentID, options) {
|
|
15
|
+
return this._client.get(path `/agents/${agentID}/data-summary`, options);
|
|
9
16
|
}
|
|
10
17
|
}
|
|
11
18
|
//# sourceMappingURL=data-summary.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-summary.mjs","sourceRoot":"","sources":["../../src/resources/agents/data-summary.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"data-summary.mjs","sourceRoot":"","sources":["../../src/resources/agents/data-summary.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;OAQG;IACH,QAAQ,CAAC,OAAe,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,OAAO,eAAe,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;CACF"}
|
|
@@ -1,46 +1,51 @@
|
|
|
1
|
-
import { APIResource } from "
|
|
2
|
-
import { APIPromise } from "
|
|
3
|
-
import { type Uploadable } from "
|
|
4
|
-
import { RequestOptions } from "
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
|
+
import { type Uploadable } from "../../../core/uploads.mjs";
|
|
4
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
5
|
export declare class Context extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* List all dataset files scoped to a context value. These files are shared with
|
|
8
|
-
* all users who have this context value.
|
|
8
|
+
* all users who have this context value. Requires User Context to be enabled.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ```ts
|
|
12
|
-
* const contexts = await client.datasets.context.list(
|
|
12
|
+
* const contexts = await client.agents.datasets.context.list(
|
|
13
13
|
* 'org_456',
|
|
14
|
-
* { contextKey: 'orgId' },
|
|
14
|
+
* { agentId: 'agentId', contextKey: 'orgId' },
|
|
15
15
|
* );
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
list(contextValue: string, params: ContextListParams, options?: RequestOptions): APIPromise<ContextListResponse>;
|
|
19
19
|
/**
|
|
20
|
-
* Delete a dataset file scoped to a context value.
|
|
20
|
+
* Delete a dataset file scoped to a context value. Requires User Context to be
|
|
21
|
+
* enabled.
|
|
21
22
|
*
|
|
22
23
|
* @example
|
|
23
24
|
* ```ts
|
|
24
|
-
* const context = await client.datasets.context.delete(
|
|
25
|
+
* const context = await client.agents.datasets.context.delete(
|
|
25
26
|
* 'shared_data.csv',
|
|
26
|
-
* {
|
|
27
|
+
* {
|
|
28
|
+
* agentId: 'agentId',
|
|
29
|
+
* contextKey: 'orgId',
|
|
30
|
+
* contextValue: 'org_456',
|
|
31
|
+
* },
|
|
27
32
|
* );
|
|
28
33
|
* ```
|
|
29
34
|
*/
|
|
30
35
|
delete(filename: string, params: ContextDeleteParams, options?: RequestOptions): APIPromise<ContextDeleteResponse>;
|
|
31
36
|
/**
|
|
32
37
|
* Upload a dataset file scoped to a context value. This file will be shared with
|
|
33
|
-
* all users who have this context value.
|
|
38
|
+
* all users who have this context value. Requires User Context to be enabled and
|
|
39
|
+
* contextKey to be defined in the schema.
|
|
34
40
|
*
|
|
35
41
|
* @example
|
|
36
42
|
* ```ts
|
|
37
|
-
* const response =
|
|
38
|
-
* 'org_456',
|
|
39
|
-
*
|
|
43
|
+
* const response =
|
|
44
|
+
* await client.agents.datasets.context.upload('org_456', {
|
|
45
|
+
* agentId: 'agentId',
|
|
40
46
|
* contextKey: 'orgId',
|
|
41
47
|
* file: fs.createReadStream('path/to/file'),
|
|
42
|
-
* }
|
|
43
|
-
* );
|
|
48
|
+
* });
|
|
44
49
|
* ```
|
|
45
50
|
*/
|
|
46
51
|
upload(contextValue: string, params: ContextUploadParams, options?: RequestOptions): APIPromise<ContextUploadResponse>;
|
|
@@ -65,12 +70,20 @@ export declare namespace ContextUploadResponse {
|
|
|
65
70
|
}
|
|
66
71
|
}
|
|
67
72
|
export interface ContextListParams {
|
|
73
|
+
/**
|
|
74
|
+
* The unique identifier of the agent
|
|
75
|
+
*/
|
|
76
|
+
agentId: string;
|
|
68
77
|
/**
|
|
69
78
|
* The context key (e.g., "orgId", "teamId")
|
|
70
79
|
*/
|
|
71
80
|
contextKey: string;
|
|
72
81
|
}
|
|
73
82
|
export interface ContextDeleteParams {
|
|
83
|
+
/**
|
|
84
|
+
* The unique identifier of the agent
|
|
85
|
+
*/
|
|
86
|
+
agentId: string;
|
|
74
87
|
/**
|
|
75
88
|
* The context key (e.g., "orgId", "teamId")
|
|
76
89
|
*/
|
|
@@ -81,6 +94,10 @@ export interface ContextDeleteParams {
|
|
|
81
94
|
contextValue: string;
|
|
82
95
|
}
|
|
83
96
|
export interface ContextUploadParams {
|
|
97
|
+
/**
|
|
98
|
+
* Path param: The unique identifier of the agent
|
|
99
|
+
*/
|
|
100
|
+
agentId: string;
|
|
84
101
|
/**
|
|
85
102
|
* Path param: The context key (e.g., "orgId", "teamId")
|
|
86
103
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.mts","sourceRoot":"","sources":["../../../src/resources/agents/datasets/context.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,UAAU,EAAE;OACnB,EAAE,cAAc,EAAE;AAIzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAKlC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,mBAAmB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAQpC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,mBAAmB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;CAOrC;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IAEb,OAAO,EAAE,OAAO,CAAC;IAEjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,qBAAqB,CAAC,IAAI,CAAC;IAEjC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,yBAAiB,qBAAqB,CAAC;IACrC,UAAiB,IAAI;QACnB,IAAI,EAAE,MAAM,CAAC;QAEb,IAAI,EAAE,MAAM,CAAC;QAEb,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -1,46 +1,51 @@
|
|
|
1
|
-
import { APIResource } from "
|
|
2
|
-
import { APIPromise } from "
|
|
3
|
-
import { type Uploadable } from "
|
|
4
|
-
import { RequestOptions } from "
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
|
+
import { type Uploadable } from "../../../core/uploads.js";
|
|
4
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
5
|
export declare class Context extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* List all dataset files scoped to a context value. These files are shared with
|
|
8
|
-
* all users who have this context value.
|
|
8
|
+
* all users who have this context value. Requires User Context to be enabled.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ```ts
|
|
12
|
-
* const contexts = await client.datasets.context.list(
|
|
12
|
+
* const contexts = await client.agents.datasets.context.list(
|
|
13
13
|
* 'org_456',
|
|
14
|
-
* { contextKey: 'orgId' },
|
|
14
|
+
* { agentId: 'agentId', contextKey: 'orgId' },
|
|
15
15
|
* );
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
list(contextValue: string, params: ContextListParams, options?: RequestOptions): APIPromise<ContextListResponse>;
|
|
19
19
|
/**
|
|
20
|
-
* Delete a dataset file scoped to a context value.
|
|
20
|
+
* Delete a dataset file scoped to a context value. Requires User Context to be
|
|
21
|
+
* enabled.
|
|
21
22
|
*
|
|
22
23
|
* @example
|
|
23
24
|
* ```ts
|
|
24
|
-
* const context = await client.datasets.context.delete(
|
|
25
|
+
* const context = await client.agents.datasets.context.delete(
|
|
25
26
|
* 'shared_data.csv',
|
|
26
|
-
* {
|
|
27
|
+
* {
|
|
28
|
+
* agentId: 'agentId',
|
|
29
|
+
* contextKey: 'orgId',
|
|
30
|
+
* contextValue: 'org_456',
|
|
31
|
+
* },
|
|
27
32
|
* );
|
|
28
33
|
* ```
|
|
29
34
|
*/
|
|
30
35
|
delete(filename: string, params: ContextDeleteParams, options?: RequestOptions): APIPromise<ContextDeleteResponse>;
|
|
31
36
|
/**
|
|
32
37
|
* Upload a dataset file scoped to a context value. This file will be shared with
|
|
33
|
-
* all users who have this context value.
|
|
38
|
+
* all users who have this context value. Requires User Context to be enabled and
|
|
39
|
+
* contextKey to be defined in the schema.
|
|
34
40
|
*
|
|
35
41
|
* @example
|
|
36
42
|
* ```ts
|
|
37
|
-
* const response =
|
|
38
|
-
* 'org_456',
|
|
39
|
-
*
|
|
43
|
+
* const response =
|
|
44
|
+
* await client.agents.datasets.context.upload('org_456', {
|
|
45
|
+
* agentId: 'agentId',
|
|
40
46
|
* contextKey: 'orgId',
|
|
41
47
|
* file: fs.createReadStream('path/to/file'),
|
|
42
|
-
* }
|
|
43
|
-
* );
|
|
48
|
+
* });
|
|
44
49
|
* ```
|
|
45
50
|
*/
|
|
46
51
|
upload(contextValue: string, params: ContextUploadParams, options?: RequestOptions): APIPromise<ContextUploadResponse>;
|
|
@@ -65,12 +70,20 @@ export declare namespace ContextUploadResponse {
|
|
|
65
70
|
}
|
|
66
71
|
}
|
|
67
72
|
export interface ContextListParams {
|
|
73
|
+
/**
|
|
74
|
+
* The unique identifier of the agent
|
|
75
|
+
*/
|
|
76
|
+
agentId: string;
|
|
68
77
|
/**
|
|
69
78
|
* The context key (e.g., "orgId", "teamId")
|
|
70
79
|
*/
|
|
71
80
|
contextKey: string;
|
|
72
81
|
}
|
|
73
82
|
export interface ContextDeleteParams {
|
|
83
|
+
/**
|
|
84
|
+
* The unique identifier of the agent
|
|
85
|
+
*/
|
|
86
|
+
agentId: string;
|
|
74
87
|
/**
|
|
75
88
|
* The context key (e.g., "orgId", "teamId")
|
|
76
89
|
*/
|
|
@@ -81,6 +94,10 @@ export interface ContextDeleteParams {
|
|
|
81
94
|
contextValue: string;
|
|
82
95
|
}
|
|
83
96
|
export interface ContextUploadParams {
|
|
97
|
+
/**
|
|
98
|
+
* Path param: The unique identifier of the agent
|
|
99
|
+
*/
|
|
100
|
+
agentId: string;
|
|
84
101
|
/**
|
|
85
102
|
* Path param: The context key (e.g., "orgId", "teamId")
|
|
86
103
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/resources/agents/datasets/context.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,UAAU,EAAE;OACnB,EAAE,cAAc,EAAE;AAIzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAKlC;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,mBAAmB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAQpC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,mBAAmB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;CAOrC;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IAEb,OAAO,EAAE,OAAO,CAAC;IAEjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,qBAAqB,CAAC,IAAI,CAAC;IAEjC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,yBAAiB,qBAAqB,CAAC;IACrC,UAAiB,IAAI;QACnB,IAAI,EAAE,MAAM,CAAC;QAEb,IAAI,EAAE,MAAM,CAAC;QAEb,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.Context = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
const uploads_1 = require("../../../internal/uploads.js");
|
|
7
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
8
|
+
class Context extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* List all dataset files scoped to a context value. These files are shared with
|
|
11
|
+
* all users who have this context value. Requires User Context to be enabled.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const contexts = await client.agents.datasets.context.list(
|
|
16
|
+
* 'org_456',
|
|
17
|
+
* { agentId: 'agentId', contextKey: 'orgId' },
|
|
18
|
+
* );
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
list(contextValue, params, options) {
|
|
22
|
+
const { agentId, contextKey } = params;
|
|
23
|
+
return this._client.get((0, path_1.path) `/agents/${agentId}/datasets/context/${contextKey}/${contextValue}`, options);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Delete a dataset file scoped to a context value. Requires User Context to be
|
|
27
|
+
* enabled.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const context = await client.agents.datasets.context.delete(
|
|
32
|
+
* 'shared_data.csv',
|
|
33
|
+
* {
|
|
34
|
+
* agentId: 'agentId',
|
|
35
|
+
* contextKey: 'orgId',
|
|
36
|
+
* contextValue: 'org_456',
|
|
37
|
+
* },
|
|
38
|
+
* );
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
delete(filename, params, options) {
|
|
42
|
+
const { agentId, contextKey, contextValue } = params;
|
|
43
|
+
return this._client.delete((0, path_1.path) `/agents/${agentId}/datasets/context/${contextKey}/${contextValue}/${filename}`, options);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Upload a dataset file scoped to a context value. This file will be shared with
|
|
47
|
+
* all users who have this context value. Requires User Context to be enabled and
|
|
48
|
+
* contextKey to be defined in the schema.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* const response =
|
|
53
|
+
* await client.agents.datasets.context.upload('org_456', {
|
|
54
|
+
* agentId: 'agentId',
|
|
55
|
+
* contextKey: 'orgId',
|
|
56
|
+
* file: fs.createReadStream('path/to/file'),
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
upload(contextValue, params, options) {
|
|
61
|
+
const { agentId, contextKey, ...body } = params;
|
|
62
|
+
return this._client.post((0, path_1.path) `/agents/${agentId}/datasets/context/${contextKey}/${contextValue}`, (0, uploads_1.multipartFormRequestOptions)({ body, ...options }, this._client));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.Context = Context;
|
|
66
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/resources/agents/datasets/context.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAIrD,0DAAwE;AACxE,0DAAoD;AAEpD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,YAAoB,EACpB,MAAyB,EACzB,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,WAAW,OAAO,qBAAqB,UAAU,IAAI,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5G,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,QAAgB,EAChB,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,IAAA,WAAI,EAAA,WAAW,OAAO,qBAAqB,UAAU,IAAI,YAAY,IAAI,QAAQ,EAAE,EACnF,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,YAAoB,EACpB,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,IAAA,WAAI,EAAA,WAAW,OAAO,qBAAqB,UAAU,IAAI,YAAY,EAAE,EACvE,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;CACF;AA5ED,0BA4EC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import { multipartFormRequestOptions } from "../../../internal/uploads.mjs";
|
|
4
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
5
|
+
export class Context extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List all dataset files scoped to a context value. These files are shared with
|
|
8
|
+
* all users who have this context value. Requires User Context to be enabled.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const contexts = await client.agents.datasets.context.list(
|
|
13
|
+
* 'org_456',
|
|
14
|
+
* { agentId: 'agentId', contextKey: 'orgId' },
|
|
15
|
+
* );
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
list(contextValue, params, options) {
|
|
19
|
+
const { agentId, contextKey } = params;
|
|
20
|
+
return this._client.get(path `/agents/${agentId}/datasets/context/${contextKey}/${contextValue}`, options);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Delete a dataset file scoped to a context value. Requires User Context to be
|
|
24
|
+
* enabled.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const context = await client.agents.datasets.context.delete(
|
|
29
|
+
* 'shared_data.csv',
|
|
30
|
+
* {
|
|
31
|
+
* agentId: 'agentId',
|
|
32
|
+
* contextKey: 'orgId',
|
|
33
|
+
* contextValue: 'org_456',
|
|
34
|
+
* },
|
|
35
|
+
* );
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
delete(filename, params, options) {
|
|
39
|
+
const { agentId, contextKey, contextValue } = params;
|
|
40
|
+
return this._client.delete(path `/agents/${agentId}/datasets/context/${contextKey}/${contextValue}/${filename}`, options);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Upload a dataset file scoped to a context value. This file will be shared with
|
|
44
|
+
* all users who have this context value. Requires User Context to be enabled and
|
|
45
|
+
* contextKey to be defined in the schema.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```ts
|
|
49
|
+
* const response =
|
|
50
|
+
* await client.agents.datasets.context.upload('org_456', {
|
|
51
|
+
* agentId: 'agentId',
|
|
52
|
+
* contextKey: 'orgId',
|
|
53
|
+
* file: fs.createReadStream('path/to/file'),
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
upload(contextValue, params, options) {
|
|
58
|
+
const { agentId, contextKey, ...body } = params;
|
|
59
|
+
return this._client.post(path `/agents/${agentId}/datasets/context/${contextKey}/${contextValue}`, multipartFormRequestOptions({ body, ...options }, this._client));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=context.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.mjs","sourceRoot":"","sources":["../../../src/resources/agents/datasets/context.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,2BAA2B,EAAE;OAC/B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,YAAoB,EACpB,MAAyB,EACzB,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,OAAO,qBAAqB,UAAU,IAAI,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5G,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,QAAgB,EAChB,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,IAAI,CAAA,WAAW,OAAO,qBAAqB,UAAU,IAAI,YAAY,IAAI,QAAQ,EAAE,EACnF,OAAO,CACR,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,YAAoB,EACpB,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,IAAI,CAAA,WAAW,OAAO,qBAAqB,UAAU,IAAI,YAAY,EAAE,EACvE,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { APIResource } from "
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
2
|
import * as ContextAPI from "./context.mjs";
|
|
3
3
|
import { Context, ContextDeleteParams, ContextDeleteResponse, ContextListParams, ContextListResponse, ContextUploadParams, ContextUploadResponse } from "./context.mjs";
|
|
4
4
|
import * as UserAPI from "./user.mjs";
|
|
5
|
-
import { User, UserDeleteParams, UserDeleteResponse, UserListResponse, UserUploadParams, UserUploadResponse } from "./user.mjs";
|
|
5
|
+
import { User, UserDeleteParams, UserDeleteResponse, UserListParams, UserListResponse, UserUploadParams, UserUploadResponse } from "./user.mjs";
|
|
6
6
|
export declare class Datasets extends APIResource {
|
|
7
7
|
user: UserAPI.User;
|
|
8
8
|
context: ContextAPI.Context;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace Datasets {
|
|
11
|
-
export { User as User, type UserListResponse as UserListResponse, type UserDeleteResponse as UserDeleteResponse, type UserUploadResponse as UserUploadResponse, type UserDeleteParams as UserDeleteParams, type UserUploadParams as UserUploadParams, };
|
|
11
|
+
export { User as User, type UserListResponse as UserListResponse, type UserDeleteResponse as UserDeleteResponse, type UserUploadResponse as UserUploadResponse, type UserListParams as UserListParams, type UserDeleteParams as UserDeleteParams, type UserUploadParams as UserUploadParams, };
|
|
12
12
|
export { Context as Context, type ContextListResponse as ContextListResponse, type ContextDeleteResponse as ContextDeleteResponse, type ContextUploadResponse as ContextUploadResponse, type ContextListParams as ContextListParams, type ContextDeleteParams as ContextDeleteParams, type ContextUploadParams as ContextUploadParams, };
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=datasets.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datasets.d.mts","sourceRoot":"","sources":["../../../src/resources/agents/datasets/datasets.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,OAAO,EACP,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB;OACM,KAAK,OAAO;OACZ,EACL,IAAI,EACJ,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EACnB;AAED,qBAAa,QAAS,SAAQ,WAAW;IACvC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IACpD,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAKD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { APIResource } from "
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
2
|
import * as ContextAPI from "./context.js";
|
|
3
3
|
import { Context, ContextDeleteParams, ContextDeleteResponse, ContextListParams, ContextListResponse, ContextUploadParams, ContextUploadResponse } from "./context.js";
|
|
4
4
|
import * as UserAPI from "./user.js";
|
|
5
|
-
import { User, UserDeleteParams, UserDeleteResponse, UserListResponse, UserUploadParams, UserUploadResponse } from "./user.js";
|
|
5
|
+
import { User, UserDeleteParams, UserDeleteResponse, UserListParams, UserListResponse, UserUploadParams, UserUploadResponse } from "./user.js";
|
|
6
6
|
export declare class Datasets extends APIResource {
|
|
7
7
|
user: UserAPI.User;
|
|
8
8
|
context: ContextAPI.Context;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace Datasets {
|
|
11
|
-
export { User as User, type UserListResponse as UserListResponse, type UserDeleteResponse as UserDeleteResponse, type UserUploadResponse as UserUploadResponse, type UserDeleteParams as UserDeleteParams, type UserUploadParams as UserUploadParams, };
|
|
11
|
+
export { User as User, type UserListResponse as UserListResponse, type UserDeleteResponse as UserDeleteResponse, type UserUploadResponse as UserUploadResponse, type UserListParams as UserListParams, type UserDeleteParams as UserDeleteParams, type UserUploadParams as UserUploadParams, };
|
|
12
12
|
export { Context as Context, type ContextListResponse as ContextListResponse, type ContextDeleteResponse as ContextDeleteResponse, type ContextUploadResponse as ContextUploadResponse, type ContextListParams as ContextListParams, type ContextDeleteParams as ContextDeleteParams, type ContextUploadParams as ContextUploadParams, };
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=datasets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../../src/resources/agents/datasets/datasets.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,OAAO,EACP,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB;OACM,KAAK,OAAO;OACZ,EACL,IAAI,EACJ,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EACnB;AAED,qBAAa,QAAS,SAAQ,WAAW;IACvC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IACpD,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;CACpE;AAKD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Datasets = void 0;
|
|
5
|
-
const tslib_1 = require("
|
|
6
|
-
const resource_1 = require("
|
|
5
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../core/resource.js");
|
|
7
7
|
const ContextAPI = tslib_1.__importStar(require("./context.js"));
|
|
8
8
|
const context_1 = require("./context.js");
|
|
9
9
|
const UserAPI = tslib_1.__importStar(require("./user.js"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datasets.js","sourceRoot":"","sources":["../../../src/resources/agents/datasets/datasets.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,iEAAwC;AACxC,0CAQmB;AACnB,2DAAkC;AAClC,oCAQgB;AAEhB,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAHD,4BAGC;AAED,QAAQ,CAAC,IAAI,GAAG,WAAI,CAAC;AACrB,QAAQ,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
3
|
import * as ContextAPI from "./context.mjs";
|
|
4
4
|
import { Context, } from "./context.mjs";
|
|
5
5
|
import * as UserAPI from "./user.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datasets.mjs","sourceRoot":"","sources":["../../../src/resources/agents/datasets/datasets.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,OAAO,GAOR;OACM,KAAK,OAAO;OACZ,EACL,IAAI,GAOL;AAED,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;CAAA;AAED,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC;AACrB,QAAQ,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Context, type ContextListResponse, type ContextDeleteResponse, type ContextUploadResponse, type ContextListParams, type ContextDeleteParams, type ContextUploadParams, } from "./context.mjs";
|
|
2
2
|
export { Datasets } from "./datasets.mjs";
|
|
3
|
-
export { User, type UserListResponse, type UserDeleteResponse, type UserUploadResponse, type UserDeleteParams, type UserUploadParams, } from "./user.mjs";
|
|
3
|
+
export { User, type UserListResponse, type UserDeleteResponse, type UserUploadResponse, type UserListParams, type UserDeleteParams, type UserUploadParams, } from "./user.mjs";
|
|
4
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/agents/datasets/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,QAAQ,EAAE;OACZ,EACL,IAAI,EACJ,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Context, type ContextListResponse, type ContextDeleteResponse, type ContextUploadResponse, type ContextListParams, type ContextDeleteParams, type ContextUploadParams, } from "./context.js";
|
|
2
2
|
export { Datasets } from "./datasets.js";
|
|
3
|
-
export { User, type UserListResponse, type UserDeleteResponse, type UserUploadResponse, type UserDeleteParams, type UserUploadParams, } from "./user.js";
|
|
3
|
+
export { User, type UserListResponse, type UserDeleteResponse, type UserUploadResponse, type UserListParams, type UserDeleteParams, type UserUploadParams, } from "./user.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/agents/datasets/index.ts"],"names":[],"mappings":"OAEO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,QAAQ,EAAE;OACZ,EACL,IAAI,EACJ,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/agents/datasets/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAQmB;AAPjB,kGAAA,OAAO,OAAA;AAQT,0CAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,kCAQgB;AAPd,4FAAA,IAAI,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/agents/datasets/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAOR;OACM,EAAE,QAAQ,EAAE;OACZ,EACL,IAAI,GAOL"}
|