@gleanwork/api-client 0.8.1 → 0.10.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 (573) hide show
  1. package/dist/commonjs/__tests__/announcements.test.js +2 -2
  2. package/dist/commonjs/__tests__/announcements.test.js.map +1 -1
  3. package/dist/commonjs/__tests__/answers.test.js +2 -2
  4. package/dist/commonjs/__tests__/answers.test.js.map +1 -1
  5. package/dist/commonjs/__tests__/clientchat.test.js +24 -24
  6. package/dist/commonjs/__tests__/clientchat.test.js.map +1 -1
  7. package/dist/commonjs/__tests__/clientshortcuts.test.js +2 -2
  8. package/dist/commonjs/__tests__/clientshortcuts.test.js.map +1 -1
  9. package/dist/commonjs/__tests__/collections.test.js +2 -2
  10. package/dist/commonjs/__tests__/collections.test.js.map +1 -1
  11. package/dist/commonjs/__tests__/search.test.js +1 -1
  12. package/dist/commonjs/__tests__/search.test.js.map +1 -1
  13. package/dist/commonjs/__tests__/summarize.test.js +8 -2
  14. package/dist/commonjs/__tests__/summarize.test.js.map +1 -1
  15. package/dist/commonjs/funcs/clientCollectionsCreate.d.ts +2 -1
  16. package/dist/commonjs/funcs/clientCollectionsCreate.d.ts.map +1 -1
  17. package/dist/commonjs/funcs/clientCollectionsCreate.js +2 -1
  18. package/dist/commonjs/funcs/clientCollectionsCreate.js.map +1 -1
  19. package/dist/commonjs/funcs/indexingAuthenticationRotateToken.d.ts +1 -1
  20. package/dist/commonjs/funcs/indexingAuthenticationRotateToken.js +1 -1
  21. package/dist/commonjs/funcs/indexingDatasourceStatus.d.ts +1 -1
  22. package/dist/commonjs/funcs/indexingDatasourceStatus.js +1 -1
  23. package/dist/commonjs/funcs/indexingDocumentsBulkIndex.d.ts +1 -1
  24. package/dist/commonjs/funcs/indexingDocumentsBulkIndex.js +1 -1
  25. package/dist/commonjs/funcs/indexingDocumentsCheckAccess.d.ts +1 -1
  26. package/dist/commonjs/funcs/indexingDocumentsCheckAccess.js +1 -1
  27. package/dist/commonjs/funcs/indexingDocumentsCount.d.ts +1 -1
  28. package/dist/commonjs/funcs/indexingDocumentsCount.js +1 -1
  29. package/dist/commonjs/funcs/indexingDocumentsDebug.d.ts +1 -1
  30. package/dist/commonjs/funcs/indexingDocumentsDebug.js +1 -1
  31. package/dist/commonjs/funcs/indexingDocumentsDebugMany.d.ts +1 -1
  32. package/dist/commonjs/funcs/indexingDocumentsDebugMany.js +1 -1
  33. package/dist/commonjs/funcs/indexingDocumentsIndex.d.ts +1 -1
  34. package/dist/commonjs/funcs/indexingDocumentsIndex.js +1 -1
  35. package/dist/commonjs/funcs/indexingDocumentsStatus.d.ts +1 -1
  36. package/dist/commonjs/funcs/indexingDocumentsStatus.js +1 -1
  37. package/dist/commonjs/funcs/indexingPeopleBulkIndex.d.ts +1 -1
  38. package/dist/commonjs/funcs/indexingPeopleBulkIndex.js +1 -1
  39. package/dist/commonjs/funcs/indexingPeopleBulkIndexTeams.d.ts +1 -1
  40. package/dist/commonjs/funcs/indexingPeopleBulkIndexTeams.js +1 -1
  41. package/dist/commonjs/funcs/indexingPeopleCount.d.ts +1 -1
  42. package/dist/commonjs/funcs/indexingPeopleCount.js +1 -1
  43. package/dist/commonjs/funcs/indexingPeopleDebug.d.ts +1 -1
  44. package/dist/commonjs/funcs/indexingPeopleDebug.js +1 -1
  45. package/dist/commonjs/funcs/indexingPermissionsBulkIndexGroups.d.ts +1 -1
  46. package/dist/commonjs/funcs/indexingPermissionsBulkIndexGroups.js +1 -1
  47. package/dist/commonjs/funcs/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
  48. package/dist/commonjs/funcs/indexingPermissionsBulkIndexMemberships.js +1 -1
  49. package/dist/commonjs/funcs/indexingPermissionsBulkIndexUsers.d.ts +1 -1
  50. package/dist/commonjs/funcs/indexingPermissionsBulkIndexUsers.js +1 -1
  51. package/dist/commonjs/lib/config.d.ts +2 -2
  52. package/dist/commonjs/lib/config.js +2 -2
  53. package/dist/commonjs/lib/config.js.map +1 -1
  54. package/dist/commonjs/models/components/agentconfig.d.ts +12 -0
  55. package/dist/commonjs/models/components/agentconfig.d.ts.map +1 -1
  56. package/dist/commonjs/models/components/agentconfig.js +5 -0
  57. package/dist/commonjs/models/components/agentconfig.js.map +1 -1
  58. package/dist/commonjs/models/components/authconfig.d.ts +3 -0
  59. package/dist/commonjs/models/components/authconfig.d.ts.map +1 -1
  60. package/dist/commonjs/models/components/authconfig.js +1 -0
  61. package/dist/commonjs/models/components/authconfig.js.map +1 -1
  62. package/dist/commonjs/models/components/chat.d.ts +9 -0
  63. package/dist/commonjs/models/components/chat.d.ts.map +1 -1
  64. package/dist/commonjs/models/components/chat.js +6 -0
  65. package/dist/commonjs/models/components/chat.js.map +1 -1
  66. package/dist/commonjs/models/components/chatmessage.d.ts +3 -0
  67. package/dist/commonjs/models/components/chatmessage.d.ts.map +1 -1
  68. package/dist/commonjs/models/components/chatmessage.js +1 -0
  69. package/dist/commonjs/models/components/chatmessage.js.map +1 -1
  70. package/dist/commonjs/models/components/chatmessagefragment.d.ts +7 -1
  71. package/dist/commonjs/models/components/chatmessagefragment.d.ts.map +1 -1
  72. package/dist/commonjs/models/components/chatmessagefragment.js +3 -0
  73. package/dist/commonjs/models/components/chatmessagefragment.js.map +1 -1
  74. package/dist/commonjs/models/components/chatrequest.d.ts +1 -1
  75. package/dist/commonjs/models/components/chatsuggestion.d.ts +37 -0
  76. package/dist/commonjs/models/components/chatsuggestion.d.ts.map +1 -0
  77. package/dist/commonjs/models/components/chatsuggestion.js +71 -0
  78. package/dist/commonjs/models/components/chatsuggestion.js.map +1 -0
  79. package/dist/commonjs/models/components/clustertypeenum.d.ts +6 -0
  80. package/dist/commonjs/models/components/clustertypeenum.d.ts.map +1 -1
  81. package/dist/commonjs/models/components/clustertypeenum.js +2 -0
  82. package/dist/commonjs/models/components/clustertypeenum.js.map +1 -1
  83. package/dist/commonjs/models/components/customdatasourceconfig.d.ts +3 -0
  84. package/dist/commonjs/models/components/customdatasourceconfig.d.ts.map +1 -1
  85. package/dist/commonjs/models/components/customdatasourceconfig.js +1 -0
  86. package/dist/commonjs/models/components/customdatasourceconfig.js.map +1 -1
  87. package/dist/commonjs/models/components/digest.d.ts +48 -0
  88. package/dist/commonjs/models/components/digest.d.ts.map +1 -0
  89. package/dist/commonjs/models/components/digest.js +77 -0
  90. package/dist/commonjs/models/components/digest.js.map +1 -0
  91. package/dist/commonjs/models/components/digestsection.d.ts +64 -0
  92. package/dist/commonjs/models/components/digestsection.d.ts.map +1 -0
  93. package/dist/commonjs/models/components/digestsection.js +83 -0
  94. package/dist/commonjs/models/components/digestsection.js.map +1 -0
  95. package/dist/commonjs/models/components/digestupdate.d.ts +53 -0
  96. package/dist/commonjs/models/components/digestupdate.d.ts.map +1 -0
  97. package/dist/commonjs/models/components/digestupdate.js +78 -0
  98. package/dist/commonjs/models/components/digestupdate.js.map +1 -0
  99. package/dist/commonjs/models/components/documentdefinition.d.ts +1 -1
  100. package/dist/commonjs/models/components/documentspecunion.d.ts +99 -18
  101. package/dist/commonjs/models/components/documentspecunion.d.ts.map +1 -1
  102. package/dist/commonjs/models/components/documentspecunion.js +78 -19
  103. package/dist/commonjs/models/components/documentspecunion.js.map +1 -1
  104. package/dist/commonjs/models/components/feedback.d.ts +6 -0
  105. package/dist/commonjs/models/components/feedback.d.ts.map +1 -1
  106. package/dist/commonjs/models/components/feedback.js +6 -0
  107. package/dist/commonjs/models/components/feedback.js.map +1 -1
  108. package/dist/commonjs/models/components/feedentry.d.ts +12 -0
  109. package/dist/commonjs/models/components/feedentry.d.ts.map +1 -1
  110. package/dist/commonjs/models/components/feedentry.js +8 -0
  111. package/dist/commonjs/models/components/feedentry.js.map +1 -1
  112. package/dist/commonjs/models/components/feedrequest.d.ts +6 -0
  113. package/dist/commonjs/models/components/feedrequest.d.ts.map +1 -1
  114. package/dist/commonjs/models/components/feedrequest.js +2 -0
  115. package/dist/commonjs/models/components/feedrequest.js.map +1 -1
  116. package/dist/commonjs/models/components/feedresult.d.ts +6 -0
  117. package/dist/commonjs/models/components/feedresult.d.ts.map +1 -1
  118. package/dist/commonjs/models/components/feedresult.js +2 -0
  119. package/dist/commonjs/models/components/feedresult.js.map +1 -1
  120. package/dist/commonjs/models/components/generatedqna.js +2 -2
  121. package/dist/commonjs/models/components/generatedqna.js.map +1 -1
  122. package/dist/commonjs/models/components/getchatfilesrequest.d.ts +5 -0
  123. package/dist/commonjs/models/components/getchatfilesrequest.d.ts.map +1 -1
  124. package/dist/commonjs/models/components/getchatfilesrequest.js +2 -0
  125. package/dist/commonjs/models/components/getchatfilesrequest.js.map +1 -1
  126. package/dist/commonjs/models/components/group.d.ts +10 -0
  127. package/dist/commonjs/models/components/group.d.ts.map +1 -1
  128. package/dist/commonjs/models/components/group.js +4 -0
  129. package/dist/commonjs/models/components/group.js.map +1 -1
  130. package/dist/commonjs/models/components/index.d.ts +9 -1
  131. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  132. package/dist/commonjs/models/components/index.js +9 -1
  133. package/dist/commonjs/models/components/index.js.map +1 -1
  134. package/dist/commonjs/models/components/manualfeedbackinfo.d.ts +10 -8
  135. package/dist/commonjs/models/components/manualfeedbackinfo.d.ts.map +1 -1
  136. package/dist/commonjs/models/components/manualfeedbackinfo.js +13 -13
  137. package/dist/commonjs/models/components/manualfeedbackinfo.js.map +1 -1
  138. package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.d.ts +137 -0
  139. package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.d.ts.map +1 -0
  140. package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.js +130 -0
  141. package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.js.map +1 -0
  142. package/dist/commonjs/models/components/objectdefinition.d.ts +3 -0
  143. package/dist/commonjs/models/components/objectdefinition.d.ts.map +1 -1
  144. package/dist/commonjs/models/components/objectdefinition.js +1 -0
  145. package/dist/commonjs/models/components/objectdefinition.js.map +1 -1
  146. package/dist/commonjs/models/components/searchrequest.d.ts +0 -6
  147. package/dist/commonjs/models/components/searchrequest.d.ts.map +1 -1
  148. package/dist/commonjs/models/components/searchrequest.js +0 -3
  149. package/dist/commonjs/models/components/searchrequest.js.map +1 -1
  150. package/dist/commonjs/models/components/searchrequestoptions.d.ts +1 -1
  151. package/dist/commonjs/models/components/searchresponsemetadata.d.ts +5 -0
  152. package/dist/commonjs/models/components/searchresponsemetadata.d.ts.map +1 -1
  153. package/dist/commonjs/models/components/searchresponsemetadata.js +2 -0
  154. package/dist/commonjs/models/components/searchresponsemetadata.js.map +1 -1
  155. package/dist/commonjs/models/components/searchresultsnippet.d.ts +7 -5
  156. package/dist/commonjs/models/components/searchresultsnippet.d.ts.map +1 -1
  157. package/dist/commonjs/models/components/searchresultsnippet.js +2 -2
  158. package/dist/commonjs/models/components/searchresultsnippet.js.map +1 -1
  159. package/dist/commonjs/models/components/sectiontype.d.ts +37 -0
  160. package/dist/commonjs/models/components/sectiontype.d.ts.map +1 -0
  161. package/dist/commonjs/models/components/sectiontype.js +65 -0
  162. package/dist/commonjs/models/components/sectiontype.js.map +1 -0
  163. package/dist/commonjs/models/components/sidebysideimplementation.d.ts +97 -0
  164. package/dist/commonjs/models/components/sidebysideimplementation.d.ts.map +1 -0
  165. package/dist/commonjs/models/components/sidebysideimplementation.js +108 -0
  166. package/dist/commonjs/models/components/sidebysideimplementation.js.map +1 -0
  167. package/dist/commonjs/models/components/structuredresult.d.ts +3 -0
  168. package/dist/commonjs/models/components/structuredresult.d.ts.map +1 -1
  169. package/dist/commonjs/models/components/structuredresult.js +3 -0
  170. package/dist/commonjs/models/components/structuredresult.js.map +1 -1
  171. package/dist/commonjs/models/components/toolsets.d.ts +40 -0
  172. package/dist/commonjs/models/components/toolsets.d.ts.map +1 -0
  173. package/dist/commonjs/models/components/toolsets.js +71 -0
  174. package/dist/commonjs/models/components/toolsets.js.map +1 -0
  175. package/dist/commonjs/models/components/updatetype.d.ts +34 -0
  176. package/dist/commonjs/models/components/updatetype.d.ts.map +1 -0
  177. package/dist/commonjs/models/components/updatetype.js +64 -0
  178. package/dist/commonjs/models/components/updatetype.js.map +1 -0
  179. package/dist/commonjs/models/operations/createcollection.d.ts +83 -0
  180. package/dist/commonjs/models/operations/createcollection.d.ts.map +1 -0
  181. package/dist/commonjs/models/operations/createcollection.js +130 -0
  182. package/dist/commonjs/models/operations/createcollection.js.map +1 -0
  183. package/dist/commonjs/models/operations/index.d.ts +1 -0
  184. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  185. package/dist/commonjs/models/operations/index.js +1 -0
  186. package/dist/commonjs/models/operations/index.js.map +1 -1
  187. package/dist/commonjs/react-query/clientCollectionsCreate.d.ts +2 -1
  188. package/dist/commonjs/react-query/clientCollectionsCreate.d.ts.map +1 -1
  189. package/dist/commonjs/react-query/clientCollectionsCreate.js.map +1 -1
  190. package/dist/commonjs/react-query/indexingAuthenticationRotateToken.d.ts +1 -1
  191. package/dist/commonjs/react-query/indexingAuthenticationRotateToken.js +1 -1
  192. package/dist/commonjs/react-query/indexingDatasourceStatus.d.ts +1 -1
  193. package/dist/commonjs/react-query/indexingDatasourceStatus.js +1 -1
  194. package/dist/commonjs/react-query/indexingDocumentsBulkIndex.d.ts +1 -1
  195. package/dist/commonjs/react-query/indexingDocumentsBulkIndex.js +1 -1
  196. package/dist/commonjs/react-query/indexingDocumentsCheckAccess.d.ts +1 -1
  197. package/dist/commonjs/react-query/indexingDocumentsCheckAccess.js +1 -1
  198. package/dist/commonjs/react-query/indexingDocumentsCount.d.ts +1 -1
  199. package/dist/commonjs/react-query/indexingDocumentsCount.js +1 -1
  200. package/dist/commonjs/react-query/indexingDocumentsDebug.d.ts +1 -1
  201. package/dist/commonjs/react-query/indexingDocumentsDebug.js +1 -1
  202. package/dist/commonjs/react-query/indexingDocumentsDebugMany.d.ts +1 -1
  203. package/dist/commonjs/react-query/indexingDocumentsDebugMany.js +1 -1
  204. package/dist/commonjs/react-query/indexingDocumentsIndex.d.ts +1 -1
  205. package/dist/commonjs/react-query/indexingDocumentsIndex.js +1 -1
  206. package/dist/commonjs/react-query/indexingDocumentsStatus.d.ts +1 -1
  207. package/dist/commonjs/react-query/indexingDocumentsStatus.js +1 -1
  208. package/dist/commonjs/react-query/indexingPeopleBulkIndex.d.ts +1 -1
  209. package/dist/commonjs/react-query/indexingPeopleBulkIndex.js +1 -1
  210. package/dist/commonjs/react-query/indexingPeopleBulkIndexTeams.d.ts +1 -1
  211. package/dist/commonjs/react-query/indexingPeopleBulkIndexTeams.js +1 -1
  212. package/dist/commonjs/react-query/indexingPeopleCount.d.ts +1 -1
  213. package/dist/commonjs/react-query/indexingPeopleCount.js +1 -1
  214. package/dist/commonjs/react-query/indexingPeopleDebug.d.ts +1 -1
  215. package/dist/commonjs/react-query/indexingPeopleDebug.js +1 -1
  216. package/dist/commonjs/react-query/indexingPermissionsBulkIndexGroups.d.ts +1 -1
  217. package/dist/commonjs/react-query/indexingPermissionsBulkIndexGroups.js +1 -1
  218. package/dist/commonjs/react-query/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
  219. package/dist/commonjs/react-query/indexingPermissionsBulkIndexMemberships.js +1 -1
  220. package/dist/commonjs/react-query/indexingPermissionsBulkIndexUsers.d.ts +1 -1
  221. package/dist/commonjs/react-query/indexingPermissionsBulkIndexUsers.js +1 -1
  222. package/dist/commonjs/sdk/collections.d.ts +2 -1
  223. package/dist/commonjs/sdk/collections.d.ts.map +1 -1
  224. package/dist/commonjs/sdk/collections.js.map +1 -1
  225. package/dist/commonjs/sdk/datasource.d.ts +1 -1
  226. package/dist/commonjs/sdk/datasource.js +1 -1
  227. package/dist/commonjs/sdk/indexingauthentication.d.ts +1 -1
  228. package/dist/commonjs/sdk/indexingauthentication.js +1 -1
  229. package/dist/commonjs/sdk/indexingdocuments.d.ts +7 -7
  230. package/dist/commonjs/sdk/indexingdocuments.js +7 -7
  231. package/dist/commonjs/sdk/people.d.ts +4 -4
  232. package/dist/commonjs/sdk/people.js +4 -4
  233. package/dist/commonjs/sdk/permissions.d.ts +3 -3
  234. package/dist/commonjs/sdk/permissions.js +3 -3
  235. package/dist/esm/__tests__/announcements.test.js +2 -2
  236. package/dist/esm/__tests__/announcements.test.js.map +1 -1
  237. package/dist/esm/__tests__/answers.test.js +2 -2
  238. package/dist/esm/__tests__/answers.test.js.map +1 -1
  239. package/dist/esm/__tests__/clientchat.test.js +24 -24
  240. package/dist/esm/__tests__/clientchat.test.js.map +1 -1
  241. package/dist/esm/__tests__/clientshortcuts.test.js +2 -2
  242. package/dist/esm/__tests__/clientshortcuts.test.js.map +1 -1
  243. package/dist/esm/__tests__/collections.test.js +2 -2
  244. package/dist/esm/__tests__/collections.test.js.map +1 -1
  245. package/dist/esm/__tests__/search.test.js +1 -1
  246. package/dist/esm/__tests__/search.test.js.map +1 -1
  247. package/dist/esm/__tests__/summarize.test.js +8 -2
  248. package/dist/esm/__tests__/summarize.test.js.map +1 -1
  249. package/dist/esm/funcs/clientCollectionsCreate.d.ts +2 -1
  250. package/dist/esm/funcs/clientCollectionsCreate.d.ts.map +1 -1
  251. package/dist/esm/funcs/clientCollectionsCreate.js +2 -1
  252. package/dist/esm/funcs/clientCollectionsCreate.js.map +1 -1
  253. package/dist/esm/funcs/indexingAuthenticationRotateToken.d.ts +1 -1
  254. package/dist/esm/funcs/indexingAuthenticationRotateToken.js +1 -1
  255. package/dist/esm/funcs/indexingDatasourceStatus.d.ts +1 -1
  256. package/dist/esm/funcs/indexingDatasourceStatus.js +1 -1
  257. package/dist/esm/funcs/indexingDocumentsBulkIndex.d.ts +1 -1
  258. package/dist/esm/funcs/indexingDocumentsBulkIndex.js +1 -1
  259. package/dist/esm/funcs/indexingDocumentsCheckAccess.d.ts +1 -1
  260. package/dist/esm/funcs/indexingDocumentsCheckAccess.js +1 -1
  261. package/dist/esm/funcs/indexingDocumentsCount.d.ts +1 -1
  262. package/dist/esm/funcs/indexingDocumentsCount.js +1 -1
  263. package/dist/esm/funcs/indexingDocumentsDebug.d.ts +1 -1
  264. package/dist/esm/funcs/indexingDocumentsDebug.js +1 -1
  265. package/dist/esm/funcs/indexingDocumentsDebugMany.d.ts +1 -1
  266. package/dist/esm/funcs/indexingDocumentsDebugMany.js +1 -1
  267. package/dist/esm/funcs/indexingDocumentsIndex.d.ts +1 -1
  268. package/dist/esm/funcs/indexingDocumentsIndex.js +1 -1
  269. package/dist/esm/funcs/indexingDocumentsStatus.d.ts +1 -1
  270. package/dist/esm/funcs/indexingDocumentsStatus.js +1 -1
  271. package/dist/esm/funcs/indexingPeopleBulkIndex.d.ts +1 -1
  272. package/dist/esm/funcs/indexingPeopleBulkIndex.js +1 -1
  273. package/dist/esm/funcs/indexingPeopleBulkIndexTeams.d.ts +1 -1
  274. package/dist/esm/funcs/indexingPeopleBulkIndexTeams.js +1 -1
  275. package/dist/esm/funcs/indexingPeopleCount.d.ts +1 -1
  276. package/dist/esm/funcs/indexingPeopleCount.js +1 -1
  277. package/dist/esm/funcs/indexingPeopleDebug.d.ts +1 -1
  278. package/dist/esm/funcs/indexingPeopleDebug.js +1 -1
  279. package/dist/esm/funcs/indexingPermissionsBulkIndexGroups.d.ts +1 -1
  280. package/dist/esm/funcs/indexingPermissionsBulkIndexGroups.js +1 -1
  281. package/dist/esm/funcs/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
  282. package/dist/esm/funcs/indexingPermissionsBulkIndexMemberships.js +1 -1
  283. package/dist/esm/funcs/indexingPermissionsBulkIndexUsers.d.ts +1 -1
  284. package/dist/esm/funcs/indexingPermissionsBulkIndexUsers.js +1 -1
  285. package/dist/esm/lib/config.d.ts +2 -2
  286. package/dist/esm/lib/config.js +2 -2
  287. package/dist/esm/lib/config.js.map +1 -1
  288. package/dist/esm/models/components/agentconfig.d.ts +12 -0
  289. package/dist/esm/models/components/agentconfig.d.ts.map +1 -1
  290. package/dist/esm/models/components/agentconfig.js +5 -0
  291. package/dist/esm/models/components/agentconfig.js.map +1 -1
  292. package/dist/esm/models/components/authconfig.d.ts +3 -0
  293. package/dist/esm/models/components/authconfig.d.ts.map +1 -1
  294. package/dist/esm/models/components/authconfig.js +1 -0
  295. package/dist/esm/models/components/authconfig.js.map +1 -1
  296. package/dist/esm/models/components/chat.d.ts +9 -0
  297. package/dist/esm/models/components/chat.d.ts.map +1 -1
  298. package/dist/esm/models/components/chat.js +6 -0
  299. package/dist/esm/models/components/chat.js.map +1 -1
  300. package/dist/esm/models/components/chatmessage.d.ts +3 -0
  301. package/dist/esm/models/components/chatmessage.d.ts.map +1 -1
  302. package/dist/esm/models/components/chatmessage.js +1 -0
  303. package/dist/esm/models/components/chatmessage.js.map +1 -1
  304. package/dist/esm/models/components/chatmessagefragment.d.ts +7 -1
  305. package/dist/esm/models/components/chatmessagefragment.d.ts.map +1 -1
  306. package/dist/esm/models/components/chatmessagefragment.js +3 -0
  307. package/dist/esm/models/components/chatmessagefragment.js.map +1 -1
  308. package/dist/esm/models/components/chatrequest.d.ts +1 -1
  309. package/dist/esm/models/components/chatsuggestion.d.ts +37 -0
  310. package/dist/esm/models/components/chatsuggestion.d.ts.map +1 -0
  311. package/dist/esm/models/components/chatsuggestion.js +33 -0
  312. package/dist/esm/models/components/chatsuggestion.js.map +1 -0
  313. package/dist/esm/models/components/clustertypeenum.d.ts +6 -0
  314. package/dist/esm/models/components/clustertypeenum.d.ts.map +1 -1
  315. package/dist/esm/models/components/clustertypeenum.js +2 -0
  316. package/dist/esm/models/components/clustertypeenum.js.map +1 -1
  317. package/dist/esm/models/components/customdatasourceconfig.d.ts +3 -0
  318. package/dist/esm/models/components/customdatasourceconfig.d.ts.map +1 -1
  319. package/dist/esm/models/components/customdatasourceconfig.js +1 -0
  320. package/dist/esm/models/components/customdatasourceconfig.js.map +1 -1
  321. package/dist/esm/models/components/digest.d.ts +48 -0
  322. package/dist/esm/models/components/digest.d.ts.map +1 -0
  323. package/dist/esm/models/components/digest.js +39 -0
  324. package/dist/esm/models/components/digest.js.map +1 -0
  325. package/dist/esm/models/components/digestsection.d.ts +64 -0
  326. package/dist/esm/models/components/digestsection.d.ts.map +1 -0
  327. package/dist/esm/models/components/digestsection.js +45 -0
  328. package/dist/esm/models/components/digestsection.js.map +1 -0
  329. package/dist/esm/models/components/digestupdate.d.ts +53 -0
  330. package/dist/esm/models/components/digestupdate.d.ts.map +1 -0
  331. package/dist/esm/models/components/digestupdate.js +40 -0
  332. package/dist/esm/models/components/digestupdate.js.map +1 -0
  333. package/dist/esm/models/components/documentdefinition.d.ts +1 -1
  334. package/dist/esm/models/components/documentspecunion.d.ts +99 -18
  335. package/dist/esm/models/components/documentspecunion.d.ts.map +1 -1
  336. package/dist/esm/models/components/documentspecunion.js +75 -18
  337. package/dist/esm/models/components/documentspecunion.js.map +1 -1
  338. package/dist/esm/models/components/feedback.d.ts +6 -0
  339. package/dist/esm/models/components/feedback.d.ts.map +1 -1
  340. package/dist/esm/models/components/feedback.js +6 -0
  341. package/dist/esm/models/components/feedback.js.map +1 -1
  342. package/dist/esm/models/components/feedentry.d.ts +12 -0
  343. package/dist/esm/models/components/feedentry.d.ts.map +1 -1
  344. package/dist/esm/models/components/feedentry.js +8 -0
  345. package/dist/esm/models/components/feedentry.js.map +1 -1
  346. package/dist/esm/models/components/feedrequest.d.ts +6 -0
  347. package/dist/esm/models/components/feedrequest.d.ts.map +1 -1
  348. package/dist/esm/models/components/feedrequest.js +2 -0
  349. package/dist/esm/models/components/feedrequest.js.map +1 -1
  350. package/dist/esm/models/components/feedresult.d.ts +6 -0
  351. package/dist/esm/models/components/feedresult.d.ts.map +1 -1
  352. package/dist/esm/models/components/feedresult.js +2 -0
  353. package/dist/esm/models/components/feedresult.js.map +1 -1
  354. package/dist/esm/models/components/generatedqna.js +2 -2
  355. package/dist/esm/models/components/generatedqna.js.map +1 -1
  356. package/dist/esm/models/components/getchatfilesrequest.d.ts +5 -0
  357. package/dist/esm/models/components/getchatfilesrequest.d.ts.map +1 -1
  358. package/dist/esm/models/components/getchatfilesrequest.js +2 -0
  359. package/dist/esm/models/components/getchatfilesrequest.js.map +1 -1
  360. package/dist/esm/models/components/group.d.ts +10 -0
  361. package/dist/esm/models/components/group.d.ts.map +1 -1
  362. package/dist/esm/models/components/group.js +4 -0
  363. package/dist/esm/models/components/group.js.map +1 -1
  364. package/dist/esm/models/components/index.d.ts +9 -1
  365. package/dist/esm/models/components/index.d.ts.map +1 -1
  366. package/dist/esm/models/components/index.js +9 -1
  367. package/dist/esm/models/components/index.js.map +1 -1
  368. package/dist/esm/models/components/manualfeedbackinfo.d.ts +10 -8
  369. package/dist/esm/models/components/manualfeedbackinfo.d.ts.map +1 -1
  370. package/dist/esm/models/components/manualfeedbackinfo.js +12 -12
  371. package/dist/esm/models/components/manualfeedbackinfo.js.map +1 -1
  372. package/dist/esm/models/components/manualfeedbacksidebysideinfo.d.ts +137 -0
  373. package/dist/esm/models/components/manualfeedbacksidebysideinfo.d.ts.map +1 -0
  374. package/dist/esm/models/components/manualfeedbacksidebysideinfo.js +92 -0
  375. package/dist/esm/models/components/manualfeedbacksidebysideinfo.js.map +1 -0
  376. package/dist/esm/models/components/objectdefinition.d.ts +3 -0
  377. package/dist/esm/models/components/objectdefinition.d.ts.map +1 -1
  378. package/dist/esm/models/components/objectdefinition.js +1 -0
  379. package/dist/esm/models/components/objectdefinition.js.map +1 -1
  380. package/dist/esm/models/components/searchrequest.d.ts +0 -6
  381. package/dist/esm/models/components/searchrequest.d.ts.map +1 -1
  382. package/dist/esm/models/components/searchrequest.js +0 -3
  383. package/dist/esm/models/components/searchrequest.js.map +1 -1
  384. package/dist/esm/models/components/searchrequestoptions.d.ts +1 -1
  385. package/dist/esm/models/components/searchresponsemetadata.d.ts +5 -0
  386. package/dist/esm/models/components/searchresponsemetadata.d.ts.map +1 -1
  387. package/dist/esm/models/components/searchresponsemetadata.js +2 -0
  388. package/dist/esm/models/components/searchresponsemetadata.js.map +1 -1
  389. package/dist/esm/models/components/searchresultsnippet.d.ts +7 -5
  390. package/dist/esm/models/components/searchresultsnippet.d.ts.map +1 -1
  391. package/dist/esm/models/components/searchresultsnippet.js +2 -2
  392. package/dist/esm/models/components/searchresultsnippet.js.map +1 -1
  393. package/dist/esm/models/components/sectiontype.d.ts +37 -0
  394. package/dist/esm/models/components/sectiontype.d.ts.map +1 -0
  395. package/dist/esm/models/components/sectiontype.js +29 -0
  396. package/dist/esm/models/components/sectiontype.js.map +1 -0
  397. package/dist/esm/models/components/sidebysideimplementation.d.ts +97 -0
  398. package/dist/esm/models/components/sidebysideimplementation.d.ts.map +1 -0
  399. package/dist/esm/models/components/sidebysideimplementation.js +68 -0
  400. package/dist/esm/models/components/sidebysideimplementation.js.map +1 -0
  401. package/dist/esm/models/components/structuredresult.d.ts +3 -0
  402. package/dist/esm/models/components/structuredresult.d.ts.map +1 -1
  403. package/dist/esm/models/components/structuredresult.js +3 -0
  404. package/dist/esm/models/components/structuredresult.js.map +1 -1
  405. package/dist/esm/models/components/toolsets.d.ts +40 -0
  406. package/dist/esm/models/components/toolsets.d.ts.map +1 -0
  407. package/dist/esm/models/components/toolsets.js +33 -0
  408. package/dist/esm/models/components/toolsets.js.map +1 -0
  409. package/dist/esm/models/components/updatetype.d.ts +34 -0
  410. package/dist/esm/models/components/updatetype.d.ts.map +1 -0
  411. package/dist/esm/models/components/updatetype.js +28 -0
  412. package/dist/esm/models/components/updatetype.js.map +1 -0
  413. package/dist/esm/models/operations/createcollection.d.ts +83 -0
  414. package/dist/esm/models/operations/createcollection.d.ts.map +1 -0
  415. package/dist/esm/models/operations/createcollection.js +88 -0
  416. package/dist/esm/models/operations/createcollection.js.map +1 -0
  417. package/dist/esm/models/operations/index.d.ts +1 -0
  418. package/dist/esm/models/operations/index.d.ts.map +1 -1
  419. package/dist/esm/models/operations/index.js +1 -0
  420. package/dist/esm/models/operations/index.js.map +1 -1
  421. package/dist/esm/react-query/clientCollectionsCreate.d.ts +2 -1
  422. package/dist/esm/react-query/clientCollectionsCreate.d.ts.map +1 -1
  423. package/dist/esm/react-query/clientCollectionsCreate.js.map +1 -1
  424. package/dist/esm/react-query/indexingAuthenticationRotateToken.d.ts +1 -1
  425. package/dist/esm/react-query/indexingAuthenticationRotateToken.js +1 -1
  426. package/dist/esm/react-query/indexingDatasourceStatus.d.ts +1 -1
  427. package/dist/esm/react-query/indexingDatasourceStatus.js +1 -1
  428. package/dist/esm/react-query/indexingDocumentsBulkIndex.d.ts +1 -1
  429. package/dist/esm/react-query/indexingDocumentsBulkIndex.js +1 -1
  430. package/dist/esm/react-query/indexingDocumentsCheckAccess.d.ts +1 -1
  431. package/dist/esm/react-query/indexingDocumentsCheckAccess.js +1 -1
  432. package/dist/esm/react-query/indexingDocumentsCount.d.ts +1 -1
  433. package/dist/esm/react-query/indexingDocumentsCount.js +1 -1
  434. package/dist/esm/react-query/indexingDocumentsDebug.d.ts +1 -1
  435. package/dist/esm/react-query/indexingDocumentsDebug.js +1 -1
  436. package/dist/esm/react-query/indexingDocumentsDebugMany.d.ts +1 -1
  437. package/dist/esm/react-query/indexingDocumentsDebugMany.js +1 -1
  438. package/dist/esm/react-query/indexingDocumentsIndex.d.ts +1 -1
  439. package/dist/esm/react-query/indexingDocumentsIndex.js +1 -1
  440. package/dist/esm/react-query/indexingDocumentsStatus.d.ts +1 -1
  441. package/dist/esm/react-query/indexingDocumentsStatus.js +1 -1
  442. package/dist/esm/react-query/indexingPeopleBulkIndex.d.ts +1 -1
  443. package/dist/esm/react-query/indexingPeopleBulkIndex.js +1 -1
  444. package/dist/esm/react-query/indexingPeopleBulkIndexTeams.d.ts +1 -1
  445. package/dist/esm/react-query/indexingPeopleBulkIndexTeams.js +1 -1
  446. package/dist/esm/react-query/indexingPeopleCount.d.ts +1 -1
  447. package/dist/esm/react-query/indexingPeopleCount.js +1 -1
  448. package/dist/esm/react-query/indexingPeopleDebug.d.ts +1 -1
  449. package/dist/esm/react-query/indexingPeopleDebug.js +1 -1
  450. package/dist/esm/react-query/indexingPermissionsBulkIndexGroups.d.ts +1 -1
  451. package/dist/esm/react-query/indexingPermissionsBulkIndexGroups.js +1 -1
  452. package/dist/esm/react-query/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
  453. package/dist/esm/react-query/indexingPermissionsBulkIndexMemberships.js +1 -1
  454. package/dist/esm/react-query/indexingPermissionsBulkIndexUsers.d.ts +1 -1
  455. package/dist/esm/react-query/indexingPermissionsBulkIndexUsers.js +1 -1
  456. package/dist/esm/sdk/collections.d.ts +2 -1
  457. package/dist/esm/sdk/collections.d.ts.map +1 -1
  458. package/dist/esm/sdk/collections.js.map +1 -1
  459. package/dist/esm/sdk/datasource.d.ts +1 -1
  460. package/dist/esm/sdk/datasource.js +1 -1
  461. package/dist/esm/sdk/indexingauthentication.d.ts +1 -1
  462. package/dist/esm/sdk/indexingauthentication.js +1 -1
  463. package/dist/esm/sdk/indexingdocuments.d.ts +7 -7
  464. package/dist/esm/sdk/indexingdocuments.js +7 -7
  465. package/dist/esm/sdk/people.d.ts +4 -4
  466. package/dist/esm/sdk/people.js +4 -4
  467. package/dist/esm/sdk/permissions.d.ts +3 -3
  468. package/dist/esm/sdk/permissions.js +3 -3
  469. package/docs/sdks/announcements/README.md +70 -70
  470. package/docs/sdks/answers/README.md +8 -8
  471. package/docs/sdks/clientdocuments/README.md +22 -6
  472. package/docs/sdks/clientshortcuts/README.md +14 -14
  473. package/docs/sdks/collections/README.md +11 -11
  474. package/docs/sdks/datasource/README.md +1 -1
  475. package/docs/sdks/indexingauthentication/README.md +1 -1
  476. package/docs/sdks/indexingdocuments/README.md +7 -7
  477. package/docs/sdks/people/README.md +4 -4
  478. package/docs/sdks/permissions/README.md +3 -3
  479. package/jsr.json +1 -1
  480. package/package.json +1 -1
  481. package/src/__tests__/announcements.test.ts +2 -2
  482. package/src/__tests__/answers.test.ts +2 -2
  483. package/src/__tests__/clientchat.test.ts +24 -24
  484. package/src/__tests__/clientshortcuts.test.ts +2 -2
  485. package/src/__tests__/collections.test.ts +2 -2
  486. package/src/__tests__/search.test.ts +1 -1
  487. package/src/__tests__/summarize.test.ts +8 -2
  488. package/src/funcs/clientCollectionsCreate.ts +5 -4
  489. package/src/funcs/indexingAuthenticationRotateToken.ts +1 -1
  490. package/src/funcs/indexingDatasourceStatus.ts +1 -1
  491. package/src/funcs/indexingDocumentsBulkIndex.ts +1 -1
  492. package/src/funcs/indexingDocumentsCheckAccess.ts +1 -1
  493. package/src/funcs/indexingDocumentsCount.ts +1 -1
  494. package/src/funcs/indexingDocumentsDebug.ts +1 -1
  495. package/src/funcs/indexingDocumentsDebugMany.ts +1 -1
  496. package/src/funcs/indexingDocumentsIndex.ts +1 -1
  497. package/src/funcs/indexingDocumentsStatus.ts +1 -1
  498. package/src/funcs/indexingPeopleBulkIndex.ts +1 -1
  499. package/src/funcs/indexingPeopleBulkIndexTeams.ts +1 -1
  500. package/src/funcs/indexingPeopleCount.ts +1 -1
  501. package/src/funcs/indexingPeopleDebug.ts +1 -1
  502. package/src/funcs/indexingPermissionsBulkIndexGroups.ts +1 -1
  503. package/src/funcs/indexingPermissionsBulkIndexMemberships.ts +1 -1
  504. package/src/funcs/indexingPermissionsBulkIndexUsers.ts +1 -1
  505. package/src/lib/config.ts +2 -2
  506. package/src/models/components/agentconfig.ts +15 -0
  507. package/src/models/components/authconfig.ts +1 -0
  508. package/src/models/components/chat.ts +23 -0
  509. package/src/models/components/chatmessage.ts +1 -0
  510. package/src/models/components/chatmessagefragment.ts +14 -1
  511. package/src/models/components/chatrequest.ts +1 -1
  512. package/src/models/components/chatsuggestion.ts +72 -0
  513. package/src/models/components/clustertypeenum.ts +2 -0
  514. package/src/models/components/customdatasourceconfig.ts +1 -0
  515. package/src/models/components/digest.ts +89 -0
  516. package/src/models/components/digestsection.ts +118 -0
  517. package/src/models/components/digestupdate.ts +98 -0
  518. package/src/models/components/documentdefinition.ts +1 -1
  519. package/src/models/components/documentspecunion.ts +147 -32
  520. package/src/models/components/feedback.ts +15 -0
  521. package/src/models/components/feedentry.ts +22 -0
  522. package/src/models/components/feedrequest.ts +2 -0
  523. package/src/models/components/feedresult.ts +2 -0
  524. package/src/models/components/generatedqna.ts +2 -2
  525. package/src/models/components/getchatfilesrequest.ts +7 -0
  526. package/src/models/components/group.ts +14 -0
  527. package/src/models/components/index.ts +9 -1
  528. package/src/models/components/manualfeedbackinfo.ts +18 -15
  529. package/src/models/components/manualfeedbacksidebysideinfo.ts +200 -0
  530. package/src/models/components/objectdefinition.ts +1 -0
  531. package/src/models/components/searchrequest.ts +0 -13
  532. package/src/models/components/searchrequestoptions.ts +1 -1
  533. package/src/models/components/searchresponsemetadata.ts +7 -0
  534. package/src/models/components/searchresultsnippet.ts +9 -7
  535. package/src/models/components/sectiontype.ts +38 -0
  536. package/src/models/components/sidebysideimplementation.ts +175 -0
  537. package/src/models/components/structuredresult.ts +10 -0
  538. package/src/models/components/toolsets.ts +75 -0
  539. package/src/models/components/updatetype.ts +37 -0
  540. package/src/models/operations/createcollection.ts +186 -0
  541. package/src/models/operations/index.ts +1 -0
  542. package/src/react-query/clientCollectionsCreate.ts +2 -1
  543. package/src/react-query/indexingAuthenticationRotateToken.ts +1 -1
  544. package/src/react-query/indexingDatasourceStatus.ts +1 -1
  545. package/src/react-query/indexingDocumentsBulkIndex.ts +1 -1
  546. package/src/react-query/indexingDocumentsCheckAccess.ts +1 -1
  547. package/src/react-query/indexingDocumentsCount.ts +1 -1
  548. package/src/react-query/indexingDocumentsDebug.ts +1 -1
  549. package/src/react-query/indexingDocumentsDebugMany.ts +1 -1
  550. package/src/react-query/indexingDocumentsIndex.ts +1 -1
  551. package/src/react-query/indexingDocumentsStatus.ts +1 -1
  552. package/src/react-query/indexingPeopleBulkIndex.ts +1 -1
  553. package/src/react-query/indexingPeopleBulkIndexTeams.ts +1 -1
  554. package/src/react-query/indexingPeopleCount.ts +1 -1
  555. package/src/react-query/indexingPeopleDebug.ts +1 -1
  556. package/src/react-query/indexingPermissionsBulkIndexGroups.ts +1 -1
  557. package/src/react-query/indexingPermissionsBulkIndexMemberships.ts +1 -1
  558. package/src/react-query/indexingPermissionsBulkIndexUsers.ts +1 -1
  559. package/src/sdk/collections.ts +2 -1
  560. package/src/sdk/datasource.ts +1 -1
  561. package/src/sdk/indexingauthentication.ts +1 -1
  562. package/src/sdk/indexingdocuments.ts +7 -7
  563. package/src/sdk/people.ts +4 -4
  564. package/src/sdk/permissions.ts +3 -3
  565. package/dist/commonjs/models/components/createcollectionresponse.d.ts +0 -177
  566. package/dist/commonjs/models/components/createcollectionresponse.d.ts.map +0 -1
  567. package/dist/commonjs/models/components/createcollectionresponse.js +0 -154
  568. package/dist/commonjs/models/components/createcollectionresponse.js.map +0 -1
  569. package/dist/esm/models/components/createcollectionresponse.d.ts +0 -177
  570. package/dist/esm/models/components/createcollectionresponse.d.ts.map +0 -1
  571. package/dist/esm/models/components/createcollectionresponse.js +0 -116
  572. package/dist/esm/models/components/createcollectionresponse.js.map +0 -1
  573. package/src/models/components/createcollectionresponse.ts +0 -306
