mavenagi 0.0.0-alpha.9 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (649) hide show
  1. package/Client.d.ts +15 -0
  2. package/Client.js +10 -0
  3. package/README.md +78 -22
  4. package/api/resources/actions/client/Client.d.ts +21 -4
  5. package/api/resources/actions/client/Client.js +33 -19
  6. package/api/resources/actions/types/ActionBase.d.ts +2 -2
  7. package/api/resources/actions/types/ActionRequest.d.ts +12 -4
  8. package/api/resources/actions/types/ActionResponse.d.ts +12 -4
  9. package/api/resources/actions/types/ConversationExecutedActionPrecondition.d.ts +10 -0
  10. package/api/resources/actions/types/ConversationPrecondition.d.ts +16 -0
  11. package/api/resources/actions/types/MetadataPrecondition.d.ts +10 -0
  12. package/api/resources/actions/types/Precondition.d.ts +31 -0
  13. package/api/resources/actions/types/PreconditionBase.d.ts +8 -0
  14. package/api/resources/actions/types/PreconditionGroup.d.ts +8 -0
  15. package/api/resources/actions/types/PreconditionGroupOperator.d.ts +8 -0
  16. package/api/resources/actions/types/PreconditionGroupOperator.js +7 -0
  17. package/api/resources/actions/types/PreconditionOperator.d.ts +7 -0
  18. package/api/resources/actions/types/PreconditionOperator.js +6 -0
  19. package/api/resources/actions/types/TagsPrecondition.d.ts +8 -0
  20. package/api/resources/actions/types/index.d.ts +9 -1
  21. package/api/resources/actions/types/index.js +9 -1
  22. package/api/resources/appSettings/client/Client.d.ts +47 -0
  23. package/api/resources/appSettings/client/Client.js +125 -0
  24. package/api/resources/appSettings/client/index.d.ts +1 -0
  25. package/api/resources/appSettings/client/index.js +1 -0
  26. package/api/resources/appSettings/index.d.ts +1 -0
  27. package/api/resources/appSettings/index.js +1 -0
  28. package/api/resources/commons/types/AppUser.d.ts +3 -4
  29. package/api/resources/commons/types/AppUserIdentifier.d.ts +1 -1
  30. package/api/resources/commons/types/AppUserRequest.d.ts +22 -1
  31. package/api/resources/commons/types/AppUserResponse.d.ts +38 -1
  32. package/api/resources/commons/types/EntityType.d.ts +3 -1
  33. package/api/resources/commons/types/EntityType.js +2 -0
  34. package/api/resources/commons/types/Feedback.d.ts +32 -8
  35. package/api/resources/commons/types/FeedbackBase.d.ts +10 -0
  36. package/api/resources/commons/types/UserData.d.ts +10 -0
  37. package/api/resources/commons/types/VisibilityType.d.ts +9 -0
  38. package/api/resources/commons/types/VisibilityType.js +8 -0
  39. package/api/resources/commons/types/index.d.ts +6 -2
  40. package/api/resources/commons/types/index.js +6 -2
  41. package/api/resources/conversation/client/Client.d.ts +79 -36
  42. package/api/resources/conversation/client/Client.js +227 -91
  43. package/api/resources/conversation/client/index.d.ts +1 -1
  44. package/api/resources/conversation/client/index.js +1 -1
  45. package/api/resources/conversation/client/requests/ConversationGetRequest.d.ts +15 -0
  46. package/api/resources/conversation/client/requests/index.d.ts +1 -0
  47. package/api/resources/conversation/client/requests/index.js +1 -0
  48. package/api/resources/conversation/types/ActionFormField.d.ts +1 -0
  49. package/api/resources/conversation/types/AskRequest.d.ts +21 -5
  50. package/api/resources/conversation/types/AskStreamActionEvent.d.ts +6 -0
  51. package/api/resources/conversation/types/AskStreamChartEvent.d.ts +6 -0
  52. package/api/resources/conversation/types/AskStreamStartEvent.d.ts +2 -1
  53. package/api/resources/conversation/types/AskStreamTextEvent.d.ts +1 -0
  54. package/api/resources/conversation/types/Attachment.d.ts +9 -0
  55. package/api/resources/conversation/types/Attachment.js +4 -0
  56. package/api/resources/conversation/types/BotActionFormResponse.d.ts +3 -0
  57. package/api/resources/conversation/types/BotActionResponse.d.ts +15 -0
  58. package/api/resources/conversation/types/BotActionResponse.js +4 -0
  59. package/api/resources/conversation/types/BotChartResponse.d.ts +14 -0
  60. package/api/resources/conversation/types/BotChartResponse.js +4 -0
  61. package/api/resources/conversation/types/BotMessage.d.ts +2 -0
  62. package/api/resources/conversation/types/BotResponse.d.ts +7 -1
  63. package/api/resources/conversation/types/BotResponseMetadata.d.ts +2 -0
  64. package/api/resources/conversation/types/BotTextResponse.d.ts +3 -0
  65. package/api/resources/conversation/types/Capability.d.ts +15 -1
  66. package/api/resources/conversation/types/Capability.js +2 -0
  67. package/api/resources/conversation/types/CategorizationResponse.d.ts +6 -0
  68. package/api/resources/conversation/types/CategorizationResponse.js +4 -0
  69. package/api/resources/conversation/types/ChartSpecSchema.d.ts +7 -0
  70. package/api/resources/conversation/types/ChartSpecSchema.js +6 -0
  71. package/api/resources/conversation/types/ConversationAnalysis.d.ts +16 -0
  72. package/api/resources/conversation/types/ConversationAnalysis.js +4 -0
  73. package/api/resources/conversation/types/ConversationBase.d.ts +12 -2
  74. package/api/resources/conversation/types/ConversationMessageBase.d.ts +4 -5
  75. package/api/resources/conversation/types/ConversationMessageRequest.d.ts +3 -1
  76. package/api/resources/conversation/types/ConversationRequest.d.ts +0 -2
  77. package/api/resources/conversation/types/ConversationResponse.d.ts +54 -2
  78. package/api/resources/conversation/types/FeedbackRequest.d.ts +24 -1
  79. package/api/resources/conversation/types/GenerateMavenSuggestionsRequest.d.ts +2 -1
  80. package/api/resources/conversation/types/ResponseConfig.d.ts +4 -4
  81. package/api/resources/conversation/types/Sentiment.d.ts +14 -0
  82. package/api/resources/conversation/types/Sentiment.js +10 -0
  83. package/api/resources/conversation/types/StreamResponse.d.ts +7 -1
  84. package/api/resources/conversation/types/SubmitActionFormRequest.d.ts +1 -3
  85. package/api/resources/conversation/types/UserMessage.d.ts +7 -4
  86. package/api/resources/conversation/types/UserMessageAttachment.d.ts +7 -0
  87. package/api/resources/conversation/types/UserMessageAttachment.js +4 -0
  88. package/api/resources/conversation/types/UserMessageBase.d.ts +11 -0
  89. package/api/resources/conversation/types/UserMessageBase.js +4 -0
  90. package/api/resources/conversation/types/index.d.ts +11 -2
  91. package/api/resources/conversation/types/index.js +11 -2
  92. package/api/resources/index.d.ts +4 -0
  93. package/api/resources/index.js +4 -0
  94. package/api/resources/knowledge/client/Client.d.ts +13 -4
  95. package/api/resources/knowledge/client/Client.js +55 -41
  96. package/api/resources/translations/client/Client.d.ts +52 -0
  97. package/api/resources/translations/client/Client.js +130 -0
  98. package/api/resources/translations/client/index.d.ts +1 -0
  99. package/api/resources/translations/client/index.js +1 -0
  100. package/api/resources/translations/index.d.ts +2 -0
  101. package/api/resources/translations/index.js +2 -0
  102. package/api/resources/translations/types/TranslationRequest.d.ts +16 -0
  103. package/api/resources/translations/types/TranslationRequest.js +4 -0
  104. package/api/resources/translations/types/TranslationResponse.d.ts +13 -0
  105. package/api/resources/translations/types/TranslationResponse.js +4 -0
  106. package/api/resources/translations/types/index.d.ts +2 -0
  107. package/api/resources/translations/types/index.js +2 -0
  108. package/api/resources/triggers/client/Client.d.ts +10 -1
  109. package/api/resources/triggers/client/Client.js +22 -16
  110. package/api/resources/triggers/types/index.d.ts +0 -3
  111. package/api/resources/triggers/types/index.js +0 -3
  112. package/api/resources/users/client/Client.d.ts +27 -12
  113. package/api/resources/users/client/Client.js +33 -23
  114. package/core/fetcher/Fetcher.d.ts +4 -1
  115. package/core/fetcher/Fetcher.js +18 -159
  116. package/core/fetcher/createRequestUrl.d.ts +1 -0
  117. package/core/fetcher/createRequestUrl.js +6 -0
  118. package/core/fetcher/getFetchFn.d.ts +4 -0
  119. package/core/fetcher/getFetchFn.js +32 -0
  120. package/core/fetcher/getRequestBody.d.ts +7 -0
  121. package/core/fetcher/getRequestBody.js +19 -0
  122. package/core/fetcher/getResponseBody.d.ts +1 -0
  123. package/core/fetcher/getResponseBody.js +48 -0
  124. package/core/fetcher/makeRequest.d.ts +1 -0
  125. package/core/fetcher/makeRequest.js +38 -0
  126. package/core/fetcher/requestWithRetries.d.ts +1 -0
  127. package/core/fetcher/requestWithRetries.js +28 -0
  128. package/core/fetcher/signals.d.ts +12 -0
  129. package/core/fetcher/signals.js +32 -0
  130. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
  131. package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +243 -0
  132. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
  133. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +120 -0
  134. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
  135. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +225 -0
  136. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
  137. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +23 -0
  138. package/core/runtime/runtime.d.ts +1 -0
  139. package/core/runtime/runtime.js +1 -0
  140. package/core/schemas/Schema.d.ts +8 -4
  141. package/core/schemas/Schema.js +1 -0
  142. package/core/schemas/builders/bigint/bigint.d.ts +2 -0
  143. package/core/schemas/builders/bigint/bigint.js +46 -0
  144. package/core/schemas/builders/bigint/index.d.ts +1 -0
  145. package/core/schemas/builders/bigint/index.js +1 -0
  146. package/core/schemas/builders/index.d.ts +1 -0
  147. package/core/schemas/builders/index.js +1 -0
  148. package/core/schemas/builders/lazy/lazy.d.ts +2 -2
  149. package/core/schemas/builders/lazy/lazy.js +8 -19
  150. package/core/schemas/builders/lazy/lazyObject.js +1 -10
  151. package/core/schemas/builders/list/list.js +31 -44
  152. package/core/schemas/builders/object/object.js +90 -111
  153. package/core/schemas/builders/object/types.d.ts +2 -2
  154. package/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
  155. package/core/schemas/builders/record/record.js +49 -60
  156. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
  157. package/core/schemas/builders/schema-utils/getSchemaUtils.js +18 -21
  158. package/core/schemas/builders/set/set.js +6 -15
  159. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
  160. package/core/schemas/builders/union/union.js +51 -62
  161. package/core/schemas/utils/getErrorMessageForIncorrectType.js +4 -0
  162. package/core/schemas/utils/maybeSkipValidation.js +3 -12
  163. package/dist/Client.d.ts +15 -0
  164. package/dist/Client.js +10 -0
  165. package/dist/api/resources/actions/client/Client.d.ts +21 -4
  166. package/dist/api/resources/actions/client/Client.js +33 -19
  167. package/dist/api/resources/actions/types/ActionBase.d.ts +2 -2
  168. package/dist/api/resources/actions/types/ActionRequest.d.ts +12 -4
  169. package/dist/api/resources/actions/types/ActionResponse.d.ts +12 -4
  170. package/dist/api/resources/actions/types/ConversationExecutedActionPrecondition.d.ts +10 -0
  171. package/dist/api/resources/actions/types/ConversationExecutedActionPrecondition.js +4 -0
  172. package/dist/api/resources/actions/types/ConversationPrecondition.d.ts +16 -0
  173. package/dist/api/resources/actions/types/ConversationPrecondition.js +4 -0
  174. package/dist/api/resources/actions/types/MetadataPrecondition.d.ts +10 -0
  175. package/dist/api/resources/actions/types/MetadataPrecondition.js +4 -0
  176. package/dist/api/resources/actions/types/Precondition.d.ts +31 -0
  177. package/dist/api/resources/actions/types/Precondition.js +4 -0
  178. package/dist/api/resources/actions/types/PreconditionBase.d.ts +8 -0
  179. package/dist/api/resources/actions/types/PreconditionBase.js +4 -0
  180. package/dist/api/resources/actions/types/PreconditionGroup.d.ts +8 -0
  181. package/dist/api/resources/actions/types/PreconditionGroup.js +4 -0
  182. package/dist/api/resources/actions/types/PreconditionGroupOperator.d.ts +8 -0
  183. package/dist/api/resources/actions/types/PreconditionGroupOperator.js +7 -0
  184. package/dist/api/resources/actions/types/PreconditionOperator.d.ts +7 -0
  185. package/dist/api/resources/actions/types/PreconditionOperator.js +6 -0
  186. package/dist/api/resources/actions/types/TagsPrecondition.d.ts +8 -0
  187. package/dist/api/resources/actions/types/TagsPrecondition.js +4 -0
  188. package/dist/api/resources/actions/types/index.d.ts +9 -1
  189. package/dist/api/resources/actions/types/index.js +9 -1
  190. package/dist/api/resources/appSettings/client/Client.d.ts +47 -0
  191. package/dist/api/resources/appSettings/client/Client.js +125 -0
  192. package/dist/api/resources/appSettings/client/index.d.ts +1 -0
  193. package/dist/api/resources/appSettings/client/index.js +1 -0
  194. package/dist/api/resources/appSettings/index.d.ts +1 -0
  195. package/dist/api/resources/appSettings/index.js +1 -0
  196. package/dist/api/resources/commons/types/AppUser.d.ts +3 -4
  197. package/dist/api/resources/commons/types/AppUserIdentifier.d.ts +1 -1
  198. package/dist/api/resources/commons/types/AppUserRequest.d.ts +22 -1
  199. package/dist/api/resources/commons/types/AppUserResponse.d.ts +38 -1
  200. package/dist/api/resources/commons/types/EntityType.d.ts +3 -1
  201. package/dist/api/resources/commons/types/EntityType.js +2 -0
  202. package/dist/api/resources/commons/types/EventTriggerBase.js +4 -0
  203. package/dist/api/resources/commons/types/EventTriggerResponse.js +4 -0
  204. package/dist/api/resources/commons/types/Feedback.d.ts +32 -8
  205. package/dist/api/resources/commons/types/FeedbackBase.d.ts +10 -0
  206. package/dist/api/resources/commons/types/FeedbackBase.js +4 -0
  207. package/dist/api/resources/commons/types/UserData.d.ts +10 -0
  208. package/dist/api/resources/commons/types/UserData.js +4 -0
  209. package/dist/api/resources/commons/types/VisibilityType.d.ts +9 -0
  210. package/dist/api/resources/commons/types/VisibilityType.js +8 -0
  211. package/dist/api/resources/commons/types/index.d.ts +6 -2
  212. package/dist/api/resources/commons/types/index.js +6 -2
  213. package/dist/api/resources/conversation/client/Client.d.ts +79 -36
  214. package/dist/api/resources/conversation/client/Client.js +227 -91
  215. package/dist/api/resources/conversation/client/index.d.ts +1 -1
  216. package/dist/api/resources/conversation/client/index.js +1 -1
  217. package/dist/api/resources/conversation/client/requests/ConversationGetRequest.d.ts +15 -0
  218. package/dist/api/resources/conversation/client/requests/ConversationGetRequest.js +4 -0
  219. package/dist/api/resources/conversation/client/requests/index.d.ts +1 -0
  220. package/dist/api/resources/conversation/client/requests/index.js +1 -0
  221. package/dist/api/resources/conversation/types/ActionFormField.d.ts +1 -0
  222. package/dist/api/resources/conversation/types/AskRequest.d.ts +21 -5
  223. package/dist/api/resources/conversation/types/AskStreamActionEvent.d.ts +6 -0
  224. package/dist/api/resources/conversation/types/AskStreamActionEvent.js +4 -0
  225. package/dist/api/resources/conversation/types/AskStreamChartEvent.d.ts +6 -0
  226. package/dist/api/resources/conversation/types/AskStreamChartEvent.js +4 -0
  227. package/dist/api/resources/conversation/types/AskStreamStartEvent.d.ts +2 -1
  228. package/dist/api/resources/conversation/types/AskStreamTextEvent.d.ts +1 -0
  229. package/dist/api/resources/conversation/types/Attachment.d.ts +9 -0
  230. package/dist/api/resources/conversation/types/Attachment.js +4 -0
  231. package/dist/api/resources/conversation/types/BotActionFormResponse.d.ts +3 -0
  232. package/dist/api/resources/conversation/types/BotActionResponse.d.ts +15 -0
  233. package/dist/api/resources/conversation/types/BotActionResponse.js +4 -0
  234. package/dist/api/resources/conversation/types/BotChartResponse.d.ts +14 -0
  235. package/dist/api/resources/conversation/types/BotChartResponse.js +4 -0
  236. package/dist/api/resources/conversation/types/BotMessage.d.ts +2 -0
  237. package/dist/api/resources/conversation/types/BotResponse.d.ts +7 -1
  238. package/dist/api/resources/conversation/types/BotResponseMetadata.d.ts +2 -0
  239. package/dist/api/resources/conversation/types/BotTextResponse.d.ts +3 -0
  240. package/dist/api/resources/conversation/types/Capability.d.ts +15 -1
  241. package/dist/api/resources/conversation/types/Capability.js +2 -0
  242. package/dist/api/resources/conversation/types/CategorizationResponse.d.ts +6 -0
  243. package/dist/api/resources/conversation/types/CategorizationResponse.js +4 -0
  244. package/dist/api/resources/conversation/types/ChartSpecSchema.d.ts +7 -0
  245. package/dist/api/resources/conversation/types/ChartSpecSchema.js +6 -0
  246. package/dist/api/resources/conversation/types/ConversationAnalysis.d.ts +16 -0
  247. package/dist/api/resources/conversation/types/ConversationAnalysis.js +4 -0
  248. package/dist/api/resources/conversation/types/ConversationBase.d.ts +12 -2
  249. package/dist/api/resources/conversation/types/ConversationMessageBase.d.ts +4 -5
  250. package/dist/api/resources/conversation/types/ConversationMessageRequest.d.ts +3 -1
  251. package/dist/api/resources/conversation/types/ConversationRequest.d.ts +0 -2
  252. package/dist/api/resources/conversation/types/ConversationResponse.d.ts +54 -2
  253. package/dist/api/resources/conversation/types/FeedbackRequest.d.ts +24 -1
  254. package/dist/api/resources/conversation/types/GenerateMavenSuggestionsRequest.d.ts +2 -1
  255. package/dist/api/resources/conversation/types/ResponseConfig.d.ts +4 -4
  256. package/dist/api/resources/conversation/types/Sentiment.d.ts +14 -0
  257. package/dist/api/resources/conversation/types/Sentiment.js +10 -0
  258. package/dist/api/resources/conversation/types/StreamResponse.d.ts +7 -1
  259. package/dist/api/resources/conversation/types/SubmitActionFormRequest.d.ts +1 -3
  260. package/dist/api/resources/conversation/types/UserMessage.d.ts +7 -4
  261. package/dist/api/resources/conversation/types/UserMessageAttachment.d.ts +7 -0
  262. package/dist/api/resources/conversation/types/UserMessageAttachment.js +4 -0
  263. package/dist/api/resources/conversation/types/UserMessageBase.d.ts +11 -0
  264. package/dist/api/resources/conversation/types/UserMessageBase.js +4 -0
  265. package/dist/api/resources/conversation/types/index.d.ts +11 -2
  266. package/dist/api/resources/conversation/types/index.js +11 -2
  267. package/dist/api/resources/index.d.ts +4 -0
  268. package/dist/api/resources/index.js +4 -0
  269. package/dist/api/resources/knowledge/client/Client.d.ts +13 -4
  270. package/dist/api/resources/knowledge/client/Client.js +55 -41
  271. package/dist/api/resources/translations/client/Client.d.ts +52 -0
  272. package/dist/api/resources/translations/client/Client.js +130 -0
  273. package/dist/api/resources/translations/client/index.d.ts +1 -0
  274. package/dist/api/resources/translations/client/index.js +1 -0
  275. package/dist/api/resources/translations/index.d.ts +2 -0
  276. package/dist/api/resources/translations/index.js +2 -0
  277. package/dist/api/resources/translations/types/TranslationRequest.d.ts +16 -0
  278. package/dist/api/resources/translations/types/TranslationRequest.js +4 -0
  279. package/dist/api/resources/translations/types/TranslationResponse.d.ts +13 -0
  280. package/dist/api/resources/translations/types/TranslationResponse.js +4 -0
  281. package/dist/api/resources/translations/types/index.d.ts +2 -0
  282. package/dist/api/resources/translations/types/index.js +2 -0
  283. package/dist/api/resources/triggers/client/Client.d.ts +10 -1
  284. package/dist/api/resources/triggers/client/Client.js +22 -16
  285. package/dist/api/resources/triggers/types/index.d.ts +0 -3
  286. package/dist/api/resources/triggers/types/index.js +0 -3
  287. package/dist/api/resources/users/client/Client.d.ts +27 -12
  288. package/dist/api/resources/users/client/Client.js +33 -23
  289. package/dist/core/fetcher/Fetcher.d.ts +4 -1
  290. package/dist/core/fetcher/Fetcher.js +18 -159
  291. package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
  292. package/dist/core/fetcher/createRequestUrl.js +6 -0
  293. package/dist/core/fetcher/getFetchFn.d.ts +4 -0
  294. package/dist/core/fetcher/getFetchFn.js +32 -0
  295. package/dist/core/fetcher/getRequestBody.d.ts +7 -0
  296. package/dist/core/fetcher/getRequestBody.js +19 -0
  297. package/dist/core/fetcher/getResponseBody.d.ts +1 -0
  298. package/dist/core/fetcher/getResponseBody.js +48 -0
  299. package/dist/core/fetcher/makeRequest.d.ts +1 -0
  300. package/dist/core/fetcher/makeRequest.js +38 -0
  301. package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
  302. package/dist/core/fetcher/requestWithRetries.js +28 -0
  303. package/dist/core/fetcher/signals.d.ts +12 -0
  304. package/dist/core/fetcher/signals.js +32 -0
  305. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
  306. package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +243 -0
  307. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
  308. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +120 -0
  309. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
  310. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +225 -0
  311. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
  312. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +23 -0
  313. package/dist/core/runtime/runtime.d.ts +1 -0
  314. package/dist/core/runtime/runtime.js +1 -0
  315. package/dist/core/schemas/Schema.d.ts +8 -4
  316. package/dist/core/schemas/Schema.js +1 -0
  317. package/dist/core/schemas/builders/bigint/bigint.d.ts +2 -0
  318. package/dist/core/schemas/builders/bigint/bigint.js +46 -0
  319. package/dist/core/schemas/builders/bigint/index.d.ts +1 -0
  320. package/dist/core/schemas/builders/bigint/index.js +1 -0
  321. package/dist/core/schemas/builders/index.d.ts +1 -0
  322. package/dist/core/schemas/builders/index.js +1 -0
  323. package/dist/core/schemas/builders/lazy/lazy.d.ts +2 -2
  324. package/dist/core/schemas/builders/lazy/lazy.js +8 -19
  325. package/dist/core/schemas/builders/lazy/lazyObject.js +1 -10
  326. package/dist/core/schemas/builders/list/list.js +31 -44
  327. package/dist/core/schemas/builders/object/object.js +90 -111
  328. package/dist/core/schemas/builders/object/types.d.ts +2 -2
  329. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
  330. package/dist/core/schemas/builders/record/record.js +49 -60
  331. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
  332. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +18 -21
  333. package/dist/core/schemas/builders/set/set.js +6 -15
  334. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
  335. package/dist/core/schemas/builders/union/union.js +51 -62
  336. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +4 -0
  337. package/dist/core/schemas/utils/maybeSkipValidation.js +3 -12
  338. package/dist/serialization/resources/actions/types/ActionBase.d.ts +1 -2
  339. package/dist/serialization/resources/actions/types/ActionBase.js +2 -2
  340. package/dist/serialization/resources/actions/types/ConversationExecutedActionPrecondition.d.ts +14 -0
  341. package/dist/serialization/resources/actions/types/ConversationExecutedActionPrecondition.js +11 -0
  342. package/dist/serialization/resources/actions/types/ConversationPrecondition.d.ts +22 -0
  343. package/dist/serialization/resources/actions/types/ConversationPrecondition.js +17 -0
  344. package/dist/serialization/resources/actions/types/MetadataPrecondition.d.ts +14 -0
  345. package/dist/serialization/resources/actions/types/MetadataPrecondition.js +11 -0
  346. package/dist/serialization/resources/actions/types/Precondition.d.ts +22 -0
  347. package/dist/serialization/resources/actions/types/Precondition.js +19 -0
  348. package/dist/serialization/resources/actions/types/PreconditionBase.d.ts +13 -0
  349. package/dist/serialization/resources/actions/types/PreconditionBase.js +8 -0
  350. package/dist/serialization/resources/actions/types/PreconditionGroup.d.ts +14 -0
  351. package/dist/serialization/resources/actions/types/PreconditionGroup.js +10 -0
  352. package/dist/serialization/resources/actions/types/PreconditionGroupOperator.d.ts +10 -0
  353. package/dist/serialization/resources/actions/types/PreconditionGroupOperator.js +5 -0
  354. package/dist/serialization/resources/actions/types/PreconditionOperator.d.ts +10 -0
  355. package/dist/serialization/resources/actions/types/PreconditionOperator.js +5 -0
  356. package/dist/serialization/resources/actions/types/TagsPrecondition.d.ts +13 -0
  357. package/dist/serialization/resources/actions/types/TagsPrecondition.js +10 -0
  358. package/dist/serialization/resources/actions/types/index.d.ts +9 -1
  359. package/dist/serialization/resources/actions/types/index.js +9 -1
  360. package/dist/serialization/resources/appSettings/client/get.d.ts +9 -0
  361. package/dist/serialization/resources/appSettings/client/get.js +5 -0
  362. package/dist/serialization/resources/appSettings/client/index.d.ts +1 -0
  363. package/dist/serialization/resources/appSettings/client/index.js +1 -0
  364. package/dist/serialization/resources/appSettings/index.d.ts +1 -0
  365. package/dist/serialization/resources/appSettings/index.js +1 -0
  366. package/dist/serialization/resources/commons/types/AppUser.d.ts +4 -4
  367. package/dist/serialization/resources/commons/types/AppUser.js +4 -4
  368. package/dist/serialization/resources/commons/types/AppUserIdentifier.d.ts +1 -1
  369. package/dist/serialization/resources/commons/types/AppUserIdentifier.js +1 -1
  370. package/dist/serialization/resources/commons/types/AppUserRequest.d.ts +4 -1
  371. package/dist/serialization/resources/commons/types/AppUserRequest.js +7 -1
  372. package/dist/serialization/resources/commons/types/AppUserResponse.d.ts +6 -1
  373. package/dist/serialization/resources/commons/types/AppUserResponse.js +9 -1
  374. package/dist/serialization/resources/commons/types/EntityType.d.ts +1 -1
  375. package/dist/serialization/resources/commons/types/EntityType.js +2 -0
  376. package/dist/serialization/resources/{triggers → commons}/types/EventTriggerResponse.d.ts +1 -1
  377. package/dist/serialization/resources/{triggers → commons}/types/EventTriggerResponse.js +1 -1
  378. package/dist/serialization/resources/commons/types/Feedback.d.ts +6 -7
  379. package/dist/serialization/resources/commons/types/Feedback.js +9 -8
  380. package/dist/serialization/resources/commons/types/FeedbackBase.d.ts +14 -0
  381. package/dist/serialization/resources/commons/types/FeedbackBase.js +9 -0
  382. package/dist/serialization/resources/commons/types/UserData.d.ts +14 -0
  383. package/dist/serialization/resources/commons/types/UserData.js +9 -0
  384. package/dist/serialization/resources/commons/types/VisibilityType.d.ts +10 -0
  385. package/dist/serialization/resources/commons/types/VisibilityType.js +5 -0
  386. package/dist/serialization/resources/commons/types/index.d.ts +6 -2
  387. package/dist/serialization/resources/commons/types/index.js +6 -2
  388. package/dist/serialization/resources/conversation/types/ActionFormField.d.ts +1 -0
  389. package/dist/serialization/resources/conversation/types/ActionFormField.js +1 -0
  390. package/dist/serialization/resources/conversation/types/AskRequest.d.ts +5 -5
  391. package/dist/serialization/resources/conversation/types/AskRequest.js +5 -5
  392. package/dist/serialization/resources/conversation/types/AskStreamActionEvent.d.ts +12 -0
  393. package/dist/serialization/resources/conversation/types/AskStreamActionEvent.js +6 -0
  394. package/dist/serialization/resources/conversation/types/AskStreamChartEvent.d.ts +12 -0
  395. package/dist/serialization/resources/conversation/types/AskStreamChartEvent.js +6 -0
  396. package/dist/serialization/resources/conversation/types/AskStreamStartEvent.d.ts +2 -1
  397. package/dist/serialization/resources/conversation/types/AskStreamStartEvent.js +2 -1
  398. package/dist/serialization/resources/{actions/types/Preconditions.d.ts → conversation/types/Attachment.d.ts} +4 -3
  399. package/dist/serialization/resources/conversation/types/Attachment.js +8 -0
  400. package/dist/serialization/resources/conversation/types/BotActionResponse.d.ts +17 -0
  401. package/dist/serialization/resources/conversation/types/BotActionResponse.js +12 -0
  402. package/dist/serialization/resources/conversation/types/BotChartResponse.d.ts +15 -0
  403. package/dist/serialization/resources/conversation/types/BotChartResponse.js +10 -0
  404. package/dist/serialization/resources/conversation/types/BotMessage.d.ts +2 -0
  405. package/dist/serialization/resources/conversation/types/BotMessage.js +2 -0
  406. package/dist/serialization/resources/conversation/types/BotResponse.d.ts +9 -1
  407. package/dist/serialization/resources/conversation/types/BotResponse.js +4 -0
  408. package/dist/serialization/resources/conversation/types/BotResponseMetadata.d.ts +1 -0
  409. package/dist/serialization/resources/conversation/types/BotResponseMetadata.js +1 -0
  410. package/dist/serialization/resources/conversation/types/Capability.d.ts +1 -1
  411. package/dist/serialization/resources/conversation/types/Capability.js +1 -1
  412. package/dist/serialization/resources/conversation/types/CategorizationResponse.d.ts +12 -0
  413. package/dist/serialization/resources/conversation/types/CategorizationResponse.js +7 -0
  414. package/dist/serialization/resources/conversation/types/ChartSpecSchema.d.ts +10 -0
  415. package/dist/serialization/resources/conversation/types/ChartSpecSchema.js +5 -0
  416. package/dist/serialization/resources/conversation/types/ConversationAnalysis.d.ts +17 -0
  417. package/dist/serialization/resources/conversation/types/ConversationAnalysis.js +12 -0
  418. package/dist/serialization/resources/conversation/types/ConversationBase.d.ts +6 -1
  419. package/dist/serialization/resources/conversation/types/ConversationBase.js +6 -1
  420. package/dist/serialization/resources/conversation/types/ConversationMessageBase.d.ts +2 -3
  421. package/dist/serialization/resources/conversation/types/ConversationMessageBase.js +2 -3
  422. package/dist/serialization/resources/conversation/types/ConversationMessageRequest.d.ts +4 -2
  423. package/dist/serialization/resources/conversation/types/ConversationMessageRequest.js +7 -2
  424. package/dist/serialization/resources/conversation/types/ConversationRequest.d.ts +0 -2
  425. package/dist/serialization/resources/conversation/types/ConversationRequest.js +0 -2
  426. package/dist/serialization/resources/conversation/types/ConversationResponse.d.ts +2 -2
  427. package/dist/serialization/resources/conversation/types/ConversationResponse.js +2 -2
  428. package/dist/serialization/resources/conversation/types/FeedbackRequest.d.ts +7 -2
  429. package/dist/serialization/resources/conversation/types/FeedbackRequest.js +10 -2
  430. package/dist/serialization/resources/conversation/types/GenerateMavenSuggestionsRequest.d.ts +2 -1
  431. package/dist/serialization/resources/conversation/types/GenerateMavenSuggestionsRequest.js +2 -1
  432. package/dist/serialization/resources/conversation/types/ResponseConfig.d.ts +3 -3
  433. package/dist/serialization/resources/conversation/types/ResponseConfig.js +3 -3
  434. package/dist/serialization/resources/conversation/types/Sentiment.d.ts +10 -0
  435. package/dist/serialization/resources/conversation/types/Sentiment.js +5 -0
  436. package/dist/serialization/resources/conversation/types/StreamResponse.d.ts +9 -1
  437. package/dist/serialization/resources/conversation/types/StreamResponse.js +4 -0
  438. package/dist/serialization/resources/conversation/types/SubmitActionFormRequest.d.ts +0 -2
  439. package/dist/serialization/resources/conversation/types/SubmitActionFormRequest.js +0 -2
  440. package/dist/serialization/resources/conversation/types/UserMessage.d.ts +7 -5
  441. package/dist/serialization/resources/conversation/types/UserMessage.js +7 -5
  442. package/dist/serialization/resources/conversation/types/UserMessageAttachment.d.ts +12 -0
  443. package/dist/serialization/resources/conversation/types/UserMessageAttachment.js +7 -0
  444. package/dist/serialization/resources/conversation/types/UserMessageBase.d.ts +17 -0
  445. package/dist/serialization/resources/conversation/types/UserMessageBase.js +14 -0
  446. package/dist/serialization/resources/conversation/types/index.d.ts +11 -2
  447. package/dist/serialization/resources/conversation/types/index.js +11 -2
  448. package/dist/serialization/resources/index.d.ts +3 -0
  449. package/dist/serialization/resources/index.js +3 -0
  450. package/dist/serialization/resources/translations/index.d.ts +1 -0
  451. package/dist/serialization/resources/translations/index.js +1 -0
  452. package/dist/serialization/resources/translations/types/TranslationRequest.d.ts +13 -0
  453. package/dist/serialization/resources/translations/types/TranslationRequest.js +8 -0
  454. package/dist/serialization/resources/translations/types/TranslationResponse.d.ts +12 -0
  455. package/dist/serialization/resources/translations/types/TranslationResponse.js +7 -0
  456. package/dist/serialization/resources/translations/types/index.d.ts +2 -0
  457. package/dist/serialization/resources/translations/types/index.js +2 -0
  458. package/dist/serialization/resources/triggers/types/EventTriggerRequest.d.ts +1 -1
  459. package/dist/serialization/resources/triggers/types/EventTriggerRequest.js +1 -1
  460. package/dist/serialization/resources/triggers/types/index.d.ts +0 -3
  461. package/dist/serialization/resources/triggers/types/index.js +0 -3
  462. package/dist/version.d.ts +1 -0
  463. package/dist/version.js +1 -0
  464. package/package.json +12 -2
  465. package/reference.md +1953 -0
  466. package/serialization/resources/actions/types/ActionBase.d.ts +1 -2
  467. package/serialization/resources/actions/types/ActionBase.js +2 -2
  468. package/serialization/resources/actions/types/ConversationExecutedActionPrecondition.d.ts +14 -0
  469. package/serialization/resources/actions/types/ConversationExecutedActionPrecondition.js +11 -0
  470. package/serialization/resources/actions/types/ConversationPrecondition.d.ts +22 -0
  471. package/serialization/resources/actions/types/ConversationPrecondition.js +17 -0
  472. package/serialization/resources/actions/types/MetadataPrecondition.d.ts +14 -0
  473. package/serialization/resources/actions/types/MetadataPrecondition.js +11 -0
  474. package/serialization/resources/actions/types/Precondition.d.ts +22 -0
  475. package/serialization/resources/actions/types/Precondition.js +19 -0
  476. package/serialization/resources/actions/types/PreconditionBase.d.ts +13 -0
  477. package/serialization/resources/actions/types/PreconditionBase.js +8 -0
  478. package/serialization/resources/actions/types/PreconditionGroup.d.ts +14 -0
  479. package/serialization/resources/actions/types/PreconditionGroup.js +10 -0
  480. package/serialization/resources/actions/types/PreconditionGroupOperator.d.ts +10 -0
  481. package/serialization/resources/actions/types/PreconditionGroupOperator.js +5 -0
  482. package/serialization/resources/actions/types/PreconditionOperator.d.ts +10 -0
  483. package/serialization/resources/actions/types/PreconditionOperator.js +5 -0
  484. package/serialization/resources/actions/types/TagsPrecondition.d.ts +13 -0
  485. package/serialization/resources/actions/types/TagsPrecondition.js +10 -0
  486. package/serialization/resources/actions/types/index.d.ts +9 -1
  487. package/serialization/resources/actions/types/index.js +9 -1
  488. package/serialization/resources/appSettings/client/get.d.ts +9 -0
  489. package/serialization/resources/appSettings/client/get.js +5 -0
  490. package/serialization/resources/appSettings/client/index.d.ts +1 -0
  491. package/serialization/resources/appSettings/client/index.js +1 -0
  492. package/serialization/resources/appSettings/index.d.ts +1 -0
  493. package/serialization/resources/appSettings/index.js +1 -0
  494. package/serialization/resources/commons/types/AppUser.d.ts +4 -4
  495. package/serialization/resources/commons/types/AppUser.js +4 -4
  496. package/serialization/resources/commons/types/AppUserIdentifier.d.ts +1 -1
  497. package/serialization/resources/commons/types/AppUserIdentifier.js +1 -1
  498. package/serialization/resources/commons/types/AppUserRequest.d.ts +4 -1
  499. package/serialization/resources/commons/types/AppUserRequest.js +7 -1
  500. package/serialization/resources/commons/types/AppUserResponse.d.ts +6 -1
  501. package/serialization/resources/commons/types/AppUserResponse.js +9 -1
  502. package/serialization/resources/commons/types/EntityType.d.ts +1 -1
  503. package/serialization/resources/commons/types/EntityType.js +2 -0
  504. package/serialization/resources/{triggers → commons}/types/EventTriggerResponse.d.ts +1 -1
  505. package/serialization/resources/{triggers → commons}/types/EventTriggerResponse.js +1 -1
  506. package/serialization/resources/commons/types/Feedback.d.ts +6 -7
  507. package/serialization/resources/commons/types/Feedback.js +9 -8
  508. package/serialization/resources/commons/types/FeedbackBase.d.ts +14 -0
  509. package/serialization/resources/commons/types/FeedbackBase.js +9 -0
  510. package/serialization/resources/commons/types/UserData.d.ts +14 -0
  511. package/serialization/resources/commons/types/UserData.js +9 -0
  512. package/serialization/resources/commons/types/VisibilityType.d.ts +10 -0
  513. package/serialization/resources/commons/types/VisibilityType.js +5 -0
  514. package/serialization/resources/commons/types/index.d.ts +6 -2
  515. package/serialization/resources/commons/types/index.js +6 -2
  516. package/serialization/resources/conversation/types/ActionFormField.d.ts +1 -0
  517. package/serialization/resources/conversation/types/ActionFormField.js +1 -0
  518. package/serialization/resources/conversation/types/AskRequest.d.ts +5 -5
  519. package/serialization/resources/conversation/types/AskRequest.js +5 -5
  520. package/serialization/resources/conversation/types/AskStreamActionEvent.d.ts +12 -0
  521. package/serialization/resources/conversation/types/AskStreamActionEvent.js +6 -0
  522. package/serialization/resources/conversation/types/AskStreamChartEvent.d.ts +12 -0
  523. package/serialization/resources/conversation/types/AskStreamChartEvent.js +6 -0
  524. package/serialization/resources/conversation/types/AskStreamStartEvent.d.ts +2 -1
  525. package/serialization/resources/conversation/types/AskStreamStartEvent.js +2 -1
  526. package/serialization/resources/{actions/types/Preconditions.d.ts → conversation/types/Attachment.d.ts} +4 -3
  527. package/serialization/resources/conversation/types/Attachment.js +8 -0
  528. package/serialization/resources/conversation/types/BotActionResponse.d.ts +17 -0
  529. package/serialization/resources/conversation/types/BotActionResponse.js +12 -0
  530. package/serialization/resources/conversation/types/BotChartResponse.d.ts +15 -0
  531. package/serialization/resources/conversation/types/BotChartResponse.js +10 -0
  532. package/serialization/resources/conversation/types/BotMessage.d.ts +2 -0
  533. package/serialization/resources/conversation/types/BotMessage.js +2 -0
  534. package/serialization/resources/conversation/types/BotResponse.d.ts +9 -1
  535. package/serialization/resources/conversation/types/BotResponse.js +4 -0
  536. package/serialization/resources/conversation/types/BotResponseMetadata.d.ts +1 -0
  537. package/serialization/resources/conversation/types/BotResponseMetadata.js +1 -0
  538. package/serialization/resources/conversation/types/Capability.d.ts +1 -1
  539. package/serialization/resources/conversation/types/Capability.js +1 -1
  540. package/serialization/resources/conversation/types/CategorizationResponse.d.ts +12 -0
  541. package/serialization/resources/conversation/types/CategorizationResponse.js +7 -0
  542. package/serialization/resources/conversation/types/ChartSpecSchema.d.ts +10 -0
  543. package/serialization/resources/conversation/types/ChartSpecSchema.js +5 -0
  544. package/serialization/resources/conversation/types/ConversationAnalysis.d.ts +17 -0
  545. package/serialization/resources/conversation/types/ConversationAnalysis.js +12 -0
  546. package/serialization/resources/conversation/types/ConversationBase.d.ts +6 -1
  547. package/serialization/resources/conversation/types/ConversationBase.js +6 -1
  548. package/serialization/resources/conversation/types/ConversationMessageBase.d.ts +2 -3
  549. package/serialization/resources/conversation/types/ConversationMessageBase.js +2 -3
  550. package/serialization/resources/conversation/types/ConversationMessageRequest.d.ts +4 -2
  551. package/serialization/resources/conversation/types/ConversationMessageRequest.js +7 -2
  552. package/serialization/resources/conversation/types/ConversationRequest.d.ts +0 -2
  553. package/serialization/resources/conversation/types/ConversationRequest.js +0 -2
  554. package/serialization/resources/conversation/types/ConversationResponse.d.ts +2 -2
  555. package/serialization/resources/conversation/types/ConversationResponse.js +2 -2
  556. package/serialization/resources/conversation/types/FeedbackRequest.d.ts +7 -2
  557. package/serialization/resources/conversation/types/FeedbackRequest.js +10 -2
  558. package/serialization/resources/conversation/types/GenerateMavenSuggestionsRequest.d.ts +2 -1
  559. package/serialization/resources/conversation/types/GenerateMavenSuggestionsRequest.js +2 -1
  560. package/serialization/resources/conversation/types/ResponseConfig.d.ts +3 -3
  561. package/serialization/resources/conversation/types/ResponseConfig.js +3 -3
  562. package/serialization/resources/conversation/types/Sentiment.d.ts +10 -0
  563. package/serialization/resources/conversation/types/Sentiment.js +5 -0
  564. package/serialization/resources/conversation/types/StreamResponse.d.ts +9 -1
  565. package/serialization/resources/conversation/types/StreamResponse.js +4 -0
  566. package/serialization/resources/conversation/types/SubmitActionFormRequest.d.ts +0 -2
  567. package/serialization/resources/conversation/types/SubmitActionFormRequest.js +0 -2
  568. package/serialization/resources/conversation/types/UserMessage.d.ts +7 -5
  569. package/serialization/resources/conversation/types/UserMessage.js +7 -5
  570. package/serialization/resources/conversation/types/UserMessageAttachment.d.ts +12 -0
  571. package/serialization/resources/conversation/types/UserMessageAttachment.js +7 -0
  572. package/serialization/resources/conversation/types/UserMessageBase.d.ts +17 -0
  573. package/serialization/resources/conversation/types/UserMessageBase.js +14 -0
  574. package/serialization/resources/conversation/types/index.d.ts +11 -2
  575. package/serialization/resources/conversation/types/index.js +11 -2
  576. package/serialization/resources/index.d.ts +3 -0
  577. package/serialization/resources/index.js +3 -0
  578. package/serialization/resources/translations/index.d.ts +1 -0
  579. package/serialization/resources/translations/index.js +1 -0
  580. package/serialization/resources/translations/types/TranslationRequest.d.ts +13 -0
  581. package/serialization/resources/translations/types/TranslationRequest.js +8 -0
  582. package/serialization/resources/translations/types/TranslationResponse.d.ts +12 -0
  583. package/serialization/resources/translations/types/TranslationResponse.js +7 -0
  584. package/serialization/resources/translations/types/index.d.ts +2 -0
  585. package/serialization/resources/translations/types/index.js +2 -0
  586. package/serialization/resources/triggers/types/EventTriggerRequest.d.ts +1 -1
  587. package/serialization/resources/triggers/types/EventTriggerRequest.js +1 -1
  588. package/serialization/resources/triggers/types/index.d.ts +0 -3
  589. package/serialization/resources/triggers/types/index.js +0 -3
  590. package/version.d.ts +1 -0
  591. package/version.js +1 -0
  592. package/api/resources/actions/types/Preconditions.d.ts +0 -7
  593. package/api/resources/commons/types/AppUserIdentification.d.ts +0 -8
  594. package/api/resources/commons/types/User.d.ts +0 -10
  595. package/api/resources/conversation/types/ConversationContext.d.ts +0 -20
  596. package/api/resources/conversation/types/ConversationMessageContext.d.ts +0 -12
  597. package/dist/api/resources/actions/types/Preconditions.d.ts +0 -7
  598. package/dist/api/resources/commons/types/AppUserIdentification.d.ts +0 -8
  599. package/dist/api/resources/commons/types/User.d.ts +0 -10
  600. package/dist/api/resources/conversation/types/ConversationContext.d.ts +0 -20
  601. package/dist/api/resources/conversation/types/ConversationMessageContext.d.ts +0 -12
  602. package/dist/serialization/resources/actions/types/Preconditions.js +0 -7
  603. package/dist/serialization/resources/commons/types/AppUserIdentification.d.ts +0 -13
  604. package/dist/serialization/resources/commons/types/AppUserIdentification.js +0 -8
  605. package/dist/serialization/resources/commons/types/User.d.ts +0 -15
  606. package/dist/serialization/resources/commons/types/User.js +0 -10
  607. package/dist/serialization/resources/conversation/types/ConversationContext.d.ts +0 -20
  608. package/dist/serialization/resources/conversation/types/ConversationContext.js +0 -15
  609. package/dist/serialization/resources/conversation/types/ConversationMessageContext.d.ts +0 -16
  610. package/dist/serialization/resources/conversation/types/ConversationMessageContext.js +0 -11
  611. package/serialization/resources/actions/types/Preconditions.js +0 -7
  612. package/serialization/resources/commons/types/AppUserIdentification.d.ts +0 -13
  613. package/serialization/resources/commons/types/AppUserIdentification.js +0 -8
  614. package/serialization/resources/commons/types/User.d.ts +0 -15
  615. package/serialization/resources/commons/types/User.js +0 -10
  616. package/serialization/resources/conversation/types/ConversationContext.d.ts +0 -20
  617. package/serialization/resources/conversation/types/ConversationContext.js +0 -15
  618. package/serialization/resources/conversation/types/ConversationMessageContext.d.ts +0 -16
  619. package/serialization/resources/conversation/types/ConversationMessageContext.js +0 -11
  620. /package/api/resources/actions/types/{Preconditions.js → ConversationExecutedActionPrecondition.js} +0 -0
  621. /package/api/resources/{commons/types/AppUserIdentification.js → actions/types/ConversationPrecondition.js} +0 -0
  622. /package/api/resources/{commons/types/User.js → actions/types/MetadataPrecondition.js} +0 -0
  623. /package/api/resources/{conversation/types/ConversationContext.js → actions/types/Precondition.js} +0 -0
  624. /package/api/resources/{conversation/types/ConversationMessageContext.js → actions/types/PreconditionBase.js} +0 -0
  625. /package/api/resources/{triggers/types/EventTriggerBase.js → actions/types/PreconditionGroup.js} +0 -0
  626. /package/api/resources/{triggers/types/EventTriggerResponse.js → actions/types/TagsPrecondition.js} +0 -0
  627. /package/api/resources/{triggers → commons}/types/EventTriggerBase.d.ts +0 -0
  628. /package/{dist/api/resources/triggers → api/resources/commons}/types/EventTriggerBase.js +0 -0
  629. /package/api/resources/{triggers → commons}/types/EventTriggerResponse.d.ts +0 -0
  630. /package/{dist/api/resources/triggers → api/resources/commons}/types/EventTriggerResponse.js +0 -0
  631. /package/api/resources/{triggers → commons}/types/EventTriggerType.d.ts +0 -0
  632. /package/api/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
  633. /package/{dist/api/resources/actions/types/Preconditions.js → api/resources/commons/types/FeedbackBase.js} +0 -0
  634. /package/{dist/api/resources/commons/types/AppUserIdentification.js → api/resources/commons/types/UserData.js} +0 -0
  635. /package/{dist/api/resources/commons/types/User.js → api/resources/conversation/client/requests/ConversationGetRequest.js} +0 -0
  636. /package/{dist/api/resources/conversation/types/ConversationContext.js → api/resources/conversation/types/AskStreamActionEvent.js} +0 -0
  637. /package/{dist/api/resources/conversation/types/ConversationMessageContext.js → api/resources/conversation/types/AskStreamChartEvent.js} +0 -0
  638. /package/dist/api/resources/{triggers → commons}/types/EventTriggerBase.d.ts +0 -0
  639. /package/dist/api/resources/{triggers → commons}/types/EventTriggerResponse.d.ts +0 -0
  640. /package/dist/api/resources/{triggers → commons}/types/EventTriggerType.d.ts +0 -0
  641. /package/dist/api/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
  642. /package/dist/serialization/resources/{triggers → commons}/types/EventTriggerBase.d.ts +0 -0
  643. /package/dist/serialization/resources/{triggers → commons}/types/EventTriggerBase.js +0 -0
  644. /package/dist/serialization/resources/{triggers → commons}/types/EventTriggerType.d.ts +0 -0
  645. /package/dist/serialization/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
  646. /package/serialization/resources/{triggers → commons}/types/EventTriggerBase.d.ts +0 -0
  647. /package/serialization/resources/{triggers → commons}/types/EventTriggerBase.js +0 -0
  648. /package/serialization/resources/{triggers → commons}/types/EventTriggerType.d.ts +0 -0
  649. /package/serialization/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as MavenAGI from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- import { User } from "../../commons/types/User";
