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
@@ -5,6 +5,8 @@ exports.KnowledgeBaseType = void 0;
5
5
  /**
6
6
  * API knowledge bases are managed by a Maven App.
7
7
  * All other knowledge base types are deprecated and can not be created.
8
+ * `createOrUpdateKnowledgeBase` always creates an `API` knowledge base, and its request
9
+ * takes no type.
8
10
  */
9
11
  exports.KnowledgeBaseType = {
10
12
  /**
@@ -48,6 +48,10 @@ export interface KnowledgeBaseVersion extends MavenAGI.KnowledgeBaseVersionReque
48
48
  createdAt: Date;
49
49
  /** The date and time the knowledge base version was last updated. */
50
50
  updatedAt: Date;
51
+ /** Who started the knowledge base version. Absent when no one was recorded. */
52
+ createdBy?: MavenAGI.ChangeAuthor;
53
+ /** Who last changed the knowledge base version, as `updatedAt` dates it, including Maven's own changes such as marking it superseded by a newer version. Absent when no one was recorded. */
54
+ updatedBy?: MavenAGI.ChangeAuthor;
51
55
  /** The indexing status of the knowledge base version. */
52
56
  indexingState?: MavenAGI.KnowledgeBaseIndexingProgressState;
53
57
  /**
@@ -52,6 +52,10 @@ export interface KnowledgeDocumentSearchResponse extends MavenAGI.BaseKnowledgeD
52
52
  createdAt: Date;
53
53
  /** The time at which this document was last modified. */
54
54
  updatedAt: Date;
55
+ /** Who wrote this version of the document to Maven. Absent when no one was recorded. This is Maven's own record, not the source's `author`, so a document an app syncs on its own names the app. */
56
+ createdBy?: MavenAGI.ChangeAuthor;
57
+ /** Who last changed this version of the document in Maven, including Maven's own processing of it, such as indexing it for search. Absent when no one was recorded. */
58
+ updatedBy?: MavenAGI.ChangeAuthor;
55
59
  /**
56
60
  * The entities this document is narrowed to. Empty for a document that is part of the
57
61
  * agent's general knowledge.
@@ -2,4 +2,12 @@ import type * as MavenAGI from "../../../index";
2
2
  export interface Organization extends MavenAGI.BaseOrganization {
3
3
  /** ID that uniquely identifies this organization */
4
4
  organizationId: MavenAGI.EntityIdBase;
5
+ /** When the organization was created. */
6
+ createdAt?: Date;
7
+ /** When the organization was last changed, through `create` or `patch`. Maven's own upkeep of the organization, such as linking it to its sign-in provider, also moves it. */
8
+ updatedAt?: Date;
9
+ /** Who created the organization. Absent when no one was recorded. */
10
+ createdBy?: MavenAGI.ChangeAuthor;
11
+ /** Who last changed the organization, as `updatedAt` dates it. Absent when no one was recorded. */
12
+ updatedBy?: MavenAGI.ChangeAuthor;
5
13
  }
