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
@@ -1,44 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.LegacyGuidelineCreationResult = void 0;
40
- const core = __importStar(require("../../core"));
41
- const LegacyGuidelineWithConnectionsAndToolAssociations_1 = require("./LegacyGuidelineWithConnectionsAndToolAssociations");
42
- exports.LegacyGuidelineCreationResult = core.serialization.object({
43
- items: core.serialization.list(LegacyGuidelineWithConnectionsAndToolAssociations_1.LegacyGuidelineWithConnectionsAndToolAssociations),
44
- });
@@ -1,15 +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 { CoherenceCheck } from "./CoherenceCheck";
8
- import { ConnectionProposition } from "./ConnectionProposition";
9
- export declare const LegacyGuidelineInvoiceData: core.serialization.ObjectSchema<serializers.LegacyGuidelineInvoiceData.Raw, Parlant.LegacyGuidelineInvoiceData>;
10
- export declare namespace LegacyGuidelineInvoiceData {
11
- interface Raw {
12
- coherence_checks: CoherenceCheck.Raw[];
13
- connection_propositions?: ConnectionProposition.Raw[] | null;
14
- }
15
- }
@@ -1,46 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.LegacyGuidelineInvoiceData = void 0;
40
- const core = __importStar(require("../../core"));
41
- const CoherenceCheck_1 = require("./CoherenceCheck");
42
- const ConnectionProposition_1 = require("./ConnectionProposition");
43
- exports.LegacyGuidelineInvoiceData = core.serialization.object({
44
- coherenceChecks: core.serialization.property("coherence_checks", core.serialization.list(CoherenceCheck_1.CoherenceCheck)),
45
- connectionPropositions: core.serialization.property("connection_propositions", core.serialization.list(ConnectionProposition_1.ConnectionProposition).optional()),
46
- });
@@ -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 { GuidelineContent } from "./GuidelineContent";
8
- import { GuidelinePayloadOperationDto } from "./GuidelinePayloadOperationDto";
9
- export declare const LegacyGuidelinePayload: core.serialization.ObjectSchema<serializers.LegacyGuidelinePayload.Raw, Parlant.LegacyGuidelinePayload>;
10
- export declare namespace LegacyGuidelinePayload {
11
- interface Raw {
12
- content: GuidelineContent.Raw;
13
- operation: GuidelinePayloadOperationDto.Raw;
14
- updated_id?: string | null;
15
- coherence_check: boolean;
16
- connection_proposition: boolean;
17
- }
18
- }
@@ -1,49 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.LegacyGuidelinePayload = void 0;
40
- const core = __importStar(require("../../core"));
41
- const GuidelineContent_1 = require("./GuidelineContent");
42
- const GuidelinePayloadOperationDto_1 = require("./GuidelinePayloadOperationDto");
43
- exports.LegacyGuidelinePayload = core.serialization.object({
44
- content: GuidelineContent_1.GuidelineContent,
45
- operation: GuidelinePayloadOperationDto_1.GuidelinePayloadOperationDto,
46
- updatedId: core.serialization.property("updated_id", core.serialization.string().optional()),
47
- coherenceCheck: core.serialization.property("coherence_check", core.serialization.boolean()),
48
- connectionProposition: core.serialization.property("connection_proposition", core.serialization.boolean()),
49
- });
@@ -1,16 +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 { LegacyGuidelineConnectionUpdateParams } from "./LegacyGuidelineConnectionUpdateParams";
8
- import { GuidelineToolAssociationUpdateParams } from "./GuidelineToolAssociationUpdateParams";
9
- export declare const LegacyGuidelineUpdateParams: core.serialization.ObjectSchema<serializers.LegacyGuidelineUpdateParams.Raw, Parlant.LegacyGuidelineUpdateParams>;
10
- export declare namespace LegacyGuidelineUpdateParams {
11
- interface Raw {
12
- connections?: LegacyGuidelineConnectionUpdateParams.Raw | null;
13
- tool_associations?: GuidelineToolAssociationUpdateParams.Raw | null;
14
- enabled?: boolean | null;
15
- }
16
- }
@@ -1,47 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.LegacyGuidelineUpdateParams = void 0;
40
- const core = __importStar(require("../../core"));
41
- const LegacyGuidelineConnectionUpdateParams_1 = require("./LegacyGuidelineConnectionUpdateParams");
42
- const GuidelineToolAssociationUpdateParams_1 = require("./GuidelineToolAssociationUpdateParams");
43
- exports.LegacyGuidelineUpdateParams = core.serialization.object({
44
- connections: LegacyGuidelineConnectionUpdateParams_1.LegacyGuidelineConnectionUpdateParams.optional(),
45
- toolAssociations: core.serialization.property("tool_associations", GuidelineToolAssociationUpdateParams_1.GuidelineToolAssociationUpdateParams.optional()),
46
- enabled: core.serialization.boolean().optional(),
47
- });
@@ -1,17 +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 { LegacyGuideline } from "./LegacyGuideline";
8
- import { LegacyGuidelineConnection } from "./LegacyGuidelineConnection";
9
- import { GuidelineToolAssociation } from "./GuidelineToolAssociation";
10
- export declare const LegacyGuidelineWithConnectionsAndToolAssociations: core.serialization.ObjectSchema<serializers.LegacyGuidelineWithConnectionsAndToolAssociations.Raw, Parlant.LegacyGuidelineWithConnectionsAndToolAssociations>;
11
- export declare namespace LegacyGuidelineWithConnectionsAndToolAssociations {
12
- interface Raw {
13
- guideline: LegacyGuideline.Raw;
14
- connections: LegacyGuidelineConnection.Raw[];
15
- tool_associations: GuidelineToolAssociation.Raw[];
16
- }
17
- }
@@ -1,48 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.LegacyGuidelineWithConnectionsAndToolAssociations = void 0;
40
- const core = __importStar(require("../../core"));
41
- const LegacyGuideline_1 = require("./LegacyGuideline");
42
- const LegacyGuidelineConnection_1 = require("./LegacyGuidelineConnection");
43
- const GuidelineToolAssociation_1 = require("./GuidelineToolAssociation");
44
- exports.LegacyGuidelineWithConnectionsAndToolAssociations = core.serialization.object({
45
- guideline: LegacyGuideline_1.LegacyGuideline,
46
- connections: core.serialization.list(LegacyGuidelineConnection_1.LegacyGuidelineConnection),
47
- toolAssociations: core.serialization.property("tool_associations", core.serialization.list(GuidelineToolAssociation_1.GuidelineToolAssociation)),
48
- });
@@ -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 { LegacyPayload } from "./LegacyPayload";
8
- import { LegacyInvoiceData } from "./LegacyInvoiceData";
9
- export declare const LegacyInvoice: core.serialization.ObjectSchema<serializers.LegacyInvoice.Raw, Parlant.LegacyInvoice>;
10
- export declare namespace LegacyInvoice {
11
- interface Raw {
12
- payload: LegacyPayload.Raw;
13
- checksum: string;
14
- approved: boolean;
15
- data?: LegacyInvoiceData.Raw | null;
16
- error?: string | null;
17
- }
18
- }
@@ -1,49 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.LegacyInvoice = void 0;
40
- const core = __importStar(require("../../core"));
41
- const LegacyPayload_1 = require("./LegacyPayload");
42
- const LegacyInvoiceData_1 = require("./LegacyInvoiceData");
43
- exports.LegacyInvoice = core.serialization.object({
44
- payload: LegacyPayload_1.LegacyPayload,
45
- checksum: core.serialization.string(),
46
- approved: core.serialization.boolean(),
47
- data: LegacyInvoiceData_1.LegacyInvoiceData.optional(),
48
- error: core.serialization.string().optional(),
49
- });
@@ -1,13 +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 { LegacyGuidelineInvoiceData } from "./LegacyGuidelineInvoiceData";
8
- export declare const LegacyInvoiceData: core.serialization.ObjectSchema<serializers.LegacyInvoiceData.Raw, Parlant.LegacyInvoiceData>;
9
- export declare namespace LegacyInvoiceData {
10
- interface Raw {
11
- guideline?: LegacyGuidelineInvoiceData.Raw | null;
12
- }
13
- }
@@ -1,15 +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 { PayloadKindDto } from "./PayloadKindDto";
8
- import { LegacyGuidelinePayload } from "./LegacyGuidelinePayload";
9
- export declare const LegacyPayload: core.serialization.ObjectSchema<serializers.LegacyPayload.Raw, Parlant.LegacyPayload>;
10
- export declare namespace LegacyPayload {
11
- interface Raw {
12
- kind: PayloadKindDto.Raw;
13
- guideline?: LegacyGuidelinePayload.Raw | null;
14
- }
15
- }
@@ -1,46 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.LegacyPayload = void 0;
40
- const core = __importStar(require("../../core"));
41
- const PayloadKindDto_1 = require("./PayloadKindDto");
42
- const LegacyGuidelinePayload_1 = require("./LegacyGuidelinePayload");
43
- exports.LegacyPayload = core.serialization.object({
44
- kind: PayloadKindDto_1.PayloadKindDto,
45
- guideline: LegacyGuidelinePayload_1.LegacyGuidelinePayload.optional(),
46
- });
@@ -1,15 +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
- export declare const LegacyTerm: core.serialization.ObjectSchema<serializers.LegacyTerm.Raw, Parlant.LegacyTerm>;
8
- export declare namespace LegacyTerm {
9
- interface Raw {
10
- id: string;
11
- name: string;
12
- description: string;
13
- synonyms?: string[] | null;
14
- }
15
- }
@@ -1,46 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.LegacyTerm = void 0;
40
- const core = __importStar(require("../../core"));
41
- exports.LegacyTerm = core.serialization.object({
42
- id: core.serialization.string(),
43
- name: core.serialization.string(),
44
- description: core.serialization.string(),
45
- synonyms: core.serialization.list(core.serialization.string()).optional(),
46
- });
@@ -1,14 +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
- export declare const LegacyTermCreationParams: core.serialization.ObjectSchema<serializers.LegacyTermCreationParams.Raw, Parlant.LegacyTermCreationParams>;
8
- export declare namespace LegacyTermCreationParams {
9
- interface Raw {
10
- name: string;
11
- description: string;
12
- synonyms?: string[] | null;
13
- }
14
- }
@@ -1,45 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.LegacyTermCreationParams = void 0;
40
- const core = __importStar(require("../../core"));
41
- exports.LegacyTermCreationParams = core.serialization.object({
42
- name: core.serialization.string(),
43
- description: core.serialization.string(),
44
- synonyms: core.serialization.list(core.serialization.string()).optional(),
45
- });
@@ -1,14 +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
- export declare const LegacyTermUpdateParams: core.serialization.ObjectSchema<serializers.LegacyTermUpdateParams.Raw, Parlant.LegacyTermUpdateParams>;
8
- export declare namespace LegacyTermUpdateParams {
9
- interface Raw {
10
- name?: string | null;
11
- description?: string | null;
12
- synonyms?: string[] | null;
13
- }
14
- }
@@ -1,45 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.LegacyTermUpdateParams = void 0;
40
- const core = __importStar(require("../../core"));
41
- exports.LegacyTermUpdateParams = core.serialization.object({
42
- name: core.serialization.string().optional(),
43
- description: core.serialization.string().optional(),
44
- synonyms: core.serialization.list(core.serialization.string()).optional(),
45
- });