@@ -291,8 +291,8 @@ test("Client Chat Chat Stream Update Response", async () => {
291
291
  },
292
292
  snippets: [
293
293
  {
294
- snippet: "snippet",
295
294
  mimeType: "mimeType",
295
+ snippet: "snippet",
296
296
  },
297
297
  ],
298
298
  },
@@ -326,8 +326,8 @@ test("Client Chat Chat Stream Update Response", async () => {
326
326
  },
327
327
  snippets: [
328
328
  {
329
- snippet: "snippet",
330
329
  mimeType: "mimeType",
330
+ snippet: "snippet",
331
331
  },
332
332
  ],
333
333
  },
@@ -361,8 +361,8 @@ test("Client Chat Chat Stream Update Response", async () => {
361
361
  },
362
362
  snippets: [
363
363
  {
364
- snippet: "snippet",
365
364
  mimeType: "mimeType",
365
+ snippet: "snippet",
366
366
  },
367
367
  ],
368
368
  },
@@ -2483,8 +2483,8 @@ test("Client Chat Chat Stream Update Response", async () => {
2483
2483
  },
2484
2484
  snippets: [
2485
2485
  {
2486
- snippet: "snippet",
2487
2486
  mimeType: "mimeType",
2487
+ snippet: "snippet",
2488
2488
  },
2489
2489
  ],
2490
2490
  },
