parlant-client 3.0.1 → 3.3.1

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 (268) hide show
  1. package/package.json +1 -1
  2. package/src/Client.d.ts +7 -0
  3. package/src/Client.js +97 -0
  4. package/src/api/index.d.ts +1 -1
  5. package/src/api/index.js +1 -1
  6. package/src/api/resources/agents/client/Client.d.ts +5 -2
  7. package/src/api/resources/agents/client/Client.js +5 -2
  8. package/src/api/resources/agents/client/requests/AgentCreationParams.d.ts +4 -0
  9. package/src/api/resources/agents/client/requests/AgentUpdateParams.d.ts +3 -1
  10. package/src/api/resources/cannedResponses/client/Client.d.ts +14 -2
  11. package/src/api/resources/cannedResponses/client/Client.js +14 -2
  12. package/src/api/resources/cannedResponses/client/requests/CannedResponseCreationParams.d.ts +10 -1
  13. package/src/api/resources/cannedResponses/client/requests/CannedResponseUpdateParams.d.ts +9 -1
  14. package/src/api/resources/customers/client/Client.d.ts +17 -4
  15. package/src/api/resources/customers/client/Client.js +41 -11
  16. package/src/api/resources/customers/client/requests/CustomerCreationParams.d.ts +2 -0
  17. package/src/api/resources/customers/client/requests/CustomersListRequest.d.ts +16 -0
  18. package/src/api/resources/customers/client/requests/index.d.ts +1 -0
  19. package/src/api/resources/customers/index.d.ts +1 -0
  20. package/src/api/resources/customers/index.js +1 -0
  21. package/src/api/resources/customers/types/CustomersListResponse.d.ts +5 -0
  22. package/src/api/resources/customers/types/index.d.ts +1 -0
  23. package/src/api/resources/customers/types/index.js +17 -0
  24. package/src/api/resources/glossary/client/requests/TermCreationParams.d.ts +1 -0
  25. package/src/api/resources/guidelines/client/Client.d.ts +14 -2
  26. package/src/api/resources/guidelines/client/Client.js +14 -2
  27. package/src/api/resources/guidelines/client/requests/GuidelineCreationParams.d.ts +14 -1
  28. package/src/api/resources/guidelines/client/requests/GuidelineUpdateParams.d.ts +14 -1
  29. package/src/api/resources/index.d.ts +4 -2
  30. package/src/api/resources/index.js +5 -3
  31. package/src/api/resources/journeys/client/Client.d.ts +4 -2
  32. package/src/api/resources/journeys/client/Client.js +4 -2
  33. package/src/api/resources/journeys/client/requests/JourneyCreationParams.d.ts +10 -1
  34. package/src/api/resources/journeys/client/requests/JourneyUpdateParams.d.ts +3 -0
  35. package/src/api/resources/sessions/client/Client.d.ts +96 -9
  36. package/src/api/resources/sessions/client/Client.js +232 -13
  37. package/src/api/resources/sessions/client/requests/EventCreationParams.d.ts +3 -1
  38. package/src/api/resources/sessions/client/requests/EventUpdateParams.d.ts +20 -0
  39. package/src/api/resources/sessions/client/requests/SessionCreationParams.d.ts +10 -1
  40. package/src/api/resources/sessions/client/requests/SessionUpdateParams.d.ts +16 -1
  41. package/src/api/resources/sessions/client/requests/SessionsListEventsRequest.d.ts +3 -0
  42. package/src/api/resources/sessions/client/requests/SessionsListRequest.d.ts +8 -1
  43. package/src/api/resources/sessions/client/requests/SessionsReadEventRequest.d.ts +12 -0
  44. package/src/api/resources/sessions/client/requests/index.d.ts +2 -0
  45. package/src/api/resources/sessions/index.d.ts +1 -0
  46. package/src/api/resources/sessions/index.js +1 -0
  47. package/src/api/resources/sessions/types/SessionsListResponse.d.ts +5 -0
  48. package/src/api/resources/sessions/types/index.d.ts +1 -0
  49. package/src/api/resources/sessions/types/index.js +17 -0
  50. package/src/api/resources/tags/client/Client.d.ts +6 -3
  51. package/src/api/resources/tags/client/Client.js +22 -8
  52. package/src/api/resources/tags/client/requests/TagsListRequest.d.ts +13 -0
  53. package/src/api/resources/tags/client/requests/index.d.ts +1 -0
  54. package/src/api/types/Agent.d.ts +1 -0
  55. package/src/api/types/CannedResponse.d.ts +4 -0
  56. package/src/api/types/CannedResponseMetadataUpdateParams.d.ts +12 -0
  57. package/src/api/types/CriticalityDto.d.ts +12 -0
  58. package/src/api/types/CriticalityDto.js +11 -0
  59. package/src/api/types/Event.d.ts +4 -0
  60. package/src/api/types/Guideline.d.ts +10 -0
  61. package/src/api/types/GuidelineLabelsUpdateParams.d.ts +12 -0
  62. package/src/api/types/Journey.d.ts +5 -0
  63. package/src/api/types/JourneyLabelsUpdateParams.d.ts +12 -0
  64. package/src/api/types/MessageOutputModeDto.d.ts +15 -0
  65. package/src/api/types/MessageOutputModeDto.js +10 -0
  66. package/src/api/types/{Moderation.d.ts → ModerationDto.d.ts} +2 -2
  67. package/src/api/types/{Moderation.js → ModerationDto.js} +2 -2
  68. package/src/api/types/PaginatedCustomers.d.ts +13 -0
  69. package/src/api/types/Session.d.ts +4 -0
  70. package/src/api/types/SessionLabelsUpdateParams.d.ts +12 -0
  71. package/src/api/types/SessionListing.d.ts +13 -0
  72. package/src/api/types/SessionMetadataUpdateParams.d.ts +12 -0
  73. package/src/api/types/SortDirectionDto.d.ts +11 -0
  74. package/src/api/types/SortDirectionDto.js +10 -0
  75. package/src/api/types/ToolServiceKindDto.d.ts +2 -2
  76. package/src/api/types/ValidationError.d.ts +2 -0
  77. package/src/api/types/index.d.ts +11 -27
  78. package/src/api/types/index.js +11 -27
  79. package/src/serialization/client/healthCheckHealthzGet.d.ts +9 -0
  80. package/src/serialization/{resources/sessions/client/list.js → client/healthCheckHealthzGet.js} +2 -3
  81. package/src/serialization/client/index.d.ts +1 -0
  82. package/src/serialization/client/index.js +37 -0
  83. package/src/serialization/index.d.ts +2 -1
  84. package/src/serialization/index.js +2 -1
  85. package/src/serialization/resources/agents/client/requests/AgentCreationParams.d.ts +3 -0
  86. package/src/serialization/resources/agents/client/requests/AgentCreationParams.js +3 -0
  87. package/src/serialization/resources/agents/client/requests/AgentUpdateParams.d.ts +2 -0
  88. package/src/serialization/resources/agents/client/requests/AgentUpdateParams.js +2 -0
  89. package/src/serialization/resources/cannedResponses/client/requests/CannedResponseCreationParams.d.ts +2 -0
  90. package/src/serialization/resources/cannedResponses/client/requests/CannedResponseCreationParams.js +2 -0
  91. package/src/serialization/resources/cannedResponses/client/requests/CannedResponseUpdateParams.d.ts +2 -0
  92. package/src/serialization/resources/cannedResponses/client/requests/CannedResponseUpdateParams.js +2 -0
  93. package/src/serialization/resources/customers/client/index.d.ts +0 -1
  94. package/src/serialization/resources/customers/client/index.js +0 -24
  95. package/src/serialization/resources/customers/client/requests/CustomerCreationParams.d.ts +1 -0
  96. package/src/serialization/resources/customers/client/requests/CustomerCreationParams.js +1 -0
  97. package/src/serialization/resources/customers/index.d.ts +1 -0
  98. package/src/serialization/resources/customers/index.js +1 -0
  99. package/src/serialization/resources/customers/types/CustomersListResponse.d.ts +12 -0
  100. package/src/serialization/resources/customers/{client/list.js → types/CustomersListResponse.js} +3 -2
  101. package/src/serialization/resources/customers/types/index.d.ts +1 -0
  102. package/src/serialization/resources/customers/types/index.js +17 -0
  103. package/src/serialization/resources/glossary/client/requests/TermCreationParams.d.ts +1 -0
  104. package/src/serialization/resources/glossary/client/requests/TermCreationParams.js +1 -0
  105. package/src/serialization/resources/guidelines/client/requests/GuidelineCreationParams.d.ts +9 -0
  106. package/src/serialization/resources/guidelines/client/requests/GuidelineCreationParams.js +9 -0
  107. package/src/serialization/resources/guidelines/client/requests/GuidelineUpdateParams.d.ts +8 -0
  108. package/src/serialization/resources/guidelines/client/requests/GuidelineUpdateParams.js +8 -0
  109. package/src/serialization/resources/index.d.ts +4 -2
  110. package/src/serialization/resources/index.js +5 -3
  111. package/src/serialization/resources/journeys/client/requests/JourneyCreationParams.d.ts +5 -0
  112. package/src/serialization/resources/journeys/client/requests/JourneyCreationParams.js +5 -0
  113. package/src/serialization/resources/journeys/client/requests/JourneyUpdateParams.d.ts +5 -0
  114. package/src/serialization/resources/journeys/client/requests/JourneyUpdateParams.js +5 -0
  115. package/src/serialization/resources/sessions/client/index.d.ts +0 -1
  116. package/src/serialization/resources/sessions/client/index.js +1 -2
  117. package/src/serialization/resources/sessions/client/requests/EventCreationParams.d.ts +1 -0
  118. package/src/serialization/resources/sessions/client/requests/EventCreationParams.js +1 -0
  119. package/src/serialization/resources/sessions/client/requests/EventUpdateParams.d.ts +13 -0
  120. package/src/serialization/resources/sessions/client/requests/EventUpdateParams.js +44 -0
  121. package/src/serialization/resources/sessions/client/requests/SessionCreationParams.d.ts +2 -0
  122. package/src/serialization/resources/sessions/client/requests/SessionCreationParams.js +2 -0
  123. package/src/serialization/resources/sessions/client/requests/SessionUpdateParams.d.ts +6 -0
  124. package/src/serialization/resources/sessions/client/requests/SessionUpdateParams.js +6 -0
  125. package/src/serialization/resources/sessions/client/requests/index.d.ts +1 -0
  126. package/src/serialization/resources/sessions/client/requests/index.js +3 -1
  127. package/src/serialization/resources/sessions/index.d.ts +1 -0
  128. package/src/serialization/resources/sessions/index.js +1 -0
  129. package/src/serialization/resources/sessions/types/SessionsListResponse.d.ts +12 -0
  130. package/src/serialization/resources/sessions/types/SessionsListResponse.js +43 -0
  131. package/src/serialization/resources/sessions/types/index.d.ts +1 -0
  132. package/src/serialization/resources/sessions/types/index.js +17 -0
  133. package/src/serialization/types/Agent.d.ts +2 -0
  134. package/src/serialization/types/Agent.js +2 -0
  135. package/src/serialization/types/CannedResponse.d.ts +2 -0
  136. package/src/serialization/types/CannedResponse.js +2 -0
  137. package/src/serialization/types/CannedResponseMetadataUpdateParams.d.ts +13 -0
  138. package/src/serialization/types/CannedResponseMetadataUpdateParams.js +44 -0
  139. package/src/serialization/types/CriticalityDto.d.ts +10 -0
  140. package/src/serialization/types/{ConnectionPropositionKindDto.js → CriticalityDto.js} +2 -2
  141. package/src/serialization/types/Event.d.ts +2 -0
  142. package/src/serialization/types/Event.js +2 -0
  143. package/src/serialization/types/Guideline.d.ts +8 -0
  144. package/src/serialization/types/Guideline.js +8 -0
  145. package/src/serialization/types/GuidelineLabelsUpdateParams.d.ts +13 -0
  146. package/src/serialization/types/{LegacyGuideline.js → GuidelineLabelsUpdateParams.js} +4 -6
  147. package/src/serialization/types/Journey.d.ts +4 -0
  148. package/src/serialization/types/Journey.js +4 -0
  149. package/src/serialization/types/JourneyLabelsUpdateParams.d.ts +13 -0
  150. package/src/serialization/types/{LegacyGuidelineConnectionAddition.js → JourneyLabelsUpdateParams.js} +4 -4
  151. package/src/serialization/types/MessageOutputModeDto.d.ts +10 -0
  152. package/src/serialization/types/{CoherenceCheckKindDto.js → MessageOutputModeDto.js} +2 -5
  153. package/src/serialization/types/{Moderation.d.ts → ModerationDto.d.ts} +2 -2
  154. package/src/serialization/types/ModerationDto.js +41 -0
  155. package/src/serialization/types/PaginatedCustomers.d.ts +16 -0
  156. package/src/serialization/types/{ConnectionProposition.js → PaginatedCustomers.js} +7 -7
  157. package/src/serialization/types/Session.d.ts +2 -0
  158. package/src/serialization/types/Session.js +2 -0
  159. package/src/serialization/types/SessionLabelsUpdateParams.d.ts +13 -0
  160. package/src/serialization/types/{LegacyGuidelineCreationParams.js → SessionLabelsUpdateParams.js} +4 -4
  161. package/src/serialization/types/SessionListing.d.ts +16 -0
  162. package/src/serialization/types/{LegacyEvaluationCreationParams.js → SessionListing.js} +7 -5
  163. package/src/serialization/types/SessionMetadataUpdateParams.d.ts +13 -0
  164. package/src/serialization/types/{LegacyInvoiceData.js → SessionMetadataUpdateParams.js} +4 -4
  165. package/src/serialization/types/SortDirectionDto.d.ts +10 -0
  166. package/src/serialization/types/{Moderation.js → SortDirectionDto.js} +2 -2
  167. package/src/serialization/types/ValidationError.d.ts +2 -0
  168. package/src/serialization/types/ValidationError.js +2 -0
  169. package/src/serialization/types/index.d.ts +11 -27
  170. package/src/serialization/types/index.js +11 -27
  171. package/src/api/types/CoherenceCheck.d.ts +0 -16
  172. package/src/api/types/CoherenceCheckKindDto.d.ts +0 -11
  173. package/src/api/types/CoherenceCheckKindDto.js +0 -10
  174. package/src/api/types/ConnectionProposition.d.ts +0 -12
  175. package/src/api/types/ConnectionPropositionKindDto.d.ts +0 -11
  176. package/src/api/types/ConnectionPropositionKindDto.js +0 -10
  177. package/src/api/types/LegacyContextVariable.d.ts +0 -22
  178. package/src/api/types/LegacyContextVariableCreationParams.d.ts +0 -16
  179. package/src/api/types/LegacyContextVariableReadResult.d.ts +0 -12
  180. package/src/api/types/LegacyContextVariableUpdateParams.d.ts +0 -16
  181. package/src/api/types/LegacyEvaluation.d.ts +0 -19
  182. package/src/api/types/LegacyEvaluationCreationParams.d.ts +0 -12
  183. package/src/api/types/LegacyGuideline.d.ts +0 -16
  184. package/src/api/types/LegacyGuidelineConnection.d.ts +0 -15
  185. package/src/api/types/LegacyGuidelineConnectionAddition.d.ts +0 -12
  186. package/src/api/types/LegacyGuidelineConnectionUpdateParams.d.ts +0 -14
  187. package/src/api/types/LegacyGuidelineCreationParams.d.ts +0 -10
  188. package/src/api/types/LegacyGuidelineCreationResult.d.ts +0 -10
  189. package/src/api/types/LegacyGuidelineCreationResult.js +0 -5
  190. package/src/api/types/LegacyGuidelineInvoiceData.d.ts +0 -11
  191. package/src/api/types/LegacyGuidelineInvoiceData.js +0 -5
  192. package/src/api/types/LegacyGuidelinePayload.d.ts +0 -17
  193. package/src/api/types/LegacyGuidelinePayload.js +0 -5
  194. package/src/api/types/LegacyGuidelineUpdateParams.d.ts +0 -12
  195. package/src/api/types/LegacyGuidelineUpdateParams.js +0 -5
  196. package/src/api/types/LegacyGuidelineWithConnectionsAndToolAssociations.d.ts +0 -12
  197. package/src/api/types/LegacyGuidelineWithConnectionsAndToolAssociations.js +0 -5
  198. package/src/api/types/LegacyInvoice.d.ts +0 -19
  199. package/src/api/types/LegacyInvoice.js +0 -5
  200. package/src/api/types/LegacyInvoiceData.d.ts +0 -12
  201. package/src/api/types/LegacyInvoiceData.js +0 -5
  202. package/src/api/types/LegacyPayload.d.ts +0 -13
  203. package/src/api/types/LegacyPayload.js +0 -5
  204. package/src/api/types/LegacyTerm.d.ts +0 -18
  205. package/src/api/types/LegacyTerm.js +0 -5
  206. package/src/api/types/LegacyTermCreationParams.d.ts +0 -16
  207. package/src/api/types/LegacyTermCreationParams.js +0 -5
  208. package/src/api/types/LegacyTermUpdateParams.d.ts +0 -16
  209. package/src/api/types/LegacyTermUpdateParams.js +0 -5
  210. package/src/serialization/resources/customers/client/list.d.ts +0 -11
  211. package/src/serialization/resources/sessions/client/list.d.ts +0 -11
  212. package/src/serialization/types/CoherenceCheck.d.ts +0 -18
  213. package/src/serialization/types/CoherenceCheck.js +0 -49
  214. package/src/serialization/types/CoherenceCheckKindDto.d.ts +0 -10
  215. package/src/serialization/types/ConnectionProposition.d.ts +0 -16
  216. package/src/serialization/types/ConnectionPropositionKindDto.d.ts +0 -10
  217. package/src/serialization/types/LegacyContextVariable.d.ts +0 -17
  218. package/src/serialization/types/LegacyContextVariable.js +0 -48
  219. package/src/serialization/types/LegacyContextVariableCreationParams.d.ts +0 -16
  220. package/src/serialization/types/LegacyContextVariableCreationParams.js +0 -47
  221. package/src/serialization/types/LegacyContextVariableReadResult.d.ts +0 -15
  222. package/src/serialization/types/LegacyContextVariableReadResult.js +0 -46
  223. package/src/serialization/types/LegacyContextVariableUpdateParams.d.ts +0 -16
  224. package/src/serialization/types/LegacyContextVariableUpdateParams.js +0 -47
  225. package/src/serialization/types/LegacyEvaluation.d.ts +0 -19
  226. package/src/serialization/types/LegacyEvaluation.js +0 -50
  227. package/src/serialization/types/LegacyEvaluationCreationParams.d.ts +0 -14
  228. package/src/serialization/types/LegacyGuideline.d.ts +0 -15
  229. package/src/serialization/types/LegacyGuidelineConnection.d.ts +0 -16
  230. package/src/serialization/types/LegacyGuidelineConnection.js +0 -47
  231. package/src/serialization/types/LegacyGuidelineConnectionAddition.d.ts +0 -13
  232. package/src/serialization/types/LegacyGuidelineConnectionUpdateParams.d.ts +0 -14
  233. package/src/serialization/types/LegacyGuidelineConnectionUpdateParams.js +0 -45
  234. package/src/serialization/types/LegacyGuidelineCreationParams.d.ts +0 -13
  235. package/src/serialization/types/LegacyGuidelineCreationResult.d.ts +0 -13
  236. package/src/serialization/types/LegacyGuidelineCreationResult.js +0 -44
  237. package/src/serialization/types/LegacyGuidelineInvoiceData.d.ts +0 -15
  238. package/src/serialization/types/LegacyGuidelineInvoiceData.js +0 -46
  239. package/src/serialization/types/LegacyGuidelinePayload.d.ts +0 -18
  240. package/src/serialization/types/LegacyGuidelinePayload.js +0 -49
  241. package/src/serialization/types/LegacyGuidelineUpdateParams.d.ts +0 -16
  242. package/src/serialization/types/LegacyGuidelineUpdateParams.js +0 -47
  243. package/src/serialization/types/LegacyGuidelineWithConnectionsAndToolAssociations.d.ts +0 -17
  244. package/src/serialization/types/LegacyGuidelineWithConnectionsAndToolAssociations.js +0 -48
  245. package/src/serialization/types/LegacyInvoice.d.ts +0 -18
  246. package/src/serialization/types/LegacyInvoice.js +0 -49
  247. package/src/serialization/types/LegacyInvoiceData.d.ts +0 -13
  248. package/src/serialization/types/LegacyPayload.d.ts +0 -15
  249. package/src/serialization/types/LegacyPayload.js +0 -46
  250. package/src/serialization/types/LegacyTerm.d.ts +0 -15
  251. package/src/serialization/types/LegacyTerm.js +0 -46
  252. package/src/serialization/types/LegacyTermCreationParams.d.ts +0 -14
  253. package/src/serialization/types/LegacyTermCreationParams.js +0 -45
  254. package/src/serialization/types/LegacyTermUpdateParams.d.ts +0 -14
  255. package/src/serialization/types/LegacyTermUpdateParams.js +0 -45
  256. /package/src/api/{types/CoherenceCheck.js → resources/customers/client/requests/CustomersListRequest.js} +0 -0
  257. /package/src/api/{types/ConnectionProposition.js → resources/customers/types/CustomersListResponse.js} +0 -0
  258. /package/src/api/{types/LegacyContextVariable.js → resources/sessions/client/requests/EventUpdateParams.js} +0 -0
  259. /package/src/api/{types/LegacyContextVariableCreationParams.js → resources/sessions/client/requests/SessionsReadEventRequest.js} +0 -0
  260. /package/src/api/{types/LegacyContextVariableReadResult.js → resources/sessions/types/SessionsListResponse.js} +0 -0
  261. /package/src/api/{types/LegacyContextVariableUpdateParams.js → resources/tags/client/requests/TagsListRequest.js} +0 -0
  262. /package/src/api/types/{LegacyEvaluation.js → CannedResponseMetadataUpdateParams.js} +0 -0
  263. /package/src/api/types/{LegacyEvaluationCreationParams.js → GuidelineLabelsUpdateParams.js} +0 -0
  264. /package/src/api/types/{LegacyGuideline.js → JourneyLabelsUpdateParams.js} +0 -0
  265. /package/src/api/types/{LegacyGuidelineConnection.js → PaginatedCustomers.js} +0 -0
  266. /package/src/api/types/{LegacyGuidelineConnectionAddition.js → SessionLabelsUpdateParams.js} +0 -0
  267. /package/src/api/types/{LegacyGuidelineConnectionUpdateParams.js → SessionListing.js} +0 -0
  268. /package/src/api/types/{LegacyGuidelineCreationParams.js → SessionMetadataUpdateParams.js} +0 -0
