@gleanwork/api-client 0.2.0 → 0.3.0

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