@@ -2518,8 +2518,8 @@ test("Client Chat Chat Stream Update Response", async () => {
2518
2518
  },
2519
2519
  snippets: [
2520
2520
  {
2521
- snippet: "snippet",
2522
2521
  mimeType: "mimeType",
2522
+ snippet: "snippet",
2523
2523
  },
2524
2524
  ],
2525
2525
  },
@@ -2590,8 +2590,8 @@ test("Client Chat Chat Stream Update Response", async () => {
2590
2590
  },
2591
2591
  snippets: [
2592
2592
  {
2593
- snippet: "snippet",
2594
2593
  mimeType: "mimeType",
2594
+ snippet: "snippet",
2595
2595
  },
2596
2596
  ],
2597
2597
  },
@@ -2662,8 +2662,8 @@ test("Client Chat Chat Stream Update Response", async () => {
2662
2662
  },
2663
2663
  snippets: [
2664
2664
  {
2665
- snippet: "snippet",
2666
2665
  mimeType: "mimeType",
2666
+ snippet: "snippet",
2667
2667
  },
2668
2668
  ],
2669
2669
  },
@@ -2697,8 +2697,8 @@ test("Client Chat Chat Stream Update Response", async () => {
2697
2697
  },
2698
2698
  snippets: [
2699
2699
  {
2700
- snippet: "snippet",
2701
2700
  mimeType: "mimeType",
2701
+ snippet: "snippet",
2702
2702
  },
2703
2703
  ],
2704
2704
  },
