@gleanwork/api-client 0.1.0-beta.8 → 0.2.0

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 (1331) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/README.md +103 -34
  3. package/dist/commonjs/__tests__/activity.test.js +2 -2
  4. package/dist/commonjs/__tests__/activity.test.js.map +1 -1
  5. package/dist/commonjs/__tests__/adminsearch.test.js +1 -1
  6. package/dist/commonjs/__tests__/adminsearch.test.js.map +1 -1
  7. package/dist/commonjs/__tests__/agents.test.js +3 -3
  8. package/dist/commonjs/__tests__/agents.test.js.map +1 -1
  9. package/dist/commonjs/__tests__/announcements.test.js +3 -3
  10. package/dist/commonjs/__tests__/announcements.test.js.map +1 -1
  11. package/dist/commonjs/__tests__/answers.test.js +5 -5
  12. package/dist/commonjs/__tests__/answers.test.js.map +1 -1
  13. package/dist/commonjs/__tests__/chat.test.js +18 -18
  14. package/dist/commonjs/__tests__/chat.test.js.map +1 -1
  15. package/dist/commonjs/__tests__/clientauthentication.test.js +1 -1
  16. package/dist/commonjs/__tests__/clientauthentication.test.js.map +1 -1
  17. package/dist/commonjs/__tests__/clientdocuments.test.js +4 -4
  18. package/dist/commonjs/__tests__/clientdocuments.test.js.map +1 -1
  19. package/dist/commonjs/__tests__/clientsearch.test.js +3 -3
  20. package/dist/commonjs/__tests__/clientsearch.test.js.map +1 -1
  21. package/dist/commonjs/__tests__/clientshortcuts.test.js +5 -5
  22. package/dist/commonjs/__tests__/clientshortcuts.test.js.map +1 -1
  23. package/dist/commonjs/__tests__/collections.test.js +8 -8
  24. package/dist/commonjs/__tests__/collections.test.js.map +1 -1
  25. package/dist/commonjs/__tests__/datasources.test.js +2 -2
  26. package/dist/commonjs/__tests__/datasources.test.js.map +1 -1
  27. package/dist/commonjs/__tests__/entities.test.js +2 -2
  28. package/dist/commonjs/__tests__/entities.test.js.map +1 -1
  29. package/dist/commonjs/__tests__/indexingauthentication.test.js +1 -1
  30. package/dist/commonjs/__tests__/indexingauthentication.test.js.map +1 -1
  31. package/dist/commonjs/__tests__/indexingdocuments.test.js +8 -8
  32. package/dist/commonjs/__tests__/indexingdocuments.test.js.map +1 -1
  33. package/dist/commonjs/__tests__/indexingpeople.test.js +2 -2
  34. package/dist/commonjs/__tests__/indexingpeople.test.js.map +1 -1
  35. package/dist/commonjs/__tests__/insights.test.js +1 -1
  36. package/dist/commonjs/__tests__/insights.test.js.map +1 -1
  37. package/dist/commonjs/__tests__/messages.test.js +1 -1
  38. package/dist/commonjs/__tests__/messages.test.js.map +1 -1
  39. package/dist/commonjs/__tests__/permissions.test.js +12 -12
  40. package/dist/commonjs/__tests__/permissions.test.js.map +1 -1
  41. package/dist/commonjs/__tests__/pins.test.js +5 -5
  42. package/dist/commonjs/__tests__/pins.test.js.map +1 -1
  43. package/dist/commonjs/__tests__/search.test.js +2 -2
  44. package/dist/commonjs/__tests__/search.test.js.map +1 -1
  45. package/dist/commonjs/__tests__/verification.test.js +3 -3
  46. package/dist/commonjs/__tests__/verification.test.js.map +1 -1
  47. package/dist/commonjs/funcs/clientActivityFeedback.js +3 -3
  48. package/dist/commonjs/funcs/clientActivityFeedback.js.map +1 -1
  49. package/dist/commonjs/funcs/clientActivityReport.js +3 -3
  50. package/dist/commonjs/funcs/clientActivityReport.js.map +1 -1
  51. package/dist/commonjs/funcs/clientAgentsList.js +3 -3
  52. package/dist/commonjs/funcs/clientAgentsList.js.map +1 -1
  53. package/dist/commonjs/funcs/clientAgentsRetrieveInputs.js +3 -3
  54. package/dist/commonjs/funcs/clientAgentsRetrieveInputs.js.map +1 -1
  55. package/dist/commonjs/funcs/clientAgentsRun.js +3 -3
  56. package/dist/commonjs/funcs/clientAgentsRun.js.map +1 -1
  57. package/dist/commonjs/funcs/clientAnnouncementsCreate.js +3 -3
  58. package/dist/commonjs/funcs/clientAnnouncementsCreate.js.map +1 -1
  59. package/dist/commonjs/funcs/clientAnnouncementsDelete.js +3 -3
  60. package/dist/commonjs/funcs/clientAnnouncementsDelete.js.map +1 -1
  61. package/dist/commonjs/funcs/clientAnnouncementsUpdate.js +3 -3
  62. package/dist/commonjs/funcs/clientAnnouncementsUpdate.js.map +1 -1
  63. package/dist/commonjs/funcs/clientAnswersCreate.js +3 -3
  64. package/dist/commonjs/funcs/clientAnswersCreate.js.map +1 -1
  65. package/dist/commonjs/funcs/clientAnswersDelete.js +3 -3
  66. package/dist/commonjs/funcs/clientAnswersDelete.js.map +1 -1
  67. package/dist/commonjs/funcs/clientAnswersList.js +3 -3
  68. package/dist/commonjs/funcs/clientAnswersList.js.map +1 -1
  69. package/dist/commonjs/funcs/clientAnswersRetrieve.js +3 -3
  70. package/dist/commonjs/funcs/clientAnswersRetrieve.js.map +1 -1
  71. package/dist/commonjs/funcs/clientAnswersUpdate.js +3 -3
  72. package/dist/commonjs/funcs/clientAnswersUpdate.js.map +1 -1
  73. package/dist/commonjs/funcs/clientAuthenticationCreateToken.js +3 -3
  74. package/dist/commonjs/funcs/clientAuthenticationCreateToken.js.map +1 -1
  75. package/dist/commonjs/funcs/clientChatCreate.js +3 -3
  76. package/dist/commonjs/funcs/clientChatCreate.js.map +1 -1
  77. package/dist/commonjs/funcs/clientChatCreateStream.js +3 -3
  78. package/dist/commonjs/funcs/clientChatCreateStream.js.map +1 -1
  79. package/dist/commonjs/funcs/clientChatDelete.js +3 -3
  80. package/dist/commonjs/funcs/clientChatDelete.js.map +1 -1
  81. package/dist/commonjs/funcs/clientChatDeleteAll.js +3 -3
  82. package/dist/commonjs/funcs/clientChatDeleteAll.js.map +1 -1
  83. package/dist/commonjs/funcs/clientChatDeleteFiles.js +3 -3
  84. package/dist/commonjs/funcs/clientChatDeleteFiles.js.map +1 -1
  85. package/dist/commonjs/funcs/clientChatList.js +3 -3
  86. package/dist/commonjs/funcs/clientChatList.js.map +1 -1
  87. package/dist/commonjs/funcs/clientChatRetrieve.js +3 -3
  88. package/dist/commonjs/funcs/clientChatRetrieve.js.map +1 -1
  89. package/dist/commonjs/funcs/clientChatRetrieveApplication.js +3 -3
  90. package/dist/commonjs/funcs/clientChatRetrieveApplication.js.map +1 -1
  91. package/dist/commonjs/funcs/clientChatRetrieveFiles.js +3 -3
  92. package/dist/commonjs/funcs/clientChatRetrieveFiles.js.map +1 -1
  93. package/dist/commonjs/funcs/clientChatUploadFiles.js +3 -3
  94. package/dist/commonjs/funcs/clientChatUploadFiles.js.map +1 -1
  95. package/dist/commonjs/funcs/clientCollectionsAddItems.js +3 -3
  96. package/dist/commonjs/funcs/clientCollectionsAddItems.js.map +1 -1
  97. package/dist/commonjs/funcs/clientCollectionsCreate.js +3 -3
  98. package/dist/commonjs/funcs/clientCollectionsCreate.js.map +1 -1
  99. package/dist/commonjs/funcs/clientCollectionsDelete.js +3 -3
  100. package/dist/commonjs/funcs/clientCollectionsDelete.js.map +1 -1
  101. package/dist/commonjs/funcs/clientCollectionsDeleteItem.js +3 -3
  102. package/dist/commonjs/funcs/clientCollectionsDeleteItem.js.map +1 -1
  103. package/dist/commonjs/funcs/clientCollectionsList.js +3 -3
  104. package/dist/commonjs/funcs/clientCollectionsList.js.map +1 -1
  105. package/dist/commonjs/funcs/clientCollectionsRetrieve.js +3 -3
  106. package/dist/commonjs/funcs/clientCollectionsRetrieve.js.map +1 -1
  107. package/dist/commonjs/funcs/clientCollectionsUpdate.js +3 -3
  108. package/dist/commonjs/funcs/clientCollectionsUpdate.js.map +1 -1
  109. package/dist/commonjs/funcs/clientCollectionsUpdateItem.js +3 -3
  110. package/dist/commonjs/funcs/clientCollectionsUpdateItem.js.map +1 -1
  111. package/dist/commonjs/funcs/clientDocumentsRetrieve.js +3 -3
  112. package/dist/commonjs/funcs/clientDocumentsRetrieve.js.map +1 -1
  113. package/dist/commonjs/funcs/clientDocumentsRetrieveByFacets.js +3 -3
  114. package/dist/commonjs/funcs/clientDocumentsRetrieveByFacets.js.map +1 -1
  115. package/dist/commonjs/funcs/clientDocumentsRetrievePermissions.js +3 -3
  116. package/dist/commonjs/funcs/clientDocumentsRetrievePermissions.js.map +1 -1
  117. package/dist/commonjs/funcs/clientDocumentsSummarize.js +3 -3
  118. package/dist/commonjs/funcs/clientDocumentsSummarize.js.map +1 -1
  119. package/dist/commonjs/funcs/clientEntitiesList.js +3 -3
  120. package/dist/commonjs/funcs/clientEntitiesList.js.map +1 -1
  121. package/dist/commonjs/funcs/clientEntitiesReadPeople.js +3 -3
  122. package/dist/commonjs/funcs/clientEntitiesReadPeople.js.map +1 -1
  123. package/dist/commonjs/funcs/clientInsightsRetrieve.js +3 -3
  124. package/dist/commonjs/funcs/clientInsightsRetrieve.js.map +1 -1
  125. package/dist/commonjs/funcs/clientMessagesRetrieve.js +3 -3
  126. package/dist/commonjs/funcs/clientMessagesRetrieve.js.map +1 -1
  127. package/dist/commonjs/funcs/clientPinsCreate.js +3 -3
  128. package/dist/commonjs/funcs/clientPinsCreate.js.map +1 -1
  129. package/dist/commonjs/funcs/clientPinsList.js +3 -3
  130. package/dist/commonjs/funcs/clientPinsList.js.map +1 -1
  131. package/dist/commonjs/funcs/clientPinsRemove.js +3 -3
  132. package/dist/commonjs/funcs/clientPinsRemove.js.map +1 -1
  133. package/dist/commonjs/funcs/clientPinsRetrieve.js +3 -3
  134. package/dist/commonjs/funcs/clientPinsRetrieve.js.map +1 -1
  135. package/dist/commonjs/funcs/clientPinsUpdate.js +3 -3
  136. package/dist/commonjs/funcs/clientPinsUpdate.js.map +1 -1
  137. package/dist/commonjs/funcs/{searchAutocomplete.d.ts → clientSearchAutocomplete.d.ts} +2 -2
  138. package/dist/commonjs/funcs/{clientSearchFeedRetrieve.d.ts.map → clientSearchAutocomplete.d.ts.map} +1 -1
  139. package/dist/commonjs/funcs/{searchAutocomplete.js → clientSearchAutocomplete.js} +6 -6
  140. package/dist/commonjs/funcs/clientSearchAutocomplete.js.map +1 -0
  141. package/dist/commonjs/funcs/clientSearchQuery.js +3 -3
  142. package/dist/commonjs/funcs/clientSearchQuery.js.map +1 -1
  143. package/dist/commonjs/funcs/clientSearchQueryAsAdmin.js +3 -3
  144. package/dist/commonjs/funcs/clientSearchQueryAsAdmin.js.map +1 -1
  145. package/dist/commonjs/funcs/clientSearchRecommendations.js +3 -3
  146. package/dist/commonjs/funcs/clientSearchRecommendations.js.map +1 -1
  147. package/dist/commonjs/funcs/clientSearchRetrieveFeed.js +3 -3
  148. package/dist/commonjs/funcs/clientSearchRetrieveFeed.js.map +1 -1
  149. package/dist/commonjs/funcs/clientShortcutsCreate.js +3 -3
  150. package/dist/commonjs/funcs/clientShortcutsCreate.js.map +1 -1
  151. package/dist/commonjs/funcs/clientShortcutsDelete.js +3 -3
  152. package/dist/commonjs/funcs/clientShortcutsDelete.js.map +1 -1
  153. package/dist/commonjs/funcs/clientShortcutsList.js +3 -3
  154. package/dist/commonjs/funcs/clientShortcutsList.js.map +1 -1
  155. package/dist/commonjs/funcs/clientShortcutsRetrieve.js +3 -3
  156. package/dist/commonjs/funcs/clientShortcutsRetrieve.js.map +1 -1
  157. package/dist/commonjs/funcs/clientShortcutsUpdate.js +3 -3
  158. package/dist/commonjs/funcs/clientShortcutsUpdate.js.map +1 -1
  159. package/dist/commonjs/funcs/clientVerificationAddReminder.js +3 -3
  160. package/dist/commonjs/funcs/clientVerificationAddReminder.js.map +1 -1
  161. package/dist/commonjs/funcs/clientVerificationList.js +3 -3
  162. package/dist/commonjs/funcs/clientVerificationList.js.map +1 -1
  163. package/dist/commonjs/funcs/clientVerificationVerify.js +3 -3
  164. package/dist/commonjs/funcs/clientVerificationVerify.js.map +1 -1
  165. package/dist/commonjs/funcs/indexingAuthenticationRotateToken.js +3 -3
  166. package/dist/commonjs/funcs/indexingAuthenticationRotateToken.js.map +1 -1
  167. package/dist/commonjs/funcs/indexingDatasourceStatus.js +3 -3
  168. package/dist/commonjs/funcs/indexingDatasourceStatus.js.map +1 -1
  169. package/dist/commonjs/funcs/indexingDatasourcesAdd.js +3 -3
  170. package/dist/commonjs/funcs/indexingDatasourcesAdd.js.map +1 -1
  171. package/dist/commonjs/funcs/indexingDatasourcesRetrieveConfig.js +3 -3
  172. package/dist/commonjs/funcs/indexingDatasourcesRetrieveConfig.js.map +1 -1
  173. package/dist/commonjs/funcs/indexingDocumentsAddOrUpdate.js +3 -3
  174. package/dist/commonjs/funcs/indexingDocumentsAddOrUpdate.js.map +1 -1
  175. package/dist/commonjs/funcs/indexingDocumentsBulkIndex.js +3 -3
  176. package/dist/commonjs/funcs/indexingDocumentsBulkIndex.js.map +1 -1
  177. package/dist/commonjs/funcs/indexingDocumentsCheckAccess.js +3 -3
  178. package/dist/commonjs/funcs/indexingDocumentsCheckAccess.js.map +1 -1
  179. package/dist/commonjs/funcs/indexingDocumentsCount.js +3 -3
  180. package/dist/commonjs/funcs/indexingDocumentsCount.js.map +1 -1
  181. package/dist/commonjs/funcs/indexingDocumentsDebug.js +3 -3
  182. package/dist/commonjs/funcs/indexingDocumentsDebug.js.map +1 -1
  183. package/dist/commonjs/funcs/indexingDocumentsDebugMany.js +3 -3
  184. package/dist/commonjs/funcs/indexingDocumentsDebugMany.js.map +1 -1
  185. package/dist/commonjs/funcs/indexingDocumentsDelete.js +3 -3
  186. package/dist/commonjs/funcs/indexingDocumentsDelete.js.map +1 -1
  187. package/dist/commonjs/funcs/indexingDocumentsIndex.js +3 -3
  188. package/dist/commonjs/funcs/indexingDocumentsIndex.js.map +1 -1
  189. package/dist/commonjs/funcs/indexingDocumentsProcessAll.js +3 -3
  190. package/dist/commonjs/funcs/indexingDocumentsProcessAll.js.map +1 -1
  191. package/dist/commonjs/funcs/indexingDocumentsStatus.js +3 -3
  192. package/dist/commonjs/funcs/indexingDocumentsStatus.js.map +1 -1
  193. package/dist/commonjs/funcs/indexingPeopleBulkIndex.js +3 -3
  194. package/dist/commonjs/funcs/indexingPeopleBulkIndex.js.map +1 -1
  195. package/dist/commonjs/funcs/indexingPeopleBulkIndexTeams.js +3 -3
  196. package/dist/commonjs/funcs/indexingPeopleBulkIndexTeams.js.map +1 -1
  197. package/dist/commonjs/funcs/indexingPeopleCount.js +3 -3
  198. package/dist/commonjs/funcs/indexingPeopleCount.js.map +1 -1
  199. package/dist/commonjs/funcs/indexingPeopleDebug.js +3 -3
  200. package/dist/commonjs/funcs/indexingPeopleDebug.js.map +1 -1
  201. package/dist/commonjs/funcs/indexingPeopleDelete.js +3 -3
  202. package/dist/commonjs/funcs/indexingPeopleDelete.js.map +1 -1
  203. package/dist/commonjs/funcs/indexingPeopleDeleteTeam.js +3 -3
  204. package/dist/commonjs/funcs/indexingPeopleDeleteTeam.js.map +1 -1
  205. package/dist/commonjs/funcs/indexingPeopleIndex.js +3 -3
  206. package/dist/commonjs/funcs/indexingPeopleIndex.js.map +1 -1
  207. package/dist/commonjs/funcs/indexingPeopleIndexTeam.js +3 -3
  208. package/dist/commonjs/funcs/indexingPeopleIndexTeam.js.map +1 -1
  209. package/dist/commonjs/funcs/indexingPeopleProcessAllEmployeesAndTeams.js +3 -3
  210. package/dist/commonjs/funcs/indexingPeopleProcessAllEmployeesAndTeams.js.map +1 -1
  211. package/dist/commonjs/funcs/indexingPermissionsAuthorizeBetaUsers.js +3 -3
  212. package/dist/commonjs/funcs/indexingPermissionsAuthorizeBetaUsers.js.map +1 -1
  213. package/dist/commonjs/funcs/indexingPermissionsBulkIndexGroups.js +3 -3
  214. package/dist/commonjs/funcs/indexingPermissionsBulkIndexGroups.js.map +1 -1
  215. package/dist/commonjs/funcs/indexingPermissionsBulkIndexMemberships.js +3 -3
  216. package/dist/commonjs/funcs/indexingPermissionsBulkIndexMemberships.js.map +1 -1
  217. package/dist/commonjs/funcs/indexingPermissionsBulkIndexUsers.js +3 -3
  218. package/dist/commonjs/funcs/indexingPermissionsBulkIndexUsers.js.map +1 -1
  219. package/dist/commonjs/funcs/indexingPermissionsDeleteGroup.js +3 -3
  220. package/dist/commonjs/funcs/indexingPermissionsDeleteGroup.js.map +1 -1
  221. package/dist/commonjs/funcs/indexingPermissionsDeleteMembership.js +3 -3
  222. package/dist/commonjs/funcs/indexingPermissionsDeleteMembership.js.map +1 -1
  223. package/dist/commonjs/funcs/indexingPermissionsDeleteUser.js +3 -3
  224. package/dist/commonjs/funcs/indexingPermissionsDeleteUser.js.map +1 -1
  225. package/dist/commonjs/funcs/indexingPermissionsIndexGroup.js +3 -3
  226. package/dist/commonjs/funcs/indexingPermissionsIndexGroup.js.map +1 -1
  227. package/dist/commonjs/funcs/indexingPermissionsIndexMembership.js +3 -3
  228. package/dist/commonjs/funcs/indexingPermissionsIndexMembership.js.map +1 -1
  229. package/dist/commonjs/funcs/indexingPermissionsIndexUser.js +3 -3
  230. package/dist/commonjs/funcs/indexingPermissionsIndexUser.js.map +1 -1
  231. package/dist/commonjs/funcs/indexingPermissionsProcessMemberships.js +3 -3
  232. package/dist/commonjs/funcs/indexingPermissionsProcessMemberships.js.map +1 -1
  233. package/dist/commonjs/funcs/indexingPermissionsUpdatePermissions.js +3 -3
  234. package/dist/commonjs/funcs/indexingPermissionsUpdatePermissions.js.map +1 -1
  235. package/dist/commonjs/funcs/indexingShortcutsBulkIndex.js +3 -3
  236. package/dist/commonjs/funcs/indexingShortcutsBulkIndex.js.map +1 -1
  237. package/dist/commonjs/funcs/indexingShortcutsUpload.js +3 -3
  238. package/dist/commonjs/funcs/indexingShortcutsUpload.js.map +1 -1
  239. package/dist/commonjs/lib/config.d.ts +3 -3
  240. package/dist/commonjs/lib/config.d.ts.map +1 -1
  241. package/dist/commonjs/lib/config.js +2 -2
  242. package/dist/commonjs/lib/config.js.map +1 -1
  243. package/dist/commonjs/lib/env.d.ts +1 -1
  244. package/dist/commonjs/lib/env.d.ts.map +1 -1
  245. package/dist/commonjs/lib/env.js +1 -1
  246. package/dist/commonjs/lib/env.js.map +1 -1
  247. package/dist/commonjs/lib/security.js +1 -1
  248. package/dist/commonjs/lib/security.js.map +1 -1
  249. package/dist/commonjs/models/components/calendarevent.d.ts +5 -0
  250. package/dist/commonjs/models/components/calendarevent.d.ts.map +1 -1
  251. package/dist/commonjs/models/components/calendarevent.js +2 -0
  252. package/dist/commonjs/models/components/calendarevent.js.map +1 -1
  253. package/dist/commonjs/models/components/security.d.ts +2 -2
  254. package/dist/commonjs/models/components/security.d.ts.map +1 -1
  255. package/dist/commonjs/models/components/security.js +4 -4
  256. package/dist/commonjs/models/components/security.js.map +1 -1
  257. package/dist/commonjs/react-query/clientSearchAutocomplete.d.ts +23 -0
  258. package/dist/commonjs/react-query/clientSearchAutocomplete.d.ts.map +1 -0
  259. package/dist/commonjs/react-query/{searchAutocomplete.js → clientSearchAutocomplete.js} +13 -13
  260. package/dist/commonjs/react-query/{clientSearchFeedRetrieve.js.map → clientSearchAutocomplete.js.map} +1 -1
  261. package/dist/commonjs/react-query/index.d.ts +1 -1
  262. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  263. package/dist/commonjs/react-query/index.js +1 -1
  264. package/dist/commonjs/react-query/index.js.map +1 -1
  265. package/dist/commonjs/sdk/client.d.ts +2 -2
  266. package/dist/commonjs/sdk/client.d.ts.map +1 -1
  267. package/dist/commonjs/sdk/client.js +2 -2
  268. package/dist/commonjs/sdk/client.js.map +1 -1
  269. package/dist/commonjs/sdk/sdk.d.ts +0 -3
  270. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  271. package/dist/commonjs/sdk/sdk.js +0 -4
  272. package/dist/commonjs/sdk/sdk.js.map +1 -1
  273. package/dist/commonjs/sdk/search.d.ts +28 -0
  274. package/dist/commonjs/sdk/search.d.ts.map +1 -1
  275. package/dist/commonjs/sdk/search.js +42 -2
  276. package/dist/commonjs/sdk/search.js.map +1 -1
  277. package/dist/esm/__tests__/activity.test.js +2 -2
  278. package/dist/esm/__tests__/activity.test.js.map +1 -1
  279. package/dist/esm/__tests__/adminsearch.test.js +1 -1
  280. package/dist/esm/__tests__/adminsearch.test.js.map +1 -1
  281. package/dist/esm/__tests__/agents.test.js +3 -3
  282. package/dist/esm/__tests__/agents.test.js.map +1 -1
  283. package/dist/esm/__tests__/announcements.test.js +3 -3
  284. package/dist/esm/__tests__/announcements.test.js.map +1 -1
  285. package/dist/esm/__tests__/answers.test.js +5 -5
  286. package/dist/esm/__tests__/answers.test.js.map +1 -1
  287. package/dist/esm/__tests__/chat.test.js +18 -18
  288. package/dist/esm/__tests__/chat.test.js.map +1 -1
  289. package/dist/esm/__tests__/clientauthentication.test.js +1 -1
  290. package/dist/esm/__tests__/clientauthentication.test.js.map +1 -1
  291. package/dist/esm/__tests__/clientdocuments.test.js +4 -4
  292. package/dist/esm/__tests__/clientdocuments.test.js.map +1 -1
  293. package/dist/esm/__tests__/clientsearch.test.js +3 -3
  294. package/dist/esm/__tests__/clientsearch.test.js.map +1 -1
  295. package/dist/esm/__tests__/clientshortcuts.test.js +5 -5
  296. package/dist/esm/__tests__/clientshortcuts.test.js.map +1 -1
  297. package/dist/esm/__tests__/collections.test.js +8 -8
  298. package/dist/esm/__tests__/collections.test.js.map +1 -1
  299. package/dist/esm/__tests__/datasources.test.js +2 -2
  300. package/dist/esm/__tests__/datasources.test.js.map +1 -1
  301. package/dist/esm/__tests__/entities.test.js +2 -2
  302. package/dist/esm/__tests__/entities.test.js.map +1 -1
  303. package/dist/esm/__tests__/indexingauthentication.test.js +1 -1
  304. package/dist/esm/__tests__/indexingauthentication.test.js.map +1 -1
  305. package/dist/esm/__tests__/indexingdocuments.test.js +8 -8
  306. package/dist/esm/__tests__/indexingdocuments.test.js.map +1 -1
  307. package/dist/esm/__tests__/indexingpeople.test.js +2 -2
  308. package/dist/esm/__tests__/indexingpeople.test.js.map +1 -1
  309. package/dist/esm/__tests__/insights.test.js +1 -1
  310. package/dist/esm/__tests__/insights.test.js.map +1 -1
  311. package/dist/esm/__tests__/messages.test.js +1 -1
  312. package/dist/esm/__tests__/messages.test.js.map +1 -1
  313. package/dist/esm/__tests__/permissions.test.js +12 -12
  314. package/dist/esm/__tests__/permissions.test.js.map +1 -1
  315. package/dist/esm/__tests__/pins.test.js +5 -5
  316. package/dist/esm/__tests__/pins.test.js.map +1 -1
  317. package/dist/esm/__tests__/search.test.js +2 -2
  318. package/dist/esm/__tests__/search.test.js.map +1 -1
  319. package/dist/esm/__tests__/verification.test.js +3 -3
  320. package/dist/esm/__tests__/verification.test.js.map +1 -1
  321. package/dist/esm/funcs/clientActivityFeedback.js +3 -3
  322. package/dist/esm/funcs/clientActivityFeedback.js.map +1 -1
  323. package/dist/esm/funcs/clientActivityReport.js +3 -3
  324. package/dist/esm/funcs/clientActivityReport.js.map +1 -1
  325. package/dist/esm/funcs/clientAgentsList.js +3 -3
  326. package/dist/esm/funcs/clientAgentsList.js.map +1 -1
  327. package/dist/esm/funcs/clientAgentsRetrieveInputs.js +3 -3
  328. package/dist/esm/funcs/clientAgentsRetrieveInputs.js.map +1 -1
  329. package/dist/esm/funcs/clientAgentsRun.js +3 -3
  330. package/dist/esm/funcs/clientAgentsRun.js.map +1 -1
  331. package/dist/esm/funcs/clientAnnouncementsCreate.js +3 -3
  332. package/dist/esm/funcs/clientAnnouncementsCreate.js.map +1 -1
  333. package/dist/esm/funcs/clientAnnouncementsDelete.js +3 -3
  334. package/dist/esm/funcs/clientAnnouncementsDelete.js.map +1 -1
  335. package/dist/esm/funcs/clientAnnouncementsUpdate.js +3 -3
  336. package/dist/esm/funcs/clientAnnouncementsUpdate.js.map +1 -1
  337. package/dist/esm/funcs/clientAnswersCreate.js +3 -3
  338. package/dist/esm/funcs/clientAnswersCreate.js.map +1 -1
  339. package/dist/esm/funcs/clientAnswersDelete.js +3 -3
  340. package/dist/esm/funcs/clientAnswersDelete.js.map +1 -1
  341. package/dist/esm/funcs/clientAnswersList.js +3 -3
  342. package/dist/esm/funcs/clientAnswersList.js.map +1 -1
  343. package/dist/esm/funcs/clientAnswersRetrieve.js +3 -3
  344. package/dist/esm/funcs/clientAnswersRetrieve.js.map +1 -1
  345. package/dist/esm/funcs/clientAnswersUpdate.js +3 -3
  346. package/dist/esm/funcs/clientAnswersUpdate.js.map +1 -1
  347. package/dist/esm/funcs/clientAuthenticationCreateToken.js +3 -3
  348. package/dist/esm/funcs/clientAuthenticationCreateToken.js.map +1 -1
  349. package/dist/esm/funcs/clientChatCreate.js +3 -3
  350. package/dist/esm/funcs/clientChatCreate.js.map +1 -1
  351. package/dist/esm/funcs/clientChatCreateStream.js +3 -3
  352. package/dist/esm/funcs/clientChatCreateStream.js.map +1 -1
  353. package/dist/esm/funcs/clientChatDelete.js +3 -3
  354. package/dist/esm/funcs/clientChatDelete.js.map +1 -1
  355. package/dist/esm/funcs/clientChatDeleteAll.js +3 -3
  356. package/dist/esm/funcs/clientChatDeleteAll.js.map +1 -1
  357. package/dist/esm/funcs/clientChatDeleteFiles.js +3 -3
  358. package/dist/esm/funcs/clientChatDeleteFiles.js.map +1 -1
  359. package/dist/esm/funcs/clientChatList.js +3 -3
  360. package/dist/esm/funcs/clientChatList.js.map +1 -1
  361. package/dist/esm/funcs/clientChatRetrieve.js +3 -3
  362. package/dist/esm/funcs/clientChatRetrieve.js.map +1 -1
  363. package/dist/esm/funcs/clientChatRetrieveApplication.js +3 -3
  364. package/dist/esm/funcs/clientChatRetrieveApplication.js.map +1 -1
  365. package/dist/esm/funcs/clientChatRetrieveFiles.js +3 -3
  366. package/dist/esm/funcs/clientChatRetrieveFiles.js.map +1 -1
  367. package/dist/esm/funcs/clientChatUploadFiles.js +3 -3
  368. package/dist/esm/funcs/clientChatUploadFiles.js.map +1 -1
  369. package/dist/esm/funcs/clientCollectionsAddItems.js +3 -3
  370. package/dist/esm/funcs/clientCollectionsAddItems.js.map +1 -1
  371. package/dist/esm/funcs/clientCollectionsCreate.js +3 -3
  372. package/dist/esm/funcs/clientCollectionsCreate.js.map +1 -1
  373. package/dist/esm/funcs/clientCollectionsDelete.js +3 -3
  374. package/dist/esm/funcs/clientCollectionsDelete.js.map +1 -1
  375. package/dist/esm/funcs/clientCollectionsDeleteItem.js +3 -3
  376. package/dist/esm/funcs/clientCollectionsDeleteItem.js.map +1 -1
  377. package/dist/esm/funcs/clientCollectionsList.js +3 -3
  378. package/dist/esm/funcs/clientCollectionsList.js.map +1 -1
  379. package/dist/esm/funcs/clientCollectionsRetrieve.js +3 -3
  380. package/dist/esm/funcs/clientCollectionsRetrieve.js.map +1 -1
  381. package/dist/esm/funcs/clientCollectionsUpdate.js +3 -3
  382. package/dist/esm/funcs/clientCollectionsUpdate.js.map +1 -1
  383. package/dist/esm/funcs/clientCollectionsUpdateItem.js +3 -3
  384. package/dist/esm/funcs/clientCollectionsUpdateItem.js.map +1 -1
  385. package/dist/esm/funcs/clientDocumentsRetrieve.js +3 -3
  386. package/dist/esm/funcs/clientDocumentsRetrieve.js.map +1 -1
  387. package/dist/esm/funcs/clientDocumentsRetrieveByFacets.js +3 -3
  388. package/dist/esm/funcs/clientDocumentsRetrieveByFacets.js.map +1 -1
  389. package/dist/esm/funcs/clientDocumentsRetrievePermissions.js +3 -3
  390. package/dist/esm/funcs/clientDocumentsRetrievePermissions.js.map +1 -1
  391. package/dist/esm/funcs/clientDocumentsSummarize.js +3 -3
  392. package/dist/esm/funcs/clientDocumentsSummarize.js.map +1 -1
  393. package/dist/esm/funcs/clientEntitiesList.js +3 -3
  394. package/dist/esm/funcs/clientEntitiesList.js.map +1 -1
  395. package/dist/esm/funcs/clientEntitiesReadPeople.js +3 -3
  396. package/dist/esm/funcs/clientEntitiesReadPeople.js.map +1 -1
  397. package/dist/esm/funcs/clientInsightsRetrieve.js +3 -3
  398. package/dist/esm/funcs/clientInsightsRetrieve.js.map +1 -1
  399. package/dist/esm/funcs/clientMessagesRetrieve.js +3 -3
  400. package/dist/esm/funcs/clientMessagesRetrieve.js.map +1 -1
  401. package/dist/esm/funcs/clientPinsCreate.js +3 -3
  402. package/dist/esm/funcs/clientPinsCreate.js.map +1 -1
  403. package/dist/esm/funcs/clientPinsList.js +3 -3
  404. package/dist/esm/funcs/clientPinsList.js.map +1 -1
  405. package/dist/esm/funcs/clientPinsRemove.js +3 -3
  406. package/dist/esm/funcs/clientPinsRemove.js.map +1 -1
  407. package/dist/esm/funcs/clientPinsRetrieve.js +3 -3
  408. package/dist/esm/funcs/clientPinsRetrieve.js.map +1 -1
  409. package/dist/esm/funcs/clientPinsUpdate.js +3 -3
  410. package/dist/esm/funcs/clientPinsUpdate.js.map +1 -1
  411. package/dist/esm/funcs/{searchAutocomplete.d.ts → clientSearchAutocomplete.d.ts} +2 -2
  412. package/dist/esm/funcs/{clientSearchFeedRetrieve.d.ts.map → clientSearchAutocomplete.d.ts.map} +1 -1
  413. package/dist/esm/funcs/{searchAutocomplete.js → clientSearchAutocomplete.js} +5 -5
  414. package/dist/esm/funcs/clientSearchAutocomplete.js.map +1 -0
  415. package/dist/esm/funcs/clientSearchQuery.js +3 -3
  416. package/dist/esm/funcs/clientSearchQuery.js.map +1 -1
  417. package/dist/esm/funcs/clientSearchQueryAsAdmin.js +3 -3
  418. package/dist/esm/funcs/clientSearchQueryAsAdmin.js.map +1 -1
  419. package/dist/esm/funcs/clientSearchRecommendations.js +3 -3
  420. package/dist/esm/funcs/clientSearchRecommendations.js.map +1 -1
  421. package/dist/esm/funcs/clientSearchRetrieveFeed.js +3 -3
  422. package/dist/esm/funcs/clientSearchRetrieveFeed.js.map +1 -1
  423. package/dist/esm/funcs/clientShortcutsCreate.js +3 -3
  424. package/dist/esm/funcs/clientShortcutsCreate.js.map +1 -1
  425. package/dist/esm/funcs/clientShortcutsDelete.js +3 -3
  426. package/dist/esm/funcs/clientShortcutsDelete.js.map +1 -1
  427. package/dist/esm/funcs/clientShortcutsList.js +3 -3
  428. package/dist/esm/funcs/clientShortcutsList.js.map +1 -1
  429. package/dist/esm/funcs/clientShortcutsRetrieve.js +3 -3
  430. package/dist/esm/funcs/clientShortcutsRetrieve.js.map +1 -1
  431. package/dist/esm/funcs/clientShortcutsUpdate.js +3 -3
  432. package/dist/esm/funcs/clientShortcutsUpdate.js.map +1 -1
  433. package/dist/esm/funcs/clientVerificationAddReminder.js +3 -3
  434. package/dist/esm/funcs/clientVerificationAddReminder.js.map +1 -1
  435. package/dist/esm/funcs/clientVerificationList.js +3 -3
  436. package/dist/esm/funcs/clientVerificationList.js.map +1 -1
  437. package/dist/esm/funcs/clientVerificationVerify.js +3 -3
  438. package/dist/esm/funcs/clientVerificationVerify.js.map +1 -1
  439. package/dist/esm/funcs/indexingAuthenticationRotateToken.js +3 -3
  440. package/dist/esm/funcs/indexingAuthenticationRotateToken.js.map +1 -1
  441. package/dist/esm/funcs/indexingDatasourceStatus.js +3 -3
  442. package/dist/esm/funcs/indexingDatasourceStatus.js.map +1 -1
  443. package/dist/esm/funcs/indexingDatasourcesAdd.js +3 -3
  444. package/dist/esm/funcs/indexingDatasourcesAdd.js.map +1 -1
  445. package/dist/esm/funcs/indexingDatasourcesRetrieveConfig.js +3 -3
  446. package/dist/esm/funcs/indexingDatasourcesRetrieveConfig.js.map +1 -1
  447. package/dist/esm/funcs/indexingDocumentsAddOrUpdate.js +3 -3
  448. package/dist/esm/funcs/indexingDocumentsAddOrUpdate.js.map +1 -1
  449. package/dist/esm/funcs/indexingDocumentsBulkIndex.js +3 -3
  450. package/dist/esm/funcs/indexingDocumentsBulkIndex.js.map +1 -1
  451. package/dist/esm/funcs/indexingDocumentsCheckAccess.js +3 -3
  452. package/dist/esm/funcs/indexingDocumentsCheckAccess.js.map +1 -1
  453. package/dist/esm/funcs/indexingDocumentsCount.js +3 -3
  454. package/dist/esm/funcs/indexingDocumentsCount.js.map +1 -1
  455. package/dist/esm/funcs/indexingDocumentsDebug.js +3 -3
  456. package/dist/esm/funcs/indexingDocumentsDebug.js.map +1 -1
  457. package/dist/esm/funcs/indexingDocumentsDebugMany.js +3 -3
  458. package/dist/esm/funcs/indexingDocumentsDebugMany.js.map +1 -1
  459. package/dist/esm/funcs/indexingDocumentsDelete.js +3 -3
  460. package/dist/esm/funcs/indexingDocumentsDelete.js.map +1 -1
  461. package/dist/esm/funcs/indexingDocumentsIndex.js +3 -3
  462. package/dist/esm/funcs/indexingDocumentsIndex.js.map +1 -1
  463. package/dist/esm/funcs/indexingDocumentsProcessAll.js +3 -3
  464. package/dist/esm/funcs/indexingDocumentsProcessAll.js.map +1 -1
  465. package/dist/esm/funcs/indexingDocumentsStatus.js +3 -3
  466. package/dist/esm/funcs/indexingDocumentsStatus.js.map +1 -1
  467. package/dist/esm/funcs/indexingPeopleBulkIndex.js +3 -3
  468. package/dist/esm/funcs/indexingPeopleBulkIndex.js.map +1 -1
  469. package/dist/esm/funcs/indexingPeopleBulkIndexTeams.js +3 -3
  470. package/dist/esm/funcs/indexingPeopleBulkIndexTeams.js.map +1 -1
  471. package/dist/esm/funcs/indexingPeopleCount.js +3 -3
  472. package/dist/esm/funcs/indexingPeopleCount.js.map +1 -1
  473. package/dist/esm/funcs/indexingPeopleDebug.js +3 -3
  474. package/dist/esm/funcs/indexingPeopleDebug.js.map +1 -1
  475. package/dist/esm/funcs/indexingPeopleDelete.js +3 -3
  476. package/dist/esm/funcs/indexingPeopleDelete.js.map +1 -1
  477. package/dist/esm/funcs/indexingPeopleDeleteTeam.js +3 -3
  478. package/dist/esm/funcs/indexingPeopleDeleteTeam.js.map +1 -1
  479. package/dist/esm/funcs/indexingPeopleIndex.js +3 -3
  480. package/dist/esm/funcs/indexingPeopleIndex.js.map +1 -1
  481. package/dist/esm/funcs/indexingPeopleIndexTeam.js +3 -3
  482. package/dist/esm/funcs/indexingPeopleIndexTeam.js.map +1 -1
  483. package/dist/esm/funcs/indexingPeopleProcessAllEmployeesAndTeams.js +3 -3
  484. package/dist/esm/funcs/indexingPeopleProcessAllEmployeesAndTeams.js.map +1 -1
  485. package/dist/esm/funcs/indexingPermissionsAuthorizeBetaUsers.js +3 -3
  486. package/dist/esm/funcs/indexingPermissionsAuthorizeBetaUsers.js.map +1 -1
  487. package/dist/esm/funcs/indexingPermissionsBulkIndexGroups.js +3 -3
  488. package/dist/esm/funcs/indexingPermissionsBulkIndexGroups.js.map +1 -1
  489. package/dist/esm/funcs/indexingPermissionsBulkIndexMemberships.js +3 -3
  490. package/dist/esm/funcs/indexingPermissionsBulkIndexMemberships.js.map +1 -1
  491. package/dist/esm/funcs/indexingPermissionsBulkIndexUsers.js +3 -3
  492. package/dist/esm/funcs/indexingPermissionsBulkIndexUsers.js.map +1 -1
  493. package/dist/esm/funcs/indexingPermissionsDeleteGroup.js +3 -3
  494. package/dist/esm/funcs/indexingPermissionsDeleteGroup.js.map +1 -1
  495. package/dist/esm/funcs/indexingPermissionsDeleteMembership.js +3 -3
  496. package/dist/esm/funcs/indexingPermissionsDeleteMembership.js.map +1 -1
  497. package/dist/esm/funcs/indexingPermissionsDeleteUser.js +3 -3
  498. package/dist/esm/funcs/indexingPermissionsDeleteUser.js.map +1 -1
  499. package/dist/esm/funcs/indexingPermissionsIndexGroup.js +3 -3
  500. package/dist/esm/funcs/indexingPermissionsIndexGroup.js.map +1 -1
  501. package/dist/esm/funcs/indexingPermissionsIndexMembership.js +3 -3
  502. package/dist/esm/funcs/indexingPermissionsIndexMembership.js.map +1 -1
  503. package/dist/esm/funcs/indexingPermissionsIndexUser.js +3 -3
  504. package/dist/esm/funcs/indexingPermissionsIndexUser.js.map +1 -1
  505. package/dist/esm/funcs/indexingPermissionsProcessMemberships.js +3 -3
  506. package/dist/esm/funcs/indexingPermissionsProcessMemberships.js.map +1 -1
  507. package/dist/esm/funcs/indexingPermissionsUpdatePermissions.js +3 -3
  508. package/dist/esm/funcs/indexingPermissionsUpdatePermissions.js.map +1 -1
  509. package/dist/esm/funcs/indexingShortcutsBulkIndex.js +3 -3
  510. package/dist/esm/funcs/indexingShortcutsBulkIndex.js.map +1 -1
  511. package/dist/esm/funcs/indexingShortcutsUpload.js +3 -3
  512. package/dist/esm/funcs/indexingShortcutsUpload.js.map +1 -1
  513. package/dist/esm/lib/config.d.ts +3 -3
  514. package/dist/esm/lib/config.d.ts.map +1 -1
  515. package/dist/esm/lib/config.js +2 -2
  516. package/dist/esm/lib/config.js.map +1 -1
  517. package/dist/esm/lib/env.d.ts +1 -1
  518. package/dist/esm/lib/env.d.ts.map +1 -1
  519. package/dist/esm/lib/env.js +1 -1
  520. package/dist/esm/lib/env.js.map +1 -1
  521. package/dist/esm/lib/security.js +1 -1
  522. package/dist/esm/lib/security.js.map +1 -1
  523. package/dist/esm/models/components/calendarevent.d.ts +5 -0
  524. package/dist/esm/models/components/calendarevent.d.ts.map +1 -1
  525. package/dist/esm/models/components/calendarevent.js +2 -0
  526. package/dist/esm/models/components/calendarevent.js.map +1 -1
  527. package/dist/esm/models/components/security.d.ts +2 -2
  528. package/dist/esm/models/components/security.d.ts.map +1 -1
  529. package/dist/esm/models/components/security.js +4 -4
  530. package/dist/esm/models/components/security.js.map +1 -1
  531. package/dist/esm/react-query/clientSearchAutocomplete.d.ts +23 -0
  532. package/dist/esm/react-query/clientSearchAutocomplete.d.ts.map +1 -0
  533. package/dist/esm/react-query/{searchAutocomplete.js → clientSearchAutocomplete.js} +10 -10
  534. package/dist/esm/react-query/{clientSearchFeedRetrieve.js.map → clientSearchAutocomplete.js.map} +1 -1
  535. package/dist/esm/react-query/index.d.ts +1 -1
  536. package/dist/esm/react-query/index.d.ts.map +1 -1
  537. package/dist/esm/react-query/index.js +1 -1
  538. package/dist/esm/react-query/index.js.map +1 -1
  539. package/dist/esm/sdk/client.d.ts +2 -2
  540. package/dist/esm/sdk/client.d.ts.map +1 -1
  541. package/dist/esm/sdk/client.js +2 -2
  542. package/dist/esm/sdk/client.js.map +1 -1
  543. package/dist/esm/sdk/sdk.d.ts +0 -3
  544. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  545. package/dist/esm/sdk/sdk.js +0 -4
  546. package/dist/esm/sdk/sdk.js.map +1 -1
  547. package/dist/esm/sdk/search.d.ts +28 -0
  548. package/dist/esm/sdk/search.d.ts.map +1 -1
  549. package/dist/esm/sdk/search.js +42 -2
  550. package/dist/esm/sdk/search.js.map +1 -1
  551. package/docs/sdks/activity/README.md +4 -4
  552. package/docs/sdks/agents/README.md +6 -6
  553. package/docs/sdks/announcements/README.md +6 -6
  554. package/docs/sdks/answers/README.md +10 -10
  555. package/docs/sdks/chat/README.md +20 -20
  556. package/docs/sdks/clientauthentication/README.md +2 -2
  557. package/docs/sdks/clientdocuments/README.md +8 -8
  558. package/docs/sdks/clientshortcuts/README.md +10 -10
  559. package/docs/sdks/collections/README.md +16 -16
  560. package/docs/sdks/datasource/README.md +2 -2
  561. package/docs/sdks/datasources/README.md +4 -4
  562. package/docs/sdks/entities/README.md +4 -4
  563. package/docs/sdks/indexingauthentication/README.md +2 -2
  564. package/docs/sdks/indexingdocuments/README.md +20 -20
  565. package/docs/sdks/indexingshortcuts/README.md +4 -4
  566. package/docs/sdks/insights/README.md +2 -2
  567. package/docs/sdks/messages/README.md +2 -2
  568. package/docs/sdks/people/README.md +18 -18
  569. package/docs/sdks/permissions/README.md +24 -24
  570. package/docs/sdks/pins/README.md +10 -10
  571. package/docs/sdks/search/README.md +1491 -9
  572. package/docs/sdks/verification/README.md +6 -6
  573. package/examples/src/search.example.ts +8 -6
  574. package/examples/src/startChat.example.ts +7 -5
  575. package/jsr.json +1 -1
  576. package/package.json +1 -1
  577. package/src/__tests__/activity.test.ts +2 -2
  578. package/src/__tests__/adminsearch.test.ts +1 -1
  579. package/src/__tests__/agents.test.ts +3 -3
  580. package/src/__tests__/announcements.test.ts +3 -3
  581. package/src/__tests__/answers.test.ts +5 -5
  582. package/src/__tests__/chat.test.ts +18 -18
  583. package/src/__tests__/clientauthentication.test.ts +1 -1
  584. package/src/__tests__/clientdocuments.test.ts +4 -4
  585. package/src/__tests__/clientsearch.test.ts +3 -3
  586. package/src/__tests__/clientshortcuts.test.ts +5 -5
  587. package/src/__tests__/collections.test.ts +8 -8
  588. package/src/__tests__/datasources.test.ts +2 -2
  589. package/src/__tests__/entities.test.ts +2 -2
  590. package/src/__tests__/indexingauthentication.test.ts +1 -1
  591. package/src/__tests__/indexingdocuments.test.ts +8 -8
  592. package/src/__tests__/indexingpeople.test.ts +2 -2
  593. package/src/__tests__/insights.test.ts +1 -1
  594. package/src/__tests__/messages.test.ts +1 -1
  595. package/src/__tests__/permissions.test.ts +12 -12
  596. package/src/__tests__/pins.test.ts +5 -5
  597. package/src/__tests__/search.test.ts +2 -2
  598. package/src/__tests__/verification.test.ts +3 -3
  599. package/src/funcs/clientActivityFeedback.ts +3 -3
  600. package/src/funcs/clientActivityReport.ts +3 -3
  601. package/src/funcs/clientAgentsList.ts +3 -3
  602. package/src/funcs/clientAgentsRetrieveInputs.ts +3 -3
  603. package/src/funcs/clientAgentsRun.ts +3 -3
  604. package/src/funcs/clientAnnouncementsCreate.ts +3 -3
  605. package/src/funcs/clientAnnouncementsDelete.ts +3 -3
  606. package/src/funcs/clientAnnouncementsUpdate.ts +3 -3
  607. package/src/funcs/clientAnswersCreate.ts +3 -3
  608. package/src/funcs/clientAnswersDelete.ts +3 -3
  609. package/src/funcs/clientAnswersList.ts +3 -3
  610. package/src/funcs/clientAnswersRetrieve.ts +3 -3
  611. package/src/funcs/clientAnswersUpdate.ts +3 -3
  612. package/src/funcs/clientAuthenticationCreateToken.ts +3 -3
  613. package/src/funcs/clientChatCreate.ts +3 -3
  614. package/src/funcs/clientChatCreateStream.ts +3 -3
  615. package/src/funcs/clientChatDelete.ts +3 -3
  616. package/src/funcs/clientChatDeleteAll.ts +3 -3
  617. package/src/funcs/clientChatDeleteFiles.ts +3 -3
  618. package/src/funcs/clientChatList.ts +3 -3
  619. package/src/funcs/clientChatRetrieve.ts +3 -3
  620. package/src/funcs/clientChatRetrieveApplication.ts +3 -3
  621. package/src/funcs/clientChatRetrieveFiles.ts +3 -3
  622. package/src/funcs/clientChatUploadFiles.ts +3 -3
  623. package/src/funcs/clientCollectionsAddItems.ts +3 -3
  624. package/src/funcs/clientCollectionsCreate.ts +3 -3
  625. package/src/funcs/clientCollectionsDelete.ts +3 -3
  626. package/src/funcs/clientCollectionsDeleteItem.ts +3 -3
  627. package/src/funcs/clientCollectionsList.ts +3 -3
  628. package/src/funcs/clientCollectionsRetrieve.ts +3 -3
  629. package/src/funcs/clientCollectionsUpdate.ts +3 -3
  630. package/src/funcs/clientCollectionsUpdateItem.ts +3 -3
  631. package/src/funcs/clientDocumentsRetrieve.ts +3 -3
  632. package/src/funcs/clientDocumentsRetrieveByFacets.ts +3 -3
  633. package/src/funcs/clientDocumentsRetrievePermissions.ts +3 -3
  634. package/src/funcs/clientDocumentsSummarize.ts +3 -3
  635. package/src/funcs/clientEntitiesList.ts +3 -3
  636. package/src/funcs/clientEntitiesReadPeople.ts +3 -3
  637. package/src/funcs/clientInsightsRetrieve.ts +3 -3
  638. package/src/funcs/clientMessagesRetrieve.ts +3 -3
  639. package/src/funcs/clientPinsCreate.ts +3 -3
  640. package/src/funcs/clientPinsList.ts +3 -3
  641. package/src/funcs/clientPinsRemove.ts +3 -3
  642. package/src/funcs/clientPinsRetrieve.ts +3 -3
  643. package/src/funcs/clientPinsUpdate.ts +3 -3
  644. package/src/funcs/{searchAutocomplete.ts → clientSearchAutocomplete.ts} +4 -4
  645. package/src/funcs/clientSearchQuery.ts +3 -3
  646. package/src/funcs/clientSearchQueryAsAdmin.ts +3 -3
  647. package/src/funcs/clientSearchRecommendations.ts +3 -3
  648. package/src/funcs/clientSearchRetrieveFeed.ts +3 -3
  649. package/src/funcs/clientShortcutsCreate.ts +3 -3
  650. package/src/funcs/clientShortcutsDelete.ts +3 -3
  651. package/src/funcs/clientShortcutsList.ts +3 -3
  652. package/src/funcs/clientShortcutsRetrieve.ts +3 -3
  653. package/src/funcs/clientShortcutsUpdate.ts +3 -3
  654. package/src/funcs/clientVerificationAddReminder.ts +3 -3
  655. package/src/funcs/clientVerificationList.ts +3 -3
  656. package/src/funcs/clientVerificationVerify.ts +3 -3
  657. package/src/funcs/indexingAuthenticationRotateToken.ts +3 -3
  658. package/src/funcs/indexingDatasourceStatus.ts +3 -3
  659. package/src/funcs/indexingDatasourcesAdd.ts +3 -3
  660. package/src/funcs/indexingDatasourcesRetrieveConfig.ts +3 -3
  661. package/src/funcs/indexingDocumentsAddOrUpdate.ts +3 -3
  662. package/src/funcs/indexingDocumentsBulkIndex.ts +3 -3
  663. package/src/funcs/indexingDocumentsCheckAccess.ts +3 -3
  664. package/src/funcs/indexingDocumentsCount.ts +3 -3
  665. package/src/funcs/indexingDocumentsDebug.ts +3 -3
  666. package/src/funcs/indexingDocumentsDebugMany.ts +3 -3
  667. package/src/funcs/indexingDocumentsDelete.ts +3 -3
  668. package/src/funcs/indexingDocumentsIndex.ts +3 -3
  669. package/src/funcs/indexingDocumentsProcessAll.ts +3 -3
  670. package/src/funcs/indexingDocumentsStatus.ts +3 -3
  671. package/src/funcs/indexingPeopleBulkIndex.ts +3 -3
  672. package/src/funcs/indexingPeopleBulkIndexTeams.ts +3 -3
  673. package/src/funcs/indexingPeopleCount.ts +3 -3
  674. package/src/funcs/indexingPeopleDebug.ts +3 -3
  675. package/src/funcs/indexingPeopleDelete.ts +3 -3
  676. package/src/funcs/indexingPeopleDeleteTeam.ts +3 -3
  677. package/src/funcs/indexingPeopleIndex.ts +3 -3
  678. package/src/funcs/indexingPeopleIndexTeam.ts +3 -3
  679. package/src/funcs/indexingPeopleProcessAllEmployeesAndTeams.ts +3 -3
  680. package/src/funcs/indexingPermissionsAuthorizeBetaUsers.ts +3 -3
  681. package/src/funcs/indexingPermissionsBulkIndexGroups.ts +3 -3
  682. package/src/funcs/indexingPermissionsBulkIndexMemberships.ts +3 -3
  683. package/src/funcs/indexingPermissionsBulkIndexUsers.ts +3 -3
  684. package/src/funcs/indexingPermissionsDeleteGroup.ts +3 -3
  685. package/src/funcs/indexingPermissionsDeleteMembership.ts +3 -3
  686. package/src/funcs/indexingPermissionsDeleteUser.ts +3 -3
  687. package/src/funcs/indexingPermissionsIndexGroup.ts +3 -3
  688. package/src/funcs/indexingPermissionsIndexMembership.ts +3 -3
  689. package/src/funcs/indexingPermissionsIndexUser.ts +3 -3
  690. package/src/funcs/indexingPermissionsProcessMemberships.ts +3 -3
  691. package/src/funcs/indexingPermissionsUpdatePermissions.ts +3 -3
  692. package/src/funcs/indexingShortcutsBulkIndex.ts +3 -3
  693. package/src/funcs/indexingShortcutsUpload.ts +3 -3
  694. package/src/lib/config.ts +3 -3
  695. package/src/lib/env.ts +2 -2
  696. package/src/lib/security.ts +1 -1
  697. package/src/models/components/calendarevent.ts +7 -0
  698. package/src/models/components/security.ts +6 -6
  699. package/src/react-query/{searchAutocomplete.ts → clientSearchAutocomplete.ts} +19 -18
  700. package/src/react-query/index.ts +1 -1
  701. package/src/sdk/client.ts +4 -4
  702. package/src/sdk/sdk.ts +0 -6
  703. package/src/sdk/search.ts +74 -2
  704. package/dist/commonjs/funcs/clientAgentsAgentInputsRetrieve.d.ts +0 -16
  705. package/dist/commonjs/funcs/clientAgentsAgentInputsRetrieve.d.ts.map +0 -1
  706. package/dist/commonjs/funcs/clientAgentsAgentInputsRetrieve.js +0 -123
  707. package/dist/commonjs/funcs/clientAgentsAgentInputsRetrieve.js.map +0 -1
  708. package/dist/commonjs/funcs/clientAgentsAgentRun.d.ts +0 -16
  709. package/dist/commonjs/funcs/clientAgentsAgentRun.d.ts.map +0 -1
  710. package/dist/commonjs/funcs/clientAgentsAgentRun.js +0 -121
  711. package/dist/commonjs/funcs/clientAgentsAgentRun.js.map +0 -1
  712. package/dist/commonjs/funcs/clientChatApplicationRetrieve.d.ts +0 -16
  713. package/dist/commonjs/funcs/clientChatApplicationRetrieve.d.ts.map +0 -1
  714. package/dist/commonjs/funcs/clientChatApplicationRetrieve.js +0 -123
  715. package/dist/commonjs/funcs/clientChatApplicationRetrieve.js.map +0 -1
  716. package/dist/commonjs/funcs/clientChatFilesDelete.d.ts +0 -16
  717. package/dist/commonjs/funcs/clientChatFilesDelete.d.ts.map +0 -1
  718. package/dist/commonjs/funcs/clientChatFilesDelete.js +0 -123
  719. package/dist/commonjs/funcs/clientChatFilesDelete.js.map +0 -1
  720. package/dist/commonjs/funcs/clientChatFilesRetrieve.d.ts +0 -16
  721. package/dist/commonjs/funcs/clientChatFilesRetrieve.d.ts.map +0 -1
  722. package/dist/commonjs/funcs/clientChatFilesRetrieve.js +0 -123
  723. package/dist/commonjs/funcs/clientChatFilesRetrieve.js.map +0 -1
  724. package/dist/commonjs/funcs/clientChatFilesUpload.d.ts +0 -16
  725. package/dist/commonjs/funcs/clientChatFilesUpload.d.ts.map +0 -1
  726. package/dist/commonjs/funcs/clientChatFilesUpload.js +0 -121
  727. package/dist/commonjs/funcs/clientChatFilesUpload.js.map +0 -1
  728. package/dist/commonjs/funcs/clientCollectionsItemDelete.d.ts +0 -16
  729. package/dist/commonjs/funcs/clientCollectionsItemDelete.d.ts.map +0 -1
  730. package/dist/commonjs/funcs/clientCollectionsItemDelete.js +0 -112
  731. package/dist/commonjs/funcs/clientCollectionsItemDelete.js.map +0 -1
  732. package/dist/commonjs/funcs/clientCollectionsItemUpdate.d.ts +0 -16
  733. package/dist/commonjs/funcs/clientCollectionsItemUpdate.d.ts.map +0 -1
  734. package/dist/commonjs/funcs/clientCollectionsItemUpdate.js +0 -112
  735. package/dist/commonjs/funcs/clientCollectionsItemUpdate.js.map +0 -1
  736. package/dist/commonjs/funcs/clientDocumentsPermissionsRetrieve.d.ts +0 -16
  737. package/dist/commonjs/funcs/clientDocumentsPermissionsRetrieve.d.ts.map +0 -1
  738. package/dist/commonjs/funcs/clientDocumentsPermissionsRetrieve.js +0 -112
  739. package/dist/commonjs/funcs/clientDocumentsPermissionsRetrieve.js.map +0 -1
  740. package/dist/commonjs/funcs/clientSearchAdminQuery.d.ts +0 -17
  741. package/dist/commonjs/funcs/clientSearchAdminQuery.d.ts.map +0 -1
  742. package/dist/commonjs/funcs/clientSearchAdminQuery.js +0 -118
  743. package/dist/commonjs/funcs/clientSearchAdminQuery.js.map +0 -1
  744. package/dist/commonjs/funcs/clientSearchFeedRetrieve.d.ts +0 -16
  745. package/dist/commonjs/funcs/clientSearchFeedRetrieve.js +0 -112
  746. package/dist/commonjs/funcs/clientSearchFeedRetrieve.js.map +0 -1
  747. package/dist/commonjs/funcs/clientShortcutsUpload.d.ts +0 -16
  748. package/dist/commonjs/funcs/clientShortcutsUpload.d.ts.map +0 -1
  749. package/dist/commonjs/funcs/clientShortcutsUpload.js +0 -113
  750. package/dist/commonjs/funcs/clientShortcutsUpload.js.map +0 -1
  751. package/dist/commonjs/funcs/clientSummarizeGenerate.d.ts +0 -16
  752. package/dist/commonjs/funcs/clientSummarizeGenerate.d.ts.map +0 -1
  753. package/dist/commonjs/funcs/clientSummarizeGenerate.js +0 -112
  754. package/dist/commonjs/funcs/clientSummarizeGenerate.js.map +0 -1
  755. package/dist/commonjs/funcs/indexingDatasourcesConfigRetrieve.d.ts +0 -16
  756. package/dist/commonjs/funcs/indexingDatasourcesConfigRetrieve.d.ts.map +0 -1
  757. package/dist/commonjs/funcs/indexingDatasourcesConfigRetrieve.js +0 -112
  758. package/dist/commonjs/funcs/indexingDatasourcesConfigRetrieve.js.map +0 -1
  759. package/dist/commonjs/funcs/indexingTroubleshootingCheckAccess.d.ts +0 -18
  760. package/dist/commonjs/funcs/indexingTroubleshootingCheckAccess.d.ts.map +0 -1
  761. package/dist/commonjs/funcs/indexingTroubleshootingCheckAccess.js +0 -114
  762. package/dist/commonjs/funcs/indexingTroubleshootingCheckAccess.js.map +0 -1
  763. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentDebug.d.ts +0 -18
  764. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentDebug.d.ts.map +0 -1
  765. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentDebug.js +0 -130
  766. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentDebug.js.map +0 -1
  767. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentsDebug.d.ts +0 -18
  768. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentsDebug.d.ts.map +0 -1
  769. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentsDebug.js +0 -130
  770. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentsDebug.js.map +0 -1
  771. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceStatus.d.ts +0 -18
  772. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceStatus.d.ts.map +0 -1
  773. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceStatus.js +0 -126
  774. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceStatus.js.map +0 -1
  775. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceUserDebug.d.ts +0 -18
  776. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceUserDebug.d.ts.map +0 -1
  777. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceUserDebug.js +0 -127
  778. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceUserDebug.js.map +0 -1
  779. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsCount.d.ts +0 -20
  780. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsCount.d.ts.map +0 -1
  781. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsCount.js +0 -116
  782. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsCount.js.map +0 -1
  783. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsStatus.d.ts +0 -20
  784. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsStatus.d.ts.map +0 -1
  785. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsStatus.js +0 -116
  786. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsStatus.js.map +0 -1
  787. package/dist/commonjs/funcs/indexingTroubleshootingUsersCount.d.ts +0 -20
  788. package/dist/commonjs/funcs/indexingTroubleshootingUsersCount.d.ts.map +0 -1
  789. package/dist/commonjs/funcs/indexingTroubleshootingUsersCount.js +0 -116
  790. package/dist/commonjs/funcs/indexingTroubleshootingUsersCount.js.map +0 -1
  791. package/dist/commonjs/funcs/searchAutocomplete.d.ts.map +0 -1
  792. package/dist/commonjs/funcs/searchAutocomplete.js.map +0 -1
  793. package/dist/commonjs/funcs/shortcutsCreateshortcut.d.ts +0 -16
  794. package/dist/commonjs/funcs/shortcutsCreateshortcut.d.ts.map +0 -1
  795. package/dist/commonjs/funcs/shortcutsCreateshortcut.js +0 -112
  796. package/dist/commonjs/funcs/shortcutsCreateshortcut.js.map +0 -1
  797. package/dist/commonjs/funcs/verificationVerify.d.ts +0 -16
  798. package/dist/commonjs/funcs/verificationVerify.d.ts.map +0 -1
  799. package/dist/commonjs/funcs/verificationVerify.js +0 -112
  800. package/dist/commonjs/funcs/verificationVerify.js.map +0 -1
  801. package/dist/commonjs/react-query/clientAgentsAgentInputsRetrieve.d.ts +0 -24
  802. package/dist/commonjs/react-query/clientAgentsAgentInputsRetrieve.d.ts.map +0 -1
  803. package/dist/commonjs/react-query/clientAgentsAgentInputsRetrieve.js +0 -47
  804. package/dist/commonjs/react-query/clientAgentsAgentInputsRetrieve.js.map +0 -1
  805. package/dist/commonjs/react-query/clientAgentsAgentRun.d.ts +0 -24
  806. package/dist/commonjs/react-query/clientAgentsAgentRun.d.ts.map +0 -1
  807. package/dist/commonjs/react-query/clientAgentsAgentRun.js +0 -47
  808. package/dist/commonjs/react-query/clientAgentsAgentRun.js.map +0 -1
  809. package/dist/commonjs/react-query/clientChatApplicationRetrieve.d.ts +0 -24
  810. package/dist/commonjs/react-query/clientChatApplicationRetrieve.d.ts.map +0 -1
  811. package/dist/commonjs/react-query/clientChatApplicationRetrieve.js +0 -47
  812. package/dist/commonjs/react-query/clientChatApplicationRetrieve.js.map +0 -1
  813. package/dist/commonjs/react-query/clientChatFilesDelete.d.ts +0 -24
  814. package/dist/commonjs/react-query/clientChatFilesDelete.d.ts.map +0 -1
  815. package/dist/commonjs/react-query/clientChatFilesDelete.js +0 -47
  816. package/dist/commonjs/react-query/clientChatFilesDelete.js.map +0 -1
  817. package/dist/commonjs/react-query/clientChatFilesRetrieve.d.ts +0 -24
  818. package/dist/commonjs/react-query/clientChatFilesRetrieve.d.ts.map +0 -1
  819. package/dist/commonjs/react-query/clientChatFilesRetrieve.js +0 -47
  820. package/dist/commonjs/react-query/clientChatFilesRetrieve.js.map +0 -1
  821. package/dist/commonjs/react-query/clientChatFilesUpload.d.ts +0 -24
  822. package/dist/commonjs/react-query/clientChatFilesUpload.d.ts.map +0 -1
  823. package/dist/commonjs/react-query/clientChatFilesUpload.js +0 -47
  824. package/dist/commonjs/react-query/clientChatFilesUpload.js.map +0 -1
  825. package/dist/commonjs/react-query/clientCollectionsItemDelete.d.ts +0 -23
  826. package/dist/commonjs/react-query/clientCollectionsItemDelete.d.ts.map +0 -1
  827. package/dist/commonjs/react-query/clientCollectionsItemDelete.js +0 -47
  828. package/dist/commonjs/react-query/clientCollectionsItemDelete.js.map +0 -1
  829. package/dist/commonjs/react-query/clientCollectionsItemUpdate.d.ts +0 -23
  830. package/dist/commonjs/react-query/clientCollectionsItemUpdate.d.ts.map +0 -1
  831. package/dist/commonjs/react-query/clientCollectionsItemUpdate.js +0 -47
  832. package/dist/commonjs/react-query/clientCollectionsItemUpdate.js.map +0 -1
  833. package/dist/commonjs/react-query/clientDocumentsPermissionsRetrieve.d.ts +0 -23
  834. package/dist/commonjs/react-query/clientDocumentsPermissionsRetrieve.d.ts.map +0 -1
  835. package/dist/commonjs/react-query/clientDocumentsPermissionsRetrieve.js +0 -47
  836. package/dist/commonjs/react-query/clientDocumentsPermissionsRetrieve.js.map +0 -1
  837. package/dist/commonjs/react-query/clientSearchAdminQuery.d.ts +0 -23
  838. package/dist/commonjs/react-query/clientSearchAdminQuery.d.ts.map +0 -1
  839. package/dist/commonjs/react-query/clientSearchAdminQuery.js +0 -47
  840. package/dist/commonjs/react-query/clientSearchAdminQuery.js.map +0 -1
  841. package/dist/commonjs/react-query/clientSearchFeedRetrieve.d.ts +0 -23
  842. package/dist/commonjs/react-query/clientSearchFeedRetrieve.d.ts.map +0 -1
  843. package/dist/commonjs/react-query/clientSearchFeedRetrieve.js +0 -47
  844. package/dist/commonjs/react-query/clientShortcutsUpload.d.ts +0 -23
  845. package/dist/commonjs/react-query/clientShortcutsUpload.d.ts.map +0 -1
  846. package/dist/commonjs/react-query/clientShortcutsUpload.js +0 -47
  847. package/dist/commonjs/react-query/clientShortcutsUpload.js.map +0 -1
  848. package/dist/commonjs/react-query/clientSummarizeGenerate.d.ts +0 -23
  849. package/dist/commonjs/react-query/clientSummarizeGenerate.d.ts.map +0 -1
  850. package/dist/commonjs/react-query/clientSummarizeGenerate.js +0 -47
  851. package/dist/commonjs/react-query/clientSummarizeGenerate.js.map +0 -1
  852. package/dist/commonjs/react-query/indexingDatasourcesConfigRetrieve.d.ts +0 -23
  853. package/dist/commonjs/react-query/indexingDatasourcesConfigRetrieve.d.ts.map +0 -1
  854. package/dist/commonjs/react-query/indexingDatasourcesConfigRetrieve.js +0 -47
  855. package/dist/commonjs/react-query/indexingDatasourcesConfigRetrieve.js.map +0 -1
  856. package/dist/commonjs/react-query/indexingTroubleshootingCheckAccess.d.ts +0 -25
  857. package/dist/commonjs/react-query/indexingTroubleshootingCheckAccess.d.ts.map +0 -1
  858. package/dist/commonjs/react-query/indexingTroubleshootingCheckAccess.js +0 -49
  859. package/dist/commonjs/react-query/indexingTroubleshootingCheckAccess.js.map +0 -1
  860. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentDebug.d.ts +0 -26
  861. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentDebug.d.ts.map +0 -1
  862. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentDebug.js +0 -49
  863. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentDebug.js.map +0 -1
  864. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentsDebug.d.ts +0 -26
  865. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentsDebug.d.ts.map +0 -1
  866. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentsDebug.js +0 -49
  867. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentsDebug.js.map +0 -1
  868. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceStatus.d.ts +0 -25
  869. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceStatus.d.ts.map +0 -1
  870. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceStatus.js +0 -49
  871. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceStatus.js.map +0 -1
  872. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceUserDebug.d.ts +0 -26
  873. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceUserDebug.d.ts.map +0 -1
  874. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceUserDebug.js +0 -49
  875. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceUserDebug.js.map +0 -1
  876. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsCount.d.ts +0 -27
  877. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsCount.d.ts.map +0 -1
  878. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsCount.js +0 -51
  879. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsCount.js.map +0 -1
  880. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsStatus.d.ts +0 -27
  881. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsStatus.d.ts.map +0 -1
  882. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsStatus.js +0 -51
  883. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsStatus.js.map +0 -1
  884. package/dist/commonjs/react-query/indexingTroubleshootingUsersCount.d.ts +0 -27
  885. package/dist/commonjs/react-query/indexingTroubleshootingUsersCount.d.ts.map +0 -1
  886. package/dist/commonjs/react-query/indexingTroubleshootingUsersCount.js +0 -51
  887. package/dist/commonjs/react-query/indexingTroubleshootingUsersCount.js.map +0 -1
  888. package/dist/commonjs/react-query/searchAutocomplete.d.ts +0 -23
  889. package/dist/commonjs/react-query/searchAutocomplete.d.ts.map +0 -1
  890. package/dist/commonjs/react-query/searchAutocomplete.js.map +0 -1
  891. package/dist/commonjs/react-query/shortcutsCreateshortcut.d.ts +0 -23
  892. package/dist/commonjs/react-query/shortcutsCreateshortcut.d.ts.map +0 -1
  893. package/dist/commonjs/react-query/shortcutsCreateshortcut.js +0 -47
  894. package/dist/commonjs/react-query/shortcutsCreateshortcut.js.map +0 -1
  895. package/dist/commonjs/react-query/verificationVerify.d.ts +0 -23
  896. package/dist/commonjs/react-query/verificationVerify.d.ts.map +0 -1
  897. package/dist/commonjs/react-query/verificationVerify.js +0 -47
  898. package/dist/commonjs/react-query/verificationVerify.js.map +0 -1
  899. package/dist/commonjs/sdk/agent.d.ts +0 -15
  900. package/dist/commonjs/sdk/agent.d.ts.map +0 -1
  901. package/dist/commonjs/sdk/agent.js +0 -26
  902. package/dist/commonjs/sdk/agent.js.map +0 -1
  903. package/dist/commonjs/sdk/application.d.ts +0 -12
  904. package/dist/commonjs/sdk/application.d.ts.map +0 -1
  905. package/dist/commonjs/sdk/application.js +0 -22
  906. package/dist/commonjs/sdk/application.js.map +0 -1
  907. package/dist/commonjs/sdk/clientsearch.d.ts +0 -33
  908. package/dist/commonjs/sdk/clientsearch.d.ts.map +0 -1
  909. package/dist/commonjs/sdk/clientsearch.js +0 -52
  910. package/dist/commonjs/sdk/clientsearch.js.map +0 -1
  911. package/dist/commonjs/sdk/clientverification.d.ts +0 -19
  912. package/dist/commonjs/sdk/clientverification.d.ts.map +0 -1
  913. package/dist/commonjs/sdk/clientverification.js +0 -32
  914. package/dist/commonjs/sdk/clientverification.js.map +0 -1
  915. package/dist/commonjs/sdk/config.d.ts +0 -12
  916. package/dist/commonjs/sdk/config.d.ts.map +0 -1
  917. package/dist/commonjs/sdk/config.js +0 -22
  918. package/dist/commonjs/sdk/config.js.map +0 -1
  919. package/dist/commonjs/sdk/datasourcedocuments.d.ts +0 -14
  920. package/dist/commonjs/sdk/datasourcedocuments.d.ts.map +0 -1
  921. package/dist/commonjs/sdk/datasourcedocuments.js +0 -24
  922. package/dist/commonjs/sdk/datasourcedocuments.js.map +0 -1
  923. package/dist/commonjs/sdk/document.d.ts +0 -14
  924. package/dist/commonjs/sdk/document.d.ts.map +0 -1
  925. package/dist/commonjs/sdk/document.js +0 -24
  926. package/dist/commonjs/sdk/document.js.map +0 -1
  927. package/dist/commonjs/sdk/documentspermissions.d.ts +0 -12
  928. package/dist/commonjs/sdk/documentspermissions.d.ts.map +0 -1
  929. package/dist/commonjs/sdk/documentspermissions.js +0 -22
  930. package/dist/commonjs/sdk/documentspermissions.js.map +0 -1
  931. package/dist/commonjs/sdk/feed.d.ts +0 -12
  932. package/dist/commonjs/sdk/feed.d.ts.map +0 -1
  933. package/dist/commonjs/sdk/feed.js +0 -22
  934. package/dist/commonjs/sdk/feed.js.map +0 -1
  935. package/dist/commonjs/sdk/files.d.ts +0 -26
  936. package/dist/commonjs/sdk/files.d.ts.map +0 -1
  937. package/dist/commonjs/sdk/files.js +0 -42
  938. package/dist/commonjs/sdk/files.js.map +0 -1
  939. package/dist/commonjs/sdk/indexingpermissions.d.ts +0 -89
  940. package/dist/commonjs/sdk/indexingpermissions.d.ts.map +0 -1
  941. package/dist/commonjs/sdk/indexingpermissions.js +0 -132
  942. package/dist/commonjs/sdk/indexingpermissions.js.map +0 -1
  943. package/dist/commonjs/sdk/inputs.d.ts +0 -12
  944. package/dist/commonjs/sdk/inputs.d.ts.map +0 -1
  945. package/dist/commonjs/sdk/inputs.js +0 -22
  946. package/dist/commonjs/sdk/inputs.js.map +0 -1
  947. package/dist/commonjs/sdk/item.d.ts +0 -19
  948. package/dist/commonjs/sdk/item.d.ts.map +0 -1
  949. package/dist/commonjs/sdk/item.js +0 -32
  950. package/dist/commonjs/sdk/item.js.map +0 -1
  951. package/dist/commonjs/sdk/shortcuts.d.ts +0 -12
  952. package/dist/commonjs/sdk/shortcuts.d.ts.map +0 -1
  953. package/dist/commonjs/sdk/shortcuts.js +0 -22
  954. package/dist/commonjs/sdk/shortcuts.js.map +0 -1
  955. package/dist/commonjs/sdk/summarize.d.ts +0 -12
  956. package/dist/commonjs/sdk/summarize.d.ts.map +0 -1
  957. package/dist/commonjs/sdk/summarize.js +0 -22
  958. package/dist/commonjs/sdk/summarize.js.map +0 -1
  959. package/dist/commonjs/sdk/troubleshooting.d.ts +0 -23
  960. package/dist/commonjs/sdk/troubleshooting.d.ts.map +0 -1
  961. package/dist/commonjs/sdk/troubleshooting.js +0 -36
  962. package/dist/commonjs/sdk/troubleshooting.js.map +0 -1
  963. package/dist/commonjs/sdk/troubleshootingdocuments.d.ts +0 -27
  964. package/dist/commonjs/sdk/troubleshootingdocuments.d.ts.map +0 -1
  965. package/dist/commonjs/sdk/troubleshootingdocuments.js +0 -40
  966. package/dist/commonjs/sdk/troubleshootingdocuments.js.map +0 -1
  967. package/dist/commonjs/sdk/user.d.ts +0 -14
  968. package/dist/commonjs/sdk/user.d.ts.map +0 -1
  969. package/dist/commonjs/sdk/user.js +0 -24
  970. package/dist/commonjs/sdk/user.js.map +0 -1
  971. package/dist/commonjs/sdk/users.d.ts +0 -16
  972. package/dist/commonjs/sdk/users.d.ts.map +0 -1
  973. package/dist/commonjs/sdk/users.js +0 -26
  974. package/dist/commonjs/sdk/users.js.map +0 -1
  975. package/dist/esm/funcs/clientAgentsAgentInputsRetrieve.d.ts +0 -16
  976. package/dist/esm/funcs/clientAgentsAgentInputsRetrieve.d.ts.map +0 -1
  977. package/dist/esm/funcs/clientAgentsAgentInputsRetrieve.js +0 -87
  978. package/dist/esm/funcs/clientAgentsAgentInputsRetrieve.js.map +0 -1
  979. package/dist/esm/funcs/clientAgentsAgentRun.d.ts +0 -16
  980. package/dist/esm/funcs/clientAgentsAgentRun.d.ts.map +0 -1
  981. package/dist/esm/funcs/clientAgentsAgentRun.js +0 -85
  982. package/dist/esm/funcs/clientAgentsAgentRun.js.map +0 -1
  983. package/dist/esm/funcs/clientChatApplicationRetrieve.d.ts +0 -16
  984. package/dist/esm/funcs/clientChatApplicationRetrieve.d.ts.map +0 -1
  985. package/dist/esm/funcs/clientChatApplicationRetrieve.js +0 -87
  986. package/dist/esm/funcs/clientChatApplicationRetrieve.js.map +0 -1
  987. package/dist/esm/funcs/clientChatFilesDelete.d.ts +0 -16
  988. package/dist/esm/funcs/clientChatFilesDelete.d.ts.map +0 -1
  989. package/dist/esm/funcs/clientChatFilesDelete.js +0 -87
  990. package/dist/esm/funcs/clientChatFilesDelete.js.map +0 -1
  991. package/dist/esm/funcs/clientChatFilesRetrieve.d.ts +0 -16
  992. package/dist/esm/funcs/clientChatFilesRetrieve.d.ts.map +0 -1
  993. package/dist/esm/funcs/clientChatFilesRetrieve.js +0 -87
  994. package/dist/esm/funcs/clientChatFilesRetrieve.js.map +0 -1
  995. package/dist/esm/funcs/clientChatFilesUpload.d.ts +0 -16
  996. package/dist/esm/funcs/clientChatFilesUpload.d.ts.map +0 -1
  997. package/dist/esm/funcs/clientChatFilesUpload.js +0 -85
  998. package/dist/esm/funcs/clientChatFilesUpload.js.map +0 -1
  999. package/dist/esm/funcs/clientCollectionsItemDelete.d.ts +0 -16
  1000. package/dist/esm/funcs/clientCollectionsItemDelete.d.ts.map +0 -1
  1001. package/dist/esm/funcs/clientCollectionsItemDelete.js +0 -76
  1002. package/dist/esm/funcs/clientCollectionsItemDelete.js.map +0 -1
  1003. package/dist/esm/funcs/clientCollectionsItemUpdate.d.ts +0 -16
  1004. package/dist/esm/funcs/clientCollectionsItemUpdate.d.ts.map +0 -1
  1005. package/dist/esm/funcs/clientCollectionsItemUpdate.js +0 -76
  1006. package/dist/esm/funcs/clientCollectionsItemUpdate.js.map +0 -1
  1007. package/dist/esm/funcs/clientDocumentsPermissionsRetrieve.d.ts +0 -16
  1008. package/dist/esm/funcs/clientDocumentsPermissionsRetrieve.d.ts.map +0 -1
  1009. package/dist/esm/funcs/clientDocumentsPermissionsRetrieve.js +0 -76
  1010. package/dist/esm/funcs/clientDocumentsPermissionsRetrieve.js.map +0 -1
  1011. package/dist/esm/funcs/clientSearchAdminQuery.d.ts +0 -17
  1012. package/dist/esm/funcs/clientSearchAdminQuery.d.ts.map +0 -1
  1013. package/dist/esm/funcs/clientSearchAdminQuery.js +0 -82
  1014. package/dist/esm/funcs/clientSearchAdminQuery.js.map +0 -1
  1015. package/dist/esm/funcs/clientSearchFeedRetrieve.d.ts +0 -16
  1016. package/dist/esm/funcs/clientSearchFeedRetrieve.js +0 -76
  1017. package/dist/esm/funcs/clientSearchFeedRetrieve.js.map +0 -1
  1018. package/dist/esm/funcs/clientShortcutsUpload.d.ts +0 -16
  1019. package/dist/esm/funcs/clientShortcutsUpload.d.ts.map +0 -1
  1020. package/dist/esm/funcs/clientShortcutsUpload.js +0 -77
  1021. package/dist/esm/funcs/clientShortcutsUpload.js.map +0 -1
  1022. package/dist/esm/funcs/clientSummarizeGenerate.d.ts +0 -16
  1023. package/dist/esm/funcs/clientSummarizeGenerate.d.ts.map +0 -1
  1024. package/dist/esm/funcs/clientSummarizeGenerate.js +0 -76
  1025. package/dist/esm/funcs/clientSummarizeGenerate.js.map +0 -1
  1026. package/dist/esm/funcs/indexingDatasourcesConfigRetrieve.d.ts +0 -16
  1027. package/dist/esm/funcs/indexingDatasourcesConfigRetrieve.d.ts.map +0 -1
  1028. package/dist/esm/funcs/indexingDatasourcesConfigRetrieve.js +0 -76
  1029. package/dist/esm/funcs/indexingDatasourcesConfigRetrieve.js.map +0 -1
  1030. package/dist/esm/funcs/indexingTroubleshootingCheckAccess.d.ts +0 -18
  1031. package/dist/esm/funcs/indexingTroubleshootingCheckAccess.d.ts.map +0 -1
  1032. package/dist/esm/funcs/indexingTroubleshootingCheckAccess.js +0 -78
  1033. package/dist/esm/funcs/indexingTroubleshootingCheckAccess.js.map +0 -1
  1034. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentDebug.d.ts +0 -18
  1035. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentDebug.d.ts.map +0 -1
  1036. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentDebug.js +0 -94
  1037. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentDebug.js.map +0 -1
  1038. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentsDebug.d.ts +0 -18
  1039. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentsDebug.d.ts.map +0 -1
  1040. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentsDebug.js +0 -94
  1041. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentsDebug.js.map +0 -1
  1042. package/dist/esm/funcs/indexingTroubleshootingDatasourceStatus.d.ts +0 -18
  1043. package/dist/esm/funcs/indexingTroubleshootingDatasourceStatus.d.ts.map +0 -1
  1044. package/dist/esm/funcs/indexingTroubleshootingDatasourceStatus.js +0 -90
  1045. package/dist/esm/funcs/indexingTroubleshootingDatasourceStatus.js.map +0 -1
  1046. package/dist/esm/funcs/indexingTroubleshootingDatasourceUserDebug.d.ts +0 -18
  1047. package/dist/esm/funcs/indexingTroubleshootingDatasourceUserDebug.d.ts.map +0 -1
  1048. package/dist/esm/funcs/indexingTroubleshootingDatasourceUserDebug.js +0 -91
  1049. package/dist/esm/funcs/indexingTroubleshootingDatasourceUserDebug.js.map +0 -1
  1050. package/dist/esm/funcs/indexingTroubleshootingDocumentsCount.d.ts +0 -20
  1051. package/dist/esm/funcs/indexingTroubleshootingDocumentsCount.d.ts.map +0 -1
  1052. package/dist/esm/funcs/indexingTroubleshootingDocumentsCount.js +0 -80
  1053. package/dist/esm/funcs/indexingTroubleshootingDocumentsCount.js.map +0 -1
  1054. package/dist/esm/funcs/indexingTroubleshootingDocumentsStatus.d.ts +0 -20
  1055. package/dist/esm/funcs/indexingTroubleshootingDocumentsStatus.d.ts.map +0 -1
  1056. package/dist/esm/funcs/indexingTroubleshootingDocumentsStatus.js +0 -80
  1057. package/dist/esm/funcs/indexingTroubleshootingDocumentsStatus.js.map +0 -1
  1058. package/dist/esm/funcs/indexingTroubleshootingUsersCount.d.ts +0 -20
  1059. package/dist/esm/funcs/indexingTroubleshootingUsersCount.d.ts.map +0 -1
  1060. package/dist/esm/funcs/indexingTroubleshootingUsersCount.js +0 -80
  1061. package/dist/esm/funcs/indexingTroubleshootingUsersCount.js.map +0 -1
  1062. package/dist/esm/funcs/searchAutocomplete.d.ts.map +0 -1
  1063. package/dist/esm/funcs/searchAutocomplete.js.map +0 -1
  1064. package/dist/esm/funcs/shortcutsCreateshortcut.d.ts +0 -16
  1065. package/dist/esm/funcs/shortcutsCreateshortcut.d.ts.map +0 -1
  1066. package/dist/esm/funcs/shortcutsCreateshortcut.js +0 -76
  1067. package/dist/esm/funcs/shortcutsCreateshortcut.js.map +0 -1
  1068. package/dist/esm/funcs/verificationVerify.d.ts +0 -16
  1069. package/dist/esm/funcs/verificationVerify.d.ts.map +0 -1
  1070. package/dist/esm/funcs/verificationVerify.js +0 -76
  1071. package/dist/esm/funcs/verificationVerify.js.map +0 -1
  1072. package/dist/esm/react-query/clientAgentsAgentInputsRetrieve.d.ts +0 -24
  1073. package/dist/esm/react-query/clientAgentsAgentInputsRetrieve.d.ts.map +0 -1
  1074. package/dist/esm/react-query/clientAgentsAgentInputsRetrieve.js +0 -42
  1075. package/dist/esm/react-query/clientAgentsAgentInputsRetrieve.js.map +0 -1
  1076. package/dist/esm/react-query/clientAgentsAgentRun.d.ts +0 -24
  1077. package/dist/esm/react-query/clientAgentsAgentRun.d.ts.map +0 -1
  1078. package/dist/esm/react-query/clientAgentsAgentRun.js +0 -42
  1079. package/dist/esm/react-query/clientAgentsAgentRun.js.map +0 -1
  1080. package/dist/esm/react-query/clientChatApplicationRetrieve.d.ts +0 -24
  1081. package/dist/esm/react-query/clientChatApplicationRetrieve.d.ts.map +0 -1
  1082. package/dist/esm/react-query/clientChatApplicationRetrieve.js +0 -42
  1083. package/dist/esm/react-query/clientChatApplicationRetrieve.js.map +0 -1
  1084. package/dist/esm/react-query/clientChatFilesDelete.d.ts +0 -24
  1085. package/dist/esm/react-query/clientChatFilesDelete.d.ts.map +0 -1
  1086. package/dist/esm/react-query/clientChatFilesDelete.js +0 -42
  1087. package/dist/esm/react-query/clientChatFilesDelete.js.map +0 -1
  1088. package/dist/esm/react-query/clientChatFilesRetrieve.d.ts +0 -24
  1089. package/dist/esm/react-query/clientChatFilesRetrieve.d.ts.map +0 -1
  1090. package/dist/esm/react-query/clientChatFilesRetrieve.js +0 -42
  1091. package/dist/esm/react-query/clientChatFilesRetrieve.js.map +0 -1
  1092. package/dist/esm/react-query/clientChatFilesUpload.d.ts +0 -24
  1093. package/dist/esm/react-query/clientChatFilesUpload.d.ts.map +0 -1
  1094. package/dist/esm/react-query/clientChatFilesUpload.js +0 -42
  1095. package/dist/esm/react-query/clientChatFilesUpload.js.map +0 -1
  1096. package/dist/esm/react-query/clientCollectionsItemDelete.d.ts +0 -23
  1097. package/dist/esm/react-query/clientCollectionsItemDelete.d.ts.map +0 -1
  1098. package/dist/esm/react-query/clientCollectionsItemDelete.js +0 -42
  1099. package/dist/esm/react-query/clientCollectionsItemDelete.js.map +0 -1
  1100. package/dist/esm/react-query/clientCollectionsItemUpdate.d.ts +0 -23
  1101. package/dist/esm/react-query/clientCollectionsItemUpdate.d.ts.map +0 -1
  1102. package/dist/esm/react-query/clientCollectionsItemUpdate.js +0 -42
  1103. package/dist/esm/react-query/clientCollectionsItemUpdate.js.map +0 -1
  1104. package/dist/esm/react-query/clientDocumentsPermissionsRetrieve.d.ts +0 -23
  1105. package/dist/esm/react-query/clientDocumentsPermissionsRetrieve.d.ts.map +0 -1
  1106. package/dist/esm/react-query/clientDocumentsPermissionsRetrieve.js +0 -42
  1107. package/dist/esm/react-query/clientDocumentsPermissionsRetrieve.js.map +0 -1
  1108. package/dist/esm/react-query/clientSearchAdminQuery.d.ts +0 -23
  1109. package/dist/esm/react-query/clientSearchAdminQuery.d.ts.map +0 -1
  1110. package/dist/esm/react-query/clientSearchAdminQuery.js +0 -42
  1111. package/dist/esm/react-query/clientSearchAdminQuery.js.map +0 -1
  1112. package/dist/esm/react-query/clientSearchFeedRetrieve.d.ts +0 -23
  1113. package/dist/esm/react-query/clientSearchFeedRetrieve.d.ts.map +0 -1
  1114. package/dist/esm/react-query/clientSearchFeedRetrieve.js +0 -42
  1115. package/dist/esm/react-query/clientShortcutsUpload.d.ts +0 -23
  1116. package/dist/esm/react-query/clientShortcutsUpload.d.ts.map +0 -1
  1117. package/dist/esm/react-query/clientShortcutsUpload.js +0 -42
  1118. package/dist/esm/react-query/clientShortcutsUpload.js.map +0 -1
  1119. package/dist/esm/react-query/clientSummarizeGenerate.d.ts +0 -23
  1120. package/dist/esm/react-query/clientSummarizeGenerate.d.ts.map +0 -1
  1121. package/dist/esm/react-query/clientSummarizeGenerate.js +0 -42
  1122. package/dist/esm/react-query/clientSummarizeGenerate.js.map +0 -1
  1123. package/dist/esm/react-query/indexingDatasourcesConfigRetrieve.d.ts +0 -23
  1124. package/dist/esm/react-query/indexingDatasourcesConfigRetrieve.d.ts.map +0 -1
  1125. package/dist/esm/react-query/indexingDatasourcesConfigRetrieve.js +0 -42
  1126. package/dist/esm/react-query/indexingDatasourcesConfigRetrieve.js.map +0 -1
  1127. package/dist/esm/react-query/indexingTroubleshootingCheckAccess.d.ts +0 -25
  1128. package/dist/esm/react-query/indexingTroubleshootingCheckAccess.d.ts.map +0 -1
  1129. package/dist/esm/react-query/indexingTroubleshootingCheckAccess.js +0 -44
  1130. package/dist/esm/react-query/indexingTroubleshootingCheckAccess.js.map +0 -1
  1131. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentDebug.d.ts +0 -26
  1132. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentDebug.d.ts.map +0 -1
  1133. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentDebug.js +0 -44
  1134. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentDebug.js.map +0 -1
  1135. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentsDebug.d.ts +0 -26
  1136. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentsDebug.d.ts.map +0 -1
  1137. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentsDebug.js +0 -44
  1138. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentsDebug.js.map +0 -1
  1139. package/dist/esm/react-query/indexingTroubleshootingDatasourceStatus.d.ts +0 -25
  1140. package/dist/esm/react-query/indexingTroubleshootingDatasourceStatus.d.ts.map +0 -1
  1141. package/dist/esm/react-query/indexingTroubleshootingDatasourceStatus.js +0 -44
  1142. package/dist/esm/react-query/indexingTroubleshootingDatasourceStatus.js.map +0 -1
  1143. package/dist/esm/react-query/indexingTroubleshootingDatasourceUserDebug.d.ts +0 -26
  1144. package/dist/esm/react-query/indexingTroubleshootingDatasourceUserDebug.d.ts.map +0 -1
  1145. package/dist/esm/react-query/indexingTroubleshootingDatasourceUserDebug.js +0 -44
  1146. package/dist/esm/react-query/indexingTroubleshootingDatasourceUserDebug.js.map +0 -1
  1147. package/dist/esm/react-query/indexingTroubleshootingDocumentsCount.d.ts +0 -27
  1148. package/dist/esm/react-query/indexingTroubleshootingDocumentsCount.d.ts.map +0 -1
  1149. package/dist/esm/react-query/indexingTroubleshootingDocumentsCount.js +0 -46
  1150. package/dist/esm/react-query/indexingTroubleshootingDocumentsCount.js.map +0 -1
  1151. package/dist/esm/react-query/indexingTroubleshootingDocumentsStatus.d.ts +0 -27
  1152. package/dist/esm/react-query/indexingTroubleshootingDocumentsStatus.d.ts.map +0 -1
  1153. package/dist/esm/react-query/indexingTroubleshootingDocumentsStatus.js +0 -46
  1154. package/dist/esm/react-query/indexingTroubleshootingDocumentsStatus.js.map +0 -1
  1155. package/dist/esm/react-query/indexingTroubleshootingUsersCount.d.ts +0 -27
  1156. package/dist/esm/react-query/indexingTroubleshootingUsersCount.d.ts.map +0 -1
  1157. package/dist/esm/react-query/indexingTroubleshootingUsersCount.js +0 -46
  1158. package/dist/esm/react-query/indexingTroubleshootingUsersCount.js.map +0 -1
  1159. package/dist/esm/react-query/searchAutocomplete.d.ts +0 -23
  1160. package/dist/esm/react-query/searchAutocomplete.d.ts.map +0 -1
  1161. package/dist/esm/react-query/searchAutocomplete.js.map +0 -1
  1162. package/dist/esm/react-query/shortcutsCreateshortcut.d.ts +0 -23
  1163. package/dist/esm/react-query/shortcutsCreateshortcut.d.ts.map +0 -1
  1164. package/dist/esm/react-query/shortcutsCreateshortcut.js +0 -42
  1165. package/dist/esm/react-query/shortcutsCreateshortcut.js.map +0 -1
  1166. package/dist/esm/react-query/verificationVerify.d.ts +0 -23
  1167. package/dist/esm/react-query/verificationVerify.d.ts.map +0 -1
  1168. package/dist/esm/react-query/verificationVerify.js +0 -42
  1169. package/dist/esm/react-query/verificationVerify.js.map +0 -1
  1170. package/dist/esm/sdk/agent.d.ts +0 -15
  1171. package/dist/esm/sdk/agent.d.ts.map +0 -1
  1172. package/dist/esm/sdk/agent.js +0 -22
  1173. package/dist/esm/sdk/agent.js.map +0 -1
  1174. package/dist/esm/sdk/application.d.ts +0 -12
  1175. package/dist/esm/sdk/application.d.ts.map +0 -1
  1176. package/dist/esm/sdk/application.js +0 -18
  1177. package/dist/esm/sdk/application.js.map +0 -1
  1178. package/dist/esm/sdk/clientsearch.d.ts +0 -33
  1179. package/dist/esm/sdk/clientsearch.d.ts.map +0 -1
  1180. package/dist/esm/sdk/clientsearch.js +0 -48
  1181. package/dist/esm/sdk/clientsearch.js.map +0 -1
  1182. package/dist/esm/sdk/clientverification.d.ts +0 -19
  1183. package/dist/esm/sdk/clientverification.d.ts.map +0 -1
  1184. package/dist/esm/sdk/clientverification.js +0 -28
  1185. package/dist/esm/sdk/clientverification.js.map +0 -1
  1186. package/dist/esm/sdk/config.d.ts +0 -12
  1187. package/dist/esm/sdk/config.d.ts.map +0 -1
  1188. package/dist/esm/sdk/config.js +0 -18
  1189. package/dist/esm/sdk/config.js.map +0 -1
  1190. package/dist/esm/sdk/datasourcedocuments.d.ts +0 -14
  1191. package/dist/esm/sdk/datasourcedocuments.d.ts.map +0 -1
  1192. package/dist/esm/sdk/datasourcedocuments.js +0 -20
  1193. package/dist/esm/sdk/datasourcedocuments.js.map +0 -1
  1194. package/dist/esm/sdk/document.d.ts +0 -14
  1195. package/dist/esm/sdk/document.d.ts.map +0 -1
  1196. package/dist/esm/sdk/document.js +0 -20
  1197. package/dist/esm/sdk/document.js.map +0 -1
  1198. package/dist/esm/sdk/documentspermissions.d.ts +0 -12
  1199. package/dist/esm/sdk/documentspermissions.d.ts.map +0 -1
  1200. package/dist/esm/sdk/documentspermissions.js +0 -18
  1201. package/dist/esm/sdk/documentspermissions.js.map +0 -1
  1202. package/dist/esm/sdk/feed.d.ts +0 -12
  1203. package/dist/esm/sdk/feed.d.ts.map +0 -1
  1204. package/dist/esm/sdk/feed.js +0 -18
  1205. package/dist/esm/sdk/feed.js.map +0 -1
  1206. package/dist/esm/sdk/files.d.ts +0 -26
  1207. package/dist/esm/sdk/files.d.ts.map +0 -1
  1208. package/dist/esm/sdk/files.js +0 -38
  1209. package/dist/esm/sdk/files.js.map +0 -1
  1210. package/dist/esm/sdk/indexingpermissions.d.ts +0 -89
  1211. package/dist/esm/sdk/indexingpermissions.d.ts.map +0 -1
  1212. package/dist/esm/sdk/indexingpermissions.js +0 -128
  1213. package/dist/esm/sdk/indexingpermissions.js.map +0 -1
  1214. package/dist/esm/sdk/inputs.d.ts +0 -12
  1215. package/dist/esm/sdk/inputs.d.ts.map +0 -1
  1216. package/dist/esm/sdk/inputs.js +0 -18
  1217. package/dist/esm/sdk/inputs.js.map +0 -1
  1218. package/dist/esm/sdk/item.d.ts +0 -19
  1219. package/dist/esm/sdk/item.d.ts.map +0 -1
  1220. package/dist/esm/sdk/item.js +0 -28
  1221. package/dist/esm/sdk/item.js.map +0 -1
  1222. package/dist/esm/sdk/shortcuts.d.ts +0 -12
  1223. package/dist/esm/sdk/shortcuts.d.ts.map +0 -1
  1224. package/dist/esm/sdk/shortcuts.js +0 -18
  1225. package/dist/esm/sdk/shortcuts.js.map +0 -1
  1226. package/dist/esm/sdk/summarize.d.ts +0 -12
  1227. package/dist/esm/sdk/summarize.d.ts.map +0 -1
  1228. package/dist/esm/sdk/summarize.js +0 -18
  1229. package/dist/esm/sdk/summarize.js.map +0 -1
  1230. package/dist/esm/sdk/troubleshooting.d.ts +0 -23
  1231. package/dist/esm/sdk/troubleshooting.d.ts.map +0 -1
  1232. package/dist/esm/sdk/troubleshooting.js +0 -32
  1233. package/dist/esm/sdk/troubleshooting.js.map +0 -1
  1234. package/dist/esm/sdk/troubleshootingdocuments.d.ts +0 -27
  1235. package/dist/esm/sdk/troubleshootingdocuments.d.ts.map +0 -1
  1236. package/dist/esm/sdk/troubleshootingdocuments.js +0 -36
  1237. package/dist/esm/sdk/troubleshootingdocuments.js.map +0 -1
  1238. package/dist/esm/sdk/user.d.ts +0 -14
  1239. package/dist/esm/sdk/user.d.ts.map +0 -1
  1240. package/dist/esm/sdk/user.js +0 -20
  1241. package/dist/esm/sdk/user.js.map +0 -1
  1242. package/dist/esm/sdk/users.d.ts +0 -16
  1243. package/dist/esm/sdk/users.d.ts.map +0 -1
  1244. package/dist/esm/sdk/users.js +0 -22
  1245. package/dist/esm/sdk/users.js.map +0 -1
  1246. package/docs/sdks/agent/README.md +0 -98
  1247. package/docs/sdks/application/README.md +0 -102
  1248. package/docs/sdks/clientsearch/README.md +0 -1489
  1249. package/docs/sdks/clientverification/README.md +0 -191
  1250. package/docs/sdks/config/README.md +0 -101
  1251. package/docs/sdks/datasourcedocuments/README.md +0 -124
  1252. package/docs/sdks/document/README.md +0 -108
  1253. package/docs/sdks/documentspermissions/README.md +0 -97
  1254. package/docs/sdks/feed/README.md +0 -97
  1255. package/docs/sdks/files/README.md +0 -300
  1256. package/docs/sdks/indexingpermissions/README.md +0 -1208
  1257. package/docs/sdks/inputs/README.md +0 -98
  1258. package/docs/sdks/item/README.md +0 -199
  1259. package/docs/sdks/shortcuts/README.md +0 -223
  1260. package/docs/sdks/summarize/README.md +0 -107
  1261. package/docs/sdks/troubleshooting/README.md +0 -110
  1262. package/docs/sdks/troubleshootingdocuments/README.md +0 -209
  1263. package/docs/sdks/user/README.md +0 -106
  1264. package/docs/sdks/users/README.md +0 -106
  1265. package/src/funcs/clientAgentsAgentInputsRetrieve.ts +0 -170
  1266. package/src/funcs/clientAgentsAgentRun.ts +0 -168
  1267. package/src/funcs/clientChatApplicationRetrieve.ts +0 -170
  1268. package/src/funcs/clientChatFilesDelete.ts +0 -171
  1269. package/src/funcs/clientChatFilesRetrieve.ts +0 -170
  1270. package/src/funcs/clientChatFilesUpload.ts +0 -169
  1271. package/src/funcs/clientCollectionsItemDelete.ts +0 -155
  1272. package/src/funcs/clientCollectionsItemUpdate.ts +0 -154
  1273. package/src/funcs/clientDocumentsPermissionsRetrieve.ts +0 -154
  1274. package/src/funcs/clientSearchAdminQuery.ts +0 -165
  1275. package/src/funcs/clientSearchFeedRetrieve.ts +0 -154
  1276. package/src/funcs/clientShortcutsUpload.ts +0 -155
  1277. package/src/funcs/clientSummarizeGenerate.ts +0 -154
  1278. package/src/funcs/indexingDatasourcesConfigRetrieve.ts +0 -155
  1279. package/src/funcs/indexingTroubleshootingCheckAccess.ts +0 -157
  1280. package/src/funcs/indexingTroubleshootingDatasourceDocumentDebug.ts +0 -180
  1281. package/src/funcs/indexingTroubleshootingDatasourceDocumentsDebug.ts +0 -180
  1282. package/src/funcs/indexingTroubleshootingDatasourceStatus.ts +0 -173
  1283. package/src/funcs/indexingTroubleshootingDatasourceUserDebug.ts +0 -177
  1284. package/src/funcs/indexingTroubleshootingDocumentsCount.ts +0 -158
  1285. package/src/funcs/indexingTroubleshootingDocumentsStatus.ts +0 -158
  1286. package/src/funcs/indexingTroubleshootingUsersCount.ts +0 -158
  1287. package/src/funcs/shortcutsCreateshortcut.ts +0 -154
  1288. package/src/funcs/verificationVerify.ts +0 -154
  1289. package/src/react-query/clientAgentsAgentInputsRetrieve.ts +0 -92
  1290. package/src/react-query/clientAgentsAgentRun.ts +0 -91
  1291. package/src/react-query/clientChatApplicationRetrieve.ts +0 -92
  1292. package/src/react-query/clientChatFilesDelete.ts +0 -91
  1293. package/src/react-query/clientChatFilesRetrieve.ts +0 -92
  1294. package/src/react-query/clientChatFilesUpload.ts +0 -92
  1295. package/src/react-query/clientCollectionsItemDelete.ts +0 -89
  1296. package/src/react-query/clientCollectionsItemUpdate.ts +0 -89
  1297. package/src/react-query/clientDocumentsPermissionsRetrieve.ts +0 -89
  1298. package/src/react-query/clientSearchAdminQuery.ts +0 -88
  1299. package/src/react-query/clientSearchFeedRetrieve.ts +0 -88
  1300. package/src/react-query/clientShortcutsUpload.ts +0 -88
  1301. package/src/react-query/clientSummarizeGenerate.ts +0 -88
  1302. package/src/react-query/indexingDatasourcesConfigRetrieve.ts +0 -89
  1303. package/src/react-query/indexingTroubleshootingCheckAccess.ts +0 -91
  1304. package/src/react-query/indexingTroubleshootingDatasourceDocumentDebug.ts +0 -98
  1305. package/src/react-query/indexingTroubleshootingDatasourceDocumentsDebug.ts +0 -98
  1306. package/src/react-query/indexingTroubleshootingDatasourceStatus.ts +0 -91
  1307. package/src/react-query/indexingTroubleshootingDatasourceUserDebug.ts +0 -94
  1308. package/src/react-query/indexingTroubleshootingDocumentsCount.ts +0 -93
  1309. package/src/react-query/indexingTroubleshootingDocumentsStatus.ts +0 -93
  1310. package/src/react-query/indexingTroubleshootingUsersCount.ts +0 -93
  1311. package/src/react-query/shortcutsCreateshortcut.ts +0 -89
  1312. package/src/react-query/verificationVerify.ts +0 -88
  1313. package/src/sdk/agent.ts +0 -35
  1314. package/src/sdk/application.ts +0 -29
  1315. package/src/sdk/clientsearch.ts +0 -81
  1316. package/src/sdk/clientverification.ts +0 -45
  1317. package/src/sdk/config.ts +0 -27
  1318. package/src/sdk/datasourcedocuments.ts +0 -31
  1319. package/src/sdk/document.ts +0 -31
  1320. package/src/sdk/documentspermissions.ts +0 -27
  1321. package/src/sdk/feed.ts +0 -27
  1322. package/src/sdk/files.ts +0 -69
  1323. package/src/sdk/indexingpermissions.ts +0 -225
  1324. package/src/sdk/inputs.ts +0 -29
  1325. package/src/sdk/item.ts +0 -45
  1326. package/src/sdk/shortcuts.ts +0 -27
  1327. package/src/sdk/summarize.ts +0 -27
  1328. package/src/sdk/troubleshooting.ts +0 -47
  1329. package/src/sdk/troubleshootingdocuments.ts +0 -53
  1330. package/src/sdk/user.ts +0 -31
  1331. package/src/sdk/users.ts +0 -31