@@ -115,7 +115,12 @@ export declare class TriggersClient {
115
115
  delete(triggerReferenceId: string, requestOptions?: TriggersClient.RequestOptions): core.HttpResponsePromise<void>;
116
116
  private __delete;
117
117
  /**
118
- * Updates an event trigger. `enabled` and `condition` are the editable fields.
118
+ * Updates an event trigger. `enabled`, `condition`, `schedule`, `wait` and `rateLimit` are
119
+ * the editable fields.
120
+ *
121
+ * While timing is not available for the agent, setting `schedule`, `wait` or `rateLimit`
122
+ * answers 400. Clearing one with an explicit null still succeeds; a trigger whose
123
+ * `timingActive` is false is delivered again once none of the three is left.
119
124
  *
120
125
  * `PATCH /v1/capabilities/TRIGGER/{referenceId}` with a `status` also turns a trigger on and
121
126
  * off, the same way it publishes and unpublishes any kind of capability.
@@ -487,7 +487,12 @@ class TriggersClient {
487
487
  });
488
488
  }
489
489
  /**
490
- * Updates an event trigger. `enabled` and `condition` are the editable fields.
490
+ * Updates an event trigger. `enabled`, `condition`, `schedule`, `wait` and `rateLimit` are
491
+ * the editable fields.
492
+ *
493
+ * While timing is not available for the agent, setting `schedule`, `wait` or `rateLimit`
494
+ * answers 400. Clearing one with an explicit null still succeeds; a trigger whose
495
+ * `timingActive` is false is delivered again once none of the three is left.
491
496
  *
492
497
  * `PATCH /v1/capabilities/TRIGGER/{referenceId}` with a `status` also turns a trigger on and
493
498
  * off, the same way it publishes and unpublishes any kind of capability.
@@ -10,4 +10,10 @@ export interface PartialUpdateRequest {
10
10
  enabled?: boolean;
11
11
  /** Narrows which events fire this trigger. Omitted leaves the current condition alone; an explicit null removes it, so the trigger fires for every event again. */
12
12
  condition?: MavenAGI.EventCondition | null;
13
+ /** Fires the trigger on a timer instead of on events. Omitted leaves the schedule alone; an explicit null removes it. Setting a different schedule resets its fire count; sending the same one keeps it. Changing `spec`, `endAt` or `maxFires` counts as a new schedule and restarts the count. */
14
+ schedule?: MavenAGI.TriggerSchedule | null;
15
+ /** Fires the trigger some time after its event instead of immediately. Omitted leaves the wait alone; an explicit null removes it. */
16
+ wait?: MavenAGI.TriggerWait | null;
17
+ /** Caps how often the trigger is delivered. Omitted leaves the rate limit alone; an explicit null removes it. */
18
+ rateLimit?: MavenAGI.TriggerRateLimit | null;
13
19
  }
@@ -0,0 +1,14 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Fires `after` the last matching event for the same entity. Each new matching event restarts
4
+ * that entity's wait, and the trigger receives the last event. An entity that keeps receiving
5
+ * events never fires: this is "inactive for `after`".
6
+ */
7
+ export interface DebounceWait extends MavenAGI.TriggerWaitBase {
8
+ /**
9
+ * The entity type each wait is for, among the entities the event references. For example,
10
+ * `CONVERSATION` keeps one wait per conversation. An event that references no entity of
11
+ * this type, or more than one, waits on its own.
12
+ */
13
+ per: MavenAGI.EntityType;
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,13 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Fires `after` the matching event.
4
+ */
5
+ export interface DelayWait extends MavenAGI.TriggerWaitBase {
6
+ /**
7
+ * Keeps one wait per entity of this type that the event references. While a wait is open
8
+ * for an entity, further matching events for it are ignored. An event that references no
9
+ * entity of this type, or more than one, waits on its own. Without `per`, every matching
10
+ * event waits on its own.
11
+ */
12
+ per?: MavenAGI.EntityType;
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 });
@@ -21,4 +21,25 @@ export interface EventTriggerBase {
21
21
  * Shown in Agent Designer as "When".
22
22
  */
23
23
  condition?: MavenAGI.EventCondition;
24
+ /**
25
+ * Fires the trigger on a timer instead of on events. A scheduled trigger rejects
26
+ * `condition` and `wait`, since the schedule decides when it fires. Each fire saves a
27
+ * `TRIGGER_SCHEDULE_FIRED` system event referencing this trigger, and the trigger receives
28
+ * that event.
29
+ *
30
+ * Only allowed on `EVENT_CREATED`.
31
+ */
32
+ schedule?: MavenAGI.TriggerSchedule;
33
+ /**
34
+ * Fires the trigger some time after a matching event instead of immediately. Only allowed
35
+ * on `EVENT_CREATED`, and a scheduled trigger rejects it.
36
+ */
37
+ wait?: MavenAGI.TriggerWait;
38
+ /**
39
+ * Caps how often the trigger is delivered. Deliveries over the limit are dropped, not
40
+ * queued or delayed, and each one is recorded as a `SUPPRESSED` trigger execution.
41
+ *
42
+ * Only allowed on `EVENT_CREATED`.
43
+ */
44
+ rateLimit?: MavenAGI.TriggerRateLimit;
24
45
  }
@@ -27,4 +27,16 @@ export interface EventTriggerResponse extends MavenAGI.EventTriggerBase, MavenAG
27
27
  * Whether this trigger will be called by Maven.
28
28
  */
29
29
  enabled: boolean;