@@ -2732,8 +2732,8 @@ test("Client Chat Chat Stream Update Response", async () => {
2732
2732
  },
2733
2733
  snippets: [
2734
2734
  {
2735
- snippet: "snippet",
2736
2735
  mimeType: "mimeType",
2736
+ snippet: "snippet",
2737
2737
  },
2738
2738
  ],
2739
2739
  },
@@ -4710,8 +4710,8 @@ test("Client Chat Chat Stream Citation Response", async () => {
4710
4710
  },
4711
4711
  snippets: [
4712
4712
  {
4713
- snippet: "snippet",
4714
4713
  mimeType: "mimeType",
4714
+ snippet: "snippet",
4715
4715
  },
4716
4716
  ],
4717
4717
  },
@@ -4745,8 +4745,8 @@ test("Client Chat Chat Stream Citation Response", async () => {
4745
4745
  },
4746
4746
  snippets: [
4747
4747
  {
4748
- snippet: "snippet",
4749
4748
  mimeType: "mimeType",
4749
+ snippet: "snippet",
4750
4750
  },
4751
4751
  ],
4752
4752
  },
@@ -4817,8 +4817,8 @@ test("Client Chat Chat Stream Citation Response", async () => {
4817
4817
  },
4818
4818
  snippets: [
4819
4819
  {
4820
- snippet: "snippet",
4821
4820
  mimeType: "mimeType",
4821
+ snippet: "snippet",
4822
4822
  },
4823
4823
  ],
4824
4824
  },
