@inconvoai/node 0.3.1 → 0.5.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 +34 -0
- package/README.md +54 -22
- 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 +0 -9
- package/client.js.map +1 -1
- package/client.mjs +0 -9
- package/client.mjs.map +1 -1
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- 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 +59 -10
- package/resources/agents/conversations/conversations.d.mts.map +1 -0
- package/resources/{conversations → agents/conversations}/conversations.d.ts +59 -10
- 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 +39 -5
- package/resources/agents/conversations/response/feedback.d.mts.map +1 -0
- package/resources/{conversations → agents/conversations}/response/feedback.d.ts +39 -5
- 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 +41 -9
- package/resources/agents/conversations/response/response.d.mts.map +1 -0
- package/resources/{conversations → agents/conversations}/response/response.d.ts +41 -9
- package/resources/agents/conversations/response/response.d.ts.map +1 -0
- package/resources/{conversations → agents/conversations}/response/response.js +24 -11
- package/resources/agents/conversations/response/response.js.map +1 -0
- package/resources/{conversations → agents/conversations}/response/response.mjs +23 -10
- 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/agents/datasets/context.d.mts +115 -0
- package/resources/agents/datasets/context.d.mts.map +1 -0
- package/resources/agents/datasets/context.d.ts +115 -0
- package/resources/agents/datasets/context.d.ts.map +1 -0
- package/resources/agents/datasets/context.js +64 -0
- package/resources/agents/datasets/context.js.map +1 -0
- package/resources/agents/datasets/context.mjs +60 -0
- package/resources/agents/datasets/context.mjs.map +1 -0
- package/resources/agents/datasets/datasets.d.mts +14 -0
- package/resources/agents/datasets/datasets.d.mts.map +1 -0
- package/resources/agents/datasets/datasets.d.ts +14 -0
- package/resources/agents/datasets/datasets.d.ts.map +1 -0
- package/resources/agents/datasets/datasets.js +21 -0
- package/resources/agents/datasets/datasets.js.map +1 -0
- package/resources/agents/datasets/datasets.mjs +16 -0
- package/resources/agents/datasets/datasets.mjs.map +1 -0
- package/resources/agents/datasets/index.d.mts +4 -0
- package/resources/agents/datasets/index.d.mts.map +1 -0
- package/resources/agents/datasets/index.d.ts +4 -0
- package/resources/agents/datasets/index.d.ts.map +1 -0
- package/resources/agents/datasets/index.js +11 -0
- package/resources/agents/datasets/index.js.map +1 -0
- package/resources/agents/datasets/index.mjs +5 -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 +2 -0
- package/resources/agents/datasets.d.mts.map +1 -0
- package/resources/agents/datasets.d.ts +2 -0
- package/resources/agents/datasets.d.ts.map +1 -0
- package/resources/agents/datasets.js +6 -0
- package/resources/agents/datasets.js.map +1 -0
- package/resources/agents/datasets.mjs +3 -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 +0 -47
- package/src/index.ts +1 -1
- package/src/resources/agents/agents.ts +36 -0
- package/src/resources/{conversations → agents/conversations}/conversations.ts +81 -15
- package/src/resources/{conversations → agents/conversations}/index.ts +1 -0
- package/src/resources/agents/conversations/response/feedback.ts +121 -0
- package/src/resources/{conversations → agents/conversations}/response/response.ts +56 -17
- package/src/resources/agents/data-summary.ts +9 -2
- package/src/resources/agents/datasets/context.ts +174 -0
- package/src/resources/agents/datasets/datasets.ts +53 -0
- package/src/resources/agents/datasets/index.ts +21 -0
- package/src/resources/agents/datasets/user.ts +151 -0
- package/src/resources/agents/datasets.ts +3 -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 -19
- 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 -40
- package/resources/conversations/conversations.js.map +0 -1
- package/resources/conversations/conversations.mjs +0 -35
- 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 -30
- package/resources/conversations/response/feedback.js.map +0 -1
- package/resources/conversations/response/feedback.mjs +0 -26
- 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.d.mts +0 -67
- package/resources/datasets.d.mts.map +0 -1
- package/resources/datasets.d.ts +0 -67
- package/resources/datasets.d.ts.map +0 -1
- package/resources/datasets.js +0 -30
- package/resources/datasets.js.map +0 -1
- package/resources/datasets.mjs +0 -26
- 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/conversations/response/feedback.ts +0 -85
- package/src/resources/datasets.ts +0 -102
- 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/{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/{mcp-servers.ts → agents/mcp-servers.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tenants.js","sourceRoot":"","sources":["../../../src/resources/agents/mcp-servers/tenants.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,WAAmB,EACnB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,WAAW,OAAO,eAAe,WAAW,UAAU,EAAE;YACnF,IAAI,EAAE,MAAM;YACZ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,WAAmB,EACnB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,IAAA,WAAI,EAAA,WAAW,OAAO,eAAe,WAAW,YAAY,UAAU,EAAE,EACxE,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AArDD,0BAqDC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 Tenants extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Create a tenant for an MCP Server
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const tenant =
|
|
11
|
+
* await client.agents.mcpServers.tenants.create(
|
|
12
|
+
* 'mcpserver_id',
|
|
13
|
+
* {
|
|
14
|
+
* agentId: 'agentId',
|
|
15
|
+
* tenant: {
|
|
16
|
+
* 'fromapi@api.com': { organisationId: 'bar' },
|
|
17
|
+
* },
|
|
18
|
+
* },
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
create(mcpserverID, params, options) {
|
|
23
|
+
const { agentId, tenant } = params;
|
|
24
|
+
return this._client.post(path `/agents/${agentId}/mcpservers/${mcpserverID}/tenants`, {
|
|
25
|
+
body: tenant,
|
|
26
|
+
...options,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Delete a tenant mapping from an MCP Server
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const tenant =
|
|
35
|
+
* await client.agents.mcpServers.tenants.delete(
|
|
36
|
+
* 'mcpserver_id',
|
|
37
|
+
* { agentId: 'agentId', tenant_key: 'tenant_key' },
|
|
38
|
+
* );
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
delete(mcpserverID, params, options) {
|
|
42
|
+
const { agentId, tenant_key } = params;
|
|
43
|
+
return this._client.delete(path `/agents/${agentId}/mcpservers/${mcpserverID}/tenants/${tenant_key}`, options);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=tenants.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tenants.mjs","sourceRoot":"","sources":["../../../src/resources/agents/mcp-servers/tenants.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,WAAmB,EACnB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,WAAW,OAAO,eAAe,WAAW,UAAU,EAAE;YACnF,IAAI,EAAE,MAAM;YACZ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,WAAmB,EACnB,MAA0B,EAC1B,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,IAAI,CAAA,WAAW,OAAO,eAAe,WAAW,YAAY,UAAU,EAAE,EACxE,OAAO,CACR,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-servers.d.mts","sourceRoot":"","sources":["../../src/resources/agents/mcp-servers.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-servers.d.ts","sourceRoot":"","sources":["../../src/resources/agents/mcp-servers.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("./mcp-servers/index.js"), exports);
|
|
6
6
|
//# sourceMappingURL=mcp-servers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-servers.js","sourceRoot":"","sources":["../../src/resources/agents/mcp-servers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,iEAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-servers.mjs","sourceRoot":"","sources":["../../src/resources/agents/mcp-servers.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
1
|
export { Agents } from "./agents/agents.mjs";
|
|
2
|
-
export { Conversations, type InconvoConversation, type ConversationCreateResponse, type ConversationListResponse, type ConversationCreateParams, type ConversationListParams, type ConversationListResponsesConversationsCursor, } from "./conversations/conversations.mjs";
|
|
3
|
-
export { Datasets, type DatasetListResponse, type DatasetDeleteResponse, type DatasetUploadResponse, type DatasetListParams, type DatasetDeleteParams, type DatasetUploadParams, } from "./datasets.mjs";
|
|
4
|
-
export { McpServers } from "./mcp-servers/mcp-servers.mjs";
|
|
5
2
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
1
|
export { Agents } from "./agents/agents.js";
|
|
2
|
-
export { Conversations, type InconvoConversation, type ConversationCreateResponse, type ConversationListResponse, type ConversationCreateParams, type ConversationListParams, type ConversationListResponsesConversationsCursor, } from "./conversations/conversations.js";
|
|
3
|
-
export { Datasets, type DatasetListResponse, type DatasetDeleteResponse, type DatasetUploadResponse, type DatasetListParams, type DatasetDeleteParams, type DatasetUploadParams, } from "./datasets.js";
|
|
4
|
-
export { McpServers } from "./mcp-servers/mcp-servers.js";
|
|
5
2
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE"}
|
package/resources/index.js
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
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
|
-
exports.
|
|
4
|
+
exports.Agents = void 0;
|
|
5
5
|
var agents_1 = require("./agents/agents.js");
|
|
6
6
|
Object.defineProperty(exports, "Agents", { enumerable: true, get: function () { return agents_1.Agents; } });
|
|
7
|
-
var conversations_1 = require("./conversations/conversations.js");
|
|
8
|
-
Object.defineProperty(exports, "Conversations", { enumerable: true, get: function () { return conversations_1.Conversations; } });
|
|
9
|
-
var datasets_1 = require("./datasets.js");
|
|
10
|
-
Object.defineProperty(exports, "Datasets", { enumerable: true, get: function () { return datasets_1.Datasets; } });
|
|
11
|
-
var mcp_servers_1 = require("./mcp-servers/mcp-servers.js");
|
|
12
|
-
Object.defineProperty(exports, "McpServers", { enumerable: true, get: function () { return mcp_servers_1.McpServers; } });
|
|
13
7
|
//# sourceMappingURL=index.js.map
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAAyC;AAAhC,gGAAA,MAAM,OAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAAyC;AAAhC,gGAAA,MAAM,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export { Agents } from "./agents/agents.mjs";
|
|
3
|
-
export { Conversations, } from "./conversations/conversations.mjs";
|
|
4
|
-
export { Datasets, } from "./datasets.mjs";
|
|
5
|
-
export { McpServers } from "./mcp-servers/mcp-servers.mjs";
|
|
6
3
|
//# sourceMappingURL=index.mjs.map
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,MAAM,EAAE"}
|
package/src/client.ts
CHANGED
|
@@ -19,26 +19,7 @@ import { AbstractPage, type ConversationsCursorParams, ConversationsCursorRespon
|
|
|
19
19
|
import * as Uploads from './core/uploads';
|
|
20
20
|
import * as API from './resources/index';
|
|
21
21
|
import { APIPromise } from './core/api-promise';
|
|
22
|
-
import {
|
|
23
|
-
DatasetDeleteParams,
|
|
24
|
-
DatasetDeleteResponse,
|
|
25
|
-
DatasetListParams,
|
|
26
|
-
DatasetListResponse,
|
|
27
|
-
DatasetUploadParams,
|
|
28
|
-
DatasetUploadResponse,
|
|
29
|
-
Datasets,
|
|
30
|
-
} from './resources/datasets';
|
|
31
22
|
import { Agents } from './resources/agents/agents';
|
|
32
|
-
import {
|
|
33
|
-
ConversationCreateParams,
|
|
34
|
-
ConversationCreateResponse,
|
|
35
|
-
ConversationListParams,
|
|
36
|
-
ConversationListResponse,
|
|
37
|
-
ConversationListResponsesConversationsCursor,
|
|
38
|
-
Conversations,
|
|
39
|
-
InconvoConversation,
|
|
40
|
-
} from './resources/conversations/conversations';
|
|
41
|
-
import { McpServers } from './resources/mcp-servers/mcp-servers';
|
|
42
23
|
import { type Fetch } from './internal/builtin-types';
|
|
43
24
|
import { HeadersLike, NullableHeaders, buildHeaders } from './internal/headers';
|
|
44
25
|
import { FinalRequestOptions, RequestOptions } from './internal/request-options';
|
|
@@ -739,16 +720,10 @@ export class Inconvo {
|
|
|
739
720
|
|
|
740
721
|
static toFile = Uploads.toFile;
|
|
741
722
|
|
|
742
|
-
conversations: API.Conversations = new API.Conversations(this);
|
|
743
|
-
mcpServers: API.McpServers = new API.McpServers(this);
|
|
744
723
|
agents: API.Agents = new API.Agents(this);
|
|
745
|
-
datasets: API.Datasets = new API.Datasets(this);
|
|
746
724
|
}
|
|
747
725
|
|
|
748
|
-
Inconvo.Conversations = Conversations;
|
|
749
|
-
Inconvo.McpServers = McpServers;
|
|
750
726
|
Inconvo.Agents = Agents;
|
|
751
|
-
Inconvo.Datasets = Datasets;
|
|
752
727
|
|
|
753
728
|
export declare namespace Inconvo {
|
|
754
729
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -759,27 +734,5 @@ export declare namespace Inconvo {
|
|
|
759
734
|
type ConversationsCursorResponse as ConversationsCursorResponse,
|
|
760
735
|
};
|
|
761
736
|
|
|
762
|
-
export {
|
|
763
|
-
Conversations as Conversations,
|
|
764
|
-
type InconvoConversation as InconvoConversation,
|
|
765
|
-
type ConversationCreateResponse as ConversationCreateResponse,
|
|
766
|
-
type ConversationListResponse as ConversationListResponse,
|
|
767
|
-
type ConversationListResponsesConversationsCursor as ConversationListResponsesConversationsCursor,
|
|
768
|
-
type ConversationCreateParams as ConversationCreateParams,
|
|
769
|
-
type ConversationListParams as ConversationListParams,
|
|
770
|
-
};
|
|
771
|
-
|
|
772
|
-
export { McpServers as McpServers };
|
|
773
|
-
|
|
774
737
|
export { Agents as Agents };
|
|
775
|
-
|
|
776
|
-
export {
|
|
777
|
-
Datasets as Datasets,
|
|
778
|
-
type DatasetListResponse as DatasetListResponse,
|
|
779
|
-
type DatasetDeleteResponse as DatasetDeleteResponse,
|
|
780
|
-
type DatasetUploadResponse as DatasetUploadResponse,
|
|
781
|
-
type DatasetListParams as DatasetListParams,
|
|
782
|
-
type DatasetDeleteParams as DatasetDeleteParams,
|
|
783
|
-
type DatasetUploadParams as DatasetUploadParams,
|
|
784
|
-
};
|
|
785
738
|
}
|
package/src/index.ts
CHANGED
|
@@ -3,13 +3,49 @@
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import * as DataSummaryAPI from './data-summary';
|
|
5
5
|
import { DataSummary, DataSummaryRetrieveResponse } from './data-summary';
|
|
6
|
+
import * as ConversationsAPI from './conversations/conversations';
|
|
7
|
+
import {
|
|
8
|
+
ConversationCreateParams,
|
|
9
|
+
ConversationCreateResponse,
|
|
10
|
+
ConversationListParams,
|
|
11
|
+
ConversationListResponse,
|
|
12
|
+
ConversationListResponsesConversationsCursor,
|
|
13
|
+
ConversationRetrieveParams,
|
|
14
|
+
Conversations,
|
|
15
|
+
InconvoConversation,
|
|
16
|
+
} from './conversations/conversations';
|
|
17
|
+
import * as DatasetsAPI from './datasets/datasets';
|
|
18
|
+
import { Datasets } from './datasets/datasets';
|
|
19
|
+
import * as McpServersAPI from './mcp-servers/mcp-servers';
|
|
20
|
+
import { McpServers } from './mcp-servers/mcp-servers';
|
|
6
21
|
|
|
7
22
|
export class Agents extends APIResource {
|
|
8
23
|
dataSummary: DataSummaryAPI.DataSummary = new DataSummaryAPI.DataSummary(this._client);
|
|
24
|
+
conversations: ConversationsAPI.Conversations = new ConversationsAPI.Conversations(this._client);
|
|
25
|
+
datasets: DatasetsAPI.Datasets = new DatasetsAPI.Datasets(this._client);
|
|
26
|
+
mcpServers: McpServersAPI.McpServers = new McpServersAPI.McpServers(this._client);
|
|
9
27
|
}
|
|
10
28
|
|
|
11
29
|
Agents.DataSummary = DataSummary;
|
|
30
|
+
Agents.Conversations = Conversations;
|
|
31
|
+
Agents.Datasets = Datasets;
|
|
32
|
+
Agents.McpServers = McpServers;
|
|
12
33
|
|
|
13
34
|
export declare namespace Agents {
|
|
14
35
|
export { DataSummary as DataSummary, type DataSummaryRetrieveResponse as DataSummaryRetrieveResponse };
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
Conversations as Conversations,
|
|
39
|
+
type InconvoConversation as InconvoConversation,
|
|
40
|
+
type ConversationCreateResponse as ConversationCreateResponse,
|
|
41
|
+
type ConversationListResponse as ConversationListResponse,
|
|
42
|
+
type ConversationListResponsesConversationsCursor as ConversationListResponsesConversationsCursor,
|
|
43
|
+
type ConversationCreateParams as ConversationCreateParams,
|
|
44
|
+
type ConversationRetrieveParams as ConversationRetrieveParams,
|
|
45
|
+
type ConversationListParams as ConversationListParams,
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export { Datasets as Datasets };
|
|
49
|
+
|
|
50
|
+
export { McpServers as McpServers };
|
|
15
51
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
4
|
import * as ResponseAPI from './response/response';
|
|
5
5
|
import {
|
|
6
6
|
Chart,
|
|
@@ -11,39 +11,76 @@ import {
|
|
|
11
11
|
ResponseRetrieveResponse,
|
|
12
12
|
Table,
|
|
13
13
|
} from './response/response';
|
|
14
|
-
import { APIPromise } from '
|
|
15
|
-
import { ConversationsCursor, type ConversationsCursorParams, PagePromise } from '
|
|
16
|
-
import { RequestOptions } from '
|
|
17
|
-
import { path } from '
|
|
14
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
15
|
+
import { ConversationsCursor, type ConversationsCursorParams, PagePromise } from '../../../core/pagination';
|
|
16
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
17
|
+
import { path } from '../../../internal/utils/path';
|
|
18
18
|
|
|
19
19
|
export class Conversations extends APIResource {
|
|
20
20
|
response: ResponseAPI.Response = new ResponseAPI.Response(this._client);
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Create conversation
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const conversation =
|
|
28
|
+
* await client.agents.conversations.create('agentId', {
|
|
29
|
+
* userIdentifier: 'user_123',
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
24
32
|
*/
|
|
25
|
-
create(
|
|
26
|
-
|
|
33
|
+
create(
|
|
34
|
+
agentID: string,
|
|
35
|
+
body: ConversationCreateParams,
|
|
36
|
+
options?: RequestOptions,
|
|
37
|
+
): APIPromise<ConversationCreateResponse> {
|
|
38
|
+
return this._client.post(path`/agents/${agentID}/conversations`, { body, ...options });
|
|
27
39
|
}
|
|
28
40
|
|
|
29
41
|
/**
|
|
30
42
|
* Retrieve conversation
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* const inconvoConversation =
|
|
47
|
+
* await client.agents.conversations.retrieve('id', {
|
|
48
|
+
* agentId: 'agentId',
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
31
51
|
*/
|
|
32
|
-
retrieve(
|
|
33
|
-
|
|
52
|
+
retrieve(
|
|
53
|
+
id: string,
|
|
54
|
+
params: ConversationRetrieveParams,
|
|
55
|
+
options?: RequestOptions,
|
|
56
|
+
): APIPromise<InconvoConversation> {
|
|
57
|
+
const { agentId } = params;
|
|
58
|
+
return this._client.get(path`/agents/${agentId}/conversations/${id}`, options);
|
|
34
59
|
}
|
|
35
60
|
|
|
36
61
|
/**
|
|
37
62
|
* List conversations
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ```ts
|
|
66
|
+
* // Automatically fetches more pages as needed.
|
|
67
|
+
* for await (const conversationListResponse of client.agents.conversations.list(
|
|
68
|
+
* 'agentId',
|
|
69
|
+
* )) {
|
|
70
|
+
* // ...
|
|
71
|
+
* }
|
|
72
|
+
* ```
|
|
38
73
|
*/
|
|
39
74
|
list(
|
|
75
|
+
agentID: string,
|
|
40
76
|
query: ConversationListParams | null | undefined = {},
|
|
41
77
|
options?: RequestOptions,
|
|
42
78
|
): PagePromise<ConversationListResponsesConversationsCursor, ConversationListResponse> {
|
|
43
|
-
return this._client.getAPIList(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
79
|
+
return this._client.getAPIList(
|
|
80
|
+
path`/agents/${agentID}/conversations`,
|
|
81
|
+
ConversationsCursor<ConversationListResponse>,
|
|
82
|
+
{ query, ...options },
|
|
83
|
+
);
|
|
47
84
|
}
|
|
48
85
|
}
|
|
49
86
|
|
|
@@ -55,6 +92,11 @@ export interface InconvoConversation {
|
|
|
55
92
|
messages: Array<InconvoConversation.Message>;
|
|
56
93
|
|
|
57
94
|
userContext: { [key: string]: string | number };
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Unique identifier for the end-user (may be null for legacy conversations)
|
|
98
|
+
*/
|
|
99
|
+
userIdentifier?: string | null;
|
|
58
100
|
}
|
|
59
101
|
|
|
60
102
|
export namespace InconvoConversation {
|
|
@@ -89,13 +131,31 @@ export interface ConversationListResponse {
|
|
|
89
131
|
title: string;
|
|
90
132
|
|
|
91
133
|
userContext: { [key: string]: string | number };
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Unique identifier for the end-user (may be null for legacy conversations)
|
|
137
|
+
*/
|
|
138
|
+
userIdentifier?: string | null;
|
|
92
139
|
}
|
|
93
140
|
|
|
94
141
|
export interface ConversationCreateParams {
|
|
95
142
|
/**
|
|
96
|
-
*
|
|
143
|
+
* Unique identifier for the end-user (1-256 chars). Allowed characters:
|
|
144
|
+
* alphanumeric, underscore, hyphen, colon, period, at symbol.
|
|
145
|
+
*/
|
|
146
|
+
userIdentifier: string;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Optional context key-values for additional filtering/tenancy.
|
|
97
150
|
*/
|
|
98
|
-
userContext
|
|
151
|
+
userContext?: { [key: string]: unknown };
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export interface ConversationRetrieveParams {
|
|
155
|
+
/**
|
|
156
|
+
* The unique identifier of the agent
|
|
157
|
+
*/
|
|
158
|
+
agentId: string;
|
|
99
159
|
}
|
|
100
160
|
|
|
101
161
|
export interface ConversationListParams extends ConversationsCursorParams {
|
|
@@ -104,6 +164,11 @@ export interface ConversationListParams extends ConversationsCursorParams {
|
|
|
104
164
|
* /conversations?userContext[userId]=42&userContext[orgId]=12
|
|
105
165
|
*/
|
|
106
166
|
userContext?: { [key: string]: string | number };
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Filter by user identifier
|
|
170
|
+
*/
|
|
171
|
+
userIdentifier?: string;
|
|
107
172
|
}
|
|
108
173
|
|
|
109
174
|
Conversations.Response = Response;
|
|
@@ -115,6 +180,7 @@ export declare namespace Conversations {
|
|
|
115
180
|
type ConversationListResponse as ConversationListResponse,
|
|
116
181
|
type ConversationListResponsesConversationsCursor as ConversationListResponsesConversationsCursor,
|
|
117
182
|
type ConversationCreateParams as ConversationCreateParams,
|
|
183
|
+
type ConversationRetrieveParams as ConversationRetrieveParams,
|
|
118
184
|
type ConversationListParams as ConversationListParams,
|
|
119
185
|
};
|
|
120
186
|
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../../../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../../../../internal/request-options';
|
|
6
|
+
import { path } from '../../../../internal/utils/path';
|
|
7
|
+
|
|
8
|
+
export class FeedbackResource extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Create feedback
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const feedback =
|
|
15
|
+
* await client.agents.conversations.response.feedback.create(
|
|
16
|
+
* 'response_id',
|
|
17
|
+
* {
|
|
18
|
+
* agentId: 'agentId',
|
|
19
|
+
* convo_id: 'convo_id',
|
|
20
|
+
* rating: 'positive',
|
|
21
|
+
* },
|
|
22
|
+
* );
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
create(responseID: string, params: FeedbackCreateParams, options?: RequestOptions): APIPromise<Feedback> {
|
|
26
|
+
const { agentId, convo_id, ...body } = params;
|
|
27
|
+
return this._client.post(
|
|
28
|
+
path`/agents/${agentId}/conversations/${convo_id}/response/${responseID}/feedback`,
|
|
29
|
+
{ body, ...options },
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Update feedback
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const feedback =
|
|
39
|
+
* await client.agents.conversations.response.feedback.update(
|
|
40
|
+
* 'feedback_id',
|
|
41
|
+
* {
|
|
42
|
+
* agentId: 'agentId',
|
|
43
|
+
* convo_id: 'convo_id',
|
|
44
|
+
* response_id: 'response_id',
|
|
45
|
+
* },
|
|
46
|
+
* );
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
update(feedbackID: string, params: FeedbackUpdateParams, options?: RequestOptions): APIPromise<Feedback> {
|
|
50
|
+
const { agentId, convo_id, response_id, ...body } = params;
|
|
51
|
+
return this._client.patch(
|
|
52
|
+
path`/agents/${agentId}/conversations/${convo_id}/response/${response_id}/feedback/${feedbackID}`,
|
|
53
|
+
{ body, ...options },
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface Feedback {
|
|
59
|
+
id: string;
|
|
60
|
+
|
|
61
|
+
rating: 'positive' | 'negative';
|
|
62
|
+
|
|
63
|
+
comment?: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export interface FeedbackCreateParams {
|
|
67
|
+
/**
|
|
68
|
+
* Path param: The unique identifier of the agent
|
|
69
|
+
*/
|
|
70
|
+
agentId: string;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Path param
|
|
74
|
+
*/
|
|
75
|
+
convo_id: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Body param
|
|
79
|
+
*/
|
|
80
|
+
rating: 'positive' | 'negative';
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Body param
|
|
84
|
+
*/
|
|
85
|
+
comment?: string;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export interface FeedbackUpdateParams {
|
|
89
|
+
/**
|
|
90
|
+
* Path param: The unique identifier of the agent
|
|
91
|
+
*/
|
|
92
|
+
agentId: string;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Path param
|
|
96
|
+
*/
|
|
97
|
+
convo_id: string;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Path param
|
|
101
|
+
*/
|
|
102
|
+
response_id: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Body param
|
|
106
|
+
*/
|
|
107
|
+
comment?: string;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Body param
|
|
111
|
+
*/
|
|
112
|
+
rating?: 'positive' | 'negative';
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export declare namespace FeedbackResource {
|
|
116
|
+
export {
|
|
117
|
+
type Feedback as Feedback,
|
|
118
|
+
type FeedbackCreateParams as FeedbackCreateParams,
|
|
119
|
+
type FeedbackUpdateParams as FeedbackUpdateParams,
|
|
120
|
+
};
|
|
121
|
+
}
|