30
+ /**
31
+ * When a scheduled trigger is next due, approximately. Absent for event triggers, for a
32
+ * disabled or uninstalled trigger, and for a schedule that has ended (past `endAt`, or
33
+ * after `maxFires` fires).
34
+ */
35
+ nextFireAt?: Date;
36
+ /**
37
+ * Whether this trigger's `schedule`, `wait` or `rateLimit` is in effect. Absent when the
38
+ * trigger has none of them. False means timing is off for the agent, so the trigger is not
39
+ * delivered at all until timing is turned on or its timing fields are cleared.
40
+ */
41
+ timingActive?: boolean;
30
42
  }
@@ -0,0 +1,17 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * Fires once per day or per week. Without `at`, Maven picks the time within each interval
4
+ * and spreads triggers across it; a day is then any 24 hours and a week any 7 days, not a
5
+ * calendar day or week in a timezone. With `at`, it fires at that wall-clock time in
6
+ * `timezone`, so a daily report can land at 09:00 New York time through daylight-saving
7
+ * changes. Triggers set to the same time are not spread out.
8
+ */
9
+ export interface IntervalSchedule {
10
+ every: MavenAGI.ScheduleInterval;
11
+ /** The local time to fire, as a 24-hour `HH:mm` time from "00:00" to "23:59", e.g. "09:00". Requires `timezone`, and `day` when `every` is `WEEK`. */
12
+ at?: string;
13
+ /** The IANA timezone `at` is read in (e.g. "America/New_York"). Required with `at`, and not allowed without it. Fixed offsets (e.g. "-08:00") and legacy IDs (e.g. "EST") are accepted, but they do not follow daylight saving. Clients can prefill it from the agent's `defaultTimezone`. */
14
+ timezone?: string;
15
+ /** The day of the week a weekly schedule fires on. Required when `every` is `WEEK` and `at` is set; not allowed with `DAY` or without `at`. */
16
+ day?: MavenAGI.DayOfWeek;
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,9 @@
1
+ export declare const ScheduleInterval: {
2
+ /**
3
+ * Daily. Without `at`, about once every 24 hours. */
4
+ readonly Day: "DAY";
5
+ /**
6
+ * Weekly. Without `at`, about once every 7 days. */
7
+ readonly Week: "WEEK";
8
+ };
9
+ export type ScheduleInterval = (typeof ScheduleInterval)[keyof typeof ScheduleInterval] | string;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ScheduleInterval = void 0;
5
+ exports.ScheduleInterval = {
6
+ /**
7
+ * Daily. Without `at`, about once every 24 hours. */
8
+ Day: "DAY",
9
+ /**
10
+ * Weekly. Without `at`, about once every 7 days. */
11
+ Week: "WEEK",
12
+ };
@@ -0,0 +1,11 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * How often a scheduled trigger fires. Only `interval` is supported today; cron schedules are
4
+ * planned as another member.
5
+ */
6
+ export type ScheduleSpec = MavenAGI.ScheduleSpec.Interval;
7
+ export declare namespace ScheduleSpec {
8
+ interface Interval extends MavenAGI.IntervalSchedule {
9
+ scheduleType: "interval";
10
+ }
11
+ }
@@ -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
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * A length of time, as a count of a unit: `{ "value": 30, "unit": "MINUTES" }`,
4
+ * `{ "value": 3, "unit": "DAYS" }` or `{ "value": 2, "unit": "WEEKS" }`. A day is 24 hours and a
5
+ * week 7 days, not calendar days in a timezone. Each field that takes one states its own range.
6
+ */
7
+ export interface TimeSpan {
8
+ value: number;
9
+ unit: MavenAGI.TimeSpanUnit;
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,7 @@
1
+ export declare const TimeSpanUnit: {
2
+ readonly Minutes: "MINUTES";
3
+ readonly Hours: "HOURS";
4
+ readonly Days: "DAYS";
5
+ readonly Weeks: "WEEKS";
6
+ };
7
+ export type TimeSpanUnit = (typeof TimeSpanUnit)[keyof typeof TimeSpanUnit] | string;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.TimeSpanUnit = void 0;
5
+ exports.TimeSpanUnit = {
6
+ Minutes: "MINUTES",
7
+ Hours: "HOURS",
8
+ Days: "DAYS",
9
+ Weeks: "WEEKS",
10
+ };
@@ -0,0 +1,20 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * At most `max` deliveries in any rolling `window`: per trigger, or with `per`, per entity of
4
+ * that type the event references (an event referencing none, or more than one, is not
5
+ * limited). Deliveries over the limit are dropped, never queued or delayed, and
6
+ * each one is recorded as a `SUPPRESSED` trigger execution. Only a delivery's first attempt
7
+ * counts, so retries do not use up the window. Unlike a wait, the window is exact.
8
+ */
9
+ export interface TriggerRateLimit {
10
+ /** Deliveries allowed per window. Defaults to 1. */
11
+ max?: number;
12
+ /** The rolling window, from 5 minutes to 30 days. */
13
+ window: MavenAGI.TimeSpan;
14
+ /**
15
+ * Counts deliveries per entity of this type that the event references, such as one limit
16
+ * per conversation. An event that references no entity of this type, or more than one, is
17
+ * not limited. Without `per`, the limit covers the whole trigger.
18
+ */
19
+ per?: MavenAGI.EntityType;
20
+ }
@@ -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,30 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ /**
3
+ * When a scheduled trigger fires.
4
+ *
5
+ * Without `at`, fires about once per interval: Maven chooses when within each interval and
6
+ * spreads triggers across it. With `at`, fires at that local time in `timezone`, on `day` for a
7
+ * weekly schedule; a time a daylight-saving change skips fires later by the change's length,
8
+ * and one it repeats fires once. Either way a fire can be late. Fires missed while Maven was
9
+ * unavailable are not made up: the schedule fires once and carries on. A disabled or
10
+ * uninstalled trigger fires nothing while it is off; enabling or reinstalling it starts again
11
+ * at its next due time, with no fire at once.
12
+ *
13
+ * If the previous fire is still being delivered when the next one is due, the new fire is
14
+ * recorded as a `SUPPRESSED` trigger execution and not sent.
15
+ *
16
+ * To stop a schedule, disable the trigger, remove the schedule, or set `endAt` or `maxFires`.
17
+ */
18
+ export interface TriggerSchedule {
19
+ /** How often the trigger fires. */
20
+ spec: MavenAGI.ScheduleSpec;
21
+ /** No fires after this time. */
22
+ endAt?: Date;
23
+ /**
24
+ * Stops after this many fires, counted from when the schedule last changed. Registering
25
+ * or patching the same schedule again keeps the count. Changing `spec` (its `every`, `at`,
26
+ * `timezone` or `day`), `endAt` or `maxFires` counts as a new schedule and restarts the
27
+ * count, so raising `maxFires` from 3 to 5 allows 5 more fires.
28
+ */
29
+ maxFires?: number;
30
+ }
@@ -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
+ * How long after a matching event the trigger fires.
4
+ *
5
+ * Before firing, Maven checks that the trigger is still enabled and still matches the event,
6
+ * so a trigger disabled or edited while waiting does not fire for it.
7
+ */
8
+ export type TriggerWait = MavenAGI.TriggerWait.Delay | MavenAGI.TriggerWait.Debounce;
9
+ export declare namespace TriggerWait {
10
+ interface Delay extends MavenAGI.DelayWait {
11
+ waitType: "delay";
12
+ }
13
+ interface Debounce extends MavenAGI.DebounceWait {
14
+ waitType: "debounce";
15
+ }
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,9 @@
1
+ import type * as MavenAGI from "../../../index";
2
+ export interface TriggerWaitBase {
3
+ /**
4
+ * How long to wait, from 5 minutes to 30 days. Not exact: the trigger fires no earlier than
5
+ * this, usually within a few minutes after it, and later if Maven is catching up after an
6
+ * outage.
7
+ */
8
+ after: MavenAGI.TimeSpan;
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 });
@@ -1,6 +1,17 @@
1
+ export * from "./DebounceWait";
2
+ export * from "./DelayWait";
1
3
  export * from "./EventTriggerBase";
2
4
  export * from "./EventTriggerRequest";
3
5
  export * from "./EventTriggerResponse";
4
6
  export * from "./EventTriggersSearchRequest";
5
7
  export * from "./EventTriggersSearchResponse";
8
+ export * from "./IntervalSchedule";
9
+ export * from "./ScheduleInterval";
10
+ export * from "./ScheduleSpec";
11
+ export * from "./TimeSpan";
12
+ export * from "./TimeSpanUnit";
6
13
  export * from "./TriggerField";
14
+ export * from "./TriggerRateLimit";
15
+ export * from "./TriggerSchedule";
16
+ export * from "./TriggerWait";
17
+ export * from "./TriggerWaitBase";
@@ -14,9 +14,20 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./DebounceWait"), exports);
18
+ __exportStar(require("./DelayWait"), exports);
17
19
  __exportStar(require("./EventTriggerBase"), exports);
18
20
  __exportStar(require("./EventTriggerRequest"), exports);
19
21
  __exportStar(require("./EventTriggerResponse"), exports);
20
22
  __exportStar(require("./EventTriggersSearchRequest"), exports);
21
23
  __exportStar(require("./EventTriggersSearchResponse"), exports);
24
+ __exportStar(require("./IntervalSchedule"), exports);
25
+ __exportStar(require("./ScheduleInterval"), exports);
26
+ __exportStar(require("./ScheduleSpec"), exports);
27
+ __exportStar(require("./TimeSpan"), exports);
28
+ __exportStar(require("./TimeSpanUnit"), exports);
22
29
  __exportStar(require("./TriggerField"), exports);
30
+ __exportStar(require("./TriggerRateLimit"), exports);
31
+ __exportStar(require("./TriggerSchedule"), exports);
32
+ __exportStar(require("./TriggerWait"), exports);
33
+ __exportStar(require("./TriggerWaitBase"), exports);
@@ -61,8 +61,6 @@ export declare class UsersClient {
61
61
  getAgentUser(agentUserId: string, requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<MavenAGI.AgentUser>;
62
62
  private __getAgentUser;
63
63
  /**
64
- * @beta This endpoint is in development and may change.
65
- *
66
64
  * Deletes the identifiers and user data that every app has saved for an agent user.
67
65
  * This is the same as calling `DELETE /users/{userId}` for each of the agent user's app users.
68
66
  *
@@ -105,7 +103,7 @@ export declare class UsersClient {
105
103
  *
106
104
  * When a metadata size limit is enforced for the agent, each `data` entry may be at most 8,192 bytes by default, counting the key and value together, plus one byte, in UTF-8. A larger entry returns a 400 that names the key.
107
105
  *
108
- * <Note>**Required permission:** `edit:agents`. A user with `executionMode` `SIMULATION` also needs `create:simulations`.</Note>
106
+ * <Note>**Required permission:** `ask:agent`. A user with `executionMode` `SIMULATION` also needs `create:simulations`.</Note>
109
107
  *
110
108
  * @param {MavenAGI.AppUserRequest} request
111
109
  * @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -269,8 +269,6 @@ class UsersClient {
269
269
  });
270
270
  }
271
271
  /**
272
- * @beta This endpoint is in development and may change.
273
- *
274
272
  * Deletes the identifiers and user data that every app has saved for an agent user.
275
273
  * This is the same as calling `DELETE /users/{userId}` for each of the agent user's app users.
276
274
  *
@@ -384,7 +382,7 @@ class UsersClient {
384
382
  *
385
383
  * When a metadata size limit is enforced for the agent, each `data` entry may be at most 8,192 bytes by default, counting the key and value together, plus one byte, in UTF-8. A larger entry returns a 400 that names the key.
386
384
  *
387
- * <Note>**Required permission:** `edit:agents`. A user with `executionMode` `SIMULATION` also needs `create:simulations`.</Note>
385
+ * <Note>**Required permission:** `ask:agent`. A user with `executionMode` `SIMULATION` also needs `create:simulations`.</Note>
388
386
  *
389
387
  * @param {MavenAGI.AppUserRequest} request
390
388
  * @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -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("./types"), exports);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Diagnostic detail about a single staged edit in an agent variant's working set.
3
+ * Informational only.
4
+ */
5
+ export interface VariantDebugInfo {
6
+ /** Version of the entity this edit staged. */
7
+ version: number;
8
+ /**
9
+ * The version this edit succeeded, establishing edit-history order. Absent when this edit
10
+ * has no predecessor -- a create. `nullable` would generate a required-but-nullable field,
11
+ * and the platform omits the key rather than sending null, so every create would fail
12
+ * deserialization.
13
+ */
14
+ parentVersion?: number;
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 @@
1
+ export * from "./VariantDebugInfo";
@@ -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("./VariantDebugInfo"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mavenagi",
3
- "version": "1.2.72",
3
+ "version": "1.2.73",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",