@@ -4852,8 +4852,8 @@ test("Client Chat Chat Stream Citation Response", async () => {
4852
4852
  },
4853
4853
  snippets: [
4854
4854
  {
4855
- snippet: "snippet",
4856
4855
  mimeType: "mimeType",
4856
+ snippet: "snippet",
4857
4857
  },
4858
4858
  ],
4859
4859
  },
@@ -4887,8 +4887,8 @@ test("Client Chat Chat Stream Citation Response", async () => {
4887
4887
  },
4888
4888
  snippets: [
4889
4889
  {
4890
- snippet: "snippet",
4891
4890
  mimeType: "mimeType",
4891
+ snippet: "snippet",
4892
4892
  },
4893
4893
  ],
4894
4894
  },
@@ -6734,8 +6734,8 @@ test("Client Chat Chat Stream Citation Response", async () => {
6734
6734
  },
6735
6735
  snippets: [
6736
6736
  {
6737
- snippet: "snippet",
6738
6737
  mimeType: "mimeType",
6738
+ snippet: "snippet",
6739
6739
  },
6740
6740
  ],
6741
6741
  },
@@ -6769,8 +6769,8 @@ test("Client Chat Chat Stream Citation Response", async () => {
6769
6769
  },
6770
6770
  snippets: [
6771
6771
  {
6772
- snippet: "snippet",
6773
6772
  mimeType: "mimeType",
6773
+ snippet: "snippet",
6774
6774
  },
6775
6775
  ],
6776
6776
  },
