@gleanwork/api-client 0.8.1 → 0.9.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 (303) hide show
  1. package/dist/commonjs/funcs/indexingAuthenticationRotateToken.d.ts +1 -1
  2. package/dist/commonjs/funcs/indexingAuthenticationRotateToken.js +1 -1
  3. package/dist/commonjs/funcs/indexingDatasourceStatus.d.ts +1 -1
  4. package/dist/commonjs/funcs/indexingDatasourceStatus.js +1 -1
  5. package/dist/commonjs/funcs/indexingDocumentsBulkIndex.d.ts +1 -1
  6. package/dist/commonjs/funcs/indexingDocumentsBulkIndex.js +1 -1
  7. package/dist/commonjs/funcs/indexingDocumentsCheckAccess.d.ts +1 -1
  8. package/dist/commonjs/funcs/indexingDocumentsCheckAccess.js +1 -1
  9. package/dist/commonjs/funcs/indexingDocumentsCount.d.ts +1 -1
  10. package/dist/commonjs/funcs/indexingDocumentsCount.js +1 -1
  11. package/dist/commonjs/funcs/indexingDocumentsDebug.d.ts +1 -1
  12. package/dist/commonjs/funcs/indexingDocumentsDebug.js +1 -1
  13. package/dist/commonjs/funcs/indexingDocumentsDebugMany.d.ts +1 -1
  14. package/dist/commonjs/funcs/indexingDocumentsDebugMany.js +1 -1
  15. package/dist/commonjs/funcs/indexingDocumentsIndex.d.ts +1 -1
  16. package/dist/commonjs/funcs/indexingDocumentsIndex.js +1 -1
  17. package/dist/commonjs/funcs/indexingDocumentsStatus.d.ts +1 -1
  18. package/dist/commonjs/funcs/indexingDocumentsStatus.js +1 -1
  19. package/dist/commonjs/funcs/indexingPeopleBulkIndex.d.ts +1 -1
  20. package/dist/commonjs/funcs/indexingPeopleBulkIndex.js +1 -1
  21. package/dist/commonjs/funcs/indexingPeopleBulkIndexTeams.d.ts +1 -1
  22. package/dist/commonjs/funcs/indexingPeopleBulkIndexTeams.js +1 -1
  23. package/dist/commonjs/funcs/indexingPeopleCount.d.ts +1 -1
  24. package/dist/commonjs/funcs/indexingPeopleCount.js +1 -1
  25. package/dist/commonjs/funcs/indexingPeopleDebug.d.ts +1 -1
  26. package/dist/commonjs/funcs/indexingPeopleDebug.js +1 -1
  27. package/dist/commonjs/funcs/indexingPermissionsBulkIndexGroups.d.ts +1 -1
  28. package/dist/commonjs/funcs/indexingPermissionsBulkIndexGroups.js +1 -1
  29. package/dist/commonjs/funcs/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
  30. package/dist/commonjs/funcs/indexingPermissionsBulkIndexMemberships.js +1 -1
  31. package/dist/commonjs/funcs/indexingPermissionsBulkIndexUsers.d.ts +1 -1
  32. package/dist/commonjs/funcs/indexingPermissionsBulkIndexUsers.js +1 -1
  33. package/dist/commonjs/lib/config.d.ts +2 -2
  34. package/dist/commonjs/lib/config.js +2 -2
  35. package/dist/commonjs/models/components/authconfig.d.ts +3 -0
  36. package/dist/commonjs/models/components/authconfig.d.ts.map +1 -1
  37. package/dist/commonjs/models/components/authconfig.js +1 -0
  38. package/dist/commonjs/models/components/authconfig.js.map +1 -1
  39. package/dist/commonjs/models/components/chatmessage.js +2 -2
  40. package/dist/commonjs/models/components/chatmessage.js.map +1 -1
  41. package/dist/commonjs/models/components/chatmessagefragment.d.ts +6 -0
  42. package/dist/commonjs/models/components/chatmessagefragment.d.ts.map +1 -1
  43. package/dist/commonjs/models/components/chatmessagefragment.js +3 -0
  44. package/dist/commonjs/models/components/chatmessagefragment.js.map +1 -1
  45. package/dist/commonjs/models/components/chatrequest.d.ts +1 -1
  46. package/dist/commonjs/models/components/documentdefinition.d.ts +1 -1
  47. package/dist/commonjs/models/components/feedback.d.ts +6 -0
  48. package/dist/commonjs/models/components/feedback.d.ts.map +1 -1
  49. package/dist/commonjs/models/components/feedback.js +6 -0
  50. package/dist/commonjs/models/components/feedback.js.map +1 -1
  51. package/dist/commonjs/models/components/generatedqna.js +2 -2
  52. package/dist/commonjs/models/components/generatedqna.js.map +1 -1
  53. package/dist/commonjs/models/components/index.d.ts +2 -0
  54. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  55. package/dist/commonjs/models/components/index.js +2 -0
  56. package/dist/commonjs/models/components/index.js.map +1 -1
  57. package/dist/commonjs/models/components/manualfeedbackinfo.d.ts +8 -8
  58. package/dist/commonjs/models/components/manualfeedbackinfo.d.ts.map +1 -1
  59. package/dist/commonjs/models/components/manualfeedbackinfo.js +13 -13
  60. package/dist/commonjs/models/components/manualfeedbackinfo.js.map +1 -1
  61. package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.d.ts +137 -0
  62. package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.d.ts.map +1 -0
  63. package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.js +130 -0
  64. package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.js.map +1 -0
  65. package/dist/commonjs/models/components/searchrequest.d.ts +0 -6
  66. package/dist/commonjs/models/components/searchrequest.d.ts.map +1 -1
  67. package/dist/commonjs/models/components/searchrequest.js +0 -3
  68. package/dist/commonjs/models/components/searchrequest.js.map +1 -1
  69. package/dist/commonjs/models/components/searchresponsemetadata.d.ts +5 -0
  70. package/dist/commonjs/models/components/searchresponsemetadata.d.ts.map +1 -1
  71. package/dist/commonjs/models/components/searchresponsemetadata.js +2 -0
  72. package/dist/commonjs/models/components/searchresponsemetadata.js.map +1 -1
  73. package/dist/commonjs/models/components/sidebysideimplementation.d.ts +97 -0
  74. package/dist/commonjs/models/components/sidebysideimplementation.d.ts.map +1 -0
  75. package/dist/commonjs/models/components/sidebysideimplementation.js +108 -0
  76. package/dist/commonjs/models/components/sidebysideimplementation.js.map +1 -0
  77. package/dist/commonjs/models/components/structuredresult.d.ts +3 -0
  78. package/dist/commonjs/models/components/structuredresult.d.ts.map +1 -1
  79. package/dist/commonjs/models/components/structuredresult.js +3 -0
  80. package/dist/commonjs/models/components/structuredresult.js.map +1 -1
  81. package/dist/commonjs/react-query/indexingAuthenticationRotateToken.d.ts +1 -1
  82. package/dist/commonjs/react-query/indexingAuthenticationRotateToken.js +1 -1
  83. package/dist/commonjs/react-query/indexingDatasourceStatus.d.ts +1 -1
  84. package/dist/commonjs/react-query/indexingDatasourceStatus.js +1 -1
  85. package/dist/commonjs/react-query/indexingDocumentsBulkIndex.d.ts +1 -1
  86. package/dist/commonjs/react-query/indexingDocumentsBulkIndex.js +1 -1
  87. package/dist/commonjs/react-query/indexingDocumentsCheckAccess.d.ts +1 -1
  88. package/dist/commonjs/react-query/indexingDocumentsCheckAccess.js +1 -1
  89. package/dist/commonjs/react-query/indexingDocumentsCount.d.ts +1 -1
  90. package/dist/commonjs/react-query/indexingDocumentsCount.js +1 -1
  91. package/dist/commonjs/react-query/indexingDocumentsDebug.d.ts +1 -1
  92. package/dist/commonjs/react-query/indexingDocumentsDebug.js +1 -1
  93. package/dist/commonjs/react-query/indexingDocumentsDebugMany.d.ts +1 -1
  94. package/dist/commonjs/react-query/indexingDocumentsDebugMany.js +1 -1
  95. package/dist/commonjs/react-query/indexingDocumentsIndex.d.ts +1 -1
  96. package/dist/commonjs/react-query/indexingDocumentsIndex.js +1 -1
  97. package/dist/commonjs/react-query/indexingDocumentsStatus.d.ts +1 -1
  98. package/dist/commonjs/react-query/indexingDocumentsStatus.js +1 -1
  99. package/dist/commonjs/react-query/indexingPeopleBulkIndex.d.ts +1 -1
  100. package/dist/commonjs/react-query/indexingPeopleBulkIndex.js +1 -1
  101. package/dist/commonjs/react-query/indexingPeopleBulkIndexTeams.d.ts +1 -1
  102. package/dist/commonjs/react-query/indexingPeopleBulkIndexTeams.js +1 -1
  103. package/dist/commonjs/react-query/indexingPeopleCount.d.ts +1 -1
  104. package/dist/commonjs/react-query/indexingPeopleCount.js +1 -1
  105. package/dist/commonjs/react-query/indexingPeopleDebug.d.ts +1 -1
  106. package/dist/commonjs/react-query/indexingPeopleDebug.js +1 -1
  107. package/dist/commonjs/react-query/indexingPermissionsBulkIndexGroups.d.ts +1 -1
  108. package/dist/commonjs/react-query/indexingPermissionsBulkIndexGroups.js +1 -1
  109. package/dist/commonjs/react-query/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
  110. package/dist/commonjs/react-query/indexingPermissionsBulkIndexMemberships.js +1 -1
  111. package/dist/commonjs/react-query/indexingPermissionsBulkIndexUsers.d.ts +1 -1
  112. package/dist/commonjs/react-query/indexingPermissionsBulkIndexUsers.js +1 -1
  113. package/dist/commonjs/sdk/datasource.d.ts +1 -1
  114. package/dist/commonjs/sdk/datasource.js +1 -1
  115. package/dist/commonjs/sdk/indexingauthentication.d.ts +1 -1
  116. package/dist/commonjs/sdk/indexingauthentication.js +1 -1
  117. package/dist/commonjs/sdk/indexingdocuments.d.ts +7 -7
  118. package/dist/commonjs/sdk/indexingdocuments.js +7 -7
  119. package/dist/commonjs/sdk/people.d.ts +4 -4
  120. package/dist/commonjs/sdk/people.js +4 -4
  121. package/dist/commonjs/sdk/permissions.d.ts +3 -3
  122. package/dist/commonjs/sdk/permissions.js +3 -3
  123. package/dist/esm/funcs/indexingAuthenticationRotateToken.d.ts +1 -1
  124. package/dist/esm/funcs/indexingAuthenticationRotateToken.js +1 -1
  125. package/dist/esm/funcs/indexingDatasourceStatus.d.ts +1 -1
  126. package/dist/esm/funcs/indexingDatasourceStatus.js +1 -1
  127. package/dist/esm/funcs/indexingDocumentsBulkIndex.d.ts +1 -1
  128. package/dist/esm/funcs/indexingDocumentsBulkIndex.js +1 -1
  129. package/dist/esm/funcs/indexingDocumentsCheckAccess.d.ts +1 -1
  130. package/dist/esm/funcs/indexingDocumentsCheckAccess.js +1 -1
  131. package/dist/esm/funcs/indexingDocumentsCount.d.ts +1 -1
  132. package/dist/esm/funcs/indexingDocumentsCount.js +1 -1
  133. package/dist/esm/funcs/indexingDocumentsDebug.d.ts +1 -1
  134. package/dist/esm/funcs/indexingDocumentsDebug.js +1 -1
  135. package/dist/esm/funcs/indexingDocumentsDebugMany.d.ts +1 -1
  136. package/dist/esm/funcs/indexingDocumentsDebugMany.js +1 -1
  137. package/dist/esm/funcs/indexingDocumentsIndex.d.ts +1 -1
  138. package/dist/esm/funcs/indexingDocumentsIndex.js +1 -1
  139. package/dist/esm/funcs/indexingDocumentsStatus.d.ts +1 -1
  140. package/dist/esm/funcs/indexingDocumentsStatus.js +1 -1
  141. package/dist/esm/funcs/indexingPeopleBulkIndex.d.ts +1 -1
  142. package/dist/esm/funcs/indexingPeopleBulkIndex.js +1 -1
  143. package/dist/esm/funcs/indexingPeopleBulkIndexTeams.d.ts +1 -1
  144. package/dist/esm/funcs/indexingPeopleBulkIndexTeams.js +1 -1
  145. package/dist/esm/funcs/indexingPeopleCount.d.ts +1 -1
  146. package/dist/esm/funcs/indexingPeopleCount.js +1 -1
  147. package/dist/esm/funcs/indexingPeopleDebug.d.ts +1 -1
  148. package/dist/esm/funcs/indexingPeopleDebug.js +1 -1
  149. package/dist/esm/funcs/indexingPermissionsBulkIndexGroups.d.ts +1 -1
  150. package/dist/esm/funcs/indexingPermissionsBulkIndexGroups.js +1 -1
  151. package/dist/esm/funcs/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
  152. package/dist/esm/funcs/indexingPermissionsBulkIndexMemberships.js +1 -1
  153. package/dist/esm/funcs/indexingPermissionsBulkIndexUsers.d.ts +1 -1
  154. package/dist/esm/funcs/indexingPermissionsBulkIndexUsers.js +1 -1
  155. package/dist/esm/lib/config.d.ts +2 -2
  156. package/dist/esm/lib/config.js +2 -2
  157. package/dist/esm/models/components/authconfig.d.ts +3 -0
  158. package/dist/esm/models/components/authconfig.d.ts.map +1 -1
  159. package/dist/esm/models/components/authconfig.js +1 -0
  160. package/dist/esm/models/components/authconfig.js.map +1 -1
  161. package/dist/esm/models/components/chatmessage.js +2 -2
  162. package/dist/esm/models/components/chatmessage.js.map +1 -1
  163. package/dist/esm/models/components/chatmessagefragment.d.ts +6 -0
  164. package/dist/esm/models/components/chatmessagefragment.d.ts.map +1 -1
  165. package/dist/esm/models/components/chatmessagefragment.js +3 -0
  166. package/dist/esm/models/components/chatmessagefragment.js.map +1 -1
  167. package/dist/esm/models/components/chatrequest.d.ts +1 -1
  168. package/dist/esm/models/components/documentdefinition.d.ts +1 -1
  169. package/dist/esm/models/components/feedback.d.ts +6 -0
  170. package/dist/esm/models/components/feedback.d.ts.map +1 -1
  171. package/dist/esm/models/components/feedback.js +6 -0
  172. package/dist/esm/models/components/feedback.js.map +1 -1
  173. package/dist/esm/models/components/generatedqna.js +2 -2
  174. package/dist/esm/models/components/generatedqna.js.map +1 -1
  175. package/dist/esm/models/components/index.d.ts +2 -0
  176. package/dist/esm/models/components/index.d.ts.map +1 -1
  177. package/dist/esm/models/components/index.js +2 -0
  178. package/dist/esm/models/components/index.js.map +1 -1
  179. package/dist/esm/models/components/manualfeedbackinfo.d.ts +8 -8
  180. package/dist/esm/models/components/manualfeedbackinfo.d.ts.map +1 -1
  181. package/dist/esm/models/components/manualfeedbackinfo.js +12 -12
  182. package/dist/esm/models/components/manualfeedbackinfo.js.map +1 -1
  183. package/dist/esm/models/components/manualfeedbacksidebysideinfo.d.ts +137 -0
  184. package/dist/esm/models/components/manualfeedbacksidebysideinfo.d.ts.map +1 -0
  185. package/dist/esm/models/components/manualfeedbacksidebysideinfo.js +92 -0
  186. package/dist/esm/models/components/manualfeedbacksidebysideinfo.js.map +1 -0
  187. package/dist/esm/models/components/searchrequest.d.ts +0 -6
  188. package/dist/esm/models/components/searchrequest.d.ts.map +1 -1
  189. package/dist/esm/models/components/searchrequest.js +0 -3
  190. package/dist/esm/models/components/searchrequest.js.map +1 -1
  191. package/dist/esm/models/components/searchresponsemetadata.d.ts +5 -0
  192. package/dist/esm/models/components/searchresponsemetadata.d.ts.map +1 -1
  193. package/dist/esm/models/components/searchresponsemetadata.js +2 -0
  194. package/dist/esm/models/components/searchresponsemetadata.js.map +1 -1
  195. package/dist/esm/models/components/sidebysideimplementation.d.ts +97 -0
  196. package/dist/esm/models/components/sidebysideimplementation.d.ts.map +1 -0
  197. package/dist/esm/models/components/sidebysideimplementation.js +68 -0
  198. package/dist/esm/models/components/sidebysideimplementation.js.map +1 -0
  199. package/dist/esm/models/components/structuredresult.d.ts +3 -0
  200. package/dist/esm/models/components/structuredresult.d.ts.map +1 -1
  201. package/dist/esm/models/components/structuredresult.js +3 -0
  202. package/dist/esm/models/components/structuredresult.js.map +1 -1
  203. package/dist/esm/react-query/indexingAuthenticationRotateToken.d.ts +1 -1
  204. package/dist/esm/react-query/indexingAuthenticationRotateToken.js +1 -1
  205. package/dist/esm/react-query/indexingDatasourceStatus.d.ts +1 -1
  206. package/dist/esm/react-query/indexingDatasourceStatus.js +1 -1
  207. package/dist/esm/react-query/indexingDocumentsBulkIndex.d.ts +1 -1
  208. package/dist/esm/react-query/indexingDocumentsBulkIndex.js +1 -1
  209. package/dist/esm/react-query/indexingDocumentsCheckAccess.d.ts +1 -1
  210. package/dist/esm/react-query/indexingDocumentsCheckAccess.js +1 -1
  211. package/dist/esm/react-query/indexingDocumentsCount.d.ts +1 -1
  212. package/dist/esm/react-query/indexingDocumentsCount.js +1 -1
  213. package/dist/esm/react-query/indexingDocumentsDebug.d.ts +1 -1
  214. package/dist/esm/react-query/indexingDocumentsDebug.js +1 -1
  215. package/dist/esm/react-query/indexingDocumentsDebugMany.d.ts +1 -1
  216. package/dist/esm/react-query/indexingDocumentsDebugMany.js +1 -1
  217. package/dist/esm/react-query/indexingDocumentsIndex.d.ts +1 -1
  218. package/dist/esm/react-query/indexingDocumentsIndex.js +1 -1
  219. package/dist/esm/react-query/indexingDocumentsStatus.d.ts +1 -1
  220. package/dist/esm/react-query/indexingDocumentsStatus.js +1 -1
  221. package/dist/esm/react-query/indexingPeopleBulkIndex.d.ts +1 -1
  222. package/dist/esm/react-query/indexingPeopleBulkIndex.js +1 -1
  223. package/dist/esm/react-query/indexingPeopleBulkIndexTeams.d.ts +1 -1
  224. package/dist/esm/react-query/indexingPeopleBulkIndexTeams.js +1 -1
  225. package/dist/esm/react-query/indexingPeopleCount.d.ts +1 -1
  226. package/dist/esm/react-query/indexingPeopleCount.js +1 -1
  227. package/dist/esm/react-query/indexingPeopleDebug.d.ts +1 -1
  228. package/dist/esm/react-query/indexingPeopleDebug.js +1 -1
  229. package/dist/esm/react-query/indexingPermissionsBulkIndexGroups.d.ts +1 -1
  230. package/dist/esm/react-query/indexingPermissionsBulkIndexGroups.js +1 -1
  231. package/dist/esm/react-query/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
  232. package/dist/esm/react-query/indexingPermissionsBulkIndexMemberships.js +1 -1
  233. package/dist/esm/react-query/indexingPermissionsBulkIndexUsers.d.ts +1 -1
  234. package/dist/esm/react-query/indexingPermissionsBulkIndexUsers.js +1 -1
  235. package/dist/esm/sdk/datasource.d.ts +1 -1
  236. package/dist/esm/sdk/datasource.js +1 -1
  237. package/dist/esm/sdk/indexingauthentication.d.ts +1 -1
  238. package/dist/esm/sdk/indexingauthentication.js +1 -1
  239. package/dist/esm/sdk/indexingdocuments.d.ts +7 -7
  240. package/dist/esm/sdk/indexingdocuments.js +7 -7
  241. package/dist/esm/sdk/people.d.ts +4 -4
  242. package/dist/esm/sdk/people.js +4 -4
  243. package/dist/esm/sdk/permissions.d.ts +3 -3
  244. package/dist/esm/sdk/permissions.js +3 -3
  245. package/docs/sdks/datasource/README.md +1 -1
  246. package/docs/sdks/indexingauthentication/README.md +1 -1
  247. package/docs/sdks/indexingdocuments/README.md +7 -7
  248. package/docs/sdks/people/README.md +4 -4
  249. package/docs/sdks/permissions/README.md +3 -3
  250. package/jsr.json +1 -1
  251. package/package.json +1 -1
  252. package/src/funcs/indexingAuthenticationRotateToken.ts +1 -1
  253. package/src/funcs/indexingDatasourceStatus.ts +1 -1
  254. package/src/funcs/indexingDocumentsBulkIndex.ts +1 -1
  255. package/src/funcs/indexingDocumentsCheckAccess.ts +1 -1
  256. package/src/funcs/indexingDocumentsCount.ts +1 -1
  257. package/src/funcs/indexingDocumentsDebug.ts +1 -1
  258. package/src/funcs/indexingDocumentsDebugMany.ts +1 -1
  259. package/src/funcs/indexingDocumentsIndex.ts +1 -1
  260. package/src/funcs/indexingDocumentsStatus.ts +1 -1
  261. package/src/funcs/indexingPeopleBulkIndex.ts +1 -1
  262. package/src/funcs/indexingPeopleBulkIndexTeams.ts +1 -1
  263. package/src/funcs/indexingPeopleCount.ts +1 -1
  264. package/src/funcs/indexingPeopleDebug.ts +1 -1
  265. package/src/funcs/indexingPermissionsBulkIndexGroups.ts +1 -1
  266. package/src/funcs/indexingPermissionsBulkIndexMemberships.ts +1 -1
  267. package/src/funcs/indexingPermissionsBulkIndexUsers.ts +1 -1
  268. package/src/lib/config.ts +2 -2
  269. package/src/models/components/authconfig.ts +1 -0
  270. package/src/models/components/chatmessage.ts +2 -2
  271. package/src/models/components/chatmessagefragment.ts +13 -0
  272. package/src/models/components/chatrequest.ts +1 -1
  273. package/src/models/components/documentdefinition.ts +1 -1
  274. package/src/models/components/feedback.ts +15 -0
  275. package/src/models/components/generatedqna.ts +2 -2
  276. package/src/models/components/index.ts +2 -0
  277. package/src/models/components/manualfeedbackinfo.ts +16 -15
  278. package/src/models/components/manualfeedbacksidebysideinfo.ts +200 -0
  279. package/src/models/components/searchrequest.ts +0 -13
  280. package/src/models/components/searchresponsemetadata.ts +7 -0
  281. package/src/models/components/sidebysideimplementation.ts +175 -0
  282. package/src/models/components/structuredresult.ts +10 -0
  283. package/src/react-query/indexingAuthenticationRotateToken.ts +1 -1
  284. package/src/react-query/indexingDatasourceStatus.ts +1 -1
  285. package/src/react-query/indexingDocumentsBulkIndex.ts +1 -1
  286. package/src/react-query/indexingDocumentsCheckAccess.ts +1 -1
  287. package/src/react-query/indexingDocumentsCount.ts +1 -1
  288. package/src/react-query/indexingDocumentsDebug.ts +1 -1
  289. package/src/react-query/indexingDocumentsDebugMany.ts +1 -1
  290. package/src/react-query/indexingDocumentsIndex.ts +1 -1
  291. package/src/react-query/indexingDocumentsStatus.ts +1 -1
  292. package/src/react-query/indexingPeopleBulkIndex.ts +1 -1
  293. package/src/react-query/indexingPeopleBulkIndexTeams.ts +1 -1
  294. package/src/react-query/indexingPeopleCount.ts +1 -1
  295. package/src/react-query/indexingPeopleDebug.ts +1 -1
  296. package/src/react-query/indexingPermissionsBulkIndexGroups.ts +1 -1
  297. package/src/react-query/indexingPermissionsBulkIndexMemberships.ts +1 -1
  298. package/src/react-query/indexingPermissionsBulkIndexUsers.ts +1 -1
  299. package/src/sdk/datasource.ts +1 -1
  300. package/src/sdk/indexingauthentication.ts +1 -1
  301. package/src/sdk/indexingdocuments.ts +7 -7
  302. package/src/sdk/people.ts +4 -4
  303. package/src/sdk/permissions.ts +3 -3
