mavenagi 1.0.11 → 1.0.12

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 (437) hide show
  1. package/Client.d.ts +6 -0
  2. package/Client.js +30 -20
  3. package/README.md +7 -40
  4. package/api/resources/actions/client/Client.js +3 -3
  5. package/api/resources/agents/client/Client.d.ts +86 -0
  6. package/api/resources/agents/client/Client.js +320 -0
  7. package/api/resources/agents/client/index.d.ts +1 -0
  8. package/api/resources/agents/client/index.js +2 -0
  9. package/api/resources/agents/index.d.ts +2 -0
  10. package/api/resources/agents/index.js +18 -0
  11. package/api/resources/agents/types/Agent.d.ts +14 -0
  12. package/api/resources/agents/types/Agent.js +5 -0
  13. package/api/resources/agents/types/AgentEnvironment.d.ts +9 -0
  14. package/api/resources/agents/types/AgentEnvironment.js +11 -0
  15. package/api/resources/agents/types/AgentField.d.ts +8 -0
  16. package/api/resources/agents/types/AgentField.js +10 -0
  17. package/api/resources/agents/types/AgentFilter.d.ts +8 -0
  18. package/api/resources/agents/types/AgentFilter.js +5 -0
  19. package/api/resources/agents/types/AgentsSearchRequest.d.ts +8 -0
  20. package/api/resources/agents/types/AgentsSearchRequest.js +5 -0
  21. package/api/resources/agents/types/AgentsSearchResponse.d.ts +7 -0
  22. package/api/resources/agents/types/AgentsSearchResponse.js +5 -0
  23. package/api/resources/agents/types/index.d.ts +6 -0
  24. package/api/resources/agents/types/index.js +22 -0
  25. package/api/resources/analytics/client/Client.js +3 -3
  26. package/api/resources/appSettings/client/Client.js +3 -3
  27. package/api/resources/commons/types/ActionParameter.d.ts +2 -0
  28. package/api/resources/commons/types/ActionParameterType.d.ts +2 -1
  29. package/api/resources/commons/types/ActionParameterType.js +1 -0
  30. package/api/resources/commons/types/EntityType.d.ts +2 -1
  31. package/api/resources/commons/types/EntityType.js +1 -0
  32. package/api/resources/conversation/client/Client.js +13 -13
  33. package/api/resources/events/client/Client.d.ts +53 -0
  34. package/api/resources/events/client/Client.js +157 -0
  35. package/api/resources/events/client/index.d.ts +1 -0
  36. package/api/resources/events/client/index.js +2 -0
  37. package/api/resources/events/index.d.ts +2 -0
  38. package/api/resources/events/index.js +18 -0
  39. package/api/resources/events/types/BrowserInfo.d.ts +10 -0
  40. package/api/resources/events/types/BrowserInfo.js +5 -0
  41. package/api/resources/events/types/BrowserType.d.ts +12 -0
  42. package/api/resources/events/types/BrowserType.js +14 -0
  43. package/api/resources/events/types/ContextInfo.d.ts +6 -0
  44. package/api/resources/events/types/ContextInfo.js +5 -0
  45. package/api/resources/events/types/DeviceInfo.d.ts +10 -0
  46. package/api/resources/events/types/DeviceInfo.js +5 -0
  47. package/api/resources/events/types/DeviceType.d.ts +10 -0
  48. package/api/resources/events/types/DeviceType.js +12 -0
  49. package/api/resources/events/types/EventBaseNoId.d.ts +11 -0
  50. package/api/resources/events/types/EventBaseNoId.js +5 -0
  51. package/api/resources/events/types/EventField.d.ts +7 -0
  52. package/api/resources/events/types/EventField.js +9 -0
  53. package/api/resources/events/types/EventFilter.d.ts +13 -0
  54. package/api/resources/events/types/EventFilter.js +5 -0
  55. package/api/resources/events/types/EventResponse.d.ts +13 -0
  56. package/api/resources/events/types/EventResponse.js +5 -0
  57. package/api/resources/events/types/EventType.d.ts +8 -0
  58. package/api/resources/events/types/EventType.js +10 -0
  59. package/api/resources/events/types/EventsSearchRequest.d.ts +8 -0
  60. package/api/resources/events/types/EventsSearchRequest.js +5 -0
  61. package/api/resources/events/types/EventsSearchResponse.d.ts +8 -0
  62. package/api/resources/events/types/EventsSearchResponse.js +5 -0
  63. package/api/resources/events/types/FeedbackInfo.d.ts +12 -0
  64. package/api/resources/events/types/FeedbackInfo.js +5 -0
  65. package/api/resources/events/types/GeoInfo.d.ts +11 -0
  66. package/api/resources/events/types/GeoInfo.js +5 -0
  67. package/api/resources/events/types/IpInfo.d.ts +6 -0
  68. package/api/resources/events/types/IpInfo.js +5 -0
  69. package/api/resources/events/types/LanguageInfo.d.ts +6 -0
  70. package/api/resources/events/types/LanguageInfo.js +5 -0
  71. package/api/resources/events/types/NovelSystemEventNoId.d.ts +8 -0
  72. package/api/resources/events/types/NovelSystemEventNoId.js +5 -0
  73. package/api/resources/events/types/OsInfo.d.ts +9 -0
  74. package/api/resources/events/types/OsInfo.js +5 -0
  75. package/api/resources/events/types/OsType.d.ts +12 -0
  76. package/api/resources/events/types/OsType.js +14 -0
  77. package/api/resources/events/types/PageInfo.d.ts +10 -0
  78. package/api/resources/events/types/PageInfo.js +5 -0
  79. package/api/resources/events/types/SessionInfo.d.ts +9 -0
  80. package/api/resources/events/types/SessionInfo.js +5 -0
  81. package/api/resources/events/types/SourceInfo.d.ts +12 -0
  82. package/api/resources/events/types/SourceInfo.js +5 -0
  83. package/api/resources/events/types/SourceType.d.ts +9 -0
  84. package/api/resources/events/types/SourceType.js +11 -0
  85. package/api/resources/events/types/SurveyInfo.d.ts +7 -0
  86. package/api/resources/events/types/SurveyInfo.js +5 -0
  87. package/api/resources/events/types/SystemEvent.d.ts +8 -0
  88. package/api/resources/events/types/SystemEvent.js +5 -0
  89. package/api/resources/events/types/SystemEventName.d.ts +18 -0
  90. package/api/resources/events/types/SystemEventName.js +11 -0
  91. package/api/resources/events/types/UserEvent.d.ts +16 -0
  92. package/api/resources/events/types/UserEvent.js +5 -0
  93. package/api/resources/events/types/UserEventName.d.ts +22 -0
  94. package/api/resources/events/types/UserEventName.js +12 -0
  95. package/api/resources/events/types/UserInfo.d.ts +7 -0
  96. package/api/resources/events/types/UserInfo.js +5 -0
  97. package/api/resources/events/types/index.d.ts +29 -0
  98. package/api/resources/events/types/index.js +45 -0
  99. package/api/resources/inbox/client/Client.js +5 -5
  100. package/api/resources/index.d.ts +4 -0
  101. package/api/resources/index.js +5 -1
  102. package/api/resources/knowledge/client/Client.js +7 -7
  103. package/api/resources/organizations/client/Client.js +2 -2
  104. package/api/resources/realtime/client/Client.d.ts +2 -0
  105. package/api/resources/realtime/client/Client.js +3 -0
  106. package/api/resources/realtime/types/AudioFormat.d.ts +8 -0
  107. package/api/resources/realtime/types/AudioFormat.js +10 -0
  108. package/api/resources/realtime/types/ControlEvent.d.ts +4 -1
  109. package/api/resources/realtime/types/MessageBase.d.ts +6 -0
  110. package/api/resources/realtime/types/MessageBase.js +5 -0
  111. package/api/resources/realtime/types/SubscribeEvent.d.ts +4 -1
  112. package/api/resources/realtime/types/index.d.ts +3 -1
  113. package/api/resources/realtime/types/index.js +3 -1
  114. package/api/resources/translations/client/Client.js +1 -1
  115. package/api/resources/triggers/client/Client.js +5 -5
  116. package/api/resources/users/client/Client.js +3 -3
  117. package/dist/Client.d.ts +6 -0
  118. package/dist/Client.js +30 -20
  119. package/dist/api/resources/actions/client/Client.js +3 -3
  120. package/dist/api/resources/agents/client/Client.d.ts +86 -0
  121. package/dist/api/resources/agents/client/Client.js +320 -0
  122. package/dist/api/resources/agents/client/index.d.ts +1 -0
  123. package/dist/api/resources/agents/client/index.js +2 -0
  124. package/dist/api/resources/agents/index.d.ts +2 -0
  125. package/dist/api/resources/agents/index.js +18 -0
  126. package/dist/api/resources/agents/types/Agent.d.ts +14 -0
  127. package/dist/api/resources/agents/types/Agent.js +5 -0
  128. package/dist/api/resources/agents/types/AgentEnvironment.d.ts +9 -0
  129. package/dist/api/resources/agents/types/AgentEnvironment.js +11 -0
  130. package/dist/api/resources/agents/types/AgentField.d.ts +8 -0
  131. package/dist/api/resources/agents/types/AgentField.js +10 -0
  132. package/dist/api/resources/agents/types/AgentFilter.d.ts +8 -0
  133. package/dist/api/resources/agents/types/AgentFilter.js +5 -0
  134. package/dist/api/resources/agents/types/AgentsSearchRequest.d.ts +8 -0
  135. package/dist/api/resources/agents/types/AgentsSearchRequest.js +5 -0
  136. package/dist/api/resources/agents/types/AgentsSearchResponse.d.ts +7 -0
  137. package/dist/api/resources/agents/types/AgentsSearchResponse.js +5 -0
  138. package/dist/api/resources/agents/types/index.d.ts +6 -0
  139. package/dist/api/resources/agents/types/index.js +22 -0
  140. package/dist/api/resources/analytics/client/Client.js +3 -3
  141. package/dist/api/resources/appSettings/client/Client.js +3 -3
  142. package/dist/api/resources/commons/types/ActionParameter.d.ts +2 -0
  143. package/dist/api/resources/commons/types/ActionParameterType.d.ts +2 -1
  144. package/dist/api/resources/commons/types/ActionParameterType.js +1 -0
  145. package/dist/api/resources/commons/types/EntityType.d.ts +2 -1
  146. package/dist/api/resources/commons/types/EntityType.js +1 -0
  147. package/dist/api/resources/conversation/client/Client.js +13 -13
  148. package/dist/api/resources/events/client/Client.d.ts +53 -0
  149. package/dist/api/resources/events/client/Client.js +157 -0
  150. package/dist/api/resources/events/client/index.d.ts +1 -0
  151. package/dist/api/resources/events/client/index.js +2 -0
  152. package/dist/api/resources/events/index.d.ts +2 -0
  153. package/dist/api/resources/events/index.js +18 -0
  154. package/dist/api/resources/events/types/BrowserInfo.d.ts +10 -0
  155. package/dist/api/resources/events/types/BrowserInfo.js +5 -0
  156. package/dist/api/resources/events/types/BrowserType.d.ts +12 -0
  157. package/dist/api/resources/events/types/BrowserType.js +14 -0
  158. package/dist/api/resources/events/types/ContextInfo.d.ts +6 -0
  159. package/dist/api/resources/events/types/ContextInfo.js +5 -0
  160. package/dist/api/resources/events/types/DeviceInfo.d.ts +10 -0
  161. package/dist/api/resources/events/types/DeviceInfo.js +5 -0
  162. package/dist/api/resources/events/types/DeviceType.d.ts +10 -0
  163. package/dist/api/resources/events/types/DeviceType.js +12 -0
  164. package/dist/api/resources/events/types/EventBaseNoId.d.ts +11 -0
  165. package/dist/api/resources/events/types/EventBaseNoId.js +5 -0
  166. package/dist/api/resources/events/types/EventField.d.ts +7 -0
  167. package/dist/api/resources/events/types/EventField.js +9 -0
  168. package/dist/api/resources/events/types/EventFilter.d.ts +13 -0
  169. package/dist/api/resources/events/types/EventFilter.js +5 -0
  170. package/dist/api/resources/events/types/EventResponse.d.ts +13 -0
  171. package/dist/api/resources/events/types/EventResponse.js +5 -0
  172. package/dist/api/resources/events/types/EventType.d.ts +8 -0
  173. package/dist/api/resources/events/types/EventType.js +10 -0
  174. package/dist/api/resources/events/types/EventsSearchRequest.d.ts +8 -0
  175. package/dist/api/resources/events/types/EventsSearchRequest.js +5 -0
  176. package/dist/api/resources/events/types/EventsSearchResponse.d.ts +8 -0
  177. package/dist/api/resources/events/types/EventsSearchResponse.js +5 -0
  178. package/dist/api/resources/events/types/FeedbackInfo.d.ts +12 -0
  179. package/dist/api/resources/events/types/FeedbackInfo.js +5 -0
  180. package/dist/api/resources/events/types/GeoInfo.d.ts +11 -0
  181. package/dist/api/resources/events/types/GeoInfo.js +5 -0
  182. package/dist/api/resources/events/types/IpInfo.d.ts +6 -0
  183. package/dist/api/resources/events/types/IpInfo.js +5 -0
  184. package/dist/api/resources/events/types/LanguageInfo.d.ts +6 -0
  185. package/dist/api/resources/events/types/LanguageInfo.js +5 -0
  186. package/dist/api/resources/events/types/NovelSystemEventNoId.d.ts +8 -0
  187. package/dist/api/resources/events/types/NovelSystemEventNoId.js +5 -0
  188. package/dist/api/resources/events/types/OsInfo.d.ts +9 -0
  189. package/dist/api/resources/events/types/OsInfo.js +5 -0
  190. package/dist/api/resources/events/types/OsType.d.ts +12 -0
  191. package/dist/api/resources/events/types/OsType.js +14 -0
  192. package/dist/api/resources/events/types/PageInfo.d.ts +10 -0
  193. package/dist/api/resources/events/types/PageInfo.js +5 -0
  194. package/dist/api/resources/events/types/SessionInfo.d.ts +9 -0
  195. package/dist/api/resources/events/types/SessionInfo.js +5 -0
  196. package/dist/api/resources/events/types/SourceInfo.d.ts +12 -0
  197. package/dist/api/resources/events/types/SourceInfo.js +5 -0
  198. package/dist/api/resources/events/types/SourceType.d.ts +9 -0
  199. package/dist/api/resources/events/types/SourceType.js +11 -0
  200. package/dist/api/resources/events/types/SurveyInfo.d.ts +7 -0
  201. package/dist/api/resources/events/types/SurveyInfo.js +5 -0
  202. package/dist/api/resources/events/types/SystemEvent.d.ts +8 -0
  203. package/dist/api/resources/events/types/SystemEvent.js +5 -0
  204. package/dist/api/resources/events/types/SystemEventName.d.ts +18 -0
  205. package/dist/api/resources/events/types/SystemEventName.js +11 -0
  206. package/dist/api/resources/events/types/UserEvent.d.ts +16 -0
  207. package/dist/api/resources/events/types/UserEvent.js +5 -0
  208. package/dist/api/resources/events/types/UserEventName.d.ts +22 -0
  209. package/dist/api/resources/events/types/UserEventName.js +12 -0
  210. package/dist/api/resources/events/types/UserInfo.d.ts +7 -0
  211. package/dist/api/resources/events/types/UserInfo.js +5 -0
  212. package/dist/api/resources/events/types/index.d.ts +29 -0
  213. package/dist/api/resources/events/types/index.js +45 -0
  214. package/dist/api/resources/inbox/client/Client.js +5 -5
  215. package/dist/api/resources/index.d.ts +4 -0
  216. package/dist/api/resources/index.js +5 -1
  217. package/dist/api/resources/knowledge/client/Client.js +7 -7
  218. package/dist/api/resources/organizations/client/Client.js +2 -2
  219. package/dist/api/resources/realtime/client/Client.d.ts +2 -0
  220. package/dist/api/resources/realtime/client/Client.js +3 -0
  221. package/dist/api/resources/realtime/types/AudioFormat.d.ts +8 -0
  222. package/dist/api/resources/realtime/types/AudioFormat.js +10 -0
  223. package/dist/api/resources/realtime/types/ControlEvent.d.ts +4 -1
  224. package/dist/api/resources/realtime/types/MessageBase.d.ts +6 -0
  225. package/dist/api/resources/realtime/types/MessageBase.js +5 -0
  226. package/dist/api/resources/realtime/types/SubscribeEvent.d.ts +4 -1
  227. package/dist/api/resources/realtime/types/index.d.ts +3 -1
  228. package/dist/api/resources/realtime/types/index.js +3 -1
  229. package/dist/api/resources/translations/client/Client.js +1 -1
  230. package/dist/api/resources/triggers/client/Client.js +5 -5
  231. package/dist/api/resources/users/client/Client.js +3 -3
  232. package/dist/serialization/resources/agents/client/index.d.ts +1 -0
  233. package/dist/serialization/resources/agents/client/index.js +37 -0
  234. package/dist/serialization/resources/agents/client/list.d.ts +11 -0
  235. package/dist/serialization/resources/agents/client/list.js +42 -0
  236. package/dist/serialization/resources/agents/index.d.ts +2 -0
  237. package/dist/serialization/resources/agents/index.js +18 -0
  238. package/dist/serialization/resources/agents/types/Agent.d.ts +17 -0
  239. package/dist/serialization/resources/agents/types/Agent.js +48 -0
  240. package/dist/serialization/resources/agents/types/AgentEnvironment.d.ts +10 -0
  241. package/dist/serialization/resources/agents/types/AgentEnvironment.js +41 -0
  242. package/dist/serialization/resources/agents/types/AgentField.d.ts +10 -0
  243. package/dist/serialization/resources/agents/types/AgentField.js +41 -0
  244. package/dist/serialization/resources/agents/types/AgentFilter.d.ts +13 -0
  245. package/dist/serialization/resources/agents/types/AgentFilter.js +44 -0
  246. package/dist/serialization/resources/agents/types/AgentsSearchRequest.d.ts +16 -0
  247. package/dist/serialization/resources/agents/types/AgentsSearchRequest.js +49 -0
  248. package/dist/serialization/resources/agents/types/AgentsSearchResponse.d.ts +14 -0
  249. package/dist/serialization/resources/agents/types/AgentsSearchResponse.js +47 -0
  250. package/dist/serialization/resources/agents/types/index.d.ts +6 -0
  251. package/dist/serialization/resources/agents/types/index.js +22 -0
  252. package/dist/serialization/resources/commons/types/ActionParameter.d.ts +1 -0
  253. package/dist/serialization/resources/commons/types/ActionParameter.js +1 -0
  254. package/dist/serialization/resources/commons/types/ActionParameterType.d.ts +1 -1
  255. package/dist/serialization/resources/commons/types/ActionParameterType.js +1 -1
  256. package/dist/serialization/resources/commons/types/EntityType.d.ts +1 -1
  257. package/dist/serialization/resources/commons/types/EntityType.js +1 -0
  258. package/dist/serialization/resources/events/index.d.ts +1 -0
  259. package/dist/serialization/resources/events/index.js +17 -0
  260. package/dist/serialization/resources/events/types/BrowserInfo.d.ts +16 -0
  261. package/dist/serialization/resources/events/types/BrowserInfo.js +47 -0
  262. package/dist/serialization/resources/events/types/BrowserType.d.ts +10 -0
  263. package/dist/serialization/resources/events/types/BrowserType.js +41 -0
  264. package/dist/serialization/resources/events/types/ContextInfo.d.ts +12 -0
  265. package/dist/serialization/resources/events/types/ContextInfo.js +43 -0
  266. package/dist/serialization/resources/events/types/DeviceInfo.d.ts +17 -0
  267. package/dist/serialization/resources/events/types/DeviceInfo.js +48 -0
  268. package/dist/serialization/resources/events/types/DeviceType.d.ts +10 -0
  269. package/dist/serialization/resources/events/types/DeviceType.js +41 -0
  270. package/dist/serialization/resources/events/types/EventBaseNoId.d.ts +20 -0
  271. package/dist/serialization/resources/events/types/EventBaseNoId.js +51 -0
  272. package/dist/serialization/resources/events/types/EventField.d.ts +10 -0
  273. package/dist/serialization/resources/events/types/EventField.js +41 -0
  274. package/dist/serialization/resources/events/types/EventFilter.d.ts +22 -0
  275. package/dist/serialization/resources/events/types/EventFilter.js +53 -0
  276. package/dist/serialization/resources/events/types/EventResponse.d.ts +18 -0
  277. package/dist/serialization/resources/events/types/EventResponse.js +51 -0
  278. package/dist/serialization/resources/events/types/EventType.d.ts +10 -0
  279. package/dist/serialization/resources/events/types/EventType.js +41 -0
  280. package/dist/serialization/resources/events/types/EventsSearchRequest.d.ts +16 -0
  281. package/dist/serialization/resources/events/types/EventsSearchRequest.js +49 -0
  282. package/dist/serialization/resources/events/types/EventsSearchResponse.d.ts +14 -0
  283. package/dist/serialization/resources/events/types/EventsSearchResponse.js +47 -0
  284. package/dist/serialization/resources/events/types/FeedbackInfo.d.ts +15 -0
  285. package/dist/serialization/resources/events/types/FeedbackInfo.js +46 -0
  286. package/dist/serialization/resources/events/types/GeoInfo.d.ts +17 -0
  287. package/dist/serialization/resources/events/types/GeoInfo.js +48 -0
  288. package/dist/serialization/resources/events/types/IpInfo.d.ts +12 -0
  289. package/dist/serialization/resources/events/types/IpInfo.js +43 -0
  290. package/dist/serialization/resources/events/types/LanguageInfo.d.ts +12 -0
  291. package/dist/serialization/resources/events/types/LanguageInfo.js +43 -0
  292. package/dist/serialization/resources/events/types/NovelSystemEventNoId.d.ts +14 -0
  293. package/dist/serialization/resources/events/types/NovelSystemEventNoId.js +47 -0
  294. package/dist/serialization/resources/events/types/OsInfo.d.ts +15 -0
  295. package/dist/serialization/resources/events/types/OsInfo.js +46 -0
  296. package/dist/serialization/resources/events/types/OsType.d.ts +10 -0
  297. package/dist/serialization/resources/events/types/OsType.js +48 -0
  298. package/dist/serialization/resources/events/types/PageInfo.d.ts +16 -0
  299. package/dist/serialization/resources/events/types/PageInfo.js +47 -0
  300. package/dist/serialization/resources/events/types/SessionInfo.d.ts +15 -0
  301. package/dist/serialization/resources/events/types/SessionInfo.js +46 -0
  302. package/dist/serialization/resources/events/types/SourceInfo.d.ts +23 -0
  303. package/dist/serialization/resources/events/types/SourceInfo.js +54 -0
  304. package/dist/serialization/resources/events/types/SourceType.d.ts +10 -0
  305. package/dist/serialization/resources/events/types/SourceType.js +41 -0
  306. package/dist/serialization/resources/events/types/SurveyInfo.d.ts +13 -0
  307. package/dist/serialization/resources/events/types/SurveyInfo.js +44 -0
  308. package/dist/serialization/resources/events/types/SystemEvent.d.ts +14 -0
  309. package/dist/serialization/resources/events/types/SystemEvent.js +47 -0
  310. package/dist/serialization/resources/events/types/SystemEventName.d.ts +10 -0
  311. package/dist/serialization/resources/events/types/SystemEventName.js +41 -0
  312. package/dist/serialization/resources/events/types/UserEvent.d.ts +22 -0
  313. package/dist/serialization/resources/events/types/UserEvent.js +55 -0
  314. package/dist/serialization/resources/events/types/UserEventName.d.ts +10 -0
  315. package/dist/serialization/resources/events/types/UserEventName.js +41 -0
  316. package/dist/serialization/resources/events/types/UserInfo.d.ts +13 -0
  317. package/dist/serialization/resources/events/types/UserInfo.js +44 -0
  318. package/dist/serialization/resources/events/types/index.d.ts +29 -0
  319. package/dist/serialization/resources/events/types/index.js +45 -0
  320. package/dist/serialization/resources/index.d.ts +4 -0
  321. package/dist/serialization/resources/index.js +5 -1
  322. package/dist/serialization/resources/realtime/types/AudioFormat.d.ts +10 -0
  323. package/dist/serialization/resources/realtime/types/AudioFormat.js +41 -0
  324. package/dist/serialization/resources/realtime/types/ControlEvent.d.ts +4 -1
  325. package/dist/serialization/resources/realtime/types/ControlEvent.js +7 -2
  326. package/dist/serialization/resources/realtime/types/MessageBase.d.ts +12 -0
  327. package/dist/serialization/resources/realtime/types/MessageBase.js +43 -0
  328. package/dist/serialization/resources/realtime/types/SubscribeEvent.d.ts +4 -1
  329. package/dist/serialization/resources/realtime/types/SubscribeEvent.js +1 -0
  330. package/dist/serialization/resources/realtime/types/index.d.ts +3 -1
  331. package/dist/serialization/resources/realtime/types/index.js +3 -1
  332. package/dist/version.d.ts +1 -1
  333. package/dist/version.js +1 -1
  334. package/package.json +1 -1
  335. package/reference.md +267 -0
  336. package/serialization/resources/agents/client/index.d.ts +1 -0
  337. package/serialization/resources/agents/client/index.js +37 -0
  338. package/serialization/resources/agents/client/list.d.ts +11 -0
  339. package/serialization/resources/agents/client/list.js +42 -0
  340. package/serialization/resources/agents/index.d.ts +2 -0
  341. package/serialization/resources/agents/index.js +18 -0
  342. package/serialization/resources/agents/types/Agent.d.ts +17 -0
  343. package/serialization/resources/agents/types/Agent.js +48 -0
  344. package/serialization/resources/agents/types/AgentEnvironment.d.ts +10 -0
  345. package/serialization/resources/agents/types/AgentEnvironment.js +41 -0
  346. package/serialization/resources/agents/types/AgentField.d.ts +10 -0
  347. package/serialization/resources/agents/types/AgentField.js +41 -0
  348. package/serialization/resources/agents/types/AgentFilter.d.ts +13 -0
  349. package/serialization/resources/agents/types/AgentFilter.js +44 -0
  350. package/serialization/resources/agents/types/AgentsSearchRequest.d.ts +16 -0
  351. package/serialization/resources/agents/types/AgentsSearchRequest.js +49 -0
  352. package/serialization/resources/agents/types/AgentsSearchResponse.d.ts +14 -0
  353. package/serialization/resources/agents/types/AgentsSearchResponse.js +47 -0
  354. package/serialization/resources/agents/types/index.d.ts +6 -0
  355. package/serialization/resources/agents/types/index.js +22 -0
  356. package/serialization/resources/commons/types/ActionParameter.d.ts +1 -0
  357. package/serialization/resources/commons/types/ActionParameter.js +1 -0
  358. package/serialization/resources/commons/types/ActionParameterType.d.ts +1 -1
  359. package/serialization/resources/commons/types/ActionParameterType.js +1 -1
  360. package/serialization/resources/commons/types/EntityType.d.ts +1 -1
  361. package/serialization/resources/commons/types/EntityType.js +1 -0
  362. package/serialization/resources/events/index.d.ts +1 -0
  363. package/serialization/resources/events/index.js +17 -0
  364. package/serialization/resources/events/types/BrowserInfo.d.ts +16 -0
  365. package/serialization/resources/events/types/BrowserInfo.js +47 -0
  366. package/serialization/resources/events/types/BrowserType.d.ts +10 -0
  367. package/serialization/resources/events/types/BrowserType.js +41 -0
  368. package/serialization/resources/events/types/ContextInfo.d.ts +12 -0
  369. package/serialization/resources/events/types/ContextInfo.js +43 -0
  370. package/serialization/resources/events/types/DeviceInfo.d.ts +17 -0
  371. package/serialization/resources/events/types/DeviceInfo.js +48 -0
  372. package/serialization/resources/events/types/DeviceType.d.ts +10 -0
  373. package/serialization/resources/events/types/DeviceType.js +41 -0
  374. package/serialization/resources/events/types/EventBaseNoId.d.ts +20 -0
  375. package/serialization/resources/events/types/EventBaseNoId.js +51 -0
  376. package/serialization/resources/events/types/EventField.d.ts +10 -0
  377. package/serialization/resources/events/types/EventField.js +41 -0
  378. package/serialization/resources/events/types/EventFilter.d.ts +22 -0
  379. package/serialization/resources/events/types/EventFilter.js +53 -0
  380. package/serialization/resources/events/types/EventResponse.d.ts +18 -0
  381. package/serialization/resources/events/types/EventResponse.js +51 -0
  382. package/serialization/resources/events/types/EventType.d.ts +10 -0
  383. package/serialization/resources/events/types/EventType.js +41 -0
  384. package/serialization/resources/events/types/EventsSearchRequest.d.ts +16 -0
  385. package/serialization/resources/events/types/EventsSearchRequest.js +49 -0
  386. package/serialization/resources/events/types/EventsSearchResponse.d.ts +14 -0
  387. package/serialization/resources/events/types/EventsSearchResponse.js +47 -0
  388. package/serialization/resources/events/types/FeedbackInfo.d.ts +15 -0
  389. package/serialization/resources/events/types/FeedbackInfo.js +46 -0
  390. package/serialization/resources/events/types/GeoInfo.d.ts +17 -0
  391. package/serialization/resources/events/types/GeoInfo.js +48 -0
  392. package/serialization/resources/events/types/IpInfo.d.ts +12 -0
  393. package/serialization/resources/events/types/IpInfo.js +43 -0
  394. package/serialization/resources/events/types/LanguageInfo.d.ts +12 -0
  395. package/serialization/resources/events/types/LanguageInfo.js +43 -0
  396. package/serialization/resources/events/types/NovelSystemEventNoId.d.ts +14 -0
  397. package/serialization/resources/events/types/NovelSystemEventNoId.js +47 -0
  398. package/serialization/resources/events/types/OsInfo.d.ts +15 -0
  399. package/serialization/resources/events/types/OsInfo.js +46 -0
  400. package/serialization/resources/events/types/OsType.d.ts +10 -0
  401. package/serialization/resources/events/types/OsType.js +48 -0
  402. package/serialization/resources/events/types/PageInfo.d.ts +16 -0
  403. package/serialization/resources/events/types/PageInfo.js +47 -0
  404. package/serialization/resources/events/types/SessionInfo.d.ts +15 -0
  405. package/serialization/resources/events/types/SessionInfo.js +46 -0
  406. package/serialization/resources/events/types/SourceInfo.d.ts +23 -0
  407. package/serialization/resources/events/types/SourceInfo.js +54 -0
  408. package/serialization/resources/events/types/SourceType.d.ts +10 -0
  409. package/serialization/resources/events/types/SourceType.js +41 -0
  410. package/serialization/resources/events/types/SurveyInfo.d.ts +13 -0
  411. package/serialization/resources/events/types/SurveyInfo.js +44 -0
  412. package/serialization/resources/events/types/SystemEvent.d.ts +14 -0
  413. package/serialization/resources/events/types/SystemEvent.js +47 -0
  414. package/serialization/resources/events/types/SystemEventName.d.ts +10 -0
  415. package/serialization/resources/events/types/SystemEventName.js +41 -0
  416. package/serialization/resources/events/types/UserEvent.d.ts +22 -0
  417. package/serialization/resources/events/types/UserEvent.js +55 -0
  418. package/serialization/resources/events/types/UserEventName.d.ts +10 -0
  419. package/serialization/resources/events/types/UserEventName.js +41 -0
  420. package/serialization/resources/events/types/UserInfo.d.ts +13 -0
  421. package/serialization/resources/events/types/UserInfo.js +44 -0
  422. package/serialization/resources/events/types/index.d.ts +29 -0
  423. package/serialization/resources/events/types/index.js +45 -0
  424. package/serialization/resources/index.d.ts +4 -0
  425. package/serialization/resources/index.js +5 -1
  426. package/serialization/resources/realtime/types/AudioFormat.d.ts +10 -0
  427. package/serialization/resources/realtime/types/AudioFormat.js +41 -0
  428. package/serialization/resources/realtime/types/ControlEvent.d.ts +4 -1
  429. package/serialization/resources/realtime/types/ControlEvent.js +7 -2
  430. package/serialization/resources/realtime/types/MessageBase.d.ts +12 -0
  431. package/serialization/resources/realtime/types/MessageBase.js +43 -0
  432. package/serialization/resources/realtime/types/SubscribeEvent.d.ts +4 -1
  433. package/serialization/resources/realtime/types/SubscribeEvent.js +1 -0
  434. package/serialization/resources/realtime/types/index.d.ts +3 -1
  435. package/serialization/resources/realtime/types/index.js +3 -1
  436. package/version.d.ts +1 -1
  437. package/version.js +1 -1