@@ -20,20 +20,18 @@ __exportStar(require("./AgentMessageGuidelineRationaleDto"), exports);
20
20
  __exportStar(require("./AgentTagUpdateParams"), exports);
21
21
  __exportStar(require("./CannedResponse"), exports);
22
22
  __exportStar(require("./CannedResponseField"), exports);
23
+ __exportStar(require("./CannedResponseMetadataUpdateParams"), exports);
23
24
  __exportStar(require("./CannedResponseTagUpdateParams"), exports);
24
25
  __exportStar(require("./Capability"), exports);
25
26
  __exportStar(require("./CapabilityTagUpdateParams"), exports);
26
- __exportStar(require("./CoherenceCheck"), exports);
27
- __exportStar(require("./CoherenceCheckKindDto"), exports);
28
27
  __exportStar(require("./CompositionModeDto"), exports);
29
- __exportStar(require("./ConnectionProposition"), exports);
30
- __exportStar(require("./ConnectionPropositionKindDto"), exports);
31
28
  __exportStar(require("./ConsumptionOffsets"), exports);
32
29
  __exportStar(require("./ConsumptionOffsetsUpdateParams"), exports);
33
30
  __exportStar(require("./ContextVariable"), exports);
34
31
  __exportStar(require("./ContextVariableReadResult"), exports);