8
- export declare const ConversationContext: core.serialization.ObjectSchema<serializers.ConversationContext.Raw, MavenAGI.ConversationContext>;
9
- export declare namespace ConversationContext {
10
- interface Raw {
11
- created_by?: User.Raw | null;
12
- updated_by?: User.Raw | null;
13
- subject?: string | null;
14
- url?: string | null;
15
- created_at?: string | null;
16
- updated_at?: string | null;
17
- tags?: string[] | null;
18
- metadata?: Record<string, string> | null;
19
- }
20
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as core from "../../../../core";
5
- import { User } from "../../commons/types/User";
6
- export const ConversationContext = core.serialization.object({
7
- createdBy: core.serialization.property("created_by", User.optional()),
8
- updatedBy: core.serialization.property("updated_by", User.optional()),
9
- subject: core.serialization.string().optional(),
10
- url: core.serialization.string().optional(),
11
- createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
12
- updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
13
- tags: core.serialization.set(core.serialization.string()).optional(),
14
- metadata: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
15
- });
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as MavenAGI from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- import { User } from "../../commons/types/User";
8
- export declare const ConversationMessageContext: core.serialization.ObjectSchema<serializers.ConversationMessageContext.Raw, MavenAGI.ConversationMessageContext>;
9
- export declare namespace ConversationMessageContext {
10
- interface Raw {
11
- created_by?: User.Raw | null;
12
- updated_by?: User.Raw | null;
13
- created_at?: string | null;
14
- updated_at?: string | null;
15
- }
16
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as core from "../../../../core";
5
- import { User } from "../../commons/types/User";
6
- export const ConversationMessageContext = core.serialization.object({
7
- createdBy: core.serialization.property("created_by", User.optional()),
8
- updatedBy: core.serialization.property("updated_by", User.optional()),
9
- createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
10
- updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
11
- });
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as core from "../../../../core";
5
- export const Preconditions = core.serialization.object({
6
- requiredUserContextFieldNames: core.serialization.set(core.serialization.string()),
7
- });
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as MavenAGI from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- import { AppUserIdentifier } from "./AppUserIdentifier";
8
- export declare const AppUserIdentification: core.serialization.ObjectSchema<serializers.AppUserIdentification.Raw, MavenAGI.AppUserIdentification>;
9
- export declare namespace AppUserIdentification {
10
- interface Raw {
11
- identifiers: AppUserIdentifier.Raw[];
12
- }
13
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as core from "../../../../core";
5
- import { AppUserIdentifier } from "./AppUserIdentifier";
6
- export const AppUserIdentification = core.serialization.object({
7
- identifiers: core.serialization.list(AppUserIdentifier),
8
- });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as MavenAGI from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const User: core.serialization.ObjectSchema<serializers.User.Raw, MavenAGI.User>;
8
- export declare namespace User {
9
- interface Raw {
10
- name?: string | null;
11
- id?: Record<string, string> | null;
12
- email?: string | null;
13
- context?: Record<string, string> | null;
14
- }
15
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as core from "../../../../core";
5
- export const User = core.serialization.object({
6
- name: core.serialization.string().optional(),
7
- id: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
8
- email: core.serialization.string().optional(),
9
- context: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
10
- });
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as MavenAGI from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- import { User } from "../../commons/types/User";
8
- export declare const ConversationContext: core.serialization.ObjectSchema<serializers.ConversationContext.Raw, MavenAGI.ConversationContext>;
9
- export declare namespace ConversationContext {
10
- interface Raw {
11
- created_by?: User.Raw | null;
12
- updated_by?: User.Raw | null;
13
- subject?: string | null;
14
- url?: string | null;
15
- created_at?: string | null;
16
- updated_at?: string | null;
17
- tags?: string[] | null;
18
- metadata?: Record<string, string> | null;
19
- }
20
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as core from "../../../../core";
5
- import { User } from "../../commons/types/User";
6
- export const ConversationContext = core.serialization.object({
7
- createdBy: core.serialization.property("created_by", User.optional()),
8
- updatedBy: core.serialization.property("updated_by", User.optional()),
9
- subject: core.serialization.string().optional(),
10
- url: core.serialization.string().optional(),
11
- createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
12
- updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
13
- tags: core.serialization.set(core.serialization.string()).optional(),
14
- metadata: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
15
- });
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as MavenAGI from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- import { User } from "../../commons/types/User";
8
- export declare const ConversationMessageContext: core.serialization.ObjectSchema<serializers.ConversationMessageContext.Raw, MavenAGI.ConversationMessageContext>;
9
- export declare namespace ConversationMessageContext {
10
- interface Raw {
11
- created_by?: User.Raw | null;
12
- updated_by?: User.Raw | null;
13
- created_at?: string | null;
14
- updated_at?: string | null;
15
- }
16
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as core from "../../../../core";
5
- import { User } from "../../commons/types/User";
6
- export const ConversationMessageContext = core.serialization.object({
7
- createdBy: core.serialization.property("created_by", User.optional()),
8
- updatedBy: core.serialization.property("updated_by", User.optional()),
9
- createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
10
- updatedAt: core.serialization.property("updated_at", core.serialization.date().optional()),
11
- });