@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,1999 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import { expect, test } from "vitest";
5
- import { Glean } from "../index.js";
6
- import { RFCDate } from "../types/index.js";
7
- import { createTestHTTPClient } from "./testclient.js";
8
- test("Admin Search Adminsearch", async () => {
9
- const testHttpClient = createTestHTTPClient("adminsearch");
10
- const glean = new Glean({
11
- serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
12
- httpClient: testHttpClient,
13
- apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
14
- });
15
- const result = await glean.client.search.queryAsAdmin({
16
- trackingToken: "trackingToken",
17
- sourceDocument: {
18
- metadata: {
19
- datasource: "datasource",
20
- objectType: "Feature Request",
21
- container: "container",
22
- parentId: "JIRA_EN-1337",
23
- mimeType: "mimeType",
24
- documentId: "documentId",
25
- createTime: new Date("2000-01-23T04:56:07.000Z"),
26
- updateTime: new Date("2000-01-23T04:56:07.000Z"),
27
- author: {
28
- name: "George Clooney",
29
- obfuscatedId: "abc123",
30
- relatedDocuments: [
31
- {
32
- querySuggestion: {
33
- query: "app:github type:pull author:mortimer",
34
- searchProviderInfo: {
35
- name: "Google",
36
- searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
37
- },
38
- label: "Mortimer's PRs",
39
- datasource: "github",
40
- requestOptions: {
41
- datasourceFilter: "JIRA",
42
- datasourcesFilter: [
43
- "JIRA",
44
- ],
45
- queryOverridesFacetFilters: true,
46
- facetFilters: [
47
- {
48
- fieldName: "type",
49
- values: [
50
- {
51
- value: "Spreadsheet",
52
- relationType: "EQUALS",
53
- },
54
- {
55
- value: "Presentation",
56
- relationType: "EQUALS",
57
- },
58
- ],
59
- },
60
- ],
61
- facetFilterSets: [
62
- {
63
- filters: [
64
- {
65
- fieldName: "type",
66
- values: [
67
- {
68
- value: "Spreadsheet",
69
- relationType: "EQUALS",
70
- },
71
- {
72
- value: "Presentation",
73
- relationType: "EQUALS",
74
- },
75
- ],
76
- },
77
- ],
78
- },
79
- {
80
- filters: [
81
- {
82
- fieldName: "type",
83
- values: [
84
- {
85
- value: "Spreadsheet",
86
- relationType: "EQUALS",
87
- },
88
- {
89
- value: "Presentation",
90
- relationType: "EQUALS",
91
- },
92
- ],
93
- },
94
- ],
95
- },
96
- {
97
- filters: [
98
- {
99
- fieldName: "type",
100
- values: [
101
- {
102
- value: "Spreadsheet",
103
- relationType: "EQUALS",
104
- },
105
- {
106
- value: "Presentation",
107
- relationType: "EQUALS",
108
- },
109
- ],
110
- },
111
- ],
112
- },
113
- ],
114
- facetBucketSize: 51090,
115
- authTokens: [
116
- {
117
- accessToken: "123abc",
118
- datasource: "gmail",
119
- scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
120
- tokenType: "Bearer",
121
- authUser: "1",
122
- },
123
- ],
124
- },
125
- ranges: [
126
- {
127
- startIndex: 636850,
128
- },
129
- {
130
- startIndex: 559323,
131
- },
132
- {
133
- startIndex: 639917,
134
- },
135
- ],
136
- inputDetails: {
137
- hasCopyPaste: true,
138
- },
139
- },
140
- results: [
141
- {
142
- title: "title",
143
- url: "https://example.com/foo/bar",
144
- nativeAppUrl: "slack://foo/bar",
145
- snippets: [
146
- {
147
- snippet: "snippet",
148
- mimeType: "mimeType",
149
- },
150
- ],
151
- },
152
- ],
153
- },
154
- {
155
- querySuggestion: {
156
- query: "app:github type:pull author:mortimer",
157
- searchProviderInfo: {
158
- name: "Google",
159
- searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
160
- },
161
- label: "Mortimer's PRs",
162
- datasource: "github",
163
- requestOptions: {
164
- datasourceFilter: "JIRA",
165
- datasourcesFilter: [
166
- "JIRA",
167
- ],
168
- queryOverridesFacetFilters: true,
169
- facetFilters: [
170
- {
171
- fieldName: "type",
172
- values: [
173
- {
174
- value: "Spreadsheet",
175
- relationType: "EQUALS",
176
- },
177
- {
178
- value: "Presentation",
179
- relationType: "EQUALS",
180
- },
181
- ],
182
- },
183
- ],
184
- facetFilterSets: [
185
- {
186
- filters: [
187
- {
188
- fieldName: "type",
189
- values: [
190
- {
191
- value: "Spreadsheet",
192
- relationType: "EQUALS",
193
- },
194
- {
195
- value: "Presentation",
196
- relationType: "EQUALS",
197
- },
198
- ],
199
- },
200
- ],
201
- },
202
- {
203
- filters: [
204
- {
205
- fieldName: "type",
206
- values: [
207
- {
208
- value: "Spreadsheet",
209
- relationType: "EQUALS",
210
- },
211
- {
212
- value: "Presentation",
213
- relationType: "EQUALS",
214
- },
215
- ],
216
- },
217
- ],
218
- },
219
- {
220
- filters: [
221
- {
222
- fieldName: "type",
223
- values: [
224
- {
225
- value: "Spreadsheet",
226
- relationType: "EQUALS",
227
- },
228
- {
229
- value: "Presentation",
230
- relationType: "EQUALS",
231
- },
232
- ],
233
- },
234
- ],
235
- },
236
- ],
237
- facetBucketSize: 855317,
238
- authTokens: [
239
- {
240
- accessToken: "123abc",
241
- datasource: "gmail",
242
- scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
243
- tokenType: "Bearer",
244
- authUser: "1",
245
- },
246
- ],
247
- },
248
- inputDetails: {
249
- hasCopyPaste: true,
250
- },
251
- },
252
- },
253
- {
254
- querySuggestion: {
255
- query: "app:github type:pull author:mortimer",
256
- searchProviderInfo: {
257
- name: "Google",
258
- searchLinkUrlTemplate: "https://www.google.com/search?q={query}&hl=en",
259
- },
260
- label: "Mortimer's PRs",
261
- datasource: "github",
262
- requestOptions: {
263
- datasourceFilter: "JIRA",
264
- datasourcesFilter: [
265
- "JIRA",
266
- ],
267
- queryOverridesFacetFilters: true,
268
- facetFilters: [
269
- {
270
- fieldName: "type",
271
- values: [
272
- {
273
- value: "Spreadsheet",
274
- relationType: "EQUALS",
275
- },
276
- {
277
- value: "Presentation",
278
- relationType: "EQUALS",
279
- },
280
- ],
281
- },
282
- ],
283
- facetFilterSets: [
284
- {
285
- filters: [
286
- {
287
- fieldName: "type",
288
- values: [
289
- {
290
- value: "Spreadsheet",
291
- relationType: "EQUALS",
292
- },
293
- {
294
- value: "Presentation",
295
- relationType: "EQUALS",
296
- },
297
- ],
298
- },
299
- ],
300
- },
301
- {
302
- filters: [
303
- {
304
- fieldName: "type",
305
- values: [
306
- {
307
- value: "Spreadsheet",
308
- relationType: "EQUALS",
309
- },
310
- {
311
- value: "Presentation",
312
- relationType: "EQUALS",
313
- },
314
- ],
315
- },
316
- ],
317
- },
318
- {
319
- filters: [
320
- {
321
- fieldName: "type",
322
- values: [
323
- {
324
- value: "Spreadsheet",
325
- relationType: "EQUALS",
326
- },
327
- {
328
- value: "Presentation",
329
- relationType: "EQUALS",
330
- },
331
- ],
332
- },
333
- ],
334
- },
335
- ],
336
- facetBucketSize: 899726,
337
- authTokens: [
338
- {
339
- accessToken: "123abc",
340
- datasource: "gmail",
341
- scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
342
- tokenType: "Bearer",
343
- authUser: "1",
344
- },
345
- ],
346
- },
347
- inputDetails: {
348
- hasCopyPaste: true,
349
- },
350
- },
351
- },
352
- ],
353
- metadata: {
354
- type: "FULL_TIME",
355
- title: "Actor",
356
- department: "Movies",
357
- email: "george@example.com",
358
- location: "Hollywood, CA",
359
- phone: "6505551234",
360
- photoUrl: "https://example.com/george.jpg",
361
- startDate: new RFCDate("2000-01-23"),
362
- datasourceProfile: [
363
- {
364
- datasource: "github",
365
- handle: "<value>",
366
- },
367
- {
368
- datasource: "github",
369
- handle: "<value>",
370
- },
371
- ],
372
- querySuggestions: {
373
- suggestions: [
374
- {
375
- query: "app:github type:pull author:mortimer",
376
- label: "Mortimer's PRs",
377
- datasource: "github",
378
- },
379
- ],
380
- },
381
- inviteInfo: {
382
- invites: [
383
- {},
384
- ],
385
- },
386
- customFields: [
387
- {
388
- label: "<value>",
389
- values: [],
390
- },
391
- ],
392
- badges: [
393
- {
394
- key: "deployment_name_new_hire",
395
- displayName: "New hire",
396
- iconConfig: {
397
- color: "#343CED",
398
- key: "person_icon",
399
- iconType: "GLYPH",
400
- name: "user",
401
- },
402
- },
403
- ],
404
- },
405
- },
406
- owner: {
407
- name: "George Clooney",
408
- obfuscatedId: "abc123",
409
- metadata: {
410
- type: "FULL_TIME",
411
- title: "Actor",
412
- department: "Movies",
413
- email: "george@example.com",
414
- location: "Hollywood, CA",
415
- phone: "6505551234",
416
- photoUrl: "https://example.com/george.jpg",
417
- startDate: new RFCDate("2000-01-23"),
418
- datasourceProfile: [
419
- {
420
- datasource: "github",
421
- handle: "<value>",
422
- },
423
- {
424
- datasource: "github",
425
- handle: "<value>",
426
- },
427
- {
428
- datasource: "github",
429
- handle: "<value>",
430
- },
431
- ],
432
- querySuggestions: {},
433
- inviteInfo: {},
434
- badges: [
435
- {
436
- key: "deployment_name_new_hire",
437
- displayName: "New hire",
438
- iconConfig: {
439
- color: "#343CED",
440
- key: "person_icon",
441
- iconType: "GLYPH",
442
- name: "user",
443
- },
444
- },
445
- ],
446
- },
447
- },
448
- mentionedPeople: [
449
- {
450
- name: "George Clooney",
451
- obfuscatedId: "abc123",
452
- },
453
- ],
454
- components: [
455
- "Backend",
456
- "Networking",
457
- ],
458
- status: "[\"Done\"]",
459
- pins: [
460
- {
461
- audienceFilters: [
462
- {
463
- fieldName: "type",
464
- values: [
465
- {
466
- value: "Spreadsheet",
467
- relationType: "EQUALS",
468
- },
469
- {
470
- value: "Presentation",
471
- relationType: "EQUALS",
472
- },
473
- ],
474
- },
475
- ],
476
- documentId: "<id>",
477
- attribution: {
478
- name: "George Clooney",
479
- obfuscatedId: "abc123",
480
- metadata: {
481
- type: "FULL_TIME",
482
- title: "Actor",
483
- department: "Movies",
484
- email: "george@example.com",
485
- location: "Hollywood, CA",
486
- phone: "6505551234",
487
- photoUrl: "https://example.com/george.jpg",
488
- startDate: new RFCDate("2000-01-23"),
489
- datasourceProfile: [
490
- {
491
- datasource: "github",
492
- handle: "<value>",
493
- },
494
- {
495
- datasource: "github",
496
- handle: "<value>",
497
- },
498
- ],
499
- querySuggestions: {},
500
- inviteInfo: {},
501
- badges: [
502
- {
503
- key: "deployment_name_new_hire",
504
- displayName: "New hire",
505
- iconConfig: {
506
- color: "#343CED",
507
- key: "person_icon",
508
- iconType: "GLYPH",
509
- name: "user",
510
- },
511
- },
512
- ],
513
- },
514
- },
515
- updatedBy: {
516
- name: "George Clooney",
517
- obfuscatedId: "abc123",
518
- metadata: {
519
- type: "FULL_TIME",
520
- title: "Actor",
521
- department: "Movies",
522
- email: "george@example.com",
523
- location: "Hollywood, CA",
524
- phone: "6505551234",
525
- photoUrl: "https://example.com/george.jpg",
526
- startDate: new RFCDate("2000-01-23"),
527
- datasourceProfile: [
528
- {
529
- datasource: "github",
530
- handle: "<value>",
531
- },
532
- {
533
- datasource: "github",
534
- handle: "<value>",
535
- },
536
- {
537
- datasource: "github",
538
- handle: "<value>",
539
- },
540
- ],
541
- querySuggestions: {},
542
- inviteInfo: {},
543
- badges: [
544
- {
545
- key: "deployment_name_new_hire",
546
- displayName: "New hire",
547
- iconConfig: {
548
- color: "#343CED",
549
- key: "person_icon",
550
- iconType: "GLYPH",
551
- name: "user",
552
- },
553
- },
554
- ],
555
- },
556
- },
557
- },
558
- ],
559
- assignedTo: {
560
- name: "George Clooney",
561
- obfuscatedId: "abc123",
562
- metadata: {
563
- type: "FULL_TIME",
564
- title: "Actor",
565
- department: "Movies",
566
- email: "george@example.com",
567
- location: "Hollywood, CA",
568
- phone: "6505551234",
569
- photoUrl: "https://example.com/george.jpg",
570
- startDate: new RFCDate("2000-01-23"),
571
- datasourceProfile: [
572
- {
573
- datasource: "github",
574
- handle: "<value>",
575
- },
576
- {
577
- datasource: "github",
578
- handle: "<value>",
579
- },
580
- ],
581
- querySuggestions: {},
582
- inviteInfo: {},
583
- badges: [
584
- {
585
- key: "deployment_name_new_hire",
586
- displayName: "New hire",
587
- iconConfig: {
588
- color: "#343CED",
589
- key: "person_icon",
590
- iconType: "GLYPH",
591
- name: "user",
592
- },
593
- },
594
- ],
595
- },
596
- },
597
- updatedBy: {
598
- name: "George Clooney",
599
- obfuscatedId: "abc123",
600
- metadata: {
601
- type: "FULL_TIME",
602
- title: "Actor",
603
- department: "Movies",
604
- email: "george@example.com",
605
- location: "Hollywood, CA",
606
- phone: "6505551234",
607
- photoUrl: "https://example.com/george.jpg",
608
- startDate: new RFCDate("2000-01-23"),
609
- datasourceProfile: [
610
- {
611
- datasource: "github",
612
- handle: "<value>",
613
- },
614
- {
615
- datasource: "github",
616
- handle: "<value>",
617
- },
618
- {
619
- datasource: "github",
620
- handle: "<value>",
621
- },
622
- ],
623
- querySuggestions: {},
624
- inviteInfo: {},
625
- badges: [
626
- {
627
- key: "deployment_name_new_hire",
628
- displayName: "New hire",
629
- iconConfig: {
630
- color: "#343CED",
631
- key: "person_icon",
632
- iconType: "GLYPH",
633
- name: "user",
634
- },
635
- },
636
- ],
637
- },
638
- },
639
- collections: [
640
- {
641
- name: "<value>",
642
- description: "mmm video mid",
643
- addedRoles: [
644
- {
645
- person: {
646
- name: "George Clooney",
647
- obfuscatedId: "abc123",
648
- metadata: {
649
- type: "FULL_TIME",
650
- title: "Actor",
651
- department: "Movies",
652
- email: "george@example.com",
653
- location: "Hollywood, CA",
654
- phone: "6505551234",
655
- photoUrl: "https://example.com/george.jpg",
656
- startDate: new RFCDate("2000-01-23"),
657
- datasourceProfile: [
658
- {
659
- datasource: "github",
660
- handle: "<value>",
661
- },
662
- ],
663
- querySuggestions: {},
664
- inviteInfo: {},
665
- badges: [
666
- {
667
- key: "deployment_name_new_hire",
668
- displayName: "New hire",
669
- iconConfig: {
670
- color: "#343CED",
671
- key: "person_icon",
672
- iconType: "GLYPH",
673
- name: "user",
674
- },
675
- },
676
- ],
677
- },
678
- },
679
- role: "OWNER",
680
- },
681
- {
682
- person: {
683
- name: "George Clooney",
684
- obfuscatedId: "abc123",
685
- metadata: {
686
- type: "FULL_TIME",
687
- title: "Actor",
688
- department: "Movies",
689
- email: "george@example.com",
690
- location: "Hollywood, CA",
691
- phone: "6505551234",
692
- photoUrl: "https://example.com/george.jpg",
693
- startDate: new RFCDate("2000-01-23"),
694
- datasourceProfile: [
695
- {
696
- datasource: "github",
697
- handle: "<value>",
698
- },
699
- {
700
- datasource: "github",
701
- handle: "<value>",
702
- },
703
- ],
704
- querySuggestions: {},
705
- inviteInfo: {},
706
- badges: [
707
- {
708
- key: "deployment_name_new_hire",
709
- displayName: "New hire",
710
- iconConfig: {
711
- color: "#343CED",
712
- key: "person_icon",
713
- iconType: "GLYPH",
714
- name: "user",
715
- },
716
- },
717
- ],
718
- },
719
- },
720
- role: "ANSWER_MODERATOR",
721
- },
722
- {
723
- person: {
724
- name: "George Clooney",
725
- obfuscatedId: "abc123",
726
- metadata: {
727
- type: "FULL_TIME",
728
- title: "Actor",
729
- department: "Movies",
730
- email: "george@example.com",
731
- location: "Hollywood, CA",
732
- phone: "6505551234",
733
- photoUrl: "https://example.com/george.jpg",
734
- startDate: new RFCDate("2000-01-23"),
735
- datasourceProfile: [
736
- {
737
- datasource: "github",
738
- handle: "<value>",
739
- },
740
- ],
741
- querySuggestions: {},
742
- inviteInfo: {},
743
- badges: [
744
- {
745
- key: "deployment_name_new_hire",
746
- displayName: "New hire",
747
- iconConfig: {
748
- color: "#343CED",
749
- key: "person_icon",
750
- iconType: "GLYPH",
751
- name: "user",
752
- },
753
- },
754
- ],
755
- },
756
- },
757
- role: "EDITOR",
758
- },
759
- ],
760
- removedRoles: [
761
- {
762
- person: {
763
- name: "George Clooney",
764
- obfuscatedId: "abc123",
765
- metadata: {
766
- type: "FULL_TIME",
767
- title: "Actor",
768
- department: "Movies",
769
- email: "george@example.com",
770
- location: "Hollywood, CA",
771
- phone: "6505551234",
772
- photoUrl: "https://example.com/george.jpg",
773
- startDate: new RFCDate("2000-01-23"),
774
- datasourceProfile: [
775
- {
776
- datasource: "github",
777
- handle: "<value>",
778
- },
779
- ],
780
- querySuggestions: {},
781
- inviteInfo: {},
782
- badges: [
783
- {
784
- key: "deployment_name_new_hire",
785
- displayName: "New hire",
786
- iconConfig: {
787
- color: "#343CED",
788
- key: "person_icon",
789
- iconType: "GLYPH",
790
- name: "user",
791
- },
792
- },
793
- ],
794
- },
795
- },
796
- role: "ANSWER_MODERATOR",
797
- },
798
- {
799
- person: {
800
- name: "George Clooney",
801
- obfuscatedId: "abc123",
802
- metadata: {
803
- type: "FULL_TIME",
804
- title: "Actor",
805
- department: "Movies",
806
- email: "george@example.com",
807
- location: "Hollywood, CA",
808
- phone: "6505551234",
809
- photoUrl: "https://example.com/george.jpg",
810
- startDate: new RFCDate("2000-01-23"),
811
- datasourceProfile: [
812
- {
813
- datasource: "github",
814
- handle: "<value>",
815
- },
816
- {
817
- datasource: "github",
818
- handle: "<value>",
819
- },
820
- {
821
- datasource: "github",
822
- handle: "<value>",
823
- },
824
- ],
825
- querySuggestions: {},
826
- inviteInfo: {},
827
- badges: [
828
- {
829
- key: "deployment_name_new_hire",
830
- displayName: "New hire",
831
- iconConfig: {
832
- color: "#343CED",
833
- key: "person_icon",
834
- iconType: "GLYPH",
835
- name: "user",
836
- },
837
- },
838
- ],
839
- },
840
- },
841
- role: "VERIFIER",
842
- },
843
- {
844
- person: {
845
- name: "George Clooney",
846
- obfuscatedId: "abc123",
847
- metadata: {
848
- type: "FULL_TIME",
849
- title: "Actor",
850
- department: "Movies",
851
- email: "george@example.com",
852
- location: "Hollywood, CA",
853
- phone: "6505551234",
854
- photoUrl: "https://example.com/george.jpg",
855
- startDate: new RFCDate("2000-01-23"),
856
- datasourceProfile: [
857
- {
858
- datasource: "github",
859
- handle: "<value>",
860
- },
861
- ],
862
- querySuggestions: {},
863
- inviteInfo: {},
864
- badges: [
865
- {
866
- key: "deployment_name_new_hire",
867
- displayName: "New hire",
868
- iconConfig: {
869
- color: "#343CED",
870
- key: "person_icon",
871
- iconType: "GLYPH",
872
- name: "user",
873
- },
874
- },
875
- ],
876
- },
877
- },
878
- role: "OWNER",
879
- },
880
- ],
881
- audienceFilters: [
882
- {
883
- fieldName: "type",
884
- values: [
885
- {
886
- value: "Spreadsheet",
887
- relationType: "EQUALS",
888
- },
889
- {
890
- value: "Presentation",
891
- relationType: "EQUALS",
892
- },
893
- ],
894
- },
895
- ],
896
- id: 524051,
897
- creator: {
898
- name: "George Clooney",
899
- obfuscatedId: "abc123",
900
- metadata: {
901
- type: "FULL_TIME",
902
- title: "Actor",
903
- department: "Movies",
904
- email: "george@example.com",
905
- location: "Hollywood, CA",
906
- phone: "6505551234",
907
- photoUrl: "https://example.com/george.jpg",
908
- startDate: new RFCDate("2000-01-23"),
909
- datasourceProfile: [
910
- {
911
- datasource: "github",
912
- handle: "<value>",
913
- },
914
- ],
915
- querySuggestions: {},
916
- inviteInfo: {},
917
- badges: [
918
- {
919
- key: "deployment_name_new_hire",
920
- displayName: "New hire",
921
- iconConfig: {
922
- color: "#343CED",
923
- key: "person_icon",
924
- iconType: "GLYPH",
925
- name: "user",
926
- },
927
- },
928
- ],
929
- },
930
- },
931
- updatedBy: {
932
- name: "George Clooney",
933
- obfuscatedId: "abc123",
934
- metadata: {
935
- type: "FULL_TIME",
936
- title: "Actor",
937
- department: "Movies",
938
- email: "george@example.com",
939
- location: "Hollywood, CA",
940
- phone: "6505551234",
941
- photoUrl: "https://example.com/george.jpg",
942
- startDate: new RFCDate("2000-01-23"),
943
- datasourceProfile: [
944
- {
945
- datasource: "github",
946
- handle: "<value>",
947
- },
948
- {
949
- datasource: "github",
950
- handle: "<value>",
951
- },
952
- ],
953
- querySuggestions: {},
954
- inviteInfo: {},
955
- badges: [
956
- {
957
- key: "deployment_name_new_hire",
958
- displayName: "New hire",
959
- iconConfig: {
960
- color: "#343CED",
961
- key: "person_icon",
962
- iconType: "GLYPH",
963
- name: "user",
964
- },
965
- },
966
- ],
967
- },
968
- },
969
- items: [
970
- {
971
- collectionId: 75113,
972
- createdBy: {
973
- name: "George Clooney",
974
- obfuscatedId: "abc123",
975
- metadata: {
976
- type: "FULL_TIME",
977
- title: "Actor",
978
- department: "Movies",
979
- email: "george@example.com",
980
- location: "Hollywood, CA",
981
- phone: "6505551234",
982
- photoUrl: "https://example.com/george.jpg",
983
- startDate: new RFCDate("2000-01-23"),
984
- datasourceProfile: [
985
- {
986
- datasource: "github",
987
- handle: "<value>",
988
- },
989
- {
990
- datasource: "github",
991
- handle: "<value>",
992
- },
993
- ],
994
- querySuggestions: {},
995
- inviteInfo: {},
996
- badges: [
997
- {
998
- key: "deployment_name_new_hire",
999
- displayName: "New hire",
1000
- iconConfig: {
1001
- color: "#343CED",
1002
- key: "person_icon",
1003
- iconType: "GLYPH",
1004
- name: "user",
1005
- },
1006
- },
1007
- ],
1008
- },
1009
- },
1010
- shortcut: {
1011
- inputAlias: "<value>",
1012
- createdBy: {
1013
- name: "George Clooney",
1014
- obfuscatedId: "abc123",
1015
- metadata: {
1016
- type: "FULL_TIME",
1017
- title: "Actor",
1018
- department: "Movies",
1019
- email: "george@example.com",
1020
- location: "Hollywood, CA",
1021
- phone: "6505551234",
1022
- photoUrl: "https://example.com/george.jpg",
1023
- startDate: new RFCDate("2000-01-23"),
1024
- datasourceProfile: [
1025
- {
1026
- datasource: "github",
1027
- handle: "<value>",
1028
- },
1029
- {
1030
- datasource: "github",
1031
- handle: "<value>",
1032
- },
1033
- ],
1034
- querySuggestions: {},
1035
- inviteInfo: {},
1036
- badges: [
1037
- {
1038
- key: "deployment_name_new_hire",
1039
- displayName: "New hire",
1040
- iconConfig: {
1041
- color: "#343CED",
1042
- key: "person_icon",
1043
- iconType: "GLYPH",
1044
- name: "user",
1045
- },
1046
- },
1047
- ],
1048
- },
1049
- },
1050
- updatedBy: {
1051
- name: "George Clooney",
1052
- obfuscatedId: "abc123",
1053
- metadata: {
1054
- type: "FULL_TIME",
1055
- title: "Actor",
1056
- department: "Movies",
1057
- email: "george@example.com",
1058
- location: "Hollywood, CA",
1059
- phone: "6505551234",
1060
- photoUrl: "https://example.com/george.jpg",
1061
- startDate: new RFCDate("2000-01-23"),
1062
- datasourceProfile: [
1063
- {
1064
- datasource: "github",
1065
- handle: "<value>",
1066
- },
1067
- ],
1068
- querySuggestions: {},
1069
- inviteInfo: {},
1070
- badges: [
1071
- {
1072
- key: "deployment_name_new_hire",
1073
- displayName: "New hire",
1074
- iconConfig: {
1075
- color: "#343CED",
1076
- key: "person_icon",
1077
- iconType: "GLYPH",
1078
- name: "user",
1079
- },
1080
- },
1081
- ],
1082
- },
1083
- },
1084
- roles: [
1085
- {
1086
- person: {
1087
- name: "George Clooney",
1088
- obfuscatedId: "abc123",
1089
- metadata: {
1090
- type: "FULL_TIME",
1091
- title: "Actor",
1092
- department: "Movies",
1093
- email: "george@example.com",
1094
- location: "Hollywood, CA",
1095
- phone: "6505551234",
1096
- photoUrl: "https://example.com/george.jpg",
1097
- startDate: new RFCDate("2000-01-23"),
1098
- datasourceProfile: [
1099
- {
1100
- datasource: "github",
1101
- handle: "<value>",
1102
- },
1103
- {
1104
- datasource: "github",
1105
- handle: "<value>",
1106
- },
1107
- {
1108
- datasource: "github",
1109
- handle: "<value>",
1110
- },
1111
- ],
1112
- querySuggestions: {},
1113
- inviteInfo: {},
1114
- badges: [
1115
- {
1116
- key: "deployment_name_new_hire",
1117
- displayName: "New hire",
1118
- iconConfig: {
1119
- color: "#343CED",
1120
- key: "person_icon",
1121
- iconType: "GLYPH",
1122
- name: "user",
1123
- },
1124
- },
1125
- ],
1126
- },
1127
- },
1128
- role: "VERIFIER",
1129
- },
1130
- ],
1131
- },
1132
- itemType: "COLLECTION",
1133
- },
1134
- {
1135
- collectionId: 744767,
1136
- createdBy: {
1137
- name: "George Clooney",
1138
- obfuscatedId: "abc123",
1139
- metadata: {
1140
- type: "FULL_TIME",
1141
- title: "Actor",
1142
- department: "Movies",
1143
- email: "george@example.com",
1144
- location: "Hollywood, CA",
1145
- phone: "6505551234",
1146
- photoUrl: "https://example.com/george.jpg",
1147
- startDate: new RFCDate("2000-01-23"),
1148
- datasourceProfile: [
1149
- {
1150
- datasource: "github",
1151
- handle: "<value>",
1152
- },
1153
- {
1154
- datasource: "github",
1155
- handle: "<value>",
1156
- },
1157
- {
1158
- datasource: "github",
1159
- handle: "<value>",
1160
- },
1161
- ],
1162
- querySuggestions: {},
1163
- inviteInfo: {},
1164
- badges: [
1165
- {
1166
- key: "deployment_name_new_hire",
1167
- displayName: "New hire",
1168
- iconConfig: {
1169
- color: "#343CED",
1170
- key: "person_icon",
1171
- iconType: "GLYPH",
1172
- name: "user",
1173
- },
1174
- },
1175
- ],
1176
- },
1177
- },
1178
- shortcut: {
1179
- inputAlias: "<value>",
1180
- createdBy: {
1181
- name: "George Clooney",
1182
- obfuscatedId: "abc123",
1183
- metadata: {
1184
- type: "FULL_TIME",
1185
- title: "Actor",
1186
- department: "Movies",
1187
- email: "george@example.com",
1188
- location: "Hollywood, CA",
1189
- phone: "6505551234",
1190
- photoUrl: "https://example.com/george.jpg",
1191
- startDate: new RFCDate("2000-01-23"),
1192
- datasourceProfile: [
1193
- {
1194
- datasource: "github",
1195
- handle: "<value>",
1196
- },
1197
- {
1198
- datasource: "github",
1199
- handle: "<value>",
1200
- },
1201
- ],
1202
- querySuggestions: {},
1203
- inviteInfo: {},
1204
- badges: [
1205
- {
1206
- key: "deployment_name_new_hire",
1207
- displayName: "New hire",
1208
- iconConfig: {
1209
- color: "#343CED",
1210
- key: "person_icon",
1211
- iconType: "GLYPH",
1212
- name: "user",
1213
- },
1214
- },
1215
- ],
1216
- },
1217
- },
1218
- updatedBy: {
1219
- name: "George Clooney",
1220
- obfuscatedId: "abc123",
1221
- metadata: {
1222
- type: "FULL_TIME",
1223
- title: "Actor",
1224
- department: "Movies",
1225
- email: "george@example.com",
1226
- location: "Hollywood, CA",
1227
- phone: "6505551234",
1228
- photoUrl: "https://example.com/george.jpg",
1229
- startDate: new RFCDate("2000-01-23"),
1230
- datasourceProfile: [
1231
- {
1232
- datasource: "github",
1233
- handle: "<value>",
1234
- },
1235
- ],
1236
- querySuggestions: {},
1237
- inviteInfo: {},
1238
- badges: [
1239
- {
1240
- key: "deployment_name_new_hire",
1241
- displayName: "New hire",
1242
- iconConfig: {
1243
- color: "#343CED",
1244
- key: "person_icon",
1245
- iconType: "GLYPH",
1246
- name: "user",
1247
- },
1248
- },
1249
- ],
1250
- },
1251
- },
1252
- },
1253
- itemType: "DOCUMENT",
1254
- },
1255
- ],
1256
- },
1257
- {
1258
- name: "<value>",
1259
- description: "brr finally hastily amused needily if uh-huh outside wrongly too",
1260
- audienceFilters: [
1261
- {
1262
- fieldName: "type",
1263
- values: [
1264
- {
1265
- value: "Spreadsheet",
1266
- relationType: "EQUALS",
1267
- },
1268
- {
1269
- value: "Presentation",
1270
- relationType: "EQUALS",
1271
- },
1272
- ],
1273
- },
1274
- ],
1275
- id: 448428,
1276
- creator: {
1277
- name: "George Clooney",
1278
- obfuscatedId: "abc123",
1279
- metadata: {
1280
- type: "FULL_TIME",
1281
- title: "Actor",
1282
- department: "Movies",
1283
- email: "george@example.com",
1284
- location: "Hollywood, CA",
1285
- phone: "6505551234",
1286
- photoUrl: "https://example.com/george.jpg",
1287
- startDate: new RFCDate("2000-01-23"),
1288
- datasourceProfile: [
1289
- {
1290
- datasource: "github",
1291
- handle: "<value>",
1292
- },
1293
- {
1294
- datasource: "github",
1295
- handle: "<value>",
1296
- },
1297
- {
1298
- datasource: "github",
1299
- handle: "<value>",
1300
- },
1301
- ],
1302
- querySuggestions: {},
1303
- inviteInfo: {},
1304
- badges: [
1305
- {
1306
- key: "deployment_name_new_hire",
1307
- displayName: "New hire",
1308
- iconConfig: {
1309
- color: "#343CED",
1310
- key: "person_icon",
1311
- iconType: "GLYPH",
1312
- name: "user",
1313
- },
1314
- },
1315
- ],
1316
- },
1317
- },
1318
- updatedBy: {
1319
- name: "George Clooney",
1320
- obfuscatedId: "abc123",
1321
- metadata: {
1322
- type: "FULL_TIME",
1323
- title: "Actor",
1324
- department: "Movies",
1325
- email: "george@example.com",
1326
- location: "Hollywood, CA",
1327
- phone: "6505551234",
1328
- photoUrl: "https://example.com/george.jpg",
1329
- startDate: new RFCDate("2000-01-23"),
1330
- datasourceProfile: [
1331
- {
1332
- datasource: "github",
1333
- handle: "<value>",
1334
- },
1335
- ],
1336
- querySuggestions: {},
1337
- inviteInfo: {},
1338
- badges: [
1339
- {
1340
- key: "deployment_name_new_hire",
1341
- displayName: "New hire",
1342
- iconConfig: {
1343
- color: "#343CED",
1344
- key: "person_icon",
1345
- iconType: "GLYPH",
1346
- name: "user",
1347
- },
1348
- },
1349
- ],
1350
- },
1351
- },
1352
- },
1353
- ],
1354
- interactions: {
1355
- reacts: [
1356
- {
1357
- reactors: [
1358
- {
1359
- name: "George Clooney",
1360
- obfuscatedId: "abc123",
1361
- },
1362
- ],
1363
- },
1364
- {},
1365
- {},
1366
- ],
1367
- shares: [
1368
- {
1369
- numDaysAgo: 876677,
1370
- sharer: {
1371
- name: "George Clooney",
1372
- obfuscatedId: "abc123",
1373
- metadata: {
1374
- type: "FULL_TIME",
1375
- title: "Actor",
1376
- department: "Movies",
1377
- email: "george@example.com",
1378
- location: "Hollywood, CA",
1379
- phone: "6505551234",
1380
- photoUrl: "https://example.com/george.jpg",
1381
- startDate: new RFCDate("2000-01-23"),
1382
- datasourceProfile: [
1383
- {
1384
- datasource: "github",
1385
- handle: "<value>",
1386
- },
1387
- ],
1388
- querySuggestions: {},
1389
- inviteInfo: {},
1390
- badges: [
1391
- {
1392
- key: "deployment_name_new_hire",
1393
- displayName: "New hire",
1394
- iconConfig: {
1395
- color: "#343CED",
1396
- key: "person_icon",
1397
- iconType: "GLYPH",
1398
- name: "user",
1399
- },
1400
- },
1401
- ],
1402
- },
1403
- },
1404
- },
1405
- ],
1406
- },
1407
- verification: {
1408
- state: "UNVERIFIED",
1409
- metadata: {
1410
- lastVerifier: {
1411
- name: "George Clooney",
1412
- obfuscatedId: "abc123",
1413
- metadata: {
1414
- type: "FULL_TIME",
1415
- title: "Actor",
1416
- department: "Movies",
1417
- email: "george@example.com",
1418
- location: "Hollywood, CA",
1419
- phone: "6505551234",
1420
- photoUrl: "https://example.com/george.jpg",
1421
- startDate: new RFCDate("2000-01-23"),
1422
- datasourceProfile: [
1423
- {
1424
- datasource: "github",
1425
- handle: "<value>",
1426
- },
1427
- ],
1428
- querySuggestions: {},
1429
- inviteInfo: {},
1430
- badges: [
1431
- {
1432
- key: "deployment_name_new_hire",
1433
- displayName: "New hire",
1434
- iconConfig: {
1435
- color: "#343CED",
1436
- key: "person_icon",
1437
- iconType: "GLYPH",
1438
- name: "user",
1439
- },
1440
- },
1441
- ],
1442
- },
1443
- },
1444
- reminders: [
1445
- {
1446
- assignee: {
1447
- name: "George Clooney",
1448
- obfuscatedId: "abc123",
1449
- metadata: {
1450
- type: "FULL_TIME",
1451
- title: "Actor",
1452
- department: "Movies",
1453
- email: "george@example.com",
1454
- location: "Hollywood, CA",
1455
- phone: "6505551234",
1456
- photoUrl: "https://example.com/george.jpg",
1457
- startDate: new RFCDate("2000-01-23"),
1458
- datasourceProfile: [
1459
- {
1460
- datasource: "github",
1461
- handle: "<value>",
1462
- },
1463
- {
1464
- datasource: "github",
1465
- handle: "<value>",
1466
- },
1467
- ],
1468
- querySuggestions: {},
1469
- inviteInfo: {},
1470
- badges: [
1471
- {
1472
- key: "deployment_name_new_hire",
1473
- displayName: "New hire",
1474
- iconConfig: {
1475
- color: "#343CED",
1476
- key: "person_icon",
1477
- iconType: "GLYPH",
1478
- name: "user",
1479
- },
1480
- },
1481
- ],
1482
- },
1483
- },
1484
- requestor: {
1485
- name: "George Clooney",
1486
- obfuscatedId: "abc123",
1487
- metadata: {
1488
- type: "FULL_TIME",
1489
- title: "Actor",
1490
- department: "Movies",
1491
- email: "george@example.com",
1492
- location: "Hollywood, CA",
1493
- phone: "6505551234",
1494
- photoUrl: "https://example.com/george.jpg",
1495
- startDate: new RFCDate("2000-01-23"),
1496
- datasourceProfile: [
1497
- {
1498
- datasource: "github",
1499
- handle: "<value>",
1500
- },
1501
- {
1502
- datasource: "github",
1503
- handle: "<value>",
1504
- },
1505
- ],
1506
- querySuggestions: {},
1507
- inviteInfo: {},
1508
- badges: [
1509
- {
1510
- key: "deployment_name_new_hire",
1511
- displayName: "New hire",
1512
- iconConfig: {
1513
- color: "#343CED",
1514
- key: "person_icon",
1515
- iconType: "GLYPH",
1516
- name: "user",
1517
- },
1518
- },
1519
- ],
1520
- },
1521
- },
1522
- remindAt: 854607,
1523
- },
1524
- {
1525
- assignee: {
1526
- name: "George Clooney",
1527
- obfuscatedId: "abc123",
1528
- metadata: {
1529
- type: "FULL_TIME",
1530
- title: "Actor",
1531
- department: "Movies",
1532
- email: "george@example.com",
1533
- location: "Hollywood, CA",
1534
- phone: "6505551234",
1535
- photoUrl: "https://example.com/george.jpg",
1536
- startDate: new RFCDate("2000-01-23"),
1537
- datasourceProfile: [
1538
- {
1539
- datasource: "github",
1540
- handle: "<value>",
1541
- },
1542
- {
1543
- datasource: "github",
1544
- handle: "<value>",
1545
- },
1546
- {
1547
- datasource: "github",
1548
- handle: "<value>",
1549
- },
1550
- ],
1551
- querySuggestions: {},
1552
- inviteInfo: {},
1553
- badges: [
1554
- {
1555
- key: "deployment_name_new_hire",
1556
- displayName: "New hire",
1557
- iconConfig: {
1558
- color: "#343CED",
1559
- key: "person_icon",
1560
- iconType: "GLYPH",
1561
- name: "user",
1562
- },
1563
- },
1564
- ],
1565
- },
1566
- },
1567
- requestor: {
1568
- name: "George Clooney",
1569
- obfuscatedId: "abc123",
1570
- metadata: {
1571
- type: "FULL_TIME",
1572
- title: "Actor",
1573
- department: "Movies",
1574
- email: "george@example.com",
1575
- location: "Hollywood, CA",
1576
- phone: "6505551234",
1577
- photoUrl: "https://example.com/george.jpg",
1578
- startDate: new RFCDate("2000-01-23"),
1579
- datasourceProfile: [
1580
- {
1581
- datasource: "github",
1582
- handle: "<value>",
1583
- },
1584
- {
1585
- datasource: "github",
1586
- handle: "<value>",
1587
- },
1588
- ],
1589
- querySuggestions: {},
1590
- inviteInfo: {},
1591
- badges: [
1592
- {
1593
- key: "deployment_name_new_hire",
1594
- displayName: "New hire",
1595
- iconConfig: {
1596
- color: "#343CED",
1597
- key: "person_icon",
1598
- iconType: "GLYPH",
1599
- name: "user",
1600
- },
1601
- },
1602
- ],
1603
- },
1604
- },
1605
- remindAt: 214607,
1606
- },
1607
- {
1608
- assignee: {
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 RFCDate("2000-01-23"),
1620
- datasourceProfile: [
1621
- {
1622
- datasource: "github",
1623
- handle: "<value>",
1624
- },
1625
- ],
1626
- querySuggestions: {},
1627
- inviteInfo: {},
1628
- badges: [
1629
- {
1630
- key: "deployment_name_new_hire",
1631
- displayName: "New hire",
1632
- iconConfig: {
1633
- color: "#343CED",
1634
- key: "person_icon",
1635
- iconType: "GLYPH",
1636
- name: "user",
1637
- },
1638
- },
1639
- ],
1640
- },
1641
- },
1642
- requestor: {
1643
- name: "George Clooney",
1644
- obfuscatedId: "abc123",
1645
- metadata: {
1646
- type: "FULL_TIME",
1647
- title: "Actor",
1648
- department: "Movies",
1649
- email: "george@example.com",
1650
- location: "Hollywood, CA",
1651
- phone: "6505551234",
1652
- photoUrl: "https://example.com/george.jpg",
1653
- startDate: new RFCDate("2000-01-23"),
1654
- datasourceProfile: [
1655
- {
1656
- datasource: "github",
1657
- handle: "<value>",
1658
- },
1659
- {
1660
- datasource: "github",
1661
- handle: "<value>",
1662
- },
1663
- ],
1664
- querySuggestions: {},
1665
- inviteInfo: {},
1666
- badges: [
1667
- {
1668
- key: "deployment_name_new_hire",
1669
- displayName: "New hire",
1670
- iconConfig: {
1671
- color: "#343CED",
1672
- key: "person_icon",
1673
- iconType: "GLYPH",
1674
- name: "user",
1675
- },
1676
- },
1677
- ],
1678
- },
1679
- },
1680
- remindAt: 204917,
1681
- },
1682
- ],
1683
- lastReminder: {
1684
- assignee: {
1685
- name: "George Clooney",
1686
- obfuscatedId: "abc123",
1687
- metadata: {
1688
- type: "FULL_TIME",
1689
- title: "Actor",
1690
- department: "Movies",
1691
- email: "george@example.com",
1692
- location: "Hollywood, CA",
1693
- phone: "6505551234",
1694
- photoUrl: "https://example.com/george.jpg",
1695
- startDate: new RFCDate("2000-01-23"),
1696
- datasourceProfile: [
1697
- {
1698
- datasource: "github",
1699
- handle: "<value>",
1700
- },
1701
- {
1702
- datasource: "github",
1703
- handle: "<value>",
1704
- },
1705
- {
1706
- datasource: "github",
1707
- handle: "<value>",
1708
- },
1709
- ],
1710
- querySuggestions: {},
1711
- inviteInfo: {},
1712
- badges: [
1713
- {
1714
- key: "deployment_name_new_hire",
1715
- displayName: "New hire",
1716
- iconConfig: {
1717
- color: "#343CED",
1718
- key: "person_icon",
1719
- iconType: "GLYPH",
1720
- name: "user",
1721
- },
1722
- },
1723
- ],
1724
- },
1725
- },
1726
- requestor: {
1727
- name: "George Clooney",
1728
- obfuscatedId: "abc123",
1729
- metadata: {
1730
- type: "FULL_TIME",
1731
- title: "Actor",
1732
- department: "Movies",
1733
- email: "george@example.com",
1734
- location: "Hollywood, CA",
1735
- phone: "6505551234",
1736
- photoUrl: "https://example.com/george.jpg",
1737
- startDate: new RFCDate("2000-01-23"),
1738
- datasourceProfile: [
1739
- {
1740
- datasource: "github",
1741
- handle: "<value>",
1742
- },
1743
- ],
1744
- querySuggestions: {},
1745
- inviteInfo: {},
1746
- badges: [
1747
- {
1748
- key: "deployment_name_new_hire",
1749
- displayName: "New hire",
1750
- iconConfig: {
1751
- color: "#343CED",
1752
- key: "person_icon",
1753
- iconType: "GLYPH",
1754
- name: "user",
1755
- },
1756
- },
1757
- ],
1758
- },
1759
- },
1760
- remindAt: 554738,
1761
- },
1762
- candidateVerifiers: [
1763
- {
1764
- name: "George Clooney",
1765
- obfuscatedId: "abc123",
1766
- },
1767
- ],
1768
- },
1769
- },
1770
- shortcuts: [
1771
- {
1772
- inputAlias: "<value>",
1773
- createdBy: {
1774
- name: "George Clooney",
1775
- obfuscatedId: "abc123",
1776
- metadata: {
1777
- type: "FULL_TIME",
1778
- title: "Actor",
1779
- department: "Movies",
1780
- email: "george@example.com",
1781
- location: "Hollywood, CA",
1782
- phone: "6505551234",
1783
- photoUrl: "https://example.com/george.jpg",
1784
- startDate: new RFCDate("2000-01-23"),
1785
- datasourceProfile: [
1786
- {
1787
- datasource: "github",
1788
- handle: "<value>",
1789
- },
1790
- {
1791
- datasource: "github",
1792
- handle: "<value>",
1793
- },
1794
- ],
1795
- querySuggestions: {},
1796
- inviteInfo: {},
1797
- badges: [
1798
- {
1799
- key: "deployment_name_new_hire",
1800
- displayName: "New hire",
1801
- iconConfig: {
1802
- color: "#343CED",
1803
- key: "person_icon",
1804
- iconType: "GLYPH",
1805
- name: "user",
1806
- },
1807
- },
1808
- ],
1809
- },
1810
- },
1811
- updatedBy: {
1812
- name: "George Clooney",
1813
- obfuscatedId: "abc123",
1814
- metadata: {
1815
- type: "FULL_TIME",
1816
- title: "Actor",
1817
- department: "Movies",
1818
- email: "george@example.com",
1819
- location: "Hollywood, CA",
1820
- phone: "6505551234",
1821
- photoUrl: "https://example.com/george.jpg",
1822
- startDate: new RFCDate("2000-01-23"),
1823
- datasourceProfile: [
1824
- {
1825
- datasource: "github",
1826
- handle: "<value>",
1827
- },
1828
- {
1829
- datasource: "github",
1830
- handle: "<value>",
1831
- },
1832
- ],
1833
- querySuggestions: {},
1834
- inviteInfo: {},
1835
- badges: [
1836
- {
1837
- key: "deployment_name_new_hire",
1838
- displayName: "New hire",
1839
- iconConfig: {
1840
- color: "#343CED",
1841
- key: "person_icon",
1842
- iconType: "GLYPH",
1843
- name: "user",
1844
- },
1845
- },
1846
- ],
1847
- },
1848
- },
1849
- },
1850
- ],
1851
- customData: {
1852
- "someCustomField": {},
1853
- },
1854
- contactPerson: {
1855
- name: "George Clooney",
1856
- obfuscatedId: "abc123",
1857
- metadata: {
1858
- type: "FULL_TIME",
1859
- title: "Actor",
1860
- department: "Movies",
1861
- email: "george@example.com",
1862
- location: "Hollywood, CA",
1863
- phone: "6505551234",
1864
- photoUrl: "https://example.com/george.jpg",
1865
- startDate: new RFCDate("2000-01-23"),
1866
- datasourceProfile: [
1867
- {
1868
- datasource: "github",
1869
- handle: "<value>",
1870
- },
1871
- {
1872
- datasource: "github",
1873
- handle: "<value>",
1874
- },
1875
- {
1876
- datasource: "github",
1877
- handle: "<value>",
1878
- },
1879
- ],
1880
- querySuggestions: {},
1881
- inviteInfo: {},
1882
- badges: [
1883
- {
1884
- key: "deployment_name_new_hire",
1885
- displayName: "New hire",
1886
- iconConfig: {
1887
- color: "#343CED",
1888
- key: "person_icon",
1889
- iconType: "GLYPH",
1890
- name: "user",
1891
- },
1892
- },
1893
- ],
1894
- },
1895
- },
1896
- },
1897
- },
1898
- pageSize: 100,
1899
- maxSnippetSize: 400,
1900
- query: "vacation policy",
1901
- inputDetails: {
1902
- hasCopyPaste: true,
1903
- },
1904
- requestOptions: {
1905
- datasourceFilter: "JIRA",
1906
- datasourcesFilter: [
1907
- "JIRA",
1908
- ],
1909
- queryOverridesFacetFilters: true,
1910
- facetFilters: [
1911
- {
1912
- fieldName: "type",
1913
- values: [
1914
- {
1915
- value: "Spreadsheet",
1916
- relationType: "EQUALS",
1917
- },
1918
- {
1919
- value: "Presentation",
1920
- relationType: "EQUALS",
1921
- },
1922
- ],
1923
- },
1924
- ],
1925
- facetFilterSets: [
1926
- {
1927
- filters: [
1928
- {
1929
- fieldName: "type",
1930
- values: [
1931
- {
1932
- value: "Spreadsheet",
1933
- relationType: "EQUALS",
1934
- },
1935
- {
1936
- value: "Presentation",
1937
- relationType: "EQUALS",
1938
- },
1939
- ],
1940
- },
1941
- ],
1942
- },
1943
- {
1944
- filters: [
1945
- {
1946
- fieldName: "type",
1947
- values: [
1948
- {
1949
- value: "Spreadsheet",
1950
- relationType: "EQUALS",
1951
- },
1952
- {
1953
- value: "Presentation",
1954
- relationType: "EQUALS",
1955
- },
1956
- ],
1957
- },
1958
- ],
1959
- },
1960
- {
1961
- filters: [
1962
- {
1963
- fieldName: "type",
1964
- values: [
1965
- {
1966
- value: "Spreadsheet",
1967
- relationType: "EQUALS",
1968
- },
1969
- {
1970
- value: "Presentation",
1971
- relationType: "EQUALS",
1972
- },
1973
- ],
1974
- },
1975
- ],
1976
- },
1977
- ],
1978
- facetBucketSize: 171751,
1979
- authTokens: [
1980
- {
1981
- accessToken: "123abc",
1982
- datasource: "gmail",
1983
- scope: "email profile https://www.googleapis.com/auth/gmail.readonly",
1984
- tokenType: "Bearer",
1985
- authUser: "1",
1986
- },
1987
- ],
1988
- },
1989
- timeoutMillis: 5000,
1990
- people: [
1991
- {
1992
- name: "George Clooney",
1993
- obfuscatedId: "abc123",
1994
- },
1995
- ],
1996
- });
1997
- expect(result).toBeDefined();
1998
- });
1999
- //# sourceMappingURL=adminsearch.test.js.map