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

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 (860) hide show
  1. package/README.md +157 -217
  2. package/dist/commonjs/__tests__/activity.test.js +14 -0
  3. package/dist/commonjs/__tests__/activity.test.js.map +1 -1
  4. package/dist/commonjs/__tests__/adminsearch.test.d.ts +2 -0
  5. package/dist/commonjs/__tests__/adminsearch.test.d.ts.map +1 -0
  6. package/dist/commonjs/__tests__/adminsearch.test.js +230 -0
  7. package/dist/commonjs/__tests__/adminsearch.test.js.map +1 -0
  8. package/dist/commonjs/__tests__/agents.test.js +2 -2
  9. package/dist/commonjs/__tests__/agents.test.js.map +1 -1
  10. package/dist/commonjs/__tests__/announcements.test.js +1 -1
  11. package/dist/commonjs/__tests__/answers.test.js +15 -3
  12. package/dist/commonjs/__tests__/answers.test.js.map +1 -1
  13. package/dist/commonjs/__tests__/chat.test.js +1878 -243
  14. package/dist/commonjs/__tests__/chat.test.js.map +1 -1
  15. package/dist/commonjs/__tests__/clientdocuments.test.js +15 -1
  16. package/dist/commonjs/__tests__/clientdocuments.test.js.map +1 -1
  17. package/dist/commonjs/__tests__/clientsearch.test.d.ts +2 -0
  18. package/dist/commonjs/__tests__/clientsearch.test.d.ts.map +1 -0
  19. package/dist/commonjs/__tests__/clientsearch.test.js +387 -0
  20. package/dist/commonjs/__tests__/clientsearch.test.js.map +1 -0
  21. package/dist/commonjs/__tests__/clientshortcuts.test.js +17 -8
  22. package/dist/commonjs/__tests__/clientshortcuts.test.js.map +1 -1
  23. package/dist/commonjs/__tests__/collections.test.js +12 -9
  24. package/dist/commonjs/__tests__/collections.test.js.map +1 -1
  25. package/dist/commonjs/__tests__/datasource.test.d.ts +2 -0
  26. package/dist/commonjs/__tests__/datasource.test.d.ts.map +1 -0
  27. package/dist/commonjs/__tests__/datasource.test.js +10 -0
  28. package/dist/commonjs/__tests__/datasource.test.js.map +1 -0
  29. package/dist/commonjs/__tests__/datasources.test.js +1 -1
  30. package/dist/commonjs/__tests__/datasources.test.js.map +1 -1
  31. package/dist/commonjs/__tests__/indexingdocuments.test.js +41 -0
  32. package/dist/commonjs/__tests__/indexingdocuments.test.js.map +1 -1
  33. package/dist/commonjs/__tests__/indexingpeople.test.d.ts +2 -0
  34. package/dist/commonjs/__tests__/indexingpeople.test.d.ts.map +1 -0
  35. package/dist/commonjs/__tests__/indexingpeople.test.js +30 -0
  36. package/dist/commonjs/__tests__/indexingpeople.test.js.map +1 -0
  37. package/dist/commonjs/__tests__/insights.test.js +1 -2
  38. package/dist/commonjs/__tests__/insights.test.js.map +1 -1
  39. package/dist/commonjs/__tests__/messages.test.js +1 -2
  40. package/dist/commonjs/__tests__/messages.test.js.map +1 -1
  41. package/dist/commonjs/__tests__/search.test.js +0 -237
  42. package/dist/commonjs/__tests__/search.test.js.map +1 -1
  43. package/dist/commonjs/__tests__/verification.test.js +1 -1
  44. package/dist/commonjs/__tests__/verification.test.js.map +1 -1
  45. package/dist/{esm/funcs/peoplePostApiIndexV1Bulkindexemployees.d.ts → commonjs/funcs/clientAgentsRetrieveInputs.d.ts} +4 -4
  46. package/dist/commonjs/funcs/clientAgentsRetrieveInputs.d.ts.map +1 -0
  47. package/dist/commonjs/funcs/clientAgentsRetrieveInputs.js +123 -0
  48. package/dist/commonjs/funcs/clientAgentsRetrieveInputs.js.map +1 -0
  49. package/dist/commonjs/funcs/clientAgentsRun.d.ts +16 -0
  50. package/dist/commonjs/funcs/clientAgentsRun.d.ts.map +1 -0
  51. package/dist/commonjs/funcs/clientAgentsRun.js +121 -0
  52. package/dist/commonjs/funcs/clientAgentsRun.js.map +1 -0
  53. package/dist/commonjs/funcs/clientChatDeleteFiles.d.ts +16 -0
  54. package/dist/commonjs/funcs/clientChatDeleteFiles.d.ts.map +1 -0
  55. package/dist/commonjs/funcs/clientChatDeleteFiles.js +123 -0
  56. package/dist/commonjs/funcs/clientChatDeleteFiles.js.map +1 -0
  57. package/dist/commonjs/funcs/clientChatRetrieveApplication.d.ts +16 -0
  58. package/dist/commonjs/funcs/clientChatRetrieveApplication.d.ts.map +1 -0
  59. package/dist/commonjs/funcs/clientChatRetrieveApplication.js +123 -0
  60. package/dist/commonjs/funcs/clientChatRetrieveApplication.js.map +1 -0
  61. package/dist/commonjs/funcs/clientChatRetrieveFiles.d.ts +16 -0
  62. package/dist/commonjs/funcs/clientChatRetrieveFiles.d.ts.map +1 -0
  63. package/dist/commonjs/funcs/clientChatRetrieveFiles.js +123 -0
  64. package/dist/commonjs/funcs/clientChatRetrieveFiles.js.map +1 -0
  65. package/dist/commonjs/funcs/clientChatUploadFiles.d.ts +16 -0
  66. package/dist/commonjs/funcs/clientChatUploadFiles.d.ts.map +1 -0
  67. package/dist/commonjs/funcs/clientChatUploadFiles.js +121 -0
  68. package/dist/commonjs/funcs/clientChatUploadFiles.js.map +1 -0
  69. package/dist/commonjs/funcs/clientCollectionsDeleteItem.d.ts +16 -0
  70. package/dist/commonjs/funcs/clientCollectionsDeleteItem.d.ts.map +1 -0
  71. package/dist/commonjs/funcs/clientCollectionsDeleteItem.js +112 -0
  72. package/dist/commonjs/funcs/clientCollectionsDeleteItem.js.map +1 -0
  73. package/dist/commonjs/funcs/clientCollectionsUpdateItem.d.ts +16 -0
  74. package/dist/commonjs/funcs/clientCollectionsUpdateItem.d.ts.map +1 -0
  75. package/dist/commonjs/funcs/clientCollectionsUpdateItem.js +112 -0
  76. package/dist/commonjs/funcs/clientCollectionsUpdateItem.js.map +1 -0
  77. package/dist/commonjs/funcs/clientDocumentsRetrievePermissions.d.ts +16 -0
  78. package/dist/commonjs/funcs/clientDocumentsRetrievePermissions.d.ts.map +1 -0
  79. package/dist/commonjs/funcs/clientDocumentsRetrievePermissions.js +112 -0
  80. package/dist/commonjs/funcs/clientDocumentsRetrievePermissions.js.map +1 -0
  81. package/dist/commonjs/funcs/clientDocumentsSummarize.d.ts +16 -0
  82. package/dist/commonjs/funcs/clientDocumentsSummarize.d.ts.map +1 -0
  83. package/dist/commonjs/funcs/clientDocumentsSummarize.js +112 -0
  84. package/dist/commonjs/funcs/clientDocumentsSummarize.js.map +1 -0
  85. package/dist/commonjs/funcs/clientSearchQueryAsAdmin.d.ts +17 -0
  86. package/dist/commonjs/funcs/clientSearchQueryAsAdmin.d.ts.map +1 -0
  87. package/dist/commonjs/funcs/clientSearchQueryAsAdmin.js +118 -0
  88. package/dist/commonjs/funcs/clientSearchQueryAsAdmin.js.map +1 -0
  89. package/dist/commonjs/funcs/clientSearchRetrieveFeed.d.ts +16 -0
  90. package/dist/commonjs/funcs/clientSearchRetrieveFeed.d.ts.map +1 -0
  91. package/dist/commonjs/funcs/clientSearchRetrieveFeed.js +112 -0
  92. package/dist/commonjs/funcs/clientSearchRetrieveFeed.js.map +1 -0
  93. package/dist/commonjs/funcs/clientShortcutsCreate.d.ts +16 -0
  94. package/dist/commonjs/funcs/clientShortcutsCreate.d.ts.map +1 -0
  95. package/dist/commonjs/funcs/clientShortcutsCreate.js +112 -0
  96. package/dist/commonjs/funcs/clientShortcutsCreate.js.map +1 -0
  97. package/dist/commonjs/funcs/clientVerificationVerify.d.ts +16 -0
  98. package/dist/commonjs/funcs/clientVerificationVerify.d.ts.map +1 -0
  99. package/dist/commonjs/funcs/clientVerificationVerify.js +112 -0
  100. package/dist/commonjs/funcs/clientVerificationVerify.js.map +1 -0
  101. package/dist/commonjs/funcs/indexingDatasourceStatus.d.ts +18 -0
  102. package/dist/commonjs/funcs/indexingDatasourceStatus.d.ts.map +1 -0
  103. package/dist/commonjs/funcs/indexingDatasourceStatus.js +126 -0
  104. package/dist/commonjs/funcs/indexingDatasourceStatus.js.map +1 -0
  105. package/dist/commonjs/funcs/indexingDatasourcesRetrieveConfig.d.ts +16 -0
  106. package/dist/commonjs/funcs/indexingDatasourcesRetrieveConfig.d.ts.map +1 -0
  107. package/dist/commonjs/funcs/indexingDatasourcesRetrieveConfig.js +112 -0
  108. package/dist/commonjs/funcs/indexingDatasourcesRetrieveConfig.js.map +1 -0
  109. package/dist/commonjs/funcs/indexingDocumentsCheckAccess.d.ts +18 -0
  110. package/dist/commonjs/funcs/indexingDocumentsCheckAccess.d.ts.map +1 -0
  111. package/dist/commonjs/funcs/indexingDocumentsCheckAccess.js +114 -0
  112. package/dist/commonjs/funcs/indexingDocumentsCheckAccess.js.map +1 -0
  113. package/dist/commonjs/funcs/indexingDocumentsCount.d.ts +20 -0
  114. package/dist/commonjs/funcs/indexingDocumentsCount.d.ts.map +1 -0
  115. package/dist/commonjs/funcs/indexingDocumentsCount.js +116 -0
  116. package/dist/commonjs/funcs/indexingDocumentsCount.js.map +1 -0
  117. package/dist/commonjs/funcs/indexingDocumentsDebug.d.ts +18 -0
  118. package/dist/commonjs/funcs/indexingDocumentsDebug.d.ts.map +1 -0
  119. package/dist/commonjs/funcs/indexingDocumentsDebug.js +130 -0
  120. package/dist/commonjs/funcs/indexingDocumentsDebug.js.map +1 -0
  121. package/dist/commonjs/funcs/indexingDocumentsDebugMany.d.ts +18 -0
  122. package/dist/commonjs/funcs/indexingDocumentsDebugMany.d.ts.map +1 -0
  123. package/dist/commonjs/funcs/indexingDocumentsDebugMany.js +130 -0
  124. package/dist/commonjs/funcs/indexingDocumentsDebugMany.js.map +1 -0
  125. package/dist/commonjs/funcs/indexingDocumentsStatus.d.ts +20 -0
  126. package/dist/commonjs/funcs/indexingDocumentsStatus.d.ts.map +1 -0
  127. package/dist/commonjs/funcs/indexingDocumentsStatus.js +116 -0
  128. package/dist/commonjs/funcs/indexingDocumentsStatus.js.map +1 -0
  129. package/dist/commonjs/funcs/indexingPeopleBulkIndex.d.ts +2 -4
  130. package/dist/commonjs/funcs/indexingPeopleBulkIndex.d.ts.map +1 -1
  131. package/dist/commonjs/funcs/indexingPeopleBulkIndex.js +4 -6
  132. package/dist/commonjs/funcs/indexingPeopleBulkIndex.js.map +1 -1
  133. package/dist/commonjs/funcs/indexingPeopleCount.d.ts +20 -0
  134. package/dist/commonjs/funcs/indexingPeopleCount.d.ts.map +1 -0
  135. package/dist/commonjs/funcs/indexingPeopleCount.js +116 -0
  136. package/dist/commonjs/funcs/indexingPeopleCount.js.map +1 -0
  137. package/dist/commonjs/funcs/indexingPeopleDebug.d.ts +18 -0
  138. package/dist/commonjs/funcs/indexingPeopleDebug.d.ts.map +1 -0
  139. package/dist/commonjs/funcs/indexingPeopleDebug.js +127 -0
  140. package/dist/commonjs/funcs/indexingPeopleDebug.js.map +1 -0
  141. package/dist/commonjs/funcs/indexingShortcutsUpload.d.ts +16 -0
  142. package/dist/commonjs/funcs/indexingShortcutsUpload.d.ts.map +1 -0
  143. package/dist/commonjs/funcs/{peoplePostApiIndexV1Bulkindexemployees.js → indexingShortcutsUpload.js} +8 -8
  144. package/dist/commonjs/funcs/indexingShortcutsUpload.js.map +1 -0
  145. package/dist/commonjs/lib/config.d.ts +2 -2
  146. package/dist/commonjs/lib/config.js +2 -2
  147. package/dist/commonjs/models/components/collectionitem.js +2 -2
  148. package/dist/commonjs/models/components/collectionitem.js.map +1 -1
  149. package/dist/commonjs/models/components/documentmetadata.js +2 -2
  150. package/dist/commonjs/models/components/documentmetadata.js.map +1 -1
  151. package/dist/commonjs/models/components/index.d.ts +1 -1
  152. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  153. package/dist/commonjs/models/components/index.js +1 -1
  154. package/dist/commonjs/models/components/index.js.map +1 -1
  155. package/dist/commonjs/models/components/indexingshortcut.d.ts +72 -0
  156. package/dist/commonjs/models/components/indexingshortcut.d.ts.map +1 -0
  157. package/dist/commonjs/models/components/{indexemployeelistrequest.js → indexingshortcut.js} +35 -20
  158. package/dist/commonjs/models/components/indexingshortcut.js.map +1 -0
  159. package/dist/commonjs/models/components/shortcut.d.ts +77 -20
  160. package/dist/commonjs/models/components/shortcut.d.ts.map +1 -1
  161. package/dist/commonjs/models/components/shortcut.js +46 -10
  162. package/dist/commonjs/models/components/shortcut.js.map +1 -1
  163. package/dist/commonjs/models/components/structuredresult.js +2 -2
  164. package/dist/commonjs/models/components/structuredresult.js.map +1 -1
  165. package/dist/commonjs/models/components/uploadshortcutsrequest.d.ts +3 -3
  166. package/dist/commonjs/models/components/uploadshortcutsrequest.d.ts.map +1 -1
  167. package/dist/commonjs/models/components/uploadshortcutsrequest.js +3 -3
  168. package/dist/commonjs/models/components/uploadshortcutsrequest.js.map +1 -1
  169. package/dist/commonjs/react-query/clientAgentsRetrieveInputs.d.ts +24 -0
  170. package/dist/commonjs/react-query/clientAgentsRetrieveInputs.d.ts.map +1 -0
  171. package/dist/commonjs/react-query/clientAgentsRetrieveInputs.js +47 -0
  172. package/dist/commonjs/react-query/clientAgentsRetrieveInputs.js.map +1 -0
  173. package/dist/commonjs/react-query/clientAgentsRun.d.ts +24 -0
  174. package/dist/commonjs/react-query/clientAgentsRun.d.ts.map +1 -0
  175. package/dist/commonjs/react-query/clientAgentsRun.js +47 -0
  176. package/dist/commonjs/react-query/clientAgentsRun.js.map +1 -0
  177. package/dist/commonjs/react-query/clientChatDeleteFiles.d.ts +24 -0
  178. package/dist/commonjs/react-query/clientChatDeleteFiles.d.ts.map +1 -0
  179. package/dist/commonjs/react-query/clientChatDeleteFiles.js +47 -0
  180. package/dist/commonjs/react-query/clientChatDeleteFiles.js.map +1 -0
  181. package/dist/commonjs/react-query/clientChatRetrieveApplication.d.ts +24 -0
  182. package/dist/commonjs/react-query/clientChatRetrieveApplication.d.ts.map +1 -0
  183. package/dist/commonjs/react-query/clientChatRetrieveApplication.js +47 -0
  184. package/dist/commonjs/react-query/clientChatRetrieveApplication.js.map +1 -0
  185. package/dist/commonjs/react-query/clientChatRetrieveFiles.d.ts +24 -0
  186. package/dist/commonjs/react-query/clientChatRetrieveFiles.d.ts.map +1 -0
  187. package/dist/commonjs/react-query/clientChatRetrieveFiles.js +47 -0
  188. package/dist/commonjs/react-query/clientChatRetrieveFiles.js.map +1 -0
  189. package/dist/commonjs/react-query/clientChatUploadFiles.d.ts +24 -0
  190. package/dist/commonjs/react-query/clientChatUploadFiles.d.ts.map +1 -0
  191. package/dist/commonjs/react-query/clientChatUploadFiles.js +47 -0
  192. package/dist/commonjs/react-query/clientChatUploadFiles.js.map +1 -0
  193. package/dist/commonjs/react-query/clientCollectionsDeleteItem.d.ts +23 -0
  194. package/dist/commonjs/react-query/clientCollectionsDeleteItem.d.ts.map +1 -0
  195. package/dist/commonjs/react-query/clientCollectionsDeleteItem.js +47 -0
  196. package/dist/commonjs/react-query/clientCollectionsDeleteItem.js.map +1 -0
  197. package/dist/commonjs/react-query/clientCollectionsUpdateItem.d.ts +23 -0
  198. package/dist/commonjs/react-query/clientCollectionsUpdateItem.d.ts.map +1 -0
  199. package/dist/commonjs/react-query/clientCollectionsUpdateItem.js +47 -0
  200. package/dist/commonjs/react-query/clientCollectionsUpdateItem.js.map +1 -0
  201. package/dist/commonjs/react-query/clientDocumentsRetrievePermissions.d.ts +23 -0
  202. package/dist/commonjs/react-query/clientDocumentsRetrievePermissions.d.ts.map +1 -0
  203. package/dist/commonjs/react-query/clientDocumentsRetrievePermissions.js +47 -0
  204. package/dist/commonjs/react-query/clientDocumentsRetrievePermissions.js.map +1 -0
  205. package/dist/commonjs/react-query/clientDocumentsSummarize.d.ts +23 -0
  206. package/dist/commonjs/react-query/clientDocumentsSummarize.d.ts.map +1 -0
  207. package/dist/commonjs/react-query/clientDocumentsSummarize.js +47 -0
  208. package/dist/commonjs/react-query/clientDocumentsSummarize.js.map +1 -0
  209. package/dist/commonjs/react-query/clientSearchQueryAsAdmin.d.ts +23 -0
  210. package/dist/commonjs/react-query/clientSearchQueryAsAdmin.d.ts.map +1 -0
  211. package/dist/commonjs/react-query/clientSearchQueryAsAdmin.js +47 -0
  212. package/dist/commonjs/react-query/clientSearchQueryAsAdmin.js.map +1 -0
  213. package/dist/commonjs/react-query/clientSearchRetrieveFeed.d.ts +23 -0
  214. package/dist/commonjs/react-query/clientSearchRetrieveFeed.d.ts.map +1 -0
  215. package/dist/commonjs/react-query/clientSearchRetrieveFeed.js +47 -0
  216. package/dist/commonjs/react-query/clientSearchRetrieveFeed.js.map +1 -0
  217. package/dist/commonjs/react-query/clientShortcutsCreate.d.ts +23 -0
  218. package/dist/commonjs/react-query/clientShortcutsCreate.d.ts.map +1 -0
  219. package/dist/commonjs/react-query/clientShortcutsCreate.js +47 -0
  220. package/dist/commonjs/react-query/clientShortcutsCreate.js.map +1 -0
  221. package/dist/commonjs/react-query/clientVerificationVerify.d.ts +23 -0
  222. package/dist/commonjs/react-query/clientVerificationVerify.d.ts.map +1 -0
  223. package/dist/commonjs/react-query/clientVerificationVerify.js +47 -0
  224. package/dist/commonjs/react-query/clientVerificationVerify.js.map +1 -0
  225. package/dist/commonjs/react-query/index.d.ts +24 -25
  226. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  227. package/dist/commonjs/react-query/index.js +24 -25
  228. package/dist/commonjs/react-query/index.js.map +1 -1
  229. package/dist/commonjs/react-query/indexingDatasourceStatus.d.ts +25 -0
  230. package/dist/commonjs/react-query/indexingDatasourceStatus.d.ts.map +1 -0
  231. package/dist/commonjs/react-query/indexingDatasourceStatus.js +49 -0
  232. package/dist/commonjs/react-query/indexingDatasourceStatus.js.map +1 -0
  233. package/dist/commonjs/react-query/indexingDatasourcesRetrieveConfig.d.ts +23 -0
  234. package/dist/commonjs/react-query/indexingDatasourcesRetrieveConfig.d.ts.map +1 -0
  235. package/dist/commonjs/react-query/indexingDatasourcesRetrieveConfig.js +47 -0
  236. package/dist/commonjs/react-query/indexingDatasourcesRetrieveConfig.js.map +1 -0
  237. package/dist/commonjs/react-query/indexingDocumentsCheckAccess.d.ts +25 -0
  238. package/dist/commonjs/react-query/indexingDocumentsCheckAccess.d.ts.map +1 -0
  239. package/dist/commonjs/react-query/indexingDocumentsCheckAccess.js +49 -0
  240. package/dist/commonjs/react-query/indexingDocumentsCheckAccess.js.map +1 -0
  241. package/dist/commonjs/react-query/indexingDocumentsCount.d.ts +27 -0
  242. package/dist/commonjs/react-query/indexingDocumentsCount.d.ts.map +1 -0
  243. package/dist/commonjs/react-query/indexingDocumentsCount.js +51 -0
  244. package/dist/commonjs/react-query/indexingDocumentsCount.js.map +1 -0
  245. package/dist/commonjs/react-query/indexingDocumentsDebug.d.ts +26 -0
  246. package/dist/commonjs/react-query/indexingDocumentsDebug.d.ts.map +1 -0
  247. package/dist/commonjs/react-query/indexingDocumentsDebug.js +49 -0
  248. package/dist/commonjs/react-query/indexingDocumentsDebug.js.map +1 -0
  249. package/dist/commonjs/react-query/indexingDocumentsDebugMany.d.ts +26 -0
  250. package/dist/commonjs/react-query/indexingDocumentsDebugMany.d.ts.map +1 -0
  251. package/dist/commonjs/react-query/indexingDocumentsDebugMany.js +49 -0
  252. package/dist/commonjs/react-query/indexingDocumentsDebugMany.js.map +1 -0
  253. package/dist/commonjs/react-query/indexingDocumentsStatus.d.ts +27 -0
  254. package/dist/commonjs/react-query/indexingDocumentsStatus.d.ts.map +1 -0
  255. package/dist/commonjs/react-query/indexingDocumentsStatus.js +51 -0
  256. package/dist/commonjs/react-query/indexingDocumentsStatus.js.map +1 -0
  257. package/dist/commonjs/react-query/indexingPeopleBulkIndex.d.ts +2 -4
  258. package/dist/commonjs/react-query/indexingPeopleBulkIndex.d.ts.map +1 -1
  259. package/dist/commonjs/react-query/indexingPeopleBulkIndex.js +1 -3
  260. package/dist/commonjs/react-query/indexingPeopleBulkIndex.js.map +1 -1
  261. package/dist/commonjs/react-query/indexingPeopleCount.d.ts +27 -0
  262. package/dist/commonjs/react-query/indexingPeopleCount.d.ts.map +1 -0
  263. package/dist/commonjs/react-query/indexingPeopleCount.js +51 -0
  264. package/dist/commonjs/react-query/indexingPeopleCount.js.map +1 -0
  265. package/dist/commonjs/react-query/indexingPeopleDebug.d.ts +26 -0
  266. package/dist/commonjs/react-query/indexingPeopleDebug.d.ts.map +1 -0
  267. package/dist/commonjs/react-query/indexingPeopleDebug.js +49 -0
  268. package/dist/commonjs/react-query/indexingPeopleDebug.js.map +1 -0
  269. package/dist/commonjs/react-query/indexingShortcutsUpload.d.ts +23 -0
  270. package/dist/commonjs/react-query/indexingShortcutsUpload.d.ts.map +1 -0
  271. package/dist/commonjs/react-query/indexingShortcutsUpload.js +47 -0
  272. package/dist/commonjs/react-query/indexingShortcutsUpload.js.map +1 -0
  273. package/dist/commonjs/sdk/agents.d.ts +14 -3
  274. package/dist/commonjs/sdk/agents.d.ts.map +1 -1
  275. package/dist/commonjs/sdk/agents.js +19 -3
  276. package/dist/commonjs/sdk/agents.js.map +1 -1
  277. package/dist/commonjs/sdk/chat.d.ts +28 -6
  278. package/dist/commonjs/sdk/chat.d.ts.map +1 -1
  279. package/dist/commonjs/sdk/chat.js +40 -8
  280. package/dist/commonjs/sdk/chat.js.map +1 -1
  281. package/dist/commonjs/sdk/client.d.ts +2 -5
  282. package/dist/commonjs/sdk/client.d.ts.map +1 -1
  283. package/dist/commonjs/sdk/client.js +2 -6
  284. package/dist/commonjs/sdk/client.js.map +1 -1
  285. package/dist/commonjs/sdk/clientdocuments.d.ts +14 -3
  286. package/dist/commonjs/sdk/clientdocuments.d.ts.map +1 -1
  287. package/dist/commonjs/sdk/clientdocuments.js +19 -3
  288. package/dist/commonjs/sdk/clientdocuments.js.map +1 -1
  289. package/dist/commonjs/sdk/clientsearch.d.ts +14 -6
  290. package/dist/commonjs/sdk/clientsearch.d.ts.map +1 -1
  291. package/dist/commonjs/sdk/clientsearch.js +18 -6
  292. package/dist/commonjs/sdk/clientsearch.js.map +1 -1
  293. package/dist/commonjs/sdk/clientshortcuts.d.ts +7 -7
  294. package/dist/commonjs/sdk/clientshortcuts.d.ts.map +1 -1
  295. package/dist/commonjs/sdk/clientshortcuts.js +10 -10
  296. package/dist/commonjs/sdk/clientshortcuts.js.map +1 -1
  297. package/dist/commonjs/sdk/collections.d.ts +14 -3
  298. package/dist/commonjs/sdk/collections.d.ts.map +1 -1
  299. package/dist/commonjs/sdk/collections.js +20 -4
  300. package/dist/commonjs/sdk/collections.js.map +1 -1
  301. package/dist/commonjs/sdk/datasource.d.ts +0 -9
  302. package/dist/commonjs/sdk/datasource.d.ts.map +1 -1
  303. package/dist/commonjs/sdk/datasource.js +2 -14
  304. package/dist/commonjs/sdk/datasource.js.map +1 -1
  305. package/dist/commonjs/sdk/datasources.d.ts +7 -3
  306. package/dist/commonjs/sdk/datasources.d.ts.map +1 -1
  307. package/dist/commonjs/sdk/datasources.js +10 -4
  308. package/dist/commonjs/sdk/datasources.js.map +1 -1
  309. package/dist/commonjs/sdk/indexing.d.ts +8 -8
  310. package/dist/commonjs/sdk/indexing.d.ts.map +1 -1
  311. package/dist/commonjs/sdk/indexing.js +9 -9
  312. package/dist/commonjs/sdk/indexing.js.map +1 -1
  313. package/dist/commonjs/sdk/indexingdocuments.d.ts +49 -0
  314. package/dist/commonjs/sdk/indexingdocuments.d.ts.map +1 -1
  315. package/dist/commonjs/sdk/indexingdocuments.js +64 -0
  316. package/dist/commonjs/sdk/indexingdocuments.js.map +1 -1
  317. package/dist/commonjs/sdk/indexingshortcuts.d.ts +7 -0
  318. package/dist/commonjs/sdk/indexingshortcuts.d.ts.map +1 -1
  319. package/dist/commonjs/sdk/indexingshortcuts.js +10 -0
  320. package/dist/commonjs/sdk/indexingshortcuts.js.map +1 -1
  321. package/dist/commonjs/sdk/people.d.ts +63 -1
  322. package/dist/commonjs/sdk/people.d.ts.map +1 -1
  323. package/dist/commonjs/sdk/people.js +89 -3
  324. package/dist/commonjs/sdk/people.js.map +1 -1
  325. package/dist/commonjs/sdk/permissions.d.ts +89 -0
  326. package/dist/commonjs/sdk/permissions.d.ts.map +1 -0
  327. package/dist/commonjs/sdk/permissions.js +132 -0
  328. package/dist/commonjs/sdk/permissions.js.map +1 -0
  329. package/dist/commonjs/sdk/sdk.d.ts +0 -9
  330. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  331. package/dist/commonjs/sdk/sdk.js +0 -12
  332. package/dist/commonjs/sdk/sdk.js.map +1 -1
  333. package/dist/commonjs/sdk/verification.d.ts +14 -0
  334. package/dist/commonjs/sdk/verification.d.ts.map +1 -1
  335. package/dist/commonjs/sdk/verification.js +22 -2
  336. package/dist/commonjs/sdk/verification.js.map +1 -1
  337. package/dist/esm/__tests__/activity.test.js +14 -0
  338. package/dist/esm/__tests__/activity.test.js.map +1 -1
  339. package/dist/esm/__tests__/adminsearch.test.d.ts +2 -0
  340. package/dist/esm/__tests__/adminsearch.test.d.ts.map +1 -0
  341. package/dist/esm/__tests__/adminsearch.test.js +228 -0
  342. package/dist/esm/__tests__/adminsearch.test.js.map +1 -0
  343. package/dist/esm/__tests__/agents.test.js +2 -2
  344. package/dist/esm/__tests__/agents.test.js.map +1 -1
  345. package/dist/esm/__tests__/announcements.test.js +1 -1
  346. package/dist/esm/__tests__/answers.test.js +15 -3
  347. package/dist/esm/__tests__/answers.test.js.map +1 -1
  348. package/dist/esm/__tests__/chat.test.js +1879 -244
  349. package/dist/esm/__tests__/chat.test.js.map +1 -1
  350. package/dist/esm/__tests__/clientdocuments.test.js +15 -1
  351. package/dist/esm/__tests__/clientdocuments.test.js.map +1 -1
  352. package/dist/esm/__tests__/clientsearch.test.d.ts +2 -0
  353. package/dist/esm/__tests__/clientsearch.test.d.ts.map +1 -0
  354. package/dist/esm/__tests__/clientsearch.test.js +385 -0
  355. package/dist/esm/__tests__/clientsearch.test.js.map +1 -0
  356. package/dist/esm/__tests__/clientshortcuts.test.js +17 -8
  357. package/dist/esm/__tests__/clientshortcuts.test.js.map +1 -1
  358. package/dist/esm/__tests__/collections.test.js +12 -9
  359. package/dist/esm/__tests__/collections.test.js.map +1 -1
  360. package/dist/esm/__tests__/datasource.test.d.ts +2 -0
  361. package/dist/esm/__tests__/datasource.test.d.ts.map +1 -0
  362. package/dist/esm/__tests__/datasource.test.js +8 -0
  363. package/dist/esm/__tests__/datasource.test.js.map +1 -0
  364. package/dist/esm/__tests__/datasources.test.js +1 -1
  365. package/dist/esm/__tests__/datasources.test.js.map +1 -1
  366. package/dist/esm/__tests__/indexingdocuments.test.js +42 -1
  367. package/dist/esm/__tests__/indexingdocuments.test.js.map +1 -1
  368. package/dist/esm/__tests__/indexingpeople.test.d.ts +2 -0
  369. package/dist/esm/__tests__/indexingpeople.test.d.ts.map +1 -0
  370. package/dist/esm/__tests__/indexingpeople.test.js +28 -0
  371. package/dist/esm/__tests__/indexingpeople.test.js.map +1 -0
  372. package/dist/esm/__tests__/insights.test.js +1 -2
  373. package/dist/esm/__tests__/insights.test.js.map +1 -1
  374. package/dist/esm/__tests__/messages.test.js +1 -2
  375. package/dist/esm/__tests__/messages.test.js.map +1 -1
  376. package/dist/esm/__tests__/search.test.js +0 -237
  377. package/dist/esm/__tests__/search.test.js.map +1 -1
  378. package/dist/esm/__tests__/verification.test.js +1 -1
  379. package/dist/esm/__tests__/verification.test.js.map +1 -1
  380. package/dist/{commonjs/funcs/peoplePostApiIndexV1Bulkindexemployees.d.ts → esm/funcs/clientAgentsRetrieveInputs.d.ts} +4 -4
  381. package/dist/esm/funcs/clientAgentsRetrieveInputs.d.ts.map +1 -0
  382. package/dist/esm/funcs/clientAgentsRetrieveInputs.js +87 -0
  383. package/dist/esm/funcs/clientAgentsRetrieveInputs.js.map +1 -0
  384. package/dist/esm/funcs/clientAgentsRun.d.ts +16 -0
  385. package/dist/esm/funcs/clientAgentsRun.d.ts.map +1 -0
  386. package/dist/esm/funcs/clientAgentsRun.js +85 -0
  387. package/dist/esm/funcs/clientAgentsRun.js.map +1 -0
  388. package/dist/esm/funcs/clientChatDeleteFiles.d.ts +16 -0
  389. package/dist/esm/funcs/clientChatDeleteFiles.d.ts.map +1 -0
  390. package/dist/esm/funcs/clientChatDeleteFiles.js +87 -0
  391. package/dist/esm/funcs/clientChatDeleteFiles.js.map +1 -0
  392. package/dist/esm/funcs/clientChatRetrieveApplication.d.ts +16 -0
  393. package/dist/esm/funcs/clientChatRetrieveApplication.d.ts.map +1 -0
  394. package/dist/esm/funcs/clientChatRetrieveApplication.js +87 -0
  395. package/dist/esm/funcs/clientChatRetrieveApplication.js.map +1 -0
  396. package/dist/esm/funcs/clientChatRetrieveFiles.d.ts +16 -0
  397. package/dist/esm/funcs/clientChatRetrieveFiles.d.ts.map +1 -0
  398. package/dist/esm/funcs/clientChatRetrieveFiles.js +87 -0
  399. package/dist/esm/funcs/clientChatRetrieveFiles.js.map +1 -0
  400. package/dist/esm/funcs/clientChatUploadFiles.d.ts +16 -0
  401. package/dist/esm/funcs/clientChatUploadFiles.d.ts.map +1 -0
  402. package/dist/esm/funcs/clientChatUploadFiles.js +85 -0
  403. package/dist/esm/funcs/clientChatUploadFiles.js.map +1 -0
  404. package/dist/esm/funcs/clientCollectionsDeleteItem.d.ts +16 -0
  405. package/dist/esm/funcs/clientCollectionsDeleteItem.d.ts.map +1 -0
  406. package/dist/esm/funcs/clientCollectionsDeleteItem.js +76 -0
  407. package/dist/esm/funcs/clientCollectionsDeleteItem.js.map +1 -0
  408. package/dist/esm/funcs/clientCollectionsUpdateItem.d.ts +16 -0
  409. package/dist/esm/funcs/clientCollectionsUpdateItem.d.ts.map +1 -0
  410. package/dist/esm/funcs/clientCollectionsUpdateItem.js +76 -0
  411. package/dist/esm/funcs/clientCollectionsUpdateItem.js.map +1 -0
  412. package/dist/esm/funcs/clientDocumentsRetrievePermissions.d.ts +16 -0
  413. package/dist/esm/funcs/clientDocumentsRetrievePermissions.d.ts.map +1 -0
  414. package/dist/esm/funcs/clientDocumentsRetrievePermissions.js +76 -0
  415. package/dist/esm/funcs/clientDocumentsRetrievePermissions.js.map +1 -0
  416. package/dist/esm/funcs/clientDocumentsSummarize.d.ts +16 -0
  417. package/dist/esm/funcs/clientDocumentsSummarize.d.ts.map +1 -0
  418. package/dist/esm/funcs/clientDocumentsSummarize.js +76 -0
  419. package/dist/esm/funcs/clientDocumentsSummarize.js.map +1 -0
  420. package/dist/esm/funcs/clientSearchQueryAsAdmin.d.ts +17 -0
  421. package/dist/esm/funcs/clientSearchQueryAsAdmin.d.ts.map +1 -0
  422. package/dist/esm/funcs/clientSearchQueryAsAdmin.js +82 -0
  423. package/dist/esm/funcs/clientSearchQueryAsAdmin.js.map +1 -0
  424. package/dist/esm/funcs/clientSearchRetrieveFeed.d.ts +16 -0
  425. package/dist/esm/funcs/clientSearchRetrieveFeed.d.ts.map +1 -0
  426. package/dist/esm/funcs/clientSearchRetrieveFeed.js +76 -0
  427. package/dist/esm/funcs/clientSearchRetrieveFeed.js.map +1 -0
  428. package/dist/esm/funcs/clientShortcutsCreate.d.ts +16 -0
  429. package/dist/esm/funcs/clientShortcutsCreate.d.ts.map +1 -0
  430. package/dist/esm/funcs/clientShortcutsCreate.js +76 -0
  431. package/dist/esm/funcs/clientShortcutsCreate.js.map +1 -0
  432. package/dist/esm/funcs/clientVerificationVerify.d.ts +16 -0
  433. package/dist/esm/funcs/clientVerificationVerify.d.ts.map +1 -0
  434. package/dist/esm/funcs/clientVerificationVerify.js +76 -0
  435. package/dist/esm/funcs/clientVerificationVerify.js.map +1 -0
  436. package/dist/esm/funcs/indexingDatasourceStatus.d.ts +18 -0
  437. package/dist/esm/funcs/indexingDatasourceStatus.d.ts.map +1 -0
  438. package/dist/esm/funcs/indexingDatasourceStatus.js +90 -0
  439. package/dist/esm/funcs/indexingDatasourceStatus.js.map +1 -0
  440. package/dist/esm/funcs/indexingDatasourcesRetrieveConfig.d.ts +16 -0
  441. package/dist/esm/funcs/indexingDatasourcesRetrieveConfig.d.ts.map +1 -0
  442. package/dist/esm/funcs/indexingDatasourcesRetrieveConfig.js +76 -0
  443. package/dist/esm/funcs/indexingDatasourcesRetrieveConfig.js.map +1 -0
  444. package/dist/esm/funcs/indexingDocumentsCheckAccess.d.ts +18 -0
  445. package/dist/esm/funcs/indexingDocumentsCheckAccess.d.ts.map +1 -0
  446. package/dist/esm/funcs/indexingDocumentsCheckAccess.js +78 -0
  447. package/dist/esm/funcs/indexingDocumentsCheckAccess.js.map +1 -0
  448. package/dist/esm/funcs/indexingDocumentsCount.d.ts +20 -0
  449. package/dist/esm/funcs/indexingDocumentsCount.d.ts.map +1 -0
  450. package/dist/esm/funcs/indexingDocumentsCount.js +80 -0
  451. package/dist/esm/funcs/indexingDocumentsCount.js.map +1 -0
  452. package/dist/esm/funcs/indexingDocumentsDebug.d.ts +18 -0
  453. package/dist/esm/funcs/indexingDocumentsDebug.d.ts.map +1 -0
  454. package/dist/esm/funcs/indexingDocumentsDebug.js +94 -0
  455. package/dist/esm/funcs/indexingDocumentsDebug.js.map +1 -0
  456. package/dist/esm/funcs/indexingDocumentsDebugMany.d.ts +18 -0
  457. package/dist/esm/funcs/indexingDocumentsDebugMany.d.ts.map +1 -0
  458. package/dist/esm/funcs/indexingDocumentsDebugMany.js +94 -0
  459. package/dist/esm/funcs/indexingDocumentsDebugMany.js.map +1 -0
  460. package/dist/esm/funcs/indexingDocumentsStatus.d.ts +20 -0
  461. package/dist/esm/funcs/indexingDocumentsStatus.d.ts.map +1 -0
  462. package/dist/esm/funcs/indexingDocumentsStatus.js +80 -0
  463. package/dist/esm/funcs/indexingDocumentsStatus.js.map +1 -0
  464. package/dist/esm/funcs/indexingPeopleBulkIndex.d.ts +2 -4
  465. package/dist/esm/funcs/indexingPeopleBulkIndex.d.ts.map +1 -1
  466. package/dist/esm/funcs/indexingPeopleBulkIndex.js +4 -6
  467. package/dist/esm/funcs/indexingPeopleBulkIndex.js.map +1 -1
  468. package/dist/esm/funcs/indexingPeopleCount.d.ts +20 -0
  469. package/dist/esm/funcs/indexingPeopleCount.d.ts.map +1 -0
  470. package/dist/esm/funcs/indexingPeopleCount.js +80 -0
  471. package/dist/esm/funcs/indexingPeopleCount.js.map +1 -0
  472. package/dist/esm/funcs/indexingPeopleDebug.d.ts +18 -0
  473. package/dist/esm/funcs/indexingPeopleDebug.d.ts.map +1 -0
  474. package/dist/esm/funcs/indexingPeopleDebug.js +91 -0
  475. package/dist/esm/funcs/indexingPeopleDebug.js.map +1 -0
  476. package/dist/esm/funcs/indexingShortcutsUpload.d.ts +16 -0
  477. package/dist/esm/funcs/indexingShortcutsUpload.d.ts.map +1 -0
  478. package/dist/esm/funcs/{peoplePostApiIndexV1Bulkindexemployees.js → indexingShortcutsUpload.js} +7 -7
  479. package/dist/esm/funcs/indexingShortcutsUpload.js.map +1 -0
  480. package/dist/esm/lib/config.d.ts +2 -2
  481. package/dist/esm/lib/config.js +2 -2
  482. package/dist/esm/models/components/collectionitem.js +2 -2
  483. package/dist/esm/models/components/collectionitem.js.map +1 -1
  484. package/dist/esm/models/components/documentmetadata.js +2 -2
  485. package/dist/esm/models/components/documentmetadata.js.map +1 -1
  486. package/dist/esm/models/components/index.d.ts +1 -1
  487. package/dist/esm/models/components/index.d.ts.map +1 -1
  488. package/dist/esm/models/components/index.js +1 -1
  489. package/dist/esm/models/components/index.js.map +1 -1
  490. package/dist/esm/models/components/indexingshortcut.d.ts +72 -0
  491. package/dist/esm/models/components/indexingshortcut.d.ts.map +1 -0
  492. package/dist/esm/models/components/indexingshortcut.js +47 -0
  493. package/dist/esm/models/components/indexingshortcut.js.map +1 -0
  494. package/dist/esm/models/components/shortcut.d.ts +77 -20
  495. package/dist/esm/models/components/shortcut.d.ts.map +1 -1
  496. package/dist/esm/models/components/shortcut.js +46 -10
  497. package/dist/esm/models/components/shortcut.js.map +1 -1
  498. package/dist/esm/models/components/structuredresult.js +2 -2
  499. package/dist/esm/models/components/structuredresult.js.map +1 -1
  500. package/dist/esm/models/components/uploadshortcutsrequest.d.ts +3 -3
  501. package/dist/esm/models/components/uploadshortcutsrequest.d.ts.map +1 -1
  502. package/dist/esm/models/components/uploadshortcutsrequest.js +3 -3
  503. package/dist/esm/models/components/uploadshortcutsrequest.js.map +1 -1
  504. package/dist/esm/react-query/clientAgentsRetrieveInputs.d.ts +24 -0
  505. package/dist/esm/react-query/clientAgentsRetrieveInputs.d.ts.map +1 -0
  506. package/dist/esm/react-query/clientAgentsRetrieveInputs.js +42 -0
  507. package/dist/esm/react-query/clientAgentsRetrieveInputs.js.map +1 -0
  508. package/dist/esm/react-query/clientAgentsRun.d.ts +24 -0
  509. package/dist/esm/react-query/clientAgentsRun.d.ts.map +1 -0
  510. package/dist/esm/react-query/clientAgentsRun.js +42 -0
  511. package/dist/esm/react-query/clientAgentsRun.js.map +1 -0
  512. package/dist/esm/react-query/clientChatDeleteFiles.d.ts +24 -0
  513. package/dist/esm/react-query/clientChatDeleteFiles.d.ts.map +1 -0
  514. package/dist/esm/react-query/clientChatDeleteFiles.js +42 -0
  515. package/dist/esm/react-query/clientChatDeleteFiles.js.map +1 -0
  516. package/dist/esm/react-query/clientChatRetrieveApplication.d.ts +24 -0
  517. package/dist/esm/react-query/clientChatRetrieveApplication.d.ts.map +1 -0
  518. package/dist/esm/react-query/clientChatRetrieveApplication.js +42 -0
  519. package/dist/esm/react-query/clientChatRetrieveApplication.js.map +1 -0
  520. package/dist/esm/react-query/clientChatRetrieveFiles.d.ts +24 -0
  521. package/dist/esm/react-query/clientChatRetrieveFiles.d.ts.map +1 -0
  522. package/dist/esm/react-query/clientChatRetrieveFiles.js +42 -0
  523. package/dist/esm/react-query/clientChatRetrieveFiles.js.map +1 -0
  524. package/dist/esm/react-query/clientChatUploadFiles.d.ts +24 -0
  525. package/dist/esm/react-query/clientChatUploadFiles.d.ts.map +1 -0
  526. package/dist/esm/react-query/clientChatUploadFiles.js +42 -0
  527. package/dist/esm/react-query/clientChatUploadFiles.js.map +1 -0
  528. package/dist/esm/react-query/clientCollectionsDeleteItem.d.ts +23 -0
  529. package/dist/esm/react-query/clientCollectionsDeleteItem.d.ts.map +1 -0
  530. package/dist/esm/react-query/clientCollectionsDeleteItem.js +42 -0
  531. package/dist/esm/react-query/clientCollectionsDeleteItem.js.map +1 -0
  532. package/dist/esm/react-query/clientCollectionsUpdateItem.d.ts +23 -0
  533. package/dist/esm/react-query/clientCollectionsUpdateItem.d.ts.map +1 -0
  534. package/dist/esm/react-query/clientCollectionsUpdateItem.js +42 -0
  535. package/dist/esm/react-query/clientCollectionsUpdateItem.js.map +1 -0
  536. package/dist/esm/react-query/clientDocumentsRetrievePermissions.d.ts +23 -0
  537. package/dist/esm/react-query/clientDocumentsRetrievePermissions.d.ts.map +1 -0
  538. package/dist/esm/react-query/clientDocumentsRetrievePermissions.js +42 -0
  539. package/dist/esm/react-query/clientDocumentsRetrievePermissions.js.map +1 -0
  540. package/dist/esm/react-query/clientDocumentsSummarize.d.ts +23 -0
  541. package/dist/esm/react-query/clientDocumentsSummarize.d.ts.map +1 -0
  542. package/dist/esm/react-query/clientDocumentsSummarize.js +42 -0
  543. package/dist/esm/react-query/clientDocumentsSummarize.js.map +1 -0
  544. package/dist/esm/react-query/clientSearchQueryAsAdmin.d.ts +23 -0
  545. package/dist/esm/react-query/clientSearchQueryAsAdmin.d.ts.map +1 -0
  546. package/dist/esm/react-query/clientSearchQueryAsAdmin.js +42 -0
  547. package/dist/esm/react-query/clientSearchQueryAsAdmin.js.map +1 -0
  548. package/dist/esm/react-query/clientSearchRetrieveFeed.d.ts +23 -0
  549. package/dist/esm/react-query/clientSearchRetrieveFeed.d.ts.map +1 -0
  550. package/dist/esm/react-query/clientSearchRetrieveFeed.js +42 -0
  551. package/dist/esm/react-query/clientSearchRetrieveFeed.js.map +1 -0
  552. package/dist/esm/react-query/clientShortcutsCreate.d.ts +23 -0
  553. package/dist/esm/react-query/clientShortcutsCreate.d.ts.map +1 -0
  554. package/dist/esm/react-query/clientShortcutsCreate.js +42 -0
  555. package/dist/esm/react-query/clientShortcutsCreate.js.map +1 -0
  556. package/dist/esm/react-query/clientVerificationVerify.d.ts +23 -0
  557. package/dist/esm/react-query/clientVerificationVerify.d.ts.map +1 -0
  558. package/dist/esm/react-query/clientVerificationVerify.js +42 -0
  559. package/dist/esm/react-query/clientVerificationVerify.js.map +1 -0
  560. package/dist/esm/react-query/index.d.ts +24 -25
  561. package/dist/esm/react-query/index.d.ts.map +1 -1
  562. package/dist/esm/react-query/index.js +24 -25
  563. package/dist/esm/react-query/index.js.map +1 -1
  564. package/dist/esm/react-query/indexingDatasourceStatus.d.ts +25 -0
  565. package/dist/esm/react-query/indexingDatasourceStatus.d.ts.map +1 -0
  566. package/dist/esm/react-query/indexingDatasourceStatus.js +44 -0
  567. package/dist/esm/react-query/indexingDatasourceStatus.js.map +1 -0
  568. package/dist/esm/react-query/indexingDatasourcesRetrieveConfig.d.ts +23 -0
  569. package/dist/esm/react-query/indexingDatasourcesRetrieveConfig.d.ts.map +1 -0
  570. package/dist/esm/react-query/indexingDatasourcesRetrieveConfig.js +42 -0
  571. package/dist/esm/react-query/indexingDatasourcesRetrieveConfig.js.map +1 -0
  572. package/dist/esm/react-query/indexingDocumentsCheckAccess.d.ts +25 -0
  573. package/dist/esm/react-query/indexingDocumentsCheckAccess.d.ts.map +1 -0
  574. package/dist/esm/react-query/indexingDocumentsCheckAccess.js +44 -0
  575. package/dist/esm/react-query/indexingDocumentsCheckAccess.js.map +1 -0
  576. package/dist/esm/react-query/indexingDocumentsCount.d.ts +27 -0
  577. package/dist/esm/react-query/indexingDocumentsCount.d.ts.map +1 -0
  578. package/dist/esm/react-query/indexingDocumentsCount.js +46 -0
  579. package/dist/esm/react-query/indexingDocumentsCount.js.map +1 -0
  580. package/dist/esm/react-query/indexingDocumentsDebug.d.ts +26 -0
  581. package/dist/esm/react-query/indexingDocumentsDebug.d.ts.map +1 -0
  582. package/dist/esm/react-query/indexingDocumentsDebug.js +44 -0
  583. package/dist/esm/react-query/indexingDocumentsDebug.js.map +1 -0
  584. package/dist/esm/react-query/indexingDocumentsDebugMany.d.ts +26 -0
  585. package/dist/esm/react-query/indexingDocumentsDebugMany.d.ts.map +1 -0
  586. package/dist/esm/react-query/indexingDocumentsDebugMany.js +44 -0
  587. package/dist/esm/react-query/indexingDocumentsDebugMany.js.map +1 -0
  588. package/dist/esm/react-query/indexingDocumentsStatus.d.ts +27 -0
  589. package/dist/esm/react-query/indexingDocumentsStatus.d.ts.map +1 -0
  590. package/dist/esm/react-query/indexingDocumentsStatus.js +46 -0
  591. package/dist/esm/react-query/indexingDocumentsStatus.js.map +1 -0
  592. package/dist/esm/react-query/indexingPeopleBulkIndex.d.ts +2 -4
  593. package/dist/esm/react-query/indexingPeopleBulkIndex.d.ts.map +1 -1
  594. package/dist/esm/react-query/indexingPeopleBulkIndex.js +1 -3
  595. package/dist/esm/react-query/indexingPeopleBulkIndex.js.map +1 -1
  596. package/dist/esm/react-query/indexingPeopleCount.d.ts +27 -0
  597. package/dist/esm/react-query/indexingPeopleCount.d.ts.map +1 -0
  598. package/dist/esm/react-query/indexingPeopleCount.js +46 -0
  599. package/dist/esm/react-query/indexingPeopleCount.js.map +1 -0
  600. package/dist/esm/react-query/indexingPeopleDebug.d.ts +26 -0
  601. package/dist/esm/react-query/indexingPeopleDebug.d.ts.map +1 -0
  602. package/dist/esm/react-query/indexingPeopleDebug.js +44 -0
  603. package/dist/esm/react-query/indexingPeopleDebug.js.map +1 -0
  604. package/dist/esm/react-query/indexingShortcutsUpload.d.ts +23 -0
  605. package/dist/esm/react-query/indexingShortcutsUpload.d.ts.map +1 -0
  606. package/dist/esm/react-query/indexingShortcutsUpload.js +42 -0
  607. package/dist/esm/react-query/indexingShortcutsUpload.js.map +1 -0
  608. package/dist/esm/sdk/agents.d.ts +14 -3
  609. package/dist/esm/sdk/agents.d.ts.map +1 -1
  610. package/dist/esm/sdk/agents.js +19 -3
  611. package/dist/esm/sdk/agents.js.map +1 -1
  612. package/dist/esm/sdk/chat.d.ts +28 -6
  613. package/dist/esm/sdk/chat.d.ts.map +1 -1
  614. package/dist/esm/sdk/chat.js +40 -8
  615. package/dist/esm/sdk/chat.js.map +1 -1
  616. package/dist/esm/sdk/client.d.ts +2 -5
  617. package/dist/esm/sdk/client.d.ts.map +1 -1
  618. package/dist/esm/sdk/client.js +2 -6
  619. package/dist/esm/sdk/client.js.map +1 -1
  620. package/dist/esm/sdk/clientdocuments.d.ts +14 -3
  621. package/dist/esm/sdk/clientdocuments.d.ts.map +1 -1
  622. package/dist/esm/sdk/clientdocuments.js +19 -3
  623. package/dist/esm/sdk/clientdocuments.js.map +1 -1
  624. package/dist/esm/sdk/clientsearch.d.ts +14 -6
  625. package/dist/esm/sdk/clientsearch.d.ts.map +1 -1
  626. package/dist/esm/sdk/clientsearch.js +18 -6
  627. package/dist/esm/sdk/clientsearch.js.map +1 -1
  628. package/dist/esm/sdk/clientshortcuts.d.ts +7 -7
  629. package/dist/esm/sdk/clientshortcuts.d.ts.map +1 -1
  630. package/dist/esm/sdk/clientshortcuts.js +10 -10
  631. package/dist/esm/sdk/clientshortcuts.js.map +1 -1
  632. package/dist/esm/sdk/collections.d.ts +14 -3
  633. package/dist/esm/sdk/collections.d.ts.map +1 -1
  634. package/dist/esm/sdk/collections.js +20 -4
  635. package/dist/esm/sdk/collections.js.map +1 -1
  636. package/dist/esm/sdk/datasource.d.ts +0 -9
  637. package/dist/esm/sdk/datasource.d.ts.map +1 -1
  638. package/dist/esm/sdk/datasource.js +2 -14
  639. package/dist/esm/sdk/datasource.js.map +1 -1
  640. package/dist/esm/sdk/datasources.d.ts +7 -3
  641. package/dist/esm/sdk/datasources.d.ts.map +1 -1
  642. package/dist/esm/sdk/datasources.js +10 -4
  643. package/dist/esm/sdk/datasources.js.map +1 -1
  644. package/dist/esm/sdk/indexing.d.ts +8 -8
  645. package/dist/esm/sdk/indexing.d.ts.map +1 -1
  646. package/dist/esm/sdk/indexing.js +9 -9
  647. package/dist/esm/sdk/indexing.js.map +1 -1
  648. package/dist/esm/sdk/indexingdocuments.d.ts +49 -0
  649. package/dist/esm/sdk/indexingdocuments.d.ts.map +1 -1
  650. package/dist/esm/sdk/indexingdocuments.js +64 -0
  651. package/dist/esm/sdk/indexingdocuments.js.map +1 -1
  652. package/dist/esm/sdk/indexingshortcuts.d.ts +7 -0
  653. package/dist/esm/sdk/indexingshortcuts.d.ts.map +1 -1
  654. package/dist/esm/sdk/indexingshortcuts.js +10 -0
  655. package/dist/esm/sdk/indexingshortcuts.js.map +1 -1
  656. package/dist/esm/sdk/people.d.ts +63 -1
  657. package/dist/esm/sdk/people.d.ts.map +1 -1
  658. package/dist/esm/sdk/people.js +89 -3
  659. package/dist/esm/sdk/people.js.map +1 -1
  660. package/dist/esm/sdk/permissions.d.ts +89 -0
  661. package/dist/esm/sdk/permissions.d.ts.map +1 -0
  662. package/dist/esm/sdk/permissions.js +128 -0
  663. package/dist/esm/sdk/permissions.js.map +1 -0
  664. package/dist/esm/sdk/sdk.d.ts +0 -9
  665. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  666. package/dist/esm/sdk/sdk.js +0 -12
  667. package/dist/esm/sdk/sdk.js.map +1 -1
  668. package/dist/esm/sdk/verification.d.ts +14 -0
  669. package/dist/esm/sdk/verification.d.ts.map +1 -1
  670. package/dist/esm/sdk/verification.js +22 -2
  671. package/dist/esm/sdk/verification.js.map +1 -1
  672. package/docs/sdks/agents/README.md +182 -0
  673. package/docs/sdks/announcements/README.md +2 -2
  674. package/docs/sdks/answers/README.md +30 -6
  675. package/docs/sdks/chat/README.md +382 -0
  676. package/docs/sdks/clientdocuments/README.md +188 -0
  677. package/docs/sdks/clientsearch/README.md +1052 -83
  678. package/docs/sdks/clientshortcuts/README.md +248 -120
  679. package/docs/sdks/collections/README.md +210 -12
  680. package/docs/sdks/datasource/README.md +6 -6
  681. package/docs/sdks/datasources/README.md +94 -0
  682. package/docs/sdks/indexingdocuments/README.md +523 -0
  683. package/docs/sdks/indexingshortcuts/README.md +106 -0
  684. package/docs/sdks/insights/README.md +2 -4
  685. package/docs/sdks/messages/README.md +2 -4
  686. package/docs/sdks/people/README.md +838 -10
  687. package/docs/sdks/permissions/README.md +1208 -0
  688. package/docs/sdks/verification/README.md +190 -6
  689. package/jsr.json +1 -1
  690. package/package.json +1 -1
  691. package/src/__tests__/activity.test.ts +17 -0
  692. package/src/__tests__/adminsearch.test.ts +231 -0
  693. package/src/__tests__/agents.test.ts +2 -2
  694. package/src/__tests__/announcements.test.ts +1 -1
  695. package/src/__tests__/answers.test.ts +15 -3
  696. package/src/__tests__/chat.test.ts +1914 -267
  697. package/src/__tests__/clientdocuments.test.ts +18 -1
  698. package/src/__tests__/clientsearch.test.ts +394 -0
  699. package/src/__tests__/clientshortcuts.test.ts +17 -8
  700. package/src/__tests__/collections.test.ts +12 -9
  701. package/src/__tests__/datasource.test.ts +11 -0
  702. package/src/__tests__/datasources.test.ts +1 -1
  703. package/src/__tests__/indexingdocuments.test.ts +57 -1
  704. package/src/__tests__/indexingpeople.test.ts +38 -0
  705. package/src/__tests__/insights.test.ts +1 -2
  706. package/src/__tests__/messages.test.ts +1 -2
  707. package/src/__tests__/search.test.ts +0 -249
  708. package/src/__tests__/verification.test.ts +1 -1
  709. package/src/funcs/clientAgentsRetrieveInputs.ts +170 -0
  710. package/src/funcs/clientAgentsRun.ts +168 -0
  711. package/src/funcs/clientChatDeleteFiles.ts +171 -0
  712. package/src/funcs/clientChatRetrieveApplication.ts +170 -0
  713. package/src/funcs/clientChatRetrieveFiles.ts +170 -0
  714. package/src/funcs/clientChatUploadFiles.ts +169 -0
  715. package/src/funcs/clientCollectionsDeleteItem.ts +155 -0
  716. package/src/funcs/clientCollectionsUpdateItem.ts +154 -0
  717. package/src/funcs/clientDocumentsRetrievePermissions.ts +154 -0
  718. package/src/funcs/clientDocumentsSummarize.ts +154 -0
  719. package/src/funcs/clientSearchQueryAsAdmin.ts +165 -0
  720. package/src/funcs/clientSearchRetrieveFeed.ts +154 -0
  721. package/src/funcs/clientShortcutsCreate.ts +154 -0
  722. package/src/funcs/clientVerificationVerify.ts +154 -0
  723. package/src/funcs/indexingDatasourceStatus.ts +173 -0
  724. package/src/funcs/indexingDatasourcesRetrieveConfig.ts +155 -0
  725. package/src/funcs/indexingDocumentsCheckAccess.ts +157 -0
  726. package/src/funcs/indexingDocumentsCount.ts +158 -0
  727. package/src/funcs/indexingDocumentsDebug.ts +180 -0
  728. package/src/funcs/indexingDocumentsDebugMany.ts +180 -0
  729. package/src/funcs/indexingDocumentsStatus.ts +158 -0
  730. package/src/funcs/indexingPeopleBulkIndex.ts +6 -8
  731. package/src/funcs/indexingPeopleCount.ts +158 -0
  732. package/src/funcs/indexingPeopleDebug.ts +177 -0
  733. package/src/funcs/{peoplePostApiIndexV1Bulkindexemployees.ts → indexingShortcutsUpload.ts} +8 -8
  734. package/src/lib/config.ts +2 -2
  735. package/src/models/components/collectionitem.ts +2 -2
  736. package/src/models/components/documentmetadata.ts +2 -2
  737. package/src/models/components/index.ts +1 -1
  738. package/src/models/components/indexingshortcut.ts +125 -0
  739. package/src/models/components/shortcut.ts +139 -30
  740. package/src/models/components/structuredresult.ts +2 -2
  741. package/src/models/components/uploadshortcutsrequest.ts +9 -9
  742. package/src/react-query/clientAgentsRetrieveInputs.ts +92 -0
  743. package/src/react-query/clientAgentsRun.ts +91 -0
  744. package/src/react-query/clientChatDeleteFiles.ts +91 -0
  745. package/src/react-query/clientChatRetrieveApplication.ts +92 -0
  746. package/src/react-query/clientChatRetrieveFiles.ts +92 -0
  747. package/src/react-query/clientChatUploadFiles.ts +92 -0
  748. package/src/react-query/clientCollectionsDeleteItem.ts +89 -0
  749. package/src/react-query/clientCollectionsUpdateItem.ts +89 -0
  750. package/src/react-query/clientDocumentsRetrievePermissions.ts +89 -0
  751. package/src/react-query/clientDocumentsSummarize.ts +88 -0
  752. package/src/react-query/clientSearchQueryAsAdmin.ts +88 -0
  753. package/src/react-query/clientSearchRetrieveFeed.ts +88 -0
  754. package/src/react-query/clientShortcutsCreate.ts +89 -0
  755. package/src/react-query/clientVerificationVerify.ts +88 -0
  756. package/src/react-query/index.ts +24 -25
  757. package/src/react-query/indexingDatasourceStatus.ts +91 -0
  758. package/src/react-query/indexingDatasourcesRetrieveConfig.ts +89 -0
  759. package/src/react-query/indexingDocumentsCheckAccess.ts +91 -0
  760. package/src/react-query/indexingDocumentsCount.ts +93 -0
  761. package/src/react-query/indexingDocumentsDebug.ts +94 -0
  762. package/src/react-query/indexingDocumentsDebugMany.ts +94 -0
  763. package/src/react-query/indexingDocumentsStatus.ts +93 -0
  764. package/src/react-query/indexingPeopleBulkIndex.ts +2 -4
  765. package/src/react-query/indexingPeopleCount.ts +92 -0
  766. package/src/react-query/indexingPeopleDebug.ts +93 -0
  767. package/src/react-query/indexingShortcutsUpload.ts +88 -0
  768. package/src/sdk/agents.ts +38 -4
  769. package/src/sdk/chat.ts +80 -12
  770. package/src/sdk/client.ts +4 -10
  771. package/src/sdk/clientdocuments.ts +34 -4
  772. package/src/sdk/clientsearch.ts +32 -8
  773. package/src/sdk/clientshortcuts.ts +18 -18
  774. package/src/sdk/collections.ts +36 -6
  775. package/src/sdk/datasource.ts +2 -20
  776. package/src/sdk/datasources.ts +18 -6
  777. package/src/sdk/indexing.ts +14 -14
  778. package/src/sdk/indexingdocuments.ts +108 -0
  779. package/src/sdk/indexingshortcuts.ts +18 -0
  780. package/src/sdk/people.ts +153 -3
  781. package/src/sdk/permissions.ts +225 -0
  782. package/src/sdk/sdk.ts +0 -18
  783. package/src/sdk/verification.ts +38 -2
  784. package/dist/commonjs/__tests__/activities.test.d.ts +0 -2
  785. package/dist/commonjs/__tests__/activities.test.d.ts.map +0 -1
  786. package/dist/commonjs/__tests__/activities.test.js +0 -23
  787. package/dist/commonjs/__tests__/activities.test.js.map +0 -1
  788. package/dist/commonjs/__tests__/people.test.d.ts +0 -2
  789. package/dist/commonjs/__tests__/people.test.d.ts.map +0 -1
  790. package/dist/commonjs/__tests__/people.test.js +0 -18
  791. package/dist/commonjs/__tests__/people.test.js.map +0 -1
  792. package/dist/commonjs/__tests__/summarize.test.d.ts +0 -2
  793. package/dist/commonjs/__tests__/summarize.test.d.ts.map +0 -1
  794. package/dist/commonjs/__tests__/summarize.test.js +0 -24
  795. package/dist/commonjs/__tests__/summarize.test.js.map +0 -1
  796. package/dist/commonjs/__tests__/troubleshooting.test.d.ts +0 -2
  797. package/dist/commonjs/__tests__/troubleshooting.test.d.ts.map +0 -1
  798. package/dist/commonjs/__tests__/troubleshooting.test.js +0 -65
  799. package/dist/commonjs/__tests__/troubleshooting.test.js.map +0 -1
  800. package/dist/commonjs/funcs/peoplePostApiIndexV1Bulkindexemployees.d.ts.map +0 -1
  801. package/dist/commonjs/funcs/peoplePostApiIndexV1Bulkindexemployees.js.map +0 -1
  802. package/dist/commonjs/models/components/indexemployeelistrequest.d.ts +0 -36
  803. package/dist/commonjs/models/components/indexemployeelistrequest.d.ts.map +0 -1
  804. package/dist/commonjs/models/components/indexemployeelistrequest.js.map +0 -1
  805. package/dist/commonjs/react-query/peoplePostApiIndexV1Bulkindexemployees.d.ts +0 -23
  806. package/dist/commonjs/react-query/peoplePostApiIndexV1Bulkindexemployees.d.ts.map +0 -1
  807. package/dist/commonjs/react-query/peoplePostApiIndexV1Bulkindexemployees.js +0 -51
  808. package/dist/commonjs/react-query/peoplePostApiIndexV1Bulkindexemployees.js.map +0 -1
  809. package/dist/commonjs/sdk/admin.d.ts +0 -12
  810. package/dist/commonjs/sdk/admin.d.ts.map +0 -1
  811. package/dist/commonjs/sdk/admin.js +0 -22
  812. package/dist/commonjs/sdk/admin.js.map +0 -1
  813. package/dist/commonjs/sdk/indexingpeople.d.ts +0 -56
  814. package/dist/commonjs/sdk/indexingpeople.d.ts.map +0 -1
  815. package/dist/commonjs/sdk/indexingpeople.js +0 -84
  816. package/dist/commonjs/sdk/indexingpeople.js.map +0 -1
  817. package/dist/esm/__tests__/activities.test.d.ts +0 -2
  818. package/dist/esm/__tests__/activities.test.d.ts.map +0 -1
  819. package/dist/esm/__tests__/activities.test.js +0 -21
  820. package/dist/esm/__tests__/activities.test.js.map +0 -1
  821. package/dist/esm/__tests__/people.test.d.ts +0 -2
  822. package/dist/esm/__tests__/people.test.d.ts.map +0 -1
  823. package/dist/esm/__tests__/people.test.js +0 -16
  824. package/dist/esm/__tests__/people.test.js.map +0 -1
  825. package/dist/esm/__tests__/summarize.test.d.ts +0 -2
  826. package/dist/esm/__tests__/summarize.test.d.ts.map +0 -1
  827. package/dist/esm/__tests__/summarize.test.js +0 -22
  828. package/dist/esm/__tests__/summarize.test.js.map +0 -1
  829. package/dist/esm/__tests__/troubleshooting.test.d.ts +0 -2
  830. package/dist/esm/__tests__/troubleshooting.test.d.ts.map +0 -1
  831. package/dist/esm/__tests__/troubleshooting.test.js +0 -63
  832. package/dist/esm/__tests__/troubleshooting.test.js.map +0 -1
  833. package/dist/esm/funcs/peoplePostApiIndexV1Bulkindexemployees.d.ts.map +0 -1
  834. package/dist/esm/funcs/peoplePostApiIndexV1Bulkindexemployees.js.map +0 -1
  835. package/dist/esm/models/components/indexemployeelistrequest.d.ts +0 -36
  836. package/dist/esm/models/components/indexemployeelistrequest.d.ts.map +0 -1
  837. package/dist/esm/models/components/indexemployeelistrequest.js +0 -32
  838. package/dist/esm/models/components/indexemployeelistrequest.js.map +0 -1
  839. package/dist/esm/react-query/peoplePostApiIndexV1Bulkindexemployees.d.ts +0 -23
  840. package/dist/esm/react-query/peoplePostApiIndexV1Bulkindexemployees.d.ts.map +0 -1
  841. package/dist/esm/react-query/peoplePostApiIndexV1Bulkindexemployees.js +0 -46
  842. package/dist/esm/react-query/peoplePostApiIndexV1Bulkindexemployees.js.map +0 -1
  843. package/dist/esm/sdk/admin.d.ts +0 -12
  844. package/dist/esm/sdk/admin.d.ts.map +0 -1
  845. package/dist/esm/sdk/admin.js +0 -18
  846. package/dist/esm/sdk/admin.js.map +0 -1
  847. package/dist/esm/sdk/indexingpeople.d.ts +0 -56
  848. package/dist/esm/sdk/indexingpeople.d.ts.map +0 -1
  849. package/dist/esm/sdk/indexingpeople.js +0 -80
  850. package/dist/esm/sdk/indexingpeople.js.map +0 -1
  851. package/docs/sdks/admin/README.md +0 -160
  852. package/docs/sdks/indexingpeople/README.md +0 -807
  853. package/src/__tests__/activities.test.ts +0 -24
  854. package/src/__tests__/people.test.ts +0 -21
  855. package/src/__tests__/summarize.test.ts +0 -25
  856. package/src/__tests__/troubleshooting.test.ts +0 -86
  857. package/src/models/components/indexemployeelistrequest.ts +0 -78
  858. package/src/react-query/peoplePostApiIndexV1Bulkindexemployees.ts +0 -92
  859. package/src/sdk/admin.ts +0 -27
  860. package/src/sdk/indexingpeople.ts +0 -135
