@gleanwork/api-client 0.6.3 → 0.6.7

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 (300) hide show
  1. package/dist/commonjs/__tests__/activities.test.d.ts +2 -0
  2. package/dist/commonjs/__tests__/activities.test.d.ts.map +1 -0
  3. package/dist/commonjs/__tests__/activities.test.js +23 -0
  4. package/dist/commonjs/__tests__/activities.test.js.map +1 -0
  5. package/dist/commonjs/__tests__/agents.test.js +4 -20
  6. package/dist/commonjs/__tests__/agents.test.js.map +1 -1
  7. package/dist/commonjs/__tests__/announcements.test.js +189 -812
  8. package/dist/commonjs/__tests__/announcements.test.js.map +1 -1
  9. package/dist/commonjs/__tests__/answers.test.js +125 -254
  10. package/dist/commonjs/__tests__/answers.test.js.map +1 -1
  11. package/dist/commonjs/__tests__/calendar.test.d.ts +2 -0
  12. package/dist/commonjs/__tests__/calendar.test.d.ts.map +1 -0
  13. package/dist/commonjs/__tests__/calendar.test.js +10 -0
  14. package/dist/commonjs/__tests__/calendar.test.js.map +1 -0
  15. package/dist/commonjs/__tests__/clientactivity.test.d.ts +2 -0
  16. package/dist/commonjs/__tests__/clientactivity.test.d.ts.map +1 -0
  17. package/dist/commonjs/__tests__/{activity.test.js → clientactivity.test.js} +2 -16
  18. package/dist/commonjs/__tests__/clientactivity.test.js.map +1 -0
  19. package/dist/commonjs/__tests__/clientauthentication.test.js +3 -0
  20. package/dist/commonjs/__tests__/clientauthentication.test.js.map +1 -1
  21. package/dist/commonjs/__tests__/clientchat.test.d.ts +2 -0
  22. package/dist/commonjs/__tests__/clientchat.test.d.ts.map +1 -0
  23. package/dist/commonjs/__tests__/clientchat.test.js +9825 -0
  24. package/dist/commonjs/__tests__/clientchat.test.js.map +1 -0
  25. package/dist/commonjs/__tests__/clientdocuments.test.js +2 -13
  26. package/dist/commonjs/__tests__/clientdocuments.test.js.map +1 -1
  27. package/dist/commonjs/__tests__/clientshortcuts.test.js +78 -90
  28. package/dist/commonjs/__tests__/clientshortcuts.test.js.map +1 -1
  29. package/dist/commonjs/__tests__/clientuser.test.d.ts +2 -0
  30. package/dist/commonjs/__tests__/clientuser.test.d.ts.map +1 -0
  31. package/dist/commonjs/__tests__/clientuser.test.js +25 -0
  32. package/dist/commonjs/__tests__/clientuser.test.js.map +1 -0
  33. package/dist/commonjs/__tests__/clientverification.test.d.ts +2 -0
  34. package/dist/commonjs/__tests__/clientverification.test.d.ts.map +1 -0
  35. package/dist/commonjs/__tests__/{verification.test.js → clientverification.test.js} +4 -4
  36. package/dist/commonjs/__tests__/clientverification.test.js.map +1 -0
  37. package/dist/commonjs/__tests__/collections.test.js +69 -126
  38. package/dist/commonjs/__tests__/collections.test.js.map +1 -1
  39. package/dist/commonjs/__tests__/displayablelists.test.d.ts +2 -0
  40. package/dist/commonjs/__tests__/displayablelists.test.d.ts.map +1 -0
  41. package/dist/commonjs/__tests__/displayablelists.test.js +19 -0
  42. package/dist/commonjs/__tests__/displayablelists.test.js.map +1 -0
  43. package/dist/commonjs/__tests__/entities.test.js +3 -0
  44. package/dist/commonjs/__tests__/entities.test.js.map +1 -1
  45. package/dist/commonjs/__tests__/indexingdocuments.test.js +0 -41
  46. package/dist/commonjs/__tests__/indexingdocuments.test.js.map +1 -1
  47. package/dist/commonjs/__tests__/indexingpermissions.test.d.ts +2 -0
  48. package/dist/commonjs/__tests__/indexingpermissions.test.d.ts.map +1 -0
  49. package/dist/commonjs/__tests__/{permissions.test.js → indexingpermissions.test.js} +13 -13
  50. package/dist/commonjs/__tests__/indexingpermissions.test.js.map +1 -0
  51. package/dist/commonjs/__tests__/insights.test.js +2 -1
  52. package/dist/commonjs/__tests__/insights.test.js.map +1 -1
  53. package/dist/commonjs/__tests__/messages.test.js +2 -1
  54. package/dist/commonjs/__tests__/messages.test.js.map +1 -1
  55. package/dist/commonjs/__tests__/people.test.d.ts +2 -0
  56. package/dist/commonjs/__tests__/people.test.d.ts.map +1 -0
  57. package/dist/commonjs/__tests__/people.test.js +18 -0
  58. package/dist/commonjs/__tests__/people.test.js.map +1 -0
  59. package/dist/commonjs/__tests__/policies.test.js +3 -0
  60. package/dist/commonjs/__tests__/policies.test.js.map +1 -1
  61. package/dist/commonjs/__tests__/reports.test.js +3 -0
  62. package/dist/commonjs/__tests__/reports.test.js.map +1 -1
  63. package/dist/commonjs/__tests__/search.test.js +1993 -0
  64. package/dist/commonjs/__tests__/search.test.js.map +1 -1
  65. package/dist/commonjs/__tests__/summarize.test.d.ts +2 -0
  66. package/dist/commonjs/__tests__/summarize.test.d.ts.map +1 -0
  67. package/dist/commonjs/__tests__/summarize.test.js +24 -0
  68. package/dist/commonjs/__tests__/summarize.test.js.map +1 -0
  69. package/dist/commonjs/__tests__/troubleshooting.test.d.ts +2 -0
  70. package/dist/commonjs/__tests__/troubleshooting.test.d.ts.map +1 -0
  71. package/dist/commonjs/__tests__/troubleshooting.test.js +65 -0
  72. package/dist/commonjs/__tests__/troubleshooting.test.js.map +1 -0
  73. package/dist/commonjs/__tests__/visibilityoverrides.test.js +3 -0
  74. package/dist/commonjs/__tests__/visibilityoverrides.test.js.map +1 -1
  75. package/dist/commonjs/funcs/clientAuthenticationCreateToken.d.ts +5 -1
  76. package/dist/commonjs/funcs/clientAuthenticationCreateToken.d.ts.map +1 -1
  77. package/dist/commonjs/funcs/clientAuthenticationCreateToken.js +5 -1
  78. package/dist/commonjs/funcs/clientAuthenticationCreateToken.js.map +1 -1
  79. package/dist/commonjs/lib/config.d.ts +2 -2
  80. package/dist/commonjs/lib/config.js +2 -2
  81. package/dist/commonjs/models/components/agentconfig.d.ts +3 -0
  82. package/dist/commonjs/models/components/agentconfig.d.ts.map +1 -1
  83. package/dist/commonjs/models/components/agentconfig.js +1 -0
  84. package/dist/commonjs/models/components/agentconfig.js.map +1 -1
  85. package/dist/commonjs/models/components/agentrun.d.ts +9 -0
  86. package/dist/commonjs/models/components/agentrun.d.ts.map +1 -1
  87. package/dist/commonjs/models/components/agentrun.js +2 -0
  88. package/dist/commonjs/models/components/agentrun.js.map +1 -1
  89. package/dist/commonjs/models/components/agentruncreate.d.ts +9 -0
  90. package/dist/commonjs/models/components/agentruncreate.d.ts.map +1 -1
  91. package/dist/commonjs/models/components/agentruncreate.js +2 -0
  92. package/dist/commonjs/models/components/agentruncreate.js.map +1 -1
  93. package/dist/commonjs/react-query/clientAuthenticationCreateToken.d.ts +5 -1
  94. package/dist/commonjs/react-query/clientAuthenticationCreateToken.d.ts.map +1 -1
  95. package/dist/commonjs/react-query/clientAuthenticationCreateToken.js +5 -1
  96. package/dist/commonjs/react-query/clientAuthenticationCreateToken.js.map +1 -1
  97. package/dist/commonjs/sdk/clientauthentication.d.ts +5 -1
  98. package/dist/commonjs/sdk/clientauthentication.d.ts.map +1 -1
  99. package/dist/commonjs/sdk/clientauthentication.js +5 -1
  100. package/dist/commonjs/sdk/clientauthentication.js.map +1 -1
  101. package/dist/esm/__tests__/activities.test.d.ts +2 -0
  102. package/dist/esm/__tests__/activities.test.d.ts.map +1 -0
  103. package/dist/esm/__tests__/activities.test.js +21 -0
  104. package/dist/esm/__tests__/activities.test.js.map +1 -0
  105. package/dist/esm/__tests__/agents.test.js +4 -20
  106. package/dist/esm/__tests__/agents.test.js.map +1 -1
  107. package/dist/esm/__tests__/announcements.test.js +190 -813
  108. package/dist/esm/__tests__/announcements.test.js.map +1 -1
  109. package/dist/esm/__tests__/answers.test.js +126 -255
  110. package/dist/esm/__tests__/answers.test.js.map +1 -1
  111. package/dist/esm/__tests__/calendar.test.d.ts +2 -0
  112. package/dist/esm/__tests__/calendar.test.d.ts.map +1 -0
  113. package/dist/esm/__tests__/calendar.test.js +8 -0
  114. package/dist/esm/__tests__/calendar.test.js.map +1 -0
  115. package/dist/esm/__tests__/clientactivity.test.d.ts +2 -0
  116. package/dist/esm/__tests__/clientactivity.test.d.ts.map +1 -0
  117. package/dist/esm/__tests__/{activity.test.js → clientactivity.test.js} +2 -16
  118. package/dist/esm/__tests__/clientactivity.test.js.map +1 -0
  119. package/dist/esm/__tests__/clientauthentication.test.js +4 -1
  120. package/dist/esm/__tests__/clientauthentication.test.js.map +1 -1
  121. package/dist/esm/__tests__/clientchat.test.d.ts +2 -0
  122. package/dist/esm/__tests__/clientchat.test.d.ts.map +1 -0
  123. package/dist/esm/__tests__/clientchat.test.js +9823 -0
  124. package/dist/esm/__tests__/clientchat.test.js.map +1 -0
  125. package/dist/esm/__tests__/clientdocuments.test.js +3 -14
  126. package/dist/esm/__tests__/clientdocuments.test.js.map +1 -1
  127. package/dist/esm/__tests__/clientshortcuts.test.js +79 -91
  128. package/dist/esm/__tests__/clientshortcuts.test.js.map +1 -1
  129. package/dist/esm/__tests__/clientuser.test.d.ts +2 -0
  130. package/dist/esm/__tests__/clientuser.test.d.ts.map +1 -0
  131. package/dist/esm/__tests__/clientuser.test.js +23 -0
  132. package/dist/esm/__tests__/clientuser.test.js.map +1 -0
  133. package/dist/esm/__tests__/clientverification.test.d.ts +2 -0
  134. package/dist/esm/__tests__/clientverification.test.d.ts.map +1 -0
  135. package/dist/esm/__tests__/{verification.test.js → clientverification.test.js} +4 -4
  136. package/dist/esm/__tests__/clientverification.test.js.map +1 -0
  137. package/dist/esm/__tests__/collections.test.js +70 -127
  138. package/dist/esm/__tests__/collections.test.js.map +1 -1
  139. package/dist/esm/__tests__/displayablelists.test.d.ts +2 -0
  140. package/dist/esm/__tests__/displayablelists.test.d.ts.map +1 -0
  141. package/dist/esm/__tests__/displayablelists.test.js +17 -0
  142. package/dist/esm/__tests__/displayablelists.test.js.map +1 -0
  143. package/dist/esm/__tests__/entities.test.js +4 -1
  144. package/dist/esm/__tests__/entities.test.js.map +1 -1
  145. package/dist/esm/__tests__/indexingdocuments.test.js +1 -42
  146. package/dist/esm/__tests__/indexingdocuments.test.js.map +1 -1
  147. package/dist/esm/__tests__/indexingpermissions.test.d.ts +2 -0
  148. package/dist/esm/__tests__/indexingpermissions.test.d.ts.map +1 -0
  149. package/dist/esm/__tests__/{permissions.test.js → indexingpermissions.test.js} +13 -13
  150. package/dist/esm/__tests__/indexingpermissions.test.js.map +1 -0
  151. package/dist/esm/__tests__/insights.test.js +2 -1
  152. package/dist/esm/__tests__/insights.test.js.map +1 -1
  153. package/dist/esm/__tests__/messages.test.js +2 -1
  154. package/dist/esm/__tests__/messages.test.js.map +1 -1
  155. package/dist/esm/__tests__/people.test.d.ts +2 -0
  156. package/dist/esm/__tests__/people.test.d.ts.map +1 -0
  157. package/dist/esm/__tests__/people.test.js +16 -0
  158. package/dist/esm/__tests__/people.test.js.map +1 -0
  159. package/dist/esm/__tests__/policies.test.js +3 -0
  160. package/dist/esm/__tests__/policies.test.js.map +1 -1
  161. package/dist/esm/__tests__/reports.test.js +3 -0
  162. package/dist/esm/__tests__/reports.test.js.map +1 -1
  163. package/dist/esm/__tests__/search.test.js +1994 -1
  164. package/dist/esm/__tests__/search.test.js.map +1 -1
  165. package/dist/esm/__tests__/summarize.test.d.ts +2 -0
  166. package/dist/esm/__tests__/summarize.test.d.ts.map +1 -0
  167. package/dist/esm/__tests__/summarize.test.js +22 -0
  168. package/dist/esm/__tests__/summarize.test.js.map +1 -0
  169. package/dist/esm/__tests__/troubleshooting.test.d.ts +2 -0
  170. package/dist/esm/__tests__/troubleshooting.test.d.ts.map +1 -0
  171. package/dist/esm/__tests__/troubleshooting.test.js +63 -0
  172. package/dist/esm/__tests__/troubleshooting.test.js.map +1 -0
  173. package/dist/esm/__tests__/visibilityoverrides.test.js +3 -0
  174. package/dist/esm/__tests__/visibilityoverrides.test.js.map +1 -1
  175. package/dist/esm/funcs/clientAuthenticationCreateToken.d.ts +5 -1
  176. package/dist/esm/funcs/clientAuthenticationCreateToken.d.ts.map +1 -1
  177. package/dist/esm/funcs/clientAuthenticationCreateToken.js +5 -1
  178. package/dist/esm/funcs/clientAuthenticationCreateToken.js.map +1 -1
  179. package/dist/esm/lib/config.d.ts +2 -2
  180. package/dist/esm/lib/config.js +2 -2
  181. package/dist/esm/models/components/agentconfig.d.ts +3 -0
  182. package/dist/esm/models/components/agentconfig.d.ts.map +1 -1
  183. package/dist/esm/models/components/agentconfig.js +1 -0
  184. package/dist/esm/models/components/agentconfig.js.map +1 -1
  185. package/dist/esm/models/components/agentrun.d.ts +9 -0
  186. package/dist/esm/models/components/agentrun.d.ts.map +1 -1
  187. package/dist/esm/models/components/agentrun.js +2 -0
  188. package/dist/esm/models/components/agentrun.js.map +1 -1
  189. package/dist/esm/models/components/agentruncreate.d.ts +9 -0
  190. package/dist/esm/models/components/agentruncreate.d.ts.map +1 -1
  191. package/dist/esm/models/components/agentruncreate.js +2 -0
  192. package/dist/esm/models/components/agentruncreate.js.map +1 -1
  193. package/dist/esm/react-query/clientAuthenticationCreateToken.d.ts +5 -1
  194. package/dist/esm/react-query/clientAuthenticationCreateToken.d.ts.map +1 -1
  195. package/dist/esm/react-query/clientAuthenticationCreateToken.js +5 -1
  196. package/dist/esm/react-query/clientAuthenticationCreateToken.js.map +1 -1
  197. package/dist/esm/sdk/clientauthentication.d.ts +5 -1
  198. package/dist/esm/sdk/clientauthentication.d.ts.map +1 -1
  199. package/dist/esm/sdk/clientauthentication.js +5 -1
  200. package/dist/esm/sdk/clientauthentication.js.map +1 -1
  201. package/docs/sdks/agents/README.md +1 -1
  202. package/docs/sdks/clientauthentication/README.md +6 -1
  203. package/jsr.json +1 -1
  204. package/package.json +1 -1
  205. package/src/__tests__/activities.test.ts +24 -0
  206. package/src/__tests__/agents.test.ts +8 -24
  207. package/src/__tests__/announcements.test.ts +220 -814
  208. package/src/__tests__/answers.test.ts +151 -255
  209. package/src/__tests__/calendar.test.ts +11 -0
  210. package/src/__tests__/{activity.test.ts → clientactivity.test.ts} +1 -18
  211. package/src/__tests__/clientauthentication.test.ts +7 -1
  212. package/src/__tests__/clientchat.test.ts +10007 -0
  213. package/src/__tests__/clientdocuments.test.ts +5 -16
  214. package/src/__tests__/clientshortcuts.test.ts +85 -91
  215. package/src/__tests__/clientuser.test.ts +41 -0
  216. package/src/__tests__/{verification.test.ts → clientverification.test.ts} +3 -3
  217. package/src/__tests__/collections.test.ts +79 -127
  218. package/src/__tests__/displayablelists.test.ts +29 -0
  219. package/src/__tests__/entities.test.ts +7 -1
  220. package/src/__tests__/indexingdocuments.test.ts +1 -57
  221. package/src/__tests__/{permissions.test.ts → indexingpermissions.test.ts} +12 -12
  222. package/src/__tests__/insights.test.ts +2 -1
  223. package/src/__tests__/messages.test.ts +2 -1
  224. package/src/__tests__/people.test.ts +21 -0
  225. package/src/__tests__/policies.test.ts +6 -0
  226. package/src/__tests__/reports.test.ts +6 -0
  227. package/src/__tests__/search.test.ts +2018 -1
  228. package/src/__tests__/summarize.test.ts +25 -0
  229. package/src/__tests__/troubleshooting.test.ts +86 -0
  230. package/src/__tests__/visibilityoverrides.test.ts +6 -0
  231. package/src/funcs/clientAuthenticationCreateToken.ts +5 -1
  232. package/src/lib/config.ts +2 -2
  233. package/src/models/components/agentconfig.ts +1 -0
  234. package/src/models/components/agentrun.ts +7 -0
  235. package/src/models/components/agentruncreate.ts +7 -0
  236. package/src/react-query/clientAuthenticationCreateToken.ts +5 -1
  237. package/src/sdk/clientauthentication.ts +5 -1
  238. package/dist/commonjs/__tests__/activity.test.d.ts +0 -2
  239. package/dist/commonjs/__tests__/activity.test.d.ts.map +0 -1
  240. package/dist/commonjs/__tests__/activity.test.js.map +0 -1
  241. package/dist/commonjs/__tests__/adminsearch.test.d.ts +0 -2
  242. package/dist/commonjs/__tests__/adminsearch.test.d.ts.map +0 -1
  243. package/dist/commonjs/__tests__/adminsearch.test.js +0 -2001
  244. package/dist/commonjs/__tests__/adminsearch.test.js.map +0 -1
  245. package/dist/commonjs/__tests__/chat.test.d.ts +0 -2
  246. package/dist/commonjs/__tests__/chat.test.d.ts.map +0 -1
  247. package/dist/commonjs/__tests__/chat.test.js +0 -20883
  248. package/dist/commonjs/__tests__/chat.test.js.map +0 -1
  249. package/dist/commonjs/__tests__/clientsearch.test.d.ts +0 -2
  250. package/dist/commonjs/__tests__/clientsearch.test.d.ts.map +0 -1
  251. package/dist/commonjs/__tests__/clientsearch.test.js +0 -4095
  252. package/dist/commonjs/__tests__/clientsearch.test.js.map +0 -1
  253. package/dist/commonjs/__tests__/datasource.test.d.ts +0 -2
  254. package/dist/commonjs/__tests__/datasource.test.d.ts.map +0 -1
  255. package/dist/commonjs/__tests__/datasource.test.js +0 -10
  256. package/dist/commonjs/__tests__/datasource.test.js.map +0 -1
  257. package/dist/commonjs/__tests__/indexingpeople.test.d.ts +0 -2
  258. package/dist/commonjs/__tests__/indexingpeople.test.d.ts.map +0 -1
  259. package/dist/commonjs/__tests__/indexingpeople.test.js +0 -30
  260. package/dist/commonjs/__tests__/indexingpeople.test.js.map +0 -1
  261. package/dist/commonjs/__tests__/permissions.test.d.ts +0 -2
  262. package/dist/commonjs/__tests__/permissions.test.d.ts.map +0 -1
  263. package/dist/commonjs/__tests__/permissions.test.js.map +0 -1
  264. package/dist/commonjs/__tests__/verification.test.d.ts +0 -2
  265. package/dist/commonjs/__tests__/verification.test.d.ts.map +0 -1
  266. package/dist/commonjs/__tests__/verification.test.js.map +0 -1
  267. package/dist/esm/__tests__/activity.test.d.ts +0 -2
  268. package/dist/esm/__tests__/activity.test.d.ts.map +0 -1
  269. package/dist/esm/__tests__/activity.test.js.map +0 -1
  270. package/dist/esm/__tests__/adminsearch.test.d.ts +0 -2
  271. package/dist/esm/__tests__/adminsearch.test.d.ts.map +0 -1
  272. package/dist/esm/__tests__/adminsearch.test.js +0 -1999
  273. package/dist/esm/__tests__/adminsearch.test.js.map +0 -1
  274. package/dist/esm/__tests__/chat.test.d.ts +0 -2
  275. package/dist/esm/__tests__/chat.test.d.ts.map +0 -1
  276. package/dist/esm/__tests__/chat.test.js +0 -20881
  277. package/dist/esm/__tests__/chat.test.js.map +0 -1
  278. package/dist/esm/__tests__/clientsearch.test.d.ts +0 -2
  279. package/dist/esm/__tests__/clientsearch.test.d.ts.map +0 -1
  280. package/dist/esm/__tests__/clientsearch.test.js +0 -4093
  281. package/dist/esm/__tests__/clientsearch.test.js.map +0 -1
  282. package/dist/esm/__tests__/datasource.test.d.ts +0 -2
  283. package/dist/esm/__tests__/datasource.test.d.ts.map +0 -1
  284. package/dist/esm/__tests__/datasource.test.js +0 -8
  285. package/dist/esm/__tests__/datasource.test.js.map +0 -1
  286. package/dist/esm/__tests__/indexingpeople.test.d.ts +0 -2
  287. package/dist/esm/__tests__/indexingpeople.test.d.ts.map +0 -1
  288. package/dist/esm/__tests__/indexingpeople.test.js +0 -28
  289. package/dist/esm/__tests__/indexingpeople.test.js.map +0 -1
  290. package/dist/esm/__tests__/permissions.test.d.ts +0 -2
  291. package/dist/esm/__tests__/permissions.test.d.ts.map +0 -1
  292. package/dist/esm/__tests__/permissions.test.js.map +0 -1
  293. package/dist/esm/__tests__/verification.test.d.ts +0 -2
  294. package/dist/esm/__tests__/verification.test.d.ts.map +0 -1
  295. package/dist/esm/__tests__/verification.test.js.map +0 -1
  296. package/src/__tests__/adminsearch.test.ts +0 -2009
  297. package/src/__tests__/chat.test.ts +0 -21206
  298. package/src/__tests__/clientsearch.test.ts +0 -4115
  299. package/src/__tests__/datasource.test.ts +0 -11
  300. package/src/__tests__/indexingpeople.test.ts +0 -38