35
32
  __exportStar(require("./ContextVariableTagsUpdateParams"), exports);
36
33
  __exportStar(require("./ContextVariableValue"), exports);
34
+ __exportStar(require("./CriticalityDto"), exports);
37
35
  __exportStar(require("./Customer"), exports);
38
36
  __exportStar(require("./CustomerMetadataUpdateParams"), exports);
39
37
  __exportStar(require("./CustomerTagUpdateParams"), exports);
@@ -45,6 +43,7 @@ __exportStar(require("./EventSourceDto"), exports);
45
43
  __exportStar(require("./GuidelineContent"), exports);
46
44
  __exportStar(require("./Guideline"), exports);
47
45
  __exportStar(require("./GuidelineInvoiceData"), exports);
46
+ __exportStar(require("./GuidelineLabelsUpdateParams"), exports);
48
47
  __exportStar(require("./GuidelineMetadataUpdateParams"), exports);
49
48
  __exportStar(require("./GuidelinePayload"), exports);
50
49
  __exportStar(require("./GuidelinePayloadOperationDto"), exports);
@@ -57,32 +56,13 @@ __exportStar(require("./Invoice"), exports);
57
56
  __exportStar(require("./InvoiceData"), exports);
58
57
  __exportStar(require("./JourneyConditionUpdateParams"), exports);