@@ -1,11 +1,527 @@
1
1
  # Search
2
- (*search*)
2
+ (*client.search*)
3
3
 
4
4
  ## Overview
5
5
 
6
6
  ### Available Operations
7
7
 
8
+ * [queryAsAdmin](#queryasadmin) - Search the index (admin)
8
9
  * [autocomplete](#autocomplete) - Autocomplete
10
+ * [retrieveFeed](#retrievefeed) - Feed of documents and events
11
+ * [recommendations](#recommendations) - Recommend documents
12
+ * [query](#query) - Search
13
+
14
+ ## queryAsAdmin
15
+
16
+ Retrieves results for search query without respect for permissions. This is available only to privileged users.
17
+
18
+ ### Example Usage
19
+
20
+ ```typescript
21
+ import { Glean } from "@gleanwork/api-client";
22
+ import { RFCDate } from "@gleanwork/api-client/types";
23
+
24
+ const glean = new Glean({
25
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
26
+ });
27
+
28
+ async function run() {
29
+ const result = await glean.client.search.queryAsAdmin({
30
+ trackingToken: "trackingToken",
31
+ sourceDocument: {
32
+ metadata: {
33
+ datasource: "datasource",
34
+ objectType: "Feature Request",
35
+ container: "container",
36
+ parentId: "JIRA_EN-1337",
37
+ mimeType: "mimeType",
38
+ documentId: "documentId",
39
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
40
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
41
+ author: {
42
+ name: "George Clooney",
43
+ obfuscatedId: "abc123",
44
+ relatedDocuments: [],
45
+ metadata: {
46
+ type: "FULL_TIME",
47
+ title: "Actor",
48
+ department: "Movies",
49
+ email: "george@example.com",
50
+ location: "Hollywood, CA",
51
+ phone: "6505551234",
52
+ photoUrl: "https://example.com/george.jpg",
53
+ startDate: new RFCDate("2000-01-23"),
54
+ datasourceProfile: [
55
+ {
56
+ datasource: "github",
57
+ handle: "<value>",
58
+ },
59
+ {
60
+ datasource: "github",
61
+ handle: "<value>",
62
+ },
63
+ ],
64
+ querySuggestions: {
65
+ suggestions: [],
66
+ },
67
+ inviteInfo: {
68
+ invites: [],
69
+ },
70
+ customFields: [],
71
+ badges: [
72
+ {
73
+ key: "deployment_name_new_hire",
74
+ displayName: "New hire",
75
+ iconConfig: {
76
+ color: "#343CED",
77
+ key: "person_icon",
78
+ iconType: "GLYPH",
79
+ name: "user",
80
+ },
81
+ },
82
+ ],
83
+ },
84
+ },
85
+ owner: {
86
+ name: "George Clooney",
87
+ obfuscatedId: "abc123",
88
+ },
89
+ mentionedPeople: [],
90
+ components: [
91
+ "Backend",
92
+ "Networking",
93
+ ],
94
+ status: "[\"Done\"]",
95
+ pins: [],
96
+ assignedTo: {
97
+ name: "George Clooney",
98
+ obfuscatedId: "abc123",
99
+ },
100
+ updatedBy: {
101
+ name: "George Clooney",
102
+ obfuscatedId: "abc123",
103
+ },
104
+ collections: [],
105
+ interactions: {
106
+ reacts: [],
107
+ shares: [],
108
+ },
109
+ verification: {
110
+ state: "UNVERIFIED",
111
+ metadata: {
112
+ lastVerifier: {
113
+ name: "George Clooney",
114
+ obfuscatedId: "abc123",
115
+ },
116
+ reminders: [],
117
+ lastReminder: {
118
+ assignee: {
119
+ name: "George Clooney",
120
+ obfuscatedId: "abc123",
121
+ },
122
+ requestor: {
123
+ name: "George Clooney",
124
+ obfuscatedId: "abc123",
125
+ },
126
+ remindAt: 554738,
127
+ },
128
+ candidateVerifiers: [],
129
+ },
130
+ },
131
+ shortcuts: [],
132
+ customData: {
133
+ "someCustomField": {},
134
+ },
135
+ contactPerson: {
136
+ name: "George Clooney",
137
+ obfuscatedId: "abc123",
138
+ },
139
+ },
140
+ },
141
+ pageSize: 100,
142
+ maxSnippetSize: 400,
143
+ query: "vacation policy",
144
+ inputDetails: {
145
+ hasCopyPaste: true,
146
+ },
147
+ requestOptions: {
148
+ datasourceFilter: "JIRA",
149
+ datasourcesFilter: [
150
+ "JIRA",
151
+ ],
152
+ queryOverridesFacetFilters: true,
153
+ facetFilters: [
154
+ {
155
+ fieldName: "type",
156
+ values: [
157
+ {
158
+ value: "Spreadsheet",
159
+ relationType: "EQUALS",
160
+ },
161
+ {
162
+ value: "Presentation",
163
+ relationType: "EQUALS",
164
+ },
165
+ ],
166
+ },
167
+ ],
168
+ facetFilterSets: [
169
+ {
170
+ filters: [
171
+ {
172
+ fieldName: "type",
173
+ values: [
174
+ {
175
+ value: "Spreadsheet",
176
+ relationType: "EQUALS",
177
+ },
178
+ {
179
+ value: "Presentation",
180
+ relationType: "EQUALS",
181
+ },
182
+ ],
183
+ },
184
+ ],
185
+ },
186
+ {
187
+ filters: [
188
+ {
189
+ fieldName: "type",
190
+ values: [
191
+ {
192
+ value: "Spreadsheet",
193
+ relationType: "EQUALS",
194
+ },
195
+ {
196
+ value: "Presentation",
197
+ relationType: "EQUALS",
198
+ },
199
+ ],
200
+ },
201
+ ],
202
+ },
203
+ {
204
+ filters: [
205
+ {
206
+ fieldName: "type",
207
+ values: [
208
+ {
209
+ value: "Spreadsheet",
210
+ relationType: "EQUALS",
211
+ },
212
+ {
213
+ value: "Presentation",
214
+ relationType: "EQUALS",
215
+ },
216
+ ],
217
+ },
218
+ ],
219
+ },
220
+ ],
221
+ facetBucketSize: 171751,
222
+ authTokens: [
223
+ {
224
+ accessToken: "123abc",
225
+ datasource: "gmail",
226
+ scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
227
+ tokenType: "Bearer",
228
+ authUser: "1",
229
+ },
230
+ ],
231
+ },
232
+ timeoutMillis: 5000,
233
+ people: [
234
+ {
235
+ name: "George Clooney",
236
+ obfuscatedId: "abc123",
237
+ },
238
+ ],
239
+ });
240
+
241
+ // Handle the result
242
+ console.log(result);
243
+ }
244
+
245
+ run();
246
+ ```
247
+
248
+ ### Standalone function
249
+
250
+ The standalone function version of this method:
251
+
252
+ ```typescript
253
+ import { GleanCore } from "@gleanwork/api-client/core.js";
254
+ import { clientSearchQueryAsAdmin } from "@gleanwork/api-client/funcs/clientSearchQueryAsAdmin.js";
255
+ import { RFCDate } from "@gleanwork/api-client/types";
256
+
257
+ // Use `GleanCore` for best tree-shaking performance.
258
+ // You can create one instance of it to use across an application.
259
+ const glean = new GleanCore({
260
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
261
+ });
262
+
263
+ async function run() {
264
+ const res = await clientSearchQueryAsAdmin(glean, {
265
+ trackingToken: "trackingToken",
266
+ sourceDocument: {
267
+ metadata: {
268
+ datasource: "datasource",
269
+ objectType: "Feature Request",
270
+ container: "container",
271
+ parentId: "JIRA_EN-1337",
272
+ mimeType: "mimeType",
273
+ documentId: "documentId",
274
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
275
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
276
+ author: {
277
+ name: "George Clooney",
278
+ obfuscatedId: "abc123",
279
+ relatedDocuments: [],
280
+ metadata: {
281
+ type: "FULL_TIME",
282
+ title: "Actor",
283
+ department: "Movies",
284
+ email: "george@example.com",
285
+ location: "Hollywood, CA",
286
+ phone: "6505551234",
287
+ photoUrl: "https://example.com/george.jpg",
288
+ startDate: new RFCDate("2000-01-23"),
289
+ datasourceProfile: [
290
+ {
291
+ datasource: "github",
292
+ handle: "<value>",
293
+ },
294
+ {
295
+ datasource: "github",
296
+ handle: "<value>",
297
+ },
298
+ ],
299
+ querySuggestions: {
300
+ suggestions: [],
301
+ },
302
+ inviteInfo: {
303
+ invites: [],
304
+ },
305
+ customFields: [],
306
+ badges: [
307
+ {
308
+ key: "deployment_name_new_hire",
309
+ displayName: "New hire",
310
+ iconConfig: {
311
+ color: "#343CED",
312
+ key: "person_icon",
313
+ iconType: "GLYPH",
314
+ name: "user",
315
+ },
316
+ },
317
+ ],
318
+ },
319
+ },
320
+ owner: {
321
+ name: "George Clooney",
322
+ obfuscatedId: "abc123",
323
+ },
324
+ mentionedPeople: [],
325
+ components: [
326
+ "Backend",
327
+ "Networking",
328
+ ],
329
+ status: "[\"Done\"]",
330
+ pins: [],
331
+ assignedTo: {
332
+ name: "George Clooney",
333
+ obfuscatedId: "abc123",
334
+ },
335
+ updatedBy: {
336
+ name: "George Clooney",
337
+ obfuscatedId: "abc123",
338
+ },
339
+ collections: [],
340
+ interactions: {
341
+ reacts: [],
342
+ shares: [],
343
+ },
344
+ verification: {
345
+ state: "UNVERIFIED",
346
+ metadata: {
347
+ lastVerifier: {
348
+ name: "George Clooney",
349
+ obfuscatedId: "abc123",
350
+ },
351
+ reminders: [],
352
+ lastReminder: {
353
+ assignee: {
354
+ name: "George Clooney",
355
+ obfuscatedId: "abc123",
356
+ },
357
+ requestor: {
358
+ name: "George Clooney",
359
+ obfuscatedId: "abc123",
360
+ },
361
+ remindAt: 554738,
362
+ },
363
+ candidateVerifiers: [],
364
+ },
365
+ },
366
+ shortcuts: [],
367
+ customData: {
368
+ "someCustomField": {},
369
+ },
370
+ contactPerson: {
371
+ name: "George Clooney",
372
+ obfuscatedId: "abc123",
373
+ },
374
+ },
375
+ },
376
+ pageSize: 100,
377
+ maxSnippetSize: 400,
378
+ query: "vacation policy",
379
+ inputDetails: {
380
+ hasCopyPaste: true,
381
+ },
382
+ requestOptions: {
383
+ datasourceFilter: "JIRA",
384
+ datasourcesFilter: [
385
+ "JIRA",
386
+ ],
387
+ queryOverridesFacetFilters: true,
388
+ facetFilters: [
389
+ {
390
+ fieldName: "type",
391
+ values: [
392
+ {
393
+ value: "Spreadsheet",
394
+ relationType: "EQUALS",
395
+ },
396
+ {
397
+ value: "Presentation",
398
+ relationType: "EQUALS",
399
+ },
400
+ ],
401
+ },
402
+ ],
403
+ facetFilterSets: [
404
+ {
405
+ filters: [
406
+ {
407
+ fieldName: "type",
408
+ values: [
409
+ {
410
+ value: "Spreadsheet",
411
+ relationType: "EQUALS",
412
+ },
413
+ {
414
+ value: "Presentation",
415
+ relationType: "EQUALS",
416
+ },
417
+ ],
418
+ },
419
+ ],
420
+ },
421
+ {
422
+ filters: [
423
+ {
424
+ fieldName: "type",
425
+ values: [
426
+ {
427
+ value: "Spreadsheet",
428
+ relationType: "EQUALS",
429
+ },
430
+ {
431
+ value: "Presentation",
432
+ relationType: "EQUALS",
433
+ },
434
+ ],
435
+ },
436
+ ],
437
+ },
438
+ {
439
+ filters: [
440
+ {
441
+ fieldName: "type",
442
+ values: [
443
+ {
444
+ value: "Spreadsheet",
445
+ relationType: "EQUALS",
446
+ },
447
+ {
448
+ value: "Presentation",
449
+ relationType: "EQUALS",
450
+ },
451
+ ],
452
+ },
453
+ ],
454
+ },
455
+ ],
456
+ facetBucketSize: 171751,
457
+ authTokens: [
458
+ {
459
+ accessToken: "123abc",
460
+ datasource: "gmail",
461
+ scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
462
+ tokenType: "Bearer",
463
+ authUser: "1",
464
+ },
465
+ ],
466
+ },
467
+ timeoutMillis: 5000,
468
+ people: [
469
+ {
470
+ name: "George Clooney",
471
+ obfuscatedId: "abc123",
472
+ },
473
+ ],
474
+ });
475
+
476
+ if (!res.ok) {
477
+ throw res.error;
478
+ }
479
+
480
+ const { value: result } = res;
481
+
482
+ // Handle the result
483
+ console.log(result);
484
+ }
485
+
486
+ run();
487
+ ```
488
+
489
+ ### React hooks and utilities
490
+
491
+ This method can be used in React components through the following hooks and
492
+ associated utilities.
493
+
494
+ > Check out [this guide][hook-guide] for information about each of the utilities
495
+ > below and how to get started using React hooks.
496
+
497
+ [hook-guide]: ../../../REACT_QUERY.md
498
+
499
+ ```tsx
500
+ import {
501
+ // Mutation hook for triggering the API call.
502
+ useClientSearchQueryAsAdminMutation
503
+ } from "@gleanwork/api-client/react-query/clientSearchQueryAsAdmin.js";
504
+ ```
505
+
506
+ ### Parameters
507
+
508
+ | Parameter | Type | Required | Description |
509
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
510
+ | `request` | [components.SearchRequest](../../models/components/searchrequest.md) | :heavy_check_mark: | The request object to use for the request. |
511
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
512
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
513
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
514
+
515
+ ### Response
516
+
517
+ **Promise\<[components.SearchResponse](../../models/components/searchresponse.md)\>**
518
+
519
+ ### Errors
520
+
521
+ | Error Type | Status Code | Content Type |
522
+ | --------------------- | --------------------- | --------------------- |
523
+ | errors.GleanDataError | 403, 422 | application/json |
524
+ | errors.GleanError | 4XX, 5XX | \*/\* |
9
525
 
10
526
  ## autocomplete
11
527
 
@@ -17,11 +533,11 @@ Retrieve query suggestions, operators and documents for the given partially type
17
533
  import { Glean } from "@gleanwork/api-client";
18
534
 
19
535
  const glean = new Glean({
20
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
536
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
21
537
  });
22
538
 
23
539
  async function run() {
24
- const result = await glean.search.autocomplete({
540
+ const result = await glean.client.search.autocomplete({
25
541
  trackingToken: "trackingToken",
26
542
  query: "San Fra",
27
543
  datasource: "GDRIVE",
@@ -50,16 +566,16 @@ The standalone function version of this method:
50
566
 
51
567
  ```typescript
52
568
  import { GleanCore } from "@gleanwork/api-client/core.js";
53
- import { searchAutocomplete } from "@gleanwork/api-client/funcs/searchAutocomplete.js";
569
+ import { clientSearchAutocomplete } from "@gleanwork/api-client/funcs/clientSearchAutocomplete.js";
54
570
 
55
571
  // Use `GleanCore` for best tree-shaking performance.
56
572
  // You can create one instance of it to use across an application.
57
573
  const glean = new GleanCore({
58
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
574
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
59
575
  });
60
576
 
61
577
  async function run() {
62
- const res = await searchAutocomplete(glean, {
578
+ const res = await clientSearchAutocomplete(glean, {
63
579
  trackingToken: "trackingToken",
64
580
  query: "San Fra",
65
581
  datasource: "GDRIVE",
@@ -101,8 +617,8 @@ associated utilities.
101
617
  ```tsx
102
618
  import {
103
619
  // Mutation hook for triggering the API call.
104
- useSearchAutocompleteMutation
105
- } from "@gleanwork/api-client/react-query/searchAutocomplete.js";
620
+ useClientSearchAutocompleteMutation
621
+ } from "@gleanwork/api-client/react-query/clientSearchAutocomplete.js";
106
622
  ```
107
623
 
108
624
  ### Parameters
@@ -122,4 +638,970 @@ import {
122
638
 
123
639
  | Error Type | Status Code | Content Type |
124
640
  | ----------------- | ----------------- | ----------------- |
125
- | errors.GleanError | 4XX, 5XX | \*/\* |
641
+ | errors.GleanError | 4XX, 5XX | \*/\* |
642
+
643
+ ## retrieveFeed
644
+
645
+ The personalized feed/home includes different types of contents including suggestions, recents, calendar events and many more.
646
+
647
+ ### Example Usage
648
+
649
+ ```typescript
650
+ import { Glean } from "@gleanwork/api-client";
651
+
652
+ const glean = new Glean({
653
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
654
+ });
655
+
656
+ async function run() {
657
+ const result = await glean.client.search.retrieveFeed({
658
+ timeoutMillis: 5000,
659
+ });
660
+
661
+ // Handle the result
662
+ console.log(result);
663
+ }
664
+
665
+ run();
666
+ ```
667
+
668
+ ### Standalone function
669
+
670
+ The standalone function version of this method:
671
+
672
+ ```typescript
673
+ import { GleanCore } from "@gleanwork/api-client/core.js";
674
+ import { clientSearchRetrieveFeed } from "@gleanwork/api-client/funcs/clientSearchRetrieveFeed.js";
675
+
676
+ // Use `GleanCore` for best tree-shaking performance.
677
+ // You can create one instance of it to use across an application.
678
+ const glean = new GleanCore({
679
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
680
+ });
681
+
682
+ async function run() {
683
+ const res = await clientSearchRetrieveFeed(glean, {
684
+ timeoutMillis: 5000,
685
+ });
686
+
687
+ if (!res.ok) {
688
+ throw res.error;
689
+ }
690
+
691
+ const { value: result } = res;
692
+
693
+ // Handle the result
694
+ console.log(result);
695
+ }
696
+
697
+ run();
698
+ ```
699
+
700
+ ### React hooks and utilities
701
+
702
+ This method can be used in React components through the following hooks and
703
+ associated utilities.
704
+
705
+ > Check out [this guide][hook-guide] for information about each of the utilities
706
+ > below and how to get started using React hooks.
707
+
708
+ [hook-guide]: ../../../REACT_QUERY.md
709
+
710
+ ```tsx
711
+ import {
712
+ // Mutation hook for triggering the API call.
713
+ useClientSearchRetrieveFeedMutation
714
+ } from "@gleanwork/api-client/react-query/clientSearchRetrieveFeed.js";
715
+ ```
716
+
717
+ ### Parameters
718
+
719
+ | Parameter | Type | Required | Description |
720
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
721
+ | `request` | [components.FeedRequest](../../models/components/feedrequest.md) | :heavy_check_mark: | The request object to use for the request. |
722
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
723
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
724
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
725
+
726
+ ### Response
727
+
728
+ **Promise\<[components.FeedResponse](../../models/components/feedresponse.md)\>**
729
+
730
+ ### Errors
731
+
732
+ | Error Type | Status Code | Content Type |
733
+ | ----------------- | ----------------- | ----------------- |
734
+ | errors.GleanError | 4XX, 5XX | \*/\* |
735
+
736
+ ## recommendations
737
+
738
+ Retrieve recommended documents for the given URL or Glean Document ID.
739
+
740
+ ### Example Usage
741
+
742
+ ```typescript
743
+ import { Glean } from "@gleanwork/api-client";
744
+ import { RFCDate } from "@gleanwork/api-client/types";
745
+
746
+ const glean = new Glean({
747
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
748
+ });
749
+
750
+ async function run() {
751
+ const result = await glean.client.search.recommendations({
752
+ sourceDocument: {
753
+ metadata: {
754
+ datasource: "datasource",
755
+ objectType: "Feature Request",
756
+ container: "container",
757
+ parentId: "JIRA_EN-1337",
758
+ mimeType: "mimeType",
759
+ documentId: "documentId",
760
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
761
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
762
+ author: {
763
+ name: "George Clooney",
764
+ obfuscatedId: "abc123",
765
+ relatedDocuments: [],
766
+ metadata: {
767
+ type: "FULL_TIME",
768
+ title: "Actor",
769
+ department: "Movies",
770
+ email: "george@example.com",
771
+ location: "Hollywood, CA",
772
+ phone: "6505551234",
773
+ photoUrl: "https://example.com/george.jpg",
774
+ startDate: new RFCDate("2000-01-23"),
775
+ datasourceProfile: [
776
+ {
777
+ datasource: "github",
778
+ handle: "<value>",
779
+ },
780
+ {
781
+ datasource: "github",
782
+ handle: "<value>",
783
+ },
784
+ ],
785
+ querySuggestions: {
786
+ suggestions: [],
787
+ },
788
+ inviteInfo: {
789
+ invites: [],
790
+ },
791
+ customFields: [],
792
+ badges: [
793
+ {
794
+ key: "deployment_name_new_hire",
795
+ displayName: "New hire",
796
+ iconConfig: {
797
+ color: "#343CED",
798
+ key: "person_icon",
799
+ iconType: "GLYPH",
800
+ name: "user",
801
+ },
802
+ },
803
+ ],
804
+ },
805
+ },
806
+ owner: {
807
+ name: "George Clooney",
808
+ obfuscatedId: "abc123",
809
+ },
810
+ mentionedPeople: [],
811
+ components: [
812
+ "Backend",
813
+ "Networking",
814
+ ],
815
+ status: "[\"Done\"]",
816
+ pins: [],
817
+ assignedTo: {
818
+ name: "George Clooney",
819
+ obfuscatedId: "abc123",
820
+ },
821
+ updatedBy: {
822
+ name: "George Clooney",
823
+ obfuscatedId: "abc123",
824
+ },
825
+ collections: [],
826
+ interactions: {
827
+ reacts: [],
828
+ shares: [],
829
+ },
830
+ verification: {
831
+ state: "UNVERIFIED",
832
+ metadata: {
833
+ lastVerifier: {
834
+ name: "George Clooney",
835
+ obfuscatedId: "abc123",
836
+ },
837
+ reminders: [],
838
+ lastReminder: {
839
+ assignee: {
840
+ name: "George Clooney",
841
+ obfuscatedId: "abc123",
842
+ },
843
+ requestor: {
844
+ name: "George Clooney",
845
+ obfuscatedId: "abc123",
846
+ },
847
+ remindAt: 578719,
848
+ },
849
+ candidateVerifiers: [],
850
+ },
851
+ },
852
+ shortcuts: [],
853
+ customData: {
854
+ "someCustomField": {},
855
+ },
856
+ contactPerson: {
857
+ name: "George Clooney",
858
+ obfuscatedId: "abc123",
859
+ },
860
+ },
861
+ },
862
+ pageSize: 100,
863
+ maxSnippetSize: 400,
864
+ requestOptions: {
865
+ facetFilterSets: [
866
+ {
867
+ filters: [
868
+ {
869
+ fieldName: "type",
870
+ values: [
871
+ {
872
+ value: "Spreadsheet",
873
+ relationType: "EQUALS",
874
+ },
875
+ {
876
+ value: "Presentation",
877
+ relationType: "EQUALS",
878
+ },
879
+ ],
880
+ },
881
+ ],
882
+ },
883
+ ],
884
+ context: {},
885
+ },
886
+ });
887
+
888
+ // Handle the result
889
+ console.log(result);
890
+ }
891
+
892
+ run();
893
+ ```
894
+
895
+ ### Standalone function
896
+
897
+ The standalone function version of this method:
898
+
899
+ ```typescript
900
+ import { GleanCore } from "@gleanwork/api-client/core.js";
901
+ import { clientSearchRecommendations } from "@gleanwork/api-client/funcs/clientSearchRecommendations.js";
902
+ import { RFCDate } from "@gleanwork/api-client/types";
903
+
904
+ // Use `GleanCore` for best tree-shaking performance.
905
+ // You can create one instance of it to use across an application.
906
+ const glean = new GleanCore({
907
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
908
+ });
909
+
910
+ async function run() {
911
+ const res = await clientSearchRecommendations(glean, {
912
+ sourceDocument: {
913
+ metadata: {
914
+ datasource: "datasource",
915
+ objectType: "Feature Request",
916
+ container: "container",
917
+ parentId: "JIRA_EN-1337",
918
+ mimeType: "mimeType",
919
+ documentId: "documentId",
920
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
921
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
922
+ author: {
923
+ name: "George Clooney",
924
+ obfuscatedId: "abc123",
925
+ relatedDocuments: [],
926
+ metadata: {
927
+ type: "FULL_TIME",
928
+ title: "Actor",
929
+ department: "Movies",
930
+ email: "george@example.com",
931
+ location: "Hollywood, CA",
932
+ phone: "6505551234",
933
+ photoUrl: "https://example.com/george.jpg",
934
+ startDate: new RFCDate("2000-01-23"),
935
+ datasourceProfile: [
936
+ {
937
+ datasource: "github",
938
+ handle: "<value>",
939
+ },
940
+ {
941
+ datasource: "github",
942
+ handle: "<value>",
943
+ },
944
+ ],
945
+ querySuggestions: {
946
+ suggestions: [],
947
+ },
948
+ inviteInfo: {
949
+ invites: [],
950
+ },
951
+ customFields: [],
952
+ badges: [
953
+ {
954
+ key: "deployment_name_new_hire",
955
+ displayName: "New hire",
956
+ iconConfig: {
957
+ color: "#343CED",
958
+ key: "person_icon",
959
+ iconType: "GLYPH",
960
+ name: "user",
961
+ },
962
+ },
963
+ ],
964
+ },
965
+ },
966
+ owner: {
967
+ name: "George Clooney",
968
+ obfuscatedId: "abc123",
969
+ },
970
+ mentionedPeople: [],
971
+ components: [
972
+ "Backend",
973
+ "Networking",
974
+ ],
975
+ status: "[\"Done\"]",
976
+ pins: [],
977
+ assignedTo: {
978
+ name: "George Clooney",
979
+ obfuscatedId: "abc123",
980
+ },
981
+ updatedBy: {
982
+ name: "George Clooney",
983
+ obfuscatedId: "abc123",
984
+ },
985
+ collections: [],
986
+ interactions: {
987
+ reacts: [],
988
+ shares: [],
989
+ },
990
+ verification: {
991
+ state: "UNVERIFIED",
992
+ metadata: {
993
+ lastVerifier: {
994
+ name: "George Clooney",
995
+ obfuscatedId: "abc123",
996
+ },
997
+ reminders: [],
998
+ lastReminder: {
999
+ assignee: {
1000
+ name: "George Clooney",
1001
+ obfuscatedId: "abc123",
1002
+ },
1003
+ requestor: {
1004
+ name: "George Clooney",
1005
+ obfuscatedId: "abc123",
1006
+ },
1007
+ remindAt: 578719,
1008
+ },
1009
+ candidateVerifiers: [],
1010
+ },
1011
+ },
1012
+ shortcuts: [],
1013
+ customData: {
1014
+ "someCustomField": {},
1015
+ },
1016
+ contactPerson: {
1017
+ name: "George Clooney",
1018
+ obfuscatedId: "abc123",
1019
+ },
1020
+ },
1021
+ },
1022
+ pageSize: 100,
1023
+ maxSnippetSize: 400,
1024
+ requestOptions: {
1025
+ facetFilterSets: [
1026
+ {
1027
+ filters: [
1028
+ {
1029
+ fieldName: "type",
1030
+ values: [
1031
+ {
1032
+ value: "Spreadsheet",
1033
+ relationType: "EQUALS",
1034
+ },
1035
+ {
1036
+ value: "Presentation",
1037
+ relationType: "EQUALS",
1038
+ },
1039
+ ],
1040
+ },
1041
+ ],
1042
+ },
1043
+ ],
1044
+ context: {},
1045
+ },
1046
+ });
1047
+
1048
+ if (!res.ok) {
1049
+ throw res.error;
1050
+ }
1051
+
1052
+ const { value: result } = res;
1053
+
1054
+ // Handle the result
1055
+ console.log(result);
1056
+ }
1057
+
1058
+ run();
1059
+ ```
1060
+
1061
+ ### React hooks and utilities
1062
+
1063
+ This method can be used in React components through the following hooks and
1064
+ associated utilities.
1065
+
1066
+ > Check out [this guide][hook-guide] for information about each of the utilities
1067
+ > below and how to get started using React hooks.
1068
+
1069
+ [hook-guide]: ../../../REACT_QUERY.md
1070
+
1071
+ ```tsx
1072
+ import {
1073
+ // Mutation hook for triggering the API call.
1074
+ useClientSearchRecommendationsMutation
1075
+ } from "@gleanwork/api-client/react-query/clientSearchRecommendations.js";
1076
+ ```
1077
+
1078
+ ### Parameters
1079
+
1080
+ | Parameter | Type | Required | Description |
1081
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1082
+ | `request` | [components.RecommendationsRequest](../../models/components/recommendationsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1083
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1084
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
1085
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
1086
+
1087
+ ### Response
1088
+
1089
+ **Promise\<[components.ResultsResponse](../../models/components/resultsresponse.md)\>**
1090
+
1091
+ ### Errors
1092
+
1093
+ | Error Type | Status Code | Content Type |
1094
+ | ----------------- | ----------------- | ----------------- |
1095
+ | errors.GleanError | 4XX, 5XX | \*/\* |
1096
+
1097
+ ## query
1098
+
1099
+ Retrieve results from the index for the given query and filters.
1100
+
1101
+ ### Example Usage
1102
+
1103
+ ```typescript
1104
+ import { Glean } from "@gleanwork/api-client";
1105
+ import { RFCDate } from "@gleanwork/api-client/types";
1106
+
1107
+ const glean = new Glean({
1108
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
1109
+ });
1110
+
1111
+ async function run() {
1112
+ const result = await glean.client.search.query({
1113
+ trackingToken: "trackingToken",
1114
+ sourceDocument: {
1115
+ metadata: {
1116
+ datasource: "datasource",
1117
+ objectType: "Feature Request",
1118
+ container: "container",
1119
+ parentId: "JIRA_EN-1337",
1120
+ mimeType: "mimeType",
1121
+ documentId: "documentId",
1122
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
1123
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
1124
+ author: {
1125
+ name: "George Clooney",
1126
+ obfuscatedId: "abc123",
1127
+ relatedDocuments: [],
1128
+ metadata: {
1129
+ type: "FULL_TIME",
1130
+ title: "Actor",
1131
+ department: "Movies",
1132
+ email: "george@example.com",
1133
+ location: "Hollywood, CA",
1134
+ phone: "6505551234",
1135
+ photoUrl: "https://example.com/george.jpg",
1136
+ startDate: new RFCDate("2000-01-23"),
1137
+ datasourceProfile: [
1138
+ {
1139
+ datasource: "github",
1140
+ handle: "<value>",
1141
+ },
1142
+ {
1143
+ datasource: "github",
1144
+ handle: "<value>",
1145
+ },
1146
+ ],
1147
+ querySuggestions: {
1148
+ suggestions: [],
1149
+ },
1150
+ inviteInfo: {
1151
+ invites: [],
1152
+ },
1153
+ customFields: [],
1154
+ badges: [
1155
+ {
1156
+ key: "deployment_name_new_hire",
1157
+ displayName: "New hire",
1158
+ iconConfig: {
1159
+ color: "#343CED",
1160
+ key: "person_icon",
1161
+ iconType: "GLYPH",
1162
+ name: "user",
1163
+ },
1164
+ },
1165
+ ],
1166
+ },
1167
+ },
1168
+ owner: {
1169
+ name: "George Clooney",
1170
+ obfuscatedId: "abc123",
1171
+ },
1172
+ mentionedPeople: [],
1173
+ components: [
1174
+ "Backend",
1175
+ "Networking",
1176
+ ],
1177
+ status: "[\"Done\"]",
1178
+ pins: [],
1179
+ assignedTo: {
1180
+ name: "George Clooney",
1181
+ obfuscatedId: "abc123",
1182
+ },
1183
+ updatedBy: {
1184
+ name: "George Clooney",
1185
+ obfuscatedId: "abc123",
1186
+ },
1187
+ collections: [],
1188
+ interactions: {
1189
+ reacts: [],
1190
+ shares: [],
1191
+ },
1192
+ verification: {
1193
+ state: "UNVERIFIED",
1194
+ metadata: {
1195
+ lastVerifier: {
1196
+ name: "George Clooney",
1197
+ obfuscatedId: "abc123",
1198
+ },
1199
+ reminders: [],
1200
+ lastReminder: {
1201
+ assignee: {
1202
+ name: "George Clooney",
1203
+ obfuscatedId: "abc123",
1204
+ },
1205
+ requestor: {
1206
+ name: "George Clooney",
1207
+ obfuscatedId: "abc123",
1208
+ },
1209
+ remindAt: 554738,
1210
+ },
1211
+ candidateVerifiers: [],
1212
+ },
1213
+ },
1214
+ shortcuts: [],
1215
+ customData: {
1216
+ "someCustomField": {},
1217
+ },
1218
+ contactPerson: {
1219
+ name: "George Clooney",
1220
+ obfuscatedId: "abc123",
1221
+ },
1222
+ },
1223
+ },
1224
+ pageSize: 100,
1225
+ maxSnippetSize: 400,
1226
+ query: "vacation policy",
1227
+ inputDetails: {
1228
+ hasCopyPaste: true,
1229
+ },
1230
+ requestOptions: {
1231
+ datasourceFilter: "JIRA",
1232
+ datasourcesFilter: [
1233
+ "JIRA",
1234
+ ],
1235
+ queryOverridesFacetFilters: true,
1236
+ facetFilters: [
1237
+ {
1238
+ fieldName: "type",
1239
+ values: [
1240
+ {
1241
+ value: "Spreadsheet",
1242
+ relationType: "EQUALS",
1243
+ },
1244
+ {
1245
+ value: "Presentation",
1246
+ relationType: "EQUALS",
1247
+ },
1248
+ ],
1249
+ },
1250
+ ],
1251
+ facetFilterSets: [
1252
+ {
1253
+ filters: [
1254
+ {
1255
+ fieldName: "type",
1256
+ values: [
1257
+ {
1258
+ value: "Spreadsheet",
1259
+ relationType: "EQUALS",
1260
+ },
1261
+ {
1262
+ value: "Presentation",
1263
+ relationType: "EQUALS",
1264
+ },
1265
+ ],
1266
+ },
1267
+ ],
1268
+ },
1269
+ {
1270
+ filters: [
1271
+ {
1272
+ fieldName: "type",
1273
+ values: [
1274
+ {
1275
+ value: "Spreadsheet",
1276
+ relationType: "EQUALS",
1277
+ },
1278
+ {
1279
+ value: "Presentation",
1280
+ relationType: "EQUALS",
1281
+ },
1282
+ ],
1283
+ },
1284
+ ],
1285
+ },
1286
+ {
1287
+ filters: [
1288
+ {
1289
+ fieldName: "type",
1290
+ values: [
1291
+ {
1292
+ value: "Spreadsheet",
1293
+ relationType: "EQUALS",
1294
+ },
1295
+ {
1296
+ value: "Presentation",
1297
+ relationType: "EQUALS",
1298
+ },
1299
+ ],
1300
+ },
1301
+ ],
1302
+ },
1303
+ ],
1304
+ facetBucketSize: 171751,
1305
+ authTokens: [
1306
+ {
1307
+ accessToken: "123abc",
1308
+ datasource: "gmail",
1309
+ scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
1310
+ tokenType: "Bearer",
1311
+ authUser: "1",
1312
+ },
1313
+ ],
1314
+ },
1315
+ timeoutMillis: 5000,
1316
+ people: [
1317
+ {
1318
+ name: "George Clooney",
1319
+ obfuscatedId: "abc123",
1320
+ },
1321
+ ],
1322
+ });
1323
+
1324
+ // Handle the result
1325
+ console.log(result);
1326
+ }
1327
+
1328
+ run();
1329
+ ```
1330
+
1331
+ ### Standalone function
1332
+
1333
+ The standalone function version of this method:
1334
+
1335
+ ```typescript
1336
+ import { GleanCore } from "@gleanwork/api-client/core.js";
1337
+ import { clientSearchQuery } from "@gleanwork/api-client/funcs/clientSearchQuery.js";
1338
+ import { RFCDate } from "@gleanwork/api-client/types";
1339
+
1340
+ // Use `GleanCore` for best tree-shaking performance.
1341
+ // You can create one instance of it to use across an application.
1342
+ const glean = new GleanCore({
1343
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
1344
+ });
1345
+
1346
+ async function run() {
1347
+ const res = await clientSearchQuery(glean, {
1348
+ trackingToken: "trackingToken",
1349
+ sourceDocument: {
1350
+ metadata: {
1351
+ datasource: "datasource",
1352
+ objectType: "Feature Request",
1353
+ container: "container",
1354
+ parentId: "JIRA_EN-1337",
1355
+ mimeType: "mimeType",
1356
+ documentId: "documentId",
1357
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
1358
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
1359
+ author: {
1360
+ name: "George Clooney",
1361
+ obfuscatedId: "abc123",
1362
+ relatedDocuments: [],
1363
+ metadata: {
1364
+ type: "FULL_TIME",
1365
+ title: "Actor",
1366
+ department: "Movies",
1367
+ email: "george@example.com",
1368
+ location: "Hollywood, CA",
1369
+ phone: "6505551234",
1370
+ photoUrl: "https://example.com/george.jpg",
1371
+ startDate: new RFCDate("2000-01-23"),
1372
+ datasourceProfile: [
1373
+ {
1374
+ datasource: "github",
1375
+ handle: "<value>",
1376
+ },
1377
+ {
1378
+ datasource: "github",
1379
+ handle: "<value>",
1380
+ },
1381
+ ],
1382
+ querySuggestions: {
1383
+ suggestions: [],
1384
+ },
1385
+ inviteInfo: {
1386
+ invites: [],
1387
+ },
1388
+ customFields: [],
1389
+ badges: [
1390
+ {
1391
+ key: "deployment_name_new_hire",
1392
+ displayName: "New hire",
1393
+ iconConfig: {
1394
+ color: "#343CED",
1395
+ key: "person_icon",
1396
+ iconType: "GLYPH",
1397
+ name: "user",
1398
+ },
1399
+ },
1400
+ ],
1401
+ },
1402
+ },
1403
+ owner: {
1404
+ name: "George Clooney",
1405
+ obfuscatedId: "abc123",
1406
+ },
1407
+ mentionedPeople: [],
1408
+ components: [
1409
+ "Backend",
1410
+ "Networking",
1411
+ ],
1412
+ status: "[\"Done\"]",
1413
+ pins: [],
1414
+ assignedTo: {
1415
+ name: "George Clooney",
1416
+ obfuscatedId: "abc123",
1417
+ },
1418
+ updatedBy: {
1419
+ name: "George Clooney",
1420
+ obfuscatedId: "abc123",
1421
+ },
1422
+ collections: [],
1423
+ interactions: {
1424
+ reacts: [],
1425
+ shares: [],
1426
+ },
1427
+ verification: {
1428
+ state: "UNVERIFIED",
1429
+ metadata: {
1430
+ lastVerifier: {
1431
+ name: "George Clooney",
1432
+ obfuscatedId: "abc123",
1433
+ },
1434
+ reminders: [],
1435
+ lastReminder: {
1436
+ assignee: {
1437
+ name: "George Clooney",
1438
+ obfuscatedId: "abc123",
1439
+ },
1440
+ requestor: {
1441
+ name: "George Clooney",
1442
+ obfuscatedId: "abc123",
1443
+ },
1444
+ remindAt: 554738,
1445
+ },
1446
+ candidateVerifiers: [],
1447
+ },
1448
+ },
1449
+ shortcuts: [],
1450
+ customData: {
1451
+ "someCustomField": {},
1452
+ },
1453
+ contactPerson: {
1454
+ name: "George Clooney",
1455
+ obfuscatedId: "abc123",
1456
+ },
1457
+ },
1458
+ },
1459
+ pageSize: 100,
1460
+ maxSnippetSize: 400,
1461
+ query: "vacation policy",
1462
+ inputDetails: {
1463
+ hasCopyPaste: true,
1464
+ },
1465
+ requestOptions: {
1466
+ datasourceFilter: "JIRA",
1467
+ datasourcesFilter: [
1468
+ "JIRA",
1469
+ ],
1470
+ queryOverridesFacetFilters: true,
1471
+ facetFilters: [
1472
+ {
1473
+ fieldName: "type",
1474
+ values: [
1475
+ {
1476
+ value: "Spreadsheet",
1477
+ relationType: "EQUALS",
1478
+ },
1479
+ {
1480
+ value: "Presentation",
1481
+ relationType: "EQUALS",
1482
+ },
1483
+ ],
1484
+ },
1485
+ ],
1486
+ facetFilterSets: [
1487
+ {
1488
+ filters: [
1489
+ {
1490
+ fieldName: "type",
1491
+ values: [
1492
+ {
1493
+ value: "Spreadsheet",
1494
+ relationType: "EQUALS",
1495
+ },
1496
+ {
1497
+ value: "Presentation",
1498
+ relationType: "EQUALS",
1499
+ },
1500
+ ],
1501
+ },
1502
+ ],
1503
+ },
1504
+ {
1505
+ filters: [
1506
+ {
1507
+ fieldName: "type",
1508
+ values: [
1509
+ {
1510
+ value: "Spreadsheet",
1511
+ relationType: "EQUALS",
1512
+ },
1513
+ {
1514
+ value: "Presentation",
1515
+ relationType: "EQUALS",
1516
+ },
1517
+ ],
1518
+ },
1519
+ ],
1520
+ },
1521
+ {
1522
+ filters: [
1523
+ {
1524
+ fieldName: "type",
1525
+ values: [
1526
+ {
1527
+ value: "Spreadsheet",
1528
+ relationType: "EQUALS",
1529
+ },
1530
+ {
1531
+ value: "Presentation",
1532
+ relationType: "EQUALS",
1533
+ },
1534
+ ],
1535
+ },
1536
+ ],
1537
+ },
1538
+ ],
1539
+ facetBucketSize: 171751,
1540
+ authTokens: [
1541
+ {
1542
+ accessToken: "123abc",
1543
+ datasource: "gmail",
1544
+ scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
1545
+ tokenType: "Bearer",
1546
+ authUser: "1",
1547
+ },
1548
+ ],
1549
+ },
1550
+ timeoutMillis: 5000,
1551
+ people: [
1552
+ {
1553
+ name: "George Clooney",
1554
+ obfuscatedId: "abc123",
1555
+ },
1556
+ ],
1557
+ });
1558
+
1559
+ if (!res.ok) {
1560
+ throw res.error;
1561
+ }
1562
+
1563
+ const { value: result } = res;
1564
+
1565
+ // Handle the result
1566
+ console.log(result);
1567
+ }
1568
+
1569
+ run();
1570
+ ```
1571
+
1572
+ ### React hooks and utilities
1573
+
1574
+ This method can be used in React components through the following hooks and
1575
+ associated utilities.
1576
+
1577
+ > Check out [this guide][hook-guide] for information about each of the utilities
1578
+ > below and how to get started using React hooks.
1579
+
1580
+ [hook-guide]: ../../../REACT_QUERY.md
1581
+
1582
+ ```tsx
1583
+ import {
1584
+ // Mutation hook for triggering the API call.
1585
+ useClientSearchQueryMutation
1586
+ } from "@gleanwork/api-client/react-query/clientSearchQuery.js";
1587
+ ```
1588
+
1589
+ ### Parameters
1590
+
1591
+ | Parameter | Type | Required | Description |
1592
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1593
+ | `request` | [components.SearchRequest](../../models/components/searchrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1594
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1595
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
1596
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
1597
+
1598
+ ### Response
1599
+
1600
+ **Promise\<[components.SearchResponse](../../models/components/searchresponse.md)\>**
1601
+
1602
+ ### Errors
1603
+
1604
+ | Error Type | Status Code | Content Type |
1605
+ | --------------------- | --------------------- | --------------------- |
1606
+ | errors.GleanDataError | 403, 422 | application/json |
1607
+ | errors.GleanError | 4XX, 5XX | \*/\* |