@@ -1,4095 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const vitest_1 = require("vitest");
7
- const index_js_1 = require("../index.js");
8
- const index_js_2 = require("../types/index.js");
9
- const testclient_js_1 = require("./testclient.js");
10
- (0, vitest_1.test)("Client Search Feed", async () => {
11
- const testHttpClient = (0, testclient_js_1.createTestHTTPClient)("feed");
12
- const glean = new index_js_1.Glean({
13
- serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
14
- httpClient: testHttpClient,
15
- apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
16
- });
17
- const result = await glean.client.search.retrieveFeed({
18
- timeoutMillis: 5000,
19
- });
20
- (0, vitest_1.expect)(result).toBeDefined();
21
- });
22
- (0, vitest_1.test)("Client Search Recommendations", async () => {
23
- const testHttpClient = (0, testclient_js_1.createTestHTTPClient)("recommendations");
24
- const glean = new index_js_1.Glean({
25
- serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
26
- httpClient: testHttpClient,
27
- apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
28
- });
29
- const result = await glean.client.search.recommendations({
30
- sourceDocument: {
31
- metadata: {
32
- datasource: "datasource",
33
- objectType: "Feature Request",
34
- container: "container",
35
- parentId: "JIRA_EN-1337",
36
- mimeType: "mimeType",
37
- documentId: "documentId",
38
- createTime: new Date("2000-01-23T04:56:07.000Z"),
39
- updateTime: new Date("2000-01-23T04:56:07.000Z"),
40
- author: {
41
- name: "George Clooney",
42
- obfuscatedId: "abc123",
43
- relatedDocuments: [
44
- {
45
- querySuggestion: {
46
- query: "app:github type:pull author:mortimer",
47
- searchProviderInfo: {
48
- name: "Google",
49
- searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
50
- },
51
- label: "Mortimer's PRs",
52
- datasource: "github",
53
- requestOptions: {
54
- datasourceFilter: "JIRA",
55
- datasourcesFilter: [
56
- "JIRA",
57
- ],
58
- queryOverridesFacetFilters: true,
59
- facetFilters: [
60
- {
61
- fieldName: "type",
62
- values: [
63
- {
64
- value: "Spreadsheet",
65
- relationType: "EQUALS",
66
- },
67
- {
68
- value: "Presentation",
69
- relationType: "EQUALS",
70
- },
71
- ],
72
- },
73
- ],
74
- facetFilterSets: [
75
- {
76
- filters: [
77
- {
78
- fieldName: "type",
79
- values: [
80
- {
81
- value: "Spreadsheet",
82
- relationType: "EQUALS",
83
- },
84
- {
85
- value: "Presentation",
86
- relationType: "EQUALS",
87
- },
88
- ],
89
- },
90
- ],
91
- },
92
- ],
93
- facetBucketSize: 236211,
94
- authTokens: [
95
- {
96
- accessToken: "123abc",
97
- datasource: "gmail",
98
- scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
99
- tokenType: "Bearer",
100
- authUser: "1",
101
- },
102
- ],
103
- },
104
- ranges: [
105
- {
106
- startIndex: 818990,
107
- },
108
- {
109
- startIndex: 38651,
110
- },
111
- {
112
- startIndex: 996660,
113
- },
114
- ],
115
- inputDetails: {
116
- hasCopyPaste: true,
117
- },
118
- },
119
- results: [
120
- {
121
- title: "title",
122
- url: "https://example.com/foo/bar",
123
- nativeAppUrl: "slack://foo/bar",
124
- snippets: [
125
- {
126
- snippet: "snippet",
127
- mimeType: "mimeType",
128
- },
129
- ],
130
- },
131
- ],
132
- },
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
- filters: [
200
- {
201
- fieldName: "type",
202
- values: [
203
- {
204
- value: "Spreadsheet",
205
- relationType: "EQUALS",
206
- },
207
- {
208
- value: "Presentation",
209
- relationType: "EQUALS",
210
- },
211
- ],
212
- },
213
- ],
214
- },
215
- ],
216
- facetBucketSize: 485964,
217
- authTokens: [
218
- {
219
- accessToken: "123abc",
220
- datasource: "gmail",
221
- scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
222
- tokenType: "Bearer",
223
- authUser: "1",
224
- },
225
- ],
226
- },
227
- inputDetails: {
228
- hasCopyPaste: true,
229
- },
230
- },
231
- },
232
- {
233
- querySuggestion: {
234
- query: "app:github type:pull author:mortimer",
235
- searchProviderInfo: {
236
- name: "Google",
237
- searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
238
- },
239
- label: "Mortimer's PRs",
240
- datasource: "github",
241
- requestOptions: {
242
- datasourceFilter: "JIRA",
243
- datasourcesFilter: [
244
- "JIRA",
245
- ],
246
- queryOverridesFacetFilters: true,
247
- facetFilters: [
248
- {
249
- fieldName: "type",
250
- values: [
251
- {
252
- value: "Spreadsheet",
253
- relationType: "EQUALS",
254
- },
255
- {
256
- value: "Presentation",
257
- relationType: "EQUALS",
258
- },
259
- ],
260
- },
261
- ],
262
- facetFilterSets: [
263
- {
264
- filters: [
265
- {
266
- fieldName: "type",
267
- values: [
268
- {
269
- value: "Spreadsheet",
270
- relationType: "EQUALS",
271
- },
272
- {
273
- value: "Presentation",
274
- relationType: "EQUALS",
275
- },
276
- ],
277
- },
278
- ],
279
- },
280
- ],
281
- facetBucketSize: 793380,
282
- authTokens: [
283
- {
284
- accessToken: "123abc",
285
- datasource: "gmail",
286
- scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
287
- tokenType: "Bearer",
288
- authUser: "1",
289
- },
290
- ],
291
- },
292
- inputDetails: {
293
- hasCopyPaste: true,
294
- },
295
- },
296
- },
297
- ],
298
- metadata: {
299
- type: "FULL_TIME",
300
- title: "Actor",
301
- department: "Movies",
302
- email: "george@example.com",
303
- location: "Hollywood, CA",
304
- phone: "6505551234",
305
- photoUrl: "https://example.com/george.jpg",
306
- startDate: new index_js_2.RFCDate("2000-01-23"),
307
- datasourceProfile: [
308
- {
309
- datasource: "github",
310
- handle: "<value>",
311
- },
312
- {
313
- datasource: "github",
314
- handle: "<value>",
315
- },
316
- ],
317
- querySuggestions: {
318
- suggestions: [
319
- {
320
- query: "app:github type:pull author:mortimer",
321
- label: "Mortimer's PRs",
322
- datasource: "github",
323
- },
324
- ],
325
- },
326
- inviteInfo: {
327
- invites: [
328
- {},
329
- {},
330
- ],
331
- },
332
- customFields: [
333
- {
334
- label: "<value>",
335
- values: [
336
- {},
337
- {},
338
- {},
339
- ],
340
- },
341
- {
342
- label: "<value>",
343
- values: [],
344
- },
345
- {
346
- label: "<value>",
347
- values: [],
348
- },
349
- ],
350
- badges: [
351
- {
352
- key: "deployment_name_new_hire",
353
- displayName: "New hire",
354
- iconConfig: {
355
- color: "#343CED",
356
- key: "person_icon",
357
- iconType: "GLYPH",
358
- name: "user",
359
- },
360
- },
361
- ],
362
- },
363
- },
364
- owner: {
365
- name: "George Clooney",
366
- obfuscatedId: "abc123",
367
- metadata: {
368
- type: "FULL_TIME",
369
- title: "Actor",
370
- department: "Movies",
371
- email: "george@example.com",
372
- location: "Hollywood, CA",
373
- phone: "6505551234",
374
- photoUrl: "https://example.com/george.jpg",
375
- startDate: new index_js_2.RFCDate("2000-01-23"),
376
- datasourceProfile: [
377
- {
378
- datasource: "github",
379
- handle: "<value>",
380
- },
381
- ],
382
- querySuggestions: {},
383
- inviteInfo: {},
384
- badges: [
385
- {
386
- key: "deployment_name_new_hire",
387
- displayName: "New hire",
388
- iconConfig: {
389
- color: "#343CED",
390
- key: "person_icon",
391
- iconType: "GLYPH",
392
- name: "user",
393
- },
394
- },
395
- ],
396
- },
397
- },
398
- mentionedPeople: [
399
- {
400
- name: "George Clooney",
401
- obfuscatedId: "abc123",
402
- },
403
- ],
404
- components: [
405
- "Backend",
406
- "Networking",
407
- ],
408
- status: "[\"Done\"]",
409
- pins: [
410
- {
411
- audienceFilters: [
412
- {
413
- fieldName: "type",
414
- values: [
415
- {
416
- value: "Spreadsheet",
417
- relationType: "EQUALS",
418
- },
419
- {
420
- value: "Presentation",
421
- relationType: "EQUALS",
422
- },
423
- ],
424
- },
425
- ],
426
- documentId: "<id>",
427
- attribution: {
428
- name: "George Clooney",
429
- obfuscatedId: "abc123",
430
- metadata: {
431
- type: "FULL_TIME",
432
- title: "Actor",
433
- department: "Movies",
434
- email: "george@example.com",
435
- location: "Hollywood, CA",
436
- phone: "6505551234",
437
- photoUrl: "https://example.com/george.jpg",
438
- startDate: new index_js_2.RFCDate("2000-01-23"),
439
- datasourceProfile: [
440
- {
441
- datasource: "github",
442
- handle: "<value>",
443
- },
444
- {
445
- datasource: "github",
446
- handle: "<value>",
447
- },
448
- {
449
- datasource: "github",
450
- handle: "<value>",
451
- },
452
- ],
453
- querySuggestions: {},
454
- inviteInfo: {},
455
- badges: [
456
- {
457
- key: "deployment_name_new_hire",
458
- displayName: "New hire",
459
- iconConfig: {
460
- color: "#343CED",
461
- key: "person_icon",
462
- iconType: "GLYPH",
463
- name: "user",
464
- },
465
- },
466
- ],
467
- },
468
- },
469
- updatedBy: {
470
- name: "George Clooney",
471
- obfuscatedId: "abc123",
472
- metadata: {
473
- type: "FULL_TIME",
474
- title: "Actor",
475
- department: "Movies",
476
- email: "george@example.com",
477
- location: "Hollywood, CA",
478
- phone: "6505551234",
479
- photoUrl: "https://example.com/george.jpg",
480
- startDate: new index_js_2.RFCDate("2000-01-23"),
481
- datasourceProfile: [
482
- {
483
- datasource: "github",
484
- handle: "<value>",
485
- },
486
- ],
487
- querySuggestions: {},
488
- inviteInfo: {},
489
- badges: [
490
- {
491
- key: "deployment_name_new_hire",
492
- displayName: "New hire",
493
- iconConfig: {
494
- color: "#343CED",
495
- key: "person_icon",
496
- iconType: "GLYPH",
497
- name: "user",
498
- },
499
- },
500
- ],
501
- },
502
- },
503
- },
504
- ],
505
- assignedTo: {
506
- name: "George Clooney",
507
- obfuscatedId: "abc123",
508
- metadata: {
509
- type: "FULL_TIME",
510
- title: "Actor",
511
- department: "Movies",
512
- email: "george@example.com",
513
- location: "Hollywood, CA",
514
- phone: "6505551234",
515
- photoUrl: "https://example.com/george.jpg",
516
- startDate: new index_js_2.RFCDate("2000-01-23"),
517
- datasourceProfile: [
518
- {
519
- datasource: "github",
520
- handle: "<value>",
521
- },
522
- {
523
- datasource: "github",
524
- handle: "<value>",
525
- },
526
- {
527
- datasource: "github",
528
- handle: "<value>",
529
- },
530
- ],
531
- querySuggestions: {},
532
- inviteInfo: {},
533
- badges: [
534
- {
535
- key: "deployment_name_new_hire",
536
- displayName: "New hire",
537
- iconConfig: {
538
- color: "#343CED",
539
- key: "person_icon",
540
- iconType: "GLYPH",
541
- name: "user",
542
- },
543
- },
544
- ],
545
- },
546
- },
547
- updatedBy: {
548
- name: "George Clooney",
549
- obfuscatedId: "abc123",
550
- metadata: {
551
- type: "FULL_TIME",
552
- title: "Actor",
553
- department: "Movies",
554
- email: "george@example.com",
555
- location: "Hollywood, CA",
556
- phone: "6505551234",
557
- photoUrl: "https://example.com/george.jpg",
558
- startDate: new index_js_2.RFCDate("2000-01-23"),
559
- datasourceProfile: [
560
- {
561
- datasource: "github",
562
- handle: "<value>",
563
- },
564
- ],
565
- querySuggestions: {},
566
- inviteInfo: {},
567
- badges: [
568
- {
569
- key: "deployment_name_new_hire",
570
- displayName: "New hire",
571
- iconConfig: {
572
- color: "#343CED",
573
- key: "person_icon",
574
- iconType: "GLYPH",
575
- name: "user",
576
- },
577
- },
578
- ],
579
- },
580
- },
581
- collections: [
582
- {
583
- name: "<value>",
584
- description: "rust whisper oh in seagull",
585
- addedRoles: [
586
- {
587
- person: {
588
- name: "George Clooney",
589
- obfuscatedId: "abc123",
590
- metadata: {
591
- type: "FULL_TIME",
592
- title: "Actor",
593
- department: "Movies",
594
- email: "george@example.com",
595
- location: "Hollywood, CA",
596
- phone: "6505551234",
597
- photoUrl: "https://example.com/george.jpg",
598
- startDate: new index_js_2.RFCDate("2000-01-23"),
599
- datasourceProfile: [
600
- {
601
- datasource: "github",
602
- handle: "<value>",
603
- },
604
- {
605
- datasource: "github",
606
- handle: "<value>",
607
- },
608
- {
609
- datasource: "github",
610
- handle: "<value>",
611
- },
612
- ],
613
- querySuggestions: {},
614
- inviteInfo: {},
615
- badges: [
616
- {
617
- key: "deployment_name_new_hire",
618
- displayName: "New hire",
619
- iconConfig: {
620
- color: "#343CED",
621
- key: "person_icon",
622
- iconType: "GLYPH",
623
- name: "user",
624
- },
625
- },
626
- ],
627
- },
628
- },
629
- role: "ANSWER_MODERATOR",
630
- },
631
- {
632
- person: {
633
- name: "George Clooney",
634
- obfuscatedId: "abc123",
635
- metadata: {
636
- type: "FULL_TIME",
637
- title: "Actor",
638
- department: "Movies",
639
- email: "george@example.com",
640
- location: "Hollywood, CA",
641
- phone: "6505551234",
642
- photoUrl: "https://example.com/george.jpg",
643
- startDate: new index_js_2.RFCDate("2000-01-23"),
644
- datasourceProfile: [
645
- {
646
- datasource: "github",
647
- handle: "<value>",
648
- },
649
- {
650
- datasource: "github",
651
- handle: "<value>",
652
- },
653
- ],
654
- querySuggestions: {},
655
- inviteInfo: {},
656
- badges: [
657
- {
658
- key: "deployment_name_new_hire",
659
- displayName: "New hire",
660
- iconConfig: {
661
- color: "#343CED",
662
- key: "person_icon",
663
- iconType: "GLYPH",
664
- name: "user",
665
- },
666
- },
667
- ],
668
- },
669
- },
670
- role: "VERIFIER",
671
- },
672
- {
673
- person: {
674
- name: "George Clooney",
675
- obfuscatedId: "abc123",
676
- metadata: {
677
- type: "FULL_TIME",
678
- title: "Actor",
679
- department: "Movies",
680
- email: "george@example.com",
681
- location: "Hollywood, CA",
682
- phone: "6505551234",
683
- photoUrl: "https://example.com/george.jpg",
684
- startDate: new index_js_2.RFCDate("2000-01-23"),
685
- datasourceProfile: [
686
- {
687
- datasource: "github",
688
- handle: "<value>",
689
- },
690
- {
691
- datasource: "github",
692
- handle: "<value>",
693
- },
694
- ],
695
- querySuggestions: {},
696
- inviteInfo: {},
697
- badges: [
698
- {
699
- key: "deployment_name_new_hire",
700
- displayName: "New hire",
701
- iconConfig: {
702
- color: "#343CED",
703
- key: "person_icon",
704
- iconType: "GLYPH",
705
- name: "user",
706
- },
707
- },
708
- ],
709
- },
710
- },
711
- role: "ANSWER_MODERATOR",
712
- },
713
- ],
714
- removedRoles: [
715
- {
716
- person: {
717
- name: "George Clooney",
718
- obfuscatedId: "abc123",
719
- metadata: {
720
- type: "FULL_TIME",
721
- title: "Actor",
722
- department: "Movies",
723
- email: "george@example.com",
724
- location: "Hollywood, CA",
725
- phone: "6505551234",
726
- photoUrl: "https://example.com/george.jpg",
727
- startDate: new index_js_2.RFCDate("2000-01-23"),
728
- datasourceProfile: [
729
- {
730
- datasource: "github",
731
- handle: "<value>",
732
- },
733
- ],
734
- querySuggestions: {},
735
- inviteInfo: {},
736
- badges: [
737
- {
738
- key: "deployment_name_new_hire",
739
- displayName: "New hire",
740
- iconConfig: {
741
- color: "#343CED",
742
- key: "person_icon",
743
- iconType: "GLYPH",
744
- name: "user",
745
- },
746
- },
747
- ],
748
- },
749
- },
750
- role: "ANSWER_MODERATOR",
751
- },
752
- {
753
- person: {
754
- name: "George Clooney",
755
- obfuscatedId: "abc123",
756
- metadata: {
757
- type: "FULL_TIME",
758
- title: "Actor",
759
- department: "Movies",
760
- email: "george@example.com",
761
- location: "Hollywood, CA",
762
- phone: "6505551234",
763
- photoUrl: "https://example.com/george.jpg",
764
- startDate: new index_js_2.RFCDate("2000-01-23"),
765
- datasourceProfile: [
766
- {
767
- datasource: "github",
768
- handle: "<value>",
769
- },
770
- ],
771
- querySuggestions: {},
772
- inviteInfo: {},
773
- badges: [
774
- {
775
- key: "deployment_name_new_hire",
776
- displayName: "New hire",
777
- iconConfig: {
778
- color: "#343CED",
779
- key: "person_icon",
780
- iconType: "GLYPH",
781
- name: "user",
782
- },
783
- },
784
- ],
785
- },
786
- },
787
- role: "VERIFIER",
788
- },
789
- ],
790
- audienceFilters: [
791
- {
792
- fieldName: "type",
793
- values: [
794
- {
795
- value: "Spreadsheet",
796
- relationType: "EQUALS",
797
- },
798
- {
799
- value: "Presentation",
800
- relationType: "EQUALS",
801
- },
802
- ],
803
- },
804
- ],
805
- id: 532535,
806
- creator: {
807
- name: "George Clooney",
808
- obfuscatedId: "abc123",
809
- metadata: {
810
- type: "FULL_TIME",
811
- title: "Actor",
812
- department: "Movies",
813
- email: "george@example.com",
814
- location: "Hollywood, CA",
815
- phone: "6505551234",
816
- photoUrl: "https://example.com/george.jpg",
817
- startDate: new index_js_2.RFCDate("2000-01-23"),
818
- datasourceProfile: [
819
- {
820
- datasource: "github",
821
- handle: "<value>",
822
- },
823
- {
824
- datasource: "github",
825
- handle: "<value>",
826
- },
827
- {
828
- datasource: "github",
829
- handle: "<value>",
830
- },
831
- ],
832
- querySuggestions: {},
833
- inviteInfo: {},
834
- badges: [
835
- {
836
- key: "deployment_name_new_hire",
837
- displayName: "New hire",
838
- iconConfig: {
839
- color: "#343CED",
840
- key: "person_icon",
841
- iconType: "GLYPH",
842
- name: "user",
843
- },
844
- },
845
- ],
846
- },
847
- },
848
- updatedBy: {
849
- name: "George Clooney",
850
- obfuscatedId: "abc123",
851
- metadata: {
852
- type: "FULL_TIME",
853
- title: "Actor",
854
- department: "Movies",
855
- email: "george@example.com",
856
- location: "Hollywood, CA",
857
- phone: "6505551234",
858
- photoUrl: "https://example.com/george.jpg",
859
- startDate: new index_js_2.RFCDate("2000-01-23"),
860
- datasourceProfile: [
861
- {
862
- datasource: "github",
863
- handle: "<value>",
864
- },
865
- {
866
- datasource: "github",
867
- handle: "<value>",
868
- },
869
- ],
870
- querySuggestions: {},
871
- inviteInfo: {},
872
- badges: [
873
- {
874
- key: "deployment_name_new_hire",
875
- displayName: "New hire",
876
- iconConfig: {
877
- color: "#343CED",
878
- key: "person_icon",
879
- iconType: "GLYPH",
880
- name: "user",
881
- },
882
- },
883
- ],
884
- },
885
- },
886
- items: [
887
- {
888
- collectionId: 354858,
889
- createdBy: {
890
- name: "George Clooney",
891
- obfuscatedId: "abc123",
892
- metadata: {
893
- type: "FULL_TIME",
894
- title: "Actor",
895
- department: "Movies",
896
- email: "george@example.com",
897
- location: "Hollywood, CA",
898
- phone: "6505551234",
899
- photoUrl: "https://example.com/george.jpg",
900
- startDate: new index_js_2.RFCDate("2000-01-23"),
901
- datasourceProfile: [
902
- {
903
- datasource: "github",
904
- handle: "<value>",
905
- },
906
- ],
907
- querySuggestions: {},
908
- inviteInfo: {},
909
- badges: [
910
- {
911
- key: "deployment_name_new_hire",
912
- displayName: "New hire",
913
- iconConfig: {
914
- color: "#343CED",
915
- key: "person_icon",
916
- iconType: "GLYPH",
917
- name: "user",
918
- },
919
- },
920
- ],
921
- },
922
- },
923
- shortcut: {
924
- inputAlias: "<value>",
925
- createdBy: {
926
- name: "George Clooney",
927
- obfuscatedId: "abc123",
928
- metadata: {
929
- type: "FULL_TIME",
930
- title: "Actor",
931
- department: "Movies",
932
- email: "george@example.com",
933
- location: "Hollywood, CA",
934
- phone: "6505551234",
935
- photoUrl: "https://example.com/george.jpg",
936
- startDate: new index_js_2.RFCDate("2000-01-23"),
937
- datasourceProfile: [
938
- {
939
- datasource: "github",
940
- handle: "<value>",
941
- },
942
- {
943
- datasource: "github",
944
- handle: "<value>",
945
- },
946
- ],
947
- querySuggestions: {},
948
- inviteInfo: {},
949
- badges: [
950
- {
951
- key: "deployment_name_new_hire",
952
- displayName: "New hire",
953
- iconConfig: {
954
- color: "#343CED",
955
- key: "person_icon",
956
- iconType: "GLYPH",
957
- name: "user",
958
- },
959
- },
960
- ],
961
- },
962
- },
963
- updatedBy: {
964
- name: "George Clooney",
965
- obfuscatedId: "abc123",
966
- metadata: {
967
- type: "FULL_TIME",
968
- title: "Actor",
969
- department: "Movies",
970
- email: "george@example.com",
971
- location: "Hollywood, CA",
972
- phone: "6505551234",
973
- photoUrl: "https://example.com/george.jpg",
974
- startDate: new index_js_2.RFCDate("2000-01-23"),
975
- datasourceProfile: [
976
- {
977
- datasource: "github",
978
- handle: "<value>",
979
- },
980
- {
981
- datasource: "github",
982
- handle: "<value>",
983
- },
984
- ],
985
- querySuggestions: {},
986
- inviteInfo: {},
987
- badges: [
988
- {
989
- key: "deployment_name_new_hire",
990
- displayName: "New hire",
991
- iconConfig: {
992
- color: "#343CED",
993
- key: "person_icon",
994
- iconType: "GLYPH",
995
- name: "user",
996
- },
997
- },
998
- ],
999
- },
1000
- },
1001
- roles: [
1002
- {
1003
- person: {
1004
- name: "George Clooney",
1005
- obfuscatedId: "abc123",
1006
- metadata: {
1007
- type: "FULL_TIME",
1008
- title: "Actor",
1009
- department: "Movies",
1010
- email: "george@example.com",
1011
- location: "Hollywood, CA",
1012
- phone: "6505551234",
1013
- photoUrl: "https://example.com/george.jpg",
1014
- startDate: new index_js_2.RFCDate("2000-01-23"),
1015
- datasourceProfile: [
1016
- {
1017
- datasource: "github",
1018
- handle: "<value>",
1019
- },
1020
- {
1021
- datasource: "github",
1022
- handle: "<value>",
1023
- },
1024
- {
1025
- datasource: "github",
1026
- handle: "<value>",
1027
- },
1028
- ],
1029
- querySuggestions: {},
1030
- inviteInfo: {},
1031
- badges: [
1032
- {
1033
- key: "deployment_name_new_hire",
1034
- displayName: "New hire",
1035
- iconConfig: {
1036
- color: "#343CED",
1037
- key: "person_icon",
1038
- iconType: "GLYPH",
1039
- name: "user",
1040
- },
1041
- },
1042
- ],
1043
- },
1044
- },
1045
- role: "EDITOR",
1046
- },
1047
- {
1048
- person: {
1049
- name: "George Clooney",
1050
- obfuscatedId: "abc123",
1051
- metadata: {
1052
- type: "FULL_TIME",
1053
- title: "Actor",
1054
- department: "Movies",
1055
- email: "george@example.com",
1056
- location: "Hollywood, CA",
1057
- phone: "6505551234",
1058
- photoUrl: "https://example.com/george.jpg",
1059
- startDate: new index_js_2.RFCDate("2000-01-23"),
1060
- datasourceProfile: [
1061
- {
1062
- datasource: "github",
1063
- handle: "<value>",
1064
- },
1065
- {
1066
- datasource: "github",
1067
- handle: "<value>",
1068
- },
1069
- ],
1070
- querySuggestions: {},
1071
- inviteInfo: {},
1072
- badges: [
1073
- {
1074
- key: "deployment_name_new_hire",
1075
- displayName: "New hire",
1076
- iconConfig: {
1077
- color: "#343CED",
1078
- key: "person_icon",
1079
- iconType: "GLYPH",
1080
- name: "user",
1081
- },
1082
- },
1083
- ],
1084
- },
1085
- },
1086
- role: "OWNER",
1087
- },
1088
- ],
1089
- },
1090
- itemType: "TEXT",
1091
- },
1092
- ],
1093
- },
1094
- {
1095
- name: "<value>",
1096
- description: "rotating finally marimba gnaw consequently",
1097
- audienceFilters: [
1098
- {
1099
- fieldName: "type",
1100
- values: [
1101
- {
1102
- value: "Spreadsheet",
1103
- relationType: "EQUALS",
1104
- },
1105
- {
1106
- value: "Presentation",
1107
- relationType: "EQUALS",
1108
- },
1109
- ],
1110
- },
1111
- ],
1112
- id: 354405,
1113
- creator: {
1114
- name: "George Clooney",
1115
- obfuscatedId: "abc123",
1116
- metadata: {
1117
- type: "FULL_TIME",
1118
- title: "Actor",
1119
- department: "Movies",
1120
- email: "george@example.com",
1121
- location: "Hollywood, CA",
1122
- phone: "6505551234",
1123
- photoUrl: "https://example.com/george.jpg",
1124
- startDate: new index_js_2.RFCDate("2000-01-23"),
1125
- datasourceProfile: [
1126
- {
1127
- datasource: "github",
1128
- handle: "<value>",
1129
- },
1130
- {
1131
- datasource: "github",
1132
- handle: "<value>",
1133
- },
1134
- ],
1135
- querySuggestions: {},
1136
- inviteInfo: {},
1137
- badges: [
1138
- {
1139
- key: "deployment_name_new_hire",
1140
- displayName: "New hire",
1141
- iconConfig: {
1142
- color: "#343CED",
1143
- key: "person_icon",
1144
- iconType: "GLYPH",
1145
- name: "user",
1146
- },
1147
- },
1148
- ],
1149
- },
1150
- },
1151
- updatedBy: {
1152
- name: "George Clooney",
1153
- obfuscatedId: "abc123",
1154
- metadata: {
1155
- type: "FULL_TIME",
1156
- title: "Actor",
1157
- department: "Movies",
1158
- email: "george@example.com",
1159
- location: "Hollywood, CA",
1160
- phone: "6505551234",
1161
- photoUrl: "https://example.com/george.jpg",
1162
- startDate: new index_js_2.RFCDate("2000-01-23"),
1163
- datasourceProfile: [
1164
- {
1165
- datasource: "github",
1166
- handle: "<value>",
1167
- },
1168
- {
1169
- datasource: "github",
1170
- handle: "<value>",
1171
- },
1172
- ],
1173
- querySuggestions: {},
1174
- inviteInfo: {},
1175
- badges: [
1176
- {
1177
- key: "deployment_name_new_hire",
1178
- displayName: "New hire",
1179
- iconConfig: {
1180
- color: "#343CED",
1181
- key: "person_icon",
1182
- iconType: "GLYPH",
1183
- name: "user",
1184
- },
1185
- },
1186
- ],
1187
- },
1188
- },
1189
- },
1190
- {
1191
- name: "<value>",
1192
- description: "backburn elver ugh",
1193
- audienceFilters: [
1194
- {
1195
- fieldName: "type",
1196
- values: [
1197
- {
1198
- value: "Spreadsheet",
1199
- relationType: "EQUALS",
1200
- },
1201
- {
1202
- value: "Presentation",
1203
- relationType: "EQUALS",
1204
- },
1205
- ],
1206
- },
1207
- ],
1208
- id: 418504,
1209
- creator: {
1210
- name: "George Clooney",
1211
- obfuscatedId: "abc123",
1212
- metadata: {
1213
- type: "FULL_TIME",
1214
- title: "Actor",
1215
- department: "Movies",
1216
- email: "george@example.com",
1217
- location: "Hollywood, CA",
1218
- phone: "6505551234",
1219
- photoUrl: "https://example.com/george.jpg",
1220
- startDate: new index_js_2.RFCDate("2000-01-23"),
1221
- datasourceProfile: [
1222
- {
1223
- datasource: "github",
1224
- handle: "<value>",
1225
- },
1226
- {
1227
- datasource: "github",
1228
- handle: "<value>",
1229
- },
1230
- ],
1231
- querySuggestions: {},
1232
- inviteInfo: {},
1233
- badges: [
1234
- {
1235
- key: "deployment_name_new_hire",
1236
- displayName: "New hire",
1237
- iconConfig: {
1238
- color: "#343CED",
1239
- key: "person_icon",
1240
- iconType: "GLYPH",
1241
- name: "user",
1242
- },
1243
- },
1244
- ],
1245
- },
1246
- },
1247
- updatedBy: {
1248
- name: "George Clooney",
1249
- obfuscatedId: "abc123",
1250
- metadata: {
1251
- type: "FULL_TIME",
1252
- title: "Actor",
1253
- department: "Movies",
1254
- email: "george@example.com",
1255
- location: "Hollywood, CA",
1256
- phone: "6505551234",
1257
- photoUrl: "https://example.com/george.jpg",
1258
- startDate: new index_js_2.RFCDate("2000-01-23"),
1259
- datasourceProfile: [
1260
- {
1261
- datasource: "github",
1262
- handle: "<value>",
1263
- },
1264
- {
1265
- datasource: "github",
1266
- handle: "<value>",
1267
- },
1268
- {
1269
- datasource: "github",
1270
- handle: "<value>",
1271
- },
1272
- ],
1273
- querySuggestions: {},
1274
- inviteInfo: {},
1275
- badges: [
1276
- {
1277
- key: "deployment_name_new_hire",
1278
- displayName: "New hire",
1279
- iconConfig: {
1280
- color: "#343CED",
1281
- key: "person_icon",
1282
- iconType: "GLYPH",
1283
- name: "user",
1284
- },
1285
- },
1286
- ],
1287
- },
1288
- },
1289
- },
1290
- ],
1291
- interactions: {
1292
- reacts: [
1293
- {
1294
- reactors: [
1295
- {
1296
- name: "George Clooney",
1297
- obfuscatedId: "abc123",
1298
- },
1299
- ],
1300
- },
1301
- {},
1302
- ],
1303
- shares: [
1304
- {
1305
- numDaysAgo: 208065,
1306
- sharer: {
1307
- name: "George Clooney",
1308
- obfuscatedId: "abc123",
1309
- metadata: {
1310
- type: "FULL_TIME",
1311
- title: "Actor",
1312
- department: "Movies",
1313
- email: "george@example.com",
1314
- location: "Hollywood, CA",
1315
- phone: "6505551234",
1316
- photoUrl: "https://example.com/george.jpg",
1317
- startDate: new index_js_2.RFCDate("2000-01-23"),
1318
- datasourceProfile: [
1319
- {
1320
- datasource: "github",
1321
- handle: "<value>",
1322
- },
1323
- {
1324
- datasource: "github",
1325
- handle: "<value>",
1326
- },
1327
- {
1328
- datasource: "github",
1329
- handle: "<value>",
1330
- },
1331
- ],
1332
- querySuggestions: {},
1333
- inviteInfo: {},
1334
- badges: [
1335
- {
1336
- key: "deployment_name_new_hire",
1337
- displayName: "New hire",
1338
- iconConfig: {
1339
- color: "#343CED",
1340
- key: "person_icon",
1341
- iconType: "GLYPH",
1342
- name: "user",
1343
- },
1344
- },
1345
- ],
1346
- },
1347
- },
1348
- },
1349
- {
1350
- numDaysAgo: 29685,
1351
- sharer: {
1352
- name: "George Clooney",
1353
- obfuscatedId: "abc123",
1354
- metadata: {
1355
- type: "FULL_TIME",
1356
- title: "Actor",
1357
- department: "Movies",
1358
- email: "george@example.com",
1359
- location: "Hollywood, CA",
1360
- phone: "6505551234",
1361
- photoUrl: "https://example.com/george.jpg",
1362
- startDate: new index_js_2.RFCDate("2000-01-23"),
1363
- datasourceProfile: [
1364
- {
1365
- datasource: "github",
1366
- handle: "<value>",
1367
- },
1368
- {
1369
- datasource: "github",
1370
- handle: "<value>",
1371
- },
1372
- {
1373
- datasource: "github",
1374
- handle: "<value>",
1375
- },
1376
- ],
1377
- querySuggestions: {},
1378
- inviteInfo: {},
1379
- badges: [
1380
- {
1381
- key: "deployment_name_new_hire",
1382
- displayName: "New hire",
1383
- iconConfig: {
1384
- color: "#343CED",
1385
- key: "person_icon",
1386
- iconType: "GLYPH",
1387
- name: "user",
1388
- },
1389
- },
1390
- ],
1391
- },
1392
- },
1393
- },
1394
- ],
1395
- },
1396
- verification: {
1397
- state: "UNVERIFIED",
1398
- metadata: {
1399
- lastVerifier: {
1400
- name: "George Clooney",
1401
- obfuscatedId: "abc123",
1402
- metadata: {
1403
- type: "FULL_TIME",
1404
- title: "Actor",
1405
- department: "Movies",
1406
- email: "george@example.com",
1407
- location: "Hollywood, CA",
1408
- phone: "6505551234",
1409
- photoUrl: "https://example.com/george.jpg",
1410
- startDate: new index_js_2.RFCDate("2000-01-23"),
1411
- datasourceProfile: [
1412
- {
1413
- datasource: "github",
1414
- handle: "<value>",
1415
- },
1416
- {
1417
- datasource: "github",
1418
- handle: "<value>",
1419
- },
1420
- ],
1421
- querySuggestions: {},
1422
- inviteInfo: {},
1423
- badges: [
1424
- {
1425
- key: "deployment_name_new_hire",
1426
- displayName: "New hire",
1427
- iconConfig: {
1428
- color: "#343CED",
1429
- key: "person_icon",
1430
- iconType: "GLYPH",
1431
- name: "user",
1432
- },
1433
- },
1434
- ],
1435
- },
1436
- },
1437
- reminders: [
1438
- {
1439
- assignee: {
1440
- name: "George Clooney",
1441
- obfuscatedId: "abc123",
1442
- metadata: {
1443
- type: "FULL_TIME",
1444
- title: "Actor",
1445
- department: "Movies",
1446
- email: "george@example.com",
1447
- location: "Hollywood, CA",
1448
- phone: "6505551234",
1449
- photoUrl: "https://example.com/george.jpg",
1450
- startDate: new index_js_2.RFCDate("2000-01-23"),
1451
- datasourceProfile: [
1452
- {
1453
- datasource: "github",
1454
- handle: "<value>",
1455
- },
1456
- {
1457
- datasource: "github",
1458
- handle: "<value>",
1459
- },
1460
- ],
1461
- querySuggestions: {},
1462
- inviteInfo: {},
1463
- badges: [
1464
- {
1465
- key: "deployment_name_new_hire",
1466
- displayName: "New hire",
1467
- iconConfig: {
1468
- color: "#343CED",
1469
- key: "person_icon",
1470
- iconType: "GLYPH",
1471
- name: "user",
1472
- },
1473
- },
1474
- ],
1475
- },
1476
- },
1477
- requestor: {
1478
- name: "George Clooney",
1479
- obfuscatedId: "abc123",
1480
- metadata: {
1481
- type: "FULL_TIME",
1482
- title: "Actor",
1483
- department: "Movies",
1484
- email: "george@example.com",
1485
- location: "Hollywood, CA",
1486
- phone: "6505551234",
1487
- photoUrl: "https://example.com/george.jpg",
1488
- startDate: new index_js_2.RFCDate("2000-01-23"),
1489
- datasourceProfile: [
1490
- {
1491
- datasource: "github",
1492
- handle: "<value>",
1493
- },
1494
- {
1495
- datasource: "github",
1496
- handle: "<value>",
1497
- },
1498
- ],
1499
- querySuggestions: {},
1500
- inviteInfo: {},
1501
- badges: [
1502
- {
1503
- key: "deployment_name_new_hire",
1504
- displayName: "New hire",
1505
- iconConfig: {
1506
- color: "#343CED",
1507
- key: "person_icon",
1508
- iconType: "GLYPH",
1509
- name: "user",
1510
- },
1511
- },
1512
- ],
1513
- },
1514
- },
1515
- remindAt: 770893,
1516
- },
1517
- ],
1518
- lastReminder: {
1519
- assignee: {
1520
- name: "George Clooney",
1521
- obfuscatedId: "abc123",
1522
- metadata: {
1523
- type: "FULL_TIME",
1524
- title: "Actor",
1525
- department: "Movies",
1526
- email: "george@example.com",
1527
- location: "Hollywood, CA",
1528
- phone: "6505551234",
1529
- photoUrl: "https://example.com/george.jpg",
1530
- startDate: new index_js_2.RFCDate("2000-01-23"),
1531
- datasourceProfile: [
1532
- {
1533
- datasource: "github",
1534
- handle: "<value>",
1535
- },
1536
- {
1537
- datasource: "github",
1538
- handle: "<value>",
1539
- },
1540
- ],
1541
- querySuggestions: {},
1542
- inviteInfo: {},
1543
- badges: [
1544
- {
1545
- key: "deployment_name_new_hire",
1546
- displayName: "New hire",
1547
- iconConfig: {
1548
- color: "#343CED",
1549
- key: "person_icon",
1550
- iconType: "GLYPH",
1551
- name: "user",
1552
- },
1553
- },
1554
- ],
1555
- },
1556
- },
1557
- requestor: {
1558
- name: "George Clooney",
1559
- obfuscatedId: "abc123",
1560
- metadata: {
1561
- type: "FULL_TIME",
1562
- title: "Actor",
1563
- department: "Movies",
1564
- email: "george@example.com",
1565
- location: "Hollywood, CA",
1566
- phone: "6505551234",
1567
- photoUrl: "https://example.com/george.jpg",
1568
- startDate: new index_js_2.RFCDate("2000-01-23"),
1569
- datasourceProfile: [
1570
- {
1571
- datasource: "github",
1572
- handle: "<value>",
1573
- },
1574
- {
1575
- datasource: "github",
1576
- handle: "<value>",
1577
- },
1578
- ],
1579
- querySuggestions: {},
1580
- inviteInfo: {},
1581
- badges: [
1582
- {
1583
- key: "deployment_name_new_hire",
1584
- displayName: "New hire",
1585
- iconConfig: {
1586
- color: "#343CED",
1587
- key: "person_icon",
1588
- iconType: "GLYPH",
1589
- name: "user",
1590
- },
1591
- },
1592
- ],
1593
- },
1594
- },
1595
- remindAt: 578719,
1596
- },
1597
- candidateVerifiers: [
1598
- {
1599
- name: "George Clooney",
1600
- obfuscatedId: "abc123",
1601
- },
1602
- ],
1603
- },
1604
- },
1605
- shortcuts: [
1606
- {
1607
- inputAlias: "<value>",
1608
- createdBy: {
1609
- name: "George Clooney",
1610
- obfuscatedId: "abc123",
1611
- metadata: {
1612
- type: "FULL_TIME",
1613
- title: "Actor",
1614
- department: "Movies",
1615
- email: "george@example.com",
1616
- location: "Hollywood, CA",
1617
- phone: "6505551234",
1618
- photoUrl: "https://example.com/george.jpg",
1619
- startDate: new index_js_2.RFCDate("2000-01-23"),
1620
- datasourceProfile: [
1621
- {
1622
- datasource: "github",
1623
- handle: "<value>",
1624
- },
1625
- {
1626
- datasource: "github",
1627
- handle: "<value>",
1628
- },
1629
- ],
1630
- querySuggestions: {},
1631
- inviteInfo: {},
1632
- badges: [
1633
- {
1634
- key: "deployment_name_new_hire",
1635
- displayName: "New hire",
1636
- iconConfig: {
1637
- color: "#343CED",
1638
- key: "person_icon",
1639
- iconType: "GLYPH",
1640
- name: "user",
1641
- },
1642
- },
1643
- ],
1644
- },
1645
- },
1646
- updatedBy: {
1647
- name: "George Clooney",
1648
- obfuscatedId: "abc123",
1649
- metadata: {
1650
- type: "FULL_TIME",
1651
- title: "Actor",
1652
- department: "Movies",
1653
- email: "george@example.com",
1654
- location: "Hollywood, CA",
1655
- phone: "6505551234",
1656
- photoUrl: "https://example.com/george.jpg",
1657
- startDate: new index_js_2.RFCDate("2000-01-23"),
1658
- datasourceProfile: [
1659
- {
1660
- datasource: "github",
1661
- handle: "<value>",
1662
- },
1663
- {
1664
- datasource: "github",
1665
- handle: "<value>",
1666
- },
1667
- ],
1668
- querySuggestions: {},
1669
- inviteInfo: {},
1670
- badges: [
1671
- {
1672
- key: "deployment_name_new_hire",
1673
- displayName: "New hire",
1674
- iconConfig: {
1675
- color: "#343CED",
1676
- key: "person_icon",
1677
- iconType: "GLYPH",
1678
- name: "user",
1679
- },
1680
- },
1681
- ],
1682
- },
1683
- },
1684
- },
1685
- ],
1686
- customData: {
1687
- "someCustomField": {},
1688
- },
1689
- contactPerson: {
1690
- name: "George Clooney",
1691
- obfuscatedId: "abc123",
1692
- metadata: {
1693
- type: "FULL_TIME",
1694
- title: "Actor",
1695
- department: "Movies",
1696
- email: "george@example.com",
1697
- location: "Hollywood, CA",
1698
- phone: "6505551234",
1699
- photoUrl: "https://example.com/george.jpg",
1700
- startDate: new index_js_2.RFCDate("2000-01-23"),
1701
- datasourceProfile: [
1702
- {
1703
- datasource: "github",
1704
- handle: "<value>",
1705
- },
1706
- {
1707
- datasource: "github",
1708
- handle: "<value>",
1709
- },
1710
- ],
1711
- querySuggestions: {},
1712
- inviteInfo: {},
1713
- badges: [
1714
- {
1715
- key: "deployment_name_new_hire",
1716
- displayName: "New hire",
1717
- iconConfig: {
1718
- color: "#343CED",
1719
- key: "person_icon",
1720
- iconType: "GLYPH",
1721
- name: "user",
1722
- },
1723
- },
1724
- ],
1725
- },
1726
- },
1727
- },
1728
- },
1729
- pageSize: 100,
1730
- maxSnippetSize: 400,
1731
- requestOptions: {
1732
- facetFilterSets: [
1733
- {
1734
- filters: [
1735
- {
1736
- fieldName: "type",
1737
- values: [
1738
- {
1739
- value: "Spreadsheet",
1740
- relationType: "EQUALS",
1741
- },
1742
- {
1743
- value: "Presentation",
1744
- relationType: "EQUALS",
1745
- },
1746
- ],
1747
- },
1748
- ],
1749
- },
1750
- ],
1751
- context: {
1752
- metadata: {
1753
- datasource: "datasource",
1754
- objectType: "Feature Request",
1755
- container: "container",
1756
- parentId: "JIRA_EN-1337",
1757
- mimeType: "mimeType",
1758
- documentId: "documentId",
1759
- createTime: new Date("2000-01-23T04:56:07.000Z"),
1760
- updateTime: new Date("2000-01-23T04:56:07.000Z"),
1761
- author: {
1762
- name: "George Clooney",
1763
- obfuscatedId: "abc123",
1764
- metadata: {
1765
- type: "FULL_TIME",
1766
- title: "Actor",
1767
- department: "Movies",
1768
- email: "george@example.com",
1769
- location: "Hollywood, CA",
1770
- phone: "6505551234",
1771
- photoUrl: "https://example.com/george.jpg",
1772
- startDate: new index_js_2.RFCDate("2000-01-23"),
1773
- datasourceProfile: [
1774
- {
1775
- datasource: "github",
1776
- handle: "<value>",
1777
- },
1778
- {
1779
- datasource: "github",
1780
- handle: "<value>",
1781
- },
1782
- {
1783
- datasource: "github",
1784
- handle: "<value>",
1785
- },
1786
- ],
1787
- querySuggestions: {},
1788
- inviteInfo: {},
1789
- badges: [
1790
- {
1791
- key: "deployment_name_new_hire",
1792
- displayName: "New hire",
1793
- iconConfig: {
1794
- color: "#343CED",
1795
- key: "person_icon",
1796
- iconType: "GLYPH",
1797
- name: "user",
1798
- },
1799
- },
1800
- ],
1801
- },
1802
- },
1803
- owner: {
1804
- name: "George Clooney",
1805
- obfuscatedId: "abc123",
1806
- metadata: {
1807
- type: "FULL_TIME",
1808
- title: "Actor",
1809
- department: "Movies",
1810
- email: "george@example.com",
1811
- location: "Hollywood, CA",
1812
- phone: "6505551234",
1813
- photoUrl: "https://example.com/george.jpg",
1814
- startDate: new index_js_2.RFCDate("2000-01-23"),
1815
- datasourceProfile: [
1816
- {
1817
- datasource: "github",
1818
- handle: "<value>",
1819
- },
1820
- ],
1821
- querySuggestions: {},
1822
- inviteInfo: {},
1823
- badges: [
1824
- {
1825
- key: "deployment_name_new_hire",
1826
- displayName: "New hire",
1827
- iconConfig: {
1828
- color: "#343CED",
1829
- key: "person_icon",
1830
- iconType: "GLYPH",
1831
- name: "user",
1832
- },
1833
- },
1834
- ],
1835
- },
1836
- },
1837
- components: [
1838
- "Backend",
1839
- "Networking",
1840
- ],
1841
- status: "[\"Done\"]",
1842
- assignedTo: {
1843
- name: "George Clooney",
1844
- obfuscatedId: "abc123",
1845
- metadata: {
1846
- type: "FULL_TIME",
1847
- title: "Actor",
1848
- department: "Movies",
1849
- email: "george@example.com",
1850
- location: "Hollywood, CA",
1851
- phone: "6505551234",
1852
- photoUrl: "https://example.com/george.jpg",
1853
- startDate: new index_js_2.RFCDate("2000-01-23"),
1854
- datasourceProfile: [
1855
- {
1856
- datasource: "github",
1857
- handle: "<value>",
1858
- },
1859
- {
1860
- datasource: "github",
1861
- handle: "<value>",
1862
- },
1863
- {
1864
- datasource: "github",
1865
- handle: "<value>",
1866
- },
1867
- ],
1868
- querySuggestions: {},
1869
- inviteInfo: {},
1870
- badges: [
1871
- {
1872
- key: "deployment_name_new_hire",
1873
- displayName: "New hire",
1874
- iconConfig: {
1875
- color: "#343CED",
1876
- key: "person_icon",
1877
- iconType: "GLYPH",
1878
- name: "user",
1879
- },
1880
- },
1881
- ],
1882
- },
1883
- },
1884
- updatedBy: {
1885
- name: "George Clooney",
1886
- obfuscatedId: "abc123",
1887
- metadata: {
1888
- type: "FULL_TIME",
1889
- title: "Actor",
1890
- department: "Movies",
1891
- email: "george@example.com",
1892
- location: "Hollywood, CA",
1893
- phone: "6505551234",
1894
- photoUrl: "https://example.com/george.jpg",
1895
- startDate: new index_js_2.RFCDate("2000-01-23"),
1896
- datasourceProfile: [
1897
- {
1898
- datasource: "github",
1899
- handle: "<value>",
1900
- },
1901
- {
1902
- datasource: "github",
1903
- handle: "<value>",
1904
- },
1905
- {
1906
- datasource: "github",
1907
- handle: "<value>",
1908
- },
1909
- ],
1910
- querySuggestions: {},
1911
- inviteInfo: {},
1912
- badges: [
1913
- {
1914
- key: "deployment_name_new_hire",
1915
- displayName: "New hire",
1916
- iconConfig: {
1917
- color: "#343CED",
1918
- key: "person_icon",
1919
- iconType: "GLYPH",
1920
- name: "user",
1921
- },
1922
- },
1923
- ],
1924
- },
1925
- },
1926
- interactions: {},
1927
- verification: {
1928
- state: "VERIFIED",
1929
- metadata: {
1930
- lastVerifier: {
1931
- name: "George Clooney",
1932
- obfuscatedId: "abc123",
1933
- metadata: {
1934
- type: "FULL_TIME",
1935
- title: "Actor",
1936
- department: "Movies",
1937
- email: "george@example.com",
1938
- location: "Hollywood, CA",
1939
- phone: "6505551234",
1940
- photoUrl: "https://example.com/george.jpg",
1941
- startDate: new index_js_2.RFCDate("2000-01-23"),
1942
- datasourceProfile: [
1943
- {
1944
- datasource: "github",
1945
- handle: "<value>",
1946
- },
1947
- {
1948
- datasource: "github",
1949
- handle: "<value>",
1950
- },
1951
- {
1952
- datasource: "github",
1953
- handle: "<value>",
1954
- },
1955
- ],
1956
- querySuggestions: {},
1957
- inviteInfo: {},
1958
- badges: [
1959
- {
1960
- key: "deployment_name_new_hire",
1961
- displayName: "New hire",
1962
- iconConfig: {
1963
- color: "#343CED",
1964
- key: "person_icon",
1965
- iconType: "GLYPH",
1966
- name: "user",
1967
- },
1968
- },
1969
- ],
1970
- },
1971
- },
1972
- lastReminder: {
1973
- assignee: {
1974
- name: "George Clooney",
1975
- obfuscatedId: "abc123",
1976
- metadata: {
1977
- type: "FULL_TIME",
1978
- title: "Actor",
1979
- department: "Movies",
1980
- email: "george@example.com",
1981
- location: "Hollywood, CA",
1982
- phone: "6505551234",
1983
- photoUrl: "https://example.com/george.jpg",
1984
- startDate: new index_js_2.RFCDate("2000-01-23"),
1985
- datasourceProfile: [
1986
- {
1987
- datasource: "github",
1988
- handle: "<value>",
1989
- },
1990
- ],
1991
- querySuggestions: {},
1992
- inviteInfo: {},
1993
- badges: [
1994
- {
1995
- key: "deployment_name_new_hire",
1996
- displayName: "New hire",
1997
- iconConfig: {
1998
- color: "#343CED",
1999
- key: "person_icon",
2000
- iconType: "GLYPH",
2001
- name: "user",
2002
- },
2003
- },
2004
- ],
2005
- },
2006
- },
2007
- requestor: {
2008
- name: "George Clooney",
2009
- obfuscatedId: "abc123",
2010
- metadata: {
2011
- type: "FULL_TIME",
2012
- title: "Actor",
2013
- department: "Movies",
2014
- email: "george@example.com",
2015
- location: "Hollywood, CA",
2016
- phone: "6505551234",
2017
- photoUrl: "https://example.com/george.jpg",
2018
- startDate: new index_js_2.RFCDate("2000-01-23"),
2019
- datasourceProfile: [
2020
- {
2021
- datasource: "github",
2022
- handle: "<value>",
2023
- },
2024
- {
2025
- datasource: "github",
2026
- handle: "<value>",
2027
- },
2028
- {
2029
- datasource: "github",
2030
- handle: "<value>",
2031
- },
2032
- ],
2033
- querySuggestions: {},
2034
- inviteInfo: {},
2035
- badges: [
2036
- {
2037
- key: "deployment_name_new_hire",
2038
- displayName: "New hire",
2039
- iconConfig: {
2040
- color: "#343CED",
2041
- key: "person_icon",
2042
- iconType: "GLYPH",
2043
- name: "user",
2044
- },
2045
- },
2046
- ],
2047
- },
2048
- },
2049
- remindAt: 23690,
2050
- },
2051
- },
2052
- },
2053
- customData: {
2054
- "someCustomField": {},
2055
- },
2056
- contactPerson: {
2057
- name: "George Clooney",
2058
- obfuscatedId: "abc123",
2059
- metadata: {
2060
- type: "FULL_TIME",
2061
- title: "Actor",
2062
- department: "Movies",
2063
- email: "george@example.com",
2064
- location: "Hollywood, CA",
2065
- phone: "6505551234",
2066
- photoUrl: "https://example.com/george.jpg",
2067
- startDate: new index_js_2.RFCDate("2000-01-23"),
2068
- datasourceProfile: [
2069
- {
2070
- datasource: "github",
2071
- handle: "<value>",
2072
- },
2073
- {
2074
- datasource: "github",
2075
- handle: "<value>",
2076
- },
2077
- {
2078
- datasource: "github",
2079
- handle: "<value>",
2080
- },
2081
- ],
2082
- querySuggestions: {},
2083
- inviteInfo: {},
2084
- badges: [
2085
- {
2086
- key: "deployment_name_new_hire",
2087
- displayName: "New hire",
2088
- iconConfig: {
2089
- color: "#343CED",
2090
- key: "person_icon",
2091
- iconType: "GLYPH",
2092
- name: "user",
2093
- },
2094
- },
2095
- ],
2096
- },
2097
- },
2098
- },
2099
- },
2100
- },
2101
- });
2102
- (0, vitest_1.expect)(result).toBeDefined();
2103
- });
2104
- (0, vitest_1.test)("Client Search Search", async () => {
2105
- const testHttpClient = (0, testclient_js_1.createTestHTTPClient)("search");
2106
- const glean = new index_js_1.Glean({
2107
- serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
2108
- httpClient: testHttpClient,
2109
- apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
2110
- });
2111
- const result = await glean.client.search.query({
2112
- trackingToken: "trackingToken",
2113
- sourceDocument: {
2114
- metadata: {
2115
- datasource: "datasource",
2116
- objectType: "Feature Request",
2117
- container: "container",
2118
- parentId: "JIRA_EN-1337",
2119
- mimeType: "mimeType",
2120
- documentId: "documentId",
2121
- createTime: new Date("2000-01-23T04:56:07.000Z"),
2122
- updateTime: new Date("2000-01-23T04:56:07.000Z"),
2123
- author: {
2124
- name: "George Clooney",
2125
- obfuscatedId: "abc123",
2126
- relatedDocuments: [
2127
- {
2128
- querySuggestion: {
2129
- query: "app:github type:pull author:mortimer",
2130
- searchProviderInfo: {
2131
- name: "Google",
2132
- searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
2133
- },
2134
- label: "Mortimer's PRs",
2135
- datasource: "github",
2136
- requestOptions: {
2137
- datasourceFilter: "JIRA",
2138
- datasourcesFilter: [
2139
- "JIRA",
2140
- ],
2141
- queryOverridesFacetFilters: true,
2142
- facetFilters: [
2143
- {
2144
- fieldName: "type",
2145
- values: [
2146
- {
2147
- value: "Spreadsheet",
2148
- relationType: "EQUALS",
2149
- },
2150
- {
2151
- value: "Presentation",
2152
- relationType: "EQUALS",
2153
- },
2154
- ],
2155
- },
2156
- ],
2157
- facetFilterSets: [
2158
- {
2159
- filters: [
2160
- {
2161
- fieldName: "type",
2162
- values: [
2163
- {
2164
- value: "Spreadsheet",
2165
- relationType: "EQUALS",
2166
- },
2167
- {
2168
- value: "Presentation",
2169
- relationType: "EQUALS",
2170
- },
2171
- ],
2172
- },
2173
- ],
2174
- },
2175
- {
2176
- filters: [
2177
- {
2178
- fieldName: "type",
2179
- values: [
2180
- {
2181
- value: "Spreadsheet",
2182
- relationType: "EQUALS",
2183
- },
2184
- {
2185
- value: "Presentation",
2186
- relationType: "EQUALS",
2187
- },
2188
- ],
2189
- },
2190
- ],
2191
- },
2192
- {
2193
- filters: [
2194
- {
2195
- fieldName: "type",
2196
- values: [
2197
- {
2198
- value: "Spreadsheet",
2199
- relationType: "EQUALS",
2200
- },
2201
- {
2202
- value: "Presentation",
2203
- relationType: "EQUALS",
2204
- },
2205
- ],
2206
- },
2207
- ],
2208
- },
2209
- ],
2210
- facetBucketSize: 51090,
2211
- authTokens: [
2212
- {
2213
- accessToken: "123abc",
2214
- datasource: "gmail",
2215
- scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
2216
- tokenType: "Bearer",
2217
- authUser: "1",
2218
- },
2219
- ],
2220
- },
2221
- ranges: [
2222
- {
2223
- startIndex: 636850,
2224
- },
2225
- {
2226
- startIndex: 559323,
2227
- },
2228
- {
2229
- startIndex: 639917,
2230
- },
2231
- ],
2232
- inputDetails: {
2233
- hasCopyPaste: true,
2234
- },
2235
- },
2236
- results: [
2237
- {
2238
- title: "title",
2239
- url: "https://example.com/foo/bar",
2240
- nativeAppUrl: "slack://foo/bar",
2241
- snippets: [
2242
- {
2243
- snippet: "snippet",
2244
- mimeType: "mimeType",
2245
- },
2246
- ],
2247
- },
2248
- ],
2249
- },
2250
- {
2251
- querySuggestion: {
2252
- query: "app:github type:pull author:mortimer",
2253
- searchProviderInfo: {
2254
- name: "Google",
2255
- searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
2256
- },
2257
- label: "Mortimer's PRs",
2258
- datasource: "github",
2259
- requestOptions: {
2260
- datasourceFilter: "JIRA",
2261
- datasourcesFilter: [
2262
- "JIRA",
2263
- ],
2264
- queryOverridesFacetFilters: true,
2265
- facetFilters: [
2266
- {
2267
- fieldName: "type",
2268
- values: [
2269
- {
2270
- value: "Spreadsheet",
2271
- relationType: "EQUALS",
2272
- },
2273
- {
2274
- value: "Presentation",
2275
- relationType: "EQUALS",
2276
- },
2277
- ],
2278
- },
2279
- ],
2280
- facetFilterSets: [
2281
- {
2282
- filters: [
2283
- {
2284
- fieldName: "type",
2285
- values: [
2286
- {
2287
- value: "Spreadsheet",
2288
- relationType: "EQUALS",
2289
- },
2290
- {
2291
- value: "Presentation",
2292
- relationType: "EQUALS",
2293
- },
2294
- ],
2295
- },
2296
- ],
2297
- },
2298
- {
2299
- filters: [
2300
- {
2301
- fieldName: "type",
2302
- values: [
2303
- {
2304
- value: "Spreadsheet",
2305
- relationType: "EQUALS",
2306
- },
2307
- {
2308
- value: "Presentation",
2309
- relationType: "EQUALS",
2310
- },
2311
- ],
2312
- },
2313
- ],
2314
- },
2315
- {
2316
- filters: [
2317
- {
2318
- fieldName: "type",
2319
- values: [
2320
- {
2321
- value: "Spreadsheet",
2322
- relationType: "EQUALS",
2323
- },
2324
- {
2325
- value: "Presentation",
2326
- relationType: "EQUALS",
2327
- },
2328
- ],
2329
- },
2330
- ],
2331
- },
2332
- ],
2333
- facetBucketSize: 855317,
2334
- authTokens: [
2335
- {
2336
- accessToken: "123abc",
2337
- datasource: "gmail",
2338
- scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
2339
- tokenType: "Bearer",
2340
- authUser: "1",
2341
- },
2342
- ],
2343
- },
2344
- inputDetails: {
2345
- hasCopyPaste: true,
2346
- },
2347
- },
2348
- },
2349
- {
2350
- querySuggestion: {
2351
- query: "app:github type:pull author:mortimer",
2352
- searchProviderInfo: {
2353
- name: "Google",
2354
- searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
2355
- },
2356
- label: "Mortimer's PRs",
2357
- datasource: "github",
2358
- requestOptions: {
2359
- datasourceFilter: "JIRA",
2360
- datasourcesFilter: [
2361
- "JIRA",
2362
- ],
2363
- queryOverridesFacetFilters: true,
2364
- facetFilters: [
2365
- {
2366
- fieldName: "type",
2367
- values: [
2368
- {
2369
- value: "Spreadsheet",
2370
- relationType: "EQUALS",
2371
- },
2372
- {
2373
- value: "Presentation",
2374
- relationType: "EQUALS",
2375
- },
2376
- ],
2377
- },
2378
- ],
2379
- facetFilterSets: [
2380
- {
2381
- filters: [
2382
- {
2383
- fieldName: "type",
2384
- values: [
2385
- {
2386
- value: "Spreadsheet",
2387
- relationType: "EQUALS",
2388
- },
2389
- {
2390
- value: "Presentation",
2391
- relationType: "EQUALS",
2392
- },
2393
- ],
2394
- },
2395
- ],
2396
- },
2397
- {
2398
- filters: [
2399
- {
2400
- fieldName: "type",
2401
- values: [
2402
- {
2403
- value: "Spreadsheet",
2404
- relationType: "EQUALS",
2405
- },
2406
- {
2407
- value: "Presentation",
2408
- relationType: "EQUALS",
2409
- },
2410
- ],
2411
- },
2412
- ],
2413
- },
2414
- {
2415
- filters: [
2416
- {
2417
- fieldName: "type",
2418
- values: [
2419
- {
2420
- value: "Spreadsheet",
2421
- relationType: "EQUALS",
2422
- },
2423
- {
2424
- value: "Presentation",
2425
- relationType: "EQUALS",
2426
- },
2427
- ],
2428
- },
2429
- ],
2430
- },
2431
- ],
2432
- facetBucketSize: 899726,
2433
- authTokens: [
2434
- {
2435
- accessToken: "123abc",
2436
- datasource: "gmail",
2437
- scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
2438
- tokenType: "Bearer",
2439
- authUser: "1",
2440
- },
2441
- ],
2442
- },
2443
- inputDetails: {
2444
- hasCopyPaste: true,
2445
- },
2446
- },
2447
- },
2448
- ],
2449
- metadata: {
2450
- type: "FULL_TIME",
2451
- title: "Actor",
2452
- department: "Movies",
2453
- email: "george@example.com",
2454
- location: "Hollywood, CA",
2455
- phone: "6505551234",
2456
- photoUrl: "https://example.com/george.jpg",
2457
- startDate: new index_js_2.RFCDate("2000-01-23"),
2458
- datasourceProfile: [
2459
- {
2460
- datasource: "github",
2461
- handle: "<value>",
2462
- },
2463
- {
2464
- datasource: "github",
2465
- handle: "<value>",
2466
- },
2467
- ],
2468
- querySuggestions: {
2469
- suggestions: [
2470
- {
2471
- query: "app:github type:pull author:mortimer",
2472
- label: "Mortimer's PRs",
2473
- datasource: "github",
2474
- },
2475
- ],
2476
- },
2477
- inviteInfo: {
2478
- invites: [
2479
- {},
2480
- ],
2481
- },
2482
- customFields: [
2483
- {
2484
- label: "<value>",
2485
- values: [],
2486
- },
2487
- ],
2488
- badges: [
2489
- {
2490
- key: "deployment_name_new_hire",
2491
- displayName: "New hire",
2492
- iconConfig: {
2493
- color: "#343CED",
2494
- key: "person_icon",
2495
- iconType: "GLYPH",
2496
- name: "user",
2497
- },
2498
- },
2499
- ],
2500
- },
2501
- },
2502
- owner: {
2503
- name: "George Clooney",
2504
- obfuscatedId: "abc123",
2505
- metadata: {
2506
- type: "FULL_TIME",
2507
- title: "Actor",
2508
- department: "Movies",
2509
- email: "george@example.com",
2510
- location: "Hollywood, CA",
2511
- phone: "6505551234",
2512
- photoUrl: "https://example.com/george.jpg",
2513
- startDate: new index_js_2.RFCDate("2000-01-23"),
2514
- datasourceProfile: [
2515
- {
2516
- datasource: "github",
2517
- handle: "<value>",
2518
- },
2519
- {
2520
- datasource: "github",
2521
- handle: "<value>",
2522
- },
2523
- {
2524
- datasource: "github",
2525
- handle: "<value>",
2526
- },
2527
- ],
2528
- querySuggestions: {},
2529
- inviteInfo: {},
2530
- badges: [
2531
- {
2532
- key: "deployment_name_new_hire",
2533
- displayName: "New hire",
2534
- iconConfig: {
2535
- color: "#343CED",
2536
- key: "person_icon",
2537
- iconType: "GLYPH",
2538
- name: "user",
2539
- },
2540
- },
2541
- ],
2542
- },
2543
- },
2544
- mentionedPeople: [
2545
- {
2546
- name: "George Clooney",
2547
- obfuscatedId: "abc123",
2548
- },
2549
- ],
2550
- components: [
2551
- "Backend",
2552
- "Networking",
2553
- ],
2554
- status: "[\"Done\"]",
2555
- pins: [
2556
- {
2557
- audienceFilters: [
2558
- {
2559
- fieldName: "type",
2560
- values: [
2561
- {
2562
- value: "Spreadsheet",
2563
- relationType: "EQUALS",
2564
- },
2565
- {
2566
- value: "Presentation",
2567
- relationType: "EQUALS",
2568
- },
2569
- ],
2570
- },
2571
- ],
2572
- documentId: "<id>",
2573
- attribution: {
2574
- name: "George Clooney",
2575
- obfuscatedId: "abc123",
2576
- metadata: {
2577
- type: "FULL_TIME",
2578
- title: "Actor",
2579
- department: "Movies",
2580
- email: "george@example.com",
2581
- location: "Hollywood, CA",
2582
- phone: "6505551234",
2583
- photoUrl: "https://example.com/george.jpg",
2584
- startDate: new index_js_2.RFCDate("2000-01-23"),
2585
- datasourceProfile: [
2586
- {
2587
- datasource: "github",
2588
- handle: "<value>",
2589
- },
2590
- {
2591
- datasource: "github",
2592
- handle: "<value>",
2593
- },
2594
- ],
2595
- querySuggestions: {},
2596
- inviteInfo: {},
2597
- badges: [
2598
- {
2599
- key: "deployment_name_new_hire",
2600
- displayName: "New hire",
2601
- iconConfig: {
2602
- color: "#343CED",
2603
- key: "person_icon",
2604
- iconType: "GLYPH",
2605
- name: "user",
2606
- },
2607
- },
2608
- ],
2609
- },
2610
- },
2611
- updatedBy: {
2612
- name: "George Clooney",
2613
- obfuscatedId: "abc123",
2614
- metadata: {
2615
- type: "FULL_TIME",
2616
- title: "Actor",
2617
- department: "Movies",
2618
- email: "george@example.com",
2619
- location: "Hollywood, CA",
2620
- phone: "6505551234",
2621
- photoUrl: "https://example.com/george.jpg",
2622
- startDate: new index_js_2.RFCDate("2000-01-23"),
2623
- datasourceProfile: [
2624
- {
2625
- datasource: "github",
2626
- handle: "<value>",
2627
- },
2628
- {
2629
- datasource: "github",
2630
- handle: "<value>",
2631
- },
2632
- {
2633
- datasource: "github",
2634
- handle: "<value>",
2635
- },
2636
- ],
2637
- querySuggestions: {},
2638
- inviteInfo: {},
2639
- badges: [
2640
- {
2641
- key: "deployment_name_new_hire",
2642
- displayName: "New hire",
2643
- iconConfig: {
2644
- color: "#343CED",
2645
- key: "person_icon",
2646
- iconType: "GLYPH",
2647
- name: "user",
2648
- },
2649
- },
2650
- ],
2651
- },
2652
- },
2653
- },
2654
- ],
2655
- assignedTo: {
2656
- name: "George Clooney",
2657
- obfuscatedId: "abc123",
2658
- metadata: {
2659
- type: "FULL_TIME",
2660
- title: "Actor",
2661
- department: "Movies",
2662
- email: "george@example.com",
2663
- location: "Hollywood, CA",
2664
- phone: "6505551234",
2665
- photoUrl: "https://example.com/george.jpg",
2666
- startDate: new index_js_2.RFCDate("2000-01-23"),
2667
- datasourceProfile: [
2668
- {
2669
- datasource: "github",
2670
- handle: "<value>",
2671
- },
2672
- {
2673
- datasource: "github",
2674
- handle: "<value>",
2675
- },
2676
- ],
2677
- querySuggestions: {},
2678
- inviteInfo: {},
2679
- badges: [
2680
- {
2681
- key: "deployment_name_new_hire",
2682
- displayName: "New hire",
2683
- iconConfig: {
2684
- color: "#343CED",
2685
- key: "person_icon",
2686
- iconType: "GLYPH",
2687
- name: "user",
2688
- },
2689
- },
2690
- ],
2691
- },
2692
- },
2693
- updatedBy: {
2694
- name: "George Clooney",
2695
- obfuscatedId: "abc123",
2696
- metadata: {
2697
- type: "FULL_TIME",
2698
- title: "Actor",
2699
- department: "Movies",
2700
- email: "george@example.com",
2701
- location: "Hollywood, CA",
2702
- phone: "6505551234",
2703
- photoUrl: "https://example.com/george.jpg",
2704
- startDate: new index_js_2.RFCDate("2000-01-23"),
2705
- datasourceProfile: [
2706
- {
2707
- datasource: "github",
2708
- handle: "<value>",
2709
- },
2710
- {
2711
- datasource: "github",
2712
- handle: "<value>",
2713
- },
2714
- {
2715
- datasource: "github",
2716
- handle: "<value>",
2717
- },
2718
- ],
2719
- querySuggestions: {},
2720
- inviteInfo: {},
2721
- badges: [
2722
- {
2723
- key: "deployment_name_new_hire",
2724
- displayName: "New hire",
2725
- iconConfig: {
2726
- color: "#343CED",
2727
- key: "person_icon",
2728
- iconType: "GLYPH",
2729
- name: "user",
2730
- },
2731
- },
2732
- ],
2733
- },
2734
- },
2735
- collections: [
2736
- {
2737
- name: "<value>",
2738
- description: "mmm video mid",
2739
- addedRoles: [
2740
- {
2741
- person: {
2742
- name: "George Clooney",
2743
- obfuscatedId: "abc123",
2744
- metadata: {
2745
- type: "FULL_TIME",
2746
- title: "Actor",
2747
- department: "Movies",
2748
- email: "george@example.com",
2749
- location: "Hollywood, CA",
2750
- phone: "6505551234",
2751
- photoUrl: "https://example.com/george.jpg",
2752
- startDate: new index_js_2.RFCDate("2000-01-23"),
2753
- datasourceProfile: [
2754
- {
2755
- datasource: "github",
2756
- handle: "<value>",
2757
- },
2758
- ],
2759
- querySuggestions: {},
2760
- inviteInfo: {},
2761
- badges: [
2762
- {
2763
- key: "deployment_name_new_hire",
2764
- displayName: "New hire",
2765
- iconConfig: {
2766
- color: "#343CED",
2767
- key: "person_icon",
2768
- iconType: "GLYPH",
2769
- name: "user",
2770
- },
2771
- },
2772
- ],
2773
- },
2774
- },
2775
- role: "OWNER",
2776
- },
2777
- {
2778
- person: {
2779
- name: "George Clooney",
2780
- obfuscatedId: "abc123",
2781
- metadata: {
2782
- type: "FULL_TIME",
2783
- title: "Actor",
2784
- department: "Movies",
2785
- email: "george@example.com",
2786
- location: "Hollywood, CA",
2787
- phone: "6505551234",
2788
- photoUrl: "https://example.com/george.jpg",
2789
- startDate: new index_js_2.RFCDate("2000-01-23"),
2790
- datasourceProfile: [
2791
- {
2792
- datasource: "github",
2793
- handle: "<value>",
2794
- },
2795
- {
2796
- datasource: "github",
2797
- handle: "<value>",
2798
- },
2799
- ],
2800
- querySuggestions: {},
2801
- inviteInfo: {},
2802
- badges: [
2803
- {
2804
- key: "deployment_name_new_hire",
2805
- displayName: "New hire",
2806
- iconConfig: {
2807
- color: "#343CED",
2808
- key: "person_icon",
2809
- iconType: "GLYPH",
2810
- name: "user",
2811
- },
2812
- },
2813
- ],
2814
- },
2815
- },
2816
- role: "ANSWER_MODERATOR",
2817
- },
2818
- {
2819
- person: {
2820
- name: "George Clooney",
2821
- obfuscatedId: "abc123",
2822
- metadata: {
2823
- type: "FULL_TIME",
2824
- title: "Actor",
2825
- department: "Movies",
2826
- email: "george@example.com",
2827
- location: "Hollywood, CA",
2828
- phone: "6505551234",
2829
- photoUrl: "https://example.com/george.jpg",
2830
- startDate: new index_js_2.RFCDate("2000-01-23"),
2831
- datasourceProfile: [
2832
- {
2833
- datasource: "github",
2834
- handle: "<value>",
2835
- },
2836
- ],
2837
- querySuggestions: {},
2838
- inviteInfo: {},
2839
- badges: [
2840
- {
2841
- key: "deployment_name_new_hire",
2842
- displayName: "New hire",
2843
- iconConfig: {
2844
- color: "#343CED",
2845
- key: "person_icon",
2846
- iconType: "GLYPH",
2847
- name: "user",
2848
- },
2849
- },
2850
- ],
2851
- },
2852
- },
2853
- role: "EDITOR",
2854
- },
2855
- ],
2856
- removedRoles: [
2857
- {
2858
- person: {
2859
- name: "George Clooney",
2860
- obfuscatedId: "abc123",
2861
- metadata: {
2862
- type: "FULL_TIME",
2863
- title: "Actor",
2864
- department: "Movies",
2865
- email: "george@example.com",
2866
- location: "Hollywood, CA",
2867
- phone: "6505551234",
2868
- photoUrl: "https://example.com/george.jpg",
2869
- startDate: new index_js_2.RFCDate("2000-01-23"),
2870
- datasourceProfile: [
2871
- {
2872
- datasource: "github",
2873
- handle: "<value>",
2874
- },
2875
- ],
2876
- querySuggestions: {},
2877
- inviteInfo: {},
2878
- badges: [
2879
- {
2880
- key: "deployment_name_new_hire",
2881
- displayName: "New hire",
2882
- iconConfig: {
2883
- color: "#343CED",
2884
- key: "person_icon",
2885
- iconType: "GLYPH",
2886
- name: "user",
2887
- },
2888
- },
2889
- ],
2890
- },
2891
- },
2892
- role: "ANSWER_MODERATOR",
2893
- },
2894
- {
2895
- person: {
2896
- name: "George Clooney",
2897
- obfuscatedId: "abc123",
2898
- metadata: {
2899
- type: "FULL_TIME",
2900
- title: "Actor",
2901
- department: "Movies",
2902
- email: "george@example.com",
2903
- location: "Hollywood, CA",
2904
- phone: "6505551234",
2905
- photoUrl: "https://example.com/george.jpg",
2906
- startDate: new index_js_2.RFCDate("2000-01-23"),
2907
- datasourceProfile: [
2908
- {
2909
- datasource: "github",
2910
- handle: "<value>",
2911
- },
2912
- {
2913
- datasource: "github",
2914
- handle: "<value>",
2915
- },
2916
- {
2917
- datasource: "github",
2918
- handle: "<value>",
2919
- },
2920
- ],
2921
- querySuggestions: {},
2922
- inviteInfo: {},
2923
- badges: [
2924
- {
2925
- key: "deployment_name_new_hire",
2926
- displayName: "New hire",
2927
- iconConfig: {
2928
- color: "#343CED",
2929
- key: "person_icon",
2930
- iconType: "GLYPH",
2931
- name: "user",
2932
- },
2933
- },
2934
- ],
2935
- },
2936
- },
2937
- role: "VERIFIER",
2938
- },
2939
- {
2940
- person: {
2941
- name: "George Clooney",
2942
- obfuscatedId: "abc123",
2943
- metadata: {
2944
- type: "FULL_TIME",
2945
- title: "Actor",
2946
- department: "Movies",
2947
- email: "george@example.com",
2948
- location: "Hollywood, CA",
2949
- phone: "6505551234",
2950
- photoUrl: "https://example.com/george.jpg",
2951
- startDate: new index_js_2.RFCDate("2000-01-23"),
2952
- datasourceProfile: [
2953
- {
2954
- datasource: "github",
2955
- handle: "<value>",
2956
- },
2957
- ],
2958
- querySuggestions: {},
2959
- inviteInfo: {},
2960
- badges: [
2961
- {
2962
- key: "deployment_name_new_hire",
2963
- displayName: "New hire",
2964
- iconConfig: {
2965
- color: "#343CED",
2966
- key: "person_icon",
2967
- iconType: "GLYPH",
2968
- name: "user",
2969
- },
2970
- },
2971
- ],
2972
- },
2973
- },
2974
- role: "OWNER",
2975
- },
2976
- ],
2977
- audienceFilters: [
2978
- {
2979
- fieldName: "type",
2980
- values: [
2981
- {
2982
- value: "Spreadsheet",
2983
- relationType: "EQUALS",
2984
- },
2985
- {
2986
- value: "Presentation",
2987
- relationType: "EQUALS",
2988
- },
2989
- ],
2990
- },
2991
- ],
2992
- id: 524051,
2993
- creator: {
2994
- name: "George Clooney",
2995
- obfuscatedId: "abc123",
2996
- metadata: {
2997
- type: "FULL_TIME",
2998
- title: "Actor",
2999
- department: "Movies",
3000
- email: "george@example.com",
3001
- location: "Hollywood, CA",
3002
- phone: "6505551234",
3003
- photoUrl: "https://example.com/george.jpg",
3004
- startDate: new index_js_2.RFCDate("2000-01-23"),
3005
- datasourceProfile: [
3006
- {
3007
- datasource: "github",
3008
- handle: "<value>",
3009
- },
3010
- ],
3011
- querySuggestions: {},
3012
- inviteInfo: {},
3013
- badges: [
3014
- {
3015
- key: "deployment_name_new_hire",
3016
- displayName: "New hire",
3017
- iconConfig: {
3018
- color: "#343CED",
3019
- key: "person_icon",
3020
- iconType: "GLYPH",
3021
- name: "user",
3022
- },
3023
- },
3024
- ],
3025
- },
3026
- },
3027
- updatedBy: {
3028
- name: "George Clooney",
3029
- obfuscatedId: "abc123",
3030
- metadata: {
3031
- type: "FULL_TIME",
3032
- title: "Actor",
3033
- department: "Movies",
3034
- email: "george@example.com",
3035
- location: "Hollywood, CA",
3036
- phone: "6505551234",
3037
- photoUrl: "https://example.com/george.jpg",
3038
- startDate: new index_js_2.RFCDate("2000-01-23"),
3039
- datasourceProfile: [
3040
- {
3041
- datasource: "github",
3042
- handle: "<value>",
3043
- },
3044
- {
3045
- datasource: "github",
3046
- handle: "<value>",
3047
- },
3048
- ],
3049
- querySuggestions: {},
3050
- inviteInfo: {},
3051
- badges: [
3052
- {
3053
- key: "deployment_name_new_hire",
3054
- displayName: "New hire",
3055
- iconConfig: {
3056
- color: "#343CED",
3057
- key: "person_icon",
3058
- iconType: "GLYPH",
3059
- name: "user",
3060
- },
3061
- },
3062
- ],
3063
- },
3064
- },
3065
- items: [
3066
- {
3067
- collectionId: 75113,
3068
- createdBy: {
3069
- name: "George Clooney",
3070
- obfuscatedId: "abc123",
3071
- metadata: {
3072
- type: "FULL_TIME",
3073
- title: "Actor",
3074
- department: "Movies",
3075
- email: "george@example.com",
3076
- location: "Hollywood, CA",
3077
- phone: "6505551234",
3078
- photoUrl: "https://example.com/george.jpg",
3079
- startDate: new index_js_2.RFCDate("2000-01-23"),
3080
- datasourceProfile: [
3081
- {
3082
- datasource: "github",
3083
- handle: "<value>",
3084
- },
3085
- {
3086
- datasource: "github",
3087
- handle: "<value>",
3088
- },
3089
- ],
3090
- querySuggestions: {},
3091
- inviteInfo: {},
3092
- badges: [
3093
- {
3094
- key: "deployment_name_new_hire",
3095
- displayName: "New hire",
3096
- iconConfig: {
3097
- color: "#343CED",
3098
- key: "person_icon",
3099
- iconType: "GLYPH",
3100
- name: "user",
3101
- },
3102
- },
3103
- ],
3104
- },
3105
- },
3106
- shortcut: {
3107
- inputAlias: "<value>",
3108
- createdBy: {
3109
- name: "George Clooney",
3110
- obfuscatedId: "abc123",
3111
- metadata: {
3112
- type: "FULL_TIME",
3113
- title: "Actor",
3114
- department: "Movies",
3115
- email: "george@example.com",
3116
- location: "Hollywood, CA",
3117
- phone: "6505551234",
3118
- photoUrl: "https://example.com/george.jpg",
3119
- startDate: new index_js_2.RFCDate("2000-01-23"),
3120
- datasourceProfile: [
3121
- {
3122
- datasource: "github",
3123
- handle: "<value>",
3124
- },
3125
- {
3126
- datasource: "github",
3127
- handle: "<value>",
3128
- },
3129
- ],
3130
- querySuggestions: {},
3131
- inviteInfo: {},
3132
- badges: [
3133
- {
3134
- key: "deployment_name_new_hire",
3135
- displayName: "New hire",
3136
- iconConfig: {
3137
- color: "#343CED",
3138
- key: "person_icon",
3139
- iconType: "GLYPH",
3140
- name: "user",
3141
- },
3142
- },
3143
- ],
3144
- },
3145
- },
3146
- updatedBy: {
3147
- name: "George Clooney",
3148
- obfuscatedId: "abc123",
3149
- metadata: {
3150
- type: "FULL_TIME",
3151
- title: "Actor",
3152
- department: "Movies",
3153
- email: "george@example.com",
3154
- location: "Hollywood, CA",
3155
- phone: "6505551234",
3156
- photoUrl: "https://example.com/george.jpg",
3157
- startDate: new index_js_2.RFCDate("2000-01-23"),
3158
- datasourceProfile: [
3159
- {
3160
- datasource: "github",
3161
- handle: "<value>",
3162
- },
3163
- ],
3164
- querySuggestions: {},
3165
- inviteInfo: {},
3166
- badges: [
3167
- {
3168
- key: "deployment_name_new_hire",
3169
- displayName: "New hire",
3170
- iconConfig: {
3171
- color: "#343CED",
3172
- key: "person_icon",
3173
- iconType: "GLYPH",
3174
- name: "user",
3175
- },
3176
- },
3177
- ],
3178
- },
3179
- },
3180
- roles: [
3181
- {
3182
- person: {
3183
- name: "George Clooney",
3184
- obfuscatedId: "abc123",
3185
- metadata: {
3186
- type: "FULL_TIME",
3187
- title: "Actor",
3188
- department: "Movies",
3189
- email: "george@example.com",
3190
- location: "Hollywood, CA",
3191
- phone: "6505551234",
3192
- photoUrl: "https://example.com/george.jpg",
3193
- startDate: new index_js_2.RFCDate("2000-01-23"),
3194
- datasourceProfile: [
3195
- {
3196
- datasource: "github",
3197
- handle: "<value>",
3198
- },
3199
- {
3200
- datasource: "github",
3201
- handle: "<value>",
3202
- },
3203
- {
3204
- datasource: "github",
3205
- handle: "<value>",
3206
- },
3207
- ],
3208
- querySuggestions: {},
3209
- inviteInfo: {},
3210
- badges: [
3211
- {
3212
- key: "deployment_name_new_hire",
3213
- displayName: "New hire",
3214
- iconConfig: {
3215
- color: "#343CED",
3216
- key: "person_icon",
3217
- iconType: "GLYPH",
3218
- name: "user",
3219
- },
3220
- },
3221
- ],
3222
- },
3223
- },
3224
- role: "VERIFIER",
3225
- },
3226
- ],
3227
- },
3228
- itemType: "COLLECTION",
3229
- },
3230
- {
3231
- collectionId: 744767,
3232
- createdBy: {
3233
- name: "George Clooney",
3234
- obfuscatedId: "abc123",
3235
- metadata: {
3236
- type: "FULL_TIME",
3237
- title: "Actor",
3238
- department: "Movies",
3239
- email: "george@example.com",
3240
- location: "Hollywood, CA",
3241
- phone: "6505551234",
3242
- photoUrl: "https://example.com/george.jpg",
3243
- startDate: new index_js_2.RFCDate("2000-01-23"),
3244
- datasourceProfile: [
3245
- {
3246
- datasource: "github",
3247
- handle: "<value>",
3248
- },
3249
- {
3250
- datasource: "github",
3251
- handle: "<value>",
3252
- },
3253
- {
3254
- datasource: "github",
3255
- handle: "<value>",
3256
- },
3257
- ],
3258
- querySuggestions: {},
3259
- inviteInfo: {},
3260
- badges: [
3261
- {
3262
- key: "deployment_name_new_hire",
3263
- displayName: "New hire",
3264
- iconConfig: {
3265
- color: "#343CED",
3266
- key: "person_icon",
3267
- iconType: "GLYPH",
3268
- name: "user",
3269
- },
3270
- },
3271
- ],
3272
- },
3273
- },
3274
- shortcut: {
3275
- inputAlias: "<value>",
3276
- createdBy: {
3277
- name: "George Clooney",
3278
- obfuscatedId: "abc123",
3279
- metadata: {
3280
- type: "FULL_TIME",
3281
- title: "Actor",
3282
- department: "Movies",
3283
- email: "george@example.com",
3284
- location: "Hollywood, CA",
3285
- phone: "6505551234",
3286
- photoUrl: "https://example.com/george.jpg",
3287
- startDate: new index_js_2.RFCDate("2000-01-23"),
3288
- datasourceProfile: [
3289
- {
3290
- datasource: "github",
3291
- handle: "<value>",
3292
- },
3293
- {
3294
- datasource: "github",
3295
- handle: "<value>",
3296
- },
3297
- ],
3298
- querySuggestions: {},
3299
- inviteInfo: {},
3300
- badges: [
3301
- {
3302
- key: "deployment_name_new_hire",
3303
- displayName: "New hire",
3304
- iconConfig: {
3305
- color: "#343CED",
3306
- key: "person_icon",
3307
- iconType: "GLYPH",
3308
- name: "user",
3309
- },
3310
- },
3311
- ],
3312
- },
3313
- },
3314
- updatedBy: {
3315
- name: "George Clooney",
3316
- obfuscatedId: "abc123",
3317
- metadata: {
3318
- type: "FULL_TIME",
3319
- title: "Actor",
3320
- department: "Movies",
3321
- email: "george@example.com",
3322
- location: "Hollywood, CA",
3323
- phone: "6505551234",
3324
- photoUrl: "https://example.com/george.jpg",
3325
- startDate: new index_js_2.RFCDate("2000-01-23"),
3326
- datasourceProfile: [
3327
- {
3328
- datasource: "github",
3329
- handle: "<value>",
3330
- },
3331
- ],
3332
- querySuggestions: {},
3333
- inviteInfo: {},
3334
- badges: [
3335
- {
3336
- key: "deployment_name_new_hire",
3337
- displayName: "New hire",
3338
- iconConfig: {
3339
- color: "#343CED",
3340
- key: "person_icon",
3341
- iconType: "GLYPH",
3342
- name: "user",
3343
- },
3344
- },
3345
- ],
3346
- },
3347
- },
3348
- },
3349
- itemType: "DOCUMENT",
3350
- },
3351
- ],
3352
- },
3353
- {
3354
- name: "<value>",
3355
- description: "brr finally hastily amused needily if uh-huh outside wrongly too",
3356
- audienceFilters: [
3357
- {
3358
- fieldName: "type",
3359
- values: [
3360
- {
3361
- value: "Spreadsheet",
3362
- relationType: "EQUALS",
3363
- },
3364
- {
3365
- value: "Presentation",
3366
- relationType: "EQUALS",
3367
- },
3368
- ],
3369
- },
3370
- ],
3371
- id: 448428,
3372
- creator: {
3373
- name: "George Clooney",
3374
- obfuscatedId: "abc123",
3375
- metadata: {
3376
- type: "FULL_TIME",
3377
- title: "Actor",
3378
- department: "Movies",
3379
- email: "george@example.com",
3380
- location: "Hollywood, CA",
3381
- phone: "6505551234",
3382
- photoUrl: "https://example.com/george.jpg",
3383
- startDate: new index_js_2.RFCDate("2000-01-23"),
3384
- datasourceProfile: [
3385
- {
3386
- datasource: "github",
3387
- handle: "<value>",
3388
- },
3389
- {
3390
- datasource: "github",
3391
- handle: "<value>",
3392
- },
3393
- {
3394
- datasource: "github",
3395
- handle: "<value>",
3396
- },
3397
- ],
3398
- querySuggestions: {},
3399
- inviteInfo: {},
3400
- badges: [
3401
- {
3402
- key: "deployment_name_new_hire",
3403
- displayName: "New hire",
3404
- iconConfig: {
3405
- color: "#343CED",
3406
- key: "person_icon",
3407
- iconType: "GLYPH",
3408
- name: "user",
3409
- },
3410
- },
3411
- ],
3412
- },
3413
- },
3414
- updatedBy: {
3415
- name: "George Clooney",
3416
- obfuscatedId: "abc123",
3417
- metadata: {
3418
- type: "FULL_TIME",
3419
- title: "Actor",
3420
- department: "Movies",
3421
- email: "george@example.com",
3422
- location: "Hollywood, CA",
3423
- phone: "6505551234",
3424
- photoUrl: "https://example.com/george.jpg",
3425
- startDate: new index_js_2.RFCDate("2000-01-23"),
3426
- datasourceProfile: [
3427
- {
3428
- datasource: "github",
3429
- handle: "<value>",
3430
- },
3431
- ],
3432
- querySuggestions: {},
3433
- inviteInfo: {},
3434
- badges: [
3435
- {
3436
- key: "deployment_name_new_hire",
3437
- displayName: "New hire",
3438
- iconConfig: {
3439
- color: "#343CED",
3440
- key: "person_icon",
3441
- iconType: "GLYPH",
3442
- name: "user",
3443
- },
3444
- },
3445
- ],
3446
- },
3447
- },
3448
- },
3449
- ],
3450
- interactions: {
3451
- reacts: [
3452
- {
3453
- reactors: [
3454
- {
3455
- name: "George Clooney",
3456
- obfuscatedId: "abc123",
3457
- },
3458
- ],
3459
- },
3460
- {},
3461
- {},
3462
- ],
3463
- shares: [
3464
- {
3465
- numDaysAgo: 876677,
3466
- sharer: {
3467
- name: "George Clooney",
3468
- obfuscatedId: "abc123",
3469
- metadata: {
3470
- type: "FULL_TIME",
3471
- title: "Actor",
3472
- department: "Movies",
3473
- email: "george@example.com",
3474
- location: "Hollywood, CA",
3475
- phone: "6505551234",
3476
- photoUrl: "https://example.com/george.jpg",
3477
- startDate: new index_js_2.RFCDate("2000-01-23"),
3478
- datasourceProfile: [
3479
- {
3480
- datasource: "github",
3481
- handle: "<value>",
3482
- },
3483
- ],
3484
- querySuggestions: {},
3485
- inviteInfo: {},
3486
- badges: [
3487
- {
3488
- key: "deployment_name_new_hire",
3489
- displayName: "New hire",
3490
- iconConfig: {
3491
- color: "#343CED",
3492
- key: "person_icon",
3493
- iconType: "GLYPH",
3494
- name: "user",
3495
- },
3496
- },
3497
- ],
3498
- },
3499
- },
3500
- },
3501
- ],
3502
- },
3503
- verification: {
3504
- state: "UNVERIFIED",
3505
- metadata: {
3506
- lastVerifier: {
3507
- name: "George Clooney",
3508
- obfuscatedId: "abc123",
3509
- metadata: {
3510
- type: "FULL_TIME",
3511
- title: "Actor",
3512
- department: "Movies",
3513
- email: "george@example.com",
3514
- location: "Hollywood, CA",
3515
- phone: "6505551234",
3516
- photoUrl: "https://example.com/george.jpg",
3517
- startDate: new index_js_2.RFCDate("2000-01-23"),
3518
- datasourceProfile: [
3519
- {
3520
- datasource: "github",
3521
- handle: "<value>",
3522
- },
3523
- ],
3524
- querySuggestions: {},
3525
- inviteInfo: {},
3526
- badges: [
3527
- {
3528
- key: "deployment_name_new_hire",
3529
- displayName: "New hire",
3530
- iconConfig: {
3531
- color: "#343CED",
3532
- key: "person_icon",
3533
- iconType: "GLYPH",
3534
- name: "user",
3535
- },
3536
- },
3537
- ],
3538
- },
3539
- },
3540
- reminders: [
3541
- {
3542
- assignee: {
3543
- name: "George Clooney",
3544
- obfuscatedId: "abc123",
3545
- metadata: {
3546
- type: "FULL_TIME",
3547
- title: "Actor",
3548
- department: "Movies",
3549
- email: "george@example.com",
3550
- location: "Hollywood, CA",
3551
- phone: "6505551234",
3552
- photoUrl: "https://example.com/george.jpg",
3553
- startDate: new index_js_2.RFCDate("2000-01-23"),
3554
- datasourceProfile: [
3555
- {
3556
- datasource: "github",
3557
- handle: "<value>",
3558
- },
3559
- {
3560
- datasource: "github",
3561
- handle: "<value>",
3562
- },
3563
- ],
3564
- querySuggestions: {},
3565
- inviteInfo: {},
3566
- badges: [
3567
- {
3568
- key: "deployment_name_new_hire",
3569
- displayName: "New hire",
3570
- iconConfig: {
3571
- color: "#343CED",
3572
- key: "person_icon",
3573
- iconType: "GLYPH",
3574
- name: "user",
3575
- },
3576
- },
3577
- ],
3578
- },
3579
- },
3580
- requestor: {
3581
- name: "George Clooney",
3582
- obfuscatedId: "abc123",
3583
- metadata: {
3584
- type: "FULL_TIME",
3585
- title: "Actor",
3586
- department: "Movies",
3587
- email: "george@example.com",
3588
- location: "Hollywood, CA",
3589
- phone: "6505551234",
3590
- photoUrl: "https://example.com/george.jpg",
3591
- startDate: new index_js_2.RFCDate("2000-01-23"),
3592
- datasourceProfile: [
3593
- {
3594
- datasource: "github",
3595
- handle: "<value>",
3596
- },
3597
- {
3598
- datasource: "github",
3599
- handle: "<value>",
3600
- },
3601
- ],
3602
- querySuggestions: {},
3603
- inviteInfo: {},
3604
- badges: [
3605
- {
3606
- key: "deployment_name_new_hire",
3607
- displayName: "New hire",
3608
- iconConfig: {
3609
- color: "#343CED",
3610
- key: "person_icon",
3611
- iconType: "GLYPH",
3612
- name: "user",
3613
- },
3614
- },
3615
- ],
3616
- },
3617
- },
3618
- remindAt: 854607,
3619
- },
3620
- {
3621
- assignee: {
3622
- name: "George Clooney",
3623
- obfuscatedId: "abc123",
3624
- metadata: {
3625
- type: "FULL_TIME",
3626
- title: "Actor",
3627
- department: "Movies",
3628
- email: "george@example.com",
3629
- location: "Hollywood, CA",
3630
- phone: "6505551234",
3631
- photoUrl: "https://example.com/george.jpg",
3632
- startDate: new index_js_2.RFCDate("2000-01-23"),
3633
- datasourceProfile: [
3634
- {
3635
- datasource: "github",
3636
- handle: "<value>",
3637
- },
3638
- {
3639
- datasource: "github",
3640
- handle: "<value>",
3641
- },
3642
- {
3643
- datasource: "github",
3644
- handle: "<value>",
3645
- },
3646
- ],
3647
- querySuggestions: {},
3648
- inviteInfo: {},
3649
- badges: [
3650
- {
3651
- key: "deployment_name_new_hire",
3652
- displayName: "New hire",
3653
- iconConfig: {
3654
- color: "#343CED",
3655
- key: "person_icon",
3656
- iconType: "GLYPH",
3657
- name: "user",
3658
- },
3659
- },
3660
- ],
3661
- },
3662
- },
3663
- requestor: {
3664
- name: "George Clooney",
3665
- obfuscatedId: "abc123",
3666
- metadata: {
3667
- type: "FULL_TIME",
3668
- title: "Actor",
3669
- department: "Movies",
3670
- email: "george@example.com",
3671
- location: "Hollywood, CA",
3672
- phone: "6505551234",
3673
- photoUrl: "https://example.com/george.jpg",
3674
- startDate: new index_js_2.RFCDate("2000-01-23"),
3675
- datasourceProfile: [
3676
- {
3677
- datasource: "github",
3678
- handle: "<value>",
3679
- },
3680
- {
3681
- datasource: "github",
3682
- handle: "<value>",
3683
- },
3684
- ],
3685
- querySuggestions: {},
3686
- inviteInfo: {},
3687
- badges: [
3688
- {
3689
- key: "deployment_name_new_hire",
3690
- displayName: "New hire",
3691
- iconConfig: {
3692
- color: "#343CED",
3693
- key: "person_icon",
3694
- iconType: "GLYPH",
3695
- name: "user",
3696
- },
3697
- },
3698
- ],
3699
- },
3700
- },
3701
- remindAt: 214607,
3702
- },
3703
- {
3704
- assignee: {
3705
- name: "George Clooney",
3706
- obfuscatedId: "abc123",
3707
- metadata: {
3708
- type: "FULL_TIME",
3709
- title: "Actor",
3710
- department: "Movies",
3711
- email: "george@example.com",
3712
- location: "Hollywood, CA",
3713
- phone: "6505551234",
3714
- photoUrl: "https://example.com/george.jpg",
3715
- startDate: new index_js_2.RFCDate("2000-01-23"),
3716
- datasourceProfile: [
3717
- {
3718
- datasource: "github",
3719
- handle: "<value>",
3720
- },
3721
- ],
3722
- querySuggestions: {},
3723
- inviteInfo: {},
3724
- badges: [
3725
- {
3726
- key: "deployment_name_new_hire",
3727
- displayName: "New hire",
3728
- iconConfig: {
3729
- color: "#343CED",
3730
- key: "person_icon",
3731
- iconType: "GLYPH",
3732
- name: "user",
3733
- },
3734
- },
3735
- ],
3736
- },
3737
- },
3738
- requestor: {
3739
- name: "George Clooney",
3740
- obfuscatedId: "abc123",
3741
- metadata: {
3742
- type: "FULL_TIME",
3743
- title: "Actor",
3744
- department: "Movies",
3745
- email: "george@example.com",
3746
- location: "Hollywood, CA",
3747
- phone: "6505551234",
3748
- photoUrl: "https://example.com/george.jpg",
3749
- startDate: new index_js_2.RFCDate("2000-01-23"),
3750
- datasourceProfile: [
3751
- {
3752
- datasource: "github",
3753
- handle: "<value>",
3754
- },
3755
- {
3756
- datasource: "github",
3757
- handle: "<value>",
3758
- },
3759
- ],
3760
- querySuggestions: {},
3761
- inviteInfo: {},
3762
- badges: [
3763
- {
3764
- key: "deployment_name_new_hire",
3765
- displayName: "New hire",
3766
- iconConfig: {
3767
- color: "#343CED",
3768
- key: "person_icon",
3769
- iconType: "GLYPH",
3770
- name: "user",
3771
- },
3772
- },
3773
- ],
3774
- },
3775
- },
3776
- remindAt: 204917,
3777
- },
3778
- ],
3779
- lastReminder: {
3780
- assignee: {
3781
- name: "George Clooney",
3782
- obfuscatedId: "abc123",
3783
- metadata: {
3784
- type: "FULL_TIME",
3785
- title: "Actor",
3786
- department: "Movies",
3787
- email: "george@example.com",
3788
- location: "Hollywood, CA",
3789
- phone: "6505551234",
3790
- photoUrl: "https://example.com/george.jpg",
3791
- startDate: new index_js_2.RFCDate("2000-01-23"),
3792
- datasourceProfile: [
3793
- {
3794
- datasource: "github",
3795
- handle: "<value>",
3796
- },
3797
- {
3798
- datasource: "github",
3799
- handle: "<value>",
3800
- },
3801
- {
3802
- datasource: "github",
3803
- handle: "<value>",
3804
- },
3805
- ],
3806
- querySuggestions: {},
3807
- inviteInfo: {},
3808
- badges: [
3809
- {
3810
- key: "deployment_name_new_hire",
3811
- displayName: "New hire",
3812
- iconConfig: {
3813
- color: "#343CED",
3814
- key: "person_icon",
3815
- iconType: "GLYPH",
3816
- name: "user",
3817
- },
3818
- },
3819
- ],
3820
- },
3821
- },
3822
- requestor: {
3823
- name: "George Clooney",
3824
- obfuscatedId: "abc123",
3825
- metadata: {
3826
- type: "FULL_TIME",
3827
- title: "Actor",
3828
- department: "Movies",
3829
- email: "george@example.com",
3830
- location: "Hollywood, CA",
3831
- phone: "6505551234",
3832
- photoUrl: "https://example.com/george.jpg",
3833
- startDate: new index_js_2.RFCDate("2000-01-23"),
3834
- datasourceProfile: [
3835
- {
3836
- datasource: "github",
3837
- handle: "<value>",
3838
- },
3839
- ],
3840
- querySuggestions: {},
3841
- inviteInfo: {},
3842
- badges: [
3843
- {
3844
- key: "deployment_name_new_hire",
3845
- displayName: "New hire",
3846
- iconConfig: {
3847
- color: "#343CED",
3848
- key: "person_icon",
3849
- iconType: "GLYPH",
3850
- name: "user",
3851
- },
3852
- },
3853
- ],
3854
- },
3855
- },
3856
- remindAt: 554738,
3857
- },
3858
- candidateVerifiers: [
3859
- {
3860
- name: "George Clooney",
3861
- obfuscatedId: "abc123",
3862
- },
3863
- ],
3864
- },
3865
- },
3866
- shortcuts: [
3867
- {
3868
- inputAlias: "<value>",
3869
- createdBy: {
3870
- name: "George Clooney",
3871
- obfuscatedId: "abc123",
3872
- metadata: {
3873
- type: "FULL_TIME",
3874
- title: "Actor",
3875
- department: "Movies",
3876
- email: "george@example.com",
3877
- location: "Hollywood, CA",
3878
- phone: "6505551234",
3879
- photoUrl: "https://example.com/george.jpg",
3880
- startDate: new index_js_2.RFCDate("2000-01-23"),
3881
- datasourceProfile: [
3882
- {
3883
- datasource: "github",
3884
- handle: "<value>",
3885
- },
3886
- {
3887
- datasource: "github",
3888
- handle: "<value>",
3889
- },
3890
- ],
3891
- querySuggestions: {},
3892
- inviteInfo: {},
3893
- badges: [
3894
- {
3895
- key: "deployment_name_new_hire",
3896
- displayName: "New hire",
3897
- iconConfig: {
3898
- color: "#343CED",
3899
- key: "person_icon",
3900
- iconType: "GLYPH",
3901
- name: "user",
3902
- },
3903
- },
3904
- ],
3905
- },
3906
- },
3907
- updatedBy: {
3908
- name: "George Clooney",
3909
- obfuscatedId: "abc123",
3910
- metadata: {
3911
- type: "FULL_TIME",
3912
- title: "Actor",
3913
- department: "Movies",
3914
- email: "george@example.com",
3915
- location: "Hollywood, CA",
3916
- phone: "6505551234",
3917
- photoUrl: "https://example.com/george.jpg",
3918
- startDate: new index_js_2.RFCDate("2000-01-23"),
3919
- datasourceProfile: [
3920
- {
3921
- datasource: "github",
3922
- handle: "<value>",
3923
- },
3924
- {
3925
- datasource: "github",
3926
- handle: "<value>",
3927
- },
3928
- ],
3929
- querySuggestions: {},
3930
- inviteInfo: {},
3931
- badges: [
3932
- {
3933
- key: "deployment_name_new_hire",
3934
- displayName: "New hire",
3935
- iconConfig: {
3936
- color: "#343CED",
3937
- key: "person_icon",
3938
- iconType: "GLYPH",
3939
- name: "user",
3940
- },
3941
- },
3942
- ],
3943
- },
3944
- },
3945
- },
3946
- ],
3947
- customData: {
3948
- "someCustomField": {},
3949
- },
3950
- contactPerson: {
3951
- name: "George Clooney",
3952
- obfuscatedId: "abc123",
3953
- metadata: {
3954
- type: "FULL_TIME",
3955
- title: "Actor",
3956
- department: "Movies",
3957
- email: "george@example.com",
3958
- location: "Hollywood, CA",
3959
- phone: "6505551234",
3960
- photoUrl: "https://example.com/george.jpg",
3961
- startDate: new index_js_2.RFCDate("2000-01-23"),
3962
- datasourceProfile: [
3963
- {
3964
- datasource: "github",
3965
- handle: "<value>",
3966
- },
3967
- {
3968
- datasource: "github",
3969
- handle: "<value>",
3970
- },
3971
- {
3972
- datasource: "github",
3973
- handle: "<value>",
3974
- },
3975
- ],
3976
- querySuggestions: {},
3977
- inviteInfo: {},
3978
- badges: [
3979
- {
3980
- key: "deployment_name_new_hire",
3981
- displayName: "New hire",
3982
- iconConfig: {
3983
- color: "#343CED",
3984
- key: "person_icon",
3985
- iconType: "GLYPH",
3986
- name: "user",
3987
- },
3988
- },
3989
- ],
3990
- },
3991
- },
3992
- },
3993
- },
3994
- pageSize: 100,
3995
- maxSnippetSize: 400,
3996
- query: "vacation policy",
3997
- inputDetails: {
3998
- hasCopyPaste: true,
3999
- },
4000
- requestOptions: {
4001
- datasourceFilter: "JIRA",
4002
- datasourcesFilter: [
4003
- "JIRA",
4004
- ],
4005
- queryOverridesFacetFilters: true,
4006
- facetFilters: [
4007
- {
4008
- fieldName: "type",
4009
- values: [
4010
- {
4011
- value: "Spreadsheet",
4012
- relationType: "EQUALS",
4013
- },
4014
- {
4015
- value: "Presentation",
4016
- relationType: "EQUALS",
4017
- },
4018
- ],
4019
- },
4020
- ],
4021
- facetFilterSets: [
4022
- {
4023
- filters: [
4024
- {
4025
- fieldName: "type",
4026
- values: [
4027
- {
4028
- value: "Spreadsheet",
4029
- relationType: "EQUALS",
4030
- },
4031
- {
4032
- value: "Presentation",
4033
- relationType: "EQUALS",
4034
- },
4035
- ],
4036
- },
4037
- ],
4038
- },
4039
- {
4040
- filters: [
4041
- {
4042
- fieldName: "type",
4043
- values: [
4044
- {
4045
- value: "Spreadsheet",
4046
- relationType: "EQUALS",
4047
- },
4048
- {
4049
- value: "Presentation",
4050
- relationType: "EQUALS",
4051
- },
4052
- ],
4053
- },
4054
- ],
4055
- },
4056
- {
4057
- filters: [
4058
- {
4059
- fieldName: "type",
4060
- values: [
4061
- {
4062
- value: "Spreadsheet",
4063
- relationType: "EQUALS",
4064
- },
4065
- {
4066
- value: "Presentation",
4067
- relationType: "EQUALS",
4068
- },
4069
- ],
4070
- },
4071
- ],
4072
- },
4073
- ],
4074
- facetBucketSize: 171751,
4075
- authTokens: [
4076
- {
4077
- accessToken: "123abc",
4078
- datasource: "gmail",
4079
- scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
4080
- tokenType: "Bearer",
4081
- authUser: "1",
4082
- },
4083
- ],
4084
- },
4085
- timeoutMillis: 5000,
4086
- people: [
4087
- {
4088
- name: "George Clooney",
4089
- obfuscatedId: "abc123",
4090
- },
4091
- ],
4092
- });
4093
- (0, vitest_1.expect)(result).toBeDefined();
4094
- });
4095
- //# sourceMappingURL=clientsearch.test.js.map