@@ -110,7 +110,7 @@ class Organizations {
110
110
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
111
111
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, "/v1/organizations/tables/conversations"),
112
112
  method: "POST",
113
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.11", "User-Agent": "mavenagi/1.0.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
113
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.12", "User-Agent": "mavenagi/1.0.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
114
114
  contentType: "application/json",
115
115
  requestType: "json",
116
116
  body: serializers.ConversationTableRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -238,7 +238,7 @@ class Organizations {
238
238
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
239
239
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, "/v1/organizations/charts/conversations"),
240
240
  method: "POST",
241
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.11", "User-Agent": "mavenagi/1.0.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.12", "User-Agent": "mavenagi/1.0.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
242
242
  contentType: "application/json",
243
243
  requestType: "json",
244
244
  body: serializers.ConversationChartRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import * as environments from "../../../../environments";
5
5
  import * as core from "../../../../core";
6
+ import * as MavenAGI from "../../../index";
6
7
  import { RealtimeSocket } from "./Socket";
7
8
  export declare namespace Realtime {
8
9
  interface Options {
@@ -20,6 +21,7 @@ export declare namespace Realtime {
20
21
  interface ConnectArgs {
21
22
  convId?: string;
22
23
  userId?: string;
24
+ audioFormat?: MavenAGI.AudioFormat | undefined;
23
25
  /** Enable debug mode on the websocket. Defaults to false. */
24
26
  debug?: boolean;
25
27
  /** Number of reconnect attempts. Defaults to 30. */
@@ -64,6 +64,9 @@ class Realtime {
64
64
  if (args.userId != null) {
65
65
  queryParams["userId"] = args.userId;
66
66
  }
67
+ if (args.audioFormat != null) {
68
+ queryParams["audioFormat"] = args.audioFormat;
69
+ }
67
70
  let headers = {};
68
71
  const socket = new core.ReconnectingWebSocket(`${(_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MavenAGIEnvironment.Production}/v1/realtime?${qs.stringify(queryParams, { arrayFormat: "repeat" })}`, [], { debug: (_c = args.debug) !== null && _c !== void 0 ? _c : false, maxRetries: (_d = args.reconnectAttempts) !== null && _d !== void 0 ? _d : 30 }, headers);
69
72
  return new Socket_1.RealtimeSocket({ socket });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type AudioFormat = "PCM16" | "G711_ULAW";
5
+ export declare const AudioFormat: {
6
+ readonly Pcm16: "PCM16";
7
+ readonly G711Ulaw: "G711_ULAW";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.AudioFormat = void 0;
7
+ exports.AudioFormat = {
8
+ Pcm16: "PCM16",
9
+ G711Ulaw: "G711_ULAW",
10
+ };
@@ -1,6 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface ControlEvent {
4
+ import * as MavenAGI from "../../../index";
5
+ export interface ControlEvent extends MavenAGI.MessageBase {
5
6
  reason?: string;
7
+ /** not used. */
8
+ unused?: MavenAGI.AudioFormat;
6
9
  }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface MessageBase {
5
+ seqId?: number;
6
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,7 +5,7 @@ import * as MavenAGI from "../../../index";
5
5
  /**
6
6
  * The response from the server sent through the WebSocket.
7
7
  */
8
- export type SubscribeEvent = MavenAGI.SubscribeEvent.Audio | MavenAGI.SubscribeEvent.ControlSessionStart | MavenAGI.SubscribeEvent.ControlSessionStop | MavenAGI.SubscribeEvent.ControlAudioDone;
8
+ export type SubscribeEvent = MavenAGI.SubscribeEvent.Audio | MavenAGI.SubscribeEvent.ControlSessionStart | MavenAGI.SubscribeEvent.ControlSessionStop | MavenAGI.SubscribeEvent.ControlAudioDone | MavenAGI.SubscribeEvent.ControlSessionUpdated;
9
9
  export declare namespace SubscribeEvent {
10
10
  interface Audio extends MavenAGI.AudioSubscribeEvent {
11
11
  messageType: "audio";
@@ -19,4 +19,7 @@ export declare namespace SubscribeEvent {
19
19
  interface ControlAudioDone extends MavenAGI.ControlEvent {
20
20
  messageType: "controlAudioDone";
21
21
  }
22
+ interface ControlSessionUpdated extends MavenAGI.ControlEvent {
23
+ messageType: "controlSessionUpdated";
24
+ }
22
25
  }
@@ -1,5 +1,7 @@
1
- export * from "./ControlEvent";
1
+ export * from "./AudioFormat";
2
+ export * from "./MessageBase";
2
3
  export * from "./PublishEvent";
4
+ export * from "./ControlEvent";
3
5
  export * from "./HangUpPublishEvent";
4
6
  export * from "./AudioPublishEvent";
5
7
  export * from "./SubscribeEvent";
@@ -14,8 +14,10 @@ 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("./ControlEvent"), exports);
17
+ __exportStar(require("./AudioFormat"), exports);
18
+ __exportStar(require("./MessageBase"), exports);
18
19
  __exportStar(require("./PublishEvent"), exports);
20
+ __exportStar(require("./ControlEvent"), exports);
19
21
  __exportStar(require("./HangUpPublishEvent"), exports);
20
22
  __exportStar(require("./AudioPublishEvent"), exports);
21
23
  __exportStar(require("./SubscribeEvent"), exports);
@@ -81,7 +81,7 @@ class Translations {
81
81
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
82
82
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, "/v1/translations/translate"),
83
83
  method: "POST",
84
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.11", "User-Agent": "mavenagi/1.0.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
84
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.12", "User-Agent": "mavenagi/1.0.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  body: serializers.TranslationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -76,7 +76,7 @@ class Triggers {
76
76
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
77
77
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, "/v1/triggers"),
78
78
  method: "POST",
79
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.11", "User-Agent": "mavenagi/1.0.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.12", "User-Agent": "mavenagi/1.0.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
80
  contentType: "application/json",
81
81
  requestType: "json",
82
82
  body: serializers.EventTriggersSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -162,7 +162,7 @@ class Triggers {
162
162
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
163
163
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, "/v1/triggers"),
164
164
  method: "PUT",
165
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.11", "User-Agent": "mavenagi/1.0.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
165
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.12", "User-Agent": "mavenagi/1.0.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
166
166
  contentType: "application/json",
167
167
  requestType: "json",
168
168
  body: serializers.EventTriggerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -242,7 +242,7 @@ class Triggers {
242
242
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
243
243
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, `/v1/triggers/${encodeURIComponent(triggerReferenceId)}`),
244
244
  method: "GET",
245
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.11", "User-Agent": "mavenagi/1.0.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
245
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.12", "User-Agent": "mavenagi/1.0.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
246
246
  contentType: "application/json",
247
247
  requestType: "json",
248
248
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -321,7 +321,7 @@ class Triggers {
321
321
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
322
322
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, `/v1/triggers/${encodeURIComponent(triggerReferenceId)}`),
323
323
  method: "DELETE",
324
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.11", "User-Agent": "mavenagi/1.0.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
324
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.12", "User-Agent": "mavenagi/1.0.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
325
325
  contentType: "application/json",
326
326
  requestType: "json",
327
327
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -403,7 +403,7 @@ class Triggers {
403
403
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
404
404
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, `/v1/triggers/${encodeURIComponent(triggerReferenceId)}`),
405
405
  method: "PATCH",
406
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.11", "User-Agent": "mavenagi/1.0.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
406
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.12", "User-Agent": "mavenagi/1.0.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
407
407
  contentType: "application/json",
408
408
  queryParameters: _queryParams,
409
409
  requestType: "json",
@@ -92,7 +92,7 @@ class Users {
92
92
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
93
93
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, "/v1/users"),
94
94
  method: "PUT",
95
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.11", "User-Agent": "mavenagi/1.0.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
95
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.12", "User-Agent": "mavenagi/1.0.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
96
  contentType: "application/json",
97
97
  requestType: "json",
98
98
  body: serializers.AppUserRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -178,7 +178,7 @@ class Users {
178
178
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
179
179
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, `/v1/users/${encodeURIComponent(userId)}`),
180
180
  method: "GET",
181
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.11", "User-Agent": "mavenagi/1.0.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
181
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.12", "User-Agent": "mavenagi/1.0.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
182
182
  contentType: "application/json",
183
183
  queryParameters: _queryParams,
184
184
  requestType: "json",
@@ -269,7 +269,7 @@ class Users {
269
269
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
270
270
  url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, `/v1/users/${encodeURIComponent(userId)}`),
271
271
  method: "DELETE",
272
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.11", "User-Agent": "mavenagi/1.0.11", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
272
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.12", "User-Agent": "mavenagi/1.0.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
273
273
  contentType: "application/json",
274
274
  queryParameters: _queryParams,
275
275
  requestType: "json",
@@ -0,0 +1 @@
1
+ export * as list from "./list";
@@ -0,0 +1,37 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.list = void 0;
37
+ exports.list = __importStar(require("./list"));
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { Agent } from "../types/Agent";
8
+ export declare const Response: core.serialization.Schema<serializers.agents.list.Response.Raw, MavenAGI.Agent[]>;
9
+ export declare namespace Response {
10
+ type Raw = Agent.Raw[];
11
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Response = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const Agent_1 = require("../types/Agent");
42
+ exports.Response = core.serialization.list(Agent_1.Agent);
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -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("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { EntityId } from "../../commons/types/EntityId";
8
+ import { AgentEnvironment } from "./AgentEnvironment";
9
+ export declare const Agent: core.serialization.ObjectSchema<serializers.Agent.Raw, MavenAGI.Agent>;
10
+ export declare namespace Agent {
11
+ interface Raw {
12
+ agentId: EntityId.Raw;
13
+ name: string;
14
+ createdAt: string;
15
+ environment: AgentEnvironment.Raw;
16
+ }
17
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Agent = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const EntityId_1 = require("../../commons/types/EntityId");
42
+ const AgentEnvironment_1 = require("./AgentEnvironment");
43
+ exports.Agent = core.serialization.object({
44
+ agentId: EntityId_1.EntityId,
45
+ name: core.serialization.string(),
46
+ createdAt: core.serialization.date(),
47
+ environment: AgentEnvironment_1.AgentEnvironment,
48
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const AgentEnvironment: core.serialization.Schema<serializers.AgentEnvironment.Raw, MavenAGI.AgentEnvironment>;
8
+ export declare namespace AgentEnvironment {
9
+ type Raw = "DEMO" | "STAGING" | "PRODUCTION";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AgentEnvironment = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.AgentEnvironment = core.serialization.enum_(["DEMO", "STAGING", "PRODUCTION"]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ export declare const AgentField: core.serialization.Schema<serializers.AgentField.Raw, MavenAGI.AgentField>;
8
+ export declare namespace AgentField {
9
+ type Raw = "CREATED_AT" | "ENVIRONMENT";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AgentField = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.AgentField = core.serialization.enum_(["CREATED_AT", "ENVIRONMENT"]);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { AgentEnvironment } from "./AgentEnvironment";
8
+ export declare const AgentFilter: core.serialization.ObjectSchema<serializers.AgentFilter.Raw, MavenAGI.AgentFilter>;
9
+ export declare namespace AgentFilter {
10
+ interface Raw {
11
+ environment?: AgentEnvironment.Raw | null;
12
+ }
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AgentFilter = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const AgentEnvironment_1 = require("./AgentEnvironment");
42
+ exports.AgentFilter = core.serialization.object({
43
+ environment: AgentEnvironment_1.AgentEnvironment.optional(),
44
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as MavenAGI from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { AgentField } from "./AgentField";
8
+ import { AgentFilter } from "./AgentFilter";
9
+ import { BasePaginatedRequest } from "../../commons/types/BasePaginatedRequest";
10
+ export declare const AgentsSearchRequest: core.serialization.ObjectSchema<serializers.AgentsSearchRequest.Raw, MavenAGI.AgentsSearchRequest>;
11
+ export declare namespace AgentsSearchRequest {
12
+ interface Raw extends BasePaginatedRequest.Raw {
13
+ sort?: AgentField.Raw | null;
14
+ filter?: AgentFilter.Raw | null;
15
+ }
16
+ }