@@ -6804,8 +6804,8 @@ test("Client Chat Chat Stream Citation Response", async () => {
6804
6804
  },
6805
6805
  snippets: [
6806
6806
  {
6807
- snippet: "snippet",
6808
6807
  mimeType: "mimeType",
6808
+ snippet: "snippet",
6809
6809
  },
6810
6810
  ],
6811
6811
  },
@@ -7824,8 +7824,8 @@ test("Client Chat Chat Stream Citation Response", async () => {
7824
7824
  },
7825
7825
  snippets: [
7826
7826
  {
7827
- snippet: "snippet",
7828
7827
  mimeType: "mimeType",
7828
+ snippet: "snippet",
7829
7829
  },
7830
7830
  ],
7831
7831
  },
@@ -7859,8 +7859,8 @@ test("Client Chat Chat Stream Citation Response", async () => {
7859
7859
  },
7860
7860
  snippets: [
7861
7861
  {
7862
- snippet: "snippet",
7863
7862
  mimeType: "mimeType",
7863
+ snippet: "snippet",
7864
7864
  },
7865
7865
  ],
7866
7866
  },
@@ -7931,8 +7931,8 @@ test("Client Chat Chat Stream Citation Response", async () => {
7931
7931
  },
7932
7932
  snippets: [
7933
7933
  {
7934
- snippet: "snippet",
7935
7934
  mimeType: "mimeType",
7935
+ snippet: "snippet",
7936
7936
  },
7937
7937
  ],
7938
7938
  },