59
58
  __exportStar(require("./Journey"), exports);
59
+ __exportStar(require("./JourneyLabelsUpdateParams"), exports);
60
60
  __exportStar(require("./JourneyTagUpdateParams"), exports);
61
- __exportStar(require("./LegacyContextVariableCreationParams"), exports);
62
- __exportStar(require("./LegacyContextVariable"), exports);
63
- __exportStar(require("./LegacyContextVariableReadResult"), exports);
64
- __exportStar(require("./LegacyContextVariableUpdateParams"), exports);
65
- __exportStar(require("./LegacyEvaluationCreationParams"), exports);
66
- __exportStar(require("./LegacyEvaluation"), exports);
67
- __exportStar(require("./LegacyGuidelineConnectionAddition"), exports);
68
- __exportStar(require("./LegacyGuidelineConnection"), exports);
69
- __exportStar(require("./LegacyGuidelineConnectionUpdateParams"), exports);
70
- __exportStar(require("./LegacyGuidelineCreationParams"), exports);
71
- __exportStar(require("./LegacyGuidelineCreationResult"), exports);
72
- __exportStar(require("./LegacyGuideline"), exports);
73
- __exportStar(require("./LegacyGuidelineInvoiceData"), exports);
74
- __exportStar(require("./LegacyGuidelinePayload"), exports);
75
- __exportStar(require("./LegacyGuidelineUpdateParams"), exports);
76
- __exportStar(require("./LegacyGuidelineWithConnectionsAndToolAssociations"), exports);
77
- __exportStar(require("./LegacyInvoice"), exports);
78
- __exportStar(require("./LegacyInvoiceData"), exports);
79
- __exportStar(require("./LegacyPayload"), exports);
80
- __exportStar(require("./LegacyTermCreationParams"), exports);
81
- __exportStar(require("./LegacyTerm"), exports);
82
- __exportStar(require("./LegacyTermUpdateParams"), exports);
83
61
  __exportStar(require("./McpServiceParams"), exports);