@@ -1,807 +0,0 @@
1
- # IndexingPeople
2
- (*indexing.people*)
3
-
4
- ## Overview
5
-
6
- ### Available Operations
7
-
8
- * [index](#index) - Index employee
9
- * [~~bulkIndex~~](#bulkindex) - Bulk index employees :warning: **Deprecated**
10
- * [processAllEmployeesAndTeams](#processallemployeesandteams) - Schedules the processing of uploaded employees and teams
11
- * [delete](#delete) - Delete employee
12
- * [indexTeam](#indexteam) - Index team
13
- * [deleteTeam](#deleteteam) - Delete team
14
- * [bulkIndexTeams](#bulkindexteams) - Bulk index teams
15
-
16
- ## index
17
-
18
- Adds an employee or updates information about an employee
19
-
20
- ### Example Usage
21
-
22
- ```typescript
23
- import { Glean } from "@gleanwork/api-client";
24
-
25
- const glean = new Glean({
26
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
27
- });
28
-
29
- async function run() {
30
- await glean.indexing.people.index({
31
- employee: {
32
- email: "Santos.Turcotte@yahoo.com",
33
- department: "<value>",
34
- datasourceProfiles: [
35
- {
36
- datasource: "github",
37
- handle: "<value>",
38
- },
39
- {
40
- datasource: "github",
41
- handle: "<value>",
42
- },
43
- ],
44
- },
45
- });
46
-
47
-
48
- }
49
-
50
- run();
51
- ```
52
-
53
- ### Standalone function
54
-
55
- The standalone function version of this method:
56
-
57
- ```typescript
58
- import { GleanCore } from "@gleanwork/api-client/core.js";
59
- import { indexingPeopleIndex } from "@gleanwork/api-client/funcs/indexingPeopleIndex.js";
60
-
61
- // Use `GleanCore` for best tree-shaking performance.
62
- // You can create one instance of it to use across an application.
63
- const glean = new GleanCore({
64
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
65
- });
66
-
67
- async function run() {
68
- const res = await indexingPeopleIndex(glean, {
69
- employee: {
70
- email: "Santos.Turcotte@yahoo.com",
71
- department: "<value>",
72
- datasourceProfiles: [
73
- {
74
- datasource: "github",
75
- handle: "<value>",
76
- },
77
- {
78
- datasource: "github",
79
- handle: "<value>",
80
- },
81
- ],
82
- },
83
- });
84
-
85
- if (!res.ok) {
86
- throw res.error;
87
- }
88
-
89
- const { value: result } = res;
90
-
91
-
92
- }
93
-
94
- run();
95
- ```
96
-
97
- ### React hooks and utilities
98
-
99
- This method can be used in React components through the following hooks and
100
- associated utilities.
101
-
102
- > Check out [this guide][hook-guide] for information about each of the utilities
103
- > below and how to get started using React hooks.
104
-
105
- [hook-guide]: ../../../REACT_QUERY.md
106
-
107
- ```tsx
108
- import {
109
- // Mutation hook for triggering the API call.
110
- useIndexingPeopleIndexMutation
111
- } from "@gleanwork/api-client/react-query/indexingPeopleIndex.js";
112
- ```
113
-
114
- ### Parameters
115
-
116
- | Parameter | Type | Required | Description |
117
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
118
- | `request` | [components.IndexEmployeeRequest](../../models/components/indexemployeerequest.md) | :heavy_check_mark: | The request object to use for the request. |
119
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
120
- | `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. |
121
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
122
-
123
- ### Response
124
-
125
- **Promise\<void\>**
126
-
127
- ### Errors
128
-
129
- | Error Type | Status Code | Content Type |
130
- | ----------------- | ----------------- | ----------------- |
131
- | errors.GleanError | 4XX, 5XX | \*/\* |
132
-
133
- ## ~~bulkIndex~~
134
-
135
- Bulk upload details of all the employees. This deletes all employees uploaded in the prior batch. SOON TO BE DEPRECATED in favor of /bulkindexemployees.
136
-
137
- > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.
138
-
139
- ### Example Usage
140
-
141
- ```typescript
142
- import { Glean } from "@gleanwork/api-client";
143
-
144
- const glean = new Glean({
145
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
146
- });
147
-
148
- async function run() {
149
- await glean.indexing.people.bulkIndex({
150
- employees: [
151
- {
152
- employee: {
153
- email: "Kiera_Bashirian18@yahoo.com",
154
- department: "<value>",
155
- datasourceProfiles: [
156
- {
157
- datasource: "github",
158
- handle: "<value>",
159
- },
160
- {
161
- datasource: "github",
162
- handle: "<value>",
163
- },
164
- ],
165
- },
166
- },
167
- {
168
- employee: {
169
- email: "Madie_Hayes48@gmail.com",
170
- department: "<value>",
171
- datasourceProfiles: [
172
- {
173
- datasource: "github",
174
- handle: "<value>",
175
- },
176
- {
177
- datasource: "github",
178
- handle: "<value>",
179
- },
180
- {
181
- datasource: "github",
182
- handle: "<value>",
183
- },
184
- ],
185
- },
186
- },
187
- ],
188
- });
189
-
190
-
191
- }
192
-
193
- run();
194
- ```
195
-
196
- ### Standalone function
197
-
198
- The standalone function version of this method:
199
-
200
- ```typescript
201
- import { GleanCore } from "@gleanwork/api-client/core.js";
202
- import { indexingPeopleBulkIndex } from "@gleanwork/api-client/funcs/indexingPeopleBulkIndex.js";
203
-
204
- // Use `GleanCore` for best tree-shaking performance.
205
- // You can create one instance of it to use across an application.
206
- const glean = new GleanCore({
207
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
208
- });
209
-
210
- async function run() {
211
- const res = await indexingPeopleBulkIndex(glean, {
212
- employees: [
213
- {
214
- employee: {
215
- email: "Kiera_Bashirian18@yahoo.com",
216
- department: "<value>",
217
- datasourceProfiles: [
218
- {
219
- datasource: "github",
220
- handle: "<value>",
221
- },
222
- {
223
- datasource: "github",
224
- handle: "<value>",
225
- },
226
- ],
227
- },
228
- },
229
- {
230
- employee: {
231
- email: "Madie_Hayes48@gmail.com",
232
- department: "<value>",
233
- datasourceProfiles: [
234
- {
235
- datasource: "github",
236
- handle: "<value>",
237
- },
238
- {
239
- datasource: "github",
240
- handle: "<value>",
241
- },
242
- {
243
- datasource: "github",
244
- handle: "<value>",
245
- },
246
- ],
247
- },
248
- },
249
- ],
250
- });
251
-
252
- if (!res.ok) {
253
- throw res.error;
254
- }
255
-
256
- const { value: result } = res;
257
-
258
-
259
- }
260
-
261
- run();
262
- ```
263
-
264
- ### React hooks and utilities
265
-
266
- This method can be used in React components through the following hooks and
267
- associated utilities.
268
-
269
- > Check out [this guide][hook-guide] for information about each of the utilities
270
- > below and how to get started using React hooks.
271
-
272
- [hook-guide]: ../../../REACT_QUERY.md
273
-
274
- ```tsx
275
- import {
276
- // Mutation hook for triggering the API call.
277
- useIndexingPeopleBulkIndexMutation
278
- } from "@gleanwork/api-client/react-query/indexingPeopleBulkIndex.js";
279
- ```
280
-
281
- ### Parameters
282
-
283
- | Parameter | Type | Required | Description |
284
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
285
- | `request` | [components.IndexEmployeeListRequest](../../models/components/indexemployeelistrequest.md) | :heavy_check_mark: | The request object to use for the request. |
286
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
287
- | `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. |
288
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
289
-
290
- ### Response
291
-
292
- **Promise\<void\>**
293
-
294
- ### Errors
295
-
296
- | Error Type | Status Code | Content Type |
297
- | ----------------- | ----------------- | ----------------- |
298
- | errors.GleanError | 4XX, 5XX | \*/\* |
299
-
300
- ## processAllEmployeesAndTeams
301
-
302
- Schedules the immediate processing of employees and teams uploaded through the indexing API. By default all uploaded people data will be processed asynchronously but this API can be used to schedule its processing on demand.
303
-
304
-
305
- ### Example Usage
306
-
307
- ```typescript
308
- import { Glean } from "@gleanwork/api-client";
309
-
310
- const glean = new Glean({
311
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
312
- });
313
-
314
- async function run() {
315
- await glean.indexing.people.processAllEmployeesAndTeams();
316
-
317
-
318
- }
319
-
320
- run();
321
- ```
322
-
323
- ### Standalone function
324
-
325
- The standalone function version of this method:
326
-
327
- ```typescript
328
- import { GleanCore } from "@gleanwork/api-client/core.js";
329
- import { indexingPeopleProcessAllEmployeesAndTeams } from "@gleanwork/api-client/funcs/indexingPeopleProcessAllEmployeesAndTeams.js";
330
-
331
- // Use `GleanCore` for best tree-shaking performance.
332
- // You can create one instance of it to use across an application.
333
- const glean = new GleanCore({
334
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
335
- });
336
-
337
- async function run() {
338
- const res = await indexingPeopleProcessAllEmployeesAndTeams(glean);
339
-
340
- if (!res.ok) {
341
- throw res.error;
342
- }
343
-
344
- const { value: result } = res;
345
-
346
-
347
- }
348
-
349
- run();
350
- ```
351
-
352
- ### React hooks and utilities
353
-
354
- This method can be used in React components through the following hooks and
355
- associated utilities.
356
-
357
- > Check out [this guide][hook-guide] for information about each of the utilities
358
- > below and how to get started using React hooks.
359
-
360
- [hook-guide]: ../../../REACT_QUERY.md
361
-
362
- ```tsx
363
- import {
364
- // Mutation hook for triggering the API call.
365
- useIndexingPeopleProcessAllEmployeesAndTeamsMutation
366
- } from "@gleanwork/api-client/react-query/indexingPeopleProcessAllEmployeesAndTeams.js";
367
- ```
368
-
369
- ### Parameters
370
-
371
- | Parameter | Type | Required | Description |
372
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
373
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
374
- | `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. |
375
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
376
-
377
- ### Response
378
-
379
- **Promise\<void\>**
380
-
381
- ### Errors
382
-
383
- | Error Type | Status Code | Content Type |
384
- | ----------------- | ----------------- | ----------------- |
385
- | errors.GleanError | 4XX, 5XX | \*/\* |
386
-
387
- ## delete
388
-
389
- Delete an employee. Silently succeeds if employee is not present.
390
-
391
- ### Example Usage
392
-
393
- ```typescript
394
- import { Glean } from "@gleanwork/api-client";
395
-
396
- const glean = new Glean({
397
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
398
- });
399
-
400
- async function run() {
401
- await glean.indexing.people.delete({
402
- employeeEmail: "<value>",
403
- });
404
-
405
-
406
- }
407
-
408
- run();
409
- ```
410
-
411
- ### Standalone function
412
-
413
- The standalone function version of this method:
414
-
415
- ```typescript
416
- import { GleanCore } from "@gleanwork/api-client/core.js";
417
- import { indexingPeopleDelete } from "@gleanwork/api-client/funcs/indexingPeopleDelete.js";
418
-
419
- // Use `GleanCore` for best tree-shaking performance.
420
- // You can create one instance of it to use across an application.
421
- const glean = new GleanCore({
422
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
423
- });
424
-
425
- async function run() {
426
- const res = await indexingPeopleDelete(glean, {
427
- employeeEmail: "<value>",
428
- });
429
-
430
- if (!res.ok) {
431
- throw res.error;
432
- }
433
-
434
- const { value: result } = res;
435
-
436
-
437
- }
438
-
439
- run();
440
- ```
441
-
442
- ### React hooks and utilities
443
-
444
- This method can be used in React components through the following hooks and
445
- associated utilities.
446
-
447
- > Check out [this guide][hook-guide] for information about each of the utilities
448
- > below and how to get started using React hooks.
449
-
450
- [hook-guide]: ../../../REACT_QUERY.md
451
-
452
- ```tsx
453
- import {
454
- // Mutation hook for triggering the API call.
455
- useIndexingPeopleDeleteMutation
456
- } from "@gleanwork/api-client/react-query/indexingPeopleDelete.js";
457
- ```
458
-
459
- ### Parameters
460
-
461
- | Parameter | Type | Required | Description |
462
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
463
- | `request` | [components.DeleteEmployeeRequest](../../models/components/deleteemployeerequest.md) | :heavy_check_mark: | The request object to use for the request. |
464
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
465
- | `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. |
466
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
467
-
468
- ### Response
469
-
470
- **Promise\<void\>**
471
-
472
- ### Errors
473
-
474
- | Error Type | Status Code | Content Type |
475
- | ----------------- | ----------------- | ----------------- |
476
- | errors.GleanError | 4XX, 5XX | \*/\* |
477
-
478
- ## indexTeam
479
-
480
- Adds a team or updates information about a team
481
-
482
- ### Example Usage
483
-
484
- ```typescript
485
- import { Glean } from "@gleanwork/api-client";
486
-
487
- const glean = new Glean({
488
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
489
- });
490
-
491
- async function run() {
492
- await glean.indexing.people.indexTeam({
493
- team: {
494
- id: "<id>",
495
- name: "<value>",
496
- datasourceProfiles: [
497
- {
498
- datasource: "github",
499
- handle: "<value>",
500
- },
501
- {
502
- datasource: "github",
503
- handle: "<value>",
504
- },
505
- {
506
- datasource: "github",
507
- handle: "<value>",
508
- },
509
- ],
510
- members: [
511
- {
512
- email: "Rachelle20@yahoo.com",
513
- },
514
- {
515
- email: "Rebeka.Gerhold@hotmail.com",
516
- },
517
- {
518
- email: "Jace86@yahoo.com",
519
- },
520
- ],
521
- },
522
- });
523
-
524
-
525
- }
526
-
527
- run();
528
- ```
529
-
530
- ### Standalone function
531
-
532
- The standalone function version of this method:
533
-
534
- ```typescript
535
- import { GleanCore } from "@gleanwork/api-client/core.js";
536
- import { indexingPeopleIndexTeam } from "@gleanwork/api-client/funcs/indexingPeopleIndexTeam.js";
537
-
538
- // Use `GleanCore` for best tree-shaking performance.
539
- // You can create one instance of it to use across an application.
540
- const glean = new GleanCore({
541
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
542
- });
543
-
544
- async function run() {
545
- const res = await indexingPeopleIndexTeam(glean, {
546
- team: {
547
- id: "<id>",
548
- name: "<value>",
549
- datasourceProfiles: [
550
- {
551
- datasource: "github",
552
- handle: "<value>",
553
- },
554
- {
555
- datasource: "github",
556
- handle: "<value>",
557
- },
558
- {
559
- datasource: "github",
560
- handle: "<value>",
561
- },
562
- ],
563
- members: [
564
- {
565
- email: "Rachelle20@yahoo.com",
566
- },
567
- {
568
- email: "Rebeka.Gerhold@hotmail.com",
569
- },
570
- {
571
- email: "Jace86@yahoo.com",
572
- },
573
- ],
574
- },
575
- });
576
-
577
- if (!res.ok) {
578
- throw res.error;
579
- }
580
-
581
- const { value: result } = res;
582
-
583
-
584
- }
585
-
586
- run();
587
- ```
588
-
589
- ### React hooks and utilities
590
-
591
- This method can be used in React components through the following hooks and
592
- associated utilities.
593
-
594
- > Check out [this guide][hook-guide] for information about each of the utilities
595
- > below and how to get started using React hooks.
596
-
597
- [hook-guide]: ../../../REACT_QUERY.md
598
-
599
- ```tsx
600
- import {
601
- // Mutation hook for triggering the API call.
602
- useIndexingPeopleIndexTeamMutation
603
- } from "@gleanwork/api-client/react-query/indexingPeopleIndexTeam.js";
604
- ```
605
-
606
- ### Parameters
607
-
608
- | Parameter | Type | Required | Description |
609
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
610
- | `request` | [components.IndexTeamRequest](../../models/components/indexteamrequest.md) | :heavy_check_mark: | The request object to use for the request. |
611
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
612
- | `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. |
613
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
614
-
615
- ### Response
616
-
617
- **Promise\<void\>**
618
-
619
- ### Errors
620
-
621
- | Error Type | Status Code | Content Type |
622
- | ----------------- | ----------------- | ----------------- |
623
- | errors.GleanError | 4XX, 5XX | \*/\* |
624
-
625
- ## deleteTeam
626
-
627
- Delete a team based on provided id.
628
-
629
- ### Example Usage
630
-
631
- ```typescript
632
- import { Glean } from "@gleanwork/api-client";
633
-
634
- const glean = new Glean({
635
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
636
- });
637
-
638
- async function run() {
639
- await glean.indexing.people.deleteTeam({
640
- id: "<id>",
641
- });
642
-
643
-
644
- }
645
-
646
- run();
647
- ```
648
-
649
- ### Standalone function
650
-
651
- The standalone function version of this method:
652
-
653
- ```typescript
654
- import { GleanCore } from "@gleanwork/api-client/core.js";
655
- import { indexingPeopleDeleteTeam } from "@gleanwork/api-client/funcs/indexingPeopleDeleteTeam.js";
656
-
657
- // Use `GleanCore` for best tree-shaking performance.
658
- // You can create one instance of it to use across an application.
659
- const glean = new GleanCore({
660
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
661
- });
662
-
663
- async function run() {
664
- const res = await indexingPeopleDeleteTeam(glean, {
665
- id: "<id>",
666
- });
667
-
668
- if (!res.ok) {
669
- throw res.error;
670
- }
671
-
672
- const { value: result } = res;
673
-
674
-
675
- }
676
-
677
- run();
678
- ```
679
-
680
- ### React hooks and utilities
681
-
682
- This method can be used in React components through the following hooks and
683
- associated utilities.
684
-
685
- > Check out [this guide][hook-guide] for information about each of the utilities
686
- > below and how to get started using React hooks.
687
-
688
- [hook-guide]: ../../../REACT_QUERY.md
689
-
690
- ```tsx
691
- import {
692
- // Mutation hook for triggering the API call.
693
- useIndexingPeopleDeleteTeamMutation
694
- } from "@gleanwork/api-client/react-query/indexingPeopleDeleteTeam.js";
695
- ```
696
-
697
- ### Parameters
698
-
699
- | Parameter | Type | Required | Description |
700
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
701
- | `request` | [components.DeleteTeamRequest](../../models/components/deleteteamrequest.md) | :heavy_check_mark: | The request object to use for the request. |
702
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
703
- | `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. |
704
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
705
-
706
- ### Response
707
-
708
- **Promise\<void\>**
709
-
710
- ### Errors
711
-
712
- | Error Type | Status Code | Content Type |
713
- | ----------------- | ----------------- | ----------------- |
714
- | errors.GleanError | 4XX, 5XX | \*/\* |
715
-
716
- ## bulkIndexTeams
717
-
718
- Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
719
-
720
- ### Example Usage
721
-
722
- ```typescript
723
- import { Glean } from "@gleanwork/api-client";
724
-
725
- const glean = new Glean({
726
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
727
- });
728
-
729
- async function run() {
730
- await glean.indexing.people.bulkIndexTeams({
731
- uploadId: "<id>",
732
- teams: [],
733
- });
734
-
735
-
736
- }
737
-
738
- run();
739
- ```
740
-
741
- ### Standalone function
742
-
743
- The standalone function version of this method:
744
-
745
- ```typescript
746
- import { GleanCore } from "@gleanwork/api-client/core.js";
747
- import { indexingPeopleBulkIndexTeams } from "@gleanwork/api-client/funcs/indexingPeopleBulkIndexTeams.js";
748
-
749
- // Use `GleanCore` for best tree-shaking performance.
750
- // You can create one instance of it to use across an application.
751
- const glean = new GleanCore({
752
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
753
- });
754
-
755
- async function run() {
756
- const res = await indexingPeopleBulkIndexTeams(glean, {
757
- uploadId: "<id>",
758
- teams: [],
759
- });
760
-
761
- if (!res.ok) {
762
- throw res.error;
763
- }
764
-
765
- const { value: result } = res;
766
-
767
-
768
- }
769
-
770
- run();
771
- ```
772
-
773
- ### React hooks and utilities
774
-
775
- This method can be used in React components through the following hooks and
776
- associated utilities.
777
-
778
- > Check out [this guide][hook-guide] for information about each of the utilities
779
- > below and how to get started using React hooks.
780
-
781
- [hook-guide]: ../../../REACT_QUERY.md
782
-
783
- ```tsx
784
- import {
785
- // Mutation hook for triggering the API call.
786
- useIndexingPeopleBulkIndexTeamsMutation
787
- } from "@gleanwork/api-client/react-query/indexingPeopleBulkIndexTeams.js";
788
- ```
789
-
790
- ### Parameters
791
-
792
- | Parameter | Type | Required | Description |
793
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
794
- | `request` | [components.BulkIndexTeamsRequest](../../models/components/bulkindexteamsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
795
- | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
796
- | `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. |
797
- | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
798
-
799
- ### Response
800
-
801
- **Promise\<void\>**
802
-
803
- ### Errors
804
-
805
- | Error Type | Status Code | Content Type |
806
- | ----------------- | ----------------- | ----------------- |
807
- | errors.GleanError | 4XX, 5XX | \*/\* |