@inconvoai/node 0.4.0 → 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.
Files changed (284) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +36 -19
  3. package/client.d.mts +0 -9
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +0 -9
  6. package/client.d.ts.map +1 -1
  7. package/client.js +0 -9
  8. package/client.js.map +1 -1
  9. package/client.mjs +0 -9
  10. package/client.mjs.map +1 -1
  11. package/index.d.mts +1 -1
  12. package/index.d.ts +1 -1
  13. package/package.json +1 -1
  14. package/resources/agents/agents.d.mts +12 -0
  15. package/resources/agents/agents.d.mts.map +1 -1
  16. package/resources/agents/agents.d.ts +12 -0
  17. package/resources/agents/agents.d.ts.map +1 -1
  18. package/resources/agents/agents.js +12 -0
  19. package/resources/agents/agents.js.map +1 -1
  20. package/resources/agents/agents.mjs +12 -0
  21. package/resources/agents/agents.mjs.map +1 -1
  22. package/resources/{conversations → agents/conversations}/conversations.d.mts +24 -13
  23. package/resources/agents/conversations/conversations.d.mts.map +1 -0
  24. package/resources/{conversations → agents/conversations}/conversations.d.ts +24 -13
  25. package/resources/agents/conversations/conversations.d.ts.map +1 -0
  26. package/resources/agents/conversations/conversations.js +64 -0
  27. package/resources/agents/conversations/conversations.js.map +1 -0
  28. package/resources/agents/conversations/conversations.mjs +59 -0
  29. package/resources/agents/conversations/conversations.mjs.map +1 -0
  30. package/resources/{conversations → agents/conversations}/index.d.mts +1 -1
  31. package/resources/agents/conversations/index.d.mts.map +1 -0
  32. package/resources/{conversations → agents/conversations}/index.d.ts +1 -1
  33. package/resources/agents/conversations/index.d.ts.map +1 -0
  34. package/resources/agents/conversations/index.js.map +1 -0
  35. package/resources/agents/conversations/index.mjs.map +1 -0
  36. package/resources/{conversations → agents/conversations}/response/feedback.d.mts +25 -9
  37. package/resources/agents/conversations/response/feedback.d.mts.map +1 -0
  38. package/resources/{conversations → agents/conversations}/response/feedback.d.ts +25 -9
  39. package/resources/agents/conversations/response/feedback.d.ts.map +1 -0
  40. package/resources/agents/conversations/response/feedback.js +50 -0
  41. package/resources/agents/conversations/response/feedback.js.map +1 -0
  42. package/resources/agents/conversations/response/feedback.mjs +46 -0
  43. package/resources/agents/conversations/response/feedback.mjs.map +1 -0
  44. package/resources/agents/conversations/response/index.d.mts.map +1 -0
  45. package/resources/agents/conversations/response/index.d.ts.map +1 -0
  46. package/resources/agents/conversations/response/index.js.map +1 -0
  47. package/resources/agents/conversations/response/index.mjs.map +1 -0
  48. package/resources/{conversations → agents/conversations}/response/response.d.mts +30 -15
  49. package/resources/agents/conversations/response/response.d.mts.map +1 -0
  50. package/resources/{conversations → agents/conversations}/response/response.d.ts +30 -15
  51. package/resources/agents/conversations/response/response.d.ts.map +1 -0
  52. package/resources/{conversations → agents/conversations}/response/response.js +17 -13
  53. package/resources/agents/conversations/response/response.js.map +1 -0
  54. package/resources/{conversations → agents/conversations}/response/response.mjs +16 -12
  55. package/resources/agents/conversations/response/response.mjs.map +1 -0
  56. package/resources/agents/conversations/response.d.mts.map +1 -0
  57. package/resources/agents/conversations/response.d.ts.map +1 -0
  58. package/resources/{conversations → agents/conversations}/response.js +1 -1
  59. package/resources/agents/conversations/response.js.map +1 -0
  60. package/resources/agents/conversations/response.mjs.map +1 -0
  61. package/resources/agents/conversations.d.mts.map +1 -0
  62. package/resources/agents/conversations.d.ts.map +1 -0
  63. package/resources/{conversations.js → agents/conversations.js} +1 -1
  64. package/resources/agents/conversations.js.map +1 -0
  65. package/resources/agents/conversations.mjs.map +1 -0
  66. package/resources/agents/data-summary.d.mts +7 -1
  67. package/resources/agents/data-summary.d.mts.map +1 -1
  68. package/resources/agents/data-summary.d.ts +7 -1
  69. package/resources/agents/data-summary.d.ts.map +1 -1
  70. package/resources/agents/data-summary.js +9 -2
  71. package/resources/agents/data-summary.js.map +1 -1
  72. package/resources/agents/data-summary.mjs +9 -2
  73. package/resources/agents/data-summary.mjs.map +1 -1
  74. package/resources/{datasets → agents/datasets}/context.d.mts +28 -13
  75. package/resources/agents/datasets/context.d.mts.map +1 -0
  76. package/resources/{datasets → agents/datasets}/context.d.ts +28 -13
  77. package/resources/agents/datasets/context.d.ts.map +1 -0
  78. package/resources/agents/datasets/context.js +64 -0
  79. package/resources/agents/datasets/context.js.map +1 -0
  80. package/resources/agents/datasets/context.mjs +60 -0
  81. package/resources/agents/datasets/context.mjs.map +1 -0
  82. package/resources/{datasets → agents/datasets}/datasets.d.mts +3 -3
  83. package/resources/agents/datasets/datasets.d.mts.map +1 -0
  84. package/resources/{datasets → agents/datasets}/datasets.d.ts +3 -3
  85. package/resources/agents/datasets/datasets.d.ts.map +1 -0
  86. package/resources/{datasets → agents/datasets}/datasets.js +2 -2
  87. package/resources/agents/datasets/datasets.js.map +1 -0
  88. package/resources/{datasets → agents/datasets}/datasets.mjs +1 -1
  89. package/resources/agents/datasets/datasets.mjs.map +1 -0
  90. package/resources/{datasets → agents/datasets}/index.d.mts +1 -1
  91. package/resources/agents/datasets/index.d.mts.map +1 -0
  92. package/resources/{datasets → agents/datasets}/index.d.ts +1 -1
  93. package/resources/agents/datasets/index.d.ts.map +1 -0
  94. package/resources/agents/datasets/index.js.map +1 -0
  95. package/resources/agents/datasets/index.mjs.map +1 -0
  96. package/resources/agents/datasets/user.d.mts +98 -0
  97. package/resources/agents/datasets/user.d.mts.map +1 -0
  98. package/resources/agents/datasets/user.d.ts +98 -0
  99. package/resources/agents/datasets/user.d.ts.map +1 -0
  100. package/resources/agents/datasets/user.js +59 -0
  101. package/resources/agents/datasets/user.js.map +1 -0
  102. package/resources/agents/datasets/user.mjs +55 -0
  103. package/resources/agents/datasets/user.mjs.map +1 -0
  104. package/resources/agents/datasets.d.mts.map +1 -0
  105. package/resources/agents/datasets.d.ts.map +1 -0
  106. package/resources/{datasets.js → agents/datasets.js} +1 -1
  107. package/resources/agents/datasets.js.map +1 -0
  108. package/resources/agents/datasets.mjs.map +1 -0
  109. package/resources/agents/index.d.mts +3 -0
  110. package/resources/agents/index.d.mts.map +1 -1
  111. package/resources/agents/index.d.ts +3 -0
  112. package/resources/agents/index.d.ts.map +1 -1
  113. package/resources/agents/index.js +7 -1
  114. package/resources/agents/index.js.map +1 -1
  115. package/resources/agents/index.mjs +3 -0
  116. package/resources/agents/index.mjs.map +1 -1
  117. package/resources/agents/mcp-servers/index.d.mts +3 -0
  118. package/resources/agents/mcp-servers/index.d.mts.map +1 -0
  119. package/resources/agents/mcp-servers/index.d.ts +3 -0
  120. package/resources/agents/mcp-servers/index.d.ts.map +1 -0
  121. package/resources/agents/mcp-servers/index.js.map +1 -0
  122. package/resources/agents/mcp-servers/index.mjs.map +1 -0
  123. package/resources/agents/mcp-servers/mcp-servers.d.mts +10 -0
  124. package/resources/agents/mcp-servers/mcp-servers.d.mts.map +1 -0
  125. package/resources/agents/mcp-servers/mcp-servers.d.ts +10 -0
  126. package/resources/agents/mcp-servers/mcp-servers.d.ts.map +1 -0
  127. package/resources/{mcp-servers → agents/mcp-servers}/mcp-servers.js +2 -2
  128. package/resources/agents/mcp-servers/mcp-servers.js.map +1 -0
  129. package/resources/{mcp-servers → agents/mcp-servers}/mcp-servers.mjs +2 -2
  130. package/resources/agents/mcp-servers/mcp-servers.mjs.map +1 -0
  131. package/resources/agents/mcp-servers/tenants.d.mts +79 -0
  132. package/resources/agents/mcp-servers/tenants.d.mts.map +1 -0
  133. package/resources/agents/mcp-servers/tenants.d.ts +79 -0
  134. package/resources/agents/mcp-servers/tenants.d.ts.map +1 -0
  135. package/resources/agents/mcp-servers/tenants.js +50 -0
  136. package/resources/agents/mcp-servers/tenants.js.map +1 -0
  137. package/resources/agents/mcp-servers/tenants.mjs +46 -0
  138. package/resources/agents/mcp-servers/tenants.mjs.map +1 -0
  139. package/resources/agents/mcp-servers.d.mts.map +1 -0
  140. package/resources/agents/mcp-servers.d.ts.map +1 -0
  141. package/resources/{mcp-servers.js → agents/mcp-servers.js} +1 -1
  142. package/resources/agents/mcp-servers.js.map +1 -0
  143. package/resources/agents/mcp-servers.mjs.map +1 -0
  144. package/resources/index.d.mts +0 -3
  145. package/resources/index.d.mts.map +1 -1
  146. package/resources/index.d.ts +0 -3
  147. package/resources/index.d.ts.map +1 -1
  148. package/resources/index.js +1 -7
  149. package/resources/index.js.map +1 -1
  150. package/resources/index.mjs +0 -3
  151. package/resources/index.mjs.map +1 -1
  152. package/src/client.ts +0 -31
  153. package/src/index.ts +1 -1
  154. package/src/resources/agents/agents.ts +36 -0
  155. package/src/resources/{conversations → agents/conversations}/conversations.ts +42 -18
  156. package/src/resources/{conversations → agents/conversations}/index.ts +1 -0
  157. package/src/resources/{conversations → agents/conversations}/response/feedback.ts +38 -20
  158. package/src/resources/{conversations → agents/conversations}/response/response.ts +45 -23
  159. package/src/resources/agents/data-summary.ts +9 -2
  160. package/src/resources/{datasets → agents/datasets}/context.ts +42 -21
  161. package/src/resources/{datasets → agents/datasets}/datasets.ts +3 -1
  162. package/src/resources/{datasets → agents/datasets}/index.ts +1 -0
  163. package/src/resources/agents/datasets/user.ts +151 -0
  164. package/src/resources/agents/index.ts +12 -0
  165. package/src/resources/{mcp-servers → agents/mcp-servers}/index.ts +1 -0
  166. package/src/resources/{mcp-servers → agents/mcp-servers}/mcp-servers.ts +9 -2
  167. package/src/resources/agents/mcp-servers/tenants.ts +108 -0
  168. package/src/resources/index.ts +0 -11
  169. package/src/version.ts +1 -1
  170. package/version.d.mts +1 -1
  171. package/version.d.ts +1 -1
  172. package/version.js +1 -1
  173. package/version.mjs +1 -1
  174. package/resources/conversations/conversations.d.mts.map +0 -1
  175. package/resources/conversations/conversations.d.ts.map +0 -1
  176. package/resources/conversations/conversations.js +0 -61
  177. package/resources/conversations/conversations.js.map +0 -1
  178. package/resources/conversations/conversations.mjs +0 -56
  179. package/resources/conversations/conversations.mjs.map +0 -1
  180. package/resources/conversations/index.d.mts.map +0 -1
  181. package/resources/conversations/index.d.ts.map +0 -1
  182. package/resources/conversations/index.js.map +0 -1
  183. package/resources/conversations/index.mjs.map +0 -1
  184. package/resources/conversations/response/feedback.d.mts.map +0 -1
  185. package/resources/conversations/response/feedback.d.ts.map +0 -1
  186. package/resources/conversations/response/feedback.js +0 -48
  187. package/resources/conversations/response/feedback.js.map +0 -1
  188. package/resources/conversations/response/feedback.mjs +0 -44
  189. package/resources/conversations/response/feedback.mjs.map +0 -1
  190. package/resources/conversations/response/index.d.mts.map +0 -1
  191. package/resources/conversations/response/index.d.ts.map +0 -1
  192. package/resources/conversations/response/index.js.map +0 -1
  193. package/resources/conversations/response/index.mjs.map +0 -1
  194. package/resources/conversations/response/response.d.mts.map +0 -1
  195. package/resources/conversations/response/response.d.ts.map +0 -1
  196. package/resources/conversations/response/response.js.map +0 -1
  197. package/resources/conversations/response/response.mjs.map +0 -1
  198. package/resources/conversations/response.d.mts.map +0 -1
  199. package/resources/conversations/response.d.ts.map +0 -1
  200. package/resources/conversations/response.js.map +0 -1
  201. package/resources/conversations/response.mjs.map +0 -1
  202. package/resources/conversations.d.mts.map +0 -1
  203. package/resources/conversations.d.ts.map +0 -1
  204. package/resources/conversations.js.map +0 -1
  205. package/resources/conversations.mjs.map +0 -1
  206. package/resources/datasets/context.d.mts.map +0 -1
  207. package/resources/datasets/context.d.ts.map +0 -1
  208. package/resources/datasets/context.js +0 -61
  209. package/resources/datasets/context.js.map +0 -1
  210. package/resources/datasets/context.mjs +0 -57
  211. package/resources/datasets/context.mjs.map +0 -1
  212. package/resources/datasets/datasets.d.mts.map +0 -1
  213. package/resources/datasets/datasets.d.ts.map +0 -1
  214. package/resources/datasets/datasets.js.map +0 -1
  215. package/resources/datasets/datasets.mjs.map +0 -1
  216. package/resources/datasets/index.d.mts.map +0 -1
  217. package/resources/datasets/index.d.ts.map +0 -1
  218. package/resources/datasets/index.js.map +0 -1
  219. package/resources/datasets/index.mjs.map +0 -1
  220. package/resources/datasets/user.d.mts +0 -77
  221. package/resources/datasets/user.d.mts.map +0 -1
  222. package/resources/datasets/user.d.ts +0 -77
  223. package/resources/datasets/user.d.ts.map +0 -1
  224. package/resources/datasets/user.js +0 -50
  225. package/resources/datasets/user.js.map +0 -1
  226. package/resources/datasets/user.mjs +0 -46
  227. package/resources/datasets/user.mjs.map +0 -1
  228. package/resources/datasets.d.mts.map +0 -1
  229. package/resources/datasets.d.ts.map +0 -1
  230. package/resources/datasets.js.map +0 -1
  231. package/resources/datasets.mjs.map +0 -1
  232. package/resources/mcp-servers/index.d.mts +0 -3
  233. package/resources/mcp-servers/index.d.mts.map +0 -1
  234. package/resources/mcp-servers/index.d.ts +0 -3
  235. package/resources/mcp-servers/index.d.ts.map +0 -1
  236. package/resources/mcp-servers/index.js.map +0 -1
  237. package/resources/mcp-servers/index.mjs.map +0 -1
  238. package/resources/mcp-servers/mcp-servers.d.mts +0 -10
  239. package/resources/mcp-servers/mcp-servers.d.mts.map +0 -1
  240. package/resources/mcp-servers/mcp-servers.d.ts +0 -10
  241. package/resources/mcp-servers/mcp-servers.d.ts.map +0 -1
  242. package/resources/mcp-servers/mcp-servers.js.map +0 -1
  243. package/resources/mcp-servers/mcp-servers.mjs.map +0 -1
  244. package/resources/mcp-servers/tenants.d.mts +0 -63
  245. package/resources/mcp-servers/tenants.d.mts.map +0 -1
  246. package/resources/mcp-servers/tenants.d.ts +0 -63
  247. package/resources/mcp-servers/tenants.d.ts.map +0 -1
  248. package/resources/mcp-servers/tenants.js +0 -47
  249. package/resources/mcp-servers/tenants.js.map +0 -1
  250. package/resources/mcp-servers/tenants.mjs +0 -43
  251. package/resources/mcp-servers/tenants.mjs.map +0 -1
  252. package/resources/mcp-servers.d.mts.map +0 -1
  253. package/resources/mcp-servers.d.ts.map +0 -1
  254. package/resources/mcp-servers.js.map +0 -1
  255. package/resources/mcp-servers.mjs.map +0 -1
  256. package/src/resources/datasets/user.ts +0 -120
  257. package/src/resources/mcp-servers/tenants.ts +0 -81
  258. /package/resources/{conversations → agents/conversations}/index.js +0 -0
  259. /package/resources/{conversations → agents/conversations}/index.mjs +0 -0
  260. /package/resources/{conversations → agents/conversations}/response/index.d.mts +0 -0
  261. /package/resources/{conversations → agents/conversations}/response/index.d.ts +0 -0
  262. /package/resources/{conversations → agents/conversations}/response/index.js +0 -0
  263. /package/resources/{conversations → agents/conversations}/response/index.mjs +0 -0
  264. /package/resources/{conversations → agents/conversations}/response.d.mts +0 -0
  265. /package/resources/{conversations → agents/conversations}/response.d.ts +0 -0
  266. /package/resources/{conversations → agents/conversations}/response.mjs +0 -0
  267. /package/resources/{conversations.d.mts → agents/conversations.d.mts} +0 -0
  268. /package/resources/{conversations.d.ts → agents/conversations.d.ts} +0 -0
  269. /package/resources/{conversations.mjs → agents/conversations.mjs} +0 -0
  270. /package/resources/{datasets → agents/datasets}/index.js +0 -0
  271. /package/resources/{datasets → agents/datasets}/index.mjs +0 -0
  272. /package/resources/{datasets.d.mts → agents/datasets.d.mts} +0 -0
  273. /package/resources/{datasets.d.ts → agents/datasets.d.ts} +0 -0
  274. /package/resources/{datasets.mjs → agents/datasets.mjs} +0 -0
  275. /package/resources/{mcp-servers → agents/mcp-servers}/index.js +0 -0
  276. /package/resources/{mcp-servers → agents/mcp-servers}/index.mjs +0 -0
  277. /package/resources/{mcp-servers.d.mts → agents/mcp-servers.d.mts} +0 -0
  278. /package/resources/{mcp-servers.d.ts → agents/mcp-servers.d.ts} +0 -0
  279. /package/resources/{mcp-servers.mjs → agents/mcp-servers.mjs} +0 -0
  280. /package/src/resources/{conversations → agents/conversations}/response/index.ts +0 -0
  281. /package/src/resources/{conversations → agents/conversations}/response.ts +0 -0
  282. /package/src/resources/{conversations.ts → agents/conversations.ts} +0 -0
  283. /package/src/resources/{datasets.ts → agents/datasets.ts} +0 -0
  284. /package/src/resources/{mcp-servers.ts → agents/mcp-servers.ts} +0 -0