84
- __exportStar(require("./Moderation"), exports);
62
+ __exportStar(require("./MessageOutputModeDto"), exports);
63
+ __exportStar(require("./ModerationDto"), exports);
85
64
  __exportStar(require("./OpenApiServiceParams"), exports);
65
+ __exportStar(require("./PaginatedCustomers"), exports);
86
66
  __exportStar(require("./Participant"), exports);
87
67
  __exportStar(require("./Payload"), exports);
88
68
  __exportStar(require("./PayloadKindDto"), exports);
@@ -91,8 +71,12 @@ __exportStar(require("./RelationshipKindDto"), exports);
91
71
  __exportStar(require("./SdkServiceParams"), exports);
92
72
  __exportStar(require("./Service"), exports);
93
73
  __exportStar(require("./Session"), exports);
74
+ __exportStar(require("./SessionLabelsUpdateParams"), exports);
75
+ __exportStar(require("./SessionListing"), exports);
76
+ __exportStar(require("./SessionMetadataUpdateParams"), exports);
94
77
  __exportStar(require("./SessionModeDto"), exports);
95
78
  __exportStar(require("./SessionStatusDto"), exports);
79
+ __exportStar(require("./SortDirectionDto"), exports);
96
80
  __exportStar(require("./Tag"), exports);