@@ -115,7 +115,7 @@ import {
115
115
 
116
116
  ## index
117
117
 
118
- 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.
118
+ 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.
119
119
 
120
120
  ### Example Usage
121
121
 
@@ -208,7 +208,7 @@ import {
208
208
 
209
209
  ## bulkIndex
210
210
 
211
- 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.
211
+ 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.
212
212
 
213
213
  ### Example Usage
214
214
 
@@ -498,7 +498,7 @@ import {
498
498
 
499
499
  Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.
500
500
 
501
- Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
501
+ Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
502
502
 
503
503
 
504
504
  ### Example Usage
@@ -597,7 +597,7 @@ import {
597
597
 
598
598
  Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice.
599
599
 
600
- Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
600
+ Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
601
601
 
602
602
 
603
603
  ### Example Usage
@@ -704,7 +704,7 @@ import {
704
704
 
705
705
  Check if a given user has access to access a document in a custom datasource
706
706
 
707
- Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
707
+ Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
708
708
 
709
709
 
710
710
  ### Example Usage
@@ -806,7 +806,7 @@ import {
806
806
 
807
807
  Intended for debugging/validation. Fetches the current upload and indexing status of documents.
808
808
 
809
- Tip: Use [/debug/{datasource}/document](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-document) for richer information.
809
+ Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information.
810
810
 
811
811
 
812
812
  > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.
@@ -908,7 +908,7 @@ import {
908
908
 
909
909
  Fetches document count for the specified custom datasource.
910
910
 
911
- Tip: Use [/debug/{datasource}/status](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-status) for richer information.
911
+ Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
912
912
 
913
913
 
914
914
  > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.
@@ -20,7 +20,7 @@
20
20
 
21
21
  Gives various information that would help in debugging related to a particular user. Currently in beta, might undergo breaking changes without prior notice.
22
22
 
23
- Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
23
+ Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
24
24
 
25
25
 
26
26
  ### Example Usage
@@ -117,7 +117,7 @@ import {
117
117
 
118
118
  Fetches user count for the specified custom datasource.
119
119
 
120
- Tip: Use [/debug/{datasource}/status](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-status) for richer information.
120
+ Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
121
121
 
122
122
 
123
123
  > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.
@@ -322,7 +322,7 @@ import {
322
322
 
323
323
  ## bulkIndex
324
324
 
325
- 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.
325
+ 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.
326
326
 
327
327
  ### Example Usage
328
328
 
@@ -881,7 +881,7 @@ import {
881
881
 
882
882
  ## bulkIndexTeams
883
883
 
884
- 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.
884
+ 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.
885
885
 
886
886
  ### Example Usage
887
887
 
@@ -212,7 +212,7 @@ import {
212
212
 
213
213
  ## bulkIndexUsers
214
214
 
215
- 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.
215
+ 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.
216
216
 
217
217
  ### Example Usage
218
218
 
@@ -430,7 +430,7 @@ import {
430
430
 
431
431
  ## bulkIndexGroups
432
432
 
433
- 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.
433
+ 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.
434
434
 
435
435
  ### Example Usage
436
436
 
@@ -636,7 +636,7 @@ import {
636
636
 
637
637
  ## bulkIndexMemberships
638
638
 
639
- 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.
639
+ 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.
640
640
 
641
641
  ### Example Usage
642
642
 
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@gleanwork/api-client",
5
- "version": "0.8.1",
5
+ "version": "0.9.1",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gleanwork/api-client",
3
- "version": "0.8.1",
3
+ "version": "0.9.1",
4
4
  "author": "Speakeasy",
5
5
  "type": "module",
6
6
  "tshy": {
@@ -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.9.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.9.1 2.610.0 0.9.0 @gleanwork/api-client",
71
71
  } as const;
@@ -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.
@@ -140,7 +140,7 @@ export const ChatMessage$inboundSchema: z.ZodType<
140
140
  unknown
141
141
  > = z.object({
142
142
  agentConfig: AgentConfig$inboundSchema.optional(),
143
- author: Author$inboundSchema.default("USER"),
143
+ author: Author$inboundSchema.default("GLEAN_AI"),
144
144
  citations: z.array(ChatMessageCitation$inboundSchema).optional(),
145
145
  uploadedFileIds: z.array(z.string()).optional(),
146
146
  fragments: z.array(ChatMessageFragment$inboundSchema).optional(),
@@ -172,7 +172,7 @@ export const ChatMessage$outboundSchema: z.ZodType<
172
172
  ChatMessage
173
173
  > = z.object({
174
174
  agentConfig: AgentConfig$outboundSchema.optional(),
175
- author: Author$outboundSchema.default("USER"),
175
+ author: Author$outboundSchema.default("GLEAN_AI"),
176
176
  citations: z.array(ChatMessageCitation$outboundSchema).optional(),
177
177
  uploadedFileIds: z.array(z.string()).optional(),
178
178
  fragments: z.array(ChatMessageFragment$outboundSchema).optional(),
@@ -12,6 +12,12 @@ import {
12
12
  ChatFile$Outbound,
13
13
  ChatFile$outboundSchema,
14
14
  } from "./chatfile.js";
15
+ import {
16
+ ChatMessageCitation,
17
+ ChatMessageCitation$inboundSchema,
18
+ ChatMessageCitation$Outbound,
19
+ ChatMessageCitation$outboundSchema,
20
+ } from "./chatmessagecitation.js";
15
21
  import {
16
22
  QuerySuggestion,
17
23
  QuerySuggestion$inboundSchema,
@@ -50,6 +56,10 @@ export type ChatMessageFragment = {
50
56
  */
51
57
  file?: ChatFile | undefined;
52
58
  action?: ToolInfo | undefined;
59
+ /**
60
+ * Information about the source for a ChatMessage.
61
+ */
62
+ citation?: ChatMessageCitation | undefined;
53
63
  };
54
64
 
55
65
  /** @internal */
@@ -64,6 +74,7 @@ export const ChatMessageFragment$inboundSchema: z.ZodType<
64
74
  querySuggestion: QuerySuggestion$inboundSchema.optional(),
65
75
  file: ChatFile$inboundSchema.optional(),
66
76
  action: ToolInfo$inboundSchema.optional(),
77
+ citation: ChatMessageCitation$inboundSchema.optional(),
67
78
  });
68
79
 
69
80
  /** @internal */
@@ -74,6 +85,7 @@ export type ChatMessageFragment$Outbound = {
74
85
  querySuggestion?: QuerySuggestion$Outbound | undefined;
75
86
  file?: ChatFile$Outbound | undefined;
76
87
  action?: ToolInfo$Outbound | undefined;
88
+ citation?: ChatMessageCitation$Outbound | undefined;
77
89
  };
78
90
 
79
91
  /** @internal */
@@ -88,6 +100,7 @@ export const ChatMessageFragment$outboundSchema: z.ZodType<
88
100
  querySuggestion: QuerySuggestion$outboundSchema.optional(),
89
101
  file: ChatFile$outboundSchema.optional(),
90
102
  action: ToolInfo$outboundSchema.optional(),
103
+ citation: ChatMessageCitation$outboundSchema.optional(),
91
104
  });
92
105
 
93
106
  /**
@@ -41,7 +41,7 @@ export type ChatRequest = {
41
41
  */
42
42
  chatId?: string | undefined;
43
43
  /**
44
- * A list of chat messages, from most recent to least recent. It can be assumed that the first chat message in the list is the user's most recent query.
44
+ * A list of chat messages, from most recent to least recent. At least one message must specify a USER author.
45
45
  */
46
46
  messages: Array<ChatMessage>;
47
47
  /**
@@ -132,7 +132,7 @@ export type DocumentDefinition = {
132
132
  */
133
133
  comments?: Array<CommentDefinition> | undefined;
134
134
  /**
135
- * Additional metadata properties of the document. These can surface as [facets and operators](https://developers.glean.com/docs/facets_and_operators_for_custom_datasources/).
135
+ * Additional metadata properties of the document. These can surface as [facets and operators](https://developers.glean.com/indexing/datasource/custom-properties/operators_and_facets).
136
136
  */
137
137
  customProperties?: Array<CustomProperty> | undefined;
138
138
  };
@@ -13,6 +13,12 @@ import {
13
13
  ManualFeedbackInfo$Outbound,
14
14
  ManualFeedbackInfo$outboundSchema,
15
15
  } from "./manualfeedbackinfo.js";
16
+ import {
17
+ ManualFeedbackSideBySideInfo,
18
+ ManualFeedbackSideBySideInfo$inboundSchema,
19
+ ManualFeedbackSideBySideInfo$Outbound,
20
+ ManualFeedbackSideBySideInfo$outboundSchema,
21
+ } from "./manualfeedbacksidebysideinfo.js";
16
22
  import {
17
23
  SeenFeedbackInfo,
18
24
  SeenFeedbackInfo$inboundSchema,
@@ -82,6 +88,7 @@ export const Event = {
82
88
  FocusIn: "FOCUS_IN",
83
89
  LastToken: "LAST_TOKEN",
84
90
  ManualFeedback: "MANUAL_FEEDBACK",
91
+ ManualFeedbackSideBySide: "MANUAL_FEEDBACK_SIDE_BY_SIDE",
85
92
  MarkAsRead: "MARK_AS_READ",
86
93
  Message: "MESSAGE",
87
94
  MiddleClick: "MIDDLE_CLICK",
@@ -162,6 +169,7 @@ export type Feedback = {
162
169
  */
163
170
  uiElement?: string | undefined;
164
171
  manualFeedbackInfo?: ManualFeedbackInfo | undefined;
172
+ manualFeedbackSideBySideInfo?: ManualFeedbackSideBySideInfo | undefined;
165
173
  seenFeedbackInfo?: SeenFeedbackInfo | undefined;
166
174
  userViewInfo?: UserViewInfo | undefined;
167
175
  workflowFeedbackInfo?: WorkflowFeedbackInfo | undefined;
@@ -259,6 +267,8 @@ export const Feedback$inboundSchema: z.ZodType<
259
267
  uiTree: z.array(z.string()).optional(),
260
268
  uiElement: z.string().optional(),
261
269
  manualFeedbackInfo: ManualFeedbackInfo$inboundSchema.optional(),
270
+ manualFeedbackSideBySideInfo: ManualFeedbackSideBySideInfo$inboundSchema
271
+ .optional(),
262
272
  seenFeedbackInfo: SeenFeedbackInfo$inboundSchema.optional(),
263
273
  userViewInfo: UserViewInfo$inboundSchema.optional(),
264
274
  workflowFeedbackInfo: WorkflowFeedbackInfo$inboundSchema.optional(),
@@ -283,6 +293,9 @@ export type Feedback$Outbound = {
283
293
  uiTree?: Array<string> | undefined;
284
294
  uiElement?: string | undefined;
285
295
  manualFeedbackInfo?: ManualFeedbackInfo$Outbound | undefined;
296
+ manualFeedbackSideBySideInfo?:
297
+ | ManualFeedbackSideBySideInfo$Outbound
298
+ | undefined;
286
299
  seenFeedbackInfo?: SeenFeedbackInfo$Outbound | undefined;
287
300
  userViewInfo?: UserViewInfo$Outbound | undefined;
288
301
  workflowFeedbackInfo?: WorkflowFeedbackInfo$Outbound | undefined;
@@ -311,6 +324,8 @@ export const Feedback$outboundSchema: z.ZodType<
311
324
  uiTree: z.array(z.string()).optional(),
312
325
  uiElement: z.string().optional(),
313
326
  manualFeedbackInfo: ManualFeedbackInfo$outboundSchema.optional(),
327
+ manualFeedbackSideBySideInfo: ManualFeedbackSideBySideInfo$outboundSchema
328
+ .optional(),
314
329
  seenFeedbackInfo: SeenFeedbackInfo$outboundSchema.optional(),
315
330
  userViewInfo: UserViewInfo$outboundSchema.optional(),
316
331
  workflowFeedbackInfo: WorkflowFeedbackInfo$outboundSchema.optional(),
@@ -104,7 +104,7 @@ export const GeneratedQna$inboundSchema: z.ZodType<
104
104
  answer: z.string().optional(),
105
105
  followUpPrompts: z.array(z.string()).optional(),
106
106
  followupActions: z.array(FollowupAction$inboundSchema).optional(),
107
- ranges: z.array(TextRange$inboundSchema).optional(),
107
+ ranges: z.array(z.lazy(() => TextRange$inboundSchema)).optional(),
108
108
  status: GeneratedQnaStatus$inboundSchema.optional(),
109
109
  cursor: z.string().optional(),
110
110
  trackingToken: z.string().optional(),
@@ -132,7 +132,7 @@ export const GeneratedQna$outboundSchema: z.ZodType<
132
132
  answer: z.string().optional(),
133
133
  followUpPrompts: z.array(z.string()).optional(),
134
134
  followupActions: z.array(FollowupAction$outboundSchema).optional(),
135
- ranges: z.array(TextRange$outboundSchema).optional(),
135
+ ranges: z.array(z.lazy(() => TextRange$outboundSchema)).optional(),
136
136
  status: GeneratedQnaStatus$outboundSchema.optional(),
137
137
  cursor: z.string().optional(),
138
138
  trackingToken: z.string().optional(),
@@ -267,6 +267,7 @@ export * from "./listpinsresponse.js";
267
267
  export * from "./listshortcutspaginatedrequest.js";
268
268
  export * from "./listshortcutspaginatedresponse.js";
269
269
  export * from "./manualfeedbackinfo.js";
270
+ export * from "./manualfeedbacksidebysideinfo.js";
270
271
  export * from "./meeting.js";
271
272
  export * from "./message.js";
272
273
  export * from "./messagesrequest.js";
@@ -345,6 +346,7 @@ export * from "./shortcutinsight.js";
345
346
  export * from "./shortcutinsightsresponse.js";
346
347
  export * from "./shortcutmutableproperties.js";
347
348
  export * from "./shortcutspaginationmetadata.js";
349
+ export * from "./sidebysideimplementation.js";
348
350
  export * from "./socialnetwork.js";
349
351
  export * from "./socialnetworkdefinition.js";
350
352
  export * from "./sortoptions.js";
@@ -63,14 +63,14 @@ export type Issue = ClosedEnum<typeof Issue>;
63
63
  /**
64
64
  * The vote associated with the Feedback.event.MANUAL_FEEDBACK event.
65
65
  */
66
- export const Vote = {
66
+ export const ManualFeedbackInfoVote = {
67
67
  Upvote: "UPVOTE",
68
68
  Downvote: "DOWNVOTE",
69
69
  } as const;
70
70
  /**
71
71
  * The vote associated with the Feedback.event.MANUAL_FEEDBACK event.
72
72
  */
73
- export type Vote = ClosedEnum<typeof Vote>;
73
+ export type ManualFeedbackInfoVote = ClosedEnum<typeof ManualFeedbackInfoVote>;
74
74
 
75
75
  export type ManualFeedbackInfo = {
76
76
  /**
@@ -130,7 +130,7 @@ export type ManualFeedbackInfo = {
130
130
  /**
131
131
  * The vote associated with the Feedback.event.MANUAL_FEEDBACK event.
132
132
  */
133
- vote?: Vote | undefined;
133
+ vote?: ManualFeedbackInfoVote | undefined;
134
134
  /**
135
135
  * A rating associated with the user feedback. The value will be between one and the maximum given by ratingScale, inclusive.
136
136
  */
@@ -187,23 +187,24 @@ export namespace Issue$ {
187
187
  }
188
188
 
189
189
  /** @internal */
190
- export const Vote$inboundSchema: z.ZodNativeEnum<typeof Vote> = z.nativeEnum(
191
- Vote,
192
- );
190
+ export const ManualFeedbackInfoVote$inboundSchema: z.ZodNativeEnum<
191
+ typeof ManualFeedbackInfoVote
192
+ > = z.nativeEnum(ManualFeedbackInfoVote);
193
193
 
194
194
  /** @internal */
195
- export const Vote$outboundSchema: z.ZodNativeEnum<typeof Vote> =
196
- Vote$inboundSchema;
195
+ export const ManualFeedbackInfoVote$outboundSchema: z.ZodNativeEnum<
196
+ typeof ManualFeedbackInfoVote
197
+ > = ManualFeedbackInfoVote$inboundSchema;
197
198
 
198
199
  /**
199
200
  * @internal
200
201
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
201
202
  */
202
- export namespace Vote$ {
203
- /** @deprecated use `Vote$inboundSchema` instead. */
204
- export const inboundSchema = Vote$inboundSchema;
205
- /** @deprecated use `Vote$outboundSchema` instead. */
206
- export const outboundSchema = Vote$outboundSchema;
203
+ export namespace ManualFeedbackInfoVote$ {
204
+ /** @deprecated use `ManualFeedbackInfoVote$inboundSchema` instead. */
205
+ export const inboundSchema = ManualFeedbackInfoVote$inboundSchema;
206
+ /** @deprecated use `ManualFeedbackInfoVote$outboundSchema` instead. */
207
+ export const outboundSchema = ManualFeedbackInfoVote$outboundSchema;
207
208
  }
208
209
 
209
210
  /** @internal */
@@ -225,7 +226,7 @@ export const ManualFeedbackInfo$inboundSchema: z.ZodType<
225
226
  previousMessages: z.array(z.string()).optional(),
226
227
  chatTranscript: z.array(FeedbackChatExchange$inboundSchema).optional(),
227
228
  numQueriesFromFirstRun: z.number().int().optional(),
228
- vote: Vote$inboundSchema.optional(),
229
+ vote: ManualFeedbackInfoVote$inboundSchema.optional(),
229
230
  rating: z.number().int().optional(),
230
231
  ratingKey: z.string().optional(),
231
232
  ratingScale: z.number().int().optional(),
@@ -271,7 +272,7 @@ export const ManualFeedbackInfo$outboundSchema: z.ZodType<
271
272
  previousMessages: z.array(z.string()).optional(),
272
273
  chatTranscript: z.array(FeedbackChatExchange$outboundSchema).optional(),
273
274
  numQueriesFromFirstRun: z.number().int().optional(),
274
- vote: Vote$outboundSchema.optional(),
275
+ vote: ManualFeedbackInfoVote$outboundSchema.optional(),
275
276
  rating: z.number().int().optional(),
276
277
  ratingKey: z.string().optional(),
277
278
  ratingScale: z.number().int().optional(),