mavenagi 1.2.72 → 1.2.73

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 (416) hide show
  1. package/BaseClient.js +2 -2
  2. package/Client.d.ts +3 -0
  3. package/Client.js +47 -42
  4. package/api/resources/agentVariants/client/Client.d.ts +484 -0
  5. package/api/resources/agentVariants/client/Client.js +1888 -0
  6. package/api/resources/agentVariants/client/index.d.ts +1 -0
  7. package/api/resources/agentVariants/client/index.js +17 -0
  8. package/api/resources/agentVariants/client/requests/AgentVariantBaseGetRequest.d.ts +8 -0
  9. package/api/resources/agentVariants/client/requests/AgentVariantBaseGetRequest.js +3 -0
  10. package/api/resources/agentVariants/client/requests/AgentVariantCommitRequest.d.ts +27 -0
  11. package/api/resources/agentVariants/client/requests/AgentVariantCommitRequest.js +3 -0
  12. package/api/resources/agentVariants/client/requests/AgentVariantDeleteRequest.d.ts +8 -0
  13. package/api/resources/agentVariants/client/requests/AgentVariantDeleteRequest.js +3 -0
  14. package/api/resources/agentVariants/client/requests/DiscardWorkingSetEditsRequest.d.ts +10 -0
  15. package/api/resources/agentVariants/client/requests/DiscardWorkingSetEditsRequest.js +3 -0
  16. package/api/resources/agentVariants/client/requests/GetEntityEditByIdRequest.d.ts +17 -0
  17. package/api/resources/agentVariants/client/requests/GetEntityEditByIdRequest.js +3 -0
  18. package/api/resources/agentVariants/client/requests/GetSettingEditRequest.d.ts +13 -0
  19. package/api/resources/agentVariants/client/requests/GetSettingEditRequest.js +3 -0
  20. package/api/resources/agentVariants/client/requests/GetTrafficConfigRequest.d.ts +8 -0
  21. package/api/resources/agentVariants/client/requests/GetTrafficConfigRequest.js +3 -0
  22. package/api/resources/agentVariants/client/requests/ListTrafficConfigsRequest.d.ts +12 -0
  23. package/api/resources/agentVariants/client/requests/ListTrafficConfigsRequest.js +3 -0
  24. package/api/resources/agentVariants/client/requests/PatchAgentVariantRequest.d.ts +15 -0
  25. package/api/resources/agentVariants/client/requests/PatchAgentVariantRequest.js +3 -0
  26. package/api/resources/agentVariants/client/requests/WorkingSetDiffRequest.d.ts +8 -0
  27. package/api/resources/agentVariants/client/requests/WorkingSetDiffRequest.js +3 -0
  28. package/api/resources/agentVariants/client/requests/index.d.ts +10 -0
  29. package/api/resources/agentVariants/client/requests/index.js +2 -0
  30. package/api/resources/agentVariants/exports.d.ts +2 -0
  31. package/api/resources/agentVariants/exports.js +21 -0
  32. package/api/resources/agentVariants/index.d.ts +2 -0
  33. package/api/resources/agentVariants/index.js +18 -0
  34. package/api/resources/agentVariants/types/AddedCharterDiff.d.ts +5 -0
  35. package/api/resources/agentVariants/types/AddedCharterDiff.js +3 -0
  36. package/api/resources/agentVariants/types/AddedIntelligentFieldDiff.d.ts +5 -0
  37. package/api/resources/agentVariants/types/AddedIntelligentFieldDiff.js +3 -0
  38. package/api/resources/agentVariants/types/AgentSettingEdits.d.ts +16 -0
  39. package/api/resources/agentVariants/types/AgentSettingEdits.js +3 -0
  40. package/api/resources/agentVariants/types/AgentSettingsDiff.d.ts +12 -0
  41. package/api/resources/agentVariants/types/AgentSettingsDiff.js +3 -0
  42. package/api/resources/agentVariants/types/AgentVariantCompareRequest.d.ts +14 -0
  43. package/api/resources/agentVariants/types/AgentVariantCompareRequest.js +3 -0
  44. package/api/resources/agentVariants/types/AgentVariantCompareResponse.d.ts +78 -0
  45. package/api/resources/agentVariants/types/AgentVariantCompareResponse.js +3 -0
  46. package/api/resources/agentVariants/types/AgentVariantDiff.d.ts +9 -0
  47. package/api/resources/agentVariants/types/AgentVariantDiff.js +3 -0
  48. package/api/resources/agentVariants/types/AgentVariantFilter.d.ts +9 -0
  49. package/api/resources/agentVariants/types/AgentVariantFilter.js +3 -0
  50. package/api/resources/agentVariants/types/AgentVariantListRequest.d.ts +3 -0
  51. package/api/resources/agentVariants/types/AgentVariantListRequest.js +3 -0
  52. package/api/resources/agentVariants/types/AgentVariantRequest.d.ts +28 -0
  53. package/api/resources/agentVariants/types/AgentVariantRequest.js +3 -0
  54. package/api/resources/agentVariants/types/AgentVariantResponse.d.ts +43 -0
  55. package/api/resources/agentVariants/types/AgentVariantResponse.js +3 -0
  56. package/api/resources/agentVariants/types/AgentVariantSearchResult.d.ts +7 -0
  57. package/api/resources/agentVariants/types/AgentVariantSearchResult.js +3 -0
  58. package/api/resources/agentVariants/types/AgentVariantSortField.d.ts +6 -0
  59. package/api/resources/agentVariants/types/AgentVariantSortField.js +9 -0
  60. package/api/resources/agentVariants/types/AgentVariantStatus.d.ts +9 -0
  61. package/api/resources/agentVariants/types/AgentVariantStatus.js +12 -0
  62. package/api/resources/agentVariants/types/AgentVariantTraffic.d.ts +7 -0
  63. package/api/resources/agentVariants/types/AgentVariantTraffic.js +3 -0
  64. package/api/resources/agentVariants/types/AgentVariantsSearchRequest.d.ts +6 -0
  65. package/api/resources/agentVariants/types/AgentVariantsSearchRequest.js +3 -0
  66. package/api/resources/agentVariants/types/AgentVariantsSearchResponse.d.ts +63 -0
  67. package/api/resources/agentVariants/types/AgentVariantsSearchResponse.js +3 -0
  68. package/api/resources/agentVariants/types/CharterDiff.d.ts +29 -0
  69. package/api/resources/agentVariants/types/CharterDiff.js +3 -0
  70. package/api/resources/agentVariants/types/CharterEntityEdit.d.ts +5 -0
  71. package/api/resources/agentVariants/types/CharterEntityEdit.js +3 -0
  72. package/api/resources/agentVariants/types/DeletedCharterDiff.d.ts +5 -0
  73. package/api/resources/agentVariants/types/DeletedCharterDiff.js +3 -0
  74. package/api/resources/agentVariants/types/DeletedIntelligentFieldDiff.d.ts +5 -0
  75. package/api/resources/agentVariants/types/DeletedIntelligentFieldDiff.js +3 -0
  76. package/api/resources/agentVariants/types/EntityEdit.d.ts +16 -0
  77. package/api/resources/agentVariants/types/EntityEdit.js +3 -0
  78. package/api/resources/agentVariants/types/EntityEditResponse.d.ts +7 -0
  79. package/api/resources/agentVariants/types/EntityEditResponse.js +3 -0
  80. package/api/resources/agentVariants/types/IntelligentFieldDiff.d.ts +27 -0
  81. package/api/resources/agentVariants/types/IntelligentFieldDiff.js +3 -0
  82. package/api/resources/agentVariants/types/IntelligentFieldEntityEdit.d.ts +5 -0
  83. package/api/resources/agentVariants/types/IntelligentFieldEntityEdit.js +3 -0
  84. package/api/resources/agentVariants/types/ListAgentVariantsResponse.d.ts +42 -0
  85. package/api/resources/agentVariants/types/ListAgentVariantsResponse.js +3 -0
  86. package/api/resources/agentVariants/types/ListTrafficConfigsResponse.d.ts +5 -0
  87. package/api/resources/agentVariants/types/ListTrafficConfigsResponse.js +3 -0
  88. package/api/resources/agentVariants/types/ModifiedCharterDiff.d.ts +7 -0
  89. package/api/resources/agentVariants/types/ModifiedCharterDiff.js +3 -0
  90. package/api/resources/agentVariants/types/ModifiedIntelligentFieldDiff.d.ts +7 -0
  91. package/api/resources/agentVariants/types/ModifiedIntelligentFieldDiff.js +3 -0
  92. package/api/resources/agentVariants/types/TrafficAllocation.d.ts +15 -0
  93. package/api/resources/agentVariants/types/TrafficAllocation.js +3 -0
  94. package/api/resources/agentVariants/types/TrafficConfigResponse.d.ts +16 -0
  95. package/api/resources/agentVariants/types/TrafficConfigResponse.js +3 -0
  96. package/api/resources/agentVariants/types/TrafficFraction.d.ts +4 -0
  97. package/api/resources/agentVariants/types/TrafficFraction.js +3 -0
  98. package/api/resources/agentVariants/types/TrafficRule.d.ts +9 -0
  99. package/api/resources/agentVariants/types/TrafficRule.js +3 -0
  100. package/api/resources/agentVariants/types/UpdateTrafficConfigRequest.d.ts +7 -0
  101. package/api/resources/agentVariants/types/UpdateTrafficConfigRequest.js +3 -0
  102. package/api/resources/agentVariants/types/WorkingSetDiffResponse.d.ts +12 -0
  103. package/api/resources/agentVariants/types/WorkingSetDiffResponse.js +3 -0
  104. package/api/resources/agentVariants/types/index.d.ts +35 -0
  105. package/api/resources/agentVariants/types/index.js +51 -0
  106. package/api/resources/agents/client/Client.d.ts +62 -0
  107. package/api/resources/agents/client/Client.js +234 -0
  108. package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +8 -3
  109. package/api/resources/agents/client/requests/GetVersionedAgentSettingsRequest.d.ts +10 -0
  110. package/api/resources/agents/client/requests/GetVersionedAgentSettingsRequest.js +3 -0
  111. package/api/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.d.ts +17 -0
  112. package/api/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.js +3 -0
  113. package/api/resources/agents/client/requests/index.d.ts +2 -0
  114. package/api/resources/agents/types/Agent.d.ts +9 -1
  115. package/api/resources/agents/types/AgentMigrations.d.ts +20 -0
  116. package/api/resources/agents/types/AgentMigrations.js +3 -0
  117. package/api/resources/agents/types/AgentMigrationsPatch.d.ts +7 -0
  118. package/api/resources/agents/types/AgentMigrationsPatch.js +3 -0
  119. package/api/resources/agents/types/AgentPrompting.d.ts +1 -1
  120. package/api/resources/agents/types/AgentSettingName.d.ts +6 -0
  121. package/api/resources/agents/types/AgentSettingName.js +9 -0
  122. package/api/resources/agents/types/VersionedAgentSettings.d.ts +13 -0
  123. package/api/resources/agents/types/VersionedAgentSettings.js +3 -0
  124. package/api/resources/agents/types/VersionedEntityTypeOrSetting.d.ts +5 -0
  125. package/api/resources/agents/types/VersionedEntityTypeOrSetting.js +3 -0
  126. package/api/resources/agents/types/index.d.ts +5 -0
  127. package/api/resources/agents/types/index.js +5 -0
  128. package/api/resources/analytics/client/Client.d.ts +1 -1
  129. package/api/resources/analytics/client/Client.js +1 -1
  130. package/api/resources/analytics/types/AgentUserTableRequest.d.ts +2 -0
  131. package/api/resources/analytics/types/ConversationAnalyticsRequest.d.ts +7 -1
  132. package/api/resources/analytics/types/ConversationTableRequest.d.ts +7 -1
  133. package/api/resources/analytics/types/EventTableRequest.d.ts +1 -0
  134. package/api/resources/analytics/types/GroupByBase.d.ts +1 -1
  135. package/api/resources/analytics/types/TimeInterval.d.ts +11 -0
  136. package/api/resources/analytics/types/TimeInterval.js +11 -0
  137. package/api/resources/appDirectory/client/Client.d.ts +41 -2
  138. package/api/resources/appDirectory/client/Client.js +49 -2
  139. package/api/resources/appDirectory/types/InstallDirectoryAppRequest.d.ts +27 -5
  140. package/api/resources/appSettings/client/Client.d.ts +11 -4
  141. package/api/resources/appSettings/client/Client.js +11 -4
  142. package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +4 -0
  143. package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.js +4 -0
  144. package/api/resources/charters/client/Client.d.ts +8 -1
  145. package/api/resources/charters/client/Client.js +8 -1
  146. package/api/resources/charters/client/requests/CharterPatchRequest.d.ts +7 -4
  147. package/api/resources/charters/types/CharterBase.d.ts +5 -3
  148. package/api/resources/charters/types/CharterEdit.d.ts +18 -0
  149. package/api/resources/charters/types/CharterEdit.js +3 -0
  150. package/api/resources/charters/types/CharterPayload.d.ts +10 -0
  151. package/api/resources/charters/types/CharterPayload.js +3 -0
  152. package/api/resources/charters/types/CharterResponse.d.ts +17 -2
  153. package/api/resources/charters/types/CharterSummary.d.ts +17 -2
  154. package/api/resources/charters/types/index.d.ts +2 -0
  155. package/api/resources/charters/types/index.js +2 -0
  156. package/api/resources/commons/types/BotLogicKnowledgeItem.d.ts +2 -0
  157. package/api/resources/commons/types/BotResponseMetadata.d.ts +5 -0
  158. package/api/resources/commons/types/CapabilityBase.d.ts +4 -0
  159. package/api/resources/commons/types/ErrorReason.d.ts +2 -2
  160. package/api/resources/commons/types/ErrorReason.js +2 -2
  161. package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +9 -1
  162. package/api/resources/commons/types/ResolutionStatus.d.ts +4 -4
  163. package/api/resources/commons/types/ResolutionStatus.js +4 -4
  164. package/api/resources/commons/types/SimulationSetupFields.d.ts +2 -3
  165. package/api/resources/commons/types/SystemEventName.d.ts +6 -0
  166. package/api/resources/commons/types/SystemEventName.js +6 -0
  167. package/api/resources/conversation/client/Client.d.ts +19 -0
  168. package/api/resources/conversation/client/Client.js +19 -0
  169. package/api/resources/conversation/client/requests/ConversationGetRequest.d.ts +1 -1
  170. package/api/resources/conversation/types/BillableFilterField.d.ts +1 -1
  171. package/api/resources/conversation/types/BillableFilterField.js +1 -1
  172. package/api/resources/conversation/types/ConversationRequest.d.ts +2 -1
  173. package/api/resources/conversation/types/NumericConversationField.d.ts +13 -0
  174. package/api/resources/conversation/types/NumericConversationField.js +13 -0
  175. package/api/resources/developersCommons/types/MarketplaceAppDetail.d.ts +3 -2
  176. package/api/resources/index.d.ts +5 -0
  177. package/api/resources/index.js +6 -1
  178. package/api/resources/intelligentFields/client/Client.d.ts +13 -4
  179. package/api/resources/intelligentFields/client/Client.js +13 -4
  180. package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +1 -1
  181. package/api/resources/intelligentFields/types/IntelligentFieldEdit.d.ts +16 -0
  182. package/api/resources/intelligentFields/types/IntelligentFieldEdit.js +3 -0
  183. package/api/resources/intelligentFields/types/IntelligentFieldPayload.d.ts +12 -0
  184. package/api/resources/intelligentFields/types/IntelligentFieldPayload.js +3 -0
  185. package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +3 -4
  186. package/api/resources/intelligentFields/types/index.d.ts +2 -0
  187. package/api/resources/intelligentFields/types/index.js +2 -0
  188. package/api/resources/knowledge/client/Client.d.ts +19 -2
  189. package/api/resources/knowledge/client/Client.js +19 -2
  190. package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +4 -0
  191. package/api/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -0
  192. package/api/resources/knowledge/types/KnowledgeBaseType.js +2 -0
  193. package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +4 -0
  194. package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +4 -0
  195. package/api/resources/organizations/types/Organization.d.ts +8 -0
  196. package/api/resources/triggers/client/Client.d.ts +6 -1
  197. package/api/resources/triggers/client/Client.js +6 -1
  198. package/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +6 -0
  199. package/api/resources/triggers/types/DebounceWait.d.ts +14 -0
  200. package/api/resources/triggers/types/DebounceWait.js +3 -0
  201. package/api/resources/triggers/types/DelayWait.d.ts +13 -0
  202. package/api/resources/triggers/types/DelayWait.js +3 -0
  203. package/api/resources/triggers/types/EventTriggerBase.d.ts +21 -0
  204. package/api/resources/triggers/types/EventTriggerResponse.d.ts +12 -0
  205. package/api/resources/triggers/types/IntervalSchedule.d.ts +17 -0
  206. package/api/resources/triggers/types/IntervalSchedule.js +3 -0
  207. package/api/resources/triggers/types/ScheduleInterval.d.ts +9 -0
  208. package/api/resources/triggers/types/ScheduleInterval.js +12 -0
  209. package/api/resources/triggers/types/ScheduleSpec.d.ts +11 -0
  210. package/api/resources/triggers/types/ScheduleSpec.js +3 -0
  211. package/api/resources/triggers/types/TimeSpan.d.ts +10 -0
  212. package/api/resources/triggers/types/TimeSpan.js +3 -0
  213. package/api/resources/triggers/types/TimeSpanUnit.d.ts +7 -0
  214. package/api/resources/triggers/types/TimeSpanUnit.js +10 -0
  215. package/api/resources/triggers/types/TriggerRateLimit.d.ts +20 -0
  216. package/api/resources/triggers/types/TriggerRateLimit.js +3 -0
  217. package/api/resources/triggers/types/TriggerSchedule.d.ts +30 -0
  218. package/api/resources/triggers/types/TriggerSchedule.js +3 -0
  219. package/api/resources/triggers/types/TriggerWait.d.ts +16 -0
  220. package/api/resources/triggers/types/TriggerWait.js +3 -0
  221. package/api/resources/triggers/types/TriggerWaitBase.d.ts +9 -0
  222. package/api/resources/triggers/types/TriggerWaitBase.js +3 -0
  223. package/api/resources/triggers/types/index.d.ts +11 -0
  224. package/api/resources/triggers/types/index.js +11 -0
  225. package/api/resources/users/client/Client.d.ts +1 -3
  226. package/api/resources/users/client/Client.js +1 -3
  227. package/api/resources/workingSet/index.d.ts +1 -0
  228. package/api/resources/workingSet/index.js +17 -0
  229. package/api/resources/workingSet/types/VariantDebugInfo.d.ts +15 -0
  230. package/api/resources/workingSet/types/VariantDebugInfo.js +3 -0
  231. package/api/resources/workingSet/types/index.d.ts +1 -0
  232. package/api/resources/workingSet/types/index.js +17 -0
  233. package/package.json +1 -1
  234. package/reference.md +1525 -12
  235. package/serialization/resources/agentVariants/client/index.d.ts +1 -0
  236. package/serialization/resources/agentVariants/client/index.js +17 -0
  237. package/serialization/resources/agentVariants/client/requests/AgentVariantCommitRequest.d.ts +15 -0
  238. package/serialization/resources/agentVariants/client/requests/AgentVariantCommitRequest.js +47 -0
  239. package/serialization/resources/agentVariants/client/requests/GetEntityEditByIdRequest.d.ts +11 -0
  240. package/serialization/resources/agentVariants/client/requests/GetEntityEditByIdRequest.js +43 -0
  241. package/serialization/resources/agentVariants/client/requests/GetSettingEditRequest.d.ts +11 -0
  242. package/serialization/resources/agentVariants/client/requests/GetSettingEditRequest.js +43 -0
  243. package/serialization/resources/agentVariants/client/requests/PatchAgentVariantRequest.d.ts +13 -0
  244. package/serialization/resources/agentVariants/client/requests/PatchAgentVariantRequest.js +45 -0
  245. package/serialization/resources/agentVariants/client/requests/WorkingSetDiffRequest.d.ts +9 -0
  246. package/serialization/resources/agentVariants/client/requests/WorkingSetDiffRequest.js +41 -0
  247. package/serialization/resources/agentVariants/client/requests/index.d.ts +5 -0
  248. package/serialization/resources/agentVariants/client/requests/index.js +13 -0
  249. package/serialization/resources/agentVariants/index.d.ts +2 -0
  250. package/serialization/resources/agentVariants/index.js +18 -0
  251. package/serialization/resources/agentVariants/types/AddedCharterDiff.d.ts +10 -0
  252. package/serialization/resources/agentVariants/types/AddedCharterDiff.js +42 -0
  253. package/serialization/resources/agentVariants/types/AddedIntelligentFieldDiff.d.ts +10 -0
  254. package/serialization/resources/agentVariants/types/AddedIntelligentFieldDiff.js +42 -0
  255. package/serialization/resources/agentVariants/types/AgentSettingEdits.d.ts +17 -0
  256. package/serialization/resources/agentVariants/types/AgentSettingEdits.js +49 -0
  257. package/serialization/resources/agentVariants/types/AgentSettingsDiff.d.ts +13 -0
  258. package/serialization/resources/agentVariants/types/AgentSettingsDiff.js +45 -0
  259. package/serialization/resources/agentVariants/types/AgentVariantCompareRequest.d.ts +14 -0
  260. package/serialization/resources/agentVariants/types/AgentVariantCompareRequest.js +46 -0
  261. package/serialization/resources/agentVariants/types/AgentVariantCompareResponse.d.ts +13 -0
  262. package/serialization/resources/agentVariants/types/AgentVariantCompareResponse.js +45 -0
  263. package/serialization/resources/agentVariants/types/AgentVariantDiff.d.ts +14 -0
  264. package/serialization/resources/agentVariants/types/AgentVariantDiff.js +46 -0
  265. package/serialization/resources/agentVariants/types/AgentVariantFilter.d.ts +13 -0
  266. package/serialization/resources/agentVariants/types/AgentVariantFilter.js +45 -0
  267. package/serialization/resources/agentVariants/types/AgentVariantListRequest.d.ts +9 -0
  268. package/serialization/resources/agentVariants/types/AgentVariantListRequest.js +40 -0
  269. package/serialization/resources/agentVariants/types/AgentVariantRequest.d.ts +14 -0
  270. package/serialization/resources/agentVariants/types/AgentVariantRequest.js +46 -0
  271. package/serialization/resources/agentVariants/types/AgentVariantResponse.d.ts +21 -0
  272. package/serialization/resources/agentVariants/types/AgentVariantResponse.js +53 -0
  273. package/serialization/resources/agentVariants/types/AgentVariantSearchResult.d.ts +12 -0
  274. package/serialization/resources/agentVariants/types/AgentVariantSearchResult.js +46 -0
  275. package/serialization/resources/agentVariants/types/AgentVariantSortField.d.ts +7 -0
  276. package/serialization/resources/agentVariants/types/AgentVariantSortField.js +39 -0
  277. package/serialization/resources/agentVariants/types/AgentVariantStatus.d.ts +7 -0
  278. package/serialization/resources/agentVariants/types/AgentVariantStatus.js +39 -0
  279. package/serialization/resources/agentVariants/types/AgentVariantTraffic.d.ts +11 -0
  280. package/serialization/resources/agentVariants/types/AgentVariantTraffic.js +43 -0
  281. package/serialization/resources/agentVariants/types/AgentVariantsSearchRequest.d.ts +13 -0
  282. package/serialization/resources/agentVariants/types/AgentVariantsSearchRequest.js +47 -0
  283. package/serialization/resources/agentVariants/types/AgentVariantsSearchResponse.d.ts +11 -0
  284. package/serialization/resources/agentVariants/types/AgentVariantsSearchResponse.js +45 -0
  285. package/serialization/resources/agentVariants/types/CharterDiff.d.ts +19 -0
  286. package/serialization/resources/agentVariants/types/CharterDiff.js +51 -0
  287. package/serialization/resources/agentVariants/types/CharterEntityEdit.d.ts +10 -0
  288. package/serialization/resources/agentVariants/types/CharterEntityEdit.js +42 -0
  289. package/serialization/resources/agentVariants/types/DeletedCharterDiff.d.ts +10 -0
  290. package/serialization/resources/agentVariants/types/DeletedCharterDiff.js +42 -0
  291. package/serialization/resources/agentVariants/types/DeletedIntelligentFieldDiff.d.ts +10 -0
  292. package/serialization/resources/agentVariants/types/DeletedIntelligentFieldDiff.js +42 -0
  293. package/serialization/resources/agentVariants/types/EntityEdit.d.ts +15 -0
  294. package/serialization/resources/agentVariants/types/EntityEdit.js +49 -0
  295. package/serialization/resources/agentVariants/types/EntityEditResponse.d.ts +12 -0
  296. package/serialization/resources/agentVariants/types/EntityEditResponse.js +44 -0
  297. package/serialization/resources/agentVariants/types/IntelligentFieldDiff.d.ts +19 -0
  298. package/serialization/resources/agentVariants/types/IntelligentFieldDiff.js +51 -0
  299. package/serialization/resources/agentVariants/types/IntelligentFieldEntityEdit.d.ts +10 -0
  300. package/serialization/resources/agentVariants/types/IntelligentFieldEntityEdit.js +42 -0
  301. package/serialization/resources/agentVariants/types/ListAgentVariantsResponse.d.ts +11 -0
  302. package/serialization/resources/agentVariants/types/ListAgentVariantsResponse.js +45 -0
  303. package/serialization/resources/agentVariants/types/ListTrafficConfigsResponse.d.ts +11 -0
  304. package/serialization/resources/agentVariants/types/ListTrafficConfigsResponse.js +45 -0
  305. package/serialization/resources/agentVariants/types/ModifiedCharterDiff.d.ts +11 -0
  306. package/serialization/resources/agentVariants/types/ModifiedCharterDiff.js +43 -0
  307. package/serialization/resources/agentVariants/types/ModifiedIntelligentFieldDiff.d.ts +11 -0
  308. package/serialization/resources/agentVariants/types/ModifiedIntelligentFieldDiff.js +43 -0
  309. package/serialization/resources/agentVariants/types/TrafficAllocation.d.ts +11 -0
  310. package/serialization/resources/agentVariants/types/TrafficAllocation.js +47 -0
  311. package/serialization/resources/agentVariants/types/TrafficConfigResponse.d.ts +16 -0
  312. package/serialization/resources/agentVariants/types/TrafficConfigResponse.js +48 -0
  313. package/serialization/resources/agentVariants/types/TrafficFraction.d.ts +9 -0
  314. package/serialization/resources/agentVariants/types/TrafficFraction.js +41 -0
  315. package/serialization/resources/agentVariants/types/TrafficRule.d.ts +12 -0
  316. package/serialization/resources/agentVariants/types/TrafficRule.js +44 -0
  317. package/serialization/resources/agentVariants/types/UpdateTrafficConfigRequest.d.ts +11 -0
  318. package/serialization/resources/agentVariants/types/UpdateTrafficConfigRequest.js +43 -0
  319. package/serialization/resources/agentVariants/types/WorkingSetDiffResponse.d.ts +13 -0
  320. package/serialization/resources/agentVariants/types/WorkingSetDiffResponse.js +45 -0
  321. package/serialization/resources/agentVariants/types/index.d.ts +35 -0
  322. package/serialization/resources/agentVariants/types/index.js +51 -0
  323. package/serialization/resources/agents/client/requests/AgentPatchRequest.d.ts +2 -0
  324. package/serialization/resources/agents/client/requests/AgentPatchRequest.js +2 -0
  325. package/serialization/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.d.ts +12 -0
  326. package/serialization/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.js +44 -0
  327. package/serialization/resources/agents/client/requests/index.d.ts +1 -0
  328. package/serialization/resources/agents/client/requests/index.js +3 -1
  329. package/serialization/resources/agents/types/Agent.d.ts +6 -0
  330. package/serialization/resources/agents/types/Agent.js +6 -0
  331. package/serialization/resources/agents/types/AgentMigrations.d.ts +11 -0
  332. package/serialization/resources/agents/types/AgentMigrations.js +43 -0
  333. package/serialization/resources/agents/types/AgentMigrationsPatch.d.ts +9 -0
  334. package/serialization/resources/agents/types/AgentMigrationsPatch.js +41 -0
  335. package/serialization/resources/agents/types/AgentSettingName.d.ts +7 -0
  336. package/serialization/resources/agents/types/AgentSettingName.js +42 -0
  337. package/serialization/resources/agents/types/VersionedAgentSettings.d.ts +10 -0
  338. package/serialization/resources/agents/types/VersionedAgentSettings.js +42 -0
  339. package/serialization/resources/agents/types/VersionedEntityTypeOrSetting.d.ts +9 -0
  340. package/serialization/resources/agents/types/VersionedEntityTypeOrSetting.js +41 -0
  341. package/serialization/resources/agents/types/index.d.ts +5 -0
  342. package/serialization/resources/agents/types/index.js +5 -0
  343. package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +1 -1
  344. package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.js +1 -0
  345. package/serialization/resources/charters/types/CharterEdit.d.ts +17 -0
  346. package/serialization/resources/charters/types/CharterEdit.js +49 -0
  347. package/serialization/resources/charters/types/CharterPayload.d.ts +11 -0
  348. package/serialization/resources/charters/types/CharterPayload.js +45 -0
  349. package/serialization/resources/charters/types/CharterResponse.d.ts +3 -0
  350. package/serialization/resources/charters/types/CharterResponse.js +3 -0
  351. package/serialization/resources/charters/types/CharterSummary.d.ts +3 -0
  352. package/serialization/resources/charters/types/CharterSummary.js +3 -0
  353. package/serialization/resources/charters/types/index.d.ts +2 -0
  354. package/serialization/resources/charters/types/index.js +2 -0
  355. package/serialization/resources/commons/types/CapabilityBase.d.ts +3 -0
  356. package/serialization/resources/commons/types/CapabilityBase.js +3 -0
  357. package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
  358. package/serialization/resources/commons/types/SystemEventName.js +2 -0
  359. package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
  360. package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
  361. package/serialization/resources/index.d.ts +5 -0
  362. package/serialization/resources/index.js +6 -1
  363. package/serialization/resources/intelligentFields/types/IntelligentFieldEdit.d.ts +17 -0
  364. package/serialization/resources/intelligentFields/types/IntelligentFieldEdit.js +49 -0
  365. package/serialization/resources/intelligentFields/types/IntelligentFieldPayload.d.ts +13 -0
  366. package/serialization/resources/intelligentFields/types/IntelligentFieldPayload.js +47 -0
  367. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +0 -3
  368. package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +0 -3
  369. package/serialization/resources/intelligentFields/types/index.d.ts +2 -0
  370. package/serialization/resources/intelligentFields/types/index.js +2 -0
  371. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +3 -0
  372. package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +3 -0
  373. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +3 -0
  374. package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +3 -0
  375. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +3 -0
  376. package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +3 -0
  377. package/serialization/resources/organizations/types/Organization.d.ts +5 -0
  378. package/serialization/resources/organizations/types/Organization.js +5 -0
  379. package/serialization/resources/triggers/client/requests/PartialUpdateRequest.d.ts +6 -0
  380. package/serialization/resources/triggers/client/requests/PartialUpdateRequest.js +6 -0
  381. package/serialization/resources/triggers/types/DebounceWait.d.ts +11 -0
  382. package/serialization/resources/triggers/types/DebounceWait.js +45 -0
  383. package/serialization/resources/triggers/types/DelayWait.d.ts +11 -0
  384. package/serialization/resources/triggers/types/DelayWait.js +45 -0
  385. package/serialization/resources/triggers/types/EventTriggerBase.d.ts +6 -0
  386. package/serialization/resources/triggers/types/EventTriggerBase.js +6 -0
  387. package/serialization/resources/triggers/types/EventTriggerResponse.d.ts +2 -0
  388. package/serialization/resources/triggers/types/EventTriggerResponse.js +2 -0
  389. package/serialization/resources/triggers/types/IntervalSchedule.d.ts +14 -0
  390. package/serialization/resources/triggers/types/IntervalSchedule.js +46 -0
  391. package/serialization/resources/triggers/types/ScheduleInterval.d.ts +7 -0
  392. package/serialization/resources/triggers/types/ScheduleInterval.js +39 -0
  393. package/serialization/resources/triggers/types/ScheduleSpec.d.ts +11 -0
  394. package/serialization/resources/triggers/types/ScheduleSpec.js +47 -0
  395. package/serialization/resources/triggers/types/TimeSpan.d.ts +11 -0
  396. package/serialization/resources/triggers/types/TimeSpan.js +43 -0
  397. package/serialization/resources/triggers/types/TimeSpanUnit.d.ts +7 -0
  398. package/serialization/resources/triggers/types/TimeSpanUnit.js +39 -0
  399. package/serialization/resources/triggers/types/TriggerRateLimit.d.ts +13 -0
  400. package/serialization/resources/triggers/types/TriggerRateLimit.js +45 -0
  401. package/serialization/resources/triggers/types/TriggerSchedule.d.ts +12 -0
  402. package/serialization/resources/triggers/types/TriggerSchedule.js +44 -0
  403. package/serialization/resources/triggers/types/TriggerWait.d.ts +15 -0
  404. package/serialization/resources/triggers/types/TriggerWait.js +49 -0
  405. package/serialization/resources/triggers/types/TriggerWaitBase.d.ts +10 -0
  406. package/serialization/resources/triggers/types/TriggerWaitBase.js +42 -0
  407. package/serialization/resources/triggers/types/index.d.ts +11 -0
  408. package/serialization/resources/triggers/types/index.js +11 -0
  409. package/serialization/resources/workingSet/index.d.ts +1 -0
  410. package/serialization/resources/workingSet/index.js +17 -0
  411. package/serialization/resources/workingSet/types/VariantDebugInfo.d.ts +10 -0
  412. package/serialization/resources/workingSet/types/VariantDebugInfo.js +42 -0
  413. package/serialization/resources/workingSet/types/index.d.ts +1 -0
  414. package/serialization/resources/workingSet/types/index.js +17 -0
  415. package/version.d.ts +1 -1
  416. package/version.js +1 -1