@@ -7966,8 +7966,8 @@ test("Client Chat Chat Stream Citation Response", async () => {
7966
7966
  },
7967
7967
  snippets: [
7968
7968
  {
7969
- snippet: "snippet",
7970
7969
  mimeType: "mimeType",
7970
+ snippet: "snippet",
7971
7971
  },
7972
7972
  ],
7973
7973
  },
@@ -8001,8 +8001,8 @@ test("Client Chat Chat Stream Citation Response", async () => {
8001
8001
  },
8002
8002
  snippets: [
8003
8003
  {
8004
- snippet: "snippet",
8005
8004
  mimeType: "mimeType",
8005
+ snippet: "snippet",
8006
8006
  },
8007
8007
  ],
8008
8008
  },
@@ -8073,8 +8073,8 @@ test("Client Chat Chat Stream Citation Response", async () => {
8073
8073
  },
8074
8074
  snippets: [
8075
8075
  {
8076
- snippet: "snippet",
8077
8076
  mimeType: "mimeType",
8077
+ snippet: "snippet",
8078
8078
  },
8079
8079
  ],
8080
8080
  },
@@ -8108,8 +8108,8 @@ test("Client Chat Chat Stream Citation Response", async () => {
8108
8108
  },
8109
8109
  snippets: [
8110
8110
  {
8111
- snippet: "snippet",
8112
8111
  mimeType: "mimeType",
8112
+ snippet: "snippet",
8113
8113
  },
8114
8114
  ],
8115
8115
  },
