@gleanwork/api-client 0.1.0-beta.9 → 0.3.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 (1267) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/LICENSE +21 -0
  3. package/README.md +105 -21
  4. package/dist/commonjs/__tests__/activity.test.js +2 -2
  5. package/dist/commonjs/__tests__/activity.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/adminsearch.test.js +1784 -13
  7. package/dist/commonjs/__tests__/adminsearch.test.js.map +1 -1
  8. package/dist/commonjs/__tests__/agents.test.js +3 -3
  9. package/dist/commonjs/__tests__/agents.test.js.map +1 -1
  10. package/dist/commonjs/__tests__/announcements.test.js +3925 -5
  11. package/dist/commonjs/__tests__/announcements.test.js.map +1 -1
  12. package/dist/commonjs/__tests__/answers.test.js +1320 -35
  13. package/dist/commonjs/__tests__/answers.test.js.map +1 -1
  14. package/dist/commonjs/__tests__/chat.test.js +19810 -1539
  15. package/dist/commonjs/__tests__/chat.test.js.map +1 -1
  16. package/dist/commonjs/__tests__/clientauthentication.test.js +1 -1
  17. package/dist/commonjs/__tests__/clientauthentication.test.js.map +1 -1
  18. package/dist/commonjs/__tests__/clientdocuments.test.js +4 -4
  19. package/dist/commonjs/__tests__/clientdocuments.test.js.map +1 -1
  20. package/dist/commonjs/__tests__/clientsearch.test.js +3852 -144
  21. package/dist/commonjs/__tests__/clientsearch.test.js.map +1 -1
  22. package/dist/commonjs/__tests__/clientshortcuts.test.js +1056 -13
  23. package/dist/commonjs/__tests__/clientshortcuts.test.js.map +1 -1
  24. package/dist/commonjs/__tests__/collections.test.js +1061 -16
  25. package/dist/commonjs/__tests__/collections.test.js.map +1 -1
  26. package/dist/commonjs/__tests__/datasources.test.js +2 -2
  27. package/dist/commonjs/__tests__/datasources.test.js.map +1 -1
  28. package/dist/commonjs/__tests__/entities.test.js +2 -2
  29. package/dist/commonjs/__tests__/entities.test.js.map +1 -1
  30. package/dist/commonjs/__tests__/indexingauthentication.test.js +1 -1
  31. package/dist/commonjs/__tests__/indexingauthentication.test.js.map +1 -1
  32. package/dist/commonjs/__tests__/indexingdocuments.test.js +8 -8
  33. package/dist/commonjs/__tests__/indexingdocuments.test.js.map +1 -1
  34. package/dist/commonjs/__tests__/indexingpeople.test.js +2 -2
  35. package/dist/commonjs/__tests__/indexingpeople.test.js.map +1 -1
  36. package/dist/commonjs/__tests__/insights.test.js +1 -1
  37. package/dist/commonjs/__tests__/insights.test.js.map +1 -1
  38. package/dist/commonjs/__tests__/messages.test.js +1 -1
  39. package/dist/commonjs/__tests__/messages.test.js.map +1 -1
  40. package/dist/commonjs/__tests__/permissions.test.js +12 -12
  41. package/dist/commonjs/__tests__/permissions.test.js.map +1 -1
  42. package/dist/commonjs/__tests__/pins.test.js +5 -5
  43. package/dist/commonjs/__tests__/pins.test.js.map +1 -1
  44. package/dist/commonjs/__tests__/search.test.js +1 -1
  45. package/dist/commonjs/__tests__/search.test.js.map +1 -1
  46. package/dist/commonjs/__tests__/verification.test.js +3 -3
  47. package/dist/commonjs/__tests__/verification.test.js.map +1 -1
  48. package/dist/commonjs/funcs/clientActivityFeedback.js +3 -3
  49. package/dist/commonjs/funcs/clientActivityFeedback.js.map +1 -1
  50. package/dist/commonjs/funcs/clientActivityReport.js +3 -3
  51. package/dist/commonjs/funcs/clientActivityReport.js.map +1 -1
  52. package/dist/commonjs/funcs/clientAgentsList.js +3 -3
  53. package/dist/commonjs/funcs/clientAgentsList.js.map +1 -1
  54. package/dist/commonjs/funcs/clientAgentsRetrieveInputs.js +3 -3
  55. package/dist/commonjs/funcs/clientAgentsRetrieveInputs.js.map +1 -1
  56. package/dist/commonjs/funcs/clientAgentsRun.js +3 -3
  57. package/dist/commonjs/funcs/clientAgentsRun.js.map +1 -1
  58. package/dist/commonjs/funcs/clientAnnouncementsCreate.js +3 -3
  59. package/dist/commonjs/funcs/clientAnnouncementsCreate.js.map +1 -1
  60. package/dist/commonjs/funcs/clientAnnouncementsDelete.js +3 -3
  61. package/dist/commonjs/funcs/clientAnnouncementsDelete.js.map +1 -1
  62. package/dist/commonjs/funcs/clientAnnouncementsUpdate.js +3 -3
  63. package/dist/commonjs/funcs/clientAnnouncementsUpdate.js.map +1 -1
  64. package/dist/commonjs/funcs/clientAnswersCreate.js +3 -3
  65. package/dist/commonjs/funcs/clientAnswersCreate.js.map +1 -1
  66. package/dist/commonjs/funcs/clientAnswersDelete.js +3 -3
  67. package/dist/commonjs/funcs/clientAnswersDelete.js.map +1 -1
  68. package/dist/commonjs/funcs/clientAnswersList.js +3 -3
  69. package/dist/commonjs/funcs/clientAnswersList.js.map +1 -1
  70. package/dist/commonjs/funcs/clientAnswersRetrieve.js +3 -3
  71. package/dist/commonjs/funcs/clientAnswersRetrieve.js.map +1 -1
  72. package/dist/commonjs/funcs/clientAnswersUpdate.js +3 -3
  73. package/dist/commonjs/funcs/clientAnswersUpdate.js.map +1 -1
  74. package/dist/commonjs/funcs/clientAuthenticationCreateToken.js +3 -3
  75. package/dist/commonjs/funcs/clientAuthenticationCreateToken.js.map +1 -1
  76. package/dist/commonjs/funcs/clientChatCreate.js +3 -3
  77. package/dist/commonjs/funcs/clientChatCreate.js.map +1 -1
  78. package/dist/commonjs/funcs/clientChatCreateStream.js +3 -3
  79. package/dist/commonjs/funcs/clientChatCreateStream.js.map +1 -1
  80. package/dist/commonjs/funcs/clientChatDelete.js +3 -3
  81. package/dist/commonjs/funcs/clientChatDelete.js.map +1 -1
  82. package/dist/commonjs/funcs/clientChatDeleteAll.js +3 -3
  83. package/dist/commonjs/funcs/clientChatDeleteAll.js.map +1 -1
  84. package/dist/commonjs/funcs/clientChatDeleteFiles.js +3 -3
  85. package/dist/commonjs/funcs/clientChatDeleteFiles.js.map +1 -1
  86. package/dist/commonjs/funcs/clientChatList.js +3 -3
  87. package/dist/commonjs/funcs/clientChatList.js.map +1 -1
  88. package/dist/commonjs/funcs/clientChatRetrieve.js +3 -3
  89. package/dist/commonjs/funcs/clientChatRetrieve.js.map +1 -1
  90. package/dist/commonjs/funcs/clientChatRetrieveApplication.js +3 -3
  91. package/dist/commonjs/funcs/clientChatRetrieveApplication.js.map +1 -1
  92. package/dist/commonjs/funcs/clientChatRetrieveFiles.js +3 -3
  93. package/dist/commonjs/funcs/clientChatRetrieveFiles.js.map +1 -1
  94. package/dist/commonjs/funcs/clientChatUploadFiles.js +3 -3
  95. package/dist/commonjs/funcs/clientChatUploadFiles.js.map +1 -1
  96. package/dist/commonjs/funcs/clientCollectionsAddItems.js +3 -3
  97. package/dist/commonjs/funcs/clientCollectionsAddItems.js.map +1 -1
  98. package/dist/commonjs/funcs/clientCollectionsCreate.js +3 -3
  99. package/dist/commonjs/funcs/clientCollectionsCreate.js.map +1 -1
  100. package/dist/commonjs/funcs/clientCollectionsDelete.js +3 -3
  101. package/dist/commonjs/funcs/clientCollectionsDelete.js.map +1 -1
  102. package/dist/commonjs/funcs/clientCollectionsDeleteItem.js +3 -3
  103. package/dist/commonjs/funcs/clientCollectionsDeleteItem.js.map +1 -1
  104. package/dist/commonjs/funcs/clientCollectionsList.js +3 -3
  105. package/dist/commonjs/funcs/clientCollectionsList.js.map +1 -1
  106. package/dist/commonjs/funcs/clientCollectionsRetrieve.js +3 -3
  107. package/dist/commonjs/funcs/clientCollectionsRetrieve.js.map +1 -1
  108. package/dist/commonjs/funcs/clientCollectionsUpdate.js +3 -3
  109. package/dist/commonjs/funcs/clientCollectionsUpdate.js.map +1 -1
  110. package/dist/commonjs/funcs/clientCollectionsUpdateItem.js +3 -3
  111. package/dist/commonjs/funcs/clientCollectionsUpdateItem.js.map +1 -1
  112. package/dist/commonjs/funcs/clientDocumentsRetrieve.js +3 -3
  113. package/dist/commonjs/funcs/clientDocumentsRetrieve.js.map +1 -1
  114. package/dist/commonjs/funcs/clientDocumentsRetrieveByFacets.js +3 -3
  115. package/dist/commonjs/funcs/clientDocumentsRetrieveByFacets.js.map +1 -1
  116. package/dist/commonjs/funcs/clientDocumentsRetrievePermissions.js +3 -3
  117. package/dist/commonjs/funcs/clientDocumentsRetrievePermissions.js.map +1 -1
  118. package/dist/commonjs/funcs/clientDocumentsSummarize.js +3 -3
  119. package/dist/commonjs/funcs/clientDocumentsSummarize.js.map +1 -1
  120. package/dist/commonjs/funcs/clientEntitiesList.js +3 -3
  121. package/dist/commonjs/funcs/clientEntitiesList.js.map +1 -1
  122. package/dist/commonjs/funcs/clientEntitiesReadPeople.js +3 -3
  123. package/dist/commonjs/funcs/clientEntitiesReadPeople.js.map +1 -1
  124. package/dist/commonjs/funcs/clientInsightsRetrieve.js +3 -3
  125. package/dist/commonjs/funcs/clientInsightsRetrieve.js.map +1 -1
  126. package/dist/commonjs/funcs/clientMessagesRetrieve.js +3 -3
  127. package/dist/commonjs/funcs/clientMessagesRetrieve.js.map +1 -1
  128. package/dist/commonjs/funcs/clientPinsCreate.js +3 -3
  129. package/dist/commonjs/funcs/clientPinsCreate.js.map +1 -1
  130. package/dist/commonjs/funcs/clientPinsList.js +3 -3
  131. package/dist/commonjs/funcs/clientPinsList.js.map +1 -1
  132. package/dist/commonjs/funcs/clientPinsRemove.js +3 -3
  133. package/dist/commonjs/funcs/clientPinsRemove.js.map +1 -1
  134. package/dist/commonjs/funcs/clientPinsRetrieve.js +3 -3
  135. package/dist/commonjs/funcs/clientPinsRetrieve.js.map +1 -1
  136. package/dist/commonjs/funcs/clientPinsUpdate.js +3 -3
  137. package/dist/commonjs/funcs/clientPinsUpdate.js.map +1 -1
  138. package/dist/commonjs/funcs/clientSearchAutocomplete.js +3 -3
  139. package/dist/commonjs/funcs/clientSearchAutocomplete.js.map +1 -1
  140. package/dist/commonjs/funcs/clientSearchQuery.js +3 -3
  141. package/dist/commonjs/funcs/clientSearchQuery.js.map +1 -1
  142. package/dist/commonjs/funcs/clientSearchQueryAsAdmin.js +3 -3
  143. package/dist/commonjs/funcs/clientSearchQueryAsAdmin.js.map +1 -1
  144. package/dist/commonjs/funcs/clientSearchRecommendations.js +3 -3
  145. package/dist/commonjs/funcs/clientSearchRecommendations.js.map +1 -1
  146. package/dist/commonjs/funcs/clientSearchRetrieveFeed.js +3 -3
  147. package/dist/commonjs/funcs/clientSearchRetrieveFeed.js.map +1 -1
  148. package/dist/commonjs/funcs/clientShortcutsCreate.js +3 -3
  149. package/dist/commonjs/funcs/clientShortcutsCreate.js.map +1 -1
  150. package/dist/commonjs/funcs/clientShortcutsDelete.js +3 -3
  151. package/dist/commonjs/funcs/clientShortcutsDelete.js.map +1 -1
  152. package/dist/commonjs/funcs/clientShortcutsList.js +3 -3
  153. package/dist/commonjs/funcs/clientShortcutsList.js.map +1 -1
  154. package/dist/commonjs/funcs/clientShortcutsRetrieve.js +3 -3
  155. package/dist/commonjs/funcs/clientShortcutsRetrieve.js.map +1 -1
  156. package/dist/commonjs/funcs/clientShortcutsUpdate.js +3 -3
  157. package/dist/commonjs/funcs/clientShortcutsUpdate.js.map +1 -1
  158. package/dist/commonjs/funcs/clientVerificationAddReminder.js +3 -3
  159. package/dist/commonjs/funcs/clientVerificationAddReminder.js.map +1 -1
  160. package/dist/commonjs/funcs/clientVerificationList.js +3 -3
  161. package/dist/commonjs/funcs/clientVerificationList.js.map +1 -1
  162. package/dist/commonjs/funcs/clientVerificationVerify.js +3 -3
  163. package/dist/commonjs/funcs/clientVerificationVerify.js.map +1 -1
  164. package/dist/commonjs/funcs/indexingAuthenticationRotateToken.js +3 -3
  165. package/dist/commonjs/funcs/indexingAuthenticationRotateToken.js.map +1 -1
  166. package/dist/commonjs/funcs/indexingDatasourceStatus.js +3 -3
  167. package/dist/commonjs/funcs/indexingDatasourceStatus.js.map +1 -1
  168. package/dist/commonjs/funcs/indexingDatasourcesAdd.js +3 -3
  169. package/dist/commonjs/funcs/indexingDatasourcesAdd.js.map +1 -1
  170. package/dist/commonjs/funcs/indexingDatasourcesRetrieveConfig.js +3 -3
  171. package/dist/commonjs/funcs/indexingDatasourcesRetrieveConfig.js.map +1 -1
  172. package/dist/commonjs/funcs/indexingDocumentsAddOrUpdate.js +3 -3
  173. package/dist/commonjs/funcs/indexingDocumentsAddOrUpdate.js.map +1 -1
  174. package/dist/commonjs/funcs/indexingDocumentsBulkIndex.js +3 -3
  175. package/dist/commonjs/funcs/indexingDocumentsBulkIndex.js.map +1 -1
  176. package/dist/commonjs/funcs/indexingDocumentsCheckAccess.js +3 -3
  177. package/dist/commonjs/funcs/indexingDocumentsCheckAccess.js.map +1 -1
  178. package/dist/commonjs/funcs/indexingDocumentsCount.js +3 -3
  179. package/dist/commonjs/funcs/indexingDocumentsCount.js.map +1 -1
  180. package/dist/commonjs/funcs/indexingDocumentsDebug.js +3 -3
  181. package/dist/commonjs/funcs/indexingDocumentsDebug.js.map +1 -1
  182. package/dist/commonjs/funcs/indexingDocumentsDebugMany.js +3 -3
  183. package/dist/commonjs/funcs/indexingDocumentsDebugMany.js.map +1 -1
  184. package/dist/commonjs/funcs/indexingDocumentsDelete.js +3 -3
  185. package/dist/commonjs/funcs/indexingDocumentsDelete.js.map +1 -1
  186. package/dist/commonjs/funcs/indexingDocumentsIndex.js +3 -3
  187. package/dist/commonjs/funcs/indexingDocumentsIndex.js.map +1 -1
  188. package/dist/commonjs/funcs/indexingDocumentsProcessAll.js +3 -3
  189. package/dist/commonjs/funcs/indexingDocumentsProcessAll.js.map +1 -1
  190. package/dist/commonjs/funcs/indexingDocumentsStatus.js +3 -3
  191. package/dist/commonjs/funcs/indexingDocumentsStatus.js.map +1 -1
  192. package/dist/commonjs/funcs/indexingPeopleBulkIndex.js +3 -3
  193. package/dist/commonjs/funcs/indexingPeopleBulkIndex.js.map +1 -1
  194. package/dist/commonjs/funcs/indexingPeopleBulkIndexTeams.js +3 -3
  195. package/dist/commonjs/funcs/indexingPeopleBulkIndexTeams.js.map +1 -1
  196. package/dist/commonjs/funcs/indexingPeopleCount.js +3 -3
  197. package/dist/commonjs/funcs/indexingPeopleCount.js.map +1 -1
  198. package/dist/commonjs/funcs/indexingPeopleDebug.js +3 -3
  199. package/dist/commonjs/funcs/indexingPeopleDebug.js.map +1 -1
  200. package/dist/commonjs/funcs/indexingPeopleDelete.js +3 -3
  201. package/dist/commonjs/funcs/indexingPeopleDelete.js.map +1 -1
  202. package/dist/commonjs/funcs/indexingPeopleDeleteTeam.js +3 -3
  203. package/dist/commonjs/funcs/indexingPeopleDeleteTeam.js.map +1 -1
  204. package/dist/commonjs/funcs/indexingPeopleIndex.js +3 -3
  205. package/dist/commonjs/funcs/indexingPeopleIndex.js.map +1 -1
  206. package/dist/commonjs/funcs/indexingPeopleIndexTeam.js +3 -3
  207. package/dist/commonjs/funcs/indexingPeopleIndexTeam.js.map +1 -1
  208. package/dist/commonjs/funcs/indexingPeopleProcessAllEmployeesAndTeams.js +3 -3
  209. package/dist/commonjs/funcs/indexingPeopleProcessAllEmployeesAndTeams.js.map +1 -1
  210. package/dist/commonjs/funcs/indexingPermissionsAuthorizeBetaUsers.js +3 -3
  211. package/dist/commonjs/funcs/indexingPermissionsAuthorizeBetaUsers.js.map +1 -1
  212. package/dist/commonjs/funcs/indexingPermissionsBulkIndexGroups.js +3 -3
  213. package/dist/commonjs/funcs/indexingPermissionsBulkIndexGroups.js.map +1 -1
  214. package/dist/commonjs/funcs/indexingPermissionsBulkIndexMemberships.js +3 -3
  215. package/dist/commonjs/funcs/indexingPermissionsBulkIndexMemberships.js.map +1 -1
  216. package/dist/commonjs/funcs/indexingPermissionsBulkIndexUsers.js +3 -3
  217. package/dist/commonjs/funcs/indexingPermissionsBulkIndexUsers.js.map +1 -1
  218. package/dist/commonjs/funcs/indexingPermissionsDeleteGroup.js +3 -3
  219. package/dist/commonjs/funcs/indexingPermissionsDeleteGroup.js.map +1 -1
  220. package/dist/commonjs/funcs/indexingPermissionsDeleteMembership.js +3 -3
  221. package/dist/commonjs/funcs/indexingPermissionsDeleteMembership.js.map +1 -1
  222. package/dist/commonjs/funcs/indexingPermissionsDeleteUser.js +3 -3
  223. package/dist/commonjs/funcs/indexingPermissionsDeleteUser.js.map +1 -1
  224. package/dist/commonjs/funcs/indexingPermissionsIndexGroup.js +3 -3
  225. package/dist/commonjs/funcs/indexingPermissionsIndexGroup.js.map +1 -1
  226. package/dist/commonjs/funcs/indexingPermissionsIndexMembership.js +3 -3
  227. package/dist/commonjs/funcs/indexingPermissionsIndexMembership.js.map +1 -1
  228. package/dist/commonjs/funcs/indexingPermissionsIndexUser.js +3 -3
  229. package/dist/commonjs/funcs/indexingPermissionsIndexUser.js.map +1 -1
  230. package/dist/commonjs/funcs/indexingPermissionsProcessMemberships.js +3 -3
  231. package/dist/commonjs/funcs/indexingPermissionsProcessMemberships.js.map +1 -1
  232. package/dist/commonjs/funcs/indexingPermissionsUpdatePermissions.js +3 -3
  233. package/dist/commonjs/funcs/indexingPermissionsUpdatePermissions.js.map +1 -1
  234. package/dist/commonjs/funcs/indexingShortcutsBulkIndex.js +3 -3
  235. package/dist/commonjs/funcs/indexingShortcutsBulkIndex.js.map +1 -1
  236. package/dist/commonjs/funcs/indexingShortcutsUpload.js +3 -3
  237. package/dist/commonjs/funcs/indexingShortcutsUpload.js.map +1 -1
  238. package/dist/commonjs/lib/config.d.ts +7 -7
  239. package/dist/commonjs/lib/config.d.ts.map +1 -1
  240. package/dist/commonjs/lib/config.js +5 -5
  241. package/dist/commonjs/lib/config.js.map +1 -1
  242. package/dist/commonjs/lib/env.d.ts +1 -1
  243. package/dist/commonjs/lib/env.d.ts.map +1 -1
  244. package/dist/commonjs/lib/env.js +1 -1
  245. package/dist/commonjs/lib/env.js.map +1 -1
  246. package/dist/commonjs/lib/security.js +1 -1
  247. package/dist/commonjs/lib/security.js.map +1 -1
  248. package/dist/commonjs/models/components/calendarevent.d.ts +5 -0
  249. package/dist/commonjs/models/components/calendarevent.d.ts.map +1 -1
  250. package/dist/commonjs/models/components/calendarevent.js +2 -0
  251. package/dist/commonjs/models/components/calendarevent.js.map +1 -1
  252. package/dist/commonjs/models/components/security.d.ts +2 -2
  253. package/dist/commonjs/models/components/security.d.ts.map +1 -1
  254. package/dist/commonjs/models/components/security.js +4 -4
  255. package/dist/commonjs/models/components/security.js.map +1 -1
  256. package/dist/esm/__tests__/activity.test.js +2 -2
  257. package/dist/esm/__tests__/activity.test.js.map +1 -1
  258. package/dist/esm/__tests__/adminsearch.test.js +1784 -13
  259. package/dist/esm/__tests__/adminsearch.test.js.map +1 -1
  260. package/dist/esm/__tests__/agents.test.js +3 -3
  261. package/dist/esm/__tests__/agents.test.js.map +1 -1
  262. package/dist/esm/__tests__/announcements.test.js +3925 -5
  263. package/dist/esm/__tests__/announcements.test.js.map +1 -1
  264. package/dist/esm/__tests__/answers.test.js +1320 -35
  265. package/dist/esm/__tests__/answers.test.js.map +1 -1
  266. package/dist/esm/__tests__/chat.test.js +19810 -1539
  267. package/dist/esm/__tests__/chat.test.js.map +1 -1
  268. package/dist/esm/__tests__/clientauthentication.test.js +1 -1
  269. package/dist/esm/__tests__/clientauthentication.test.js.map +1 -1
  270. package/dist/esm/__tests__/clientdocuments.test.js +4 -4
  271. package/dist/esm/__tests__/clientdocuments.test.js.map +1 -1
  272. package/dist/esm/__tests__/clientsearch.test.js +3852 -144
  273. package/dist/esm/__tests__/clientsearch.test.js.map +1 -1
  274. package/dist/esm/__tests__/clientshortcuts.test.js +1056 -13
  275. package/dist/esm/__tests__/clientshortcuts.test.js.map +1 -1
  276. package/dist/esm/__tests__/collections.test.js +1061 -16
  277. package/dist/esm/__tests__/collections.test.js.map +1 -1
  278. package/dist/esm/__tests__/datasources.test.js +2 -2
  279. package/dist/esm/__tests__/datasources.test.js.map +1 -1
  280. package/dist/esm/__tests__/entities.test.js +2 -2
  281. package/dist/esm/__tests__/entities.test.js.map +1 -1
  282. package/dist/esm/__tests__/indexingauthentication.test.js +1 -1
  283. package/dist/esm/__tests__/indexingauthentication.test.js.map +1 -1
  284. package/dist/esm/__tests__/indexingdocuments.test.js +8 -8
  285. package/dist/esm/__tests__/indexingdocuments.test.js.map +1 -1
  286. package/dist/esm/__tests__/indexingpeople.test.js +2 -2
  287. package/dist/esm/__tests__/indexingpeople.test.js.map +1 -1
  288. package/dist/esm/__tests__/insights.test.js +1 -1
  289. package/dist/esm/__tests__/insights.test.js.map +1 -1
  290. package/dist/esm/__tests__/messages.test.js +1 -1
  291. package/dist/esm/__tests__/messages.test.js.map +1 -1
  292. package/dist/esm/__tests__/permissions.test.js +12 -12
  293. package/dist/esm/__tests__/permissions.test.js.map +1 -1
  294. package/dist/esm/__tests__/pins.test.js +5 -5
  295. package/dist/esm/__tests__/pins.test.js.map +1 -1
  296. package/dist/esm/__tests__/search.test.js +1 -1
  297. package/dist/esm/__tests__/search.test.js.map +1 -1
  298. package/dist/esm/__tests__/verification.test.js +3 -3
  299. package/dist/esm/__tests__/verification.test.js.map +1 -1
  300. package/dist/esm/funcs/clientActivityFeedback.js +3 -3
  301. package/dist/esm/funcs/clientActivityFeedback.js.map +1 -1
  302. package/dist/esm/funcs/clientActivityReport.js +3 -3
  303. package/dist/esm/funcs/clientActivityReport.js.map +1 -1
  304. package/dist/esm/funcs/clientAgentsList.js +3 -3
  305. package/dist/esm/funcs/clientAgentsList.js.map +1 -1
  306. package/dist/esm/funcs/clientAgentsRetrieveInputs.js +3 -3
  307. package/dist/esm/funcs/clientAgentsRetrieveInputs.js.map +1 -1
  308. package/dist/esm/funcs/clientAgentsRun.js +3 -3
  309. package/dist/esm/funcs/clientAgentsRun.js.map +1 -1
  310. package/dist/esm/funcs/clientAnnouncementsCreate.js +3 -3
  311. package/dist/esm/funcs/clientAnnouncementsCreate.js.map +1 -1
  312. package/dist/esm/funcs/clientAnnouncementsDelete.js +3 -3
  313. package/dist/esm/funcs/clientAnnouncementsDelete.js.map +1 -1
  314. package/dist/esm/funcs/clientAnnouncementsUpdate.js +3 -3
  315. package/dist/esm/funcs/clientAnnouncementsUpdate.js.map +1 -1
  316. package/dist/esm/funcs/clientAnswersCreate.js +3 -3
  317. package/dist/esm/funcs/clientAnswersCreate.js.map +1 -1
  318. package/dist/esm/funcs/clientAnswersDelete.js +3 -3
  319. package/dist/esm/funcs/clientAnswersDelete.js.map +1 -1
  320. package/dist/esm/funcs/clientAnswersList.js +3 -3
  321. package/dist/esm/funcs/clientAnswersList.js.map +1 -1
  322. package/dist/esm/funcs/clientAnswersRetrieve.js +3 -3
  323. package/dist/esm/funcs/clientAnswersRetrieve.js.map +1 -1
  324. package/dist/esm/funcs/clientAnswersUpdate.js +3 -3
  325. package/dist/esm/funcs/clientAnswersUpdate.js.map +1 -1
  326. package/dist/esm/funcs/clientAuthenticationCreateToken.js +3 -3
  327. package/dist/esm/funcs/clientAuthenticationCreateToken.js.map +1 -1
  328. package/dist/esm/funcs/clientChatCreate.js +3 -3
  329. package/dist/esm/funcs/clientChatCreate.js.map +1 -1
  330. package/dist/esm/funcs/clientChatCreateStream.js +3 -3
  331. package/dist/esm/funcs/clientChatCreateStream.js.map +1 -1
  332. package/dist/esm/funcs/clientChatDelete.js +3 -3
  333. package/dist/esm/funcs/clientChatDelete.js.map +1 -1
  334. package/dist/esm/funcs/clientChatDeleteAll.js +3 -3
  335. package/dist/esm/funcs/clientChatDeleteAll.js.map +1 -1
  336. package/dist/esm/funcs/clientChatDeleteFiles.js +3 -3
  337. package/dist/esm/funcs/clientChatDeleteFiles.js.map +1 -1
  338. package/dist/esm/funcs/clientChatList.js +3 -3
  339. package/dist/esm/funcs/clientChatList.js.map +1 -1
  340. package/dist/esm/funcs/clientChatRetrieve.js +3 -3
  341. package/dist/esm/funcs/clientChatRetrieve.js.map +1 -1
  342. package/dist/esm/funcs/clientChatRetrieveApplication.js +3 -3
  343. package/dist/esm/funcs/clientChatRetrieveApplication.js.map +1 -1
  344. package/dist/esm/funcs/clientChatRetrieveFiles.js +3 -3
  345. package/dist/esm/funcs/clientChatRetrieveFiles.js.map +1 -1
  346. package/dist/esm/funcs/clientChatUploadFiles.js +3 -3
  347. package/dist/esm/funcs/clientChatUploadFiles.js.map +1 -1
  348. package/dist/esm/funcs/clientCollectionsAddItems.js +3 -3
  349. package/dist/esm/funcs/clientCollectionsAddItems.js.map +1 -1
  350. package/dist/esm/funcs/clientCollectionsCreate.js +3 -3
  351. package/dist/esm/funcs/clientCollectionsCreate.js.map +1 -1
  352. package/dist/esm/funcs/clientCollectionsDelete.js +3 -3
  353. package/dist/esm/funcs/clientCollectionsDelete.js.map +1 -1
  354. package/dist/esm/funcs/clientCollectionsDeleteItem.js +3 -3
  355. package/dist/esm/funcs/clientCollectionsDeleteItem.js.map +1 -1
  356. package/dist/esm/funcs/clientCollectionsList.js +3 -3
  357. package/dist/esm/funcs/clientCollectionsList.js.map +1 -1
  358. package/dist/esm/funcs/clientCollectionsRetrieve.js +3 -3
  359. package/dist/esm/funcs/clientCollectionsRetrieve.js.map +1 -1
  360. package/dist/esm/funcs/clientCollectionsUpdate.js +3 -3
  361. package/dist/esm/funcs/clientCollectionsUpdate.js.map +1 -1
  362. package/dist/esm/funcs/clientCollectionsUpdateItem.js +3 -3
  363. package/dist/esm/funcs/clientCollectionsUpdateItem.js.map +1 -1
  364. package/dist/esm/funcs/clientDocumentsRetrieve.js +3 -3
  365. package/dist/esm/funcs/clientDocumentsRetrieve.js.map +1 -1
  366. package/dist/esm/funcs/clientDocumentsRetrieveByFacets.js +3 -3
  367. package/dist/esm/funcs/clientDocumentsRetrieveByFacets.js.map +1 -1
  368. package/dist/esm/funcs/clientDocumentsRetrievePermissions.js +3 -3
  369. package/dist/esm/funcs/clientDocumentsRetrievePermissions.js.map +1 -1
  370. package/dist/esm/funcs/clientDocumentsSummarize.js +3 -3
  371. package/dist/esm/funcs/clientDocumentsSummarize.js.map +1 -1
  372. package/dist/esm/funcs/clientEntitiesList.js +3 -3
  373. package/dist/esm/funcs/clientEntitiesList.js.map +1 -1
  374. package/dist/esm/funcs/clientEntitiesReadPeople.js +3 -3
  375. package/dist/esm/funcs/clientEntitiesReadPeople.js.map +1 -1
  376. package/dist/esm/funcs/clientInsightsRetrieve.js +3 -3
  377. package/dist/esm/funcs/clientInsightsRetrieve.js.map +1 -1
  378. package/dist/esm/funcs/clientMessagesRetrieve.js +3 -3
  379. package/dist/esm/funcs/clientMessagesRetrieve.js.map +1 -1
  380. package/dist/esm/funcs/clientPinsCreate.js +3 -3
  381. package/dist/esm/funcs/clientPinsCreate.js.map +1 -1
  382. package/dist/esm/funcs/clientPinsList.js +3 -3
  383. package/dist/esm/funcs/clientPinsList.js.map +1 -1
  384. package/dist/esm/funcs/clientPinsRemove.js +3 -3
  385. package/dist/esm/funcs/clientPinsRemove.js.map +1 -1
  386. package/dist/esm/funcs/clientPinsRetrieve.js +3 -3
  387. package/dist/esm/funcs/clientPinsRetrieve.js.map +1 -1
  388. package/dist/esm/funcs/clientPinsUpdate.js +3 -3
  389. package/dist/esm/funcs/clientPinsUpdate.js.map +1 -1
  390. package/dist/esm/funcs/clientSearchAutocomplete.js +3 -3
  391. package/dist/esm/funcs/clientSearchAutocomplete.js.map +1 -1
  392. package/dist/esm/funcs/clientSearchQuery.js +3 -3
  393. package/dist/esm/funcs/clientSearchQuery.js.map +1 -1
  394. package/dist/esm/funcs/clientSearchQueryAsAdmin.js +3 -3
  395. package/dist/esm/funcs/clientSearchQueryAsAdmin.js.map +1 -1
  396. package/dist/esm/funcs/clientSearchRecommendations.js +3 -3
  397. package/dist/esm/funcs/clientSearchRecommendations.js.map +1 -1
  398. package/dist/esm/funcs/clientSearchRetrieveFeed.js +3 -3
  399. package/dist/esm/funcs/clientSearchRetrieveFeed.js.map +1 -1
  400. package/dist/esm/funcs/clientShortcutsCreate.js +3 -3
  401. package/dist/esm/funcs/clientShortcutsCreate.js.map +1 -1
  402. package/dist/esm/funcs/clientShortcutsDelete.js +3 -3
  403. package/dist/esm/funcs/clientShortcutsDelete.js.map +1 -1
  404. package/dist/esm/funcs/clientShortcutsList.js +3 -3
  405. package/dist/esm/funcs/clientShortcutsList.js.map +1 -1
  406. package/dist/esm/funcs/clientShortcutsRetrieve.js +3 -3
  407. package/dist/esm/funcs/clientShortcutsRetrieve.js.map +1 -1
  408. package/dist/esm/funcs/clientShortcutsUpdate.js +3 -3
  409. package/dist/esm/funcs/clientShortcutsUpdate.js.map +1 -1
  410. package/dist/esm/funcs/clientVerificationAddReminder.js +3 -3
  411. package/dist/esm/funcs/clientVerificationAddReminder.js.map +1 -1
  412. package/dist/esm/funcs/clientVerificationList.js +3 -3
  413. package/dist/esm/funcs/clientVerificationList.js.map +1 -1
  414. package/dist/esm/funcs/clientVerificationVerify.js +3 -3
  415. package/dist/esm/funcs/clientVerificationVerify.js.map +1 -1
  416. package/dist/esm/funcs/indexingAuthenticationRotateToken.js +3 -3
  417. package/dist/esm/funcs/indexingAuthenticationRotateToken.js.map +1 -1
  418. package/dist/esm/funcs/indexingDatasourceStatus.js +3 -3
  419. package/dist/esm/funcs/indexingDatasourceStatus.js.map +1 -1
  420. package/dist/esm/funcs/indexingDatasourcesAdd.js +3 -3
  421. package/dist/esm/funcs/indexingDatasourcesAdd.js.map +1 -1
  422. package/dist/esm/funcs/indexingDatasourcesRetrieveConfig.js +3 -3
  423. package/dist/esm/funcs/indexingDatasourcesRetrieveConfig.js.map +1 -1
  424. package/dist/esm/funcs/indexingDocumentsAddOrUpdate.js +3 -3
  425. package/dist/esm/funcs/indexingDocumentsAddOrUpdate.js.map +1 -1
  426. package/dist/esm/funcs/indexingDocumentsBulkIndex.js +3 -3
  427. package/dist/esm/funcs/indexingDocumentsBulkIndex.js.map +1 -1
  428. package/dist/esm/funcs/indexingDocumentsCheckAccess.js +3 -3
  429. package/dist/esm/funcs/indexingDocumentsCheckAccess.js.map +1 -1
  430. package/dist/esm/funcs/indexingDocumentsCount.js +3 -3
  431. package/dist/esm/funcs/indexingDocumentsCount.js.map +1 -1
  432. package/dist/esm/funcs/indexingDocumentsDebug.js +3 -3
  433. package/dist/esm/funcs/indexingDocumentsDebug.js.map +1 -1
  434. package/dist/esm/funcs/indexingDocumentsDebugMany.js +3 -3
  435. package/dist/esm/funcs/indexingDocumentsDebugMany.js.map +1 -1
  436. package/dist/esm/funcs/indexingDocumentsDelete.js +3 -3
  437. package/dist/esm/funcs/indexingDocumentsDelete.js.map +1 -1
  438. package/dist/esm/funcs/indexingDocumentsIndex.js +3 -3
  439. package/dist/esm/funcs/indexingDocumentsIndex.js.map +1 -1
  440. package/dist/esm/funcs/indexingDocumentsProcessAll.js +3 -3
  441. package/dist/esm/funcs/indexingDocumentsProcessAll.js.map +1 -1
  442. package/dist/esm/funcs/indexingDocumentsStatus.js +3 -3
  443. package/dist/esm/funcs/indexingDocumentsStatus.js.map +1 -1
  444. package/dist/esm/funcs/indexingPeopleBulkIndex.js +3 -3
  445. package/dist/esm/funcs/indexingPeopleBulkIndex.js.map +1 -1
  446. package/dist/esm/funcs/indexingPeopleBulkIndexTeams.js +3 -3
  447. package/dist/esm/funcs/indexingPeopleBulkIndexTeams.js.map +1 -1
  448. package/dist/esm/funcs/indexingPeopleCount.js +3 -3
  449. package/dist/esm/funcs/indexingPeopleCount.js.map +1 -1
  450. package/dist/esm/funcs/indexingPeopleDebug.js +3 -3
  451. package/dist/esm/funcs/indexingPeopleDebug.js.map +1 -1
  452. package/dist/esm/funcs/indexingPeopleDelete.js +3 -3
  453. package/dist/esm/funcs/indexingPeopleDelete.js.map +1 -1
  454. package/dist/esm/funcs/indexingPeopleDeleteTeam.js +3 -3
  455. package/dist/esm/funcs/indexingPeopleDeleteTeam.js.map +1 -1
  456. package/dist/esm/funcs/indexingPeopleIndex.js +3 -3
  457. package/dist/esm/funcs/indexingPeopleIndex.js.map +1 -1
  458. package/dist/esm/funcs/indexingPeopleIndexTeam.js +3 -3
  459. package/dist/esm/funcs/indexingPeopleIndexTeam.js.map +1 -1
  460. package/dist/esm/funcs/indexingPeopleProcessAllEmployeesAndTeams.js +3 -3
  461. package/dist/esm/funcs/indexingPeopleProcessAllEmployeesAndTeams.js.map +1 -1
  462. package/dist/esm/funcs/indexingPermissionsAuthorizeBetaUsers.js +3 -3
  463. package/dist/esm/funcs/indexingPermissionsAuthorizeBetaUsers.js.map +1 -1
  464. package/dist/esm/funcs/indexingPermissionsBulkIndexGroups.js +3 -3
  465. package/dist/esm/funcs/indexingPermissionsBulkIndexGroups.js.map +1 -1
  466. package/dist/esm/funcs/indexingPermissionsBulkIndexMemberships.js +3 -3
  467. package/dist/esm/funcs/indexingPermissionsBulkIndexMemberships.js.map +1 -1
  468. package/dist/esm/funcs/indexingPermissionsBulkIndexUsers.js +3 -3
  469. package/dist/esm/funcs/indexingPermissionsBulkIndexUsers.js.map +1 -1
  470. package/dist/esm/funcs/indexingPermissionsDeleteGroup.js +3 -3
  471. package/dist/esm/funcs/indexingPermissionsDeleteGroup.js.map +1 -1
  472. package/dist/esm/funcs/indexingPermissionsDeleteMembership.js +3 -3
  473. package/dist/esm/funcs/indexingPermissionsDeleteMembership.js.map +1 -1
  474. package/dist/esm/funcs/indexingPermissionsDeleteUser.js +3 -3
  475. package/dist/esm/funcs/indexingPermissionsDeleteUser.js.map +1 -1
  476. package/dist/esm/funcs/indexingPermissionsIndexGroup.js +3 -3
  477. package/dist/esm/funcs/indexingPermissionsIndexGroup.js.map +1 -1
  478. package/dist/esm/funcs/indexingPermissionsIndexMembership.js +3 -3
  479. package/dist/esm/funcs/indexingPermissionsIndexMembership.js.map +1 -1
  480. package/dist/esm/funcs/indexingPermissionsIndexUser.js +3 -3
  481. package/dist/esm/funcs/indexingPermissionsIndexUser.js.map +1 -1
  482. package/dist/esm/funcs/indexingPermissionsProcessMemberships.js +3 -3
  483. package/dist/esm/funcs/indexingPermissionsProcessMemberships.js.map +1 -1
  484. package/dist/esm/funcs/indexingPermissionsUpdatePermissions.js +3 -3
  485. package/dist/esm/funcs/indexingPermissionsUpdatePermissions.js.map +1 -1
  486. package/dist/esm/funcs/indexingShortcutsBulkIndex.js +3 -3
  487. package/dist/esm/funcs/indexingShortcutsBulkIndex.js.map +1 -1
  488. package/dist/esm/funcs/indexingShortcutsUpload.js +3 -3
  489. package/dist/esm/funcs/indexingShortcutsUpload.js.map +1 -1
  490. package/dist/esm/lib/config.d.ts +7 -7
  491. package/dist/esm/lib/config.d.ts.map +1 -1
  492. package/dist/esm/lib/config.js +5 -5
  493. package/dist/esm/lib/config.js.map +1 -1
  494. package/dist/esm/lib/env.d.ts +1 -1
  495. package/dist/esm/lib/env.d.ts.map +1 -1
  496. package/dist/esm/lib/env.js +1 -1
  497. package/dist/esm/lib/env.js.map +1 -1
  498. package/dist/esm/lib/security.js +1 -1
  499. package/dist/esm/lib/security.js.map +1 -1
  500. package/dist/esm/models/components/calendarevent.d.ts +5 -0
  501. package/dist/esm/models/components/calendarevent.d.ts.map +1 -1
  502. package/dist/esm/models/components/calendarevent.js +2 -0
  503. package/dist/esm/models/components/calendarevent.js.map +1 -1
  504. package/dist/esm/models/components/security.d.ts +2 -2
  505. package/dist/esm/models/components/security.d.ts.map +1 -1
  506. package/dist/esm/models/components/security.js +4 -4
  507. package/dist/esm/models/components/security.js.map +1 -1
  508. package/docs/sdks/activity/README.md +4 -4
  509. package/docs/sdks/agents/README.md +6 -6
  510. package/docs/sdks/announcements/README.md +7852 -10
  511. package/docs/sdks/answers/README.md +2916 -346
  512. package/docs/sdks/chat/README.md +20 -20
  513. package/docs/sdks/clientauthentication/README.md +2 -2
  514. package/docs/sdks/clientdocuments/README.md +8 -8
  515. package/docs/sdks/clientshortcuts/README.md +2130 -44
  516. package/docs/sdks/collections/README.md +2140 -50
  517. package/docs/sdks/datasource/README.md +2 -2
  518. package/docs/sdks/datasources/README.md +4 -4
  519. package/docs/sdks/entities/README.md +4 -4
  520. package/docs/sdks/indexingauthentication/README.md +2 -2
  521. package/docs/sdks/indexingdocuments/README.md +20 -20
  522. package/docs/sdks/indexingshortcuts/README.md +4 -4
  523. package/docs/sdks/insights/README.md +2 -2
  524. package/docs/sdks/messages/README.md +2 -2
  525. package/docs/sdks/people/README.md +18 -18
  526. package/docs/sdks/permissions/README.md +24 -24
  527. package/docs/sdks/pins/README.md +10 -10
  528. package/docs/sdks/search/README.md +11608 -650
  529. package/docs/sdks/verification/README.md +6 -6
  530. package/examples/src/search.example.ts +8 -6
  531. package/examples/src/startChat.example.ts +7 -5
  532. package/jsr.json +1 -1
  533. package/package.json +2 -1
  534. package/src/__tests__/activity.test.ts +2 -2
  535. package/src/__tests__/adminsearch.test.ts +1791 -13
  536. package/src/__tests__/agents.test.ts +3 -3
  537. package/src/__tests__/announcements.test.ts +3939 -5
  538. package/src/__tests__/answers.test.ts +1329 -35
  539. package/src/__tests__/chat.test.ts +20124 -1604
  540. package/src/__tests__/clientauthentication.test.ts +1 -1
  541. package/src/__tests__/clientdocuments.test.ts +4 -4
  542. package/src/__tests__/clientsearch.test.ts +3868 -147
  543. package/src/__tests__/clientshortcuts.test.ts +1066 -13
  544. package/src/__tests__/collections.test.ts +1070 -16
  545. package/src/__tests__/datasources.test.ts +2 -2
  546. package/src/__tests__/entities.test.ts +2 -2
  547. package/src/__tests__/indexingauthentication.test.ts +1 -1
  548. package/src/__tests__/indexingdocuments.test.ts +8 -8
  549. package/src/__tests__/indexingpeople.test.ts +2 -2
  550. package/src/__tests__/insights.test.ts +1 -1
  551. package/src/__tests__/messages.test.ts +1 -1
  552. package/src/__tests__/permissions.test.ts +12 -12
  553. package/src/__tests__/pins.test.ts +5 -5
  554. package/src/__tests__/search.test.ts +1 -1
  555. package/src/__tests__/verification.test.ts +3 -3
  556. package/src/funcs/clientActivityFeedback.ts +3 -3
  557. package/src/funcs/clientActivityReport.ts +3 -3
  558. package/src/funcs/clientAgentsList.ts +3 -3
  559. package/src/funcs/clientAgentsRetrieveInputs.ts +3 -3
  560. package/src/funcs/clientAgentsRun.ts +3 -3
  561. package/src/funcs/clientAnnouncementsCreate.ts +3 -3
  562. package/src/funcs/clientAnnouncementsDelete.ts +3 -3
  563. package/src/funcs/clientAnnouncementsUpdate.ts +3 -3
  564. package/src/funcs/clientAnswersCreate.ts +3 -3
  565. package/src/funcs/clientAnswersDelete.ts +3 -3
  566. package/src/funcs/clientAnswersList.ts +3 -3
  567. package/src/funcs/clientAnswersRetrieve.ts +3 -3
  568. package/src/funcs/clientAnswersUpdate.ts +3 -3
  569. package/src/funcs/clientAuthenticationCreateToken.ts +3 -3
  570. package/src/funcs/clientChatCreate.ts +3 -3
  571. package/src/funcs/clientChatCreateStream.ts +3 -3
  572. package/src/funcs/clientChatDelete.ts +3 -3
  573. package/src/funcs/clientChatDeleteAll.ts +3 -3
  574. package/src/funcs/clientChatDeleteFiles.ts +3 -3
  575. package/src/funcs/clientChatList.ts +3 -3
  576. package/src/funcs/clientChatRetrieve.ts +3 -3
  577. package/src/funcs/clientChatRetrieveApplication.ts +3 -3
  578. package/src/funcs/clientChatRetrieveFiles.ts +3 -3
  579. package/src/funcs/clientChatUploadFiles.ts +3 -3
  580. package/src/funcs/clientCollectionsAddItems.ts +3 -3
  581. package/src/funcs/clientCollectionsCreate.ts +3 -3
  582. package/src/funcs/clientCollectionsDelete.ts +3 -3
  583. package/src/funcs/clientCollectionsDeleteItem.ts +3 -3
  584. package/src/funcs/clientCollectionsList.ts +3 -3
  585. package/src/funcs/clientCollectionsRetrieve.ts +3 -3
  586. package/src/funcs/clientCollectionsUpdate.ts +3 -3
  587. package/src/funcs/clientCollectionsUpdateItem.ts +3 -3
  588. package/src/funcs/clientDocumentsRetrieve.ts +3 -3
  589. package/src/funcs/clientDocumentsRetrieveByFacets.ts +3 -3
  590. package/src/funcs/clientDocumentsRetrievePermissions.ts +3 -3
  591. package/src/funcs/clientDocumentsSummarize.ts +3 -3
  592. package/src/funcs/clientEntitiesList.ts +3 -3
  593. package/src/funcs/clientEntitiesReadPeople.ts +3 -3
  594. package/src/funcs/clientInsightsRetrieve.ts +3 -3
  595. package/src/funcs/clientMessagesRetrieve.ts +3 -3
  596. package/src/funcs/clientPinsCreate.ts +3 -3
  597. package/src/funcs/clientPinsList.ts +3 -3
  598. package/src/funcs/clientPinsRemove.ts +3 -3
  599. package/src/funcs/clientPinsRetrieve.ts +3 -3
  600. package/src/funcs/clientPinsUpdate.ts +3 -3
  601. package/src/funcs/clientSearchAutocomplete.ts +3 -3
  602. package/src/funcs/clientSearchQuery.ts +3 -3
  603. package/src/funcs/clientSearchQueryAsAdmin.ts +3 -3
  604. package/src/funcs/clientSearchRecommendations.ts +3 -3
  605. package/src/funcs/clientSearchRetrieveFeed.ts +3 -3
  606. package/src/funcs/clientShortcutsCreate.ts +3 -3
  607. package/src/funcs/clientShortcutsDelete.ts +3 -3
  608. package/src/funcs/clientShortcutsList.ts +3 -3
  609. package/src/funcs/clientShortcutsRetrieve.ts +3 -3
  610. package/src/funcs/clientShortcutsUpdate.ts +3 -3
  611. package/src/funcs/clientVerificationAddReminder.ts +3 -3
  612. package/src/funcs/clientVerificationList.ts +3 -3
  613. package/src/funcs/clientVerificationVerify.ts +3 -3
  614. package/src/funcs/indexingAuthenticationRotateToken.ts +3 -3
  615. package/src/funcs/indexingDatasourceStatus.ts +3 -3
  616. package/src/funcs/indexingDatasourcesAdd.ts +3 -3
  617. package/src/funcs/indexingDatasourcesRetrieveConfig.ts +3 -3
  618. package/src/funcs/indexingDocumentsAddOrUpdate.ts +3 -3
  619. package/src/funcs/indexingDocumentsBulkIndex.ts +3 -3
  620. package/src/funcs/indexingDocumentsCheckAccess.ts +3 -3
  621. package/src/funcs/indexingDocumentsCount.ts +3 -3
  622. package/src/funcs/indexingDocumentsDebug.ts +3 -3
  623. package/src/funcs/indexingDocumentsDebugMany.ts +3 -3
  624. package/src/funcs/indexingDocumentsDelete.ts +3 -3
  625. package/src/funcs/indexingDocumentsIndex.ts +3 -3
  626. package/src/funcs/indexingDocumentsProcessAll.ts +3 -3
  627. package/src/funcs/indexingDocumentsStatus.ts +3 -3
  628. package/src/funcs/indexingPeopleBulkIndex.ts +3 -3
  629. package/src/funcs/indexingPeopleBulkIndexTeams.ts +3 -3
  630. package/src/funcs/indexingPeopleCount.ts +3 -3
  631. package/src/funcs/indexingPeopleDebug.ts +3 -3
  632. package/src/funcs/indexingPeopleDelete.ts +3 -3
  633. package/src/funcs/indexingPeopleDeleteTeam.ts +3 -3
  634. package/src/funcs/indexingPeopleIndex.ts +3 -3
  635. package/src/funcs/indexingPeopleIndexTeam.ts +3 -3
  636. package/src/funcs/indexingPeopleProcessAllEmployeesAndTeams.ts +3 -3
  637. package/src/funcs/indexingPermissionsAuthorizeBetaUsers.ts +3 -3
  638. package/src/funcs/indexingPermissionsBulkIndexGroups.ts +3 -3
  639. package/src/funcs/indexingPermissionsBulkIndexMemberships.ts +3 -3
  640. package/src/funcs/indexingPermissionsBulkIndexUsers.ts +3 -3
  641. package/src/funcs/indexingPermissionsDeleteGroup.ts +3 -3
  642. package/src/funcs/indexingPermissionsDeleteMembership.ts +3 -3
  643. package/src/funcs/indexingPermissionsDeleteUser.ts +3 -3
  644. package/src/funcs/indexingPermissionsIndexGroup.ts +3 -3
  645. package/src/funcs/indexingPermissionsIndexMembership.ts +3 -3
  646. package/src/funcs/indexingPermissionsIndexUser.ts +3 -3
  647. package/src/funcs/indexingPermissionsProcessMemberships.ts +3 -3
  648. package/src/funcs/indexingPermissionsUpdatePermissions.ts +3 -3
  649. package/src/funcs/indexingShortcutsBulkIndex.ts +3 -3
  650. package/src/funcs/indexingShortcutsUpload.ts +3 -3
  651. package/src/lib/config.ts +8 -8
  652. package/src/lib/env.ts +2 -2
  653. package/src/lib/security.ts +1 -1
  654. package/src/models/components/calendarevent.ts +7 -0
  655. package/src/models/components/security.ts +6 -6
  656. package/dist/commonjs/funcs/clientAgentsAgentInputsRetrieve.d.ts +0 -16
  657. package/dist/commonjs/funcs/clientAgentsAgentInputsRetrieve.d.ts.map +0 -1
  658. package/dist/commonjs/funcs/clientAgentsAgentInputsRetrieve.js +0 -123
  659. package/dist/commonjs/funcs/clientAgentsAgentInputsRetrieve.js.map +0 -1
  660. package/dist/commonjs/funcs/clientAgentsAgentRun.d.ts +0 -16
  661. package/dist/commonjs/funcs/clientAgentsAgentRun.d.ts.map +0 -1
  662. package/dist/commonjs/funcs/clientAgentsAgentRun.js +0 -121
  663. package/dist/commonjs/funcs/clientAgentsAgentRun.js.map +0 -1
  664. package/dist/commonjs/funcs/clientChatApplicationRetrieve.d.ts +0 -16
  665. package/dist/commonjs/funcs/clientChatApplicationRetrieve.d.ts.map +0 -1
  666. package/dist/commonjs/funcs/clientChatApplicationRetrieve.js +0 -123
  667. package/dist/commonjs/funcs/clientChatApplicationRetrieve.js.map +0 -1
  668. package/dist/commonjs/funcs/clientChatFilesDelete.d.ts +0 -16
  669. package/dist/commonjs/funcs/clientChatFilesDelete.d.ts.map +0 -1
  670. package/dist/commonjs/funcs/clientChatFilesDelete.js +0 -123
  671. package/dist/commonjs/funcs/clientChatFilesDelete.js.map +0 -1
  672. package/dist/commonjs/funcs/clientChatFilesRetrieve.d.ts +0 -16
  673. package/dist/commonjs/funcs/clientChatFilesRetrieve.d.ts.map +0 -1
  674. package/dist/commonjs/funcs/clientChatFilesRetrieve.js +0 -123
  675. package/dist/commonjs/funcs/clientChatFilesRetrieve.js.map +0 -1
  676. package/dist/commonjs/funcs/clientChatFilesUpload.d.ts +0 -16
  677. package/dist/commonjs/funcs/clientChatFilesUpload.d.ts.map +0 -1
  678. package/dist/commonjs/funcs/clientChatFilesUpload.js +0 -121
  679. package/dist/commonjs/funcs/clientChatFilesUpload.js.map +0 -1
  680. package/dist/commonjs/funcs/clientCollectionsItemDelete.d.ts +0 -16
  681. package/dist/commonjs/funcs/clientCollectionsItemDelete.d.ts.map +0 -1
  682. package/dist/commonjs/funcs/clientCollectionsItemDelete.js +0 -112
  683. package/dist/commonjs/funcs/clientCollectionsItemDelete.js.map +0 -1
  684. package/dist/commonjs/funcs/clientCollectionsItemUpdate.d.ts +0 -16
  685. package/dist/commonjs/funcs/clientCollectionsItemUpdate.d.ts.map +0 -1
  686. package/dist/commonjs/funcs/clientCollectionsItemUpdate.js +0 -112
  687. package/dist/commonjs/funcs/clientCollectionsItemUpdate.js.map +0 -1
  688. package/dist/commonjs/funcs/clientDocumentsPermissionsRetrieve.d.ts +0 -16
  689. package/dist/commonjs/funcs/clientDocumentsPermissionsRetrieve.d.ts.map +0 -1
  690. package/dist/commonjs/funcs/clientDocumentsPermissionsRetrieve.js +0 -112
  691. package/dist/commonjs/funcs/clientDocumentsPermissionsRetrieve.js.map +0 -1
  692. package/dist/commonjs/funcs/clientSearchAdminQuery.d.ts +0 -17
  693. package/dist/commonjs/funcs/clientSearchAdminQuery.d.ts.map +0 -1
  694. package/dist/commonjs/funcs/clientSearchAdminQuery.js +0 -118
  695. package/dist/commonjs/funcs/clientSearchAdminQuery.js.map +0 -1
  696. package/dist/commonjs/funcs/clientSearchFeedRetrieve.d.ts +0 -16
  697. package/dist/commonjs/funcs/clientSearchFeedRetrieve.d.ts.map +0 -1
  698. package/dist/commonjs/funcs/clientSearchFeedRetrieve.js +0 -112
  699. package/dist/commonjs/funcs/clientSearchFeedRetrieve.js.map +0 -1
  700. package/dist/commonjs/funcs/clientShortcutsUpload.d.ts +0 -16
  701. package/dist/commonjs/funcs/clientShortcutsUpload.d.ts.map +0 -1
  702. package/dist/commonjs/funcs/clientShortcutsUpload.js +0 -113
  703. package/dist/commonjs/funcs/clientShortcutsUpload.js.map +0 -1
  704. package/dist/commonjs/funcs/clientSummarizeGenerate.d.ts +0 -16
  705. package/dist/commonjs/funcs/clientSummarizeGenerate.d.ts.map +0 -1
  706. package/dist/commonjs/funcs/clientSummarizeGenerate.js +0 -112
  707. package/dist/commonjs/funcs/clientSummarizeGenerate.js.map +0 -1
  708. package/dist/commonjs/funcs/indexingDatasourcesConfigRetrieve.d.ts +0 -16
  709. package/dist/commonjs/funcs/indexingDatasourcesConfigRetrieve.d.ts.map +0 -1
  710. package/dist/commonjs/funcs/indexingDatasourcesConfigRetrieve.js +0 -112
  711. package/dist/commonjs/funcs/indexingDatasourcesConfigRetrieve.js.map +0 -1
  712. package/dist/commonjs/funcs/indexingTroubleshootingCheckAccess.d.ts +0 -18
  713. package/dist/commonjs/funcs/indexingTroubleshootingCheckAccess.d.ts.map +0 -1
  714. package/dist/commonjs/funcs/indexingTroubleshootingCheckAccess.js +0 -114
  715. package/dist/commonjs/funcs/indexingTroubleshootingCheckAccess.js.map +0 -1
  716. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentDebug.d.ts +0 -18
  717. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentDebug.d.ts.map +0 -1
  718. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentDebug.js +0 -130
  719. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentDebug.js.map +0 -1
  720. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentsDebug.d.ts +0 -18
  721. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentsDebug.d.ts.map +0 -1
  722. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentsDebug.js +0 -130
  723. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceDocumentsDebug.js.map +0 -1
  724. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceStatus.d.ts +0 -18
  725. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceStatus.d.ts.map +0 -1
  726. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceStatus.js +0 -126
  727. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceStatus.js.map +0 -1
  728. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceUserDebug.d.ts +0 -18
  729. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceUserDebug.d.ts.map +0 -1
  730. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceUserDebug.js +0 -127
  731. package/dist/commonjs/funcs/indexingTroubleshootingDatasourceUserDebug.js.map +0 -1
  732. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsCount.d.ts +0 -20
  733. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsCount.d.ts.map +0 -1
  734. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsCount.js +0 -116
  735. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsCount.js.map +0 -1
  736. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsStatus.d.ts +0 -20
  737. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsStatus.d.ts.map +0 -1
  738. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsStatus.js +0 -116
  739. package/dist/commonjs/funcs/indexingTroubleshootingDocumentsStatus.js.map +0 -1
  740. package/dist/commonjs/funcs/indexingTroubleshootingUsersCount.d.ts +0 -20
  741. package/dist/commonjs/funcs/indexingTroubleshootingUsersCount.d.ts.map +0 -1
  742. package/dist/commonjs/funcs/indexingTroubleshootingUsersCount.js +0 -116
  743. package/dist/commonjs/funcs/indexingTroubleshootingUsersCount.js.map +0 -1
  744. package/dist/commonjs/funcs/shortcutsCreateshortcut.d.ts +0 -16
  745. package/dist/commonjs/funcs/shortcutsCreateshortcut.d.ts.map +0 -1
  746. package/dist/commonjs/funcs/shortcutsCreateshortcut.js +0 -112
  747. package/dist/commonjs/funcs/shortcutsCreateshortcut.js.map +0 -1
  748. package/dist/commonjs/funcs/verificationVerify.d.ts +0 -16
  749. package/dist/commonjs/funcs/verificationVerify.d.ts.map +0 -1
  750. package/dist/commonjs/funcs/verificationVerify.js +0 -112
  751. package/dist/commonjs/funcs/verificationVerify.js.map +0 -1
  752. package/dist/commonjs/react-query/clientAgentsAgentInputsRetrieve.d.ts +0 -24
  753. package/dist/commonjs/react-query/clientAgentsAgentInputsRetrieve.d.ts.map +0 -1
  754. package/dist/commonjs/react-query/clientAgentsAgentInputsRetrieve.js +0 -47
  755. package/dist/commonjs/react-query/clientAgentsAgentInputsRetrieve.js.map +0 -1
  756. package/dist/commonjs/react-query/clientAgentsAgentRun.d.ts +0 -24
  757. package/dist/commonjs/react-query/clientAgentsAgentRun.d.ts.map +0 -1
  758. package/dist/commonjs/react-query/clientAgentsAgentRun.js +0 -47
  759. package/dist/commonjs/react-query/clientAgentsAgentRun.js.map +0 -1
  760. package/dist/commonjs/react-query/clientChatApplicationRetrieve.d.ts +0 -24
  761. package/dist/commonjs/react-query/clientChatApplicationRetrieve.d.ts.map +0 -1
  762. package/dist/commonjs/react-query/clientChatApplicationRetrieve.js +0 -47
  763. package/dist/commonjs/react-query/clientChatApplicationRetrieve.js.map +0 -1
  764. package/dist/commonjs/react-query/clientChatFilesDelete.d.ts +0 -24
  765. package/dist/commonjs/react-query/clientChatFilesDelete.d.ts.map +0 -1
  766. package/dist/commonjs/react-query/clientChatFilesDelete.js +0 -47
  767. package/dist/commonjs/react-query/clientChatFilesDelete.js.map +0 -1
  768. package/dist/commonjs/react-query/clientChatFilesRetrieve.d.ts +0 -24
  769. package/dist/commonjs/react-query/clientChatFilesRetrieve.d.ts.map +0 -1
  770. package/dist/commonjs/react-query/clientChatFilesRetrieve.js +0 -47
  771. package/dist/commonjs/react-query/clientChatFilesRetrieve.js.map +0 -1
  772. package/dist/commonjs/react-query/clientChatFilesUpload.d.ts +0 -24
  773. package/dist/commonjs/react-query/clientChatFilesUpload.d.ts.map +0 -1
  774. package/dist/commonjs/react-query/clientChatFilesUpload.js +0 -47
  775. package/dist/commonjs/react-query/clientChatFilesUpload.js.map +0 -1
  776. package/dist/commonjs/react-query/clientCollectionsItemDelete.d.ts +0 -23
  777. package/dist/commonjs/react-query/clientCollectionsItemDelete.d.ts.map +0 -1
  778. package/dist/commonjs/react-query/clientCollectionsItemDelete.js +0 -47
  779. package/dist/commonjs/react-query/clientCollectionsItemDelete.js.map +0 -1
  780. package/dist/commonjs/react-query/clientCollectionsItemUpdate.d.ts +0 -23
  781. package/dist/commonjs/react-query/clientCollectionsItemUpdate.d.ts.map +0 -1
  782. package/dist/commonjs/react-query/clientCollectionsItemUpdate.js +0 -47
  783. package/dist/commonjs/react-query/clientCollectionsItemUpdate.js.map +0 -1
  784. package/dist/commonjs/react-query/clientDocumentsPermissionsRetrieve.d.ts +0 -23
  785. package/dist/commonjs/react-query/clientDocumentsPermissionsRetrieve.d.ts.map +0 -1
  786. package/dist/commonjs/react-query/clientDocumentsPermissionsRetrieve.js +0 -47
  787. package/dist/commonjs/react-query/clientDocumentsPermissionsRetrieve.js.map +0 -1
  788. package/dist/commonjs/react-query/clientSearchAdminQuery.d.ts +0 -23
  789. package/dist/commonjs/react-query/clientSearchAdminQuery.d.ts.map +0 -1
  790. package/dist/commonjs/react-query/clientSearchAdminQuery.js +0 -47
  791. package/dist/commonjs/react-query/clientSearchAdminQuery.js.map +0 -1
  792. package/dist/commonjs/react-query/clientSearchFeedRetrieve.d.ts +0 -23
  793. package/dist/commonjs/react-query/clientSearchFeedRetrieve.d.ts.map +0 -1
  794. package/dist/commonjs/react-query/clientSearchFeedRetrieve.js +0 -47
  795. package/dist/commonjs/react-query/clientSearchFeedRetrieve.js.map +0 -1
  796. package/dist/commonjs/react-query/clientShortcutsUpload.d.ts +0 -23
  797. package/dist/commonjs/react-query/clientShortcutsUpload.d.ts.map +0 -1
  798. package/dist/commonjs/react-query/clientShortcutsUpload.js +0 -47
  799. package/dist/commonjs/react-query/clientShortcutsUpload.js.map +0 -1
  800. package/dist/commonjs/react-query/clientSummarizeGenerate.d.ts +0 -23
  801. package/dist/commonjs/react-query/clientSummarizeGenerate.d.ts.map +0 -1
  802. package/dist/commonjs/react-query/clientSummarizeGenerate.js +0 -47
  803. package/dist/commonjs/react-query/clientSummarizeGenerate.js.map +0 -1
  804. package/dist/commonjs/react-query/indexingDatasourcesConfigRetrieve.d.ts +0 -23
  805. package/dist/commonjs/react-query/indexingDatasourcesConfigRetrieve.d.ts.map +0 -1
  806. package/dist/commonjs/react-query/indexingDatasourcesConfigRetrieve.js +0 -47
  807. package/dist/commonjs/react-query/indexingDatasourcesConfigRetrieve.js.map +0 -1
  808. package/dist/commonjs/react-query/indexingTroubleshootingCheckAccess.d.ts +0 -25
  809. package/dist/commonjs/react-query/indexingTroubleshootingCheckAccess.d.ts.map +0 -1
  810. package/dist/commonjs/react-query/indexingTroubleshootingCheckAccess.js +0 -49
  811. package/dist/commonjs/react-query/indexingTroubleshootingCheckAccess.js.map +0 -1
  812. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentDebug.d.ts +0 -26
  813. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentDebug.d.ts.map +0 -1
  814. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentDebug.js +0 -49
  815. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentDebug.js.map +0 -1
  816. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentsDebug.d.ts +0 -26
  817. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentsDebug.d.ts.map +0 -1
  818. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentsDebug.js +0 -49
  819. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceDocumentsDebug.js.map +0 -1
  820. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceStatus.d.ts +0 -25
  821. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceStatus.d.ts.map +0 -1
  822. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceStatus.js +0 -49
  823. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceStatus.js.map +0 -1
  824. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceUserDebug.d.ts +0 -26
  825. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceUserDebug.d.ts.map +0 -1
  826. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceUserDebug.js +0 -49
  827. package/dist/commonjs/react-query/indexingTroubleshootingDatasourceUserDebug.js.map +0 -1
  828. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsCount.d.ts +0 -27
  829. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsCount.d.ts.map +0 -1
  830. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsCount.js +0 -51
  831. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsCount.js.map +0 -1
  832. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsStatus.d.ts +0 -27
  833. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsStatus.d.ts.map +0 -1
  834. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsStatus.js +0 -51
  835. package/dist/commonjs/react-query/indexingTroubleshootingDocumentsStatus.js.map +0 -1
  836. package/dist/commonjs/react-query/indexingTroubleshootingUsersCount.d.ts +0 -27
  837. package/dist/commonjs/react-query/indexingTroubleshootingUsersCount.d.ts.map +0 -1
  838. package/dist/commonjs/react-query/indexingTroubleshootingUsersCount.js +0 -51
  839. package/dist/commonjs/react-query/indexingTroubleshootingUsersCount.js.map +0 -1
  840. package/dist/commonjs/react-query/shortcutsCreateshortcut.d.ts +0 -23
  841. package/dist/commonjs/react-query/shortcutsCreateshortcut.d.ts.map +0 -1
  842. package/dist/commonjs/react-query/shortcutsCreateshortcut.js +0 -47
  843. package/dist/commonjs/react-query/shortcutsCreateshortcut.js.map +0 -1
  844. package/dist/commonjs/react-query/verificationVerify.d.ts +0 -23
  845. package/dist/commonjs/react-query/verificationVerify.d.ts.map +0 -1
  846. package/dist/commonjs/react-query/verificationVerify.js +0 -47
  847. package/dist/commonjs/react-query/verificationVerify.js.map +0 -1
  848. package/dist/commonjs/sdk/agent.d.ts +0 -15
  849. package/dist/commonjs/sdk/agent.d.ts.map +0 -1
  850. package/dist/commonjs/sdk/agent.js +0 -26
  851. package/dist/commonjs/sdk/agent.js.map +0 -1
  852. package/dist/commonjs/sdk/application.d.ts +0 -12
  853. package/dist/commonjs/sdk/application.d.ts.map +0 -1
  854. package/dist/commonjs/sdk/application.js +0 -22
  855. package/dist/commonjs/sdk/application.js.map +0 -1
  856. package/dist/commonjs/sdk/clientverification.d.ts +0 -19
  857. package/dist/commonjs/sdk/clientverification.d.ts.map +0 -1
  858. package/dist/commonjs/sdk/clientverification.js +0 -32
  859. package/dist/commonjs/sdk/clientverification.js.map +0 -1
  860. package/dist/commonjs/sdk/config.d.ts +0 -12
  861. package/dist/commonjs/sdk/config.d.ts.map +0 -1
  862. package/dist/commonjs/sdk/config.js +0 -22
  863. package/dist/commonjs/sdk/config.js.map +0 -1
  864. package/dist/commonjs/sdk/datasourcedocuments.d.ts +0 -14
  865. package/dist/commonjs/sdk/datasourcedocuments.d.ts.map +0 -1
  866. package/dist/commonjs/sdk/datasourcedocuments.js +0 -24
  867. package/dist/commonjs/sdk/datasourcedocuments.js.map +0 -1
  868. package/dist/commonjs/sdk/document.d.ts +0 -14
  869. package/dist/commonjs/sdk/document.d.ts.map +0 -1
  870. package/dist/commonjs/sdk/document.js +0 -24
  871. package/dist/commonjs/sdk/document.js.map +0 -1
  872. package/dist/commonjs/sdk/documentspermissions.d.ts +0 -12
  873. package/dist/commonjs/sdk/documentspermissions.d.ts.map +0 -1
  874. package/dist/commonjs/sdk/documentspermissions.js +0 -22
  875. package/dist/commonjs/sdk/documentspermissions.js.map +0 -1
  876. package/dist/commonjs/sdk/feed.d.ts +0 -12
  877. package/dist/commonjs/sdk/feed.d.ts.map +0 -1
  878. package/dist/commonjs/sdk/feed.js +0 -22
  879. package/dist/commonjs/sdk/feed.js.map +0 -1
  880. package/dist/commonjs/sdk/files.d.ts +0 -26
  881. package/dist/commonjs/sdk/files.d.ts.map +0 -1
  882. package/dist/commonjs/sdk/files.js +0 -42
  883. package/dist/commonjs/sdk/files.js.map +0 -1
  884. package/dist/commonjs/sdk/indexingpermissions.d.ts +0 -89
  885. package/dist/commonjs/sdk/indexingpermissions.d.ts.map +0 -1
  886. package/dist/commonjs/sdk/indexingpermissions.js +0 -132
  887. package/dist/commonjs/sdk/indexingpermissions.js.map +0 -1
  888. package/dist/commonjs/sdk/inputs.d.ts +0 -12
  889. package/dist/commonjs/sdk/inputs.d.ts.map +0 -1
  890. package/dist/commonjs/sdk/inputs.js +0 -22
  891. package/dist/commonjs/sdk/inputs.js.map +0 -1
  892. package/dist/commonjs/sdk/item.d.ts +0 -19
  893. package/dist/commonjs/sdk/item.d.ts.map +0 -1
  894. package/dist/commonjs/sdk/item.js +0 -32
  895. package/dist/commonjs/sdk/item.js.map +0 -1
  896. package/dist/commonjs/sdk/shortcuts.d.ts +0 -12
  897. package/dist/commonjs/sdk/shortcuts.d.ts.map +0 -1
  898. package/dist/commonjs/sdk/shortcuts.js +0 -22
  899. package/dist/commonjs/sdk/shortcuts.js.map +0 -1
  900. package/dist/commonjs/sdk/summarize.d.ts +0 -12
  901. package/dist/commonjs/sdk/summarize.d.ts.map +0 -1
  902. package/dist/commonjs/sdk/summarize.js +0 -22
  903. package/dist/commonjs/sdk/summarize.js.map +0 -1
  904. package/dist/commonjs/sdk/troubleshooting.d.ts +0 -23
  905. package/dist/commonjs/sdk/troubleshooting.d.ts.map +0 -1
  906. package/dist/commonjs/sdk/troubleshooting.js +0 -36
  907. package/dist/commonjs/sdk/troubleshooting.js.map +0 -1
  908. package/dist/commonjs/sdk/troubleshootingdocuments.d.ts +0 -27
  909. package/dist/commonjs/sdk/troubleshootingdocuments.d.ts.map +0 -1
  910. package/dist/commonjs/sdk/troubleshootingdocuments.js +0 -40
  911. package/dist/commonjs/sdk/troubleshootingdocuments.js.map +0 -1
  912. package/dist/commonjs/sdk/user.d.ts +0 -14
  913. package/dist/commonjs/sdk/user.d.ts.map +0 -1
  914. package/dist/commonjs/sdk/user.js +0 -24
  915. package/dist/commonjs/sdk/user.js.map +0 -1
  916. package/dist/commonjs/sdk/users.d.ts +0 -16
  917. package/dist/commonjs/sdk/users.d.ts.map +0 -1
  918. package/dist/commonjs/sdk/users.js +0 -26
  919. package/dist/commonjs/sdk/users.js.map +0 -1
  920. package/dist/esm/funcs/clientAgentsAgentInputsRetrieve.d.ts +0 -16
  921. package/dist/esm/funcs/clientAgentsAgentInputsRetrieve.d.ts.map +0 -1
  922. package/dist/esm/funcs/clientAgentsAgentInputsRetrieve.js +0 -87
  923. package/dist/esm/funcs/clientAgentsAgentInputsRetrieve.js.map +0 -1
  924. package/dist/esm/funcs/clientAgentsAgentRun.d.ts +0 -16
  925. package/dist/esm/funcs/clientAgentsAgentRun.d.ts.map +0 -1
  926. package/dist/esm/funcs/clientAgentsAgentRun.js +0 -85
  927. package/dist/esm/funcs/clientAgentsAgentRun.js.map +0 -1
  928. package/dist/esm/funcs/clientChatApplicationRetrieve.d.ts +0 -16
  929. package/dist/esm/funcs/clientChatApplicationRetrieve.d.ts.map +0 -1
  930. package/dist/esm/funcs/clientChatApplicationRetrieve.js +0 -87
  931. package/dist/esm/funcs/clientChatApplicationRetrieve.js.map +0 -1
  932. package/dist/esm/funcs/clientChatFilesDelete.d.ts +0 -16
  933. package/dist/esm/funcs/clientChatFilesDelete.d.ts.map +0 -1
  934. package/dist/esm/funcs/clientChatFilesDelete.js +0 -87
  935. package/dist/esm/funcs/clientChatFilesDelete.js.map +0 -1
  936. package/dist/esm/funcs/clientChatFilesRetrieve.d.ts +0 -16
  937. package/dist/esm/funcs/clientChatFilesRetrieve.d.ts.map +0 -1
  938. package/dist/esm/funcs/clientChatFilesRetrieve.js +0 -87
  939. package/dist/esm/funcs/clientChatFilesRetrieve.js.map +0 -1
  940. package/dist/esm/funcs/clientChatFilesUpload.d.ts +0 -16
  941. package/dist/esm/funcs/clientChatFilesUpload.d.ts.map +0 -1
  942. package/dist/esm/funcs/clientChatFilesUpload.js +0 -85
  943. package/dist/esm/funcs/clientChatFilesUpload.js.map +0 -1
  944. package/dist/esm/funcs/clientCollectionsItemDelete.d.ts +0 -16
  945. package/dist/esm/funcs/clientCollectionsItemDelete.d.ts.map +0 -1
  946. package/dist/esm/funcs/clientCollectionsItemDelete.js +0 -76
  947. package/dist/esm/funcs/clientCollectionsItemDelete.js.map +0 -1
  948. package/dist/esm/funcs/clientCollectionsItemUpdate.d.ts +0 -16
  949. package/dist/esm/funcs/clientCollectionsItemUpdate.d.ts.map +0 -1
  950. package/dist/esm/funcs/clientCollectionsItemUpdate.js +0 -76
  951. package/dist/esm/funcs/clientCollectionsItemUpdate.js.map +0 -1
  952. package/dist/esm/funcs/clientDocumentsPermissionsRetrieve.d.ts +0 -16
  953. package/dist/esm/funcs/clientDocumentsPermissionsRetrieve.d.ts.map +0 -1
  954. package/dist/esm/funcs/clientDocumentsPermissionsRetrieve.js +0 -76
  955. package/dist/esm/funcs/clientDocumentsPermissionsRetrieve.js.map +0 -1
  956. package/dist/esm/funcs/clientSearchAdminQuery.d.ts +0 -17
  957. package/dist/esm/funcs/clientSearchAdminQuery.d.ts.map +0 -1
  958. package/dist/esm/funcs/clientSearchAdminQuery.js +0 -82
  959. package/dist/esm/funcs/clientSearchAdminQuery.js.map +0 -1
  960. package/dist/esm/funcs/clientSearchFeedRetrieve.d.ts +0 -16
  961. package/dist/esm/funcs/clientSearchFeedRetrieve.d.ts.map +0 -1
  962. package/dist/esm/funcs/clientSearchFeedRetrieve.js +0 -76
  963. package/dist/esm/funcs/clientSearchFeedRetrieve.js.map +0 -1
  964. package/dist/esm/funcs/clientShortcutsUpload.d.ts +0 -16
  965. package/dist/esm/funcs/clientShortcutsUpload.d.ts.map +0 -1
  966. package/dist/esm/funcs/clientShortcutsUpload.js +0 -77
  967. package/dist/esm/funcs/clientShortcutsUpload.js.map +0 -1
  968. package/dist/esm/funcs/clientSummarizeGenerate.d.ts +0 -16
  969. package/dist/esm/funcs/clientSummarizeGenerate.d.ts.map +0 -1
  970. package/dist/esm/funcs/clientSummarizeGenerate.js +0 -76
  971. package/dist/esm/funcs/clientSummarizeGenerate.js.map +0 -1
  972. package/dist/esm/funcs/indexingDatasourcesConfigRetrieve.d.ts +0 -16
  973. package/dist/esm/funcs/indexingDatasourcesConfigRetrieve.d.ts.map +0 -1
  974. package/dist/esm/funcs/indexingDatasourcesConfigRetrieve.js +0 -76
  975. package/dist/esm/funcs/indexingDatasourcesConfigRetrieve.js.map +0 -1
  976. package/dist/esm/funcs/indexingTroubleshootingCheckAccess.d.ts +0 -18
  977. package/dist/esm/funcs/indexingTroubleshootingCheckAccess.d.ts.map +0 -1
  978. package/dist/esm/funcs/indexingTroubleshootingCheckAccess.js +0 -78
  979. package/dist/esm/funcs/indexingTroubleshootingCheckAccess.js.map +0 -1
  980. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentDebug.d.ts +0 -18
  981. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentDebug.d.ts.map +0 -1
  982. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentDebug.js +0 -94
  983. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentDebug.js.map +0 -1
  984. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentsDebug.d.ts +0 -18
  985. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentsDebug.d.ts.map +0 -1
  986. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentsDebug.js +0 -94
  987. package/dist/esm/funcs/indexingTroubleshootingDatasourceDocumentsDebug.js.map +0 -1
  988. package/dist/esm/funcs/indexingTroubleshootingDatasourceStatus.d.ts +0 -18
  989. package/dist/esm/funcs/indexingTroubleshootingDatasourceStatus.d.ts.map +0 -1
  990. package/dist/esm/funcs/indexingTroubleshootingDatasourceStatus.js +0 -90
  991. package/dist/esm/funcs/indexingTroubleshootingDatasourceStatus.js.map +0 -1
  992. package/dist/esm/funcs/indexingTroubleshootingDatasourceUserDebug.d.ts +0 -18
  993. package/dist/esm/funcs/indexingTroubleshootingDatasourceUserDebug.d.ts.map +0 -1
  994. package/dist/esm/funcs/indexingTroubleshootingDatasourceUserDebug.js +0 -91
  995. package/dist/esm/funcs/indexingTroubleshootingDatasourceUserDebug.js.map +0 -1
  996. package/dist/esm/funcs/indexingTroubleshootingDocumentsCount.d.ts +0 -20
  997. package/dist/esm/funcs/indexingTroubleshootingDocumentsCount.d.ts.map +0 -1
  998. package/dist/esm/funcs/indexingTroubleshootingDocumentsCount.js +0 -80
  999. package/dist/esm/funcs/indexingTroubleshootingDocumentsCount.js.map +0 -1
  1000. package/dist/esm/funcs/indexingTroubleshootingDocumentsStatus.d.ts +0 -20
  1001. package/dist/esm/funcs/indexingTroubleshootingDocumentsStatus.d.ts.map +0 -1
  1002. package/dist/esm/funcs/indexingTroubleshootingDocumentsStatus.js +0 -80
  1003. package/dist/esm/funcs/indexingTroubleshootingDocumentsStatus.js.map +0 -1
  1004. package/dist/esm/funcs/indexingTroubleshootingUsersCount.d.ts +0 -20
  1005. package/dist/esm/funcs/indexingTroubleshootingUsersCount.d.ts.map +0 -1
  1006. package/dist/esm/funcs/indexingTroubleshootingUsersCount.js +0 -80
  1007. package/dist/esm/funcs/indexingTroubleshootingUsersCount.js.map +0 -1
  1008. package/dist/esm/funcs/shortcutsCreateshortcut.d.ts +0 -16
  1009. package/dist/esm/funcs/shortcutsCreateshortcut.d.ts.map +0 -1
  1010. package/dist/esm/funcs/shortcutsCreateshortcut.js +0 -76
  1011. package/dist/esm/funcs/shortcutsCreateshortcut.js.map +0 -1
  1012. package/dist/esm/funcs/verificationVerify.d.ts +0 -16
  1013. package/dist/esm/funcs/verificationVerify.d.ts.map +0 -1
  1014. package/dist/esm/funcs/verificationVerify.js +0 -76
  1015. package/dist/esm/funcs/verificationVerify.js.map +0 -1
  1016. package/dist/esm/react-query/clientAgentsAgentInputsRetrieve.d.ts +0 -24
  1017. package/dist/esm/react-query/clientAgentsAgentInputsRetrieve.d.ts.map +0 -1
  1018. package/dist/esm/react-query/clientAgentsAgentInputsRetrieve.js +0 -42
  1019. package/dist/esm/react-query/clientAgentsAgentInputsRetrieve.js.map +0 -1
  1020. package/dist/esm/react-query/clientAgentsAgentRun.d.ts +0 -24
  1021. package/dist/esm/react-query/clientAgentsAgentRun.d.ts.map +0 -1
  1022. package/dist/esm/react-query/clientAgentsAgentRun.js +0 -42
  1023. package/dist/esm/react-query/clientAgentsAgentRun.js.map +0 -1
  1024. package/dist/esm/react-query/clientChatApplicationRetrieve.d.ts +0 -24
  1025. package/dist/esm/react-query/clientChatApplicationRetrieve.d.ts.map +0 -1
  1026. package/dist/esm/react-query/clientChatApplicationRetrieve.js +0 -42
  1027. package/dist/esm/react-query/clientChatApplicationRetrieve.js.map +0 -1
  1028. package/dist/esm/react-query/clientChatFilesDelete.d.ts +0 -24
  1029. package/dist/esm/react-query/clientChatFilesDelete.d.ts.map +0 -1
  1030. package/dist/esm/react-query/clientChatFilesDelete.js +0 -42
  1031. package/dist/esm/react-query/clientChatFilesDelete.js.map +0 -1
  1032. package/dist/esm/react-query/clientChatFilesRetrieve.d.ts +0 -24
  1033. package/dist/esm/react-query/clientChatFilesRetrieve.d.ts.map +0 -1
  1034. package/dist/esm/react-query/clientChatFilesRetrieve.js +0 -42
  1035. package/dist/esm/react-query/clientChatFilesRetrieve.js.map +0 -1
  1036. package/dist/esm/react-query/clientChatFilesUpload.d.ts +0 -24
  1037. package/dist/esm/react-query/clientChatFilesUpload.d.ts.map +0 -1
  1038. package/dist/esm/react-query/clientChatFilesUpload.js +0 -42
  1039. package/dist/esm/react-query/clientChatFilesUpload.js.map +0 -1
  1040. package/dist/esm/react-query/clientCollectionsItemDelete.d.ts +0 -23
  1041. package/dist/esm/react-query/clientCollectionsItemDelete.d.ts.map +0 -1
  1042. package/dist/esm/react-query/clientCollectionsItemDelete.js +0 -42
  1043. package/dist/esm/react-query/clientCollectionsItemDelete.js.map +0 -1
  1044. package/dist/esm/react-query/clientCollectionsItemUpdate.d.ts +0 -23
  1045. package/dist/esm/react-query/clientCollectionsItemUpdate.d.ts.map +0 -1
  1046. package/dist/esm/react-query/clientCollectionsItemUpdate.js +0 -42
  1047. package/dist/esm/react-query/clientCollectionsItemUpdate.js.map +0 -1
  1048. package/dist/esm/react-query/clientDocumentsPermissionsRetrieve.d.ts +0 -23
  1049. package/dist/esm/react-query/clientDocumentsPermissionsRetrieve.d.ts.map +0 -1
  1050. package/dist/esm/react-query/clientDocumentsPermissionsRetrieve.js +0 -42
  1051. package/dist/esm/react-query/clientDocumentsPermissionsRetrieve.js.map +0 -1
  1052. package/dist/esm/react-query/clientSearchAdminQuery.d.ts +0 -23
  1053. package/dist/esm/react-query/clientSearchAdminQuery.d.ts.map +0 -1
  1054. package/dist/esm/react-query/clientSearchAdminQuery.js +0 -42
  1055. package/dist/esm/react-query/clientSearchAdminQuery.js.map +0 -1
  1056. package/dist/esm/react-query/clientSearchFeedRetrieve.d.ts +0 -23
  1057. package/dist/esm/react-query/clientSearchFeedRetrieve.d.ts.map +0 -1
  1058. package/dist/esm/react-query/clientSearchFeedRetrieve.js +0 -42
  1059. package/dist/esm/react-query/clientSearchFeedRetrieve.js.map +0 -1
  1060. package/dist/esm/react-query/clientShortcutsUpload.d.ts +0 -23
  1061. package/dist/esm/react-query/clientShortcutsUpload.d.ts.map +0 -1
  1062. package/dist/esm/react-query/clientShortcutsUpload.js +0 -42
  1063. package/dist/esm/react-query/clientShortcutsUpload.js.map +0 -1
  1064. package/dist/esm/react-query/clientSummarizeGenerate.d.ts +0 -23
  1065. package/dist/esm/react-query/clientSummarizeGenerate.d.ts.map +0 -1
  1066. package/dist/esm/react-query/clientSummarizeGenerate.js +0 -42
  1067. package/dist/esm/react-query/clientSummarizeGenerate.js.map +0 -1
  1068. package/dist/esm/react-query/indexingDatasourcesConfigRetrieve.d.ts +0 -23
  1069. package/dist/esm/react-query/indexingDatasourcesConfigRetrieve.d.ts.map +0 -1
  1070. package/dist/esm/react-query/indexingDatasourcesConfigRetrieve.js +0 -42
  1071. package/dist/esm/react-query/indexingDatasourcesConfigRetrieve.js.map +0 -1
  1072. package/dist/esm/react-query/indexingTroubleshootingCheckAccess.d.ts +0 -25
  1073. package/dist/esm/react-query/indexingTroubleshootingCheckAccess.d.ts.map +0 -1
  1074. package/dist/esm/react-query/indexingTroubleshootingCheckAccess.js +0 -44
  1075. package/dist/esm/react-query/indexingTroubleshootingCheckAccess.js.map +0 -1
  1076. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentDebug.d.ts +0 -26
  1077. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentDebug.d.ts.map +0 -1
  1078. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentDebug.js +0 -44
  1079. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentDebug.js.map +0 -1
  1080. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentsDebug.d.ts +0 -26
  1081. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentsDebug.d.ts.map +0 -1
  1082. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentsDebug.js +0 -44
  1083. package/dist/esm/react-query/indexingTroubleshootingDatasourceDocumentsDebug.js.map +0 -1
  1084. package/dist/esm/react-query/indexingTroubleshootingDatasourceStatus.d.ts +0 -25
  1085. package/dist/esm/react-query/indexingTroubleshootingDatasourceStatus.d.ts.map +0 -1
  1086. package/dist/esm/react-query/indexingTroubleshootingDatasourceStatus.js +0 -44
  1087. package/dist/esm/react-query/indexingTroubleshootingDatasourceStatus.js.map +0 -1
  1088. package/dist/esm/react-query/indexingTroubleshootingDatasourceUserDebug.d.ts +0 -26
  1089. package/dist/esm/react-query/indexingTroubleshootingDatasourceUserDebug.d.ts.map +0 -1
  1090. package/dist/esm/react-query/indexingTroubleshootingDatasourceUserDebug.js +0 -44
  1091. package/dist/esm/react-query/indexingTroubleshootingDatasourceUserDebug.js.map +0 -1
  1092. package/dist/esm/react-query/indexingTroubleshootingDocumentsCount.d.ts +0 -27
  1093. package/dist/esm/react-query/indexingTroubleshootingDocumentsCount.d.ts.map +0 -1
  1094. package/dist/esm/react-query/indexingTroubleshootingDocumentsCount.js +0 -46
  1095. package/dist/esm/react-query/indexingTroubleshootingDocumentsCount.js.map +0 -1
  1096. package/dist/esm/react-query/indexingTroubleshootingDocumentsStatus.d.ts +0 -27
  1097. package/dist/esm/react-query/indexingTroubleshootingDocumentsStatus.d.ts.map +0 -1
  1098. package/dist/esm/react-query/indexingTroubleshootingDocumentsStatus.js +0 -46
  1099. package/dist/esm/react-query/indexingTroubleshootingDocumentsStatus.js.map +0 -1
  1100. package/dist/esm/react-query/indexingTroubleshootingUsersCount.d.ts +0 -27
  1101. package/dist/esm/react-query/indexingTroubleshootingUsersCount.d.ts.map +0 -1
  1102. package/dist/esm/react-query/indexingTroubleshootingUsersCount.js +0 -46
  1103. package/dist/esm/react-query/indexingTroubleshootingUsersCount.js.map +0 -1
  1104. package/dist/esm/react-query/shortcutsCreateshortcut.d.ts +0 -23
  1105. package/dist/esm/react-query/shortcutsCreateshortcut.d.ts.map +0 -1
  1106. package/dist/esm/react-query/shortcutsCreateshortcut.js +0 -42
  1107. package/dist/esm/react-query/shortcutsCreateshortcut.js.map +0 -1
  1108. package/dist/esm/react-query/verificationVerify.d.ts +0 -23
  1109. package/dist/esm/react-query/verificationVerify.d.ts.map +0 -1
  1110. package/dist/esm/react-query/verificationVerify.js +0 -42
  1111. package/dist/esm/react-query/verificationVerify.js.map +0 -1
  1112. package/dist/esm/sdk/agent.d.ts +0 -15
  1113. package/dist/esm/sdk/agent.d.ts.map +0 -1
  1114. package/dist/esm/sdk/agent.js +0 -22
  1115. package/dist/esm/sdk/agent.js.map +0 -1
  1116. package/dist/esm/sdk/application.d.ts +0 -12
  1117. package/dist/esm/sdk/application.d.ts.map +0 -1
  1118. package/dist/esm/sdk/application.js +0 -18
  1119. package/dist/esm/sdk/application.js.map +0 -1
  1120. package/dist/esm/sdk/clientverification.d.ts +0 -19
  1121. package/dist/esm/sdk/clientverification.d.ts.map +0 -1
  1122. package/dist/esm/sdk/clientverification.js +0 -28
  1123. package/dist/esm/sdk/clientverification.js.map +0 -1
  1124. package/dist/esm/sdk/config.d.ts +0 -12
  1125. package/dist/esm/sdk/config.d.ts.map +0 -1
  1126. package/dist/esm/sdk/config.js +0 -18
  1127. package/dist/esm/sdk/config.js.map +0 -1
  1128. package/dist/esm/sdk/datasourcedocuments.d.ts +0 -14
  1129. package/dist/esm/sdk/datasourcedocuments.d.ts.map +0 -1
  1130. package/dist/esm/sdk/datasourcedocuments.js +0 -20
  1131. package/dist/esm/sdk/datasourcedocuments.js.map +0 -1
  1132. package/dist/esm/sdk/document.d.ts +0 -14
  1133. package/dist/esm/sdk/document.d.ts.map +0 -1
  1134. package/dist/esm/sdk/document.js +0 -20
  1135. package/dist/esm/sdk/document.js.map +0 -1
  1136. package/dist/esm/sdk/documentspermissions.d.ts +0 -12
  1137. package/dist/esm/sdk/documentspermissions.d.ts.map +0 -1
  1138. package/dist/esm/sdk/documentspermissions.js +0 -18
  1139. package/dist/esm/sdk/documentspermissions.js.map +0 -1
  1140. package/dist/esm/sdk/feed.d.ts +0 -12
  1141. package/dist/esm/sdk/feed.d.ts.map +0 -1
  1142. package/dist/esm/sdk/feed.js +0 -18
  1143. package/dist/esm/sdk/feed.js.map +0 -1
  1144. package/dist/esm/sdk/files.d.ts +0 -26
  1145. package/dist/esm/sdk/files.d.ts.map +0 -1
  1146. package/dist/esm/sdk/files.js +0 -38
  1147. package/dist/esm/sdk/files.js.map +0 -1
  1148. package/dist/esm/sdk/indexingpermissions.d.ts +0 -89
  1149. package/dist/esm/sdk/indexingpermissions.d.ts.map +0 -1
  1150. package/dist/esm/sdk/indexingpermissions.js +0 -128
  1151. package/dist/esm/sdk/indexingpermissions.js.map +0 -1
  1152. package/dist/esm/sdk/inputs.d.ts +0 -12
  1153. package/dist/esm/sdk/inputs.d.ts.map +0 -1
  1154. package/dist/esm/sdk/inputs.js +0 -18
  1155. package/dist/esm/sdk/inputs.js.map +0 -1
  1156. package/dist/esm/sdk/item.d.ts +0 -19
  1157. package/dist/esm/sdk/item.d.ts.map +0 -1
  1158. package/dist/esm/sdk/item.js +0 -28
  1159. package/dist/esm/sdk/item.js.map +0 -1
  1160. package/dist/esm/sdk/shortcuts.d.ts +0 -12
  1161. package/dist/esm/sdk/shortcuts.d.ts.map +0 -1
  1162. package/dist/esm/sdk/shortcuts.js +0 -18
  1163. package/dist/esm/sdk/shortcuts.js.map +0 -1
  1164. package/dist/esm/sdk/summarize.d.ts +0 -12
  1165. package/dist/esm/sdk/summarize.d.ts.map +0 -1
  1166. package/dist/esm/sdk/summarize.js +0 -18
  1167. package/dist/esm/sdk/summarize.js.map +0 -1
  1168. package/dist/esm/sdk/troubleshooting.d.ts +0 -23
  1169. package/dist/esm/sdk/troubleshooting.d.ts.map +0 -1
  1170. package/dist/esm/sdk/troubleshooting.js +0 -32
  1171. package/dist/esm/sdk/troubleshooting.js.map +0 -1
  1172. package/dist/esm/sdk/troubleshootingdocuments.d.ts +0 -27
  1173. package/dist/esm/sdk/troubleshootingdocuments.d.ts.map +0 -1
  1174. package/dist/esm/sdk/troubleshootingdocuments.js +0 -36
  1175. package/dist/esm/sdk/troubleshootingdocuments.js.map +0 -1
  1176. package/dist/esm/sdk/user.d.ts +0 -14
  1177. package/dist/esm/sdk/user.d.ts.map +0 -1
  1178. package/dist/esm/sdk/user.js +0 -20
  1179. package/dist/esm/sdk/user.js.map +0 -1
  1180. package/dist/esm/sdk/users.d.ts +0 -16
  1181. package/dist/esm/sdk/users.d.ts.map +0 -1
  1182. package/dist/esm/sdk/users.js +0 -22
  1183. package/dist/esm/sdk/users.js.map +0 -1
  1184. package/docs/sdks/agent/README.md +0 -98
  1185. package/docs/sdks/application/README.md +0 -102
  1186. package/docs/sdks/clientverification/README.md +0 -191
  1187. package/docs/sdks/config/README.md +0 -101
  1188. package/docs/sdks/datasourcedocuments/README.md +0 -124
  1189. package/docs/sdks/document/README.md +0 -108
  1190. package/docs/sdks/documentspermissions/README.md +0 -97
  1191. package/docs/sdks/feed/README.md +0 -97
  1192. package/docs/sdks/files/README.md +0 -300
  1193. package/docs/sdks/indexingpermissions/README.md +0 -1208
  1194. package/docs/sdks/inputs/README.md +0 -98
  1195. package/docs/sdks/item/README.md +0 -199
  1196. package/docs/sdks/shortcuts/README.md +0 -223
  1197. package/docs/sdks/summarize/README.md +0 -107
  1198. package/docs/sdks/troubleshooting/README.md +0 -110
  1199. package/docs/sdks/troubleshootingdocuments/README.md +0 -209
  1200. package/docs/sdks/user/README.md +0 -106
  1201. package/docs/sdks/users/README.md +0 -106
  1202. package/src/funcs/clientAgentsAgentInputsRetrieve.ts +0 -170
  1203. package/src/funcs/clientAgentsAgentRun.ts +0 -168
  1204. package/src/funcs/clientChatApplicationRetrieve.ts +0 -170
  1205. package/src/funcs/clientChatFilesDelete.ts +0 -171
  1206. package/src/funcs/clientChatFilesRetrieve.ts +0 -170
  1207. package/src/funcs/clientChatFilesUpload.ts +0 -169
  1208. package/src/funcs/clientCollectionsItemDelete.ts +0 -155
  1209. package/src/funcs/clientCollectionsItemUpdate.ts +0 -154
  1210. package/src/funcs/clientDocumentsPermissionsRetrieve.ts +0 -154
  1211. package/src/funcs/clientSearchAdminQuery.ts +0 -165
  1212. package/src/funcs/clientSearchFeedRetrieve.ts +0 -154
  1213. package/src/funcs/clientShortcutsUpload.ts +0 -155
  1214. package/src/funcs/clientSummarizeGenerate.ts +0 -154
  1215. package/src/funcs/indexingDatasourcesConfigRetrieve.ts +0 -155
  1216. package/src/funcs/indexingTroubleshootingCheckAccess.ts +0 -157
  1217. package/src/funcs/indexingTroubleshootingDatasourceDocumentDebug.ts +0 -180
  1218. package/src/funcs/indexingTroubleshootingDatasourceDocumentsDebug.ts +0 -180
  1219. package/src/funcs/indexingTroubleshootingDatasourceStatus.ts +0 -173
  1220. package/src/funcs/indexingTroubleshootingDatasourceUserDebug.ts +0 -177
  1221. package/src/funcs/indexingTroubleshootingDocumentsCount.ts +0 -158
  1222. package/src/funcs/indexingTroubleshootingDocumentsStatus.ts +0 -158
  1223. package/src/funcs/indexingTroubleshootingUsersCount.ts +0 -158
  1224. package/src/funcs/shortcutsCreateshortcut.ts +0 -154
  1225. package/src/funcs/verificationVerify.ts +0 -154
  1226. package/src/react-query/clientAgentsAgentInputsRetrieve.ts +0 -92
  1227. package/src/react-query/clientAgentsAgentRun.ts +0 -91
  1228. package/src/react-query/clientChatApplicationRetrieve.ts +0 -92
  1229. package/src/react-query/clientChatFilesDelete.ts +0 -91
  1230. package/src/react-query/clientChatFilesRetrieve.ts +0 -92
  1231. package/src/react-query/clientChatFilesUpload.ts +0 -92
  1232. package/src/react-query/clientCollectionsItemDelete.ts +0 -89
  1233. package/src/react-query/clientCollectionsItemUpdate.ts +0 -89
  1234. package/src/react-query/clientDocumentsPermissionsRetrieve.ts +0 -89
  1235. package/src/react-query/clientSearchAdminQuery.ts +0 -88
  1236. package/src/react-query/clientSearchFeedRetrieve.ts +0 -88
  1237. package/src/react-query/clientShortcutsUpload.ts +0 -88
  1238. package/src/react-query/clientSummarizeGenerate.ts +0 -88
  1239. package/src/react-query/indexingDatasourcesConfigRetrieve.ts +0 -89
  1240. package/src/react-query/indexingTroubleshootingCheckAccess.ts +0 -91
  1241. package/src/react-query/indexingTroubleshootingDatasourceDocumentDebug.ts +0 -98
  1242. package/src/react-query/indexingTroubleshootingDatasourceDocumentsDebug.ts +0 -98
  1243. package/src/react-query/indexingTroubleshootingDatasourceStatus.ts +0 -91
  1244. package/src/react-query/indexingTroubleshootingDatasourceUserDebug.ts +0 -94
  1245. package/src/react-query/indexingTroubleshootingDocumentsCount.ts +0 -93
  1246. package/src/react-query/indexingTroubleshootingDocumentsStatus.ts +0 -93
  1247. package/src/react-query/indexingTroubleshootingUsersCount.ts +0 -93
  1248. package/src/react-query/shortcutsCreateshortcut.ts +0 -89
  1249. package/src/react-query/verificationVerify.ts +0 -88
  1250. package/src/sdk/agent.ts +0 -35
  1251. package/src/sdk/application.ts +0 -29
  1252. package/src/sdk/clientverification.ts +0 -45
  1253. package/src/sdk/config.ts +0 -27
  1254. package/src/sdk/datasourcedocuments.ts +0 -31
  1255. package/src/sdk/document.ts +0 -31
  1256. package/src/sdk/documentspermissions.ts +0 -27
  1257. package/src/sdk/feed.ts +0 -27
  1258. package/src/sdk/files.ts +0 -69
  1259. package/src/sdk/indexingpermissions.ts +0 -225
  1260. package/src/sdk/inputs.ts +0 -29
  1261. package/src/sdk/item.ts +0 -45
  1262. package/src/sdk/shortcuts.ts +0 -27
  1263. package/src/sdk/summarize.ts +0 -27
  1264. package/src/sdk/troubleshooting.ts +0 -47
  1265. package/src/sdk/troubleshootingdocuments.ts +0 -53
  1266. package/src/sdk/user.ts +0 -31
  1267. package/src/sdk/users.ts +0 -31