@@ -0,0 +1 @@
1
+ export * from "./requests";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface AgentVariantBaseGetRequest {
6
+ /** The App ID of the agent variant to get. If not provided the ID of the calling app will be used. */
7
+ appId?: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,27 @@
1
+ import type * as MavenAGI from "../../../../index";
2
+ /**
3
+ * @example
4
+ * {
5
+ * newVariantId: {
6
+ * referenceId: "x"
7
+ * },
8
+ * expectedWorkingSetRevision: 1000000,
9
+ * title: "title"
10
+ * }
11
+ */
12
+ export interface AgentVariantCommitRequest {
13
+ /** The App ID of the agent variant to commit. If not provided, the ID of the calling app will be used. */
14
+ appId?: string;
15
+ /** The reference ID for the new variant, minted by the caller. Must not name an existing variant. Up to 64 characters of a-z, A-Z, 0-9, underscores and dashes, as for createOrUpdate. */
16
+ newVariantId: MavenAGI.EntityIdBase;
17
+ /** The source's `workingSetRevision` as last read, from the variant or its working set. If edits were staged since, the request is rejected with reason `STALE_WORKING_SET`. Must be at least 1, since staging an edit advances the revision. */
18
+ expectedWorkingSetRevision: number;
19
+ /** The new variant's title. Must not be blank. */
20
+ title: string;
21
+ /** The new variant's description, e.g. release notes. Omit for none. */
22
+ description?: string;
23
+ /** Whether to clear the source's working set. Defaults to true. Set false to commit a clean copy, e.g. for a simulator, while the user keeps editing the source. */
24
+ clearWorkingSet?: boolean;
25
+ /** Whether to archive the source in the same transaction, so the new variant replaces it. Defaults to false. Rejected with reason `CANNOT_ARCHIVE_LIVE_VARIANT` if the source has live traffic. Can't be combined with `clearWorkingSet: false` (a 400), since the kept edits would be left on an archived variant. */
26
+ archiveSource?: boolean;
27
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface AgentVariantDeleteRequest {
6
+ /** The App ID of the agent variant field to delete. If not provided, the ID of the calling app will be used. */
7
+ appId?: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface DiscardWorkingSetEditsRequest {
6
+ /** The App ID of the agent variant to discard edits for. If not provided, the ID of the calling app will be used. */
7
+ appId?: string;
8
+ /** The variant's `workingSetRevision` as last read. If given and the working set has changed since, the request is rejected with reason `STALE_WORKING_SET`. */
9
+ expectedWorkingSetRevision?: number;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ import type * as MavenAGI from "../../../../index";
2
+ /**
3
+ * @example
4
+ * {
5
+ * entityId: {
6
+ * type: "AGENT",
7
+ * appId: "appId",
8
+ * referenceId: "x"
9
+ * }
10
+ * }
11
+ */
12
+ export interface GetEntityEditByIdRequest {
13
+ /** The App ID of the agent variant. If not provided, the ID of the calling app will be used. */
14
+ appId?: string;
15
+ /** The entity whose staged edit to get. */
16
+ entityId: MavenAGI.EntityIdWithoutAgent;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ import type * as MavenAGI from "../../../../index";
2
+ /**
3
+ * @example
4
+ * {
5
+ * setting: "SYSTEM_FALLBACK_MESSAGE"
6
+ * }
7
+ */
8
+ export interface GetSettingEditRequest {
9
+ /** The App ID of the agent variant. If not provided, the ID of the calling app will be used. */
10
+ appId?: string;
11
+ /** The setting whose staged edit to get. */
12
+ setting: MavenAGI.AgentSettingName;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface GetTrafficConfigRequest {
6
+ /** The App ID of the traffic configuration to retrieve. If not provided, the ID of the calling app will be used. */
7
+ trafficConfigAppId?: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface ListTrafficConfigsRequest {
6
+ /** Page number to return, defaults to 0 */
7
+ page?: number;
8
+ /** The size of the page to return, defaults to 20. Max 1000. */
9
+ size?: number;
10
+ /** Whether to sort descending (newest revision first), defaults to true */
11
+ sortDesc?: boolean;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ import type * as MavenAGI from "../../../../index";
2
+ /**
3
+ * @example
4
+ * {}
5
+ */
6
+ export interface PatchAgentVariantRequest {
7
+ /** A new title for the agent variant. Omit to leave it unchanged. It can't be blank, and it can't be removed. */
8
+ title?: string;
9
+ /** An optional description for the agent variant. Can be set to null to remove. */
10
+ description?: string | null;
11
+ /** The new status of the agent variant, ACTIVE or INACTIVE. DELETED is rejected; use delete instead. */
12
+ status?: MavenAGI.AgentVariantStatus;
13
+ /** The App ID of the agent variant field to patch. If not provided, the ID of the calling app will be used. */
14
+ appId?: string;
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface WorkingSetDiffRequest {
6
+ /** The App ID of the agent variant. If not provided, the ID of the calling app will be used. */
7
+ appId?: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ export type { AgentVariantBaseGetRequest } from "./AgentVariantBaseGetRequest";
2
+ export type { AgentVariantCommitRequest } from "./AgentVariantCommitRequest";
3
+ export type { AgentVariantDeleteRequest } from "./AgentVariantDeleteRequest";
4
+ export type { DiscardWorkingSetEditsRequest } from "./DiscardWorkingSetEditsRequest";
5
+ export type { GetEntityEditByIdRequest } from "./GetEntityEditByIdRequest";
6
+ export type { GetSettingEditRequest } from "./GetSettingEditRequest";
7
+ export type { GetTrafficConfigRequest } from "./GetTrafficConfigRequest";
8
+ export type { ListTrafficConfigsRequest } from "./ListTrafficConfigsRequest";
9
+ export type { PatchAgentVariantRequest } from "./PatchAgentVariantRequest";
10
+ export type { WorkingSetDiffRequest } from "./WorkingSetDiffRequest";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { AgentVariantsClient } from "./client/Client";
2
+ export * from "./client/index";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.AgentVariantsClient = void 0;
19
+ var Client_1 = require("./client/Client");
20
+ Object.defineProperty(exports, "AgentVariantsClient", { enumerable: true, get: function () { return Client_1.AgentVariantsClient; } });
21
+ __exportStar(require("./client/index"), exports);
@@ -0,0 +1,2 @@
1
+ export * from "./client";
2
+ export * from "./types";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
18
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,5 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface AddedCharterDiff {
3
+ /** The charter as the `after` side has it. */
4
+ after: MavenAGI.CharterResponse;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface AddedIntelligentFieldDiff {
3
+ /** The field as the `after` side has it. */
4
+ after: MavenAGI.IntelligentFieldResponse;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * The versioned agent settings staged in an agent variant's working set.
4
+ */
5
+ export interface AgentSettingEdits {
6
+ /** The value staged for each setting staged to hold one. A setting not staged, or staged to be cleared, is absent. */
7
+ staged: MavenAGI.VersionedAgentSettings;
8
+ /** The settings staged to be cleared. */
9
+ cleared: Set<MavenAGI.AgentSettingName>;
10
+ /** Diagnostic detail about each staged setting's edit, cleared ones included, keyed by setting. Informational only. */
11
+ debugInfo: Partial<Record<MavenAGI.AgentSettingName, MavenAGI.VariantDebugInfo>>;
12
+ /** When this variant last staged each setting, cleared ones included, keyed by setting. Staging the version already staged doesn't move it. */
13
+ updatedAt: Partial<Record<MavenAGI.AgentSettingName, Date>>;
14
+ /** Who last staged each setting in this variant, cleared ones included, keyed by setting. This is the same staging that `updatedAt` dates. A setting with no one recorded is absent. Shown in Agent Designer as "Editor". */
15
+ updatedBy?: Partial<Record<MavenAGI.AgentSettingName, MavenAGI.ChangeAuthor>>;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * The versioned agent settings of two variants when at least one differs: `before` is them as `fromVariantId` serves them (for `diffWorkingSet`, the snapshot) and `after` as `toVariantId` serves them (with the staged edits). Each side holds every setting in scope, changed or not. Compared by value, so two versions holding the same text are no difference.
4
+ */
5
+ export interface AgentSettingsDiff {
6
+ /** The settings whose value differs. Never empty. */
7
+ changed: Set<MavenAGI.AgentSettingName>;
8
+ /** The settings as the `before` side serves them. A setting that holds no value is absent. */
9
+ before: MavenAGI.VersionedAgentSettings;
10
+ /** The settings as the `after` side serves them. A setting that holds no value is absent. */
11
+ after: MavenAGI.VersionedAgentSettings;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Request to compare two agent variants: what changed going from `fromVariantId` to `toVariantId`.
4
+ */
5
+ export interface AgentVariantCompareRequest {
6
+ /** The variant to compare from, the baseline. Each difference's `before` is the field as this variant has it. */
7
+ fromVariantId: MavenAGI.EntityIdWithoutAgent;
8
+ /** The variant to compare to. Each difference's `after` is the field as this variant has it. */
9
+ toVariantId: MavenAGI.EntityIdWithoutAgent;
10
+ /** The unique identifier of an entity to filter the differences for, so `agentSettings` is absent. Can't be combined with `setting`. If neither is provided, all differences will be returned. */
11
+ entityId?: MavenAGI.EntityIdWithoutAgent;
12
+ /** The one versioned agent setting to filter the differences for, so `intelligentFields` and `charters` are empty. Can't be combined with `entityId`. */
13
+ setting?: MavenAGI.AgentSettingName;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,78 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * What changed going from one variant (`fromVariantId`, the baseline) to another (`toVariantId`).
4
+ *
5
+ * @example
6
+ * {
7
+ * fromVariantId: {
8
+ * referenceId: "variant_123",
9
+ * appId: "zendesk",
10
+ * organizationId: "acme",
11
+ * agentId: "support",
12
+ * type: MavenAGI.EntityType.AgentVariant
13
+ * },
14
+ * toVariantId: {
15
+ * referenceId: "variant_456",
16
+ * appId: "zendesk",
17
+ * organizationId: "acme",
18
+ * agentId: "support",
19
+ * type: MavenAGI.EntityType.AgentVariant
20
+ * },
21
+ * differences: {
22
+ * intelligentFields: [{
23
+ * type: "modified",
24
+ * before: {
25
+ * fieldId: {
26
+ * referenceId: "ticket-priority",
27
+ * appId: "zendesk",
28
+ * organizationId: "acme",
29
+ * agentId: "support",
30
+ * type: MavenAGI.EntityType.IntelligentField
31
+ * },
32
+ * variantId: {
33
+ * referenceId: "variant_123",
34
+ * appId: "zendesk",
35
+ * type: MavenAGI.EntityType.AgentVariant
36
+ * },
37
+ * name: "Ticket Priority",
38
+ * status: MavenAGI.CapabilityStatus.Active,
39
+ * entityType: MavenAGI.EntityType.Conversation,
40
+ * validationType: MavenAGI.IntelligentFieldType.String,
41
+ * definition: "The priority of the conversation, one of HIGH, MEDIUM, or LOW.",
42
+ * createdAt: new Date("2024-01-15T10:30:00.000Z"),
43
+ * updatedAt: new Date("2024-01-15T10:30:00.000Z")
44
+ * },
45
+ * after: {
46
+ * fieldId: {
47
+ * referenceId: "ticket-priority",
48
+ * appId: "zendesk",
49
+ * organizationId: "acme",
50
+ * agentId: "support",
51
+ * type: MavenAGI.EntityType.IntelligentField
52
+ * },
53
+ * variantId: {
54
+ * referenceId: "variant_456",
55
+ * appId: "zendesk",
56
+ * type: MavenAGI.EntityType.AgentVariant
57
+ * },
58
+ * name: "Ticket Priority",
59
+ * status: MavenAGI.CapabilityStatus.Active,
60
+ * entityType: MavenAGI.EntityType.Conversation,
61
+ * validationType: MavenAGI.IntelligentFieldType.String,
62
+ * definition: "The priority of the conversation based on its urgency, one of HIGH, MEDIUM, or LOW.",
63
+ * createdAt: new Date("2024-01-15T10:30:00.000Z"),
64
+ * updatedAt: new Date("2024-02-01T09:00:00.000Z")
65
+ * }
66
+ * }],
67
+ * charters: []
68
+ * }
69
+ * }
70
+ */
71
+ export interface AgentVariantCompareResponse {
72
+ /** The variant compared from, the baseline. */
73
+ fromVariantId: MavenAGI.EntityId;
74
+ /** The variant compared to. */
75
+ toVariantId: MavenAGI.EntityId;
76
+ /** What changed going from `fromVariantId` to `toVariantId`. */
77
+ differences: MavenAGI.AgentVariantDiff;
78
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface AgentVariantDiff {
3
+ /** Each intelligent field that differs between the two variants, oldest change first -- by the `updatedAt` of the `after` side's version of the field (for a deleted field, the version that deleted it), or of `before` when the `after` side doesn't have it. Empty when none does. */
4
+ intelligentFields: MavenAGI.IntelligentFieldDiff[];
5
+ /** Each charter that differs between the two variants, oldest change first -- by the `updatedAt` of the `after` side's version of the charter (for a deleted charter, the version that deleted it), or of `before` when the `after` side doesn't have it. Empty when none does. */
6
+ charters: MavenAGI.CharterDiff[];
7
+ /** The versioned agent settings, as each variant serves them. Absent when none differs. */
8
+ agentSettings?: MavenAGI.AgentSettingsDiff;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface AgentVariantFilter {
3
+ /** Only return variants in one of these statuses. Omitted or empty means ACTIVE only. */
4
+ statuses?: MavenAGI.AgentVariantStatus[];
5
+ /** Only return variants that are (true) or are not (false) live; see `AgentVariantTraffic.hasLiveTraffic`. Live implies ACTIVE, so `live: true` returns only ACTIVE variants, and none when `statuses` excludes ACTIVE. */
6
+ live?: boolean;
7
+ /** Only return variants whose base variant is one of these; an ID that names no variant matches nothing. An empty list is equivalent to omitting the field. Maximum 100 IDs. */
8
+ baseVariantIds?: MavenAGI.EntityIdWithoutAgent[];
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface AgentVariantListRequest extends MavenAGI.BaseCappedPaginatedRequest {
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,28 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Request to create a new agent variant, optionally based on an existing variant.
4
+ *
5
+ * @example
6
+ * {
7
+ * baseVariantId: {
8
+ * referenceId: "variant_456",
9
+ * appId: "zendesk",
10
+ * type: MavenAGI.EntityType.AgentVariant
11
+ * },
12
+ * variantId: {
13
+ * referenceId: "variant_789"
14
+ * },
15
+ * title: "Support agent Working 2",
16
+ * description: ""
17
+ * }
18
+ */
19
+ export interface AgentVariantRequest {
20
+ /** ID that uniquely identifies an optional base agent variant to fork from. If empty, a new variant is created. */
21
+ baseVariantId?: MavenAGI.EntityIdWithoutAgent;
22
+ /** A reference ID for the agent variant to be created or updated. */
23
+ variantId: MavenAGI.EntityIdBase;
24
+ /** The agent variant's title. Must not be blank. */
25
+ title: string;
26
+ /** The agent variant's description. Omit for none. On an update, omitting it clears the stored description. */
27
+ description?: string;
28
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,43 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Response containing the details of the created or retrieved agent variant.
4
+ *
5
+ * @example
6
+ * {
7
+ * variantId: {
8
+ * referenceId: "variant_123",
9
+ * appId: "zendesk",
10
+ * organizationId: "acme",
11
+ * agentId: "support",
12
+ * type: MavenAGI.EntityType.AgentVariant
13
+ * },
14
+ * status: MavenAGI.AgentVariantStatus.Active,
15
+ * title: "Agent Variant 123",
16
+ * description: "This variant is used for support agents.",
17
+ * workingSetRevision: 0,
18
+ * createdAt: new Date("2024-01-01T12:00:00.000Z"),
19
+ * updatedAt: new Date("2024-01-02T12:00:00.000Z")
20
+ * }
21
+ */
22
+ export interface AgentVariantResponse {
23
+ /** The unique identifier of the agent variant. */
24
+ variantId: MavenAGI.EntityId;
25
+ /** The current status of the agent variant (e.g., ACTIVE, INACTIVE, DELETED). */
26
+ status: MavenAGI.AgentVariantStatus;
27
+ /** An optional title for the agent variant. */
28
+ title?: string;
29
+ /** An optional description for the agent variant. */
30
+ description?: string;
31
+ /** The unique identifier of the base agent variant, if applicable. */
32
+ baseVariantId?: MavenAGI.EntityId;
33
+ /** The variant whose staged edits `commit` turned into this one. It may since have been archived or deleted. Absent for a variant that wasn't made by `commit`, and for variants committed before this field existed. */
34
+ committedFromVariantId?: MavenAGI.EntityId;
35
+ /** Advances on every change to the variant's working set (a staged edit, an un-staged one, a discard, or a commit that clears it). Pass it back as `expectedWorkingSetRevision` to act only on the working set you read. */
36
+ workingSetRevision: number;
37
+ /** The date and time the agent variant was created */
38
+ createdAt?: Date;
39
+ /** Who created the agent variant. Absent when no one was recorded. A deleted variant brought back by `createOrUpdate` keeps its original creator. A variant made by `commit` names whoever made the commit. An agent's first variant names whoever's request set up versioning for it, or reads "Anonymous" when background setup created it, so for an agent created before versioning it is not necessarily the agent's creator. */
40
+ createdBy?: MavenAGI.ChangeAuthor;
41
+ /** The date and time the agent variant was last updated */
42
+ updatedAt?: Date;
43
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface AgentVariantSearchResult extends MavenAGI.AgentVariantResponse {
3
+ /** The variant's traffic in the agent's latest traffic configuration revision. */
4
+ traffic: MavenAGI.AgentVariantTraffic;
5
+ /** The number of edits staged in the variant's working set. Includes staged deletions. Shown in Agent Designer as "Unpublished changes". */
6
+ stagedEditCount: number;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /** The fields an agent variant search can be ordered by. */
2
+ export declare const AgentVariantSortField: {
3
+ readonly CreatedAt: "CreatedAt";
4
+ readonly UpdatedAt: "UpdatedAt";
5
+ };
6
+ export type AgentVariantSortField = (typeof AgentVariantSortField)[keyof typeof AgentVariantSortField] | string;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.AgentVariantSortField = void 0;
5
+ /** The fields an agent variant search can be ordered by. */
6
+ exports.AgentVariantSortField = {
7
+ CreatedAt: "CreatedAt",
8
+ UpdatedAt: "UpdatedAt",
9
+ };