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