@@ -6,12 +6,24 @@ const tslib_1 = require("../../internal/tslib.js");
6
6
  const resource_1 = require("../../core/resource.js");
7
7
  const DataSummaryAPI = tslib_1.__importStar(require("./data-summary.js"));
8
8
  const data_summary_1 = require("./data-summary.js");
9
+ const ConversationsAPI = tslib_1.__importStar(require("./conversations/conversations.js"));
10
+ const conversations_1 = require("./conversations/conversations.js");
11
+ const DatasetsAPI = tslib_1.__importStar(require("./datasets/datasets.js"));
12
+ const datasets_1 = require("./datasets/datasets.js");
13
+ const McpServersAPI = tslib_1.__importStar(require("./mcp-servers/mcp-servers.js"));
14
+ const mcp_servers_1 = require("./mcp-servers/mcp-servers.js");
9
15
  class Agents extends resource_1.APIResource {
10
16
  constructor() {
11
17
  super(...arguments);
12
18
  this.dataSummary = new DataSummaryAPI.DataSummary(this._client);
19
+ this.conversations = new ConversationsAPI.Conversations(this._client);
20
+ this.datasets = new DatasetsAPI.Datasets(this._client);
21
+ this.mcpServers = new McpServersAPI.McpServers(this._client);
13
22
  }
14
23
  }
