@gleanwork/api-client 0.6.3 → 0.6.5

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