@@ -262,8 +262,8 @@ test("Client Shortcuts Createshortcut", async () => {
262
262
  nativeAppUrl: "slack://foo/bar",
263
263
  snippets: [
264
264
  {
265
- snippet: "snippet",
266
265
  mimeType: "mimeType",
266
+ snippet: "snippet",
267
267
  },
268
268
  ],
269
269
  },
@@ -979,8 +979,8 @@ test("Client Shortcuts Updateshortcut", async () => {
979
979
  nativeAppUrl: "slack://foo/bar",
980
980
  snippets: [
981
981
  {
982
- snippet: "snippet",
983
982
  mimeType: "mimeType",
983
+ snippet: "snippet",
984
984
  },
985
985
  ],
986
986
  },
@@ -277,8 +277,8 @@ test("Collections Createcollection", async () => {
277
277
  nativeAppUrl: "slack://foo/bar",
278
278
  snippets: [
279
279
  {
280
- snippet: "snippet",
281
280
  mimeType: "mimeType",
281
+ snippet: "snippet",
282
282
  },
283
283
  ],
284
284
  },
@@ -946,8 +946,8 @@ test("Collections Editcollection", async () => {
946
946
  nativeAppUrl: "slack://foo/bar",
947
947
  snippets: [
948
948
  {
949
- snippet: "snippet",
950
949
  mimeType: "mimeType",
950
+ snippet: "snippet",
951
951
  },
952
952
  ],
953
953
  },
@@ -211,8 +211,8 @@ test("Search Recommendations", async () => {
211
211
  nativeAppUrl: "slack://foo/bar",
212
212
  snippets: [
213
213
  {
214
- snippet: "snippet",
215
214
  mimeType: "mimeType",
215
+ snippet: "snippet",
216
216
  },
217
217
  ],
218
218
  },
@@ -17,8 +17,14 @@ test("Summarize Summarize", async () => {
17
17
 
18
18
  const result = await glean.client.documents.summarize({
19
19
  documentSpecs: [
20
- {},
21
- {},
20
+ {
21
+ ugcType: "SHORTCUTS",
22
+ ugcId: "<id>",
23
+ },
24
+ {
25
+ ugcType: "CHATS",
26
+ ugcId: "<id>",
27
+ },
22
28
  ],
23
29
  });
24
30
  expect(result).toBeDefined();
@@ -21,6 +21,7 @@ import {
21
21
  } from "../models/errors/httpclienterrors.js";
22
22
  import * as errors from "../models/errors/index.js";
23
23
  import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
24
+ import * as operations from "../models/operations/index.js";
24
25
  import { APICall, APIPromise } from "../types/async.js";
25
26
  import { Result } from "../types/fp.js";
26
27
 
@@ -36,7 +37,7 @@ export function clientCollectionsCreate(
36
37
  options?: RequestOptions,
37
38
  ): APIPromise<
38
39
  Result<
39
- components.CreateCollectionResponse,
40
+ operations.CreatecollectionResponse,
40
41
  | errors.CollectionError
41
42
  | GleanError
42
43
  | SDKValidationError
@@ -61,7 +62,7 @@ async function $do(
61
62
  ): Promise<
62
63
  [
63
64
  Result<
64
- components.CreateCollectionResponse,
65
+ operations.CreatecollectionResponse,
65
66
  | errors.CollectionError
66
67
  | GleanError
67
68
  | SDKValidationError
@@ -140,7 +141,7 @@ async function $do(
140
141
  };
141
142
 
142
143
  const [result] = await M.match<
143
- components.CreateCollectionResponse,
144
+ operations.CreatecollectionResponse,
144
145
  | errors.CollectionError
145
146
  | GleanError
146
147
  | SDKValidationError
@@ -150,7 +151,7 @@ async function $do(
150
151
  | RequestTimeoutError
151
152
  | ConnectionError
152
153
  >(
153
- M.json(200, components.CreateCollectionResponse$inboundSchema),
154
+ M.json(200, operations.CreatecollectionResponse$inboundSchema),
154
155
  M.jsonErr(422, errors.CollectionError$inboundSchema),
155
156
  M.fail([400, 401, 429, "4XX"]),
156
157
  M.fail("5XX"),
@@ -25,7 +25,7 @@ import { Result } from "../types/fp.js";
25
25
  * Rotate token
26
26
  *
27
27
  * @remarks
28
- * Rotates the secret value inside the Indexing API token and returns the new raw secret. All other properties of the token are unchanged. In order to rotate the secret value, include the token as the bearer token in the `/rotatetoken` request. Please refer to [Token rotation](https://developers.glean.com/docs/indexing_api_token_rotation/) documentation for more information.
28
+ * Rotates the secret value inside the Indexing API token and returns the new raw secret. All other properties of the token are unchanged. In order to rotate the secret value, include the token as the bearer token in the `/rotatetoken` request. Please refer to [Token rotation](https://developers.glean.com/indexing/authentication/token-rotation) documentation for more information.
29
29
  */
30
30
  export function indexingAuthenticationRotateToken(
31
31
  client: GleanCore,
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * @remarks
31
31
  * Gather information about the datasource's overall status. Currently in beta, might undergo breaking changes without prior notice.
32
32
  *
33
- * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
33
+ * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
34
34
  */
35
35
  export function indexingDatasourceStatus(
36
36
  client: GleanCore,
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  * Bulk index documents
29
29
  *
30
30
  * @remarks
31
- * Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
31
+ * Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
32
32
  */
33
33
  export function indexingDocumentsBulkIndex(
34
34
  client: GleanCore,
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
29
29
  * @remarks
30
30
  * Check if a given user has access to access a document in a custom datasource
31
31
  *
32
- * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
32
+ * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
33
33
  */
34
34
  export function indexingDocumentsCheckAccess(
35
35
  client: GleanCore,
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
29
29
  * @remarks
30
30
  * Fetches document count for the specified custom datasource.
31
31
  *
32
- * Tip: Use [/debug/{datasource}/status](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-status) for richer information.
32
+ * Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
33
33
  *
34
34
  * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
35
35
  */
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * @remarks
31
31
  * Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.
32
32
  *
33
- * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
33
+ * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
34
34
  */
35
35
  export function indexingDocumentsDebug(
36
36
  client: GleanCore,
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * @remarks
31
31
  * Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice.
32
32
  *
33
- * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
33
+ * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
34
34
  */
35
35
  export function indexingDocumentsDebugMany(
36
36
  client: GleanCore,
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  * Index documents
29
29
  *
30
30
  * @remarks
31
- * Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#choosing-indexdocuments-vs-bulkindexdocuments) documentation for an explanation of when to use this endpoint.
31
+ * Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-indexing/choosing-indexdocuments-vs-bulkindexdocuments) documentation for an explanation of when to use this endpoint.
32
32
  */
33
33
  export function indexingDocumentsIndex(
34
34
  client: GleanCore,
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
29
29
  * @remarks
30
30
  * Intended for debugging/validation. Fetches the current upload and indexing status of documents.
31
31
  *
32
- * Tip: Use [/debug/{datasource}/document](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-document) for richer information.
32
+ * Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information.
33
33
  *
34
34
  * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
35
35
  */
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  * Bulk index employees
29
29
  *
30
30
  * @remarks
31
- * Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
31
+ * Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
32
32
  */
33
33
  export function indexingPeopleBulkIndex(
34
34
  client: GleanCore,
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  * Bulk index teams
29
29
  *
30
30
  * @remarks
31
- * Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
31
+ * Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
32
32
  */
33
33
  export function indexingPeopleBulkIndexTeams(
34
34
  client: GleanCore,
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
29
29
  * @remarks
30
30
  * Fetches user count for the specified custom datasource.
31
31
  *
32
- * Tip: Use [/debug/{datasource}/status](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-status) for richer information.
32
+ * Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
33
33
  *
34
34
  * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
35
35
  */
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * @remarks
31
31
  * Gives various information that would help in debugging related to a particular user. Currently in beta, might undergo breaking changes without prior notice.
32
32
  *
33
- * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
33
+ * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
34
34
  */
35
35
  export function indexingPeopleDebug(
36
36
  client: GleanCore,
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  * Bulk index groups
29
29
  *
30
30
  * @remarks
31
- * Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
31
+ * Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
32
32
  */
33
33
  export function indexingPermissionsBulkIndexGroups(
34
34
  client: GleanCore,
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  * Bulk index memberships for a group
29
29
  *
30
30
  * @remarks
31
- * Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
31
+ * Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
32
32
  */
33
33
  export function indexingPermissionsBulkIndexMemberships(
34
34
  client: GleanCore,
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
28
28
  * Bulk index users
29
29
  *
30
30
  * @remarks
31
- * Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
31
+ * Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
32
32
  */
33
33
  export function indexingPermissionsBulkIndexUsers(
34
34
  client: GleanCore,
package/src/lib/config.ts CHANGED
@@ -64,8 +64,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
64
64
  export const SDK_METADATA = {
65
65
  language: "typescript",
66
66
  openapiDocVersion: "0.9.0",
67
- sdkVersion: "0.8.1",
67
+ sdkVersion: "0.10.1",
68
68
  genVersion: "2.610.0",
69
69
  userAgent:
70
- "speakeasy-sdk/typescript 0.8.1 2.610.0 0.9.0 @gleanwork/api-client",
70
+ "speakeasy-sdk/typescript 0.10.1 2.610.0 0.9.0 @gleanwork/api-client",
71
71
  } as const;
@@ -7,6 +7,12 @@ import { safeParse } from "../../lib/schemas.js";
7
7
  import { ClosedEnum } from "../../types/enums.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ ToolSets,
12
+ ToolSets$inboundSchema,
13
+ ToolSets$Outbound,
14
+ ToolSets$outboundSchema,
15
+ } from "./toolsets.js";
10
16
 
11
17
  /**
12
18
  * Name of the agent.
@@ -15,6 +21,8 @@ export const AgentEnum = {
15
21
  Default: "DEFAULT",
16
22
  Gpt: "GPT",
17
23
  Universal: "UNIVERSAL",
24
+ Fast: "FAST",
25
+ Advanced: "ADVANCED",
18
26
  } as const;
19
27
  /**
20
28
  * Name of the agent.
@@ -41,6 +49,10 @@ export type AgentConfig = {
41
49
  * Name of the agent.
42
50
  */
43
51
  agent?: AgentEnum | undefined;
52
+ /**
53
+ * The types of tools that the agent is allowed to use. Only works with FAST and ADVANCED `agent` values
54
+ */
55
+ toolSets?: ToolSets | undefined;
44
56
  /**
45
57
  * Top level modes to run GleanChat in.
46
58
  */
@@ -93,12 +105,14 @@ export const AgentConfig$inboundSchema: z.ZodType<
93
105
  unknown
94
106
  > = z.object({
95
107
  agent: AgentEnum$inboundSchema.optional(),
108
+ toolSets: ToolSets$inboundSchema.optional(),
96
109
  mode: Mode$inboundSchema.optional(),
97
110
  });
98
111
 
99
112
  /** @internal */
100
113
  export type AgentConfig$Outbound = {
101
114
  agent?: string | undefined;
115
+ toolSets?: ToolSets$Outbound | undefined;
102
116
  mode?: string | undefined;
103
117
  };
104
118
 
@@ -109,6 +123,7 @@ export const AgentConfig$outboundSchema: z.ZodType<
109
123
  AgentConfig
110
124
  > = z.object({
111
125
  agent: AgentEnum$outboundSchema.optional(),
126
+ toolSets: ToolSets$outboundSchema.optional(),
112
127
  mode: Mode$outboundSchema.optional(),
113
128
  });
114
129
 
@@ -55,6 +55,7 @@ export type GrantType = ClosedEnum<typeof GrantType>;
55
55
  export const AuthConfigStatus = {
56
56
  AwaitingAuth: "AWAITING_AUTH",
57
57
  Authorized: "AUTHORIZED",
58
+ AuthDisabled: "AUTH_DISABLED",
58
59
  } as const;
59
60
  /**
60
61
  * Auth status of the tool.
@@ -18,12 +18,24 @@ import {
18
18
  IconConfig$Outbound,
19
19
  IconConfig$outboundSchema,
20
20
  } from "./iconconfig.js";
21
+ import {
22
+ ObjectPermissions,
23
+ ObjectPermissions$inboundSchema,
24
+ ObjectPermissions$Outbound,
25
+ ObjectPermissions$outboundSchema,
26
+ } from "./objectpermissions.js";
21
27
  import {
22
28
  Person,
23
29
  Person$inboundSchema,
24
30
  Person$Outbound,
25
31
  Person$outboundSchema,
26
32
  } from "./person.js";
33
+ import {
34
+ UserRoleSpecification,
35
+ UserRoleSpecification$inboundSchema,
36
+ UserRoleSpecification$Outbound,
37
+ UserRoleSpecification$outboundSchema,
38
+ } from "./userrolespecification.js";
27
39
 
28
40
  /**
29
41
  * A historical representation of a series of chat messages a user had with Glean Assistant.
@@ -58,10 +70,15 @@ export type Chat = {
58
70
  * Defines how to render an icon
59
71
  */
60
72
  icon?: IconConfig | undefined;
73
+ permissions?: ObjectPermissions | undefined;
61
74
  /**
62
75
  * The chat messages within a Chat.
63
76
  */
64
77
  messages?: Array<ChatMessage> | undefined;
78
+ /**
79
+ * A list of roles for this Chat.
80
+ */
81
+ roles?: Array<UserRoleSpecification> | undefined;
65
82
  };
66
83
 
67
84
  /** @internal */
@@ -75,7 +92,9 @@ export const Chat$inboundSchema: z.ZodType<Chat, z.ZodTypeDef, unknown> = z
75
92
  applicationId: z.string().optional(),
76
93
  applicationName: z.string().optional(),
77
94
  icon: IconConfig$inboundSchema.optional(),
95
+ permissions: ObjectPermissions$inboundSchema.optional(),
78
96
  messages: z.array(ChatMessage$inboundSchema).optional(),
97
+ roles: z.array(UserRoleSpecification$inboundSchema).optional(),
79
98
  });
80
99
 
81
100
  /** @internal */
@@ -88,7 +107,9 @@ export type Chat$Outbound = {
88
107
  applicationId?: string | undefined;
89
108
  applicationName?: string | undefined;
90
109
  icon?: IconConfig$Outbound | undefined;
110
+ permissions?: ObjectPermissions$Outbound | undefined;
91
111
  messages?: Array<ChatMessage$Outbound> | undefined;
112
+ roles?: Array<UserRoleSpecification$Outbound> | undefined;
92
113
  };
93
114
 
94
115
  /** @internal */
@@ -102,7 +123,9 @@ export const Chat$outboundSchema: z.ZodType<Chat$Outbound, z.ZodTypeDef, Chat> =
102
123
  applicationId: z.string().optional(),
103
124
  applicationName: z.string().optional(),
104
125
  icon: IconConfig$outboundSchema.optional(),
126
+ permissions: ObjectPermissions$outboundSchema.optional(),
105
127
  messages: z.array(ChatMessage$outboundSchema).optional(),
128
+ roles: z.array(UserRoleSpecification$outboundSchema).optional(),
106
129
  });
107
130
 
108
131
  /**