15
24
  exports.Agents = Agents;
16
25
  Agents.DataSummary = data_summary_1.DataSummary;
26
+ Agents.Conversations = conversations_1.Conversations;
27
+ Agents.Datasets = datasets_1.Datasets;
28
+ Agents.McpServers = mcp_servers_1.McpServers;
17
29
  //# sourceMappingURL=agents.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"agents.js","sourceRoot":"","sources":["../../src/resources/agents/agents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,0EAAiD;AACjD,oDAA0E;AAE1E,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzF,CAAC;CAAA;AAFD,wBAEC;AAED,MAAM,CAAC,WAAW,GAAG,0BAAW,CAAC"}
1
+ {"version":3,"file":"agents.js","sourceRoot":"","sources":["../../src/resources/agents/agents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,0EAAiD;AACjD,oDAA0E;AAC1E,2FAAkE;AAClE,oEASuC;AACvC,4EAAmD;AACnD,qDAA+C;AAC/C,oFAA2D;AAC3D,8DAAuD;AAEvD,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjG,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACpF,CAAC;CAAA;AALD,wBAKC;AAED,MAAM,CAAC,WAAW,GAAG,0BAAW,CAAC;AACjC,MAAM,CAAC,aAAa,GAAG,6BAAa,CAAC;AACrC,MAAM,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC3B,MAAM,CAAC,UAAU,GAAG,wBAAU,CAAC"}
@@ -2,11 +2,23 @@
2
2
  import { APIResource } from "../../core/resource.mjs";
3
3
  import * as DataSummaryAPI from "./data-summary.mjs";
4
4
  import { DataSummary } from "./data-summary.mjs";
5
+ import * as ConversationsAPI from "./conversations/conversations.mjs";
6
+ import { Conversations, } from "./conversations/conversations.mjs";
7
+ import * as DatasetsAPI from "./datasets/datasets.mjs";
8
+ import { Datasets } from "./datasets/datasets.mjs";
9
+ import * as McpServersAPI from "./mcp-servers/mcp-servers.mjs";
10
+ import { McpServers } from "./mcp-servers/mcp-servers.mjs";
5
11
  export class Agents extends APIResource {
6
12
  constructor() {
7
13
  super(...arguments);
8
14
  this.dataSummary = new DataSummaryAPI.DataSummary(this._client);
15
+ this.conversations = new ConversationsAPI.Conversations(this._client);
16
+ this.datasets = new DatasetsAPI.Datasets(this._client);
17
+ this.mcpServers = new McpServersAPI.McpServers(this._client);
9
18
  }
10
19
  }
11
20
  Agents.DataSummary = DataSummary;
21
+ Agents.Conversations = Conversations;
22
+ Agents.Datasets = Datasets;
23
+ Agents.McpServers = McpServers;
12
24
  //# sourceMappingURL=agents.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"agents.mjs","sourceRoot":"","sources":["../../src/resources/agents/agents.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,WAAW,EAA+B;AAEnD,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzF,CAAC;CAAA;AAED,MAAM,CAAC,WAAW,GAAG,WAAW,CAAC"}
1
+ {"version":3,"file":"agents.mjs","sourceRoot":"","sources":["../../src/resources/agents/agents.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,WAAW,EAA+B;OAC5C,KAAK,gBAAgB;OACrB,EAOL,aAAa,GAEd;OACM,KAAK,WAAW;OAChB,EAAE,QAAQ,EAAE;OACZ,KAAK,aAAa;OAClB,EAAE,UAAU,EAAE;AAErB,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjG,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACpF,CAAC;CAAA;AAED,MAAM,CAAC,WAAW,GAAG,WAAW,CAAC;AACjC,MAAM,CAAC,aAAa,GAAG,aAAa,CAAC;AACrC,MAAM,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC3B,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC"}
@@ -1,9 +1,9 @@
1
- import { APIResource } from "../../core/resource.mjs";
1
+ import { APIResource } from "../../../core/resource.mjs";
2
2
  import * as ResponseAPI from "./response/response.mjs";
3
3
  import { Chart, Response, ResponseCreateParams, ResponseCreateResponse, ResponseRetrieveParams, ResponseRetrieveResponse, Table } from "./response/response.mjs";
4
- import { APIPromise } from "../../core/api-promise.mjs";
5
- import { ConversationsCursor, type ConversationsCursorParams, PagePromise } from "../../core/pagination.mjs";
6
- import { RequestOptions } from "../../internal/request-options.mjs";
4
+ import { APIPromise } from "../../../core/api-promise.mjs";
5
+ import { ConversationsCursor, type ConversationsCursorParams, PagePromise } from "../../../core/pagination.mjs";
6
+ import { RequestOptions } from "../../../internal/request-options.mjs";
7
7
  export declare class Conversations extends APIResource {
8
8
  response: ResponseAPI.Response;
9
9
  /**
@@ -11,34 +11,39 @@ export declare class Conversations extends APIResource {
11
11
  *
12
12
  * @example
13
13
  * ```ts
14
- * const conversation = await client.conversations.create({
15
- * userIdentifier: 'user_123',
16
- * });
14
+ * const conversation =
15
+ * await client.agents.conversations.create('agentId', {
16
+ * userIdentifier: 'user_123',
17
+ * });
17
18
  * ```
18
19
  */
19
- create(body: ConversationCreateParams, options?: RequestOptions): APIPromise<ConversationCreateResponse>;
20
+ create(agentID: string, body: ConversationCreateParams, options?: RequestOptions): APIPromise<ConversationCreateResponse>;
20
21
  /**
21
22
  * Retrieve conversation
22
23
  *
23
24
  * @example
24
25
  * ```ts
25
26
  * const inconvoConversation =
26
- * await client.conversations.retrieve('id');
27
+ * await client.agents.conversations.retrieve('id', {
28
+ * agentId: 'agentId',
29
+ * });
27
30
  * ```
28
31
  */
29
- retrieve(id: string, options?: RequestOptions): APIPromise<InconvoConversation>;
32
+ retrieve(id: string, params: ConversationRetrieveParams, options?: RequestOptions): APIPromise<InconvoConversation>;
30
33
  /**
31
34
  * List conversations
32
35
  *
33
36
  * @example
34
37
  * ```ts
35
38
  * // Automatically fetches more pages as needed.
36
- * for await (const conversationListResponse of client.conversations.list()) {
39
+ * for await (const conversationListResponse of client.agents.conversations.list(
40
+ * 'agentId',
41
+ * )) {
37
42
  * // ...
38
43
  * }
39
44
  * ```
40
45
  */
41
- list(query?: ConversationListParams | null | undefined, options?: RequestOptions): PagePromise<ConversationListResponsesConversationsCursor, ConversationListResponse>;
46
+ list(agentID: string, query?: ConversationListParams | null | undefined, options?: RequestOptions): PagePromise<ConversationListResponsesConversationsCursor, ConversationListResponse>;
42
47
  }
43
48
  export type ConversationListResponsesConversationsCursor = ConversationsCursor<ConversationListResponse>;
44
49
  export interface InconvoConversation {
@@ -95,6 +100,12 @@ export interface ConversationCreateParams {
95
100
  [key: string]: unknown;
96
101
  };
97
102
  }
103
+ export interface ConversationRetrieveParams {
104
+ /**
105
+ * The unique identifier of the agent
106
+ */
107
+ agentId: string;
108
+ }
98
109
  export interface ConversationListParams extends ConversationsCursorParams {
99
110
  /**
100
111
  * Arbitrary userContext filters, encoded as a deep object. Example: GET
@@ -109,7 +120,7 @@ export interface ConversationListParams extends ConversationsCursorParams {
109
120
  userIdentifier?: string;
110
121
  }
111
122
  export declare namespace Conversations {
112
- export { type InconvoConversation as InconvoConversation, type ConversationCreateResponse as ConversationCreateResponse, type ConversationListResponse as ConversationListResponse, type ConversationListResponsesConversationsCursor as ConversationListResponsesConversationsCursor, type ConversationCreateParams as ConversationCreateParams, type ConversationListParams as ConversationListParams, };
123
+ export { type InconvoConversation as InconvoConversation, type ConversationCreateResponse as ConversationCreateResponse, type ConversationListResponse as ConversationListResponse, type ConversationListResponsesConversationsCursor as ConversationListResponsesConversationsCursor, type ConversationCreateParams as ConversationCreateParams, type ConversationRetrieveParams as ConversationRetrieveParams, type ConversationListParams as ConversationListParams, };
113
124
  export { Response as Response, type Chart as Chart, type Table as Table, type ResponseCreateResponse as ResponseCreateResponse, type ResponseRetrieveResponse as ResponseRetrieveResponse, type ResponseCreateParams as ResponseCreateParams, type ResponseRetrieveParams as ResponseRetrieveParams, };
114
125
  }
115
126
  //# sourceMappingURL=conversations.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversations.d.mts","sourceRoot":"","sources":["../../../src/resources/agents/conversations/conversations.ts"],"names":[],"mappings":"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"}
@@ -1,9 +1,9 @@
1
- import { APIResource } from "../../core/resource.js";
1
+ import { APIResource } from "../../../core/resource.js";
2
2
  import * as ResponseAPI from "./response/response.js";
3
3
  import { Chart, Response, ResponseCreateParams, ResponseCreateResponse, ResponseRetrieveParams, ResponseRetrieveResponse, Table } from "./response/response.js";
4
- import { APIPromise } from "../../core/api-promise.js";
5
- import { ConversationsCursor, type ConversationsCursorParams, PagePromise } from "../../core/pagination.js";
6
- import { RequestOptions } from "../../internal/request-options.js";
4
+ import { APIPromise } from "../../../core/api-promise.js";
5
+ import { ConversationsCursor, type ConversationsCursorParams, PagePromise } from "../../../core/pagination.js";
6
+ import { RequestOptions } from "../../../internal/request-options.js";
7
7
  export declare class Conversations extends APIResource {
8
8
  response: ResponseAPI.Response;
9
9
  /**
@@ -11,34 +11,39 @@ export declare class Conversations extends APIResource {
11
11
  *
12
12
  * @example
13
13
  * ```ts
14
- * const conversation = await client.conversations.create({
15
- * userIdentifier: 'user_123',
16
- * });
14
+ * const conversation =
15
+ * await client.agents.conversations.create('agentId', {
16
+ * userIdentifier: 'user_123',
17
+ * });
17
18
  * ```
18
19
  */
19
- create(body: ConversationCreateParams, options?: RequestOptions): APIPromise<ConversationCreateResponse>;
20
+ create(agentID: string, body: ConversationCreateParams, options?: RequestOptions): APIPromise<ConversationCreateResponse>;
20
21
  /**
21
22
  * Retrieve conversation
22
23
  *
23
24
  * @example
24
25
  * ```ts
25
26
  * const inconvoConversation =
26
- * await client.conversations.retrieve('id');
27
+ * await client.agents.conversations.retrieve('id', {
28
+ * agentId: 'agentId',
29
+ * });
27
30
  * ```
28
31
  */
29
- retrieve(id: string, options?: RequestOptions): APIPromise<InconvoConversation>;
32
+ retrieve(id: string, params: ConversationRetrieveParams, options?: RequestOptions): APIPromise<InconvoConversation>;
30
33
  /**
31
34
  * List conversations
32
35
  *
33
36
  * @example
34
37
  * ```ts
35
38
  * // Automatically fetches more pages as needed.
36
- * for await (const conversationListResponse of client.conversations.list()) {
39
+ * for await (const conversationListResponse of client.agents.conversations.list(
40
+ * 'agentId',
41
+ * )) {
37
42
  * // ...
38
43
  * }
39
44
  * ```
40
45
  */
41
- list(query?: ConversationListParams | null | undefined, options?: RequestOptions): PagePromise<ConversationListResponsesConversationsCursor, ConversationListResponse>;
46
+ list(agentID: string, query?: ConversationListParams | null | undefined, options?: RequestOptions): PagePromise<ConversationListResponsesConversationsCursor, ConversationListResponse>;
42
47
  }
43
48
  export type ConversationListResponsesConversationsCursor = ConversationsCursor<ConversationListResponse>;
44
49
  export interface InconvoConversation {
@@ -95,6 +100,12 @@ export interface ConversationCreateParams {
95
100
  [key: string]: unknown;
96
101
  };
97
102
  }
103
+ export interface ConversationRetrieveParams {
104
+ /**
105
+ * The unique identifier of the agent
106
+ */
107
+ agentId: string;
108
+ }
98
109
  export interface ConversationListParams extends ConversationsCursorParams {
99
110
  /**
100
111
  * Arbitrary userContext filters, encoded as a deep object. Example: GET
@@ -109,7 +120,7 @@ export interface ConversationListParams extends ConversationsCursorParams {
109
120
  userIdentifier?: string;
110
121
  }
111
122
  export declare namespace Conversations {
112
- export { type InconvoConversation as InconvoConversation, type ConversationCreateResponse as ConversationCreateResponse, type ConversationListResponse as ConversationListResponse, type ConversationListResponsesConversationsCursor as ConversationListResponsesConversationsCursor, type ConversationCreateParams as ConversationCreateParams, type ConversationListParams as ConversationListParams, };
123
+ export { type InconvoConversation as InconvoConversation, type ConversationCreateResponse as ConversationCreateResponse, type ConversationListResponse as ConversationListResponse, type ConversationListResponsesConversationsCursor as ConversationListResponsesConversationsCursor, type ConversationCreateParams as ConversationCreateParams, type ConversationRetrieveParams as ConversationRetrieveParams, type ConversationListParams as ConversationListParams, };
113
124
  export { Response as Response, type Chart as Chart, type Table as Table, type ResponseCreateResponse as ResponseCreateResponse, type ResponseRetrieveResponse as ResponseRetrieveResponse, type ResponseCreateParams as ResponseCreateParams, type ResponseRetrieveParams as ResponseRetrieveParams, };
114
125
  }
115
126
  //# sourceMappingURL=conversations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversations.d.ts","sourceRoot":"","sources":["../../../src/resources/agents/conversations/conversations.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,64 @@
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.Conversations = void 0;
5
+ const tslib_1 = require("../../../internal/tslib.js");
6
+ const resource_1 = require("../../../core/resource.js");
7
+ const ResponseAPI = tslib_1.__importStar(require("./response/response.js"));
8
+ const response_1 = require("./response/response.js");
9
+ const pagination_1 = require("../../../core/pagination.js");
10
+ const path_1 = require("../../../internal/utils/path.js");
11
+ class Conversations extends resource_1.APIResource {
12
+ constructor() {
13
+ super(...arguments);
14
+ this.response = new ResponseAPI.Response(this._client);
15
+ }
16
+ /**
17
+ * Create conversation
18
+ *
19
+ * @example
20
+ * ```ts
21
+ * const conversation =
22
+ * await client.agents.conversations.create('agentId', {
23
+ * userIdentifier: 'user_123',
24
+ * });
25
+ * ```
26
+ */
27
+ create(agentID, body, options) {
28
+ return this._client.post((0, path_1.path) `/agents/${agentID}/conversations`, { body, ...options });
29
+ }
30
+ /**
31
+ * Retrieve conversation
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const inconvoConversation =
36
+ * await client.agents.conversations.retrieve('id', {
37
+ * agentId: 'agentId',
38
+ * });
39
+ * ```
40
+ */
41
+ retrieve(id, params, options) {
42
+ const { agentId } = params;
43
+ return this._client.get((0, path_1.path) `/agents/${agentId}/conversations/${id}`, options);
44
+ }
45
+ /**
46
+ * List conversations
47
+ *
48
+ * @example
49
+ * ```ts
50
+ * // Automatically fetches more pages as needed.
51
+ * for await (const conversationListResponse of client.agents.conversations.list(
52
+ * 'agentId',
53
+ * )) {
54
+ * // ...
55
+ * }
56
+ * ```
57
+ */
58
+ list(agentID, query = {}, options) {
59
+ return this._client.getAPIList((0, path_1.path) `/agents/${agentID}/conversations`, (pagination_1.ConversationsCursor), { query, ...options });
60
+ }
61
+ }
62
+ exports.Conversations = Conversations;
63
+ Conversations.Response = response_1.Response;
64
+ //# sourceMappingURL=conversations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversations.js","sourceRoot":"","sources":["../../../src/resources/agents/conversations/conversations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,4EAAmD;AACnD,qDAQ6B;AAE7B,4DAA4G;AAE5G,0DAAoD;AAEpD,MAAa,aAAc,SAAQ,sBAAW;IAA9C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAiE1E,CAAC;IA/DC;;;;;;;;;;OAUG;IACH,MAAM,CACJ,OAAe,EACf,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,WAAW,OAAO,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CACN,EAAU,EACV,MAAkC,EAClC,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,WAAW,OAAO,kBAAkB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,OAAe,EACf,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,WAAW,OAAO,gBAAgB,EACtC,CAAA,gCAA6C,CAAA,EAC7C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF;AAlED,sCAkEC;AAyFD,aAAa,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
@@ -0,0 +1,59 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../core/resource.mjs";
3
+ import * as ResponseAPI from "./response/response.mjs";
4
+ import { Response, } from "./response/response.mjs";
5
+ import { ConversationsCursor } from "../../../core/pagination.mjs";
6
+ import { path } from "../../../internal/utils/path.mjs";
7
+ export class Conversations extends APIResource {
8
+ constructor() {
9
+ super(...arguments);
10
+ this.response = new ResponseAPI.Response(this._client);
11
+ }
12
+ /**
13
+ * Create conversation
14
+ *
15
+ * @example
16
+ * ```ts
17
+ * const conversation =
18
+ * await client.agents.conversations.create('agentId', {
19
+ * userIdentifier: 'user_123',
20
+ * });
21
+ * ```
22
+ */
23
+ create(agentID, body, options) {
24
+ return this._client.post(path `/agents/${agentID}/conversations`, { body, ...options });
25
+ }
26
+ /**
27
+ * Retrieve conversation
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * const inconvoConversation =
32
+ * await client.agents.conversations.retrieve('id', {
33
+ * agentId: 'agentId',
34
+ * });
35
+ * ```
36
+ */
37
+ retrieve(id, params, options) {
38
+ const { agentId } = params;
39
+ return this._client.get(path `/agents/${agentId}/conversations/${id}`, options);
40
+ }
41
+ /**
42
+ * List conversations
43
+ *
44
+ * @example
45
+ * ```ts
46
+ * // Automatically fetches more pages as needed.
47
+ * for await (const conversationListResponse of client.agents.conversations.list(
48
+ * 'agentId',
49
+ * )) {
50
+ * // ...
51
+ * }
52
+ * ```
53
+ */
54
+ list(agentID, query = {}, options) {
55
+ return this._client.getAPIList(path `/agents/${agentID}/conversations`, (ConversationsCursor), { query, ...options });
56
+ }
57
+ }
58
+ Conversations.Response = Response;
59
+ //# sourceMappingURL=conversations.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversations.mjs","sourceRoot":"","sources":["../../../src/resources/agents/conversations/conversations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAEL,QAAQ,GAMT;OAEM,EAAE,mBAAmB,EAA+C;OAEpE,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,aAAc,SAAQ,WAAW;IAA9C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAiE1E,CAAC;IA/DC;;;;;;;;;;OAUG;IACH,MAAM,CACJ,OAAe,EACf,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,WAAW,OAAO,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CACN,EAAU,EACV,MAAkC,EAClC,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,OAAO,kBAAkB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,OAAe,EACf,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,WAAW,OAAO,gBAAgB,EACtC,CAAA,mBAA6C,CAAA,EAC7C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF;AAyFD,aAAa,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
@@ -1,3 +1,3 @@
1
- export { Conversations, type InconvoConversation, type ConversationCreateResponse, type ConversationListResponse, type ConversationCreateParams, type ConversationListParams, type ConversationListResponsesConversationsCursor, } from "./conversations.mjs";
1
+ export { Conversations, type InconvoConversation, type ConversationCreateResponse, type ConversationListResponse, type ConversationCreateParams, type ConversationRetrieveParams, type ConversationListParams, type ConversationListResponsesConversationsCursor, } from "./conversations.mjs";
2
2
  export { Response, type Chart, type Table, type ResponseCreateResponse, type ResponseRetrieveResponse, type ResponseCreateParams, type ResponseRetrieveParams, } from "./response/index.mjs";
3
3
  //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/agents/conversations/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,4CAA4C,GAClD;OACM,EACL,QAAQ,EACR,KAAK,KAAK,EACV,KAAK,KAAK,EACV,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B"}
@@ -1,3 +1,3 @@
1
- export { Conversations, type InconvoConversation, type ConversationCreateResponse, type ConversationListResponse, type ConversationCreateParams, type ConversationListParams, type ConversationListResponsesConversationsCursor, } from "./conversations.js";
1
+ export { Conversations, type InconvoConversation, type ConversationCreateResponse, type ConversationListResponse, type ConversationCreateParams, type ConversationRetrieveParams, type ConversationListParams, type ConversationListResponsesConversationsCursor, } from "./conversations.js";
2
2
  export { Response, type Chart, type Table, type ResponseCreateResponse, type ResponseRetrieveResponse, type ResponseCreateParams, type ResponseRetrieveParams, } from "./response/index.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/agents/conversations/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,4CAA4C,GAClD;OACM,EACL,QAAQ,EACR,KAAK,KAAK,EACV,KAAK,KAAK,EACV,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/agents/conversations/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDASyB;AARvB,8GAAA,aAAa,OAAA;AASf,6CAQ0B;AAPxB,iGAAA,QAAQ,OAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/agents/conversations/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,aAAa,GAQd;OACM,EACL,QAAQ,GAOT"}
@@ -1,6 +1,6 @@
1
- import { APIResource } from "../../../core/resource.mjs";
2
- import { APIPromise } from "../../../core/api-promise.mjs";
3
- import { RequestOptions } from "../../../internal/request-options.mjs";
1
+ import { APIResource } from "../../../../core/resource.mjs";
2
+ import { APIPromise } from "../../../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../../../internal/request-options.mjs";
4
4
  export declare class FeedbackResource extends APIResource {
5
5
  /**
6
6
  * Create feedback
@@ -8,9 +8,13 @@ export declare class FeedbackResource extends APIResource {
8
8
  * @example
9
9
  * ```ts
10
10
  * const feedback =
11
- * await client.conversations.response.feedback.create(
11
+ * await client.agents.conversations.response.feedback.create(
12
12
  * 'response_id',
13
- * { id: 'id', rating: 'positive' },
13
+ * {
14
+ * agentId: 'agentId',
15
+ * convo_id: 'convo_id',
16
+ * rating: 'positive',
17
+ * },
14
18
  * );
15
19
  * ```
16
20
  */
@@ -21,9 +25,13 @@ export declare class FeedbackResource extends APIResource {
21
25
  * @example
22
26
  * ```ts
23
27
  * const feedback =
24
- * await client.conversations.response.feedback.update(
28
+ * await client.agents.conversations.response.feedback.update(
25
29
  * 'feedback_id',
26
- * { id: 'id', response_id: 'response_id' },
30
+ * {
31
+ * agentId: 'agentId',
32
+ * convo_id: 'convo_id',
33
+ * response_id: 'response_id',
34
+ * },
27
35
  * );
28
36
  * ```
29
37
  */
@@ -35,10 +43,14 @@ export interface Feedback {
35
43
  comment?: string;
36
44
  }
37
45
  export interface FeedbackCreateParams {
46
+ /**
47
+ * Path param: The unique identifier of the agent
48
+ */
49
+ agentId: string;
38
50
  /**
39
51
  * Path param
40
52
  */
41
- id: string;
53
+ convo_id: string;
42
54
  /**
43
55
  * Body param
44
56
  */
@@ -49,10 +61,14 @@ export interface FeedbackCreateParams {
49
61
  comment?: string;
50
62
  }
51
63
  export interface FeedbackUpdateParams {
64
+ /**
65
+ * Path param: The unique identifier of the agent
66
+ */
67
+ agentId: string;
52
68
  /**
53
69
  * Path param
54
70
  */
55
- id: string;
71
+ convo_id: string;
56
72
  /**
57
73
  * Path param
58
74
  */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feedback.d.mts","sourceRoot":"","sources":["../../../../src/resources/agents/conversations/response/feedback.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;IAQxG;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;CAOzG;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IAEX,MAAM,EAAE,UAAU,GAAG,UAAU,CAAC;IAEhC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,UAAU,GAAG,UAAU,CAAC;IAEhC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;CAClC;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -1,6 +1,6 @@
1
- import { APIResource } from "../../../core/resource.js";
2
- import { APIPromise } from "../../../core/api-promise.js";
3
- import { RequestOptions } from "../../../internal/request-options.js";
1
+ import { APIResource } from "../../../../core/resource.js";
2
+ import { APIPromise } from "../../../../core/api-promise.js";
3
+ import { RequestOptions } from "../../../../internal/request-options.js";
4
4
  export declare class FeedbackResource extends APIResource {
5
5
  /**
6
6
  * Create feedback
@@ -8,9 +8,13 @@ export declare class FeedbackResource extends APIResource {
8
8
  * @example
9
9
  * ```ts
10
10
  * const feedback =
11
- * await client.conversations.response.feedback.create(
11
+ * await client.agents.conversations.response.feedback.create(
12
12
  * 'response_id',
13
- * { id: 'id', rating: 'positive' },
13
+ * {
14
+ * agentId: 'agentId',
15
+ * convo_id: 'convo_id',
16
+ * rating: 'positive',
17
+ * },
14
18
  * );
15
19
  * ```
16
20
  */
@@ -21,9 +25,13 @@ export declare class FeedbackResource extends APIResource {
21
25
  * @example
22
26
  * ```ts
23
27
  * const feedback =
24
- * await client.conversations.response.feedback.update(
28
+ * await client.agents.conversations.response.feedback.update(
25
29
  * 'feedback_id',
26
- * { id: 'id', response_id: 'response_id' },
30
+ * {
31
+ * agentId: 'agentId',
32
+ * convo_id: 'convo_id',
33
+ * response_id: 'response_id',
34
+ * },
27
35
  * );
28
36
  * ```
29
37
  */
@@ -35,10 +43,14 @@ export interface Feedback {
35
43
  comment?: string;
36
44
  }
37
45
  export interface FeedbackCreateParams {
46
+ /**
47
+ * Path param: The unique identifier of the agent
48
+ */
49
+ agentId: string;
38
50
  /**
39
51
  * Path param
40
52
  */
41
- id: string;
53
+ convo_id: string;
42
54
  /**
43
55
  * Body param
44
56
  */
@@ -49,10 +61,14 @@ export interface FeedbackCreateParams {
49
61
  comment?: string;
50
62
  }
51
63
  export interface FeedbackUpdateParams {
64
+ /**
65
+ * Path param: The unique identifier of the agent
66
+ */
67
+ agentId: string;
52
68
  /**
53
69
  * Path param
54
70
  */
55
- id: string;
71
+ convo_id: string;
56
72
  /**
57
73
  * Path param
58
74
  */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feedback.d.ts","sourceRoot":"","sources":["../../../../src/resources/agents/conversations/response/feedback.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;IAQxG;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;CAOzG;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IAEX,MAAM,EAAE,UAAU,GAAG,UAAU,CAAC;IAEhC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,UAAU,GAAG,UAAU,CAAC;IAEhC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;CAClC;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -0,0 +1,50 @@
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.FeedbackResource = void 0;
5
+ const resource_1 = require("../../../../core/resource.js");
6
+ const path_1 = require("../../../../internal/utils/path.js");
7
+ class FeedbackResource extends resource_1.APIResource {
8
+ /**
9
+ * Create feedback
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const feedback =
14
+ * await client.agents.conversations.response.feedback.create(
15
+ * 'response_id',
16
+ * {
17
+ * agentId: 'agentId',
18
+ * convo_id: 'convo_id',
19
+ * rating: 'positive',
20
+ * },
21
+ * );
22
+ * ```
23
+ */
24
+ create(responseID, params, options) {
25
+ const { agentId, convo_id, ...body } = params;
26
+ return this._client.post((0, path_1.path) `/agents/${agentId}/conversations/${convo_id}/response/${responseID}/feedback`, { body, ...options });
27
+ }
28
+ /**
29
+ * Update feedback
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * const feedback =
34
+ * await client.agents.conversations.response.feedback.update(
35
+ * 'feedback_id',
36
+ * {
37
+ * agentId: 'agentId',
38
+ * convo_id: 'convo_id',
39
+ * response_id: 'response_id',
40
+ * },
41
+ * );
42
+ * ```
43
+ */
44
+ update(feedbackID, params, options) {
45
+ const { agentId, convo_id, response_id, ...body } = params;
46
+ return this._client.patch((0, path_1.path) `/agents/${agentId}/conversations/${convo_id}/response/${response_id}/feedback/${feedbackID}`, { body, ...options });
47
+ }
48
+ }
49
+ exports.FeedbackResource = FeedbackResource;
50
+ //# sourceMappingURL=feedback.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feedback.js","sourceRoot":"","sources":["../../../../src/resources/agents/conversations/response/feedback.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAwD;AAGxD,6DAAuD;AAEvD,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,UAAkB,EAAE,MAA4B,EAAE,OAAwB;QAC/E,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,IAAA,WAAI,EAAA,WAAW,OAAO,kBAAkB,QAAQ,aAAa,UAAU,WAAW,EAClF,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CACrB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,UAAkB,EAAE,MAA4B,EAAE,OAAwB;QAC/E,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CACvB,IAAA,WAAI,EAAA,WAAW,OAAO,kBAAkB,QAAQ,aAAa,WAAW,aAAa,UAAU,EAAE,EACjG,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CACrB,CAAC;IACJ,CAAC;CACF;AAhDD,4CAgDC"}