@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
@@ -67,6 +67,12 @@ import {
67
67
  ExtractedQnA$Outbound,
68
68
  ExtractedQnA$outboundSchema,
69
69
  } from "./extractedqna.js";
70
+ import {
71
+ GeneratedQna,
72
+ GeneratedQna$inboundSchema,
73
+ GeneratedQna$Outbound,
74
+ GeneratedQna$outboundSchema,
75
+ } from "./generatedqna.js";
70
76
  import {
71
77
  Meeting,
72
78
  Meeting$inboundSchema,
@@ -151,6 +157,7 @@ export type StructuredResult = {
151
157
  team?: Team | undefined;
152
158
  customEntity?: CustomEntity | undefined;
153
159
  answer?: Answer | undefined;
160
+ generatedQna?: GeneratedQna | undefined;
154
161
  extractedQnA?: ExtractedQnA | undefined;
155
162
  meeting?: Meeting | undefined;
156
163
  app?: AppResult | undefined;
@@ -238,6 +245,7 @@ export const StructuredResult$inboundSchema: z.ZodType<
238
245
  team: z.lazy(() => Team$inboundSchema).optional(),
239
246
  customEntity: z.lazy(() => CustomEntity$inboundSchema).optional(),
240
247
  answer: z.lazy(() => Answer$inboundSchema).optional(),
248
+ generatedQna: z.lazy(() => GeneratedQna$inboundSchema).optional(),
241
249
  extractedQnA: z.lazy(() => ExtractedQnA$inboundSchema).optional(),
242
250
  meeting: z.lazy(() => Meeting$inboundSchema).optional(),
243
251
  app: AppResult$inboundSchema.optional(),
@@ -264,6 +272,7 @@ export type StructuredResult$Outbound = {
264
272
  team?: Team$Outbound | undefined;
265
273
  customEntity?: CustomEntity$Outbound | undefined;
266
274
  answer?: Answer$Outbound | undefined;
275
+ generatedQna?: GeneratedQna$Outbound | undefined;
267
276
  extractedQnA?: ExtractedQnA$Outbound | undefined;
268
277
  meeting?: Meeting$Outbound | undefined;
269
278
  app?: AppResult$Outbound | undefined;
@@ -293,6 +302,7 @@ export const StructuredResult$outboundSchema: z.ZodType<
293
302
  team: z.lazy(() => Team$outboundSchema).optional(),
294
303
  customEntity: z.lazy(() => CustomEntity$outboundSchema).optional(),
295
304
  answer: z.lazy(() => Answer$outboundSchema).optional(),
305
+ generatedQna: z.lazy(() => GeneratedQna$outboundSchema).optional(),
296
306
  extractedQnA: z.lazy(() => ExtractedQnA$outboundSchema).optional(),
297
307
  meeting: z.lazy(() => Meeting$outboundSchema).optional(),
298
308
  app: AppResult$outboundSchema.optional(),
@@ -0,0 +1,75 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ /**
11
+ * The types of tools that the agent is allowed to use. Only works with FAST and ADVANCED `agent` values
12
+ */
13
+ export type ToolSets = {
14
+ /**
15
+ * Whether the agent is allowed to use web search (default: true).
16
+ */
17
+ enableWebSearch?: boolean | undefined;
18
+ /**
19
+ * Whether the agent is allowed to search internal company resources (default: true).
20
+ */
21
+ enableCompanyTools?: boolean | undefined;
22
+ };
23
+
24
+ /** @internal */
25
+ export const ToolSets$inboundSchema: z.ZodType<
26
+ ToolSets,
27
+ z.ZodTypeDef,
28
+ unknown
29
+ > = z.object({
30
+ enableWebSearch: z.boolean().optional(),
31
+ enableCompanyTools: z.boolean().optional(),
32
+ });
33
+
34
+ /** @internal */
35
+ export type ToolSets$Outbound = {
36
+ enableWebSearch?: boolean | undefined;
37
+ enableCompanyTools?: boolean | undefined;
38
+ };
39
+
40
+ /** @internal */
41
+ export const ToolSets$outboundSchema: z.ZodType<
42
+ ToolSets$Outbound,
43
+ z.ZodTypeDef,
44
+ ToolSets
45
+ > = z.object({
46
+ enableWebSearch: z.boolean().optional(),
47
+ enableCompanyTools: z.boolean().optional(),
48
+ });
49
+
50
+ /**
51
+ * @internal
52
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
53
+ */
54
+ export namespace ToolSets$ {
55
+ /** @deprecated use `ToolSets$inboundSchema` instead. */
56
+ export const inboundSchema = ToolSets$inboundSchema;
57
+ /** @deprecated use `ToolSets$outboundSchema` instead. */
58
+ export const outboundSchema = ToolSets$outboundSchema;
59
+ /** @deprecated use `ToolSets$Outbound` instead. */
60
+ export type Outbound = ToolSets$Outbound;
61
+ }
62
+
63
+ export function toolSetsToJSON(toolSets: ToolSets): string {
64
+ return JSON.stringify(ToolSets$outboundSchema.parse(toolSets));
65
+ }
66
+
67
+ export function toolSetsFromJSON(
68
+ jsonString: string,
69
+ ): SafeParseResult<ToolSets, SDKValidationError> {
70
+ return safeParse(
71
+ jsonString,
72
+ (x) => ToolSets$inboundSchema.parse(JSON.parse(x)),
73
+ `Failed to parse 'ToolSets' from JSON`,
74
+ );
75
+ }
@@ -0,0 +1,37 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { ClosedEnum } from "../../types/enums.js";
7
+
8
+ /**
9
+ * Optional type classification for the update.
10
+ */
11
+ export const UpdateType = {
12
+ Actionable: "ACTIONABLE",
13
+ Informative: "INFORMATIVE",
14
+ } as const;
15
+ /**
16
+ * Optional type classification for the update.
17
+ */
18
+ export type UpdateType = ClosedEnum<typeof UpdateType>;
19
+
20
+ /** @internal */
21
+ export const UpdateType$inboundSchema: z.ZodNativeEnum<typeof UpdateType> = z
22
+ .nativeEnum(UpdateType);
23
+
24
+ /** @internal */
25
+ export const UpdateType$outboundSchema: z.ZodNativeEnum<typeof UpdateType> =
26
+ UpdateType$inboundSchema;
27
+
28
+ /**
29
+ * @internal
30
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
31
+ */
32
+ export namespace UpdateType$ {
33
+ /** @deprecated use `UpdateType$inboundSchema` instead. */
34
+ export const inboundSchema = UpdateType$inboundSchema;
35
+ /** @deprecated use `UpdateType$outboundSchema` instead. */
36
+ export const outboundSchema = UpdateType$outboundSchema;
37
+ }
@@ -0,0 +1,186 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import * as components from "../components/index.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type ResponseBody2 = {
12
+ collection?: components.Collection | undefined;
13
+ error: components.CollectionError;
14
+ };
15
+
16
+ export type ResponseBody1 = {
17
+ collection: components.Collection;
18
+ error?: components.CollectionError | undefined;
19
+ };
20
+
21
+ /**
22
+ * OK
23
+ */
24
+ export type CreatecollectionResponse = ResponseBody1 | ResponseBody2;
25
+
26
+ /** @internal */
27
+ export const ResponseBody2$inboundSchema: z.ZodType<
28
+ ResponseBody2,
29
+ z.ZodTypeDef,
30
+ unknown
31
+ > = z.object({
32
+ collection: components.Collection$inboundSchema.optional(),
33
+ error: components.CollectionError$inboundSchema,
34
+ });
35
+
36
+ /** @internal */
37
+ export type ResponseBody2$Outbound = {
38
+ collection?: components.Collection$Outbound | undefined;
39
+ error: components.CollectionError$Outbound;
40
+ };
41
+
42
+ /** @internal */
43
+ export const ResponseBody2$outboundSchema: z.ZodType<
44
+ ResponseBody2$Outbound,
45
+ z.ZodTypeDef,
46
+ ResponseBody2
47
+ > = z.object({
48
+ collection: components.Collection$outboundSchema.optional(),
49
+ error: components.CollectionError$outboundSchema,
50
+ });
51
+
52
+ /**
53
+ * @internal
54
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
55
+ */
56
+ export namespace ResponseBody2$ {
57
+ /** @deprecated use `ResponseBody2$inboundSchema` instead. */
58
+ export const inboundSchema = ResponseBody2$inboundSchema;
59
+ /** @deprecated use `ResponseBody2$outboundSchema` instead. */
60
+ export const outboundSchema = ResponseBody2$outboundSchema;
61
+ /** @deprecated use `ResponseBody2$Outbound` instead. */
62
+ export type Outbound = ResponseBody2$Outbound;
63
+ }
64
+
65
+ export function responseBody2ToJSON(responseBody2: ResponseBody2): string {
66
+ return JSON.stringify(ResponseBody2$outboundSchema.parse(responseBody2));
67
+ }
68
+
69
+ export function responseBody2FromJSON(
70
+ jsonString: string,
71
+ ): SafeParseResult<ResponseBody2, SDKValidationError> {
72
+ return safeParse(
73
+ jsonString,
74
+ (x) => ResponseBody2$inboundSchema.parse(JSON.parse(x)),
75
+ `Failed to parse 'ResponseBody2' from JSON`,
76
+ );
77
+ }
78
+
79
+ /** @internal */
80
+ export const ResponseBody1$inboundSchema: z.ZodType<
81
+ ResponseBody1,
82
+ z.ZodTypeDef,
83
+ unknown
84
+ > = z.object({
85
+ collection: components.Collection$inboundSchema,
86
+ error: components.CollectionError$inboundSchema.optional(),
87
+ });
88
+
89
+ /** @internal */
90
+ export type ResponseBody1$Outbound = {
91
+ collection: components.Collection$Outbound;
92
+ error?: components.CollectionError$Outbound | undefined;
93
+ };
94
+
95
+ /** @internal */
96
+ export const ResponseBody1$outboundSchema: z.ZodType<
97
+ ResponseBody1$Outbound,
98
+ z.ZodTypeDef,
99
+ ResponseBody1
100
+ > = z.object({
101
+ collection: components.Collection$outboundSchema,
102
+ error: components.CollectionError$outboundSchema.optional(),
103
+ });
104
+
105
+ /**
106
+ * @internal
107
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
108
+ */
109
+ export namespace ResponseBody1$ {
110
+ /** @deprecated use `ResponseBody1$inboundSchema` instead. */
111
+ export const inboundSchema = ResponseBody1$inboundSchema;
112
+ /** @deprecated use `ResponseBody1$outboundSchema` instead. */
113
+ export const outboundSchema = ResponseBody1$outboundSchema;
114
+ /** @deprecated use `ResponseBody1$Outbound` instead. */
115
+ export type Outbound = ResponseBody1$Outbound;
116
+ }
117
+
118
+ export function responseBody1ToJSON(responseBody1: ResponseBody1): string {
119
+ return JSON.stringify(ResponseBody1$outboundSchema.parse(responseBody1));
120
+ }
121
+
122
+ export function responseBody1FromJSON(
123
+ jsonString: string,
124
+ ): SafeParseResult<ResponseBody1, SDKValidationError> {
125
+ return safeParse(
126
+ jsonString,
127
+ (x) => ResponseBody1$inboundSchema.parse(JSON.parse(x)),
128
+ `Failed to parse 'ResponseBody1' from JSON`,
129
+ );
130
+ }
131
+
132
+ /** @internal */
133
+ export const CreatecollectionResponse$inboundSchema: z.ZodType<
134
+ CreatecollectionResponse,
135
+ z.ZodTypeDef,
136
+ unknown
137
+ > = z.union([
138
+ z.lazy(() => ResponseBody1$inboundSchema),
139
+ z.lazy(() => ResponseBody2$inboundSchema),
140
+ ]);
141
+
142
+ /** @internal */
143
+ export type CreatecollectionResponse$Outbound =
144
+ | ResponseBody1$Outbound
145
+ | ResponseBody2$Outbound;
146
+
147
+ /** @internal */
148
+ export const CreatecollectionResponse$outboundSchema: z.ZodType<
149
+ CreatecollectionResponse$Outbound,
150
+ z.ZodTypeDef,
151
+ CreatecollectionResponse
152
+ > = z.union([
153
+ z.lazy(() => ResponseBody1$outboundSchema),
154
+ z.lazy(() => ResponseBody2$outboundSchema),
155
+ ]);
156
+
157
+ /**
158
+ * @internal
159
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
160
+ */
161
+ export namespace CreatecollectionResponse$ {
162
+ /** @deprecated use `CreatecollectionResponse$inboundSchema` instead. */
163
+ export const inboundSchema = CreatecollectionResponse$inboundSchema;
164
+ /** @deprecated use `CreatecollectionResponse$outboundSchema` instead. */
165
+ export const outboundSchema = CreatecollectionResponse$outboundSchema;
166
+ /** @deprecated use `CreatecollectionResponse$Outbound` instead. */
167
+ export type Outbound = CreatecollectionResponse$Outbound;
168
+ }
169
+
170
+ export function createcollectionResponseToJSON(
171
+ createcollectionResponse: CreatecollectionResponse,
172
+ ): string {
173
+ return JSON.stringify(
174
+ CreatecollectionResponse$outboundSchema.parse(createcollectionResponse),
175
+ );
176
+ }
177
+
178
+ export function createcollectionResponseFromJSON(
179
+ jsonString: string,
180
+ ): SafeParseResult<CreatecollectionResponse, SDKValidationError> {
181
+ return safeParse(
182
+ jsonString,
183
+ (x) => CreatecollectionResponse$inboundSchema.parse(JSON.parse(x)),
184
+ `Failed to parse 'CreatecollectionResponse' from JSON`,
185
+ );
186
+ }
@@ -4,6 +4,7 @@
4
4
 
5
5
  export * from "./chat.js";
6
6
  export * from "./chatstream.js";
7
+ export * from "./createcollection.js";
7
8
  export * from "./deleteallchats.js";
8
9
  export * from "./deletechatfiles.js";
9
10
  export * from "./deletechats.js";
@@ -12,6 +12,7 @@ import { clientCollectionsCreate } from "../funcs/clientCollectionsCreate.js";
12
12
  import { combineSignals } from "../lib/primitives.js";
13
13
  import { RequestOptions } from "../lib/sdks.js";
14
14
  import * as components from "../models/components/index.js";
15
+ import * as operations from "../models/operations/index.js";
15
16
  import { unwrapAsync } from "../types/fp.js";
16
17
  import { useGleanContext } from "./_context.js";
17
18
  import { MutationHookOptions } from "./_types.js";
@@ -22,7 +23,7 @@ export type ClientCollectionsCreateMutationVariables = {
22
23
  };
23
24
 
24
25
  export type ClientCollectionsCreateMutationData =
25
- components.CreateCollectionResponse;
26
+ operations.CreatecollectionResponse;
26
27
 
27
28
  /**
28
29
  * Create Collection
@@ -27,7 +27,7 @@ export type IndexingAuthenticationRotateTokenMutationData =
27
27
  * Rotate token
28
28
  *
29
29
  * @remarks
30
- * 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.
30
+ * 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.
31
31
  */
32
32
  export function useIndexingAuthenticationRotateTokenMutation(
33
33
  options?: MutationHookOptions<
@@ -30,7 +30,7 @@ export type IndexingDatasourceStatusMutationData =
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 useIndexingDatasourceStatusMutation(
36
36
  options?: MutationHookOptions<
@@ -27,7 +27,7 @@ export type IndexingDocumentsBulkIndexMutationData = void;
27
27
  * Bulk index documents
28
28
  *
29
29
  * @remarks
30
- * 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.
30
+ * 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.
31
31
  */
32
32
  export function useIndexingDocumentsBulkIndexMutation(
33
33
  options?: MutationHookOptions<
@@ -30,7 +30,7 @@ export type IndexingDocumentsCheckAccessMutationData =
30
30
  * @remarks
31
31
  * Check if a given user has access to access a document in a custom datasource
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 useIndexingDocumentsCheckAccessMutation(
36
36
  options?: MutationHookOptions<
@@ -30,7 +30,7 @@ export type IndexingDocumentsCountMutationData =
30
30
  * @remarks
31
31
  * Fetches document count for the specified custom datasource.
32
32
  *
33
- * Tip: Use [/debug/{datasource}/status](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-status) for richer information.
33
+ * Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
34
34
  *
35
35
  * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
36
36
  */
@@ -31,7 +31,7 @@ export type IndexingDocumentsDebugMutationData =
31
31
  * @remarks
32
32
  * Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.
33
33
  *
34
- * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
34
+ * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
35
35
  */
36
36
  export function useIndexingDocumentsDebugMutation(
37
37
  options?: MutationHookOptions<
@@ -31,7 +31,7 @@ export type IndexingDocumentsDebugManyMutationData =
31
31
  * @remarks
32
32
  * Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice.
33
33
  *
34
- * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
34
+ * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
35
35
  */
36
36
  export function useIndexingDocumentsDebugManyMutation(
37
37
  options?: MutationHookOptions<
@@ -27,7 +27,7 @@ export type IndexingDocumentsIndexMutationData = void;
27
27
  * Index documents
28
28
  *
29
29
  * @remarks
30
- * 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.
30
+ * 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.
31
31
  */
32
32
  export function useIndexingDocumentsIndexMutation(
33
33
  options?: MutationHookOptions<
@@ -30,7 +30,7 @@ export type IndexingDocumentsStatusMutationData =
30
30
  * @remarks
31
31
  * Intended for debugging/validation. Fetches the current upload and indexing status of documents.
32
32
  *
33
- * Tip: Use [/debug/{datasource}/document](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-document) for richer information.
33
+ * Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information.
34
34
  *
35
35
  * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
36
36
  */
@@ -27,7 +27,7 @@ export type IndexingPeopleBulkIndexMutationData = void;
27
27
  * Bulk index employees
28
28
  *
29
29
  * @remarks
30
- * 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.
30
+ * 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.
31
31
  */
32
32
  export function useIndexingPeopleBulkIndexMutation(
33
33
  options?: MutationHookOptions<
@@ -27,7 +27,7 @@ export type IndexingPeopleBulkIndexTeamsMutationData = void;
27
27
  * Bulk index teams
28
28
  *
29
29
  * @remarks
30
- * 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.
30
+ * 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.
31
31
  */
32
32
  export function useIndexingPeopleBulkIndexTeamsMutation(
33
33
  options?: MutationHookOptions<
@@ -29,7 +29,7 @@ export type IndexingPeopleCountMutationData = components.GetUserCountResponse;
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 @@ export type IndexingPeopleDebugMutationData = components.DebugUserResponse;
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 useIndexingPeopleDebugMutation(
36
36
  options?: MutationHookOptions<
@@ -27,7 +27,7 @@ export type IndexingPermissionsBulkIndexGroupsMutationData = void;
27
27
  * Bulk index groups
28
28
  *
29
29
  * @remarks
30
- * 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.
30
+ * 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.
31
31
  */
32
32
  export function useIndexingPermissionsBulkIndexGroupsMutation(
33
33
  options?: MutationHookOptions<
@@ -27,7 +27,7 @@ export type IndexingPermissionsBulkIndexMembershipsMutationData = void;
27
27
  * Bulk index memberships for a group
28
28
  *
29
29
  * @remarks
30
- * 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.
30
+ * 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.
31
31
  */
32
32
  export function useIndexingPermissionsBulkIndexMembershipsMutation(
33
33
  options?: MutationHookOptions<
@@ -27,7 +27,7 @@ export type IndexingPermissionsBulkIndexUsersMutationData = void;
27
27
  * Bulk index users
28
28
  *
29
29
  * @remarks
30
- * 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.
30
+ * 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.
31
31
  */
32
32
  export function useIndexingPermissionsBulkIndexUsersMutation(
33
33
  options?: MutationHookOptions<
@@ -12,6 +12,7 @@ import { clientCollectionsUpdate } from "../funcs/clientCollectionsUpdate.js";
12
12
  import { clientCollectionsUpdateItem } from "../funcs/clientCollectionsUpdateItem.js";
13
13
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
14
14
  import * as components from "../models/components/index.js";
15
+ import * as operations from "../models/operations/index.js";
15
16
  import { unwrapAsync } from "../types/fp.js";
16
17
 
17
18
  export class Collections extends ClientSDK {
@@ -41,7 +42,7 @@ export class Collections extends ClientSDK {
41
42
  async create(
42
43
  request: components.CreateCollectionRequest,
43
44
  options?: RequestOptions,
44
- ): Promise<components.CreateCollectionResponse> {
45
+ ): Promise<operations.CreatecollectionResponse> {
45
46
  return unwrapAsync(clientCollectionsCreate(
46
47
  this,
47
48
  request,
@@ -14,7 +14,7 @@ export class Datasource extends ClientSDK {
14
14
  * @remarks
15
15
  * Gather information about the datasource's overall status. Currently in beta, might undergo breaking changes without prior notice.
16
16
  *
17
- * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
17
+ * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
18
18
  */
19
19
  async status(
20
20
  datasource: string,
@@ -12,7 +12,7 @@ export class IndexingAuthentication extends ClientSDK {
12
12
  * Rotate token
13
13
  *
14
14
  * @remarks
15
- * 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.
15
+ * 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.
16
16
  */
17
17
  async rotateToken(
18
18
  options?: RequestOptions,
@@ -38,7 +38,7 @@ export class IndexingDocuments extends ClientSDK {
38
38
  * Index documents
39
39
  *
40
40
  * @remarks
41
- * 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.
41
+ * 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.
42
42
  */
43
43
  async index(
44
44
  request: components.IndexDocumentsRequest,
@@ -55,7 +55,7 @@ export class IndexingDocuments extends ClientSDK {
55
55
  * Bulk index documents
56
56
  *
57
57
  * @remarks
58
- * 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.
58
+ * 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.
59
59
  */
60
60
  async bulkIndex(
61
61
  request: components.BulkIndexDocumentsRequest,
@@ -118,7 +118,7 @@ export class IndexingDocuments extends ClientSDK {
118
118
  * @remarks
119
119
  * Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.
120
120
  *
121
- * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
121
+ * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
122
122
  */
123
123
  async debug(
124
124
  debugDocumentRequest: components.DebugDocumentRequest,
@@ -139,7 +139,7 @@ export class IndexingDocuments extends ClientSDK {
139
139
  * @remarks
140
140
  * Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice.
141
141
  *
142
- * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
142
+ * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
143
143
  */
144
144
  async debugMany(
145
145
  debugDocumentsRequest: components.DebugDocumentsRequest,
@@ -160,7 +160,7 @@ export class IndexingDocuments extends ClientSDK {
160
160
  * @remarks
161
161
  * Check if a given user has access to access a document in a custom datasource
162
162
  *
163
- * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
163
+ * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
164
164
  */
165
165
  async checkAccess(
166
166
  request: components.CheckDocumentAccessRequest,
@@ -179,7 +179,7 @@ export class IndexingDocuments extends ClientSDK {
179
179
  * @remarks
180
180
  * Intended for debugging/validation. Fetches the current upload and indexing status of documents.
181
181
  *
182
- * Tip: Use [/debug/{datasource}/document](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-document) for richer information.
182
+ * Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information.
183
183
  *
184
184
  * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
185
185
  */
@@ -200,7 +200,7 @@ export class IndexingDocuments extends ClientSDK {
200
200
  * @remarks
201
201
  * Fetches document count for the specified custom datasource.
202
202
  *
203
- * Tip: Use [/debug/{datasource}/status](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-status) for richer information.
203
+ * Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
204
204
  *
205
205
  * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
206
206
  */