97
81
  __exportStar(require("./Term"), exports);
98
82
  __exportStar(require("./TermTagsUpdateParams"), exports);
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Potential contradiction found between guidelines
7
- */
8
- export interface CoherenceCheck {
9
- kind: Parlant.CoherenceCheckKindDto;
10
- first: Parlant.GuidelineContent;
11
- second: Parlant.GuidelineContent;
12
- /** Description of the contradiction or conflict between Guidelines */
13
- issue: string;
14
- /** Numerical rating of the contradiction's severity (1-10, where 10 is most severe) */
15
- severity: number;
16
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * The specific relationship between the contradicting guidelines.
6
- */
7
- export type CoherenceCheckKindDto = "contradiction_with_existing_guideline" | "contradiction_with_another_evaluated_guideline";
8
- export declare const CoherenceCheckKindDto: {
9
- readonly ContradictionWithExistingGuideline: "contradiction_with_existing_guideline";
10
- readonly ContradictionWithAnotherEvaluatedGuideline: "contradiction_with_another_evaluated_guideline";
11
- };
@@ -1,10 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.CoherenceCheckKindDto = void 0;
7
- exports.CoherenceCheckKindDto = {
8
- ContradictionWithExistingGuideline: "contradiction_with_existing_guideline",
9
- ContradictionWithAnotherEvaluatedGuideline: "contradiction_with_another_evaluated_guideline",
10
- };
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Proposed logical connection between guidelines
7
- */
8
- export interface ConnectionProposition {
9
- checkKind: Parlant.ConnectionPropositionKindDto;
10
- source: Parlant.GuidelineContent;
11
- target: Parlant.GuidelineContent;
12
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * The specific relationship between the connected guidelines.
6
- */
7
- export type ConnectionPropositionKindDto = "connection_with_existing_guideline" | "connection_with_another_evaluated_guideline";
8
- export declare const ConnectionPropositionKindDto: {
9
- readonly ConnectionWithExistingGuideline: "connection_with_existing_guideline";
10
- readonly ConnectionWithAnotherEvaluatedGuideline: "connection_with_another_evaluated_guideline";
11
- };
@@ -1,10 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ConnectionPropositionKindDto = void 0;
7
- exports.ConnectionPropositionKindDto = {
8
- ConnectionWithExistingGuideline: "connection_with_existing_guideline",
9
- ConnectionWithAnotherEvaluatedGuideline: "connection_with_another_evaluated_guideline",
10
- };
@@ -1,22 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Represents a type of customer or tag data that the agent tracks.
7
- *
8
- * Context variables store information that helps the agent provide
9
- * personalized responses based on each customer's or group's specific situation,
10
- * such as their subscription tier, usage patterns, or preferences.
11
- */
12
- export interface LegacyContextVariable {
13
- /** Unique identifier for the context variable */
14
- id: string;
15
- /** Name of the context variable */
16
- name: string;
17
- /** Description of the context variable's purpose */
18
- description?: string;
19
- toolId?: Parlant.ToolId;
20
- /** Cron expression defining the freshness rules */
21
- freshnessRules?: string;
22
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Parameters for creating a new context variable.
7
- */
8
- export interface LegacyContextVariableCreationParams {
9
- /** Name of the context variable */
10
- name: string;
11
- /** Description of the context variable's purpose */
12
- description?: string;
13
- toolId?: Parlant.ToolId;
14
- /** Cron expression defining the freshness rules */
15
- freshnessRules?: string;
16
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Complete context variable data including its values.
7
- */
8
- export interface LegacyContextVariableReadResult {
9
- contextVariable: Parlant.LegacyContextVariable;
10
- /** Collection of key-value pairs associated with the variable */
11
- keyValuePairs?: Record<string, Parlant.ContextVariableValue | undefined>;
12
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Parameters for updating an existing context variable.
7
- */
8
- export interface LegacyContextVariableUpdateParams {
9
- /** Name of the context variable */
10
- name?: string;
11
- /** Description of the context variable's purpose */
12
- description?: string;
13
- toolId?: Parlant.ToolId;
14
- /** Cron expression defining the freshness rules */
15
- freshnessRules?: string;
16
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * An evaluation task information tracking analysis of payloads.
7
- */
8
- export interface LegacyEvaluation {
9
- /** Unique identifier of the evaluation to retrieve */
10
- id: string;
11
- status: Parlant.EvaluationStatusDto;
12
- /** Progress of the evaluation from 0.0 to 100.0 */
13
- progress: number;
14
- /** UTC timestamp when the evaluation was created */
15
- creationUtc: Date;
16
- /** Error message if the evaluation failed */
17
- error?: string;
18
- invoices: Parlant.LegacyInvoice[];
19
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Parameters for creating a new evaluation task
7
- */
8
- export interface LegacyEvaluationCreationParams {
9
- /** Unique identifier for the agent */
10
- agentId: string;
11
- payloads: Parlant.LegacyPayload[];
12
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Assigns an id to the condition-action pair
6
- */
7
- export interface LegacyGuideline {
8
- /** Unique identifier for the guideline */
9
- id: string;
10
- /** If this condition is satisfied, the action will be performed */
11
- condition: string;
12
- /** This action will be performed if the condition is satisfied */
13
- action: string;
14
- /** Whether the guideline is enabled */
15
- enabled?: boolean;
16
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Represents a connection between two guidelines.
7
- */
8
- export interface LegacyGuidelineConnection {
9
- /** Unique identifier for the guideline connection */
10
- id: string;
11
- source: Parlant.LegacyGuideline;
12
- target: Parlant.LegacyGuideline;
13
- /** `True` if there is a path from `source` to `target` but no direct connection */
14
- indirect: boolean;
15
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Used to add connections between Guidelines.
6
- */
7
- export interface LegacyGuidelineConnectionAddition {
8
- /** `id` of guideline that is source of this connection. */
9
- source: string;
10
- /** `id` of guideline that is target of this connection. */
11
- target: string;
12
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Parameters for updating a guideline connection.
7
- *
8
- * `add` is expected to be a collection of addition objects.
9
- * `remove` should contain the `id`s of the guidelines to remove.
10
- */
11
- export interface LegacyGuidelineConnectionUpdateParams {
12
- add?: Parlant.LegacyGuidelineConnectionAddition[];
13
- remove?: string[];
14
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Evaluation invoices to generate Guidelines from.
7
- */
8
- export interface LegacyGuidelineCreationParams {
9
- invoices: Parlant.LegacyInvoice[];
10
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Result wrapper for Guidelines creation.
7
- */
8
- export interface LegacyGuidelineCreationResult {
9
- items: Parlant.LegacyGuidelineWithConnectionsAndToolAssociations[];
10
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Evaluation results for a Guideline, including contradiction checks and connection proposals
7
- */
8
- export interface LegacyGuidelineInvoiceData {
9
- coherenceChecks: Parlant.CoherenceCheck[];
10
- connectionPropositions?: Parlant.ConnectionProposition[];
11
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Payload data for a Guideline operation
7
- */
8
- export interface LegacyGuidelinePayload {
9
- content: Parlant.GuidelineContent;
10
- operation: Parlant.GuidelinePayloadOperationDto;
11
- /** Unique identifier for the guideline */
12
- updatedId?: string;
13
- /** Whether to check for contradictions with other Guidelines */
14
- coherenceCheck: boolean;
15
- /** Whether to propose logical connections with other Guidelines */
16
- connectionProposition: boolean;
17
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Parameters for updating Guideline objects.
7
- */
8
- export interface LegacyGuidelineUpdateParams {
9
- connections?: Parlant.LegacyGuidelineConnectionUpdateParams;
10
- toolAssociations?: Parlant.GuidelineToolAssociationUpdateParams;
11
- enabled?: boolean;
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * A Guideline with its connections and tool associations.
7
- */
8
- export interface LegacyGuidelineWithConnectionsAndToolAssociations {
9
- guideline: Parlant.LegacyGuideline;
10
- connections: Parlant.LegacyGuidelineConnection[];
11
- toolAssociations: Parlant.GuidelineToolAssociation[];
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,19 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Represents the result of evaluating a single payload in an evaluation task.
7
- *
8
- * An invoice is a comprehensive record of the evaluation results for a single payload.
9
- */
10
- export interface LegacyInvoice {
11
- payload: Parlant.LegacyPayload;
12
- /** Checksum of the invoice content */
13
- checksum: string;
14
- /** Whether the evaluation task the invoice represents has been approved */
15
- approved: boolean;
16
- data?: Parlant.LegacyInvoiceData;
17
- /** Error message if the evaluation failed */
18
- error?: string;
19
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * Contains the relevant invoice data.
7
- *
8
- * At this point only `guideline` is supported.
9
- */
10
- export interface LegacyInvoiceData {
11
- guideline?: Parlant.LegacyGuidelineInvoiceData;
12
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Parlant from "../index";
5
- /**
6
- * A container for a guideline payload along with its kind
7
- *
8
- * Only `"guideline"` is available at this point.
9
- */
10
- export interface LegacyPayload {
11
- kind: Parlant.PayloadKindDto;
12
- guideline?: Parlant.LegacyGuidelinePayload;
13
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Represents a glossary term associated with an agent.
6
- *
7
- * Use this model for representing complete term information in API responses.
8
- */
9
- export interface LegacyTerm {
10
- /** Unique identifier for the term */
11
- id: string;
12
- /** The name of the term, e.g., 'Gas' in blockchain. */
13
- name: string;
14
- /** A detailed description of the term */
15
- description: string;
16
- /** A list of synonyms for the term, including alternate contexts if applicable. */
17
- synonyms?: string[];
18
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Parameters for creating a new glossary term.
6
- *
7
- * Use this model when adding new terms to an agent's glossary.
8
- */
9
- export interface LegacyTermCreationParams {
10
- /** The name of the term, e.g., 'Gas' in blockchain. */
11
- name: string;
12
- /** A detailed description of the term */
13
- description: string;
14
- /** A list of synonyms for the term, including alternate contexts if applicable. */
15
- synonyms?: string[];
16
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Parameters for updating an existing glossary term.
6
- *
7
- * All fields are optional. Only the provided fields will be updated.
8
- */
9
- export interface LegacyTermUpdateParams {
10
- /** The name of the term, e.g., 'Gas' in blockchain. */
11
- name?: string;
12
- /** A detailed description of the term */
13
- description?: string;
14
- /** A list of synonyms for the term, including alternate contexts if applicable. */
15
- synonyms?: string[];
16
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Parlant from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- import { Customer } from "../../../types/Customer";
8
- export declare const Response: core.serialization.Schema<serializers.customers.list.Response.Raw, Parlant.Customer[]>;
9
- export declare namespace Response {
10
- type Raw = Customer.Raw[];
11
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Parlant from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- import { Session } from "../../../types/Session";
8
- export declare const Response: core.serialization.Schema<serializers.sessions.list.Response.Raw, Parlant.Session[]>;
9
- export declare namespace Response {
10
- type Raw = Session.Raw[];
11
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index";
5
- import * as Parlant from "../../api/index";
6
- import * as core from "../../core";
7
- import { CoherenceCheckKindDto } from "./CoherenceCheckKindDto";
8
- import { GuidelineContent } from "./GuidelineContent";
9
- export declare const CoherenceCheck: core.serialization.ObjectSchema<serializers.CoherenceCheck.Raw, Parlant.CoherenceCheck>;
10
- export declare namespace CoherenceCheck {
11
- interface Raw {
12
- kind: CoherenceCheckKindDto.Raw;
13
- first: GuidelineContent.Raw;
14
- second: GuidelineContent.Raw;
15
- issue: string;
16
- severity: number;
17
- }
18
- }