@@ -24,7 +24,7 @@ Add items to a Collection.
24
24
  import { Glean } from "@gleanwork/api-client";
25
25
 
26
26
  const glean = new Glean({
27
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
27
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
28
28
  });
29
29
 
30
30
  async function run() {
@@ -50,7 +50,7 @@ import { clientCollectionsAddItems } from "@gleanwork/api-client/funcs/clientCol
50
50
  // Use `GleanCore` for best tree-shaking performance.
51
51
  // You can create one instance of it to use across an application.
52
52
  const glean = new GleanCore({
53
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
53
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
54
54
  });
55
55
 
56
56
  async function run() {
@@ -118,7 +118,7 @@ import { Glean } from "@gleanwork/api-client";
118
118
  import { RFCDate } from "@gleanwork/api-client/types";
119
119
 
120
120
  const glean = new Glean({
121
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
121
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
122
122
  });
123
123
 
124
124
  async function run() {
@@ -129,7 +129,324 @@ async function run() {
129
129
  person: {
130
130
  name: "George Clooney",
131
131
  obfuscatedId: "abc123",
132
- relatedDocuments: [],
132
+ relatedDocuments: [
133
+ {
134
+ querySuggestion: {
135
+ query: "app:github type:pull author:mortimer",
136
+ searchProviderInfo: {
137
+ name: "Google",
138
+ searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
139
+ },
140
+ label: "Mortimer's PRs",
141
+ datasource: "github",
142
+ requestOptions: {
143
+ datasourceFilter: "JIRA",
144
+ datasourcesFilter: [
145
+ "JIRA",
146
+ ],
147
+ queryOverridesFacetFilters: true,
148
+ facetFilters: [
149
+ {
150
+ fieldName: "type",
151
+ values: [
152
+ {
153
+ value: "Spreadsheet",
154
+ relationType: "EQUALS",
155
+ },
156
+ {
157
+ value: "Presentation",
158
+ relationType: "EQUALS",
159
+ },
160
+ ],
161
+ },
162
+ ],
163
+ facetFilterSets: [
164
+ {
165
+ filters: [
166
+ {
167
+ fieldName: "type",
168
+ values: [
169
+ {
170
+ value: "Spreadsheet",
171
+ relationType: "EQUALS",
172
+ },
173
+ {
174
+ value: "Presentation",
175
+ relationType: "EQUALS",
176
+ },
177
+ ],
178
+ },
179
+ ],
180
+ },
181
+ {
182
+ filters: [
183
+ {
184
+ fieldName: "type",
185
+ values: [
186
+ {
187
+ value: "Spreadsheet",
188
+ relationType: "EQUALS",
189
+ },
190
+ {
191
+ value: "Presentation",
192
+ relationType: "EQUALS",
193
+ },
194
+ ],
195
+ },
196
+ ],
197
+ },
198
+ ],
199
+ facetBucketSize: 134365,
200
+ authTokens: [
201
+ {
202
+ accessToken: "123abc",
203
+ datasource: "gmail",
204
+ scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
205
+ tokenType: "Bearer",
206
+ authUser: "1",
207
+ },
208
+ ],
209
+ },
210
+ ranges: [
211
+ {
212
+ startIndex: 796474,
213
+ document: {
214
+ metadata: {
215
+ datasource: "datasource",
216
+ objectType: "Feature Request",
217
+ container: "container",
218
+ parentId: "JIRA_EN-1337",
219
+ mimeType: "mimeType",
220
+ documentId: "documentId",
221
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
222
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
223
+ components: [
224
+ "Backend",
225
+ "Networking",
226
+ ],
227
+ status: "[\"Done\"]",
228
+ pins: [
229
+ {
230
+ audienceFilters: [
231
+ {
232
+ fieldName: "type",
233
+ values: [
234
+ {
235
+ value: "Spreadsheet",
236
+ relationType: "EQUALS",
237
+ },
238
+ {
239
+ value: "Presentation",
240
+ relationType: "EQUALS",
241
+ },
242
+ ],
243
+ },
244
+ ],
245
+ documentId: "<id>",
246
+ },
247
+ {
248
+ audienceFilters: [
249
+ {
250
+ fieldName: "type",
251
+ values: [
252
+ {
253
+ value: "Spreadsheet",
254
+ relationType: "EQUALS",
255
+ },
256
+ {
257
+ value: "Presentation",
258
+ relationType: "EQUALS",
259
+ },
260
+ ],
261
+ },
262
+ ],
263
+ documentId: "<id>",
264
+ },
265
+ {
266
+ audienceFilters: [
267
+ {
268
+ fieldName: "type",
269
+ values: [
270
+ {
271
+ value: "Spreadsheet",
272
+ relationType: "EQUALS",
273
+ },
274
+ {
275
+ value: "Presentation",
276
+ relationType: "EQUALS",
277
+ },
278
+ ],
279
+ },
280
+ ],
281
+ documentId: "<id>",
282
+ },
283
+ ],
284
+ collections: [
285
+ {
286
+ name: "<value>",
287
+ description: "fumigate convection though zowie",
288
+ audienceFilters: [
289
+ {
290
+ fieldName: "type",
291
+ values: [
292
+ {
293
+ value: "Spreadsheet",
294
+ relationType: "EQUALS",
295
+ },
296
+ {
297
+ value: "Presentation",
298
+ relationType: "EQUALS",
299
+ },
300
+ ],
301
+ },
302
+ ],
303
+ id: 496323,
304
+ items: [
305
+ {
306
+ collectionId: 782367,
307
+ shortcut: {
308
+ inputAlias: "<value>",
309
+ },
310
+ itemType: "URL",
311
+ },
312
+ ],
313
+ },
314
+ ],
315
+ interactions: {
316
+ reacts: [
317
+ {},
318
+ {},
319
+ {},
320
+ ],
321
+ shares: [
322
+ {
323
+ numDaysAgo: 219974,
324
+ },
325
+ {
326
+ numDaysAgo: 449221,
327
+ },
328
+ {
329
+ numDaysAgo: 427887,
330
+ },
331
+ ],
332
+ },
333
+ verification: {
334
+ state: "VERIFIED",
335
+ metadata: {
336
+ reminders: [
337
+ {
338
+ assignee: {
339
+ name: "George Clooney",
340
+ obfuscatedId: "abc123",
341
+ },
342
+ remindAt: 491427,
343
+ },
344
+ ],
345
+ lastReminder: {
346
+ assignee: {
347
+ name: "George Clooney",
348
+ obfuscatedId: "abc123",
349
+ },
350
+ remindAt: 490420,
351
+ },
352
+ },
353
+ },
354
+ shortcuts: [
355
+ {
356
+ inputAlias: "<value>",
357
+ },
358
+ ],
359
+ customData: {
360
+ "someCustomField": {},
361
+ },
362
+ },
363
+ },
364
+ },
365
+ ],
366
+ inputDetails: {
367
+ hasCopyPaste: true,
368
+ },
369
+ },
370
+ results: [
371
+ {
372
+ title: "title",
373
+ url: "https://example.com/foo/bar",
374
+ nativeAppUrl: "slack://foo/bar",
375
+ snippets: [
376
+ {
377
+ snippet: "snippet",
378
+ mimeType: "mimeType",
379
+ },
380
+ ],
381
+ },
382
+ ],
383
+ },
384
+ {
385
+ querySuggestion: {
386
+ query: "app:github type:pull author:mortimer",
387
+ searchProviderInfo: {
388
+ name: "Google",
389
+ searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
390
+ },
391
+ label: "Mortimer's PRs",
392
+ datasource: "github",
393
+ requestOptions: {
394
+ datasourceFilter: "JIRA",
395
+ datasourcesFilter: [
396
+ "JIRA",
397
+ ],
398
+ queryOverridesFacetFilters: true,
399
+ facetFilters: [
400
+ {
401
+ fieldName: "type",
402
+ values: [
403
+ {
404
+ value: "Spreadsheet",
405
+ relationType: "EQUALS",
406
+ },
407
+ {
408
+ value: "Presentation",
409
+ relationType: "EQUALS",
410
+ },
411
+ ],
412
+ },
413
+ ],
414
+ facetFilterSets: [
415
+ {
416
+ filters: [
417
+ {
418
+ fieldName: "type",
419
+ values: [
420
+ {
421
+ value: "Spreadsheet",
422
+ relationType: "EQUALS",
423
+ },
424
+ {
425
+ value: "Presentation",
426
+ relationType: "EQUALS",
427
+ },
428
+ ],
429
+ },
430
+ ],
431
+ },
432
+ ],
433
+ facetBucketSize: 129663,
434
+ authTokens: [
435
+ {
436
+ accessToken: "123abc",
437
+ datasource: "gmail",
438
+ scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
439
+ tokenType: "Bearer",
440
+ authUser: "1",
441
+ },
442
+ ],
443
+ },
444
+ inputDetails: {
445
+ hasCopyPaste: true,
446
+ },
447
+ },
448
+ },
449
+ ],
133
450
  metadata: {
134
451
  type: "FULL_TIME",
135
452
  title: "Actor",
@@ -146,12 +463,32 @@ async function run() {
146
463
  },
147
464
  ],
148
465
  querySuggestions: {
149
- suggestions: [],
466
+ suggestions: [
467
+ {
468
+ query: "app:github type:pull author:mortimer",
469
+ label: "Mortimer's PRs",
470
+ datasource: "github",
471
+ },
472
+ ],
150
473
  },
151
474
  inviteInfo: {
152
- invites: [],
475
+ invites: [
476
+ {},
477
+ {},
478
+ ],
153
479
  },
154
- customFields: [],
480
+ customFields: [
481
+ {
482
+ label: "<value>",
483
+ values: [
484
+ {},
485
+ ],
486
+ },
487
+ {
488
+ label: "<value>",
489
+ values: [],
490
+ },
491
+ ],
155
492
  badges: [
156
493
  {
157
494
  key: "deployment_name_new_hire",
@@ -169,17 +506,161 @@ async function run() {
169
506
  role: "OWNER",
170
507
  },
171
508
  {
509
+ person: {
510
+ name: "George Clooney",
511
+ obfuscatedId: "abc123",
512
+ metadata: {
513
+ type: "FULL_TIME",
514
+ title: "Actor",
515
+ department: "Movies",
516
+ email: "george@example.com",
517
+ location: "Hollywood, CA",
518
+ phone: "6505551234",
519
+ photoUrl: "https://example.com/george.jpg",
520
+ startDate: new RFCDate("2000-01-23"),
521
+ datasourceProfile: [
522
+ {
523
+ datasource: "github",
524
+ handle: "<value>",
525
+ },
526
+ ],
527
+ querySuggestions: {},
528
+ inviteInfo: {},
529
+ badges: [
530
+ {
531
+ key: "deployment_name_new_hire",
532
+ displayName: "New hire",
533
+ iconConfig: {
534
+ color: "#343CED",
535
+ key: "person_icon",
536
+ iconType: "GLYPH",
537
+ name: "user",
538
+ },
539
+ },
540
+ ],
541
+ },
542
+ },
172
543
  role: "VERIFIER",
173
544
  },
174
545
  ],
175
546
  removedRoles: [
176
547
  {
548
+ person: {
549
+ name: "George Clooney",
550
+ obfuscatedId: "abc123",
551
+ metadata: {
552
+ type: "FULL_TIME",
553
+ title: "Actor",
554
+ department: "Movies",
555
+ email: "george@example.com",
556
+ location: "Hollywood, CA",
557
+ phone: "6505551234",
558
+ photoUrl: "https://example.com/george.jpg",
559
+ startDate: new RFCDate("2000-01-23"),
560
+ datasourceProfile: [
561
+ {
562
+ datasource: "github",
563
+ handle: "<value>",
564
+ },
565
+ ],
566
+ querySuggestions: {},
567
+ inviteInfo: {},
568
+ badges: [
569
+ {
570
+ key: "deployment_name_new_hire",
571
+ displayName: "New hire",
572
+ iconConfig: {
573
+ color: "#343CED",
574
+ key: "person_icon",
575
+ iconType: "GLYPH",
576
+ name: "user",
577
+ },
578
+ },
579
+ ],
580
+ },
581
+ },
177
582
  role: "VERIFIER",
178
583
  },
179
584
  {
585
+ person: {
586
+ name: "George Clooney",
587
+ obfuscatedId: "abc123",
588
+ metadata: {
589
+ type: "FULL_TIME",
590
+ title: "Actor",
591
+ department: "Movies",
592
+ email: "george@example.com",
593
+ location: "Hollywood, CA",
594
+ phone: "6505551234",
595
+ photoUrl: "https://example.com/george.jpg",
596
+ startDate: new RFCDate("2000-01-23"),
597
+ datasourceProfile: [
598
+ {
599
+ datasource: "github",
600
+ handle: "<value>",
601
+ },
602
+ {
603
+ datasource: "github",
604
+ handle: "<value>",
605
+ },
606
+ {
607
+ datasource: "github",
608
+ handle: "<value>",
609
+ },
610
+ ],
611
+ querySuggestions: {},
612
+ inviteInfo: {},
613
+ badges: [
614
+ {
615
+ key: "deployment_name_new_hire",
616
+ displayName: "New hire",
617
+ iconConfig: {
618
+ color: "#343CED",
619
+ key: "person_icon",
620
+ iconType: "GLYPH",
621
+ name: "user",
622
+ },
623
+ },
624
+ ],
625
+ },
626
+ },
180
627
  role: "ANSWER_MODERATOR",
181
628
  },
182
629
  {
630
+ person: {
631
+ name: "George Clooney",
632
+ obfuscatedId: "abc123",
633
+ metadata: {
634
+ type: "FULL_TIME",
635
+ title: "Actor",
636
+ department: "Movies",
637
+ email: "george@example.com",
638
+ location: "Hollywood, CA",
639
+ phone: "6505551234",
640
+ photoUrl: "https://example.com/george.jpg",
641
+ startDate: new RFCDate("2000-01-23"),
642
+ datasourceProfile: [
643
+ {
644
+ datasource: "github",
645
+ handle: "<value>",
646
+ },
647
+ ],
648
+ querySuggestions: {},
649
+ inviteInfo: {},
650
+ badges: [
651
+ {
652
+ key: "deployment_name_new_hire",
653
+ displayName: "New hire",
654
+ iconConfig: {
655
+ color: "#343CED",
656
+ key: "person_icon",
657
+ iconType: "GLYPH",
658
+ name: "user",
659
+ },
660
+ },
661
+ ],
662
+ },
663
+ },
183
664
  role: "OWNER",
184
665
  },
185
666
  ],
@@ -219,7 +700,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
219
700
  // Use `GleanCore` for best tree-shaking performance.
220
701
  // You can create one instance of it to use across an application.
221
702
  const glean = new GleanCore({
222
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
703
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
223
704
  });
224
705
 
225
706
  async function run() {
@@ -230,7 +711,324 @@ async function run() {
230
711
  person: {
231
712
  name: "George Clooney",
232
713
  obfuscatedId: "abc123",
233
- relatedDocuments: [],
714
+ relatedDocuments: [
715
+ {
716
+ querySuggestion: {
717
+ query: "app:github type:pull author:mortimer",
718
+ searchProviderInfo: {
719
+ name: "Google",
720
+ searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
721
+ },
722
+ label: "Mortimer's PRs",
723
+ datasource: "github",
724
+ requestOptions: {
725
+ datasourceFilter: "JIRA",
726
+ datasourcesFilter: [
727
+ "JIRA",
728
+ ],
729
+ queryOverridesFacetFilters: true,
730
+ facetFilters: [
731
+ {
732
+ fieldName: "type",
733
+ values: [
734
+ {
735
+ value: "Spreadsheet",
736
+ relationType: "EQUALS",
737
+ },
738
+ {
739
+ value: "Presentation",
740
+ relationType: "EQUALS",
741
+ },
742
+ ],
743
+ },
744
+ ],
745
+ facetFilterSets: [
746
+ {
747
+ filters: [
748
+ {
749
+ fieldName: "type",
750
+ values: [
751
+ {
752
+ value: "Spreadsheet",
753
+ relationType: "EQUALS",
754
+ },
755
+ {
756
+ value: "Presentation",
757
+ relationType: "EQUALS",
758
+ },
759
+ ],
760
+ },
761
+ ],
762
+ },
763
+ {
764
+ filters: [
765
+ {
766
+ fieldName: "type",
767
+ values: [
768
+ {
769
+ value: "Spreadsheet",
770
+ relationType: "EQUALS",
771
+ },
772
+ {
773
+ value: "Presentation",
774
+ relationType: "EQUALS",
775
+ },
776
+ ],
777
+ },
778
+ ],
779
+ },
780
+ ],
781
+ facetBucketSize: 134365,
782
+ authTokens: [
783
+ {
784
+ accessToken: "123abc",
785
+ datasource: "gmail",
786
+ scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
787
+ tokenType: "Bearer",
788
+ authUser: "1",
789
+ },
790
+ ],
791
+ },
792
+ ranges: [
793
+ {
794
+ startIndex: 796474,
795
+ document: {
796
+ metadata: {
797
+ datasource: "datasource",
798
+ objectType: "Feature Request",
799
+ container: "container",
800
+ parentId: "JIRA_EN-1337",
801
+ mimeType: "mimeType",
802
+ documentId: "documentId",
803
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
804
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
805
+ components: [
806
+ "Backend",
807
+ "Networking",
808
+ ],
809
+ status: "[\"Done\"]",
810
+ pins: [
811
+ {
812
+ audienceFilters: [
813
+ {
814
+ fieldName: "type",
815
+ values: [
816
+ {
817
+ value: "Spreadsheet",
818
+ relationType: "EQUALS",
819
+ },
820
+ {
821
+ value: "Presentation",
822
+ relationType: "EQUALS",
823
+ },
824
+ ],
825
+ },
826
+ ],
827
+ documentId: "<id>",
828
+ },
829
+ {
830
+ audienceFilters: [
831
+ {
832
+ fieldName: "type",
833
+ values: [
834
+ {
835
+ value: "Spreadsheet",
836
+ relationType: "EQUALS",
837
+ },
838
+ {
839
+ value: "Presentation",
840
+ relationType: "EQUALS",
841
+ },
842
+ ],
843
+ },
844
+ ],
845
+ documentId: "<id>",
846
+ },
847
+ {
848
+ audienceFilters: [
849
+ {
850
+ fieldName: "type",
851
+ values: [
852
+ {
853
+ value: "Spreadsheet",
854
+ relationType: "EQUALS",
855
+ },
856
+ {
857
+ value: "Presentation",
858
+ relationType: "EQUALS",
859
+ },
860
+ ],
861
+ },
862
+ ],
863
+ documentId: "<id>",
864
+ },
865
+ ],
866
+ collections: [
867
+ {
868
+ name: "<value>",
869
+ description: "fumigate convection though zowie",
870
+ audienceFilters: [
871
+ {
872
+ fieldName: "type",
873
+ values: [
874
+ {
875
+ value: "Spreadsheet",
876
+ relationType: "EQUALS",
877
+ },
878
+ {
879
+ value: "Presentation",
880
+ relationType: "EQUALS",
881
+ },
882
+ ],
883
+ },
884
+ ],
885
+ id: 496323,
886
+ items: [
887
+ {
888
+ collectionId: 782367,
889
+ shortcut: {
890
+ inputAlias: "<value>",
891
+ },
892
+ itemType: "URL",
893
+ },
894
+ ],
895
+ },
896
+ ],
897
+ interactions: {
898
+ reacts: [
899
+ {},
900
+ {},
901
+ {},
902
+ ],
903
+ shares: [
904
+ {
905
+ numDaysAgo: 219974,
906
+ },
907
+ {
908
+ numDaysAgo: 449221,
909
+ },
910
+ {
911
+ numDaysAgo: 427887,
912
+ },
913
+ ],
914
+ },
915
+ verification: {
916
+ state: "VERIFIED",
917
+ metadata: {
918
+ reminders: [
919
+ {
920
+ assignee: {
921
+ name: "George Clooney",
922
+ obfuscatedId: "abc123",
923
+ },
924
+ remindAt: 491427,
925
+ },
926
+ ],
927
+ lastReminder: {
928
+ assignee: {
929
+ name: "George Clooney",
930
+ obfuscatedId: "abc123",
931
+ },
932
+ remindAt: 490420,
933
+ },
934
+ },
935
+ },
936
+ shortcuts: [
937
+ {
938
+ inputAlias: "<value>",
939
+ },
940
+ ],
941
+ customData: {
942
+ "someCustomField": {},
943
+ },
944
+ },
945
+ },
946
+ },
947
+ ],
948
+ inputDetails: {
949
+ hasCopyPaste: true,
950
+ },
951
+ },
952
+ results: [
953
+ {
954
+ title: "title",
955
+ url: "https://example.com/foo/bar",
956
+ nativeAppUrl: "slack://foo/bar",
957
+ snippets: [
958
+ {
959
+ snippet: "snippet",
960
+ mimeType: "mimeType",
961
+ },
962
+ ],
963
+ },
964
+ ],
965
+ },
966
+ {
967
+ querySuggestion: {
968
+ query: "app:github type:pull author:mortimer",
969
+ searchProviderInfo: {
970
+ name: "Google",
971
+ searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
972
+ },
973
+ label: "Mortimer's PRs",
974
+ datasource: "github",
975
+ requestOptions: {
976
+ datasourceFilter: "JIRA",
977
+ datasourcesFilter: [
978
+ "JIRA",
979
+ ],
980
+ queryOverridesFacetFilters: true,
981
+ facetFilters: [
982
+ {
983
+ fieldName: "type",
984
+ values: [
985
+ {
986
+ value: "Spreadsheet",
987
+ relationType: "EQUALS",
988
+ },
989
+ {
990
+ value: "Presentation",
991
+ relationType: "EQUALS",
992
+ },
993
+ ],
994
+ },
995
+ ],
996
+ facetFilterSets: [
997
+ {
998
+ filters: [
999
+ {
1000
+ fieldName: "type",
1001
+ values: [
1002
+ {
1003
+ value: "Spreadsheet",
1004
+ relationType: "EQUALS",
1005
+ },
1006
+ {
1007
+ value: "Presentation",
1008
+ relationType: "EQUALS",
1009
+ },
1010
+ ],
1011
+ },
1012
+ ],
1013
+ },
1014
+ ],
1015
+ facetBucketSize: 129663,
1016
+ authTokens: [
1017
+ {
1018
+ accessToken: "123abc",
1019
+ datasource: "gmail",
1020
+ scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
1021
+ tokenType: "Bearer",
1022
+ authUser: "1",
1023
+ },
1024
+ ],
1025
+ },
1026
+ inputDetails: {
1027
+ hasCopyPaste: true,
1028
+ },
1029
+ },
1030
+ },
1031
+ ],
234
1032
  metadata: {
235
1033
  type: "FULL_TIME",
236
1034
  title: "Actor",
@@ -247,12 +1045,32 @@ async function run() {
247
1045
  },
248
1046
  ],
249
1047
  querySuggestions: {
250
- suggestions: [],
1048
+ suggestions: [
1049
+ {
1050
+ query: "app:github type:pull author:mortimer",
1051
+ label: "Mortimer's PRs",
1052
+ datasource: "github",
1053
+ },
1054
+ ],
251
1055
  },
252
1056
  inviteInfo: {
253
- invites: [],
1057
+ invites: [
1058
+ {},
1059
+ {},
1060
+ ],
254
1061
  },
255
- customFields: [],
1062
+ customFields: [
1063
+ {
1064
+ label: "<value>",
1065
+ values: [
1066
+ {},
1067
+ ],
1068
+ },
1069
+ {
1070
+ label: "<value>",
1071
+ values: [],
1072
+ },
1073
+ ],
256
1074
  badges: [
257
1075
  {
258
1076
  key: "deployment_name_new_hire",
@@ -270,32 +1088,176 @@ async function run() {
270
1088
  role: "OWNER",
271
1089
  },
272
1090
  {
1091
+ person: {
1092
+ name: "George Clooney",
1093
+ obfuscatedId: "abc123",
1094
+ metadata: {
1095
+ type: "FULL_TIME",
1096
+ title: "Actor",
1097
+ department: "Movies",
1098
+ email: "george@example.com",
1099
+ location: "Hollywood, CA",
1100
+ phone: "6505551234",
1101
+ photoUrl: "https://example.com/george.jpg",
1102
+ startDate: new RFCDate("2000-01-23"),
1103
+ datasourceProfile: [
1104
+ {
1105
+ datasource: "github",
1106
+ handle: "<value>",
1107
+ },
1108
+ ],
1109
+ querySuggestions: {},
1110
+ inviteInfo: {},
1111
+ badges: [
1112
+ {
1113
+ key: "deployment_name_new_hire",
1114
+ displayName: "New hire",
1115
+ iconConfig: {
1116
+ color: "#343CED",
1117
+ key: "person_icon",
1118
+ iconType: "GLYPH",
1119
+ name: "user",
1120
+ },
1121
+ },
1122
+ ],
1123
+ },
1124
+ },
273
1125
  role: "VERIFIER",
274
1126
  },
275
1127
  ],
276
1128
  removedRoles: [
277
1129
  {
1130
+ person: {
1131
+ name: "George Clooney",
1132
+ obfuscatedId: "abc123",
1133
+ metadata: {
1134
+ type: "FULL_TIME",
1135
+ title: "Actor",
1136
+ department: "Movies",
1137
+ email: "george@example.com",
1138
+ location: "Hollywood, CA",
1139
+ phone: "6505551234",
1140
+ photoUrl: "https://example.com/george.jpg",
1141
+ startDate: new RFCDate("2000-01-23"),
1142
+ datasourceProfile: [
1143
+ {
1144
+ datasource: "github",
1145
+ handle: "<value>",
1146
+ },
1147
+ ],
1148
+ querySuggestions: {},
1149
+ inviteInfo: {},
1150
+ badges: [
1151
+ {
1152
+ key: "deployment_name_new_hire",
1153
+ displayName: "New hire",
1154
+ iconConfig: {
1155
+ color: "#343CED",
1156
+ key: "person_icon",
1157
+ iconType: "GLYPH",
1158
+ name: "user",
1159
+ },
1160
+ },
1161
+ ],
1162
+ },
1163
+ },
278
1164
  role: "VERIFIER",
279
1165
  },
280
1166
  {
281
- role: "ANSWER_MODERATOR",
282
- },
283
- {
284
- role: "OWNER",
285
- },
286
- ],
287
- audienceFilters: [
288
- {
289
- fieldName: "type",
290
- values: [
291
- {
292
- value: "Spreadsheet",
293
- relationType: "EQUALS",
294
- },
295
- {
296
- value: "Presentation",
297
- relationType: "EQUALS",
298
- },
1167
+ person: {
1168
+ name: "George Clooney",
1169
+ obfuscatedId: "abc123",
1170
+ metadata: {
1171
+ type: "FULL_TIME",
1172
+ title: "Actor",
1173
+ department: "Movies",
1174
+ email: "george@example.com",
1175
+ location: "Hollywood, CA",
1176
+ phone: "6505551234",
1177
+ photoUrl: "https://example.com/george.jpg",
1178
+ startDate: new RFCDate("2000-01-23"),
1179
+ datasourceProfile: [
1180
+ {
1181
+ datasource: "github",
1182
+ handle: "<value>",
1183
+ },
1184
+ {
1185
+ datasource: "github",
1186
+ handle: "<value>",
1187
+ },
1188
+ {
1189
+ datasource: "github",
1190
+ handle: "<value>",
1191
+ },
1192
+ ],
1193
+ querySuggestions: {},
1194
+ inviteInfo: {},
1195
+ badges: [
1196
+ {
1197
+ key: "deployment_name_new_hire",
1198
+ displayName: "New hire",
1199
+ iconConfig: {
1200
+ color: "#343CED",
1201
+ key: "person_icon",
1202
+ iconType: "GLYPH",
1203
+ name: "user",
1204
+ },
1205
+ },
1206
+ ],
1207
+ },
1208
+ },
1209
+ role: "ANSWER_MODERATOR",
1210
+ },
1211
+ {
1212
+ person: {
1213
+ name: "George Clooney",
1214
+ obfuscatedId: "abc123",
1215
+ metadata: {
1216
+ type: "FULL_TIME",
1217
+ title: "Actor",
1218
+ department: "Movies",
1219
+ email: "george@example.com",
1220
+ location: "Hollywood, CA",
1221
+ phone: "6505551234",
1222
+ photoUrl: "https://example.com/george.jpg",
1223
+ startDate: new RFCDate("2000-01-23"),
1224
+ datasourceProfile: [
1225
+ {
1226
+ datasource: "github",
1227
+ handle: "<value>",
1228
+ },
1229
+ ],
1230
+ querySuggestions: {},
1231
+ inviteInfo: {},
1232
+ badges: [
1233
+ {
1234
+ key: "deployment_name_new_hire",
1235
+ displayName: "New hire",
1236
+ iconConfig: {
1237
+ color: "#343CED",
1238
+ key: "person_icon",
1239
+ iconType: "GLYPH",
1240
+ name: "user",
1241
+ },
1242
+ },
1243
+ ],
1244
+ },
1245
+ },
1246
+ role: "OWNER",
1247
+ },
1248
+ ],
1249
+ audienceFilters: [
1250
+ {
1251
+ fieldName: "type",
1252
+ values: [
1253
+ {
1254
+ value: "Spreadsheet",
1255
+ relationType: "EQUALS",
1256
+ },
1257
+ {
1258
+ value: "Presentation",
1259
+ relationType: "EQUALS",
1260
+ },
299
1261
  ],
300
1262
  },
301
1263
  ],
@@ -361,7 +1323,7 @@ Delete a Collection given the Collection's ID.
361
1323
  import { Glean } from "@gleanwork/api-client";
362
1324
 
363
1325
  const glean = new Glean({
364
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
1326
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
365
1327
  });
366
1328
 
367
1329
  async function run() {
@@ -389,7 +1351,7 @@ import { clientCollectionsDelete } from "@gleanwork/api-client/funcs/clientColle
389
1351
  // Use `GleanCore` for best tree-shaking performance.
390
1352
  // You can create one instance of it to use across an application.
391
1353
  const glean = new GleanCore({
392
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
1354
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
393
1355
  });
394
1356
 
395
1357
  async function run() {
@@ -459,7 +1421,7 @@ Delete a single item from a Collection.
459
1421
  import { Glean } from "@gleanwork/api-client";
460
1422
 
461
1423
  const glean = new Glean({
462
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
1424
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
463
1425
  });
464
1426
 
465
1427
  async function run() {
@@ -486,7 +1448,7 @@ import { clientCollectionsDeleteItem } from "@gleanwork/api-client/funcs/clientC
486
1448
  // Use `GleanCore` for best tree-shaking performance.
487
1449
  // You can create one instance of it to use across an application.
488
1450
  const glean = new GleanCore({
489
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
1451
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
490
1452
  });
491
1453
 
492
1454
  async function run() {
@@ -555,7 +1517,7 @@ import { Glean } from "@gleanwork/api-client";
555
1517
  import { RFCDate } from "@gleanwork/api-client/types";
556
1518
 
557
1519
  const glean = new Glean({
558
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
1520
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
559
1521
  });
560
1522
 
561
1523
  async function run() {
@@ -566,7 +1528,402 @@ async function run() {
566
1528
  person: {
567
1529
  name: "George Clooney",
568
1530
  obfuscatedId: "abc123",
569
- relatedDocuments: [],
1531
+ relatedDocuments: [
1532
+ {
1533
+ querySuggestion: {
1534
+ query: "app:github type:pull author:mortimer",
1535
+ searchProviderInfo: {
1536
+ name: "Google",
1537
+ searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
1538
+ },
1539
+ label: "Mortimer's PRs",
1540
+ datasource: "github",
1541
+ requestOptions: {
1542
+ datasourceFilter: "JIRA",
1543
+ datasourcesFilter: [
1544
+ "JIRA",
1545
+ ],
1546
+ queryOverridesFacetFilters: true,
1547
+ facetFilters: [
1548
+ {
1549
+ fieldName: "type",
1550
+ values: [
1551
+ {
1552
+ value: "Spreadsheet",
1553
+ relationType: "EQUALS",
1554
+ },
1555
+ {
1556
+ value: "Presentation",
1557
+ relationType: "EQUALS",
1558
+ },
1559
+ ],
1560
+ },
1561
+ ],
1562
+ facetFilterSets: [
1563
+ {
1564
+ filters: [
1565
+ {
1566
+ fieldName: "type",
1567
+ values: [
1568
+ {
1569
+ value: "Spreadsheet",
1570
+ relationType: "EQUALS",
1571
+ },
1572
+ {
1573
+ value: "Presentation",
1574
+ relationType: "EQUALS",
1575
+ },
1576
+ ],
1577
+ },
1578
+ ],
1579
+ },
1580
+ {
1581
+ filters: [
1582
+ {
1583
+ fieldName: "type",
1584
+ values: [
1585
+ {
1586
+ value: "Spreadsheet",
1587
+ relationType: "EQUALS",
1588
+ },
1589
+ {
1590
+ value: "Presentation",
1591
+ relationType: "EQUALS",
1592
+ },
1593
+ ],
1594
+ },
1595
+ ],
1596
+ },
1597
+ ],
1598
+ facetBucketSize: 991464,
1599
+ authTokens: [
1600
+ {
1601
+ accessToken: "123abc",
1602
+ datasource: "gmail",
1603
+ scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
1604
+ tokenType: "Bearer",
1605
+ authUser: "1",
1606
+ },
1607
+ ],
1608
+ },
1609
+ ranges: [
1610
+ {
1611
+ startIndex: 488852,
1612
+ document: {
1613
+ metadata: {
1614
+ datasource: "datasource",
1615
+ objectType: "Feature Request",
1616
+ container: "container",
1617
+ parentId: "JIRA_EN-1337",
1618
+ mimeType: "mimeType",
1619
+ documentId: "documentId",
1620
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
1621
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
1622
+ components: [
1623
+ "Backend",
1624
+ "Networking",
1625
+ ],
1626
+ status: "[\"Done\"]",
1627
+ pins: [
1628
+ {
1629
+ audienceFilters: [
1630
+ {
1631
+ fieldName: "type",
1632
+ values: [
1633
+ {
1634
+ value: "Spreadsheet",
1635
+ relationType: "EQUALS",
1636
+ },
1637
+ {
1638
+ value: "Presentation",
1639
+ relationType: "EQUALS",
1640
+ },
1641
+ ],
1642
+ },
1643
+ ],
1644
+ documentId: "<id>",
1645
+ },
1646
+ {
1647
+ audienceFilters: [
1648
+ {
1649
+ fieldName: "type",
1650
+ values: [
1651
+ {
1652
+ value: "Spreadsheet",
1653
+ relationType: "EQUALS",
1654
+ },
1655
+ {
1656
+ value: "Presentation",
1657
+ relationType: "EQUALS",
1658
+ },
1659
+ ],
1660
+ },
1661
+ ],
1662
+ documentId: "<id>",
1663
+ },
1664
+ {
1665
+ audienceFilters: [
1666
+ {
1667
+ fieldName: "type",
1668
+ values: [
1669
+ {
1670
+ value: "Spreadsheet",
1671
+ relationType: "EQUALS",
1672
+ },
1673
+ {
1674
+ value: "Presentation",
1675
+ relationType: "EQUALS",
1676
+ },
1677
+ ],
1678
+ },
1679
+ ],
1680
+ documentId: "<id>",
1681
+ },
1682
+ ],
1683
+ collections: [
1684
+ {
1685
+ name: "<value>",
1686
+ description: "eulogise whereas till mild than during meanwhile disapprove finer ha",
1687
+ audienceFilters: [
1688
+ {
1689
+ fieldName: "type",
1690
+ values: [
1691
+ {
1692
+ value: "Spreadsheet",
1693
+ relationType: "EQUALS",
1694
+ },
1695
+ {
1696
+ value: "Presentation",
1697
+ relationType: "EQUALS",
1698
+ },
1699
+ ],
1700
+ },
1701
+ ],
1702
+ id: 2984,
1703
+ items: [
1704
+ {
1705
+ collectionId: 477967,
1706
+ shortcut: {
1707
+ inputAlias: "<value>",
1708
+ },
1709
+ itemType: "COLLECTION",
1710
+ },
1711
+ {
1712
+ collectionId: 424273,
1713
+ shortcut: {
1714
+ inputAlias: "<value>",
1715
+ },
1716
+ itemType: "COLLECTION",
1717
+ },
1718
+ ],
1719
+ },
1720
+ ],
1721
+ interactions: {
1722
+ reacts: [
1723
+ {},
1724
+ ],
1725
+ shares: [
1726
+ {
1727
+ numDaysAgo: 301848,
1728
+ },
1729
+ {
1730
+ numDaysAgo: 657278,
1731
+ },
1732
+ ],
1733
+ },
1734
+ verification: {
1735
+ state: "UNVERIFIED",
1736
+ metadata: {
1737
+ reminders: [
1738
+ {
1739
+ assignee: {
1740
+ name: "George Clooney",
1741
+ obfuscatedId: "abc123",
1742
+ },
1743
+ remindAt: 335191,
1744
+ },
1745
+ ],
1746
+ lastReminder: {
1747
+ assignee: {
1748
+ name: "George Clooney",
1749
+ obfuscatedId: "abc123",
1750
+ },
1751
+ remindAt: 532806,
1752
+ },
1753
+ },
1754
+ },
1755
+ shortcuts: [
1756
+ {
1757
+ inputAlias: "<value>",
1758
+ },
1759
+ {
1760
+ inputAlias: "<value>",
1761
+ },
1762
+ {
1763
+ inputAlias: "<value>",
1764
+ },
1765
+ ],
1766
+ customData: {
1767
+ "someCustomField": {},
1768
+ },
1769
+ },
1770
+ },
1771
+ },
1772
+ {
1773
+ startIndex: 463392,
1774
+ document: {
1775
+ metadata: {
1776
+ datasource: "datasource",
1777
+ objectType: "Feature Request",
1778
+ container: "container",
1779
+ parentId: "JIRA_EN-1337",
1780
+ mimeType: "mimeType",
1781
+ documentId: "documentId",
1782
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
1783
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
1784
+ components: [
1785
+ "Backend",
1786
+ "Networking",
1787
+ ],
1788
+ status: "[\"Done\"]",
1789
+ interactions: {},
1790
+ verification: {
1791
+ state: "VERIFIED",
1792
+ metadata: {
1793
+ lastReminder: {
1794
+ assignee: {
1795
+ name: "George Clooney",
1796
+ obfuscatedId: "abc123",
1797
+ },
1798
+ remindAt: 58704,
1799
+ },
1800
+ },
1801
+ },
1802
+ customData: {
1803
+ "someCustomField": {},
1804
+ },
1805
+ },
1806
+ },
1807
+ },
1808
+ ],
1809
+ inputDetails: {
1810
+ hasCopyPaste: true,
1811
+ },
1812
+ },
1813
+ results: [
1814
+ {
1815
+ title: "title",
1816
+ url: "https://example.com/foo/bar",
1817
+ nativeAppUrl: "slack://foo/bar",
1818
+ snippets: [
1819
+ {
1820
+ snippet: "snippet",
1821
+ mimeType: "mimeType",
1822
+ },
1823
+ ],
1824
+ },
1825
+ ],
1826
+ },
1827
+ {
1828
+ querySuggestion: {
1829
+ query: "app:github type:pull author:mortimer",
1830
+ searchProviderInfo: {
1831
+ name: "Google",
1832
+ searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
1833
+ },
1834
+ label: "Mortimer's PRs",
1835
+ datasource: "github",
1836
+ requestOptions: {
1837
+ datasourceFilter: "JIRA",
1838
+ datasourcesFilter: [
1839
+ "JIRA",
1840
+ ],
1841
+ queryOverridesFacetFilters: true,
1842
+ facetFilters: [
1843
+ {
1844
+ fieldName: "type",
1845
+ values: [
1846
+ {
1847
+ value: "Spreadsheet",
1848
+ relationType: "EQUALS",
1849
+ },
1850
+ {
1851
+ value: "Presentation",
1852
+ relationType: "EQUALS",
1853
+ },
1854
+ ],
1855
+ },
1856
+ ],
1857
+ facetFilterSets: [
1858
+ {
1859
+ filters: [
1860
+ {
1861
+ fieldName: "type",
1862
+ values: [
1863
+ {
1864
+ value: "Spreadsheet",
1865
+ relationType: "EQUALS",
1866
+ },
1867
+ {
1868
+ value: "Presentation",
1869
+ relationType: "EQUALS",
1870
+ },
1871
+ ],
1872
+ },
1873
+ ],
1874
+ },
1875
+ {
1876
+ filters: [
1877
+ {
1878
+ fieldName: "type",
1879
+ values: [
1880
+ {
1881
+ value: "Spreadsheet",
1882
+ relationType: "EQUALS",
1883
+ },
1884
+ {
1885
+ value: "Presentation",
1886
+ relationType: "EQUALS",
1887
+ },
1888
+ ],
1889
+ },
1890
+ ],
1891
+ },
1892
+ {
1893
+ filters: [
1894
+ {
1895
+ fieldName: "type",
1896
+ values: [
1897
+ {
1898
+ value: "Spreadsheet",
1899
+ relationType: "EQUALS",
1900
+ },
1901
+ {
1902
+ value: "Presentation",
1903
+ relationType: "EQUALS",
1904
+ },
1905
+ ],
1906
+ },
1907
+ ],
1908
+ },
1909
+ ],
1910
+ facetBucketSize: 326276,
1911
+ authTokens: [
1912
+ {
1913
+ accessToken: "123abc",
1914
+ datasource: "gmail",
1915
+ scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
1916
+ tokenType: "Bearer",
1917
+ authUser: "1",
1918
+ },
1919
+ ],
1920
+ },
1921
+ inputDetails: {
1922
+ hasCopyPaste: true,
1923
+ },
1924
+ },
1925
+ },
1926
+ ],
570
1927
  metadata: {
571
1928
  type: "FULL_TIME",
572
1929
  title: "Actor",
@@ -583,12 +1940,29 @@ async function run() {
583
1940
  },
584
1941
  ],
585
1942
  querySuggestions: {
586
- suggestions: [],
1943
+ suggestions: [
1944
+ {
1945
+ query: "app:github type:pull author:mortimer",
1946
+ label: "Mortimer's PRs",
1947
+ datasource: "github",
1948
+ },
1949
+ ],
587
1950
  },
588
1951
  inviteInfo: {
589
- invites: [],
1952
+ invites: [
1953
+ {},
1954
+ {},
1955
+ {},
1956
+ ],
590
1957
  },
591
- customFields: [],
1958
+ customFields: [
1959
+ {
1960
+ label: "<value>",
1961
+ values: [
1962
+ {},
1963
+ ],
1964
+ },
1965
+ ],
592
1966
  badges: [
593
1967
  {
594
1968
  key: "deployment_name_new_hire",
@@ -606,17 +1980,169 @@ async function run() {
606
1980
  role: "EDITOR",
607
1981
  },
608
1982
  {
1983
+ person: {
1984
+ name: "George Clooney",
1985
+ obfuscatedId: "abc123",
1986
+ metadata: {
1987
+ type: "FULL_TIME",
1988
+ title: "Actor",
1989
+ department: "Movies",
1990
+ email: "george@example.com",
1991
+ location: "Hollywood, CA",
1992
+ phone: "6505551234",
1993
+ photoUrl: "https://example.com/george.jpg",
1994
+ startDate: new RFCDate("2000-01-23"),
1995
+ datasourceProfile: [
1996
+ {
1997
+ datasource: "github",
1998
+ handle: "<value>",
1999
+ },
2000
+ {
2001
+ datasource: "github",
2002
+ handle: "<value>",
2003
+ },
2004
+ ],
2005
+ querySuggestions: {},
2006
+ inviteInfo: {},
2007
+ badges: [
2008
+ {
2009
+ key: "deployment_name_new_hire",
2010
+ displayName: "New hire",
2011
+ iconConfig: {
2012
+ color: "#343CED",
2013
+ key: "person_icon",
2014
+ iconType: "GLYPH",
2015
+ name: "user",
2016
+ },
2017
+ },
2018
+ ],
2019
+ },
2020
+ },
609
2021
  role: "ANSWER_MODERATOR",
610
2022
  },
611
2023
  {
2024
+ person: {
2025
+ name: "George Clooney",
2026
+ obfuscatedId: "abc123",
2027
+ metadata: {
2028
+ type: "FULL_TIME",
2029
+ title: "Actor",
2030
+ department: "Movies",
2031
+ email: "george@example.com",
2032
+ location: "Hollywood, CA",
2033
+ phone: "6505551234",
2034
+ photoUrl: "https://example.com/george.jpg",
2035
+ startDate: new RFCDate("2000-01-23"),
2036
+ datasourceProfile: [
2037
+ {
2038
+ datasource: "github",
2039
+ handle: "<value>",
2040
+ },
2041
+ ],
2042
+ querySuggestions: {},
2043
+ inviteInfo: {},
2044
+ badges: [
2045
+ {
2046
+ key: "deployment_name_new_hire",
2047
+ displayName: "New hire",
2048
+ iconConfig: {
2049
+ color: "#343CED",
2050
+ key: "person_icon",
2051
+ iconType: "GLYPH",
2052
+ name: "user",
2053
+ },
2054
+ },
2055
+ ],
2056
+ },
2057
+ },
612
2058
  role: "OWNER",
613
2059
  },
614
2060
  ],
615
2061
  removedRoles: [
616
2062
  {
2063
+ person: {
2064
+ name: "George Clooney",
2065
+ obfuscatedId: "abc123",
2066
+ metadata: {
2067
+ type: "FULL_TIME",
2068
+ title: "Actor",
2069
+ department: "Movies",
2070
+ email: "george@example.com",
2071
+ location: "Hollywood, CA",
2072
+ phone: "6505551234",
2073
+ photoUrl: "https://example.com/george.jpg",
2074
+ startDate: new RFCDate("2000-01-23"),
2075
+ datasourceProfile: [
2076
+ {
2077
+ datasource: "github",
2078
+ handle: "<value>",
2079
+ },
2080
+ {
2081
+ datasource: "github",
2082
+ handle: "<value>",
2083
+ },
2084
+ {
2085
+ datasource: "github",
2086
+ handle: "<value>",
2087
+ },
2088
+ ],
2089
+ querySuggestions: {},
2090
+ inviteInfo: {},
2091
+ badges: [
2092
+ {
2093
+ key: "deployment_name_new_hire",
2094
+ displayName: "New hire",
2095
+ iconConfig: {
2096
+ color: "#343CED",
2097
+ key: "person_icon",
2098
+ iconType: "GLYPH",
2099
+ name: "user",
2100
+ },
2101
+ },
2102
+ ],
2103
+ },
2104
+ },
617
2105
  role: "OWNER",
618
2106
  },
619
2107
  {
2108
+ person: {
2109
+ name: "George Clooney",
2110
+ obfuscatedId: "abc123",
2111
+ metadata: {
2112
+ type: "FULL_TIME",
2113
+ title: "Actor",
2114
+ department: "Movies",
2115
+ email: "george@example.com",
2116
+ location: "Hollywood, CA",
2117
+ phone: "6505551234",
2118
+ photoUrl: "https://example.com/george.jpg",
2119
+ startDate: new RFCDate("2000-01-23"),
2120
+ datasourceProfile: [
2121
+ {
2122
+ datasource: "github",
2123
+ handle: "<value>",
2124
+ },
2125
+ {
2126
+ datasource: "github",
2127
+ handle: "<value>",
2128
+ },
2129
+ ],
2130
+ querySuggestions: {},
2131
+ inviteInfo: {},
2132
+ badges: [
2133
+ {
2134
+ key: "deployment_name_new_hire",
2135
+ displayName: "New hire",
2136
+ iconConfig: {
2137
+ color: "#343CED",
2138
+ key: "person_icon",
2139
+ iconType: "GLYPH",
2140
+ name: "user",
2141
+ },
2142
+ },
2143
+ ],
2144
+ },
2145
+ },
620
2146
  role: "VERIFIER",
621
2147
  },
622
2148
  ],
@@ -657,7 +2183,7 @@ import { RFCDate } from "@gleanwork/api-client/types";
657
2183
  // Use `GleanCore` for best tree-shaking performance.
658
2184
  // You can create one instance of it to use across an application.
659
2185
  const glean = new GleanCore({
660
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
2186
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
661
2187
  });
662
2188
 
663
2189
  async function run() {
@@ -668,7 +2194,402 @@ async function run() {
668
2194
  person: {
669
2195
  name: "George Clooney",
670
2196
  obfuscatedId: "abc123",
671
- relatedDocuments: [],
2197
+ relatedDocuments: [
2198
+ {
2199
+ querySuggestion: {
2200
+ query: "app:github type:pull author:mortimer",
2201
+ searchProviderInfo: {
2202
+ name: "Google",
2203
+ searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
2204
+ },
2205
+ label: "Mortimer's PRs",
2206
+ datasource: "github",
2207
+ requestOptions: {
2208
+ datasourceFilter: "JIRA",
2209
+ datasourcesFilter: [
2210
+ "JIRA",
2211
+ ],
2212
+ queryOverridesFacetFilters: true,
2213
+ facetFilters: [
2214
+ {
2215
+ fieldName: "type",
2216
+ values: [
2217
+ {
2218
+ value: "Spreadsheet",
2219
+ relationType: "EQUALS",
2220
+ },
2221
+ {
2222
+ value: "Presentation",
2223
+ relationType: "EQUALS",
2224
+ },
2225
+ ],
2226
+ },
2227
+ ],
2228
+ facetFilterSets: [
2229
+ {
2230
+ filters: [
2231
+ {
2232
+ fieldName: "type",
2233
+ values: [
2234
+ {
2235
+ value: "Spreadsheet",
2236
+ relationType: "EQUALS",
2237
+ },
2238
+ {
2239
+ value: "Presentation",
2240
+ relationType: "EQUALS",
2241
+ },
2242
+ ],
2243
+ },
2244
+ ],
2245
+ },
2246
+ {
2247
+ filters: [
2248
+ {
2249
+ fieldName: "type",
2250
+ values: [
2251
+ {
2252
+ value: "Spreadsheet",
2253
+ relationType: "EQUALS",
2254
+ },
2255
+ {
2256
+ value: "Presentation",
2257
+ relationType: "EQUALS",
2258
+ },
2259
+ ],
2260
+ },
2261
+ ],
2262
+ },
2263
+ ],
2264
+ facetBucketSize: 991464,
2265
+ authTokens: [
2266
+ {
2267
+ accessToken: "123abc",
2268
+ datasource: "gmail",
2269
+ scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
2270
+ tokenType: "Bearer",
2271
+ authUser: "1",
2272
+ },
2273
+ ],
2274
+ },
2275
+ ranges: [
2276
+ {
2277
+ startIndex: 488852,
2278
+ document: {
2279
+ metadata: {
2280
+ datasource: "datasource",
2281
+ objectType: "Feature Request",
2282
+ container: "container",
2283
+ parentId: "JIRA_EN-1337",
2284
+ mimeType: "mimeType",
2285
+ documentId: "documentId",
2286
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
2287
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
2288
+ components: [
2289
+ "Backend",
2290
+ "Networking",
2291
+ ],
2292
+ status: "[\"Done\"]",
2293
+ pins: [
2294
+ {
2295
+ audienceFilters: [
2296
+ {
2297
+ fieldName: "type",
2298
+ values: [
2299
+ {
2300
+ value: "Spreadsheet",
2301
+ relationType: "EQUALS",
2302
+ },
2303
+ {
2304
+ value: "Presentation",
2305
+ relationType: "EQUALS",
2306
+ },
2307
+ ],
2308
+ },
2309
+ ],
2310
+ documentId: "<id>",
2311
+ },
2312
+ {
2313
+ audienceFilters: [
2314
+ {
2315
+ fieldName: "type",
2316
+ values: [
2317
+ {
2318
+ value: "Spreadsheet",
2319
+ relationType: "EQUALS",
2320
+ },
2321
+ {
2322
+ value: "Presentation",
2323
+ relationType: "EQUALS",
2324
+ },
2325
+ ],
2326
+ },
2327
+ ],
2328
+ documentId: "<id>",
2329
+ },
2330
+ {
2331
+ audienceFilters: [
2332
+ {
2333
+ fieldName: "type",
2334
+ values: [
2335
+ {
2336
+ value: "Spreadsheet",
2337
+ relationType: "EQUALS",
2338
+ },
2339
+ {
2340
+ value: "Presentation",
2341
+ relationType: "EQUALS",
2342
+ },
2343
+ ],
2344
+ },
2345
+ ],
2346
+ documentId: "<id>",
2347
+ },
2348
+ ],
2349
+ collections: [
2350
+ {
2351
+ name: "<value>",
2352
+ description: "eulogise whereas till mild than during meanwhile disapprove finer ha",
2353
+ audienceFilters: [
2354
+ {
2355
+ fieldName: "type",
2356
+ values: [
2357
+ {
2358
+ value: "Spreadsheet",
2359
+ relationType: "EQUALS",
2360
+ },
2361
+ {
2362
+ value: "Presentation",
2363
+ relationType: "EQUALS",
2364
+ },
2365
+ ],
2366
+ },
2367
+ ],
2368
+ id: 2984,
2369
+ items: [
2370
+ {
2371
+ collectionId: 477967,
2372
+ shortcut: {
2373
+ inputAlias: "<value>",
2374
+ },
2375
+ itemType: "COLLECTION",
2376
+ },
2377
+ {
2378
+ collectionId: 424273,
2379
+ shortcut: {
2380
+ inputAlias: "<value>",
2381
+ },
2382
+ itemType: "COLLECTION",
2383
+ },
2384
+ ],
2385
+ },
2386
+ ],
2387
+ interactions: {
2388
+ reacts: [
2389
+ {},
2390
+ ],
2391
+ shares: [
2392
+ {
2393
+ numDaysAgo: 301848,
2394
+ },
2395
+ {
2396
+ numDaysAgo: 657278,
2397
+ },
2398
+ ],
2399
+ },
2400
+ verification: {
2401
+ state: "UNVERIFIED",
2402
+ metadata: {
2403
+ reminders: [
2404
+ {
2405
+ assignee: {
2406
+ name: "George Clooney",
2407
+ obfuscatedId: "abc123",
2408
+ },
2409
+ remindAt: 335191,
2410
+ },
2411
+ ],
2412
+ lastReminder: {
2413
+ assignee: {
2414
+ name: "George Clooney",
2415
+ obfuscatedId: "abc123",
2416
+ },
2417
+ remindAt: 532806,
2418
+ },
2419
+ },
2420
+ },
2421
+ shortcuts: [
2422
+ {
2423
+ inputAlias: "<value>",
2424
+ },
2425
+ {
2426
+ inputAlias: "<value>",
2427
+ },
2428
+ {
2429
+ inputAlias: "<value>",
2430
+ },
2431
+ ],
2432
+ customData: {
2433
+ "someCustomField": {},
2434
+ },
2435
+ },
2436
+ },
2437
+ },
2438
+ {
2439
+ startIndex: 463392,
2440
+ document: {
2441
+ metadata: {
2442
+ datasource: "datasource",
2443
+ objectType: "Feature Request",
2444
+ container: "container",
2445
+ parentId: "JIRA_EN-1337",
2446
+ mimeType: "mimeType",
2447
+ documentId: "documentId",
2448
+ createTime: new Date("2000-01-23T04:56:07.000Z"),
2449
+ updateTime: new Date("2000-01-23T04:56:07.000Z"),
2450
+ components: [
2451
+ "Backend",
2452
+ "Networking",
2453
+ ],
2454
+ status: "[\"Done\"]",
2455
+ interactions: {},
2456
+ verification: {
2457
+ state: "VERIFIED",
2458
+ metadata: {
2459
+ lastReminder: {
2460
+ assignee: {
2461
+ name: "George Clooney",
2462
+ obfuscatedId: "abc123",
2463
+ },
2464
+ remindAt: 58704,
2465
+ },
2466
+ },
2467
+ },
2468
+ customData: {
2469
+ "someCustomField": {},
2470
+ },
2471
+ },
2472
+ },
2473
+ },
2474
+ ],
2475
+ inputDetails: {
2476
+ hasCopyPaste: true,
2477
+ },
2478
+ },
2479
+ results: [
2480
+ {
2481
+ title: "title",
2482
+ url: "https://example.com/foo/bar",
2483
+ nativeAppUrl: "slack://foo/bar",
2484
+ snippets: [
2485
+ {
2486
+ snippet: "snippet",
2487
+ mimeType: "mimeType",
2488
+ },
2489
+ ],
2490
+ },
2491
+ ],
2492
+ },
2493
+ {
2494
+ querySuggestion: {
2495
+ query: "app:github type:pull author:mortimer",
2496
+ searchProviderInfo: {
2497
+ name: "Google",
2498
+ searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
2499
+ },
2500
+ label: "Mortimer's PRs",
2501
+ datasource: "github",
2502
+ requestOptions: {
2503
+ datasourceFilter: "JIRA",
2504
+ datasourcesFilter: [
2505
+ "JIRA",
2506
+ ],
2507
+ queryOverridesFacetFilters: true,
2508
+ facetFilters: [
2509
+ {
2510
+ fieldName: "type",
2511
+ values: [
2512
+ {
2513
+ value: "Spreadsheet",
2514
+ relationType: "EQUALS",
2515
+ },
2516
+ {
2517
+ value: "Presentation",
2518
+ relationType: "EQUALS",
2519
+ },
2520
+ ],
2521
+ },
2522
+ ],
2523
+ facetFilterSets: [
2524
+ {
2525
+ filters: [
2526
+ {
2527
+ fieldName: "type",
2528
+ values: [
2529
+ {
2530
+ value: "Spreadsheet",
2531
+ relationType: "EQUALS",
2532
+ },
2533
+ {
2534
+ value: "Presentation",
2535
+ relationType: "EQUALS",
2536
+ },
2537
+ ],
2538
+ },
2539
+ ],
2540
+ },
2541
+ {
2542
+ filters: [
2543
+ {
2544
+ fieldName: "type",
2545
+ values: [
2546
+ {
2547
+ value: "Spreadsheet",
2548
+ relationType: "EQUALS",
2549
+ },
2550
+ {
2551
+ value: "Presentation",
2552
+ relationType: "EQUALS",
2553
+ },
2554
+ ],
2555
+ },
2556
+ ],
2557
+ },
2558
+ {
2559
+ filters: [
2560
+ {
2561
+ fieldName: "type",
2562
+ values: [
2563
+ {
2564
+ value: "Spreadsheet",
2565
+ relationType: "EQUALS",
2566
+ },
2567
+ {
2568
+ value: "Presentation",
2569
+ relationType: "EQUALS",
2570
+ },
2571
+ ],
2572
+ },
2573
+ ],
2574
+ },
2575
+ ],
2576
+ facetBucketSize: 326276,
2577
+ authTokens: [
2578
+ {
2579
+ accessToken: "123abc",
2580
+ datasource: "gmail",
2581
+ scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
2582
+ tokenType: "Bearer",
2583
+ authUser: "1",
2584
+ },
2585
+ ],
2586
+ },
2587
+ inputDetails: {
2588
+ hasCopyPaste: true,
2589
+ },
2590
+ },
2591
+ },
2592
+ ],
672
2593
  metadata: {
673
2594
  type: "FULL_TIME",
674
2595
  title: "Actor",
@@ -685,12 +2606,29 @@ async function run() {
685
2606
  },
686
2607
  ],
687
2608
  querySuggestions: {
688
- suggestions: [],
2609
+ suggestions: [
2610
+ {
2611
+ query: "app:github type:pull author:mortimer",
2612
+ label: "Mortimer's PRs",
2613
+ datasource: "github",
2614
+ },
2615
+ ],
689
2616
  },
690
2617
  inviteInfo: {
691
- invites: [],
2618
+ invites: [
2619
+ {},
2620
+ {},
2621
+ {},
2622
+ ],
692
2623
  },
693
- customFields: [],
2624
+ customFields: [
2625
+ {
2626
+ label: "<value>",
2627
+ values: [
2628
+ {},
2629
+ ],
2630
+ },
2631
+ ],
694
2632
  badges: [
695
2633
  {
696
2634
  key: "deployment_name_new_hire",
@@ -708,17 +2646,169 @@ async function run() {
708
2646
  role: "EDITOR",
709
2647
  },
710
2648
  {
2649
+ person: {
2650
+ name: "George Clooney",
2651
+ obfuscatedId: "abc123",
2652
+ metadata: {
2653
+ type: "FULL_TIME",
2654
+ title: "Actor",
2655
+ department: "Movies",
2656
+ email: "george@example.com",
2657
+ location: "Hollywood, CA",
2658
+ phone: "6505551234",
2659
+ photoUrl: "https://example.com/george.jpg",
2660
+ startDate: new RFCDate("2000-01-23"),
2661
+ datasourceProfile: [
2662
+ {
2663
+ datasource: "github",
2664
+ handle: "<value>",
2665
+ },
2666
+ {
2667
+ datasource: "github",
2668
+ handle: "<value>",
2669
+ },
2670
+ ],
2671
+ querySuggestions: {},
2672
+ inviteInfo: {},
2673
+ badges: [
2674
+ {
2675
+ key: "deployment_name_new_hire",
2676
+ displayName: "New hire",
2677
+ iconConfig: {
2678
+ color: "#343CED",
2679
+ key: "person_icon",
2680
+ iconType: "GLYPH",
2681
+ name: "user",
2682
+ },
2683
+ },
2684
+ ],
2685
+ },
2686
+ },
711
2687
  role: "ANSWER_MODERATOR",
712
2688
  },
713
2689
  {
2690
+ person: {
2691
+ name: "George Clooney",
2692
+ obfuscatedId: "abc123",
2693
+ metadata: {
2694
+ type: "FULL_TIME",
2695
+ title: "Actor",
2696
+ department: "Movies",
2697
+ email: "george@example.com",
2698
+ location: "Hollywood, CA",
2699
+ phone: "6505551234",
2700
+ photoUrl: "https://example.com/george.jpg",
2701
+ startDate: new RFCDate("2000-01-23"),
2702
+ datasourceProfile: [
2703
+ {
2704
+ datasource: "github",
2705
+ handle: "<value>",
2706
+ },
2707
+ ],
2708
+ querySuggestions: {},
2709
+ inviteInfo: {},
2710
+ badges: [
2711
+ {
2712
+ key: "deployment_name_new_hire",
2713
+ displayName: "New hire",
2714
+ iconConfig: {
2715
+ color: "#343CED",
2716
+ key: "person_icon",
2717
+ iconType: "GLYPH",
2718
+ name: "user",
2719
+ },
2720
+ },
2721
+ ],
2722
+ },
2723
+ },
714
2724
  role: "OWNER",
715
2725
  },
716
2726
  ],
717
2727
  removedRoles: [
718
2728
  {
2729
+ person: {
2730
+ name: "George Clooney",
2731
+ obfuscatedId: "abc123",
2732
+ metadata: {
2733
+ type: "FULL_TIME",
2734
+ title: "Actor",
2735
+ department: "Movies",
2736
+ email: "george@example.com",
2737
+ location: "Hollywood, CA",
2738
+ phone: "6505551234",
2739
+ photoUrl: "https://example.com/george.jpg",
2740
+ startDate: new RFCDate("2000-01-23"),
2741
+ datasourceProfile: [
2742
+ {
2743
+ datasource: "github",
2744
+ handle: "<value>",
2745
+ },
2746
+ {
2747
+ datasource: "github",
2748
+ handle: "<value>",
2749
+ },
2750
+ {
2751
+ datasource: "github",
2752
+ handle: "<value>",
2753
+ },
2754
+ ],
2755
+ querySuggestions: {},
2756
+ inviteInfo: {},
2757
+ badges: [
2758
+ {
2759
+ key: "deployment_name_new_hire",
2760
+ displayName: "New hire",
2761
+ iconConfig: {
2762
+ color: "#343CED",
2763
+ key: "person_icon",
2764
+ iconType: "GLYPH",
2765
+ name: "user",
2766
+ },
2767
+ },
2768
+ ],
2769
+ },
2770
+ },
719
2771
  role: "OWNER",
720
2772
  },
721
2773
  {
2774
+ person: {
2775
+ name: "George Clooney",
2776
+ obfuscatedId: "abc123",
2777
+ metadata: {
2778
+ type: "FULL_TIME",
2779
+ title: "Actor",
2780
+ department: "Movies",
2781
+ email: "george@example.com",
2782
+ location: "Hollywood, CA",
2783
+ phone: "6505551234",
2784
+ photoUrl: "https://example.com/george.jpg",
2785
+ startDate: new RFCDate("2000-01-23"),
2786
+ datasourceProfile: [
2787
+ {
2788
+ datasource: "github",
2789
+ handle: "<value>",
2790
+ },
2791
+ {
2792
+ datasource: "github",
2793
+ handle: "<value>",
2794
+ },
2795
+ ],
2796
+ querySuggestions: {},
2797
+ inviteInfo: {},
2798
+ badges: [
2799
+ {
2800
+ key: "deployment_name_new_hire",
2801
+ displayName: "New hire",
2802
+ iconConfig: {
2803
+ color: "#343CED",
2804
+ key: "person_icon",
2805
+ iconType: "GLYPH",
2806
+ name: "user",
2807
+ },
2808
+ },
2809
+ ],
2810
+ },
2811
+ },
722
2812
  role: "VERIFIER",
723
2813
  },
724
2814
  ],
@@ -800,7 +2890,7 @@ Update the URL, Glean Document ID, description of an item within a Collection gi
800
2890
  import { Glean } from "@gleanwork/api-client";
801
2891
 
802
2892
  const glean = new Glean({
803
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
2893
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
804
2894
  });
805
2895
 
806
2896
  async function run() {
@@ -827,7 +2917,7 @@ import { clientCollectionsUpdateItem } from "@gleanwork/api-client/funcs/clientC
827
2917
  // Use `GleanCore` for best tree-shaking performance.
828
2918
  // You can create one instance of it to use across an application.
829
2919
  const glean = new GleanCore({
830
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
2920
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
831
2921
  });
832
2922
 
833
2923
  async function run() {
@@ -895,7 +2985,7 @@ Read the details of a Collection given its ID. Does not fetch items in this Coll
895
2985
  import { Glean } from "@gleanwork/api-client";
896
2986
 
897
2987
  const glean = new Glean({
898
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
2988
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
899
2989
  });
900
2990
 
901
2991
  async function run() {
@@ -921,7 +3011,7 @@ import { clientCollectionsRetrieve } from "@gleanwork/api-client/funcs/clientCol
921
3011
  // Use `GleanCore` for best tree-shaking performance.
922
3012
  // You can create one instance of it to use across an application.
923
3013
  const glean = new GleanCore({
924
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
3014
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
925
3015
  });
926
3016
 
927
3017
  async function run() {
@@ -988,7 +3078,7 @@ List all existing Collections.
988
3078
  import { Glean } from "@gleanwork/api-client";
989
3079
 
990
3080
  const glean = new Glean({
991
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
3081
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
992
3082
  });
993
3083
 
994
3084
  async function run() {
@@ -1012,7 +3102,7 @@ import { clientCollectionsList } from "@gleanwork/api-client/funcs/clientCollect
1012
3102
  // Use `GleanCore` for best tree-shaking performance.
1013
3103
  // You can create one instance of it to use across an application.
1014
3104
  const glean = new GleanCore({
1015
- bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "",
3105
+ apiToken: process.env["GLEAN_API_TOKEN"] ?? "",
1016
3106
  });
1017
3107
 
1018
3108
  async function run() {