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